@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,101 @@
1
+ import type { BasicSize, BiConsumer, BiMapper, BiMapperOptional1, Handler, Mapper, MaybeNull, Provider } from "@vef-framework/shared";
2
+ import type { DatePickerProps } from "antd";
3
+ /**
4
+ * The instance of the VefTemporalPicker component.
5
+ */
6
+ export interface VefTemporalPickerInstance {
7
+ /**
8
+ * Focus the temporal picker.
9
+ */
10
+ focus: Handler;
11
+ /**
12
+ * Blur the temporal picker.
13
+ */
14
+ blur: Handler;
15
+ }
16
+ /**
17
+ * The mode of the temporal picker.
18
+ */
19
+ export type TemporalPickerMode = "minute" | "hour" | "time" | "date" | "datetime" | "week" | "month" | "quarter" | "year";
20
+ /**
21
+ * The value type of the temporal picker.
22
+ */
23
+ export type TemporalValueType<T, M extends boolean> = M extends true ? T[] : T;
24
+ /**
25
+ * The disabled time providers.
26
+ */
27
+ export interface DisabledTimeProviders {
28
+ /**
29
+ * The disabled hours.
30
+ */
31
+ disabledHours?: Provider<number[]>;
32
+ /**
33
+ * The disabled minutes.
34
+ */
35
+ disabledMinutes?: Mapper<number, number[]>;
36
+ /**
37
+ * The disabled seconds.
38
+ */
39
+ disabledSeconds?: BiMapper<number, number, number[]>;
40
+ }
41
+ /**
42
+ * The disabled time type.
43
+ */
44
+ export type DisabledTimeType = Mapper<Date, DisabledTimeProviders>;
45
+ /**
46
+ * The disabled date type.
47
+ */
48
+ export type DisabledDateType = BiMapperOptional1<Date, Date, boolean>;
49
+ /**
50
+ * The props of the VefTemporalPicker component
51
+ */
52
+ export interface VefTemporalPickerProps<M extends boolean = false> extends Pick<DatePickerProps, "disabled" | "variant" | "hourStep" | "minuteStep" | "secondStep"> {
53
+ /**
54
+ * The default value of the temporal picker.
55
+ */
56
+ defaultValue?: TemporalValueType<string, M>;
57
+ /**
58
+ * The value of the temporal picker.
59
+ */
60
+ value?: MaybeNull<TemporalValueType<string, M>>;
61
+ /**
62
+ * The mode of the temporal picker.
63
+ */
64
+ mode?: TemporalPickerMode;
65
+ /**
66
+ * The size of the temporal picker.
67
+ */
68
+ size?: BasicSize;
69
+ /**
70
+ * Whether to allow clearing the value.
71
+ */
72
+ clearable?: boolean;
73
+ /**
74
+ * The placeholder of the temporal picker.
75
+ */
76
+ placeholder?: string;
77
+ /**
78
+ * Whether to allow multiple selection.
79
+ */
80
+ multiple?: M;
81
+ /**
82
+ * The minimum date of the temporal picker.
83
+ */
84
+ minDate?: Date;
85
+ /**
86
+ * The maximum date of the temporal picker.
87
+ */
88
+ maxDate?: Date;
89
+ /**
90
+ * The disabled date of the temporal picker.
91
+ */
92
+ disabledDate?: DisabledDateType;
93
+ /**
94
+ * The disabled time of the temporal picker.
95
+ */
96
+ disabledTime?: DisabledTimeType;
97
+ /**
98
+ * The callback function when the value changes.
99
+ */
100
+ onChange?: BiConsumer<MaybeNull<TemporalValueType<string, M>>, MaybeNull<TemporalValueType<Date, M>>>;
101
+ }
@@ -0,0 +1,10 @@
1
+ import type { MaybeNullish } from "@vef-framework/shared";
2
+ import { type Dayjs } from "dayjs";
3
+ import { type TemporalRangeValueType } from "../props";
4
+ /**
5
+ * Convert the value to a dayjs objects.
6
+ *
7
+ * @param value - The value to convert.
8
+ * @param formats - The formats to use for the conversion.
9
+ */
10
+ export declare function useDayjsValues<S extends boolean = false>(value: MaybeNullish<TemporalRangeValueType<string, S>>, formats: string[]): MaybeNullish<[Dayjs, Dayjs]>;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import r from"dayjs";import{isNullish as o,isArray as t}from"@vef-framework/shared";import{useMemo as m}from"react";import{stringFormatSeparator as e}from"../props.js";function f(f,p){return m((()=>{if(o(f))return f;if(t(f))return f.map((o=>r(o,p)));const[m,i]=f.split(e);return[r(m,p),r(i,p)]}),[f,p])}export{f as useDayjsValues};
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 { TemporalRangePickerMode } from "../props";
2
+ /**
3
+ * The hook to get the formats of the temporal picker.
4
+ *
5
+ * @param mode - The mode of the temporal picker.
6
+ * @returns The formats of the temporal picker.
7
+ */
8
+ export declare function useTemporalFormats(mode: TemporalRangePickerMode): string[];
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ const Y=["YYYY"],M=["YYYY-Q季度"],m=["YYYY-MM","YYYY/MM","YYYY.MM","YYYYMM"],D=["YYYY-wo"],H=["YYYY-MM-DD","YYYY/MM/DD","YYYY.MM.DD","YYYYMMDD","YY/MM/DD","YY.MM.DD","YYMMDD"],s=["HH:mm:ss","HH.mm.ss","HHmmss"],e=["HH"],t=["HH:mm","HH.mm","HHmm"],r=["YYYY-MM-DD HH:mm:ss","YYYY/MM/DD HH:mm:ss","YYYY.MM.DD HH.mm.ss","YYYYMMDDHHmmss","YY/MM/DD HH:mm:ss","YY.MM.DD HH:mm:ss","YY.MM.DD HH.mm.ss","YYMMDDHHmmss"];function n(n){return"year"===n?Y:"quarter"===n?M:"month"===n?m:"week"===n?D:"datetime"===n?r:"date"===n?H:"time"===n?s:"hour"===n?e:"minute"===n?t:[]}export{n as useTemporalFormats};
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,13 @@
1
+ import dayjs, { type Dayjs } from "dayjs";
2
+ import type { VefTemporalRangePickerProps } from "../props";
3
+ /**
4
+ * The hook to get the limit of the temporal range picker.
5
+ */
6
+ export declare function useTemporalLimit({ maxDate, minDate, disabledDate, disabledTime, }: Pick<VefTemporalRangePickerProps, "maxDate" | "minDate" | "disabledDate" | "disabledTime">): {
7
+ minDateValue: dayjs.Dayjs | undefined;
8
+ maxDateValue: dayjs.Dayjs | undefined;
9
+ disabledTimeValue: ((now: Dayjs) => import("../..").DisabledTimeProviders) | undefined;
10
+ disabledDateValue: ((now: Dayjs, { from }: {
11
+ from?: Dayjs;
12
+ }) => boolean) | undefined;
13
+ };
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import e from"dayjs";import{isFunction as a}from"@vef-framework/shared";import{useMemo as t}from"react";function r({maxDate:r,minDate:i,disabledDate:o,disabledTime:m}){const[d,f]=t((()=>[i?e(i):void 0,r?e(r):void 0]),[i,r]);return{minDateValue:d,maxDateValue:f,disabledTimeValue:t((()=>{if(a(m))return e=>m(e.toDate())}),[m]),disabledDateValue:t((()=>{if(a(o))return(e,{from:a})=>o(e.toDate(),a?.toDate())}),[o])}}export{r as useTemporalLimit};
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 { DatePicker, GetRef } from "antd";
2
+ import { type ForwardedRef, type RefObject } from "react";
3
+ import type { VefTemporalRangePickerInstance } from "../props";
4
+ type PickerRef = GetRef<typeof DatePicker.RangePicker>;
5
+ /**
6
+ * The hook to get the instance of the temporal range picker.
7
+ *
8
+ * @param ref - The forwarded ref.
9
+ * @returns The ref of the temporal range picker.
10
+ */
11
+ export declare function useTemporalRangePickerInstance(ref: ForwardedRef<VefTemporalRangePickerInstance>): RefObject<PickerRef>;
12
+ export {};
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{useRef as r,useImperativeHandle as t}from"react";function u(u){const c=r(null);return t(u,(()=>({blur:()=>{c.current?.blur()},focus:()=>{c.current?.focus({preventScroll:!0})}}))),c}export{u as useTemporalRangePickerInstance};
3
+ /*! 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, type ReactNode, type RefAttributes } from "react";
2
+ import { type TemporalRangePickerMode, type VefTemporalRangePickerInstance, type VefTemporalRangePickerProps } from "./props";
3
+ declare const VefTemporalRangePicker: (<S extends boolean = false>(props: VefTemporalRangePickerProps<S> & RefAttributes<VefTemporalRangePickerInstance>) => ReactNode) & Pick<FC, "displayName">;
4
+ export type { TemporalRangePickerMode, VefTemporalRangePickerInstance, VefTemporalRangePickerProps };
5
+ export default VefTemporalRangePicker;
@@ -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{TimePicker as a,DatePicker as t}from"antd";import{isFunction as o}from"@vef-framework/shared";import{useMemo as r,memo as i,forwardRef as m}from"react";import"../internal/index.js";import{useDayjsValues as l}from"./hooks/use-dayjs-values.js";import{useTemporalFormats as s}from"./hooks/use-temporal-formats.js";import{useTemporalLimit as n}from"./hooks/use-temporal-limit.js";import{useTemporalRangePickerInstance as u}from"./hooks/use-temporal-range-picker-instance.js";import{stringFormatSeparator as d}from"./props.js";import{convertBasicSizeToUiSize as p}from"../internal/utils.js";const f=i(m((function({defaultValue:i,value:m,clearable:f,mode:c="date",size:D,useStringFormat:h=!1,maxDate:b,minDate:k,disabledTime:j,disabledDate:S,hourStep:g,minuteStep:V,secondStep:x,onChange:v,...C},T){const w=s(c),z=l(m,w),P=l(m,w),{minDateValue:R,maxDateValue:y,disabledTimeValue:F,disabledDateValue:N}=n({maxDate:b,minDate:k,disabledTime:j,disabledDate:S}),q=u(T),A=r((()=>{if(o(v))return(e,a)=>{if(!e)return void v(null,null);const t=[e[0].toDate(),e[1].toDate()];v(h?a.join(d):a,t)}}),[v,h]);return"time"===c||"hour"===c||"minute"===c?e(a.RangePicker,{ref:q,allowClear:f,defaultValue:P,disabledTime:F,format:w,hourStep:g,minuteStep:V,secondStep:x,size:p(D),value:z,onChange:A,...C}):e(t.RangePicker,"datetime"===c?{ref:q,showTime:!0,allowClear:f,defaultValue:P,disabledDate:N,disabledTime:F,format:w,hourStep:g,maxDate:y,minDate:R,minuteStep:V,picker:"date",secondStep:x,size:p(D),value:z,onChange:A,...C}:{ref:q,allowClear:f,defaultValue:P,disabledDate:N,format:w,maxDate:y,minDate:R,picker:c,size:p(D),value:z,onChange:A,...C})})));f.displayName="VefTemporalRangePicker";export{f as default};
3
+ /*! 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,82 @@
1
+ import type { BasicSize, BiConsumer, Handler, MaybeNull } from "@vef-framework/shared";
2
+ import type { DatePickerProps } from "antd";
3
+ import type { DisabledTimeType } from "../vef-temporal-picker";
4
+ import type { DisabledDateType } from "../vef-temporal-picker/props";
5
+ /**
6
+ * The instance of the VefTemporalRangePicker component.
7
+ */
8
+ export interface VefTemporalRangePickerInstance {
9
+ /**
10
+ * Focus the temporal range picker.
11
+ */
12
+ focus?: Handler;
13
+ /**
14
+ * Blur the temporal range picker.
15
+ */
16
+ blur?: Handler;
17
+ }
18
+ /**
19
+ * The separator of the string format.
20
+ */
21
+ export declare const stringFormatSeparator = "_";
22
+ /**
23
+ * The mode of the temporal range picker.
24
+ */
25
+ export type TemporalRangePickerMode = "minute" | "hour" | "time" | "date" | "datetime" | "week" | "month" | "quarter" | "year";
26
+ /**
27
+ * The value type of the temporal range picker.
28
+ */
29
+ export type TemporalRangeValueType<T, S extends boolean> = S extends true ? T : [T, T];
30
+ /**
31
+ * The props of the VefTemporalRangePicker component.
32
+ */
33
+ export interface VefTemporalRangePickerProps<S extends boolean = false> extends Pick<DatePickerProps, "disabled" | "variant" | "hourStep" | "minuteStep" | "secondStep"> {
34
+ /**
35
+ * The default value of the temporal range picker.
36
+ */
37
+ defaultValue?: TemporalRangeValueType<string, S>;
38
+ /**
39
+ * The value of the temporal range picker.
40
+ */
41
+ value?: MaybeNull<TemporalRangeValueType<string, S>>;
42
+ /**
43
+ * The mode of the temporal range picker.
44
+ */
45
+ mode?: TemporalRangePickerMode;
46
+ /**
47
+ * The size of the temporal range picker.
48
+ */
49
+ size?: BasicSize;
50
+ /**
51
+ * Whether to use the string format.
52
+ */
53
+ useStringFormat?: S;
54
+ /**
55
+ * Whether to allow clear.
56
+ */
57
+ clearable?: boolean;
58
+ /**
59
+ * The placeholder of the temporal range picker.
60
+ */
61
+ placeholder?: [string, string];
62
+ /**
63
+ * The maximum date of the temporal range picker.
64
+ */
65
+ maxDate?: Date;
66
+ /**
67
+ * The minimum date of the temporal range picker.
68
+ */
69
+ minDate?: Date;
70
+ /**
71
+ * The disabled date of the temporal range picker.
72
+ */
73
+ disabledDate?: DisabledDateType;
74
+ /**
75
+ * The disabled time of the temporal range picker.
76
+ */
77
+ disabledTime?: DisabledTimeType;
78
+ /**
79
+ * The callback function when the value changes.
80
+ */
81
+ onChange?: BiConsumer<MaybeNull<TemporalRangeValueType<string, S>>, MaybeNull<[Date, Date]>>;
82
+ }
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ const o="_";export{o as stringFormatSeparator};
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 { VefTextProps } from "./props";
3
+ declare const VefText: FC<VefTextProps>;
4
+ export type { VefTextProps };
5
+ export default VefText;
@@ -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{useColorTokens as o}from"@vef-framework/hooks";import{Typography as t}from"antd";import{useMemo as r}from"react";const{Text:i}=t,l=({variant:t,color:l,bold:n,ellipsis:s,ellipsisTip:p,ellipsisTipPlacement:c,copyable:a,copiedText:m,onCopy:d,...f})=>{const u=r((()=>{if(s)return{tooltip:p??f.children,placement:c}}),[s,p,c,f.children]),y=o(),h=r((()=>{const e={};return"shortcut"===t?e.keyboard=!0:"strikethrough"===t?e.delete=!0:t&&(e[t]=!0),"secondary"===l?e.type="secondary":l&&(e.css={color:y.get(l)}),n&&(e.strong=!0),e}),[n,l,y,t]),x=r((()=>{if(a)return{format:"text/plain",text:m,onCopy:d}}),[a,m,d]);return e(i,{copyable:x,ellipsis:u,...h,...f})};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,47 @@
1
+ import type { ColorType } from "@vef-framework/shared";
2
+ import type { TooltipPlacement } from "antd/es/tooltip";
3
+ import type { CopyConfig } from "antd/es/typography/Base";
4
+ import type { TextProps } from "antd/es/typography/Text";
5
+ import type { ReactNode } from "react";
6
+ import type { Except } from "@vef-framework/shared";
7
+ /**
8
+ * The props of the VefText component.
9
+ */
10
+ export interface VefTextProps extends Except<TextProps, "type" | "delete" | "ellipsis" | "color" | "strong" | "editable" | "keyboard" | "mark" | "code" | "underline" | "onCopy" | "prefixCls" | "rootClassName"> {
11
+ /**
12
+ * The variant of the text.
13
+ */
14
+ variant?: "code" | "mark" | "shortcut" | "underline" | "strikethrough";
15
+ /**
16
+ * The color of the text.
17
+ */
18
+ color?: "secondary" | ColorType;
19
+ /**
20
+ * Whether to display the text in bold.
21
+ */
22
+ bold?: boolean;
23
+ /**
24
+ * Whether to ellipsis text when it is too long.
25
+ */
26
+ ellipsis?: boolean;
27
+ /**
28
+ * The tooltip text when the text is ellipsis.
29
+ *
30
+ * @default The same as the children.
31
+ */
32
+ ellipsisTip?: ReactNode;
33
+ /**
34
+ * The placement of the tooltip when the text is ellipsis.
35
+ */
36
+ ellipsisTipPlacement?: TooltipPlacement;
37
+ /**
38
+ * The text to be copied.
39
+ *
40
+ * @default The same as the children.
41
+ */
42
+ copiedText?: string;
43
+ /**
44
+ * The callback function when the text is copied.
45
+ */
46
+ onCopy?: NonNullable<CopyConfig["onCopy"]>;
47
+ }
@@ -0,0 +1,13 @@
1
+ import type { GetRef } from "antd";
2
+ import type TextArea from "antd/es/input/TextArea";
3
+ import { type ForwardedRef, type RefObject } from "react";
4
+ import type { VefTextareaInstance } from "../props";
5
+ type TextareaRef = GetRef<typeof TextArea>;
6
+ /**
7
+ * The hook to get the instance of the VefTextarea component.
8
+ *
9
+ * @param ref - The forwarded ref.
10
+ * @returns The ref object.
11
+ */
12
+ export declare function useTextareaInstance(ref: ForwardedRef<VefTextareaInstance>): RefObject<TextareaRef>;
13
+ export {};
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{useRef as r,useImperativeHandle as t}from"react";function u(u){const c=r(null);return t(u,(()=>({blur:()=>c.current?.blur(),focus:()=>c.current?.focus({preventScroll:!0})}))),c}export{u as useTextareaInstance};
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 { VefTextareaInstance, VefTextareaProps } from "./props";
2
+ declare const VefTextarea: import("react").ForwardRefExoticComponent<VefTextareaProps & import("react").RefAttributes<VefTextareaInstance>>;
3
+ export type { VefTextareaInstance, VefTextareaProps };
4
+ export default VefTextarea;
@@ -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{Input as o}from"antd";import{isFunction as r}from"@vef-framework/shared";import{forwardRef as t,useMemo as a}from"react";import"../internal/index.js";import{useTextareaInstance as n}from"./hooks/use-textarea-instance.js";import{convertBasicSizeToUiSize as u}from"../internal/utils.js";const{TextArea:l}=o;function s(e){return""===e?null:e}const i=t((({defaultValue:o,value:t,size:i,clearable:m,showCount:f,onChange:v,onEnterKeyPress:c,onBlur:d,onFocus:p,...g},h)=>{const x=a((()=>({onChange:r(v)?e=>v(s(e.target.value)):void 0,onPressEnter:r(c)?e=>c(s(e.target.value)):void 0,onBlur:r(d)?e=>d(s(e.target.value)):void 0,onFocus:r(p)?e=>p(s(e.target.value)):void 0})),[v,c,d,p]),C=n(h);return e(l,{ref:C,allowClear:m,defaultValue:o,showCount:f,size:u(i),value:t,...g,...x})}));export{i as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,58 @@
1
+ import type { BasicSize, Consumer, Handler, MaybeNull } from "@vef-framework/shared";
2
+ import type { TextAreaProps } from "antd/es/input";
3
+ /**
4
+ * The instance of the VefTextarea component.
5
+ */
6
+ export interface VefTextareaInstance {
7
+ /**
8
+ * The blur handler.
9
+ */
10
+ blur: Handler;
11
+ /**
12
+ * The focus handler.
13
+ */
14
+ focus: Handler;
15
+ }
16
+ /**
17
+ * The props of the VefTextarea component.
18
+ */
19
+ export interface VefTextareaProps extends Pick<TextAreaProps, "className" | "style" | "placeholder" | "disabled" | "maxLength" | "status" | "variant" | "onClear"> {
20
+ /**
21
+ * The default value of the textarea.
22
+ */
23
+ defaultValue?: string;
24
+ /**
25
+ * The value of the textarea.
26
+ */
27
+ value?: MaybeNull<string>;
28
+ /**
29
+ * The size of the textarea.
30
+ */
31
+ size?: BasicSize;
32
+ /**
33
+ * Whether to allow clear.
34
+ * @default false
35
+ */
36
+ clearable?: boolean;
37
+ /**
38
+ * Whether to show the count of the textarea.
39
+ * @default false
40
+ */
41
+ showCount?: boolean;
42
+ /**
43
+ * The change handler.
44
+ */
45
+ onChange?: Consumer<MaybeNull<string>>;
46
+ /**
47
+ * The enter key press handler.
48
+ */
49
+ onEnterKeyPress?: Consumer<MaybeNull<string>>;
50
+ /**
51
+ * The blur handler.
52
+ */
53
+ onBlur?: Consumer<MaybeNull<string>>;
54
+ /**
55
+ * The focus handler.
56
+ */
57
+ onFocus?: Consumer<MaybeNull<string>>;
58
+ }
@@ -0,0 +1,5 @@
1
+ import { type FC } from "react";
2
+ import type { VefTitleProps } from "./props";
3
+ declare const VefTitle: FC<VefTitleProps>;
4
+ export type { VefTitleProps };
5
+ export default VefTitle;
@@ -0,0 +1,15 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsxs as e,Fragment as r,jsx as t}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{useColorTokens as i}from"@vef-framework/hooks";import{themeVariables as n}from"@vef-framework/shared";import{Typography as a}from"antd";import{useMemo as l}from"react";import s from"../vef-divider/index.js";const{Title:m}=a,f=o`
3
+ margin: ${n.marginSm} 0 ${n.marginLg};
4
+ `,p=o`
5
+ &::before {
6
+ content: "";
7
+ display: inline-block;
8
+ width: 6px;
9
+ height: var(--vef-title-left-bar-height);
10
+ border-radius: 3px;
11
+ background: linear-gradient(to top, ${n.colorPrimary}, ${n.blue5});
12
+ margin-right: ${n.paddingSm};
13
+ }
14
+ `,c=({showLeftBar:o,showBottomLine:n,noPaddingBottom:a,variant:c,color:d,ellipsis:h,ellipsisTip:g,...v})=>{const{level:u}=v,y=l((()=>{if(h)return{tooltip:g??v.children}}),[h,g,v.children]),b=i(),$=l((()=>{const e={};if("secondary"===d)e.type="secondary";else{const r=[];d&&r.push({color:b.get(d)}),o&&r.push(p),e.css=r}return c&&(e[c]=!0),o&&(e.style={"--vef-title-left-bar-height":`calc(var(--vef-font-size-heading-${u}) * 0.8)`}),a&&(e.style={...e.style,"--vef-typography-title-margin-bottom":0}),e}),[d,c,o,b,u,a]);return e(r,{children:[t(m,{ellipsis:y,...$,...v}),n&&t(s,{css:f})]})};export{c as default};
15
+ /*! 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,39 @@
1
+ import type { ColorType } from "@vef-framework/shared";
2
+ import type { TitleProps } from "antd/es/typography/Title";
3
+ import type { ReactNode } from "react";
4
+ import type { Except } from "@vef-framework/shared";
5
+ /**
6
+ * The props for the VefTitle component.
7
+ */
8
+ export interface VefTitleProps extends Except<TitleProps, "type" | "keyboard" | "color" | "ellipsis" | "code" | "copyable" | "delete" | "disabled" | "editable" | "mark" | "underline" | "prefixCls" | "rootClassName"> {
9
+ /**
10
+ * Whether to show the left bar.
11
+ */
12
+ showLeftBar?: boolean;
13
+ /**
14
+ * Whether to show the bottom line.
15
+ */
16
+ showBottomLine?: boolean;
17
+ /**
18
+ * Whether to remove the bottom padding.
19
+ */
20
+ noPaddingBottom?: boolean;
21
+ /**
22
+ * The variant of the text.
23
+ */
24
+ variant?: "mark" | "underline";
25
+ /**
26
+ * The color of the title.
27
+ */
28
+ color?: "secondary" | ColorType;
29
+ /**
30
+ * Whether to ellipsis title when it is too long.
31
+ */
32
+ ellipsis?: boolean;
33
+ /**
34
+ * The tooltip text when the title is ellipsis.
35
+ *
36
+ * @default The same as the children.
37
+ */
38
+ ellipsisTip?: ReactNode;
39
+ }
@@ -0,0 +1,5 @@
1
+ import type { MaybeUndefined } from "@vef-framework/shared";
2
+ import type { VefTooltipProps } from "./props";
3
+ declare const VefTooltip: import("react").ForwardRefExoticComponent<VefTooltipProps & import("react").RefAttributes<MaybeUndefined<HTMLElement>>>;
4
+ export type { VefTooltipProps };
5
+ export default VefTooltip;
@@ -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 r}from"@emotion/react/jsx-runtime";import{Tooltip as t}from"antd";import{forwardRef as e,useRef as o,useImperativeHandle as n}from"react";const a=e((({content:e,trigger:a="hover",arrow:m=!0,delay:i=.1,...l},c)=>{const u=o(null);return n(c,(()=>u.current?.nativeElement)),r(t,{ref:u,arrow:m,mouseEnterDelay:i,title:e,trigger:a,...l})}));export{a 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,30 @@
1
+ import type { TooltipProps } from "antd";
2
+ import type { ReactNode } from "react";
3
+ /**
4
+ * The trigger mode of the tooltip.
5
+ */
6
+ export type TooltipTrigger = "hover" | "click" | "focus";
7
+ /**
8
+ * The props of the VefTooltip component.
9
+ */
10
+ export interface VefTooltipProps extends Pick<TooltipProps, "placement" | "open" | "defaultOpen" | "onOpenChange" | "children"> {
11
+ /**
12
+ * The content of the tooltip.
13
+ */
14
+ content: ReactNode;
15
+ /**
16
+ * The trigger mode of the tooltip.
17
+ * @default "hover"
18
+ */
19
+ trigger?: TooltipTrigger;
20
+ /**
21
+ * Whether to show the arrow of the tooltip.
22
+ * @default true
23
+ */
24
+ arrow?: boolean;
25
+ /**
26
+ * The delay time of the tooltip to show. Unit: seconds.
27
+ * @default 0.1
28
+ */
29
+ delay?: number;
30
+ }
@@ -0,0 +1,10 @@
1
+ import type { DataOption, IdValue, MaybeArray, MaybeNull, NormalizedDataOption } from "@vef-framework/shared";
2
+ import type { VefTreeSelectProps } from "../props";
3
+ /**
4
+ * The change handler of the tree select.
5
+ *
6
+ * @param onChange The onChange handler
7
+ * @param options The normalized options
8
+ * @returns The change handler
9
+ */
10
+ export declare function useChangeHandler<T extends DataOption<T>>(onChange: VefTreeSelectProps["onChange"], options: Array<NormalizedDataOption<T>>): ((value: MaybeNull<MaybeArray<IdValue>>) => void) | undefined;
@@ -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,isArray as r}from"@vef-framework/shared";import{useMemo as t}from"react";function n(n,o){const u=t((()=>o.reduce(((e,r)=>(e.set(r.value,r),e)),new Map)),[o]);return t((()=>{if(e(n))return e=>{e?r(e)?n(e,e.map((e=>u.get(e)))):n(e,u.get(e)):n(null,null)}}),[n,u])}export{n as useChangeHandler};
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,36 @@
1
+ import type { DataOption, EmptyObject, Except, ObjectType, PureDataOption } from "@vef-framework/shared";
2
+ import type { VefTreeSelectProps } from "../props";
3
+ /**
4
+ * The hook to use data options.
5
+ */
6
+ export declare function useDataOptions<T extends DataOption<T> = PureDataOption, P extends ObjectType = EmptyObject, R = T[], KK extends string = "keyword", VK extends string = "ids", FP extends ObjectType = EmptyObject>({ value, multiple, onChange, ...rest }: Except<VefTreeSelectProps<T, P, R, KK, VK, FP>, "size" | "clearable" | "disabled" | "placeholder" | "variant" | "onClear" | "onBlur" | "onFocus" | "onSelect" | "onDeselect">): {
7
+ onFilterKeywordChange: import("radashi").DebounceFunction<[keyword: string]> | undefined;
8
+ normalizedOptions: ({
9
+ [x: string]: any;
10
+ description?: import("react").ReactNode;
11
+ labelText?: string | undefined;
12
+ descriptionText?: string | undefined;
13
+ label: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | null;
14
+ value: import("@vef-framework/shared").IdValue;
15
+ disabled: boolean;
16
+ } & {
17
+ children?: import("@vef-framework/shared").NormalizedDataOption<PureDataOption>[] | undefined;
18
+ labelPinyin?: string;
19
+ descriptionPinyin?: string;
20
+ } & T)[] | ({
21
+ [x: string]: any;
22
+ description?: import("react").ReactNode;
23
+ labelText?: string | undefined;
24
+ descriptionText?: string | undefined;
25
+ label: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | null;
26
+ value: import("@vef-framework/shared").IdValue;
27
+ disabled: boolean;
28
+ } & {
29
+ children?: import("@vef-framework/shared").NormalizedDataOption<PureDataOption>[] | undefined;
30
+ labelPinyin?: string;
31
+ descriptionPinyin?: string;
32
+ } & T)[];
33
+ isLoading: boolean;
34
+ fallbackOptions: T[] | undefined;
35
+ isFallbackOptionsLoading: boolean;
36
+ };
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{useComputedOptions as o}from"@vef-framework/hooks";import{isArray as a,isFunction as e,isNullish as i}from"@vef-framework/shared";import{useLayoutEffect as n}from"react";function r({value:r,multiple:t=!1,onChange:l,...s}){const{onFilterKeywordChange:p,normalizedOptions:d,defaultOption:f,isLoading:m,fallbackOptions:c,isFallbackOptionsLoading:u}=o({...s,selectedOptionValues:a(r)?r:r?[r]:[]});return n((()=>{f&&e(l)&&i(r)&&l(t?[f.value]:f.value,t?[f]:f)}),[f,t,l,r]),{onFilterKeywordChange:p,normalizedOptions:d,isLoading:m,fallbackOptions:c,isFallbackOptionsLoading:u}}export{r as useDataOptions};
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,11 @@
1
+ import type { DataOption, NormalizedDataOption } from "@vef-framework/shared";
2
+ import { type ForwardedRef } from "react";
3
+ import type { VefTreeSelectInstance } from "../props";
4
+ /**
5
+ * Creates an instance ref for the tree-select component, providing access to its methods.
6
+ *
7
+ * @param ref - The forwarded component instance ref.
8
+ * @param dataOptions - An array of normalized data options.
9
+ * @returns The ref of the tree-select component.
10
+ */
11
+ export declare function useTreeSelectInstance<T extends DataOption<T>>(ref: ForwardedRef<VefTreeSelectInstance<T>>, dataOptions: Array<NormalizedDataOption<T>>): import("react").RefObject<import("antd").RefSelectProps>;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{useRef as r,useImperativeHandle as t}from"react";function n(n,o){const u=r(null);return t(n,(()=>({blur:()=>{u.current?.blur()},focus:()=>{u.current?.focus({preventScroll:!0})},getDataOptions:()=>o}))),u}export{n as useTreeSelectInstance};
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 { EmptyObject } from "@vef-framework/shared";
2
+ import { type DataOption, type ObjectType, type PureDataOption } from "@vef-framework/shared";
3
+ import { type FC, type ReactNode, type RefAttributes } from "react";
4
+ import type { VefTreeSelectInstance, VefTreeSelectProps } from "./props";
5
+ declare const VefTreeSelect: (<T extends DataOption<T> = PureDataOption, P extends ObjectType = EmptyObject, R = T[], KK extends string = "keyword", VK extends string = "ids", FP extends ObjectType = EmptyObject>(props: VefTreeSelectProps<T, P, R, KK, VK, FP> & RefAttributes<VefTreeSelectInstance<T>>) => ReactNode) & Pick<FC, "displayName">;
6
+ export type { VefTreeSelectInstance, VefTreeSelectProps };
7
+ export default VefTreeSelect;
@@ -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{useOptionFilter as o}from"@vef-framework/hooks";import{styles as r}from"@vef-framework/shared";import{TreeSelect as t}from"antd";import{memo as l,forwardRef as a}from"react";import"../internal/index.js";import i from"../vef-loading-placeholder/index.js";import{useChangeHandler as n}from"./hooks/use-change-handler.js";import{useDataOptions as s}from"./hooks/use-data-options.js";import{useTreeSelectInstance as m}from"./hooks/use-tree-select-instance.js";import{convertBasicSizeToUiSize as d}from"../internal/utils.js";const f=e("div",{css:{height:140},children:e(i,{})}),c={showLeafIcon:!1};const u=l(a((function({defaultValue:l,value:a,size:i,clearable:u,disabled:h,placeholder:p,variant:v,onClear:g,onBlur:C,onFocus:j,onChange:k,onSelect:b,onDeselect:w,multiple:x=!1,filterable:F=!0,filterFromRemote:S=!1,...z},D){const{normalizedOptions:L,isLoading:T}=s({value:a,multiple:x,onChange:k,filterable:F,filterFromRemote:S,...z}),V=o(F,!1),B=n(k,L),N=m(D,L);return e(t,{ref:N,allowClear:u,css:r.fullWidth,defaultValue:l,disabled:h,filterTreeNode:V,listHeight:280,loading:T,maxTagCount:x?"responsive":void 0,multiple:x,notFoundContent:T?f:void 0,placeholder:p,showSearch:F,size:d(i),treeCheckable:x,treeData:L,treeLine:c,value:a,variant:v,onBlur:C,onChange:B,onClear:g,onDeselect:w,onFocus:j,onSelect:b})})));u.displayName="VefTreeSelect";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 */