antdv-next 1.4.5 → 1.4.6

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 (835) hide show
  1. package/dist/_util/ActionButton.d.ts +1 -1
  2. package/dist/_util/PurePanel.d.ts +0 -1
  3. package/dist/_util/PurePanel.js +6 -5
  4. package/dist/_util/aria-data-attrs.d.ts +0 -1
  5. package/dist/_util/colors.d.ts +1 -0
  6. package/dist/_util/convertToTooltipProps.d.ts +0 -1
  7. package/dist/_util/gapSize.d.ts +0 -1
  8. package/dist/_util/getAllowClear.d.ts +0 -1
  9. package/dist/_util/getScroll.d.ts +2 -1
  10. package/dist/_util/getScroll.js +4 -1
  11. package/dist/_util/hooks/useClosable.d.ts +0 -1
  12. package/dist/_util/hooks/useMergeSemantic.d.ts +2 -3
  13. package/dist/_util/hooks/useMergedMask.d.ts +0 -1
  14. package/dist/_util/hooks/useOrientation.d.ts +0 -1
  15. package/dist/_util/hooks/usePatchElement.d.ts +0 -1
  16. package/dist/_util/hooks/usePatchElement.js +2 -1
  17. package/dist/_util/hooks/useResponsive.d.ts +0 -1
  18. package/dist/_util/hooks/useZIndex.d.ts +0 -1
  19. package/dist/_util/motion.d.ts +0 -1
  20. package/dist/_util/placements.d.ts +0 -1
  21. package/dist/_util/scrollTo.js +2 -2
  22. package/dist/_util/statusUtils.d.ts +1 -2
  23. package/dist/_util/styleChecker.d.ts +0 -1
  24. package/dist/_util/tools.d.ts +1 -2
  25. package/dist/_util/transKeys.d.ts +0 -1
  26. package/dist/_util/type.d.ts +1 -2
  27. package/dist/_util/vnode/index.d.ts +0 -1
  28. package/dist/_util/vueNode.d.ts +3 -8
  29. package/dist/_util/warning.d.ts +0 -2
  30. package/dist/_util/wave/WaveEffect.d.ts +0 -1
  31. package/dist/_util/wave/index.d.ts +0 -1
  32. package/dist/_util/wave/interface.d.ts +1 -0
  33. package/dist/_util/wave/style.d.ts +1 -0
  34. package/dist/_util/wave/useWave.d.ts +0 -1
  35. package/dist/_util/zindexContext.d.ts +0 -1
  36. package/dist/affix/index.d.ts +0 -1
  37. package/dist/affix/style/index.d.ts +1 -0
  38. package/dist/alert/Alert.d.ts +1 -1
  39. package/dist/alert/style/index.d.ts +1 -1
  40. package/dist/anchor/Anchor.d.ts +1 -1
  41. package/dist/anchor/Anchor.js +2 -1
  42. package/dist/anchor/AnchorLink.d.ts +0 -1
  43. package/dist/anchor/context.d.ts +0 -1
  44. package/dist/anchor/style/index.d.ts +1 -0
  45. package/dist/antd-with-locales.esm.js +10943 -11094
  46. package/dist/antd-with-locales.js +95 -85
  47. package/dist/antd.css +1 -1
  48. package/dist/antd.esm.js +8724 -8872
  49. package/dist/antd.js +87 -77
  50. package/dist/app/App.d.ts +0 -1
  51. package/dist/app/context.d.ts +1 -0
  52. package/dist/app/index.d.ts +0 -1
  53. package/dist/app/style/index.d.ts +1 -0
  54. package/dist/app/useApp.d.ts +0 -1
  55. package/dist/auto-complete/index.d.ts +1 -1
  56. package/dist/avatar/Avatar.d.ts +0 -1
  57. package/dist/avatar/AvatarContext.d.ts +2 -3
  58. package/dist/avatar/AvatarGroup.d.ts +0 -1
  59. package/dist/avatar/index.d.ts +0 -1
  60. package/dist/avatar/style/index.d.ts +1 -0
  61. package/dist/badge/Ribbon.d.ts +1 -1
  62. package/dist/badge/ScrollNumber.d.ts +0 -1
  63. package/dist/badge/SingleNumber.js +2 -1
  64. package/dist/badge/index.d.ts +2 -1
  65. package/dist/badge/style/index.d.ts +1 -0
  66. package/dist/badge/style/index.js +2 -1
  67. package/dist/badge/style/ribbon.js +2 -1
  68. package/dist/border-beam/BorderBeam.d.ts +0 -1
  69. package/dist/border-beam/hooks/useBorderSize.d.ts +0 -1
  70. package/dist/breadcrumb/Breadcrumb.d.ts +2 -1
  71. package/dist/breadcrumb/BreadcrumbContext.d.ts +1 -1
  72. package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -2
  73. package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -1
  74. package/dist/breadcrumb/style/index.d.ts +1 -0
  75. package/dist/breadcrumb/style/index.js +14 -4
  76. package/dist/breadcrumb/useItemRender.d.ts +0 -1
  77. package/dist/button/Button.d.ts +3 -2
  78. package/dist/button/buttonHelper.d.ts +1 -2
  79. package/dist/button/style/group.d.ts +1 -1
  80. package/dist/button/style/index.d.ts +0 -1
  81. package/dist/button/style/token.d.ts +3 -3
  82. package/dist/button/style/variant.d.ts +0 -1
  83. package/dist/button/style/variant.js +2 -2
  84. package/dist/calendar/Header.d.ts +0 -1
  85. package/dist/calendar/generateCalendar.d.ts +2 -1
  86. package/dist/calendar/index.d.ts +0 -1
  87. package/dist/calendar/style/index.d.ts +2 -1
  88. package/dist/calendar/style/index.js +3 -2
  89. package/dist/card/Card.d.ts +1 -1
  90. package/dist/card/CardMeta.d.ts +1 -1
  91. package/dist/card/style/index.d.ts +1 -0
  92. package/dist/carousel/index.d.ts +0 -1
  93. package/dist/carousel/index.js +4 -1
  94. package/dist/carousel/style/index.d.ts +1 -0
  95. package/dist/cascader/Panel.d.ts +0 -1
  96. package/dist/cascader/hooks/useBase.d.ts +0 -1
  97. package/dist/cascader/hooks/useIcons.d.ts +1 -7
  98. package/dist/cascader/index.d.ts +1 -1
  99. package/dist/cascader/style/columns.d.ts +1 -1
  100. package/dist/cascader/style/index.d.ts +1 -1
  101. package/dist/checkbox/Checkbox.d.ts +1 -1
  102. package/dist/checkbox/Group.d.ts +0 -1
  103. package/dist/checkbox/GroupContext.d.ts +0 -1
  104. package/dist/checkbox/style/index.d.ts +1 -0
  105. package/dist/checkbox/style/index.js +3 -2
  106. package/dist/collapse/Collapse.d.ts +1 -1
  107. package/dist/collapse/CollapsePanel.d.ts +0 -1
  108. package/dist/collapse/style/index.d.ts +1 -1
  109. package/dist/collapse/style/index.js +8 -1
  110. package/dist/color-picker/ColorPicker.d.ts +0 -1
  111. package/dist/color-picker/ColorPickerPanel.d.ts +0 -1
  112. package/dist/color-picker/color.d.ts +0 -1
  113. package/dist/color-picker/components/ColorAlphaInput.d.ts +0 -1
  114. package/dist/color-picker/components/ColorClear.d.ts +0 -1
  115. package/dist/color-picker/components/ColorHexInput.d.ts +0 -1
  116. package/dist/color-picker/components/ColorHexInput.js +2 -1
  117. package/dist/color-picker/components/ColorHsbInput.d.ts +0 -1
  118. package/dist/color-picker/components/ColorInput.d.ts +0 -1
  119. package/dist/color-picker/components/ColorPresets.d.ts +0 -1
  120. package/dist/color-picker/components/ColorRgbInput.d.ts +0 -1
  121. package/dist/color-picker/components/ColorSlider.d.ts +0 -1
  122. package/dist/color-picker/components/ColorTrigger.d.ts +0 -1
  123. package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +0 -1
  124. package/dist/color-picker/context.d.ts +0 -1
  125. package/dist/color-picker/hooks/useModeColor.d.ts +0 -1
  126. package/dist/color-picker/index.d.ts +0 -1
  127. package/dist/color-picker/interface.d.ts +1 -1
  128. package/dist/color-picker/style/color-block.d.ts +0 -1
  129. package/dist/color-picker/style/index.d.ts +1 -0
  130. package/dist/color-picker/style/index.js +7 -6
  131. package/dist/color-picker/style/input.d.ts +1 -1
  132. package/dist/color-picker/style/picker.d.ts +1 -1
  133. package/dist/color-picker/style/presets.d.ts +1 -1
  134. package/dist/color-picker/style/slider.d.ts +1 -1
  135. package/dist/color-picker/util.d.ts +0 -1
  136. package/dist/components.d.ts +14 -0
  137. package/dist/config-provider/DisabledContext.d.ts +0 -1
  138. package/dist/config-provider/SizeContext.d.ts +0 -1
  139. package/dist/config-provider/SizeContext.js +2 -1
  140. package/dist/config-provider/context.d.ts +19 -4
  141. package/dist/config-provider/context.js +2 -1
  142. package/dist/config-provider/defaultRenderEmpty.d.ts +0 -1
  143. package/dist/config-provider/define.d.ts +1 -1
  144. package/dist/config-provider/hooks/useCSSVarCls.d.ts +0 -1
  145. package/dist/config-provider/hooks/useConfig.d.ts +0 -1
  146. package/dist/config-provider/hooks/useSize.d.ts +0 -1
  147. package/dist/config-provider/hooks/useTheme.d.ts +0 -1
  148. package/dist/config-provider/hooks/useThemeKey.d.ts +0 -1
  149. package/dist/config-provider/index.d.ts +0 -1
  150. package/dist/config-provider/style/index.d.ts +1 -0
  151. package/dist/date-picker/PickerButton.d.ts +1 -0
  152. package/dist/date-picker/generatePicker/SuffixIcon.d.ts +0 -1
  153. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +0 -1
  154. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +0 -1
  155. package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -1
  156. package/dist/date-picker/generatePicker/index.d.ts +0 -1
  157. package/dist/date-picker/generatePicker/interface.d.ts +3 -2
  158. package/dist/date-picker/generatePicker/useComponents.d.ts +2 -2
  159. package/dist/date-picker/hooks/useMergedPickerSemantic.d.ts +0 -1
  160. package/dist/date-picker/index.d.ts +0 -1
  161. package/dist/date-picker/locale/ar_EG.d.ts +1 -1
  162. package/dist/date-picker/locale/az_AZ.d.ts +1 -1
  163. package/dist/date-picker/locale/bg_BG.d.ts +1 -1
  164. package/dist/date-picker/locale/bn_BD.d.ts +1 -1
  165. package/dist/date-picker/locale/by_BY.d.ts +1 -1
  166. package/dist/date-picker/locale/ca_ES.d.ts +1 -1
  167. package/dist/date-picker/locale/cs_CZ.d.ts +1 -1
  168. package/dist/date-picker/locale/da_DK.d.ts +1 -1
  169. package/dist/date-picker/locale/de_DE.d.ts +1 -1
  170. package/dist/date-picker/locale/el_GR.d.ts +1 -1
  171. package/dist/date-picker/locale/en_GB.d.ts +1 -1
  172. package/dist/date-picker/locale/en_US.d.ts +1 -1
  173. package/dist/date-picker/locale/es_ES.d.ts +1 -1
  174. package/dist/date-picker/locale/es_US.d.ts +1 -1
  175. package/dist/date-picker/locale/et_EE.d.ts +1 -1
  176. package/dist/date-picker/locale/eu_ES.d.ts +1 -1
  177. package/dist/date-picker/locale/fa_IR.d.ts +1 -1
  178. package/dist/date-picker/locale/fi_FI.d.ts +1 -1
  179. package/dist/date-picker/locale/fr_BE.d.ts +1 -1
  180. package/dist/date-picker/locale/fr_CA.d.ts +1 -1
  181. package/dist/date-picker/locale/fr_FR.d.ts +1 -1
  182. package/dist/date-picker/locale/ga_IE.d.ts +1 -1
  183. package/dist/date-picker/locale/gl_ES.d.ts +1 -1
  184. package/dist/date-picker/locale/he_IL.d.ts +1 -1
  185. package/dist/date-picker/locale/hi_IN.d.ts +1 -1
  186. package/dist/date-picker/locale/hr_HR.d.ts +1 -1
  187. package/dist/date-picker/locale/hu_HU.d.ts +1 -1
  188. package/dist/date-picker/locale/id_ID.d.ts +1 -1
  189. package/dist/date-picker/locale/is_IS.d.ts +1 -1
  190. package/dist/date-picker/locale/it_IT.d.ts +1 -1
  191. package/dist/date-picker/locale/ja_JP.d.ts +1 -1
  192. package/dist/date-picker/locale/ka_GE.d.ts +1 -1
  193. package/dist/date-picker/locale/kk_KZ.d.ts +1 -1
  194. package/dist/date-picker/locale/km_KH.d.ts +1 -1
  195. package/dist/date-picker/locale/kmr_IQ.d.ts +1 -1
  196. package/dist/date-picker/locale/kn_IN.d.ts +1 -1
  197. package/dist/date-picker/locale/ko_KR.d.ts +1 -1
  198. package/dist/date-picker/locale/lt_LT.d.ts +1 -1
  199. package/dist/date-picker/locale/lv_LV.d.ts +1 -1
  200. package/dist/date-picker/locale/mk_MK.d.ts +1 -1
  201. package/dist/date-picker/locale/ml_IN.d.ts +1 -1
  202. package/dist/date-picker/locale/mn_MN.d.ts +1 -1
  203. package/dist/date-picker/locale/mr_IN.d.ts +1 -1
  204. package/dist/date-picker/locale/ms_MY.d.ts +1 -1
  205. package/dist/date-picker/locale/my_MM.d.ts +1 -1
  206. package/dist/date-picker/locale/nb_NO.d.ts +1 -1
  207. package/dist/date-picker/locale/nl_BE.d.ts +1 -1
  208. package/dist/date-picker/locale/nl_NL.d.ts +1 -1
  209. package/dist/date-picker/locale/pl_PL.d.ts +1 -1
  210. package/dist/date-picker/locale/pt_BR.d.ts +1 -1
  211. package/dist/date-picker/locale/pt_PT.d.ts +1 -1
  212. package/dist/date-picker/locale/ro_RO.d.ts +1 -1
  213. package/dist/date-picker/locale/ru_RU.d.ts +1 -1
  214. package/dist/date-picker/locale/si_LK.d.ts +1 -1
  215. package/dist/date-picker/locale/sk_SK.d.ts +1 -1
  216. package/dist/date-picker/locale/sl_SI.d.ts +1 -1
  217. package/dist/date-picker/locale/sr_RS.d.ts +1 -1
  218. package/dist/date-picker/locale/sv_SE.d.ts +1 -1
  219. package/dist/date-picker/locale/ta_IN.d.ts +1 -1
  220. package/dist/date-picker/locale/th_TH.d.ts +1 -1
  221. package/dist/date-picker/locale/tk_TK.d.ts +1 -1
  222. package/dist/date-picker/locale/tr_TR.d.ts +1 -1
  223. package/dist/date-picker/locale/uk_UA.d.ts +1 -1
  224. package/dist/date-picker/locale/ur_PK.d.ts +1 -1
  225. package/dist/date-picker/locale/uz_UZ.d.ts +1 -1
  226. package/dist/date-picker/locale/vi_VN.d.ts +1 -1
  227. package/dist/date-picker/locale/zh_CN.d.ts +1 -1
  228. package/dist/date-picker/locale/zh_TW.d.ts +1 -1
  229. package/dist/date-picker/style/index.d.ts +0 -1
  230. package/dist/date-picker/style/index.js +6 -0
  231. package/dist/date-picker/style/multiple.d.ts +1 -0
  232. package/dist/date-picker/style/panel.d.ts +1 -1
  233. package/dist/date-picker/style/token.d.ts +0 -1
  234. package/dist/date-picker/style/util.d.ts +0 -1
  235. package/dist/date-picker/style/variants.d.ts +0 -1
  236. package/dist/date-picker/util.d.ts +5 -5
  237. package/dist/descriptions/Cell.d.ts +0 -1
  238. package/dist/descriptions/DescriptionsContext.d.ts +0 -1
  239. package/dist/descriptions/Item.d.ts +1 -2
  240. package/dist/descriptions/Row.d.ts +0 -1
  241. package/dist/descriptions/constant.d.ts +0 -1
  242. package/dist/descriptions/hooks/useItems.d.ts +4 -5
  243. package/dist/descriptions/hooks/useRow.d.ts +0 -1
  244. package/dist/descriptions/index.d.ts +1 -1
  245. package/dist/descriptions/style/index.d.ts +1 -0
  246. package/dist/descriptions/style/index.js +2 -1
  247. package/dist/divider/index.d.ts +1 -1
  248. package/dist/divider/style/index.d.ts +1 -1
  249. package/dist/drawer/DrawerPanel.d.ts +1 -1
  250. package/dist/drawer/index.d.ts +1 -1
  251. package/dist/drawer/style/index.d.ts +1 -0
  252. package/dist/drawer/style/motion.d.ts +1 -1
  253. package/dist/drawer/useFocusable.d.ts +0 -1
  254. package/dist/dropdown/dropdown.d.ts +1 -1
  255. package/dist/dropdown/index.d.ts +0 -1
  256. package/dist/dropdown/style/index.d.ts +1 -1
  257. package/dist/dropdown/style/status.d.ts +1 -1
  258. package/dist/empty/index.d.ts +1 -1
  259. package/dist/empty/style/index.js +3 -2
  260. package/dist/flex/index.d.ts +0 -1
  261. package/dist/flex/interface.d.ts +0 -1
  262. package/dist/flex/style/index.d.ts +1 -0
  263. package/dist/flex/utils.d.ts +0 -1
  264. package/dist/float-button/BackTop.d.ts +0 -1
  265. package/dist/float-button/BackTop.js +2 -1
  266. package/dist/float-button/FloatButton.d.ts +2 -1
  267. package/dist/float-button/FloatButtonGroup.d.ts +1 -1
  268. package/dist/float-button/PurePanel.d.ts +0 -1
  269. package/dist/float-button/context.d.ts +0 -1
  270. package/dist/float-button/style/button.d.ts +0 -1
  271. package/dist/float-button/style/group.d.ts +0 -1
  272. package/dist/float-button/style/index.d.ts +1 -0
  273. package/dist/form/ErrorList.d.ts +0 -1
  274. package/dist/form/Form.d.ts +2 -1
  275. package/dist/form/Form.js +18 -9
  276. package/dist/form/FormItem/ItemHolder.d.ts +0 -1
  277. package/dist/form/FormItem/StatusProvider.d.ts +0 -1
  278. package/dist/form/FormItem/index.d.ts +1 -2
  279. package/dist/form/FormItemInput.d.ts +1 -1
  280. package/dist/form/FormItemLabel.d.ts +1 -1
  281. package/dist/form/context.d.ts +2 -2
  282. package/dist/form/hooks/useForm.d.ts +0 -1
  283. package/dist/form/hooks/useVariant.d.ts +1 -2
  284. package/dist/form/interface.d.ts +0 -1
  285. package/dist/form/namePathType.d.ts +1 -1
  286. package/dist/form/style/explain.d.ts +1 -1
  287. package/dist/form/style/fallbackCmp.js +2 -1
  288. package/dist/form/style/index.d.ts +1 -1
  289. package/dist/form/types.d.ts +3 -3
  290. package/dist/form/util.d.ts +0 -1
  291. package/dist/form/utils/NameMap.d.ts +0 -1
  292. package/dist/form/utils/asyncUtil.d.ts +0 -1
  293. package/dist/form/utils/typeUtil.d.ts +0 -1
  294. package/dist/form/utils/validateUtil.d.ts +0 -1
  295. package/dist/form/utils/valueUtil.d.ts +0 -1
  296. package/dist/form/validateMessagesContext.d.ts +0 -1
  297. package/dist/grid/RowContext.d.ts +0 -1
  298. package/dist/grid/col.d.ts +0 -1
  299. package/dist/grid/hooks/useBreakpoint.d.ts +0 -1
  300. package/dist/grid/hooks/useGutter.d.ts +0 -1
  301. package/dist/grid/index.d.ts +0 -1
  302. package/dist/grid/row.d.ts +1 -2
  303. package/dist/grid/style/index.d.ts +1 -0
  304. package/dist/image/PreviewGroup.d.ts +3 -2
  305. package/dist/image/hooks/useMergedPreviewConfig.d.ts +0 -1
  306. package/dist/image/hooks/usePreviewConfig.d.ts +7 -8
  307. package/dist/image/index.d.ts +4 -2
  308. package/dist/image/style/index.d.ts +1 -1
  309. package/dist/index.d.ts +1 -1
  310. package/dist/input/Group.d.ts +0 -1
  311. package/dist/input/Input.d.ts +1 -1
  312. package/dist/input/OTP/OTPInput.d.ts +0 -1
  313. package/dist/input/OTP/OTPInput.js +3 -3
  314. package/dist/input/OTP/index.d.ts +1 -1
  315. package/dist/input/OTP/index.js +4 -2
  316. package/dist/input/Password.d.ts +0 -1
  317. package/dist/input/Search.d.ts +1 -1
  318. package/dist/input/TextArea.d.ts +1 -1
  319. package/dist/input/hooks/useRemovePasswordTimeout.d.ts +0 -1
  320. package/dist/input/index.d.ts +0 -1
  321. package/dist/input/style/index.d.ts +1 -1
  322. package/dist/input/style/otp.js +2 -1
  323. package/dist/input/style/search.js +2 -1
  324. package/dist/input/style/textarea.d.ts +0 -1
  325. package/dist/input/style/textarea.js +3 -1
  326. package/dist/input/style/token.d.ts +1 -0
  327. package/dist/input/style/variants.d.ts +1 -1
  328. package/dist/input-number/index.d.ts +1 -1
  329. package/dist/input-number/style/index.d.ts +0 -1
  330. package/dist/input-number/style/token.d.ts +1 -0
  331. package/dist/layout/Sider.d.ts +1 -1
  332. package/dist/layout/hooks/useHasSider.d.ts +0 -1
  333. package/dist/layout/index.d.ts +0 -1
  334. package/dist/layout/layout.d.ts +0 -1
  335. package/dist/layout/style/index.d.ts +1 -1
  336. package/dist/locale/ar_EG.d.ts +0 -1
  337. package/dist/locale/az_AZ.d.ts +0 -1
  338. package/dist/locale/bg_BG.d.ts +0 -1
  339. package/dist/locale/bn_BD.d.ts +0 -1
  340. package/dist/locale/by_BY.d.ts +0 -1
  341. package/dist/locale/ca_ES.d.ts +0 -1
  342. package/dist/locale/cs_CZ.d.ts +0 -1
  343. package/dist/locale/da_DK.d.ts +0 -1
  344. package/dist/locale/de_DE.d.ts +0 -1
  345. package/dist/locale/el_GR.d.ts +0 -1
  346. package/dist/locale/en_GB.d.ts +0 -1
  347. package/dist/locale/en_US.d.ts +0 -1
  348. package/dist/locale/es_ES.d.ts +0 -1
  349. package/dist/locale/es_US.d.ts +0 -1
  350. package/dist/locale/et_EE.d.ts +0 -1
  351. package/dist/locale/eu_ES.d.ts +0 -1
  352. package/dist/locale/fa_IR.d.ts +0 -1
  353. package/dist/locale/fi_FI.d.ts +0 -1
  354. package/dist/locale/fr_BE.d.ts +0 -1
  355. package/dist/locale/fr_CA.d.ts +0 -1
  356. package/dist/locale/fr_FR.d.ts +0 -1
  357. package/dist/locale/ga_IE.d.ts +0 -1
  358. package/dist/locale/gl_ES.d.ts +0 -1
  359. package/dist/locale/he_IL.d.ts +0 -1
  360. package/dist/locale/hi_IN.d.ts +0 -1
  361. package/dist/locale/hr_HR.d.ts +0 -1
  362. package/dist/locale/hu_HU.d.ts +0 -1
  363. package/dist/locale/hy_AM.d.ts +0 -1
  364. package/dist/locale/id_ID.d.ts +0 -1
  365. package/dist/locale/index.d.ts +5 -1
  366. package/dist/locale/is_IS.d.ts +0 -1
  367. package/dist/locale/it_IT.d.ts +0 -1
  368. package/dist/locale/ja_JP.d.ts +0 -1
  369. package/dist/locale/ka_GE.d.ts +0 -1
  370. package/dist/locale/kk_KZ.d.ts +0 -1
  371. package/dist/locale/km_KH.d.ts +0 -1
  372. package/dist/locale/kmr_IQ.d.ts +0 -1
  373. package/dist/locale/kn_IN.d.ts +0 -1
  374. package/dist/locale/ko_KR.d.ts +0 -1
  375. package/dist/locale/ku_IQ.d.ts +0 -1
  376. package/dist/locale/lt_LT.d.ts +0 -1
  377. package/dist/locale/lv_LV.d.ts +0 -1
  378. package/dist/locale/mk_MK.d.ts +0 -1
  379. package/dist/locale/ml_IN.d.ts +0 -1
  380. package/dist/locale/mn_MN.d.ts +0 -1
  381. package/dist/locale/mr_IN.d.ts +0 -1
  382. package/dist/locale/ms_MY.d.ts +0 -1
  383. package/dist/locale/my_MM.d.ts +0 -1
  384. package/dist/locale/nb_NO.d.ts +0 -1
  385. package/dist/locale/ne_NP.d.ts +0 -1
  386. package/dist/locale/nl_BE.d.ts +0 -1
  387. package/dist/locale/nl_NL.d.ts +0 -1
  388. package/dist/locale/pl_PL.d.ts +0 -1
  389. package/dist/locale/pt_BR.d.ts +0 -1
  390. package/dist/locale/pt_PT.d.ts +0 -1
  391. package/dist/locale/ro_RO.d.ts +0 -1
  392. package/dist/locale/ru_RU.d.ts +0 -1
  393. package/dist/locale/si_LK.d.ts +0 -1
  394. package/dist/locale/sk_SK.d.ts +0 -1
  395. package/dist/locale/sl_SI.d.ts +0 -1
  396. package/dist/locale/sr_RS.d.ts +0 -1
  397. package/dist/locale/sv_SE.d.ts +0 -1
  398. package/dist/locale/ta_IN.d.ts +0 -1
  399. package/dist/locale/th_TH.d.ts +0 -1
  400. package/dist/locale/tk_TK.d.ts +0 -1
  401. package/dist/locale/tr_TR.d.ts +0 -1
  402. package/dist/locale/uk_UA.d.ts +0 -1
  403. package/dist/locale/ur_PK.d.ts +0 -1
  404. package/dist/locale/useLocale.d.ts +0 -1
  405. package/dist/locale/uz_UZ.d.ts +0 -1
  406. package/dist/locale/vi_VN.d.ts +0 -1
  407. package/dist/locale/zh_CN.d.ts +0 -1
  408. package/dist/locale/zh_HK.d.ts +0 -1
  409. package/dist/locale/zh_TW.d.ts +0 -1
  410. package/dist/masonry/Masonry.d.ts +2 -1
  411. package/dist/masonry/MasonryItem.d.ts +0 -1
  412. package/dist/masonry/hooks/usePositions.d.ts +0 -1
  413. package/dist/masonry/hooks/useRefs.d.ts +0 -1
  414. package/dist/masonry/index.d.ts +0 -1
  415. package/dist/masonry/style/index.d.ts +1 -1
  416. package/dist/mentions/index.d.ts +1 -1
  417. package/dist/mentions/index.js +4 -0
  418. package/dist/mentions/style/index.d.ts +1 -0
  419. package/dist/menu/MenuContext.d.ts +0 -1
  420. package/dist/menu/MenuItem.d.ts +0 -1
  421. package/dist/menu/MenuItemGroup.d.ts +0 -1
  422. package/dist/menu/OverrideContext.d.ts +0 -1
  423. package/dist/menu/OverrideContext.js +3 -2
  424. package/dist/menu/SubMenu.d.ts +0 -1
  425. package/dist/menu/index.d.ts +0 -1
  426. package/dist/menu/interface.d.ts +1 -2
  427. package/dist/menu/menu.d.ts +0 -1
  428. package/dist/menu/style/horizontal.d.ts +1 -1
  429. package/dist/menu/style/index.d.ts +1 -1
  430. package/dist/menu/style/rtl.d.ts +1 -1
  431. package/dist/menu/style/theme.d.ts +0 -1
  432. package/dist/menu/style/vertical.d.ts +1 -0
  433. package/dist/message/PureList.d.ts +0 -1
  434. package/dist/message/PurePanel.d.ts +0 -1
  435. package/dist/message/index.d.ts +0 -1
  436. package/dist/message/interface.d.ts +1 -3
  437. package/dist/message/style/index.d.ts +0 -1
  438. package/dist/message/useMessage.d.ts +0 -1
  439. package/dist/message/util.d.ts +0 -1
  440. package/dist/modal/ConfirmDialog.d.ts +0 -1
  441. package/dist/modal/Modal.d.ts +0 -1
  442. package/dist/modal/PurePanel.d.ts +0 -1
  443. package/dist/modal/components/ConfirmCancelBtn.d.ts +0 -1
  444. package/dist/modal/components/ConfirmOkBtn.d.ts +0 -1
  445. package/dist/modal/components/NormalCancelBtn.d.ts +0 -1
  446. package/dist/modal/components/NormalOkBtn.d.ts +0 -1
  447. package/dist/modal/confirm.d.ts +1 -4
  448. package/dist/modal/context.d.ts +0 -1
  449. package/dist/modal/index.d.ts +0 -1
  450. package/dist/modal/interface.d.ts +2 -1
  451. package/dist/modal/locale.d.ts +0 -1
  452. package/dist/modal/shared.d.ts +0 -1
  453. package/dist/modal/style/confirm.js +2 -1
  454. package/dist/modal/style/index.d.ts +0 -1
  455. package/dist/modal/useModal/HookModal.d.ts +0 -1
  456. package/dist/modal/useModal/index.d.ts +0 -1
  457. package/dist/modal/useModal/types.d.ts +0 -1
  458. package/dist/notification/PureList.d.ts +0 -1
  459. package/dist/notification/PurePanel.d.ts +1 -1
  460. package/dist/notification/index.d.ts +0 -1
  461. package/dist/notification/interface.d.ts +1 -1
  462. package/dist/notification/style/index.d.ts +2 -1
  463. package/dist/notification/style/notification.d.ts +1 -1
  464. package/dist/notification/style/placement.d.ts +1 -1
  465. package/dist/notification/useNotification.d.ts +0 -1
  466. package/dist/notification/util.d.ts +0 -1
  467. package/dist/package.js +1 -1
  468. package/dist/pagination/Pagination.d.ts +0 -1
  469. package/dist/pagination/index.d.ts +0 -1
  470. package/dist/pagination/interface.d.ts +1 -1
  471. package/dist/pagination/style/bordered.js +2 -1
  472. package/dist/pagination/style/index.d.ts +1 -0
  473. package/dist/pagination/useShowSizeChanger.d.ts +0 -1
  474. package/dist/popconfirm/PurePanel.d.ts +0 -1
  475. package/dist/popconfirm/index.d.ts +2 -1
  476. package/dist/popconfirm/style/index.d.ts +1 -0
  477. package/dist/popover/PurePanel.d.ts +0 -1
  478. package/dist/popover/index.d.ts +1 -1
  479. package/dist/popover/style/index.d.ts +1 -0
  480. package/dist/progress/Circle.d.ts +0 -1
  481. package/dist/progress/Line.d.ts +0 -1
  482. package/dist/progress/Steps.d.ts +0 -1
  483. package/dist/progress/progress.d.ts +1 -1
  484. package/dist/progress/style/index.d.ts +1 -0
  485. package/dist/progress/utils.d.ts +3 -12
  486. package/dist/qrcode/QrcodeStatus.d.ts +0 -1
  487. package/dist/qrcode/QrcodeStatus.js +8 -6
  488. package/dist/qrcode/index.d.ts +0 -1
  489. package/dist/qrcode/interface.d.ts +1 -1
  490. package/dist/qrcode/style/index.d.ts +1 -0
  491. package/dist/qrcode/style/index.js +2 -1
  492. package/dist/radio/context.d.ts +0 -1
  493. package/dist/radio/group.d.ts +0 -1
  494. package/dist/radio/index.d.ts +2 -1
  495. package/dist/radio/interface.d.ts +1 -1
  496. package/dist/radio/radio.d.ts +0 -1
  497. package/dist/radio/radioButton.d.ts +0 -1
  498. package/dist/radio/style/index.d.ts +1 -0
  499. package/dist/rate/index.d.ts +0 -1
  500. package/dist/rate/style/index.d.ts +1 -1
  501. package/dist/rate/style/index.js +2 -1
  502. package/dist/result/index.d.ts +1 -1
  503. package/dist/result/style/index.d.ts +1 -1
  504. package/dist/result/style/index.js +3 -2
  505. package/dist/segmented/index.d.ts +1 -1
  506. package/dist/segmented/style/index.d.ts +1 -0
  507. package/dist/segmented/style/index.js +8 -2
  508. package/dist/select/index.d.ts +1 -1
  509. package/dist/select/mergedBuiltinPlacements.d.ts +0 -1
  510. package/dist/select/style/dropdown.d.ts +1 -0
  511. package/dist/select/style/index.d.ts +0 -1
  512. package/dist/select/style/index.js +21 -8
  513. package/dist/select/style/select-input-customize.d.ts +0 -1
  514. package/dist/select/style/select-input-multiple.d.ts +0 -1
  515. package/dist/select/style/select-input-multiple.js +2 -2
  516. package/dist/select/style/select-input.d.ts +0 -1
  517. package/dist/select/style/select-input.js +2 -1
  518. package/dist/select/style/token.d.ts +1 -1
  519. package/dist/select/useIcons.d.ts +2 -19
  520. package/dist/select/useShowArrow.d.ts +0 -1
  521. package/dist/skeleton/Avatar.d.ts +0 -1
  522. package/dist/skeleton/Button.d.ts +0 -1
  523. package/dist/skeleton/Element.d.ts +0 -1
  524. package/dist/skeleton/Image.d.ts +0 -1
  525. package/dist/skeleton/Input.d.ts +0 -1
  526. package/dist/skeleton/Node.d.ts +0 -1
  527. package/dist/skeleton/Skeleton.d.ts +1 -1
  528. package/dist/skeleton/style/index.d.ts +1 -0
  529. package/dist/skeleton/style/index.js +3 -2
  530. package/dist/slider/Context.d.ts +0 -1
  531. package/dist/slider/SliderTooltip.d.ts +0 -1
  532. package/dist/slider/index.d.ts +1 -1
  533. package/dist/slider/index.js +3 -5
  534. package/dist/slider/style/index.d.ts +1 -0
  535. package/dist/slider/useRafLock.d.ts +0 -1
  536. package/dist/space/Addon.d.ts +0 -1
  537. package/dist/space/Compact.d.ts +0 -1
  538. package/dist/space/Item.d.ts +0 -1
  539. package/dist/space/context.d.ts +0 -1
  540. package/dist/space/index.d.ts +1 -1
  541. package/dist/space/style/addon.js +2 -2
  542. package/dist/space/style/index.d.ts +1 -0
  543. package/dist/spin/Indicator/index.d.ts +0 -1
  544. package/dist/spin/index.d.ts +1 -1
  545. package/dist/spin/style/index.d.ts +1 -0
  546. package/dist/spin/style/index.js +3 -3
  547. package/dist/spin/usePercent.d.ts +0 -1
  548. package/dist/splitter/Panel.d.ts +0 -1
  549. package/dist/splitter/SplitBar.d.ts +0 -1
  550. package/dist/splitter/Splitter.d.ts +0 -1
  551. package/dist/splitter/hooks/useItems.d.ts +0 -1
  552. package/dist/splitter/hooks/useResizable.d.ts +0 -1
  553. package/dist/splitter/hooks/useResize.d.ts +0 -1
  554. package/dist/splitter/hooks/useSizes.d.ts +0 -1
  555. package/dist/splitter/index.d.ts +0 -1
  556. package/dist/splitter/interface.d.ts +1 -1
  557. package/dist/splitter/style/index.d.ts +1 -0
  558. package/dist/statistic/Number.d.ts +0 -1
  559. package/dist/statistic/Statistic.d.ts +1 -1
  560. package/dist/statistic/Timer.d.ts +0 -1
  561. package/dist/statistic/index.d.ts +0 -1
  562. package/dist/statistic/style/index.d.ts +1 -0
  563. package/dist/statistic/style/index.js +2 -1
  564. package/dist/statistic/utils.d.ts +0 -1
  565. package/dist/steps/context.d.ts +0 -1
  566. package/dist/steps/index.d.ts +3 -2
  567. package/dist/steps/style/horizontal.d.ts +1 -1
  568. package/dist/steps/style/icon.d.ts +1 -1
  569. package/dist/steps/style/index.d.ts +1 -1
  570. package/dist/steps/style/inline.d.ts +1 -1
  571. package/dist/steps/style/label-placement.d.ts +1 -1
  572. package/dist/steps/style/max-count.d.ts +1 -1
  573. package/dist/steps/style/nav.d.ts +1 -1
  574. package/dist/steps/style/panel.d.ts +1 -1
  575. package/dist/steps/style/progress-dot.d.ts +1 -1
  576. package/dist/steps/style/progress.d.ts +1 -1
  577. package/dist/steps/style/rtl.d.ts +1 -1
  578. package/dist/steps/style/small.d.ts +1 -1
  579. package/dist/steps/style/status.d.ts +1 -1
  580. package/dist/steps/style/util.d.ts +0 -1
  581. package/dist/steps/style/vertical.d.ts +1 -1
  582. package/dist/steps/useDisplaySteps.d.ts +0 -1
  583. package/dist/style/compact-item-vertical.d.ts +1 -1
  584. package/dist/style/compact-item.d.ts +1 -1
  585. package/dist/style/index.d.ts +1 -1
  586. package/dist/style/index.js +7 -2
  587. package/dist/style/motion/collapse.d.ts +0 -1
  588. package/dist/style/motion/fade.d.ts +0 -1
  589. package/dist/style/motion/motion.d.ts +0 -1
  590. package/dist/style/motion/move.d.ts +0 -1
  591. package/dist/style/motion/slide.d.ts +0 -1
  592. package/dist/style/motion/util.d.ts +0 -1
  593. package/dist/style/motion/zoom.d.ts +0 -1
  594. package/dist/style/placementArrow.d.ts +0 -1
  595. package/dist/style/roundedArrow.d.ts +1 -1
  596. package/dist/switch/index.d.ts +1 -1
  597. package/dist/switch/style/index.d.ts +1 -0
  598. package/dist/table/Column.d.ts +0 -1
  599. package/dist/table/ColumnGroup.d.ts +0 -1
  600. package/dist/table/ExpandIcon.d.ts +0 -1
  601. package/dist/table/InternalTable.d.ts +7 -7
  602. package/dist/table/Table.d.ts +1 -2
  603. package/dist/table/TableMeasureRowContext.d.ts +0 -1
  604. package/dist/table/TableMeasureRowContext.js +2 -1
  605. package/dist/table/hooks/useColumnTitleProps.d.ts +0 -1
  606. package/dist/table/hooks/useFilledColumns.d.ts +0 -1
  607. package/dist/table/hooks/useFilter/FilterDropdown.d.ts +0 -1
  608. package/dist/table/hooks/useFilter/FilterDropdown.js +6 -3
  609. package/dist/table/hooks/useFilter/FilterSearch.d.ts +0 -1
  610. package/dist/table/hooks/useFilter/FilterWrapper.d.ts +0 -1
  611. package/dist/table/hooks/useFilter/index.d.ts +0 -1
  612. package/dist/table/hooks/useFilter/index.js +4 -2
  613. package/dist/table/hooks/useLazyKVMap.d.ts +0 -1
  614. package/dist/table/hooks/usePagination.d.ts +0 -1
  615. package/dist/table/hooks/useSelection.d.ts +0 -1
  616. package/dist/table/hooks/useSelection.js +5 -3
  617. package/dist/table/hooks/useSorter.d.ts +0 -1
  618. package/dist/table/hooks/useSpinProps.d.ts +0 -1
  619. package/dist/table/hooks/useTitleColumns.d.ts +0 -1
  620. package/dist/table/index.d.ts +0 -1
  621. package/dist/table/interface.d.ts +14 -4
  622. package/dist/table/style/bordered.d.ts +1 -1
  623. package/dist/table/style/bordered.js +9 -2
  624. package/dist/table/style/ellipsis.d.ts +1 -1
  625. package/dist/table/style/empty.d.ts +1 -1
  626. package/dist/table/style/expand.d.ts +1 -1
  627. package/dist/table/style/filter.d.ts +1 -0
  628. package/dist/table/style/fixed.d.ts +2 -4
  629. package/dist/table/style/index.d.ts +1 -0
  630. package/dist/table/style/pagination.d.ts +1 -1
  631. package/dist/table/style/radius.d.ts +1 -1
  632. package/dist/table/style/rtl.d.ts +1 -1
  633. package/dist/table/style/selection.d.ts +1 -1
  634. package/dist/table/style/size.d.ts +1 -1
  635. package/dist/table/style/sorter.d.ts +1 -1
  636. package/dist/table/style/sticky.d.ts +1 -1
  637. package/dist/table/style/summary.d.ts +1 -1
  638. package/dist/table/style/virtual.d.ts +1 -1
  639. package/dist/table/util.d.ts +0 -1
  640. package/dist/table/utils.d.ts +0 -1
  641. package/dist/tabs/TabPane.d.ts +0 -1
  642. package/dist/tabs/hooks/useAnimateConfig.d.ts +0 -1
  643. package/dist/tabs/hooks/useLegacyItems.d.ts +0 -1
  644. package/dist/tabs/index.d.ts +1 -1
  645. package/dist/tabs/style/index.d.ts +1 -0
  646. package/dist/tabs/style/index.js +6 -1
  647. package/dist/tabs/style/motion.d.ts +1 -0
  648. package/dist/tag/CheckableTag.d.ts +0 -1
  649. package/dist/tag/CheckableTagGroup.d.ts +1 -1
  650. package/dist/tag/hooks/useColor.d.ts +1 -2
  651. package/dist/tag/index.d.ts +1 -1
  652. package/dist/tag/style/index.d.ts +1 -1
  653. package/dist/tag/style/index.js +8 -2
  654. package/dist/theme/context.d.ts +2 -2
  655. package/dist/theme/getDesignToken.d.ts +1 -1
  656. package/dist/theme/index.d.ts +2 -2
  657. package/dist/theme/interface/alias.d.ts +6 -7
  658. package/dist/theme/interface/components.d.ts +5 -1
  659. package/dist/theme/interface/cssinjs-utils.d.ts +0 -1
  660. package/dist/theme/interface/index.d.ts +0 -1
  661. package/dist/theme/interface/maps/index.d.ts +0 -1
  662. package/dist/theme/interface/presetColors.d.ts +2 -2
  663. package/dist/theme/interface/seeds.d.ts +0 -1
  664. package/dist/theme/themes/ColorMap.d.ts +1 -0
  665. package/dist/theme/themes/compact/genCompactSizeMapToken.d.ts +1 -0
  666. package/dist/theme/themes/compact/index.d.ts +1 -1
  667. package/dist/theme/themes/dark/colors.d.ts +0 -1
  668. package/dist/theme/themes/dark/index.d.ts +1 -1
  669. package/dist/theme/themes/default/colors.d.ts +0 -1
  670. package/dist/theme/themes/default/index.d.ts +1 -0
  671. package/dist/theme/themes/seed.d.ts +1 -0
  672. package/dist/theme/themes/shared/genColorMapToken.d.ts +2 -5
  673. package/dist/theme/themes/shared/genCommonMapToken.d.ts +1 -0
  674. package/dist/theme/themes/shared/genControlHeight.d.ts +1 -0
  675. package/dist/theme/themes/shared/genFontMapToken.d.ts +1 -0
  676. package/dist/theme/themes/shared/genRadius.d.ts +1 -0
  677. package/dist/theme/themes/shared/genSizeMapToken.d.ts +1 -0
  678. package/dist/theme/useToken.d.ts +3 -3
  679. package/dist/theme/util/alias.d.ts +1 -0
  680. package/dist/theme/util/genPresetColor.d.ts +0 -1
  681. package/dist/theme/util/genStyleUtils.d.ts +31 -30
  682. package/dist/theme/util/useResetIconStyle.d.ts +1 -1
  683. package/dist/time-picker/index.d.ts +2 -1
  684. package/dist/time-picker/locale/ar_EG.d.ts +0 -1
  685. package/dist/time-picker/locale/az_AZ.d.ts +0 -1
  686. package/dist/time-picker/locale/bg_BG.d.ts +0 -1
  687. package/dist/time-picker/locale/bn_BD.d.ts +0 -1
  688. package/dist/time-picker/locale/by_BY.d.ts +0 -1
  689. package/dist/time-picker/locale/ca_ES.d.ts +0 -1
  690. package/dist/time-picker/locale/cs_CZ.d.ts +0 -1
  691. package/dist/time-picker/locale/da_DK.d.ts +0 -1
  692. package/dist/time-picker/locale/de_DE.d.ts +0 -1
  693. package/dist/time-picker/locale/el_GR.d.ts +0 -1
  694. package/dist/time-picker/locale/en_GB.d.ts +0 -1
  695. package/dist/time-picker/locale/en_US.d.ts +0 -1
  696. package/dist/time-picker/locale/es_ES.d.ts +0 -1
  697. package/dist/time-picker/locale/et_EE.d.ts +0 -1
  698. package/dist/time-picker/locale/eu_ES.d.ts +0 -1
  699. package/dist/time-picker/locale/fa_IR.d.ts +0 -1
  700. package/dist/time-picker/locale/fi_FI.d.ts +0 -1
  701. package/dist/time-picker/locale/fr_BE.d.ts +0 -1
  702. package/dist/time-picker/locale/fr_CA.d.ts +0 -1
  703. package/dist/time-picker/locale/fr_FR.d.ts +0 -1
  704. package/dist/time-picker/locale/ga_IE.d.ts +0 -1
  705. package/dist/time-picker/locale/gl_ES.d.ts +0 -1
  706. package/dist/time-picker/locale/he_IL.d.ts +0 -1
  707. package/dist/time-picker/locale/hi_IN.d.ts +0 -1
  708. package/dist/time-picker/locale/hr_HR.d.ts +0 -1
  709. package/dist/time-picker/locale/hu_HU.d.ts +0 -1
  710. package/dist/time-picker/locale/id_ID.d.ts +0 -1
  711. package/dist/time-picker/locale/is_IS.d.ts +0 -1
  712. package/dist/time-picker/locale/it_IT.d.ts +0 -1
  713. package/dist/time-picker/locale/ja_JP.d.ts +0 -1
  714. package/dist/time-picker/locale/ka_GE.d.ts +0 -1
  715. package/dist/time-picker/locale/kk_KZ.d.ts +0 -1
  716. package/dist/time-picker/locale/km_KH.d.ts +0 -1
  717. package/dist/time-picker/locale/kmr_IQ.d.ts +0 -1
  718. package/dist/time-picker/locale/kn_IN.d.ts +0 -1
  719. package/dist/time-picker/locale/ko_KR.d.ts +0 -1
  720. package/dist/time-picker/locale/lt_LT.d.ts +0 -1
  721. package/dist/time-picker/locale/lv_LV.d.ts +0 -1
  722. package/dist/time-picker/locale/mk_MK.d.ts +0 -1
  723. package/dist/time-picker/locale/ml_IN.d.ts +0 -1
  724. package/dist/time-picker/locale/mn_MN.d.ts +0 -1
  725. package/dist/time-picker/locale/mr_IN.d.ts +0 -1
  726. package/dist/time-picker/locale/ms_MY.d.ts +0 -1
  727. package/dist/time-picker/locale/my_MM.d.ts +0 -1
  728. package/dist/time-picker/locale/nb_NO.d.ts +0 -1
  729. package/dist/time-picker/locale/nl_BE.d.ts +0 -1
  730. package/dist/time-picker/locale/nl_NL.d.ts +0 -1
  731. package/dist/time-picker/locale/pl_PL.d.ts +0 -1
  732. package/dist/time-picker/locale/pt_BR.d.ts +0 -1
  733. package/dist/time-picker/locale/pt_PT.d.ts +0 -1
  734. package/dist/time-picker/locale/ro_RO.d.ts +0 -1
  735. package/dist/time-picker/locale/ru_RU.d.ts +0 -1
  736. package/dist/time-picker/locale/si_LK.d.ts +0 -1
  737. package/dist/time-picker/locale/sk_SK.d.ts +0 -1
  738. package/dist/time-picker/locale/sl_SI.d.ts +0 -1
  739. package/dist/time-picker/locale/sr_RS.d.ts +0 -1
  740. package/dist/time-picker/locale/sv_SE.d.ts +0 -1
  741. package/dist/time-picker/locale/ta_IN.d.ts +0 -1
  742. package/dist/time-picker/locale/th_TH.d.ts +0 -1
  743. package/dist/time-picker/locale/tk_TK.d.ts +0 -1
  744. package/dist/time-picker/locale/tr_TR.d.ts +0 -1
  745. package/dist/time-picker/locale/uk_UA.d.ts +0 -1
  746. package/dist/time-picker/locale/ur_PK.d.ts +0 -1
  747. package/dist/time-picker/locale/uz_UZ.d.ts +0 -1
  748. package/dist/time-picker/locale/vi_VN.d.ts +0 -1
  749. package/dist/time-picker/locale/zh_CN.d.ts +0 -1
  750. package/dist/time-picker/locale/zh_TW.d.ts +0 -1
  751. package/dist/timeline/Timeline.d.ts +1 -1
  752. package/dist/timeline/TimelineItem.d.ts +0 -1
  753. package/dist/timeline/style/horizontal.d.ts +1 -1
  754. package/dist/timeline/style/index.d.ts +1 -0
  755. package/dist/timeline/useItems.d.ts +0 -1
  756. package/dist/tooltip/PurePanel.d.ts +0 -1
  757. package/dist/tooltip/hooks/useMergedArrow.d.ts +0 -1
  758. package/dist/tooltip/index.d.ts +1 -1
  759. package/dist/tooltip/style/index.d.ts +1 -1
  760. package/dist/tooltip/style/index.js +3 -2
  761. package/dist/tooltip/util.d.ts +0 -1
  762. package/dist/tour/PurePanel.d.ts +0 -1
  763. package/dist/tour/index.d.ts +0 -1
  764. package/dist/tour/interface.d.ts +1 -1
  765. package/dist/tour/panelRender.d.ts +0 -1
  766. package/dist/tour/panelRender.js +2 -8
  767. package/dist/tour/style/index.d.ts +1 -0
  768. package/dist/tour/style/index.js +3 -2
  769. package/dist/transfer/Actions.d.ts +0 -1
  770. package/dist/transfer/Actions.js +11 -3
  771. package/dist/transfer/ListBody.d.ts +0 -1
  772. package/dist/transfer/ListItem.d.ts +0 -1
  773. package/dist/transfer/Section.d.ts +0 -1
  774. package/dist/transfer/Section.js +3 -2
  775. package/dist/transfer/Transfer.d.ts +0 -1
  776. package/dist/transfer/Transfer.js +8 -3
  777. package/dist/transfer/hooks/useData.d.ts +0 -1
  778. package/dist/transfer/hooks/useSelection.d.ts +0 -1
  779. package/dist/transfer/index.d.ts +0 -1
  780. package/dist/transfer/interface.d.ts +0 -1
  781. package/dist/transfer/search.d.ts +0 -1
  782. package/dist/transfer/style/index.d.ts +1 -0
  783. package/dist/tree/DirectoryTree.d.ts +1 -2
  784. package/dist/tree/Tree.d.ts +1 -1
  785. package/dist/tree/index.d.ts +0 -1
  786. package/dist/tree/style/directory.d.ts +1 -10
  787. package/dist/tree/style/index.d.ts +0 -1
  788. package/dist/tree/style/index.js +1 -1
  789. package/dist/tree/utils/dictUtil.d.ts +1 -8
  790. package/dist/tree/utils/dropIndicator.d.ts +0 -1
  791. package/dist/tree/utils/iconUtil.d.ts +0 -1
  792. package/dist/tree-select/index.d.ts +2 -1
  793. package/dist/tree-select/style/index.d.ts +1 -1
  794. package/dist/tree-select/style/index.js +2 -1
  795. package/dist/typography/Base/CopyBtn.d.ts +0 -1
  796. package/dist/typography/Base/Ellipsis.d.ts +0 -1
  797. package/dist/typography/Base/Ellipsis.js +4 -2
  798. package/dist/typography/Base/EllipsisTooltip.d.ts +0 -1
  799. package/dist/typography/Base/index.d.ts +1 -2
  800. package/dist/typography/Base/util.d.ts +0 -1
  801. package/dist/typography/Editable.d.ts +0 -1
  802. package/dist/typography/Link.d.ts +1 -2
  803. package/dist/typography/Paragraph.d.ts +1 -2
  804. package/dist/typography/Text.d.ts +1 -2
  805. package/dist/typography/Title.d.ts +1 -2
  806. package/dist/typography/Typography.d.ts +0 -1
  807. package/dist/typography/hooks/useCopyClick.d.ts +1 -4
  808. package/dist/typography/hooks/useTooltipProps.d.ts +0 -1
  809. package/dist/typography/index.d.ts +0 -1
  810. package/dist/typography/interface.d.ts +1 -1
  811. package/dist/typography/style/index.d.ts +1 -0
  812. package/dist/typography/style/mixins.d.ts +1 -1
  813. package/dist/typography/style/mixins.js +5 -1
  814. package/dist/upload/Dragger.d.ts +0 -1
  815. package/dist/upload/Dragger.js +5 -4
  816. package/dist/upload/Upload.d.ts +0 -1
  817. package/dist/upload/Upload.js +7 -4
  818. package/dist/upload/UploadList/ListItem.d.ts +0 -1
  819. package/dist/upload/UploadList/index.d.ts +0 -1
  820. package/dist/upload/index.d.ts +0 -1
  821. package/dist/upload/interface.d.ts +2 -1
  822. package/dist/upload/style/dragger.d.ts +1 -1
  823. package/dist/upload/style/index.d.ts +1 -0
  824. package/dist/upload/style/list.d.ts +1 -1
  825. package/dist/upload/style/motion.d.ts +1 -0
  826. package/dist/upload/style/picture.d.ts +1 -1
  827. package/dist/upload/style/rtl.d.ts +1 -1
  828. package/dist/upload/utils.d.ts +0 -1
  829. package/dist/watermark/context.d.ts +0 -1
  830. package/dist/watermark/useClips.d.ts +0 -1
  831. package/dist/watermark/useWatermark.d.ts +0 -1
  832. package/dist/watermark/utils.d.ts +0 -1
  833. package/package.json +16 -16
  834. package/web-tags.json +1725 -1725
  835. package/web-types.json +5500 -5500
