antdv-next 1.3.5 → 1.3.7

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 (396) hide show
  1. package/dist/_util/ActionButton.d.ts +2 -2
  2. package/dist/_util/ContextIsolator.d.ts +3 -3
  3. package/dist/_util/hooks/useClosable.d.ts +2 -2
  4. package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
  5. package/dist/_util/hooks/useMergedMask.d.ts +3 -3
  6. package/dist/_util/instance.d.ts +2 -2
  7. package/dist/_util/responsiveObserver.d.ts +2 -2
  8. package/dist/_util/statusUtils.d.ts +1 -1
  9. package/dist/_util/wave/WaveEffect.d.ts +5 -5
  10. package/dist/_util/wave/index.d.ts +2 -2
  11. package/dist/_util/wave/style.d.ts +2 -2
  12. package/dist/_util/zindexContext.d.ts +2 -2
  13. package/dist/affix/index.d.ts +3 -3
  14. package/dist/affix/style/index.d.ts +2 -2
  15. package/dist/alert/Alert.d.ts +2 -2
  16. package/dist/alert/style/index.d.ts +2 -2
  17. package/dist/alert/style/index.js +1 -1
  18. package/dist/anchor/Anchor.d.ts +2 -2
  19. package/dist/anchor/Anchor.js +1 -1
  20. package/dist/anchor/AnchorLink.d.ts +2 -2
  21. package/dist/anchor/style/index.d.ts +2 -2
  22. package/dist/antd-with-locales.esm.js +3487 -3357
  23. package/dist/antd-with-locales.js +76 -76
  24. package/dist/antd.css +1 -1
  25. package/dist/antd.esm.js +1132 -1023
  26. package/dist/antd.js +24 -24
  27. package/dist/app/App.d.ts +2 -2
  28. package/dist/app/context.d.ts +2 -2
  29. package/dist/app/style/index.d.ts +2 -2
  30. package/dist/auto-complete/index.d.ts +2 -2
  31. package/dist/avatar/Avatar.d.ts +2 -2
  32. package/dist/avatar/AvatarGroup.d.ts +2 -2
  33. package/dist/avatar/style/index.d.ts +2 -2
  34. package/dist/badge/Ribbon.d.ts +2 -2
  35. package/dist/badge/ScrollNumber.d.ts +2 -2
  36. package/dist/badge/SingleNumber.d.ts +2 -2
  37. package/dist/badge/index.d.ts +3 -3
  38. package/dist/badge/style/index.d.ts +2 -2
  39. package/dist/badge/style/ribbon.d.ts +2 -2
  40. package/dist/border-beam/BorderBeam.d.ts +3 -3
  41. package/dist/border-beam/hooks/useBorderSize.d.ts +2 -2
  42. package/dist/border-beam/style/index.d.ts +2 -2
  43. package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
  44. package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
  45. package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
  46. package/dist/breadcrumb/style/index.d.ts +2 -2
  47. package/dist/button/Button.d.ts +2 -2
  48. package/dist/button/DefaultLoadingIcon.d.ts +2 -2
  49. package/dist/button/IconWrapper.d.ts +2 -2
  50. package/dist/button/buttonHelper.d.ts +1 -1
  51. package/dist/button/style/compact.d.ts +4 -4
  52. package/dist/button/style/index.d.ts +2 -2
  53. package/dist/button/style/index.js +0 -5
  54. package/dist/calendar/Header.d.ts +2 -2
  55. package/dist/calendar/generateCalendar.d.ts +2 -2
  56. package/dist/calendar/index.d.ts +2 -2
  57. package/dist/calendar/style/index.d.ts +2 -2
  58. package/dist/card/Card.d.ts +2 -2
  59. package/dist/card/CardGrid.d.ts +2 -2
  60. package/dist/card/CardMeta.d.ts +2 -2
  61. package/dist/card/style/index.d.ts +2 -2
  62. package/dist/carousel/index.d.ts +2 -2
  63. package/dist/carousel/style/index.d.ts +2 -2
  64. package/dist/cascader/Panel.d.ts +2 -2
  65. package/dist/cascader/hooks/useBase.d.ts +5 -5
  66. package/dist/cascader/hooks/useCheckable.d.ts +2 -2
  67. package/dist/cascader/index.d.ts +2 -2
  68. package/dist/cascader/style/index.d.ts +2 -2
  69. package/dist/cascader/style/panel.d.ts +2 -2
  70. package/dist/checkbox/Checkbox.d.ts +2 -2
  71. package/dist/checkbox/Group.d.ts +2 -2
  72. package/dist/checkbox/style/index.d.ts +4 -4
  73. package/dist/collapse/Collapse.d.ts +2 -2
  74. package/dist/collapse/CollapsePanel.d.ts +2 -2
  75. package/dist/collapse/style/index.d.ts +2 -2
  76. package/dist/color-picker/ColorPicker.d.ts +2 -2
  77. package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
  78. package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
  79. package/dist/color-picker/components/ColorClear.d.ts +2 -2
  80. package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
  81. package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
  82. package/dist/color-picker/components/ColorInput.d.ts +2 -2
  83. package/dist/color-picker/components/ColorPresets.d.ts +2 -2
  84. package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
  85. package/dist/color-picker/components/ColorSlider.d.ts +3 -3
  86. package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
  87. package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
  88. package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
  89. package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
  90. package/dist/color-picker/components/PanelPresets.d.ts +2 -2
  91. package/dist/color-picker/context.d.ts +3 -3
  92. package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
  93. package/dist/color-picker/style/index.d.ts +2 -2
  94. package/dist/components.d.ts +2 -1
  95. package/dist/config-provider/DisabledContext.d.ts +2 -2
  96. package/dist/config-provider/SizeContext.d.ts +2 -2
  97. package/dist/config-provider/context.d.ts +15 -15
  98. package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
  99. package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
  100. package/dist/config-provider/hooks/useConfig.d.ts +3 -3
  101. package/dist/config-provider/hooks/useSize.d.ts +2 -2
  102. package/dist/config-provider/hooks/useTheme.d.ts +2 -2
  103. package/dist/config-provider/index.d.ts +4 -4
  104. package/dist/date-picker/PickerButton.d.ts +2 -2
  105. package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
  106. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
  107. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
  108. package/dist/date-picker/generatePicker/index.d.ts +8 -8
  109. package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
  110. package/dist/date-picker/index.d.ts +13 -13
  111. package/dist/date-picker/style/index.d.ts +2 -2
  112. package/dist/date-picker/util.d.ts +3 -3
  113. package/dist/descriptions/Cell.d.ts +2 -2
  114. package/dist/descriptions/Item.d.ts +2 -2
  115. package/dist/descriptions/Row.d.ts +2 -2
  116. package/dist/descriptions/hooks/useItems.d.ts +8 -8
  117. package/dist/descriptions/hooks/useRow.d.ts +2 -2
  118. package/dist/descriptions/index.d.ts +2 -2
  119. package/dist/descriptions/style/index.d.ts +2 -2
  120. package/dist/divider/index.d.ts +2 -2
  121. package/dist/divider/style/index.d.ts +2 -2
  122. package/dist/drawer/DrawerPanel.d.ts +2 -2
  123. package/dist/drawer/index.d.ts +3 -3
  124. package/dist/drawer/style/index.d.ts +2 -2
  125. package/dist/drawer/useFocusable.d.ts +2 -2
  126. package/dist/dropdown/dropdown.d.ts +2 -2
  127. package/dist/dropdown/dropdown.js +8 -1
  128. package/dist/dropdown/style/index.d.ts +2 -2
  129. package/dist/dropdown/style/index.js +2 -2
  130. package/dist/empty/empty.d.ts +2 -2
  131. package/dist/empty/index.d.ts +5 -5
  132. package/dist/empty/simple.d.ts +2 -2
  133. package/dist/empty/style/index.d.ts +2 -2
  134. package/dist/flex/index.d.ts +2 -2
  135. package/dist/flex/style/index.d.ts +2 -2
  136. package/dist/float-button/BackTop.d.ts +2 -2
  137. package/dist/float-button/FloatButton.d.ts +2 -2
  138. package/dist/float-button/FloatButtonGroup.d.ts +2 -2
  139. package/dist/float-button/PurePanel.d.ts +2 -2
  140. package/dist/float-button/context.d.ts +3 -3
  141. package/dist/float-button/style/index.d.ts +2 -2
  142. package/dist/form/ErrorList.d.ts +2 -2
  143. package/dist/form/Form.d.ts +4 -4
  144. package/dist/form/FormItem/ItemHolder.d.ts +3 -3
  145. package/dist/form/FormItem/StatusProvider.d.ts +2 -2
  146. package/dist/form/FormItem/index.d.ts +2 -2
  147. package/dist/form/FormItemInput.d.ts +2 -2
  148. package/dist/form/FormItemLabel.d.ts +3 -3
  149. package/dist/form/context.d.ts +9 -9
  150. package/dist/form/hooks/useForm.d.ts +6 -0
  151. package/dist/form/hooks/useForm.js +6 -0
  152. package/dist/form/hooks/useVariant.d.ts +2 -2
  153. package/dist/form/index.d.ts +2 -1
  154. package/dist/form/style/fallbackCmp.d.ts +4 -4
  155. package/dist/form/style/index.d.ts +4 -2
  156. package/dist/form/style/index.js +3 -2
  157. package/dist/form/types.d.ts +13 -1
  158. package/dist/grid/col.d.ts +2 -2
  159. package/dist/grid/index.d.ts +2 -2
  160. package/dist/grid/row.d.ts +2 -2
  161. package/dist/grid/style/index.d.ts +3 -3
  162. package/dist/image/PreviewGroup.d.ts +12 -12
  163. package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
  164. package/dist/image/hooks/usePreviewConfig.d.ts +8 -8
  165. package/dist/image/index.d.ts +3 -3
  166. package/dist/image/style/index.d.ts +2 -2
  167. package/dist/index.d.ts +2 -1
  168. package/dist/input/Group.d.ts +3 -3
  169. package/dist/input/Input.d.ts +2 -2
  170. package/dist/input/Input.js +5 -1
  171. package/dist/input/OTP/OTPInput.d.ts +3 -3
  172. package/dist/input/OTP/index.d.ts +2 -2
  173. package/dist/input/Password.d.ts +2 -2
  174. package/dist/input/Search.d.ts +2 -2
  175. package/dist/input/TextArea.d.ts +2 -2
  176. package/dist/input/index.d.ts +6 -6
  177. package/dist/input/style/index.d.ts +3 -3
  178. package/dist/input/style/otp.d.ts +2 -2
  179. package/dist/input/style/search.d.ts +2 -2
  180. package/dist/input/style/textarea.d.ts +2 -2
  181. package/dist/input-number/index.d.ts +2 -2
  182. package/dist/input-number/style/index.d.ts +2 -2
  183. package/dist/layout/Sider.d.ts +2 -2
  184. package/dist/layout/index.d.ts +5 -5
  185. package/dist/layout/layout.d.ts +5 -5
  186. package/dist/layout/style/index.d.ts +2 -2
  187. package/dist/layout/style/sider.d.ts +2 -2
  188. package/dist/locale/index.d.ts +2 -2
  189. package/dist/locale/nb_NO.js +68 -47
  190. package/dist/locale/useLocale.d.ts +2 -2
  191. package/dist/locale/zh_CN.js +2 -2
  192. package/dist/masonry/Masonry.d.ts +3 -3
  193. package/dist/masonry/MasonryItem.d.ts +2 -2
  194. package/dist/masonry/hooks/usePositions.d.ts +2 -2
  195. package/dist/masonry/style/index.d.ts +2 -2
  196. package/dist/mentions/index.d.ts +2 -2
  197. package/dist/mentions/style/index.d.ts +2 -2
  198. package/dist/menu/MenuContext.d.ts +3 -3
  199. package/dist/menu/MenuDivider.d.ts +2 -2
  200. package/dist/menu/MenuItem.d.ts +2 -2
  201. package/dist/menu/MenuItemGroup.d.ts +2 -2
  202. package/dist/menu/OverrideContext.d.ts +3 -3
  203. package/dist/menu/SubMenu.d.ts +2 -2
  204. package/dist/menu/index.d.ts +3 -3
  205. package/dist/menu/menu.d.ts +2 -2
  206. package/dist/menu/style/index.d.ts +2 -2
  207. package/dist/message/PureList.d.ts +3 -3
  208. package/dist/message/PurePanel.d.ts +3 -3
  209. package/dist/message/style/index.d.ts +5 -5
  210. package/dist/message/useMessage.d.ts +3 -3
  211. package/dist/modal/ConfirmDialog.d.ts +4 -4
  212. package/dist/modal/Modal.d.ts +2 -2
  213. package/dist/modal/PurePanel.d.ts +2 -2
  214. package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
  215. package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
  216. package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
  217. package/dist/modal/components/NormalOkBtn.d.ts +2 -2
  218. package/dist/modal/shared.d.ts +2 -2
  219. package/dist/modal/style/confirm.d.ts +4 -4
  220. package/dist/modal/style/index.d.ts +2 -2
  221. package/dist/modal/style/index.js +0 -3
  222. package/dist/modal/useModal/HookModal.d.ts +3 -3
  223. package/dist/notification/PureList.d.ts +3 -3
  224. package/dist/notification/PurePanel.d.ts +3 -3
  225. package/dist/notification/style/index.d.ts +5 -5
  226. package/dist/notification/useNotification.d.ts +3 -3
  227. package/dist/package.js +1 -1
  228. package/dist/pagination/Pagination.d.ts +2 -2
  229. package/dist/pagination/Pagination.js +10 -7
  230. package/dist/pagination/style/bordered.d.ts +4 -4
  231. package/dist/pagination/style/index.d.ts +2 -2
  232. package/dist/pagination/style/index.js +51 -0
  233. package/dist/popconfirm/PurePanel.d.ts +3 -3
  234. package/dist/popconfirm/index.d.ts +2 -2
  235. package/dist/popconfirm/style/index.d.ts +2 -2
  236. package/dist/popover/PurePanel.d.ts +4 -4
  237. package/dist/popover/index.d.ts +2 -2
  238. package/dist/popover/style/index.d.ts +2 -2
  239. package/dist/progress/Circle.d.ts +3 -3
  240. package/dist/progress/Line.d.ts +3 -3
  241. package/dist/progress/Steps.d.ts +2 -2
  242. package/dist/progress/progress.d.ts +2 -2
  243. package/dist/progress/style/index.d.ts +2 -2
  244. package/dist/qrcode/QrcodeStatus.d.ts +2 -2
  245. package/dist/qrcode/index.d.ts +2 -2
  246. package/dist/qrcode/style/index.d.ts +2 -2
  247. package/dist/radio/group.d.ts +2 -2
  248. package/dist/radio/index.d.ts +3 -3
  249. package/dist/radio/radio.d.ts +2 -2
  250. package/dist/radio/radioButton.d.ts +2 -2
  251. package/dist/radio/style/index.d.ts +2 -2
  252. package/dist/rate/index.d.ts +2 -2
  253. package/dist/rate/style/index.d.ts +2 -2
  254. package/dist/result/index.d.ts +2 -2
  255. package/dist/result/noFound.d.ts +2 -2
  256. package/dist/result/style/index.d.ts +2 -2
  257. package/dist/result/unauthorized.d.ts +2 -2
  258. package/dist/segmented/index.d.ts +2 -2
  259. package/dist/segmented/index.js +9 -7
  260. package/dist/segmented/style/index.d.ts +2 -2
  261. package/dist/select/index.d.ts +4 -4
  262. package/dist/select/style/index.d.ts +2 -2
  263. package/dist/select/useIcons.d.ts +5 -5
  264. package/dist/select/usePopupRender.d.ts +2 -2
  265. package/dist/skeleton/Avatar.d.ts +2 -2
  266. package/dist/skeleton/Button.d.ts +2 -2
  267. package/dist/skeleton/Element.d.ts +2 -2
  268. package/dist/skeleton/Image.d.ts +2 -2
  269. package/dist/skeleton/Input.d.ts +2 -2
  270. package/dist/skeleton/Node.d.ts +2 -2
  271. package/dist/skeleton/Paragraph.d.ts +2 -2
  272. package/dist/skeleton/Skeleton.d.ts +2 -2
  273. package/dist/skeleton/Title.d.ts +2 -2
  274. package/dist/skeleton/style/index.d.ts +2 -2
  275. package/dist/slider/SliderTooltip.d.ts +3 -3
  276. package/dist/slider/index.d.ts +2 -2
  277. package/dist/slider/style/index.d.ts +2 -2
  278. package/dist/space/Addon.d.ts +2 -2
  279. package/dist/space/Compact.d.ts +6 -6
  280. package/dist/space/Item.d.ts +2 -2
  281. package/dist/space/index.d.ts +4 -4
  282. package/dist/space/style/addon.d.ts +2 -2
  283. package/dist/space/style/compact.d.ts +2 -2
  284. package/dist/space/style/index.d.ts +2 -2
  285. package/dist/spin/Indicator/Looper.d.ts +2 -2
  286. package/dist/spin/Indicator/Progress.d.ts +2 -2
  287. package/dist/spin/Indicator/index.d.ts +2 -2
  288. package/dist/spin/index.d.ts +2 -2
  289. package/dist/spin/style/index.d.ts +2 -2
  290. package/dist/spin/usePercent.d.ts +2 -2
  291. package/dist/splitter/Panel.d.ts +3 -3
  292. package/dist/splitter/SplitBar.d.ts +2 -2
  293. package/dist/splitter/Splitter.d.ts +2 -2
  294. package/dist/splitter/hooks/useResizable.d.ts +2 -2
  295. package/dist/splitter/hooks/useResize.d.ts +2 -2
  296. package/dist/splitter/hooks/useSizes.d.ts +2 -2
  297. package/dist/splitter/index.d.ts +2 -2
  298. package/dist/splitter/style/index.d.ts +2 -2
  299. package/dist/statistic/Number.d.ts +2 -2
  300. package/dist/statistic/Statistic.d.ts +2 -2
  301. package/dist/statistic/Timer.d.ts +2 -2
  302. package/dist/statistic/index.d.ts +2 -2
  303. package/dist/statistic/style/index.d.ts +2 -2
  304. package/dist/steps/PanelArrow.d.ts +2 -2
  305. package/dist/steps/ProgressIcon.d.ts +2 -2
  306. package/dist/steps/index.d.ts +2 -2
  307. package/dist/steps/style/index.d.ts +2 -2
  308. package/dist/switch/index.d.ts +2 -2
  309. package/dist/switch/style/index.d.ts +2 -2
  310. package/dist/table/Column.d.ts +2 -2
  311. package/dist/table/ColumnGroup.d.ts +2 -2
  312. package/dist/table/ExpandIcon.d.ts +2 -2
  313. package/dist/table/InternalTable.d.ts +11 -3
  314. package/dist/table/InternalTable.js +39 -2
  315. package/dist/table/Table.js +4 -0
  316. package/dist/table/TableMeasureRowContext.d.ts +3 -3
  317. package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
  318. package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
  319. package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
  320. package/dist/table/hooks/usePagination.d.ts +2 -2
  321. package/dist/table/hooks/useSelection.d.ts +2 -2
  322. package/dist/table/hooks/useSorter.d.ts +2 -2
  323. package/dist/table/style/ellipsis.js +2 -0
  324. package/dist/table/style/index.d.ts +2 -2
  325. package/dist/tabs/TabPane.d.ts +2 -2
  326. package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
  327. package/dist/tabs/index.d.ts +2 -2
  328. package/dist/tabs/style/index.d.ts +2 -2
  329. package/dist/tag/CheckableTag.d.ts +2 -2
  330. package/dist/tag/CheckableTagGroup.d.ts +2 -2
  331. package/dist/tag/hooks/useColor.d.ts +2 -2
  332. package/dist/tag/index.d.ts +2 -2
  333. package/dist/tag/style/index.d.ts +2 -2
  334. package/dist/tag/style/presetCmp.d.ts +4 -4
  335. package/dist/tag/style/statusCmp.d.ts +4 -4
  336. package/dist/theme/context.d.ts +2 -2
  337. package/dist/theme/index.d.ts +7 -8
  338. package/dist/theme/themes/default/theme.d.ts +2 -2
  339. package/dist/theme/util/genStyleUtils.d.ts +14 -14
  340. package/dist/time-picker/index.d.ts +4 -4
  341. package/dist/timeline/Timeline.d.ts +2 -2
  342. package/dist/timeline/TimelineItem.d.ts +2 -2
  343. package/dist/timeline/style/index.d.ts +2 -2
  344. package/dist/tooltip/PurePanel.d.ts +2 -2
  345. package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
  346. package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
  347. package/dist/tooltip/index.d.ts +2 -2
  348. package/dist/tooltip/style/index.d.ts +2 -2
  349. package/dist/tour/PurePanel.d.ts +2 -2
  350. package/dist/tour/index.d.ts +2 -2
  351. package/dist/tour/panelRender.d.ts +2 -2
  352. package/dist/tour/panelRender.js +8 -2
  353. package/dist/tour/style/index.d.ts +2 -2
  354. package/dist/transfer/Actions.d.ts +2 -2
  355. package/dist/transfer/ListBody.d.ts +2 -2
  356. package/dist/transfer/ListItem.d.ts +2 -2
  357. package/dist/transfer/Section.d.ts +2 -2
  358. package/dist/transfer/Transfer.d.ts +2 -2
  359. package/dist/transfer/hooks/useData.d.ts +2 -2
  360. package/dist/transfer/search.d.ts +2 -2
  361. package/dist/transfer/style/index.d.ts +2 -2
  362. package/dist/tree/DirectoryTree.d.ts +2 -2
  363. package/dist/tree/DirectoryTree.js +1 -1
  364. package/dist/tree/Tree.d.ts +2 -2
  365. package/dist/tree/style/index.d.ts +2 -2
  366. package/dist/tree/utils/dropIndicator.d.ts +2 -2
  367. package/dist/tree/utils/iconUtil.d.ts +2 -2
  368. package/dist/tree-select/index.d.ts +3 -3
  369. package/dist/tree-select/style/index.d.ts +2 -2
  370. package/dist/typography/Base/CopyBtn.d.ts +2 -2
  371. package/dist/typography/Base/Ellipsis.d.ts +3 -3
  372. package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
  373. package/dist/typography/Base/index.d.ts +2 -2
  374. package/dist/typography/Editable.d.ts +2 -2
  375. package/dist/typography/Link.d.ts +2 -2
  376. package/dist/typography/Paragraph.d.ts +2 -2
  377. package/dist/typography/Text.d.ts +2 -2
  378. package/dist/typography/Title.d.ts +2 -2
  379. package/dist/typography/Typography.d.ts +2 -2
  380. package/dist/typography/hooks/useCopyClick.d.ts +3 -3
  381. package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
  382. package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
  383. package/dist/typography/index.d.ts +5 -5
  384. package/dist/typography/style/index.d.ts +2 -2
  385. package/dist/upload/Upload.d.ts +2 -2
  386. package/dist/upload/UploadList/ListItem.d.ts +3 -3
  387. package/dist/upload/UploadList/ListItem.js +9 -0
  388. package/dist/upload/UploadList/index.d.ts +2 -2
  389. package/dist/upload/index.d.ts +3 -3
  390. package/dist/upload/style/index.d.ts +2 -2
  391. package/dist/upload/utils.js +1 -1
  392. package/dist/watermark/context.d.ts +2 -2
  393. package/dist/watermark/index.d.ts +2 -2
  394. package/package.json +13 -13
  395. package/web-tags.json +1124 -1120
  396. package/web-types.json +4187 -4174