package/dist/form/Form.js CHANGED
@@ -128,10 +128,12 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
128
128
  emit("validate", name, status, errors);
129
129
  };
130
130
  const resetFields = (nameList) => {
131
- getFieldsByNameList(nameList ? nameList.map(getNamePath) : void 0).forEach((field) => field.resetField());
131
+ const targetList = nameList ? nameList.map(getNamePath) : void 0;
132
+ getFieldsByNameList(targetList).forEach((field) => field.resetField());
132
133
  };
133
134
  const clearValidate = (nameList) => {
134
- getFieldsByNameList(nameList ? nameList.map(getNamePath) : void 0).forEach((field) => field.clearValidate());
135
+ const targetList = nameList ? nameList.map(getNamePath) : void 0;
136
+ getFieldsByNameList(targetList).forEach((field) => field.clearValidate());
135
137
  };
136
138
  const validateFields = (arg1, arg2) => {
137
139
  let nameList;
@@ -263,33 +265,40 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
263
265
  triggerFieldsChange();
264
266
  };
265
267
  const getFieldError = (name) => {
266
- return getFields([getNamePath(name)])[0]?.errors || [];
268
+ const namePath = getNamePath(name);
269
+ return getFields([namePath])[0]?.errors || [];
267
270
  };
268
271
  const getFieldWarning = (name) => {
269
- return getFields([getNamePath(name)])[0]?.warnings || [];
272
+ const namePath = getNamePath(name);
273
+ return getFields([namePath])[0]?.warnings || [];
270
274
  };