@@ -1,6 +1,6 @@
1
1
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import "../../theme/internal.js";
3
- import * as vue935 from "vue";
3
+ import * as vue865 from "vue";
4
4
 
5
5
  //#region src/drawer/style/index.d.ts
6
6
  interface ComponentToken {
@@ -27,6 +27,6 @@ interface ComponentToken {
27
27
  }
28
28
  interface DrawerToken extends FullToken<'Drawer'> {}
29
29
  declare const prepareComponentToken: GetDefaultToken<'Drawer'>;
30
- declare const _default: (prefixCls: vue935.Ref<string>, rootCls?: vue935.Ref<string | undefined>) => readonly [vue935.Ref<string, string>, vue935.ComputedRef<string | undefined>];
30
+ declare const _default: (prefixCls: vue865.Ref<string>, rootCls?: vue865.Ref<string | undefined>) => readonly [vue865.Ref<string, string>, vue865.ComputedRef<string | undefined>];
31
31
  //#endregion
32
32
  export { ComponentToken, DrawerToken, _default as default, prepareComponentToken };
@@ -1,4 +1,4 @@
1
- import * as vue295 from "vue";
1
+ import * as vue129 from "vue";
2
2
  import { Ref } from "vue";
3
3
 
4
4
  //#region src/drawer/useFocusable.d.ts
@@ -7,7 +7,7 @@ interface FocusableConfig {
7
7
  focusTriggerAfterClose?: boolean;
8
8
  trap?: boolean;
9
9
  }
10
- declare function useFocusable(focusable?: Ref<FocusableConfig | undefined>, defaultTrap?: Ref<boolean | undefined>, legacyFocusTriggerAfterClose?: Ref<FocusableConfig['focusTriggerAfterClose'] | undefined>): vue295.ComputedRef<{
10
+ declare function useFocusable(focusable?: Ref<FocusableConfig | undefined>, defaultTrap?: Ref<boolean | undefined>, legacyFocusTriggerAfterClose?: Ref<FocusableConfig['focusTriggerAfterClose'] | undefined>): vue129.ComputedRef<{
11
11
  focusTriggerAfterClose: boolean;
12
12
  trap: boolean;
13
13
  }>;
@@ -4,7 +4,7 @@ import { AdjustOverflow } from "../_util/placements.js";
4
4
  import { MenuEmits, MenuSlots } from "../menu/menu.js";
5
5
  import { MenuProps as MenuProps$1 } from "../menu/index.js";
6
6
  import { ComponentBaseProps } from "../config-provider/context.js";
7
- import * as vue261 from "vue";
7
+ import * as vue148 from "vue";
8
8
  import { CSSProperties, SlotsType } from "vue";
9
9
  import { AlignType } from "@v-c/trigger";
10
10
  import { MenuProps } from "@v-c/menu";
@@ -75,6 +75,6 @@ interface DropdownSlots extends MenuSlots {
75
75
  source: 'trigger' | 'menu';
76
76
  }) => any;
77
77
  }