271
275
  const getFieldsError = (nameList) => {
272
- return getFields(nameList?.length ? nameList.map(getNamePath) : void 0).map((field) => ({
276
+ const namePathList = nameList?.length ? nameList.map(getNamePath) : void 0;
277
+ return getFields(namePathList).map((field) => ({
273
278
  name: field.name,
274
279
  errors: field.errors,
275
280
  warnings: field.warnings
276
281
  }));
277
282
  };
278
283
  const isFieldTouched = (name) => {
279
- return !!getFields([getNamePath(name)])[0]?.touched;
284
+ const namePath = getNamePath(name);
285
+ return !!getFields([namePath])[0]?.touched;
280
286
  };
281
287
  const isFieldsTouched = (nameList, allFieldsTouched) => {
282
- const fieldsData = getFields(typeof nameList === "boolean" || nameList === void 0 ? void 0 : nameList.map(getNamePath));
288
+ const arrNameList = typeof nameList === "boolean" || nameList === void 0 ? void 0 : nameList.map(getNamePath);
289
+ const fieldsData = getFields(arrNameList);
283
290
  if (nameList === false) return false;
284
291
  if (!fieldsData.length) return false;
285
292
  if (allFieldsTouched) return fieldsData.every((field) => field.touched);
286
293
  return fieldsData.some((field) => field.touched);
287
294
  };
288
295
  const isFieldValidating = (name) => {
289
- return !!getFields([getNamePath(name)])[0]?.validating;
296
+ const namePath = getNamePath(name);
297
+ return !!getFields([namePath])[0]?.validating;
290
298
  };
291
299
  const isFieldsValidating = (nameList) => {
292
- return getFields(nameList?.length ? nameList.map(getNamePath) : void 0).some((field) => field.validating);
300
+ const namePathList = nameList?.length ? nameList.map(getNamePath) : void 0;
301
+ return getFields(namePathList).some((field) => field.validating);
293
302
  };
294
303
  const setFields = (data) => {
295
304
  data.forEach((item) => {
@@ -5,7 +5,6 @@ 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
-
9
8
  //#region src/form/FormItem/ItemHolder.d.ts
10
9
  type ItemHolderProps = FormItemProps & {
11
10
  errors: any[];
@@ -1,6 +1,5 @@
1
1
  import { Meta, NamePath } from "../types.js";
2
2
  import { FeedbackIcons, ValidateStatus } from "./index.js";
3
-
4
3
  //#region src/form/FormItem/StatusProvider.d.ts
5
4
  interface StatusProviderProps {
6
5
  validateStatus?: ValidateStatus;
@@ -4,7 +4,6 @@ import { FormItemLayout } from "../Form.js";
4
4
  import { FormItemInputProps } from "../FormItemInput.js";
5
5
  import { ComponentBaseProps } from "../../config-provider/context.js";
6
6
  import { SlotsType } from "vue";
7
-
8
7
  //#region src/form/FormItem/index.d.ts
9
8
  declare const _ValidateStatuses: readonly ["success", "warning", "error", "validating", ""];
10
9
  type ValidateStatus = (typeof _ValidateStatuses)[number];
@@ -12,7 +11,7 @@ type FeedbackIcons = (itemStatus: {
12
11
  status: ValidateStatus;
13
12
  errors?: any[];
14
13
  warnings?: any[];
15
- }) => { [key in ValidateStatus]?: any };
14
+ }) => { [key in ValidateStatus]?: any; };
16
15
  interface BaseFormItemProps {
17
16
  name?: NamePath;
18
17
  rules?: Rule[];
@@ -1,7 +1,7 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { ColProps } from "../grid/col.js";
3
+ import "../grid/index.js";
3
4
  import { ValidateStatus } from "./FormItem/index.js";
4
-
5
5
  //#region src/form/FormItemInput.d.ts
6
6
  interface FormItemInputMiscProps {
7
7
  prefixCls: string;
@@ -1,9 +1,9 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { ColProps } from "../grid/col.js";
3
+ import "../grid/index.js";
3
4
  import { TooltipProps } from "../tooltip/index.js";
4
5
  import { FormLabelAlign } from "./interface.js";
5
6
  import { RequiredMark } from "./Form.js";
6
-
7
7
  //#region src/form/FormItemLabel.d.ts
8
8
  type FormTooltipProps = TooltipProps & {
9
9
  icon?: VueNode;
@@ -1,4 +1,5 @@
1
1
  import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.js";
2
+ import "../_util/hooks/index.js";
2
3
  import { FormLabelAlign } from "./interface.js";
3
4
  import { ColPropsWithClass, FormTooltipProps } from "./FormItemLabel.js";
4
5
  import { InternalNamePath, Meta, NamePath, Rule, RulesMap, ValidateMessages } from "./types.js";
@@ -7,7 +8,6 @@ import { FeedbackIcons, ValidateStatus } from "./FormItem/index.js";
7
8
  import { Variant } from "../config-provider/context.js";
8
9
  import { Ref } from "vue";
9
10
  import { Key } from "@v-c/util/dist/type";
10
-
11
11
  //#region src/form/context.d.ts
12
12
  /** Form Context. Set top form style and pass to Form Item usage. */
13
13
  interface FormFieldRegister {
@@ -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<"outlined" | "filled" | "borderless" | "underlined" | undefined, "outlined" | "filled" | "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;
@@ -1,7 +1,6 @@
1
1
  import { NamePath } from "../types.js";
2
2
  import { FormInstance } from "../Form.js";
3
3
  import { InjectionKey, ShallowRef } from "vue";
4
-
5
4
  //#region src/form/hooks/useForm.d.ts
6
5
  declare function toNamePathStr(name: NamePath): string;
7
6
  interface FormHookEntry {
@@ -1,10 +1,9 @@
1
1
  import { ConfigProviderProps } from "../../config-provider/define.js";
2
2
  import { Variant } from "../../config-provider/context.js";
3
3
  import { Ref } from "vue";
4
-
5
4
  //#region src/form/hooks/useVariant.d.ts
6
5
  type VariantComponents = keyof Pick<ConfigProviderProps, 'input' | 'inputNumber' | 'textArea' | 'mentions' | 'select' | 'cascader' | 'treeSelect' | 'datePicker' | 'timePicker' | 'rangePicker' | 'card'>;
7
- declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "filled" | "borderless" | "underlined">, import("vue").ComputedRef<boolean>];
6
+ declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "borderless" | "filled" | "underlined">, import("vue").ComputedRef<boolean>];
8
7
  declare const useVariants: typeof useVariant;
9
8
  //#endregion
10
9
  export { useVariant as default, useVariants };
@@ -1,5 +1,4 @@
1
1
  import { Options } from "scroll-into-view-if-needed";
2
-
3
2
  //#region src/form/interface.d.ts
4
3
  type ScrollFocusOptions = Options & {
5
4
  focus?: boolean;
@@ -4,6 +4,6 @@ type BaseNamePath = string | number | boolean | (string | number | boolean)[];
4
4
  * Store: The store type from `FormInstance<Store>`
5
5
  * ParentNamePath: Auto generate by nest logic. Do not fill manually.
6
6
  */
7
- type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 5 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? [...ParentNamePath, number] | DeepNamePath<Store[number], [...ParentNamePath, number]> : keyof Store extends never ? Store : { [FieldKey in keyof Store]: Store[FieldKey] extends Function ? never : (ParentNamePath['length'] extends 0 ? FieldKey : never) | [...ParentNamePath, FieldKey] | DeepNamePath<Required<Store>[FieldKey], [...ParentNamePath, FieldKey]> }[keyof Store];
7
+ type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 5 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? [...ParentNamePath, number] | DeepNamePath<Store[number], [...ParentNamePath, number]> : keyof Store extends never ? Store : { [FieldKey in keyof Store]: Store[FieldKey] extends Function ? never : (ParentNamePath['length'] extends 0 ? FieldKey : never) | [...ParentNamePath, FieldKey] | DeepNamePath<Required<Store>[FieldKey], [...ParentNamePath, FieldKey]>; }[keyof Store];
8
8
  //#endregion
9
9
  export { DeepNamePath };
@@ -1,7 +1,7 @@
1
1
  import { FormToken } from "./index.js";
2
2
  import { GenerateStyle } from "../../theme/interface/index.js";
3
+ import "../../theme/internal.js";
3
4
  import { CSSObject } from "@antdv-next/cssinjs";
4
-
5
5
  //#region src/form/style/explain.d.ts
6
6
  declare const genFormValidateMotionStyle: GenerateStyle<FormToken, CSSObject>;
7
7
  //#endregion
@@ -6,7 +6,8 @@ const genFallbackStyle = (token) => {
6
6
  return { "@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)": { [`${formItemCls}-control`]: { display: "flex" } } };
7
7
  };
8
8
  var fallbackCmp_default = genSubStyleComponent(["Form", "item-item"], (token, { rootPrefixCls }) => {
9
- return genFallbackStyle(prepareToken(token, rootPrefixCls));
9
+ const formToken = prepareToken(token, rootPrefixCls);
10
+ return genFallbackStyle(formToken);
10
11
  });
11
12
  //#endregion
12
13
  export { fallbackCmp_default as default };
@@ -1,6 +1,6 @@
1
1
  import { FullToken, GenStyleFn, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
+ import "../../theme/internal.js";
2
3
  import { CSSProperties } from "vue";
3
-
4
4
  //#region src/form/style/index.d.ts
5
5
  interface ComponentToken {
6
6
  /**
@@ -1,6 +1,5 @@
1
1
  import { DeepNamePath } from "./namePathType.js";
2
2
  import { Component } from "vue";
3
-
4
3
  //#region src/form/types.d.ts
5
4
  type ReducerAction = UpdateAction | ValidateAction;
6
5
  type BatchTask = (key: string, callback: VoidFunction) => void;
@@ -204,7 +203,7 @@ interface InternalHooks {
204
203
  setBatchUpdate: (fn: BatchTask) => void;
205
204
  }
206
205
  /** Only return partial when type is not any */
207
- type RecursivePartial<T> = NonNullable<T> extends object ? { [P in keyof T]?: NonNullable<T[P]> extends (infer U)[] ? RecursivePartial<U>[] : NonNullable<T[P]> extends object ? RecursivePartial<T[P]> : T[P] } : T;
206
+ type RecursivePartial<T> = NonNullable<T> extends object ? { [P in keyof T]?: NonNullable<T[P]> extends (infer U)[] ? RecursivePartial<U>[] : NonNullable<T[P]> extends object ? RecursivePartial<T[P]> : T[P]; } : T;
208
207
  type FilterFunc = (meta: Meta | null) => boolean;
209
208
  interface GetFieldsValueConfig {
210
209
  /**
@@ -244,7 +243,8 @@ type InternalFormInstance = Omit<FormInstance, 'validateFields'> & {
244
243
  * Form component should register some content into store.
245
244
  * We pass the `HOOK_MARK` as key to avoid user call the function.
246
245
  */
247
- getInternalHooks: (secret: string) => InternalHooks | null; /** @private Internal usage. Do not use it in your production */
246
+ getInternalHooks: (secret: string) => InternalHooks | null;
247
+ /** @private Internal usage. Do not use it in your production */
248
248
  _init?: boolean;
249
249
  };
250
250
  type EventArgs = any[];
@@ -1,6 +1,5 @@
1
1
  import { InternalNamePath, Meta } from "./types.js";
2
2
  import { ValidateStatus } from "./FormItem/index.js";
3
-
4
3
  //#region src/form/util.d.ts
5
4
  declare function toArray<T>(candidate?: T | T[] | false): T[];
6
5
  /**
@@ -1,5 +1,4 @@
1
1
  import { InternalNamePath } from "../types.js";
2
-
3
2
  //#region src/form/utils/NameMap.d.ts
4
3
  interface KV<T> {
5
4
  key: InternalNamePath;
@@ -1,5 +1,4 @@
1
1
  import { FieldError } from "../types.js";
2
-
3
2
  //#region src/form/utils/asyncUtil.d.ts
4
3
  declare function allPromiseFinish(promiseList: Promise<FieldError>[]): Promise<FieldError[]>;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { FormInstance } from "../types.js";
2
-
3
2
  //#region src/form/utils/typeUtil.d.ts
4
3
  declare function toArray<T>(value?: T | T[] | null): T[];
5
4
  declare function isFormInstance<T>(form: T | FormInstance): form is FormInstance;
@@ -1,5 +1,4 @@
1
1
  import { InternalNamePath, InternalValidateOptions, RuleError, RuleObject, StoreValue } from "../types.js";
2
-
3
2
  //#region src/form/utils/validateUtil.d.ts
4
3
  /**
5
4
  * We use `async-validator` to validate the value.
@@ -1,7 +1,6 @@
1
1
  import { EventArgs, InternalNamePath, NamePath, Store } from "../types.js";
2
2
  import getValue from "@v-c/util/dist/utils/get";
3
3
  import setValue from "@v-c/util/dist/utils/set";
4
-
5
4
  //#region src/form/utils/valueUtil.d.ts
6
5
  /**
7
6
  * Convert name to internal supported format.
@@ -1,6 +1,5 @@
1
1
  import { ValidateMessages } from "./types.js";
2
2
  import { Ref } from "vue";
3
-
4
3
  //#region src/form/validateMessagesContext.d.ts
5
4
  declare function useValidateMessagesProvider(validateMessages: Ref<ValidateMessages>): void;
6
5
  declare function useValidateMessagesContext(): Ref<ValidateMessages, ValidateMessages> | undefined;
@@ -1,5 +1,4 @@
1
1
  import { Ref } from "vue";
2
-
3
2
  //#region src/grid/RowContext.d.ts
4
3
  interface RowContextState {
5
4
  gutter?: Ref<[number, number]>;
@@ -1,5 +1,4 @@
1
1
  import { LiteralUnion } from "@v-c/util/dist/type";
2
-
3
2
  //#region src/grid/col.d.ts
4
3
  type ColSpanType = number | string;
5
4
  type FlexType = number | LiteralUnion<'none' | 'auto'>;
@@ -1,6 +1,5 @@
1
1
  import { ScreenMap } from "../../_util/responsiveObserver.js";
2
2
  import { Ref } from "vue";
3
-
4
3
  //#region src/grid/hooks/useBreakpoint.d.ts
5
4
  declare function useBreakpoint(refreshOnChange?: boolean | Ref<boolean>, defaultScreens?: ScreenMap | null | Ref<ScreenMap | null>): Ref<{
6
5
  xxxl?: boolean | undefined;
@@ -1,7 +1,6 @@
1
1
  import { ScreenMap } from "../../_util/responsiveObserver.js";
2
2
  import { RowProps } from "../row.js";
3
3
  import { Ref } from "vue";
4
-
5
4
  //#region src/grid/hooks/useGutter.d.ts
6
5
  type Gap = number | undefined;
7
6
  declare function useGutter(gutter: Ref<RowProps['gutter']>, screens: Ref<ScreenMap | null>): Ref<[Gap, Gap]>;
@@ -1,6 +1,5 @@
1
1
  import Col, { ColProps, ColSize } from "./col.js";
2
2
  import Row, { RowProps } from "./row.js";
3
-
4
3
  //#region src/grid/index.d.ts
5
4
  declare function useBreakpoint(): import("vue").Ref<{
6
5
  xxxl?: boolean | undefined;
@@ -1,9 +1,8 @@
1
1
  import { Breakpoint } from "../_util/responsiveObserver.js";
2
-
3
2
  //#region src/grid/row.d.ts
4
3
  declare const _RowAligns: readonly ["top", "middle", "bottom", "stretch"];
5
4
  declare const _RowJustify: readonly ["start", "end", "center", "space-around", "space-between", "space-evenly"];
6
- type ResponsiveLike<T> = { [key in Breakpoint]?: T };
5
+ type ResponsiveLike<T> = { [key in Breakpoint]?: T; };
7
6
  type Gutter = number | undefined | Partial<Record<Breakpoint, number>>;
8
7
  type ResponsiveAligns = ResponsiveLike<(typeof _RowAligns)[number]>;
9
8
  type ResponsiveJustify = ResponsiveLike<(typeof _RowJustify)[number]>;
@@ -1,5 +1,6 @@
1
1
  import { AliasToken } from "../../theme/interface/alias.js";
2
2
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
3
+ import "../../theme/internal.js";
3
4
  //#region src/grid/style/index.d.ts
4
5
  interface ComponentToken {}
5
6
  declare const prepareRowComponentToken: GetDefaultToken<'Grid'>;
@@ -1,7 +1,7 @@
1
1
  import { MaskType } from "../_util/hooks/useMergedMask.js";
2
+ import "../_util/hooks/index.js";
2
3
  import { DeprecatedPreviewConfig, ImageClassNamesType, ImageStylesType } from "./index.js";
3
4
  import { PreviewGroupProps as PreviewGroupProps$1 } from "@v-c/image";
4
-
5
5
  //#region src/image/PreviewGroup.d.ts
6
6
  declare const icons: {
7
7
  rotateLeft: import("vue/jsx-runtime").JSX.Element;
@@ -16,7 +16,8 @@ declare const icons: {
16
16
  };
17
17
  type OriginPreviewConfig = NonNullable<Exclude<PreviewGroupProps$1['preview'], boolean>>;
18
18
  type GroupPreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
19
- /** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
19
+ /** @deprecated Use `onOpenChange` instead */
20
+ onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
20
21
  mask?: MaskType;
21
22
  };
22
23
  interface PreviewGroupProps extends Omit<PreviewGroupProps$1, 'preview' | 'styles'> {
@@ -1,7 +1,6 @@
1
1
  import { GroupPreviewConfig } from "../PreviewGroup.js";
2
2
  import { PreviewConfig } from "../index.js";
3
3
  import { Ref } from "vue";
4
-
5
4
  //#region src/image/hooks/useMergedPreviewConfig.d.ts
6
5
  declare function useMergedPreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(previewConfig: Ref<T>, contextPreviewConfig: Ref<T>, prefixCls: Ref<string>, mergedRootClassName: Ref<string>, getContextPopupContainer: PreviewConfig['getContainer'], icons: Ref<PreviewConfig['icons']>, defaultCover?: Ref<any>): import("vue").ComputedRef<{
7
6
  motionName: string;
@@ -1,21 +1,20 @@
1
1
  import { GroupPreviewConfig } from "../PreviewGroup.js";
2
2
  import { PreviewConfig } from "../index.js";
3
3
  import { Ref } from "vue";
4
-
5
4
  //#region src/image/hooks/usePreviewConfig.d.ts
6
5
  declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(preview: Ref<T | boolean | undefined>): import("vue").ComputedRef<({} | null)[] | readonly [{
7
6
  readonly open: boolean | undefined;
8
7
  readonly onOpenChange: ((value: boolean, info: {
9
8
  current: number;
10
9
  }) => void) | undefined;
11
- readonly cover: string | number | boolean | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}> | {
10
+ readonly cover: string | number | boolean | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }> | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}> | {
12
13
  new (...args: any[]): any;
13
14
  __isFragment?: never;
14
15
  __isTeleport?: never;
15
16
  __isSuspense?: never;
16
- } | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
- [key: string]: any;
18
- }> | (string | number | boolean | void | import("vue").Component | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ } | (string | number | boolean | void | import("vue").Component | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
18
  [key: string]: any;
20
19
  }> | null | undefined)[] | import("@v-c/image").CoverConfig | {
21
20
  enabled?: boolean;
@@ -37,12 +36,12 @@ declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(
37
36
  image: import("@v-c/image").ImgInfo;
38
37
  }) => import("@v-c/util").VueNode;
39
38
  readonly onChange?: (current: number, prevCurrent: number) => void;
40
- readonly afterOpenChange?: (open: boolean) => void;
41
- readonly zIndex?: number;
39
+ readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
42
40
  readonly focusTrap?: boolean;
41
+ readonly afterOpenChange?: (open: boolean) => void;
43
42
  readonly maskClosable?: boolean;
43
+ readonly zIndex?: number;
44
44
  readonly getContainer?: import("@v-c/portal/dist/Portal.js").PortalProps["getContainer"];
45
- readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
46
45
  readonly motionName?: string;
47
46
  readonly src?: string;
48
47
  readonly alt?: string;
@@ -1,10 +1,10 @@
1
1
  import { MaskType } from "../_util/hooks/useMergedMask.js";
2
2
  import { VueNode } from "../_util/type.js";
3
3
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
4
+ import "../_util/hooks/index.js";
4
5
  import InternalPreviewGroup, { PreviewGroupProps as PreviewGroupProps$1 } from "./PreviewGroup.js";
5
6
  import { CSSProperties, SlotsType } from "vue";
6
7
  import { ImageProps as ImageProps$1 } from "@v-c/image";
7
-
8
8
  //#region src/image/index.d.ts
9
9
  type OriginPreviewConfig = NonNullable<Exclude<ImageProps$1['preview'], boolean>>;
10
10
  interface DeprecatedPreviewConfig {
@@ -65,7 +65,9 @@ type ImageStylesType = SemanticStylesType<ImageProps, ImageSemanticStyles, {
65
65
  popup?: ImagePopupSemanticStyles;
66
66
  }>;
67
67
  type PreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
68
- /** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean) => void; /** @deprecated Use `classNames.cover` instead */
68
+ /** @deprecated Use `onOpenChange` instead */
69
+ onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
70
+ /** @deprecated Use `classNames.cover` instead */
69
71
  maskClassName?: string;
70
72
  mask?: MaskType | VueNode;
71
73
  };
@@ -1,7 +1,7 @@
1
1
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import { GenerateStyle } from "../../theme/interface/index.js";
3
+ import "../../theme/internal.js";
3
4
  import { CSSObject } from "@antdv-next/cssinjs";
4
-
5
5
  //#region src/image/style/index.d.ts
6
6
  interface ComponentToken {
7
7
  /**
package/dist/index.d.ts CHANGED
@@ -154,9 +154,9 @@ import Typography, { TypographyLink, TypographyParagraph, TypographyText, Typogr
154
154
  import { DraggerProps } from "./upload/Dragger.js";
155
155
  import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
156
156
  import Watermark, { WatermarkProps } from "./watermark/index.js";
157
+ import "./components.js";
157
158
  import { App, Plugin } from "vue";
158
159
  import { StyleProvider } from "@antdv-next/cssinjs";
159
-
160
160
  //#region src/index.d.ts
161
161
  declare function setPrefix(newPrefix: string): void;
162
162
  declare function install(app: App): void;
@@ -2,7 +2,6 @@ import { EmptyEmit } from "../_util/type.js";
2
2
  import { SizeType } from "../config-provider/SizeContext.js";
3
3
  import { ComponentBaseProps } from "../config-provider/context.js";
4
4
  import { SlotsType } from "vue";
5
-
6
5
  //#region src/input/Group.d.ts
7
6
  interface InputGroupProps extends ComponentBaseProps {
8
7
  size?: SizeType;
@@ -1,11 +1,11 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
+ import "../_util/hooks/index.js";
3
4
  import { SizeType } from "../config-provider/SizeContext.js";
4
5
  import { InputStatus } from "../_util/statusUtils.js";
5
6
  import { ComponentBaseProps, Variant } from "../config-provider/context.js";
6
7
  import { CSSProperties, SlotsType } from "vue";
7
8
  import { InputProps as InputProps$1, InputRef as InputRef$1 } from "@v-c/input";
8
-
9
9
  //#region src/input/Input.d.ts
10
10
  type InputSemanticName = keyof InputSemanticClassNames & keyof InputSemanticStyles;
11
11
  interface InputSemanticClassNames {
@@ -1,7 +1,6 @@
1
1
  import { EmptyEmit } from "../../_util/type.js";
2
2
  import { InputProps } from "../Input.js";
3
3
  import { SlotsType } from "vue";
4
-
5
4
  //#region src/input/OTP/OTPInput.d.ts
6
5
  interface OTPInputProps extends Omit<InputProps, 'onChange'> {
7
6
  prefixCls: string;
@@ -5,6 +5,7 @@ import { clsx } from "@v-c/util";
5
5
  import raf from "@v-c/util/dist/raf";
6
6
  import { omit } from "es-toolkit";
7
7
  //#region src/input/OTP/OTPInput.tsx
8
+ const DEFAULT_MASK_VALUE = "•";
8
9
  const OTPInput = /* @__PURE__ */ defineComponent((props, { attrs, expose, slots }) => {
9
10
  const inputRef = shallowRef();
10
11
  expose({
@@ -37,17 +38,16 @@ const OTPInput = /* @__PURE__ */ defineComponent((props, { attrs, expose, slots
37
38
  "onActiveChange",
38
39
  "mask"
39
40
  ]);
40
- const maskValue = typeof props.mask === "string" ? props.mask : props.value;
41
41
  return () => createVNode("span", {
42
42
  "class": `${props.prefixCls}-input-wrapper`,
43
43
  "role": "presentation"
44
44
  }, [props.mask && props.value !== "" && props.value !== void 0 && createVNode("span", {
45
45
  "class": `${props.prefixCls}-mask-icon`,
46
46
  "aria-hidden": "true"
47
- }, [maskValue]), createVNode(InternalInput, mergeProps(restAttrs, restInputProps, {
47
+ }, [typeof props.mask === "string" ? props.mask : DEFAULT_MASK_VALUE]), createVNode(InternalInput, mergeProps(restAttrs, restInputProps, {
48
48
  "ref": inputRef,
49
49
  "value": props.value,
50
- "type": props.mask === true ? "password" : props.type ?? "text",
50
+ "type": props.type ?? (props.mask ? "password" : "text"),
51
51
  "class": clsx(className, { [`${props.prefixCls}-mask-input`]: props.mask }),
52
52
  "style": style,
53
53
  "onChange": handleChange,
@@ -1,10 +1,10 @@
1
1
  import { VueNode } from "../../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../../_util/hooks/useMergeSemantic.js";
3
+ import "../../_util/hooks/index.js";
3
4
  import { SizeType } from "../../config-provider/SizeContext.js";
4
5
  import { InputStatus } from "../../_util/statusUtils.js";
5
6
  import { ComponentBaseProps, Variant } from "../../config-provider/context.js";
6
7
  import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
7
-
8
8
  //#region src/input/OTP/index.d.ts
9
9
  interface OTPSemanticClassNames {
10
10
  root?: string;
@@ -34,7 +34,8 @@ const OTP = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots }) => {
34
34
  const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps));
35
35
  const inputRefs = shallowRef({});
36
36
  const internalFormatter = (txt) => props.formatter ? props.formatter(txt) : txt;
37
- const valueCells = shallowRef(strToArr(internalFormatter(props.value ?? props.defaultValue ?? "")));
37
+ const initialValue = internalFormatter(props.value ?? props.defaultValue ?? "");
38
+ const valueCells = shallowRef(strToArr(initialValue));
38
39
  watch(() => props.value, (newValue) => {
39
40
  valueCells.value = strToArr(internalFormatter(newValue ?? ""));
40
41
  });
@@ -56,7 +57,8 @@ const OTP = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots }) => {
56
57
  if (nextCells[i]) break;
57
58
  nextCells.pop();
58
59
  }
59
- return strToArr(internalFormatter(nextCells.map((cell) => cell || " ").join(""))).map((cell, i) => {
60
+ const formattedValue = internalFormatter(nextCells.map((cell) => cell || " ").join(""));
61
+ return strToArr(formattedValue).map((cell, i) => {
60
62
  if (cell === " " && !nextCells[i]) return nextCells[i];
61
63
  return cell;
62
64
  });
@@ -1,7 +1,6 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { InputEmits, InputProps, InputRef } from "./Input.js";
3
3
  import { SlotsType } from "vue";
4
-
5
4
  //#region src/input/Password.d.ts
6
5
  type VisibilityToggle = boolean | {
7
6
  tabIndex?: number;
@@ -1,11 +1,11 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
+ import "../_util/hooks/index.js";
3
4
  import { SizeType } from "../config-provider/SizeContext.js";
4
5
  import { InputEmits, InputProps, InputRef } from "./Input.js";
5
6
  import { ComponentBaseProps } from "../config-provider/context.js";
6
7
  import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.js";
7
8
  import { CSSProperties, SlotsType } from "vue";
8
-
9
9
  //#region src/input/Search.d.ts
10
10
  type InputSearchSemanticName = keyof InputSearchSemanticClassNames & keyof InputSearchSemanticStyles;
11
11
  interface InputSearchSemanticClassNames {
@@ -1,11 +1,11 @@
1
1
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
2
+ import "../_util/hooks/index.js";
2
3
  import { SizeType } from "../config-provider/SizeContext.js";
3
4
  import { InputStatus } from "../_util/statusUtils.js";
4
5
  import { ComponentBaseProps, Variant } from "../config-provider/context.js";
5
6
  import { CSSProperties, SlotsType } from "vue";
6
7
  import { InputProps } from "@v-c/input";
7
8
  import { TextAreaProps as TextAreaProps$1, TextAreaRef as TextAreaRef$1 } from "@v-c/textarea";
8
-
9
9
  //#region src/input/TextArea.d.ts
10
10
  type TextAreaSemanticName = keyof TextAreaSemanticClassNames & keyof TextAreaSemanticStyles;
11
11
  interface TextAreaSemanticClassNames {
@@ -1,6 +1,5 @@
1
1
  import { Ref } from "vue";
2
2
  import { InputRef } from "@v-c/input";
3
-
4
3
  //#region src/input/hooks/useRemovePasswordTimeout.d.ts
5
4
  /**
6
5
  * Clear the `value` attribute of password inputs to avoid browser autofill flashes.