78
- declare const Dropdown: vue261.DefineSetupFnComponent<DropdownProps, DropdownEmits, SlotsType<DropdownSlots>, DropdownProps, vue261.PublicProps>;
78
+ declare const Dropdown: vue148.DefineSetupFnComponent<DropdownProps, DropdownEmits, SlotsType<DropdownSlots>, DropdownProps, vue148.PublicProps>;
79
79
  //#endregion
80
80
  export { DropdownArrowOptions, DropdownClassNamesType, DropdownEmits, DropdownEmitsProps, DropdownProps, DropdownSemanticClassNames, DropdownSemanticName, DropdownSemanticStyles, DropdownSlots, DropdownStylesType, Dropdown as default };
@@ -97,15 +97,22 @@ const Dropdown = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs })
97
97
  const menuClassNames = omit(mergedClassNames.value, ["root"]);
98
98
  const menuStyles = omit(mergedStyles.value, ["root"]);
99
99
  let overlayNode;
100
- if (menu?.items) overlayNode = createVNode(menu_default, mergeProps(menu, {
100
+ if (menu?.items) overlayNode = createVNode(menu_default, mergeProps(omit(menu, [
101
+ "classes",
102
+ "styles",
103
+ "rootClass"
104
+ ]), {
101
105
  "onClick": (menu) => {
102
106
  emit("menuClick", menu);
103
107
  },
108
+ "rootClass": clsx(menu?.rootClass),
104
109
  "classes": {
110
+ ...menu?.classes,
105
111
  ...menuClassNames,
106
112
  subMenu: { ...menuClassNames }
107
113
  },
108
114
  "styles": {
115
+ ...menu?.styles,
109
116
  ...menuStyles,
110
117
  subMenu: { ...menuStyles }
111
118
  }
@@ -2,7 +2,7 @@ import { ArrowToken } from "../../style/roundedArrow.js";
2
2
  import { ArrowOffsetToken } from "../../style/placementArrow.js";
3
3
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
4
4
  import "../../theme/internal.js";
5
- import * as vue886 from "vue";
5
+ import * as vue855 from "vue";
6
6
  import { CSSProperties } from "vue";
7
7
 
8
8
  //#region src/dropdown/style/index.d.ts
@@ -40,6 +40,6 @@ interface DropdownToken extends FullToken<'Dropdown'> {
40
40
  menuCls: string;
41
41
  }
42
42
  declare const prepareComponentToken: GetDefaultToken<'Dropdown'>;
43
- declare const _default: (prefixCls: vue886.Ref<string>, rootCls?: vue886.Ref<string | undefined>) => readonly [vue886.Ref<string, string>, vue886.ComputedRef<string | undefined>];
43
+ declare const _default: (prefixCls: vue855.Ref<string>, rootCls?: vue855.Ref<string | undefined>) => readonly [vue855.Ref<string, string>, vue855.ComputedRef<string | undefined>];
44
44
  //#endregion
45
45
  export { ComponentToken, DropdownToken, _default as default, prepareComponentToken };
@@ -11,7 +11,7 @@ import { unit } from "@antdv-next/cssinjs";
11
11
 
12
12
  //#region src/dropdown/style/index.ts
13
13
  const genBaseStyle = (token) => {
14
- const { componentCls, menuCls, zIndexPopup, dropdownArrowDistance, sizePopupArrow, antCls, iconCls, motionDurationMid, paddingBlock, fontSize, dropdownEdgeChildPadding, colorTextDisabled, fontSizeIcon, controlPaddingHorizontal, colorBgElevated } = token;
14
+ const { componentCls, menuCls, zIndexPopup, dropdownArrowDistance, sizePopupArrow, antCls, iconCls, motionDurationMid, paddingBlock, fontSize, dropdownEdgeChildPadding, colorTextDisabled, fontSizeIcon, controlPaddingHorizontal, colorBgElevated, controlHeightLG } = token;
15
15
  return [
16
16
  { [componentCls]: {
17
17
  position: "absolute",
@@ -30,7 +30,7 @@ const genBaseStyle = (token) => {
30
30
  content: "\"\""
31
31
  },
32
32
  "&-menu-vertical": {
33
- maxHeight: "100vh",
33
+ maxHeight: `calc(100vh - ${unit(token.calc(controlHeightLG).mul(2.5).equal())})`,
34
34
  overflowY: "auto"
35
35
  },
36
36
  [`&-trigger${antCls}-btn`]: { [`& > ${iconCls}-down, & > ${antCls}-btn-icon > ${iconCls}-down`]: { fontSize: fontSizeIcon } },
@@ -1,6 +1,6 @@
1
- import * as vue263 from "vue";
1
+ import * as vue146 from "vue";
2
2
 
3
3
  //#region src/empty/empty.d.ts
4
- declare const Empty: vue263.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue263.PublicProps>;
4
+ declare const Empty: vue146.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue146.PublicProps>;
5
5
  //#endregion
6
6
  export { Empty as default };
@@ -2,16 +2,16 @@ import { EmptyEmit, VueNode as VueNode$1 } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import "../_util/hooks/index.js";
4
4
  import { ComponentBaseProps } from "../config-provider/context.js";
5
- import * as vue222 from "vue";
5
+ import * as vue144 from "vue";
6
6
  import { CSSProperties, SlotsType } from "vue";
7
- import * as vue_jsx_runtime6 from "vue/jsx-runtime";
7
+ import * as vue_jsx_runtime4 from "vue/jsx-runtime";
8
8
 
9
9
  //#region src/empty/index.d.ts
10
10
  interface TransferLocale {
11
11
  description: string;
12
12
  }
13
- declare const defaultEmptyImg: vue_jsx_runtime6.JSX.Element;
14
- declare const simpleEmptyImg: vue_jsx_runtime6.JSX.Element;
13
+ declare const defaultEmptyImg: vue_jsx_runtime4.JSX.Element;
14
+ declare const simpleEmptyImg: vue_jsx_runtime4.JSX.Element;
15
15
  type EmptySemanticName = keyof EmptySemanticClassNames & keyof EmptySemanticStyles;
16
16
  interface EmptySemanticClassNames {
17
17
  root?: string;
@@ -39,7 +39,7 @@ interface EmptySlots {
39
39
  description: () => any;
40
40
  default: () => any;
41
41
  }
42
- declare const Empty: vue222.DefineSetupFnComponent<EmptyProps, EmptyEmit, SlotsType<EmptySlots>, EmptyProps, vue222.PublicProps>;
42
+ declare const Empty: vue144.DefineSetupFnComponent<EmptyProps, EmptyEmit, SlotsType<EmptySlots>, EmptyProps, vue144.PublicProps>;
43
43
  declare const _default: typeof Empty & {
44
44
  PRESENTED_IMAGE_DEFAULT: typeof defaultEmptyImg;
45
45
  PRESENTED_IMAGE_SIMPLE: typeof simpleEmptyImg;
@@ -1,6 +1,6 @@
1
- import * as vue164 from "vue";
1
+ import * as vue180 from "vue";
2
2
 
3
3
  //#region src/empty/simple.d.ts
4
- declare const Simple: vue164.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue164.PublicProps>;
4
+ declare const Simple: vue180.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue180.PublicProps>;
5
5
  //#endregion
6
6
  export { Simple as default };
@@ -1,8 +1,8 @@
1
- import * as vue953 from "vue";
1
+ import * as vue535 from "vue";
2
2
 
3
3
  //#region src/empty/style/index.d.ts
4
4
  /** Component only token. Which will handle additional calculation of alias token */
5
5
  interface ComponentToken {}
6
- declare const _default: (prefixCls: vue953.Ref<string>, rootCls?: vue953.Ref<string | undefined>) => readonly [vue953.Ref<string, string>, vue953.ComputedRef<string | undefined>];
6
+ declare const _default: (prefixCls: vue535.Ref<string>, rootCls?: vue535.Ref<string | undefined>) => readonly [vue535.Ref<string, string>, vue535.ComputedRef<string | undefined>];
7
7
  //#endregion
8
8
  export { ComponentToken, _default as default };
@@ -1,12 +1,12 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
2
  import { FlexProps } from "./interface.js";
3
- import * as vue401 from "vue";
3
+ import * as vue150 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/flex/index.d.ts
7
7
  interface FlexSlots {
8
8
  default: () => any;
9
9
  }
10
- declare const Flex: vue401.DefineSetupFnComponent<FlexProps, EmptyEmit, SlotsType<FlexSlots>, FlexProps, vue401.PublicProps>;
10
+ declare const Flex: vue150.DefineSetupFnComponent<FlexProps, EmptyEmit, SlotsType<FlexSlots>, FlexProps, vue150.PublicProps>;
11
11
  //#endregion
12
12
  export { type FlexProps, FlexSlots, Flex as default };
@@ -1,6 +1,6 @@
1
1
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import "../../theme/internal.js";
3
- import * as vue914 from "vue";
3
+ import * as vue506 from "vue";
4
4
 
5
5
  //#region src/flex/style/index.d.ts
6
6
  /** Component only token. Which will handle additional calculation of alias token */
@@ -29,6 +29,6 @@ interface FlexToken extends FullToken<'Flex'> {
29
29
  flexGapLG: number;
30
30
  }
31
31
  declare const prepareComponentToken: GetDefaultToken<'Flex'>;
32
- declare const _default: (prefixCls: vue914.Ref<string>, rootCls?: vue914.Ref<string | undefined>) => readonly [vue914.Ref<string, string>, vue914.ComputedRef<string | undefined>];
32
+ declare const _default: (prefixCls: vue506.Ref<string>, rootCls?: vue506.Ref<string | undefined>) => readonly [vue506.Ref<string, string>, vue506.ComputedRef<string | undefined>];
33
33
  //#endregion
34
34
  export { ComponentToken, FlexToken, _default as default, prepareComponentToken };
@@ -1,6 +1,6 @@
1
1
  import { FloatButtonProps } from "./FloatButton.js";
2
2
  import { ComponentBaseProps } from "../config-provider/context.js";
3
- import * as vue795 from "vue";
3
+ import * as vue238 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/float-button/BackTop.d.ts
@@ -19,7 +19,7 @@ interface BackTopSlots {
19
19
  default?: () => any;
20
20
  icon?: () => any;
21
21
  }
22
- declare const BackTop: vue795.DefineSetupFnComponent<BackTopProps, BackTopEmits, SlotsType<BackTopSlots>, BackTopProps, vue795.PublicProps>;
22
+ declare const BackTop: vue238.DefineSetupFnComponent<BackTopProps, BackTopEmits, SlotsType<BackTopSlots>, BackTopProps, vue238.PublicProps>;
23
23
  declare const BackTopWithInstall: typeof BackTop;
24
24
  //#endregion
25
25
  export { BackTopEmits, BackTopEmitsProps, BackTopProps, BackTopSlots, BackTopWithInstall as default };
@@ -7,7 +7,7 @@ import { ComponentBaseProps } from "../config-provider/context.js";
7
7
  import { ButtonHTMLType } from "../button/buttonHelper.js";
8
8
  import { ButtonSemanticClassNames, ButtonSemanticName, ButtonSemanticStyles } from "../button/Button.js";
9
9
  import "../button/index.js";
10
- import * as vue648 from "vue";
10
+ import * as vue294 from "vue";
11
11
  import { CSSProperties, SlotsType } from "vue";
12
12
 
13
13
  //#region src/float-button/FloatButton.d.ts
@@ -62,7 +62,7 @@ interface FloatButtonEmitsProps {
62
62
  onBlur?: FloatButtonEmits['blur'];
63
63
  }
64
64
  declare const floatButtonPrefixCls = "float-btn";
65
- declare const InternalFloatButton: vue648.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps, vue648.PublicProps>;
65
+ declare const InternalFloatButton: vue294.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps, vue294.PublicProps>;
66
66
  declare const FloatButton: typeof InternalFloatButton;
67
67
  //#endregion
68
68
  export { FloatButtonBadgeProps, FloatButtonClassNamesType, FloatButtonElement, FloatButtonEmits, FloatButtonEmitsProps, FloatButtonGroupTrigger, FloatButtonProps, FloatButtonRef, FloatButtonSemanticName, FloatButtonShape, FloatButtonSlots, FloatButtonStylesType, FloatButtonType, FloatButton as default, floatButtonPrefixCls };
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
3
3
  import "../_util/hooks/index.js";
4
4
  import { FloatButtonGroupTrigger, FloatButtonProps } from "./FloatButton.js";
5
5
  import { ComponentBaseProps } from "../config-provider/context.js";
6
- import * as vue656 from "vue";
6
+ import * as vue296 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
 
9
9
  //#region src/float-button/FloatButtonGroup.d.ts
@@ -55,7 +55,7 @@ interface FloatButtonGroupEmitsProps {
55
55
  'onUpdate:open'?: FloatButtonGroupEmits['update:open'];
56
56
  onClick?: FloatButtonGroupEmits['click'];
57
57
  }
58
- declare const InternalFloatButtonGroup: vue656.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps, vue656.PublicProps>;
58
+ declare const InternalFloatButtonGroup: vue296.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps, vue296.PublicProps>;
59
59
  declare const FloatButtonGroup: typeof InternalFloatButtonGroup;
60
60
  //#endregion
61
61
  export { FloatButtonGroupClassNamesType, FloatButtonGroupEmits, FloatButtonGroupEmitsProps, FloatButtonGroupProps, FloatButtonGroupSemanticClassNames, FloatButtonGroupSemanticName, FloatButtonGroupSemanticStyles, FloatButtonGroupSlots, FloatButtonGroupStylesType, FloatButtonGroup as default };
@@ -1,6 +1,6 @@
1
1
  import { FloatButtonProps } from "./FloatButton.js";
2
2
  import { FloatButtonGroupProps } from "./FloatButtonGroup.js";
3
- import * as vue714 from "vue";
3
+ import * as vue891 from "vue";
4
4
 
5
5
  //#region src/float-button/PurePanel.d.ts
6
6
  interface PureFloatButtonProps extends Omit<FloatButtonProps, 'target'> {
@@ -14,6 +14,6 @@ interface PurePanelProps extends Omit<PureFloatButtonProps, 'classes' | 'styles'
14
14
  classes?: ClassNamesType;
15
15
  styles?: StylesType;
16
16
  }
17
- declare const PurePanel: vue714.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue714.PublicProps>;
17
+ declare const PurePanel: vue891.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue891.PublicProps>;
18
18
  //#endregion
19
19
  export { PureFloatButtonProps, PurePanelProps, PurePanel as default };
@@ -1,5 +1,5 @@
1
1
  import { FloatButtonProps, FloatButtonShape } from "./FloatButton.js";
2
- import * as vue658 from "vue";
2
+ import * as vue302 from "vue";
3
3
  import { Ref } from "vue";
4
4
 
5
5
  //#region src/float-button/context.d.ts
@@ -11,10 +11,10 @@ interface GroupContextProps {
11
11
  }
12
12
  declare function useGroupContext(): Ref<GroupContextProps | null, GroupContextProps | null> | undefined;
13
13
  declare function useGroupContextProvider(value: Ref<GroupContextProps | null>): void;
14
- declare const GroupContextProvider: vue658.DefineSetupFnComponent<{
14
+ declare const GroupContextProvider: vue302.DefineSetupFnComponent<{
15
15
  value: GroupContextProps;
16
16
  }, {}, {}, {
17
17
  value: GroupContextProps;
18
- } & {}, vue658.PublicProps>;
18
+ } & {}, vue302.PublicProps>;
19
19
  //#endregion
20
20
  export { GroupContextProps, GroupContextProvider, useGroupContext, useGroupContextProvider };
@@ -1,6 +1,6 @@
1
1
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import "../../theme/internal.js";
3
- import * as vue882 from "vue";
3
+ import * as vue869 from "vue";
4
4
 
5
5
  //#region src/float-button/style/index.d.ts
6
6
  /** Component only token. Which will handle additional calculation of alias token */
@@ -32,6 +32,6 @@ type FloatButtonToken = FullToken<'FloatButton'> & {
32
32
  floatButtonInsetInlineEnd: number;
33
33
  };
34
34
  declare const prepareComponentToken: GetDefaultToken<'FloatButton'>;
35
- declare const _default: (prefixCls: vue882.Ref<string>, rootCls?: vue882.Ref<string | undefined>) => readonly [vue882.Ref<string, string>, vue882.ComputedRef<string | undefined>];
35
+ declare const _default: (prefixCls: vue869.Ref<string>, rootCls?: vue869.Ref<string | undefined>) => readonly [vue869.Ref<string, string>, vue869.ComputedRef<string | undefined>];
36
36
  //#endregion
37
37
  export { ComponentToken, FloatButtonToken, _default as default, prepareComponentToken };
@@ -1,6 +1,6 @@
1
1
  import { VueNode as VueNode$1 } from "../_util/type.js";
2
2
  import { ValidateStatus } from "./FormItem/index.js";
3
- import * as vue783 from "vue";
3
+ import * as vue164 from "vue";
4
4
  import { CSSProperties } from "vue";
5
5
 
6
6
  //#region src/form/ErrorList.d.ts
@@ -15,6 +15,6 @@ interface ErrorListProps {
15
15
  helpItemClassName?: string;
16
16
  helpItemStyle?: CSSProperties;
17
17
  }
18
- declare const ErrorList: vue783.DefineSetupFnComponent<ErrorListProps, {}, {}, ErrorListProps & {}, vue783.PublicProps>;
18
+ declare const ErrorList: vue164.DefineSetupFnComponent<ErrorListProps, {}, {}, ErrorListProps & {}, vue164.PublicProps>;
19
19
  //#endregion
20
20
  export { ErrorListProps, ErrorList as default };
@@ -5,10 +5,10 @@ import { ColProps } from "../grid/col.js";
5
5
  import "../grid/index.js";
6
6
  import { FormLabelAlign, ScrollFocusOptions } from "./interface.js";
7
7
  import { FormTooltipProps } from "./FormItemLabel.js";
8
- import { FieldData, InternalNamePath, NamePath, Rule, ValidateErrorEntity, ValidateMessages, ValidateOptions } from "./types.js";
8
+ import { FieldData, InternalNamePath, NamePath, RulesMap, ValidateErrorEntity, ValidateMessages, ValidateOptions } from "./types.js";
9
9
  import { FeedbackIcons } from "./FormItem/index.js";
10
10
  import { ComponentBaseProps, Variant } from "../config-provider/context.js";
11
- import * as vue793 from "vue";
11
+ import * as vue232 from "vue";
12
12
  import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
13
13
 
14
14
  //#region src/form/Form.d.ts
@@ -54,7 +54,7 @@ interface FormProps extends ComponentBaseProps, FormEmitsProps {
54
54
  variant?: Variant;
55
55
  validateMessages?: ValidateMessages;
56
56
  model?: Record<string, any>;
57
- rules?: Record<string, Rule[]>;
57
+ rules?: RulesMap;
58
58
  validateTrigger?: string | string[] | false;
59
59
  preserve?: boolean;
60
60
  clearOnDestroy?: boolean;
@@ -111,6 +111,6 @@ interface FormInstance {
111
111
  focusField: (fieldName: NamePath) => void;
112
112
  getFieldInstance: (name: NamePath) => any;
113
113
  }
114
- declare const InternalForm: vue793.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps, vue793.PublicProps>;
114
+ declare const InternalForm: vue232.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps, vue232.PublicProps>;
115
115
  //#endregion
116
116
  export { FormClassNamesType, FormEmits, FormEmitsProps, FormInstance, FormItemLayout, FormLayout, FormProps, FormSemanticClassNames, FormSemanticName, FormSemanticStyles, FormSlots, FormStylesType, RequiredMark, type ScrollFocusOptions, InternalForm as default };
@@ -5,7 +5,7 @@ import { FormItemInputProps } from "../FormItemInput.js";
5
5
  import { BaseFormItemProps, FeedbackIcons, FormItemProps, ValidateStatus } from "./index.js";
6
6
  import { ComponentBaseProps } from "../../config-provider/context.js";
7
7
  import { ReportMetaChange } from "../context.js";
8
- import * as vue987 from "vue";
8
+ import * as vue931 from "vue";
9
9
 
10
10
  //#region src/form/FormItem/ItemHolder.d.ts
11
11
  type ItemHolderProps = FormItemProps & {
@@ -16,7 +16,7 @@ type ItemHolderProps = FormItemProps & {
16
16
  isRequired?: boolean;
17
17
  onSubItemMetaChange: ReportMetaChange;
18
18
  };
19
- declare const ItemHolder: vue987.DefineSetupFnComponent<ItemHolderProps, {}, {}, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
19
+ declare const ItemHolder: vue931.DefineSetupFnComponent<ItemHolderProps, {}, {}, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
20
20
  noStyle?: boolean;
21
21
  id?: string;
22
22
  hasFeedback?: boolean | {
@@ -34,6 +34,6 @@ declare const ItemHolder: vue987.DefineSetupFnComponent<ItemHolderProps, {}, {},
34
34
  fieldId?: string;
35
35
  isRequired?: boolean;
36
36
  onSubItemMetaChange: ReportMetaChange;
37
- } & {}, vue987.PublicProps>;
37
+ } & {}, vue931.PublicProps>;
38
38
  //#endregion
39
39
  export { ItemHolderProps, ItemHolder as default };
@@ -1,6 +1,6 @@
1
1
  import { Meta, NamePath } from "../types.js";
2
2
  import { FeedbackIcons, ValidateStatus } from "./index.js";
3
- import * as vue768 from "vue";
3
+ import * as vue753 from "vue";
4
4
 
5
5
  //#region src/form/FormItem/StatusProvider.d.ts
6
6
  interface StatusProviderProps {
@@ -15,6 +15,6 @@ interface StatusProviderProps {
15
15
  noStyle?: boolean;
16
16
  name?: NamePath;
17
17
  }
18
- declare const StatusProvider: vue768.DefineSetupFnComponent<StatusProviderProps, {}, {}, StatusProviderProps & {}, vue768.PublicProps>;
18
+ declare const StatusProvider: vue753.DefineSetupFnComponent<StatusProviderProps, {}, {}, StatusProviderProps & {}, vue753.PublicProps>;
19
19
  //#endregion
20
20
  export { StatusProviderProps, StatusProvider as default };
@@ -3,7 +3,7 @@ import { NamePath, Rule, TriggerType } from "../types.js";
3
3
  import { FormItemLayout } from "../Form.js";
4
4
  import { FormItemInputProps } from "../FormItemInput.js";
5
5
  import { ComponentBaseProps } from "../../config-provider/context.js";
6
- import * as vue750 from "vue";
6
+ import * as vue844 from "vue";
7
7
  import { SlotsType } from "vue";
8
8
 
9
9
  //#region src/form/FormItem/index.d.ts
@@ -44,6 +44,6 @@ interface FormItemSlots {
44
44
  help?: () => any;
45
45
  }
46
46
  interface InternalFormItemProps extends FormItemProps, FormItemEmitsProps {}
47
- declare const InternalFormItem: vue750.DefineSetupFnComponent<InternalFormItemProps, FormItemEmits, SlotsType<FormItemSlots>, InternalFormItemProps, vue750.PublicProps>;
47
+ declare const InternalFormItem: vue844.DefineSetupFnComponent<InternalFormItemProps, FormItemEmits, SlotsType<FormItemSlots>, InternalFormItemProps, vue844.PublicProps>;
48
48
  //#endregion
49
49
  export { BaseFormItemProps, FeedbackIcons, FormItemEmits, FormItemEmitsProps, FormItemProps, FormItemSlots, ValidateStatus, InternalFormItem as default };
@@ -2,7 +2,7 @@ import { VueNode as VueNode$1 } from "../_util/type.js";
2
2
  import { ColProps } from "../grid/col.js";
3
3
  import "../grid/index.js";
4
4
  import { ValidateStatus } from "./FormItem/index.js";
5
- import * as vue652 from "vue";
5
+ import * as vue194 from "vue";
6
6
 
7
7
  //#region src/form/FormItemInput.d.ts
8
8
  interface FormItemInputMiscProps {
@@ -21,6 +21,6 @@ interface FormItemInputProps {
21
21
  fieldId?: string;
22
22
  label?: VueNode$1;
23
23
  }
24
- declare const FormItemInput: vue652.DefineSetupFnComponent<FormItemInputProps & FormItemInputMiscProps, {}, {}, FormItemInputProps & FormItemInputMiscProps & {}, vue652.PublicProps>;
24
+ declare const FormItemInput: vue194.DefineSetupFnComponent<FormItemInputProps & FormItemInputMiscProps, {}, {}, FormItemInputProps & FormItemInputMiscProps & {}, vue194.PublicProps>;
25
25
  //#endregion
26
26
  export { FormItemInputProps, FormItemInput as default };
@@ -4,7 +4,7 @@ import "../grid/index.js";
4
4
  import { TooltipProps } from "../tooltip/index.js";
5
5
  import { FormLabelAlign } from "./interface.js";
6
6
  import { RequiredMark } from "./Form.js";
7
- import * as vue702 from "vue";
7
+ import * as vue166 from "vue";
8
8
 
9
9
  //#region src/form/FormItemLabel.d.ts
10
10
  type FormTooltipProps = TooltipProps & {
@@ -27,12 +27,12 @@ interface FormItemLabelProps {
27
27
  tooltip?: FormItemTooltipType;
28
28
  vertical?: boolean;
29
29
  }
30
- declare const FormItemLabel: vue702.DefineSetupFnComponent<FormItemLabelProps & {
30
+ declare const FormItemLabel: vue166.DefineSetupFnComponent<FormItemLabelProps & {
31
31
  required?: boolean;
32
32
  prefixCls: string;
33
33
  }, {}, {}, FormItemLabelProps & {
34
34
  required?: boolean;
35
35
  prefixCls: string;
36
- } & {}, vue702.PublicProps>;
36
+ } & {}, vue166.PublicProps>;
37
37
  //#endregion
38
38
  export { ColPropsWithClass, FormItemLabelProps, FormItemTooltipType, FormTooltipProps, FormItemLabel as default };
@@ -2,11 +2,11 @@ import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSeman
2
2
  import "../_util/hooks/index.js";
3
3
  import { FormLabelAlign } from "./interface.js";
4
4
  import { ColPropsWithClass, FormTooltipProps } from "./FormItemLabel.js";
5
- import { InternalNamePath, Meta, NamePath, Rule, ValidateMessages } from "./types.js";
5
+ import { InternalNamePath, Meta, NamePath, Rule, RulesMap, ValidateMessages } from "./types.js";
6
6
  import { FormLayout, FormSemanticName, RequiredMark } from "./Form.js";
7
7
  import { FeedbackIcons, ValidateStatus } from "./FormItem/index.js";
8
8
  import { Variant } from "../config-provider/context.js";
9
- import * as vue704 from "vue";
9
+ import * as vue168 from "vue";
10
10
  import { Ref } from "vue";
11
11
  import { Key } from "@v-c/util/dist/type";
12
12
 
@@ -40,7 +40,7 @@ interface FormContextProps {
40
40
  requiredMark?: RequiredMark;
41
41
  feedbackIcons?: FeedbackIcons;
42
42
  model?: Record<string, any>;
43
- rules?: Record<string, Rule[]>;
43
+ rules?: RulesMap;
44
44
  validateTrigger?: string | string[] | false;
45
45
  validateMessages?: ValidateMessages;
46
46
  preserve?: boolean;
@@ -62,7 +62,7 @@ interface FormItemPrefixContextProps {
62
62
  status?: ValidateStatus;
63
63
  }
64
64
  declare function useFormItemPrefixContextProvider(value: Ref<FormItemPrefixContextProps>): void;
65
- declare const FormItemPrefixContextProvider: vue704.DefineSetupFnComponent<FormItemPrefixContextProps, {}, {}, FormItemPrefixContextProps & {}, vue704.PublicProps>;
65
+ declare const FormItemPrefixContextProvider: vue168.DefineSetupFnComponent<FormItemPrefixContextProps, {}, {}, FormItemPrefixContextProps & {}, vue168.PublicProps>;
66
66
  declare function useFormItemPrefixContext(): Ref<{
67
67
  prefixCls: string;
68
68
  }, {
@@ -71,7 +71,7 @@ declare function useFormItemPrefixContext(): Ref<{
71
71
  prefixCls: string;
72
72
  }>;
73
73
  declare function useVariantContextProvider(variant: Ref<Variant | undefined>): void;
74
- declare function useVariantContext(): Ref<"filled" | "outlined" | "borderless" | "underlined" | undefined, "filled" | "outlined" | "borderless" | "underlined" | undefined>;
74
+ declare function useVariantContext(): Ref<"outlined" | "borderless" | "filled" | "underlined" | undefined, "outlined" | "borderless" | "filled" | "underlined" | undefined>;
75
75
  interface FormItemStatusContextProps {
76
76
  isFormItemInput?: boolean;
77
77
  status?: ValidateStatus;
@@ -102,19 +102,19 @@ declare function useFormItemInputContext(): Ref<{
102
102
  /** `noStyle` Form Item Context. Used for error collection */
103
103
  type ReportMetaChange = (meta: Meta, uniqueKeys: Key[]) => void;
104
104
  declare function useNoStyleItemContextProvider(value: ReportMetaChange): void;
105
- declare const NoStyleItemContextProvider: vue704.DefineSetupFnComponent<{
105
+ declare const NoStyleItemContextProvider: vue168.DefineSetupFnComponent<{
106
106
  value: ReportMetaChange;
107
107
  }, {}, {}, {
108
108
  value: ReportMetaChange;
109
- } & {}, vue704.PublicProps>;
109
+ } & {}, vue168.PublicProps>;
110
110
  declare function useNoStyleItemContext(): ReportMetaChange | null;
111
- declare const NoFormStyle: vue704.DefineSetupFnComponent<{
111
+ declare const NoFormStyle: vue168.DefineSetupFnComponent<{
112
112
  override?: boolean;
113
113
  status?: boolean;
114
114
  }, {}, {}, {
115
115
  override?: boolean;
116
116
  status?: boolean;
117
- } & {}, vue704.PublicProps>;
117
+ } & {}, vue168.PublicProps>;
118
118
  interface FormItemProviderProps {
119
119
  fieldId: Ref<string | undefined>;
120
120
  triggerChange: () => void;
@@ -23,6 +23,12 @@ type FormHookInstance = FormInstance & ((instance: any) => void);
23
23
  * 1. Explicit: pass it as a template ref — `<Form :ref="form">`.
24
24
  * 2. By name: `useForm('login')` connects to `<Form name="login">`.
25
25
  * 3. Single/ordered fallback: unnamed instances connect to descendant Forms in declaration order.
26
+ *
27
+ * ⚠️ Do NOT destructure the returned value. The result is a lazy Proxy that
28
+ * resolves methods off the real instance on each access — destructuring
29
+ * (`const { validateFields } = useForm()`) snapshots the method before the
30
+ * Form mounts, capturing a no-op and losing connection to the instance.
31
+ * Always keep the whole reference: `const form = useForm()` then `form.xxx()`.
26
32
  */
27
33
  declare function useForm(name?: string): FormHookInstance;
28
34
  /**
@@ -27,6 +27,12 @@ function useFormHookRegistry() {
27
27
  * 1. Explicit: pass it as a template ref — `<Form :ref="form">`.
28
28
  * 2. By name: `useForm('login')` connects to `<Form name="login">`.
29
29
  * 3. Single/ordered fallback: unnamed instances connect to descendant Forms in declaration order.
30
+ *
31
+ * ⚠️ Do NOT destructure the returned value. The result is a lazy Proxy that
32
+ * resolves methods off the real instance on each access — destructuring
33
+ * (`const { validateFields } = useForm()`) snapshots the method before the
34
+ * Form mounts, capturing a no-op and losing connection to the instance.
35
+ * Always keep the whole reference: `const form = useForm()` then `form.xxx()`.
30
36
  */
31
37
  function useForm(name) {
32
38
  const instanceRef = shallowRef();
@@ -1,11 +1,11 @@
1
1
  import { ConfigProviderProps } from "../../config-provider/define.js";
2
2
  import { Variant } from "../../config-provider/context.js";
3
- import * as vue957 from "vue";
3
+ import * as vue863 from "vue";
4
4
  import { Ref } from "vue";
5
5
 
6
6
  //#region src/form/hooks/useVariant.d.ts
7
7
  type VariantComponents = keyof Pick<ConfigProviderProps, 'input' | 'inputNumber' | 'textArea' | 'mentions' | 'select' | 'cascader' | 'treeSelect' | 'datePicker' | 'timePicker' | 'rangePicker' | 'card'>;
8
- declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [vue957.ComputedRef<"filled" | "outlined" | "borderless" | "underlined">, vue957.ComputedRef<boolean>];
8
+ declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [vue863.ComputedRef<"outlined" | "borderless" | "filled" | "underlined">, vue863.ComputedRef<boolean>];
9
9
  declare const useVariants: typeof useVariant;
10
10
  //#endregion
11
11
  export { useVariant as default, useVariants };
@@ -1,4 +1,5 @@
1
+ import { Rule, RuleObject, RuleRender, RuleType } from "./types.js";
1
2
  import InternalForm, { FormEmits, FormInstance, FormProps, FormSlots } from "./Form.js";
2
3
  import InternalFormItem, { FormItemEmits, FormItemProps, FormItemSlots } from "./FormItem/index.js";
3
4
  import { FormHookInstance, useForm, useFormInstance } from "./hooks/useForm.js";
4
- export { type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, InternalForm as default, useForm, useFormInstance };
5
+ export { type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type Rule, type RuleObject, type RuleRender, type RuleType, InternalForm as default, useForm, useFormInstance };
@@ -1,16 +1,16 @@
1
- import * as vue974 from "vue";
1
+ import * as vue846 from "vue";
2
2
 
3
3
  //#region src/form/style/fallbackCmp.d.ts
4
4
  /**
5
5
  * Fallback of IE.
6
6
  * Safe to remove.
7
7
  */
8
- declare const _default: vue974.DefineComponent<vue974.ExtractPropTypes<{
8
+ declare const _default: vue846.DefineComponent<vue846.ExtractPropTypes<{
9
9
  prefixCls: StringConstructor;
10
10
  rootCls: StringConstructor;
11
- }>, () => null, {}, {}, {}, vue974.ComponentOptionsMixin, vue974.ComponentOptionsMixin, {}, string, vue974.PublicProps, Readonly<vue974.ExtractPropTypes<{
11
+ }>, () => null, {}, {}, {}, vue846.ComponentOptionsMixin, vue846.ComponentOptionsMixin, {}, string, vue846.PublicProps, Readonly<vue846.ExtractPropTypes<{
12
12
  prefixCls: StringConstructor;
13
13
  rootCls: StringConstructor;
14
- }>> & Readonly<{}>, {}, {}, {}, {}, string, vue974.ComponentProvideOptions, true, {}, any>;
14
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, vue846.ComponentProvideOptions, true, {}, any>;
15
15
  //#endregion
16
16
  export { _default as default };