antdv-next 1.2.2-beta.2 → 1.3.0-beta.1

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 (496) hide show
  1. package/dist/_util/ActionButton.d.ts +2 -2
  2. package/dist/_util/ContextIsolator.d.ts +3 -3
  3. package/dist/_util/PurePanel.d.ts +3 -3
  4. package/dist/_util/hooks/useClosable.d.ts +7 -7
  5. package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
  6. package/dist/_util/hooks/useMergedMask.d.ts +3 -3
  7. package/dist/_util/instance.d.ts +2 -2
  8. package/dist/_util/responsiveObserver.d.ts +2 -2
  9. package/dist/_util/statusUtils.d.ts +1 -1
  10. package/dist/_util/vueNode.d.ts +4 -9
  11. package/dist/_util/wave/WaveEffect.d.ts +4 -4
  12. package/dist/_util/wave/index.d.ts +2 -2
  13. package/dist/_util/wave/style.d.ts +2 -2
  14. package/dist/_util/wave/util.d.ts +1 -1
  15. package/dist/_util/wave/util.js +1 -1
  16. package/dist/_util/zindexContext.d.ts +2 -2
  17. package/dist/affix/index.d.ts +3 -3
  18. package/dist/affix/style/index.d.ts +2 -2
  19. package/dist/alert/Alert.d.ts +17 -10
  20. package/dist/alert/Alert.js +9 -3
  21. package/dist/alert/style/index.d.ts +3 -3
  22. package/dist/alert/style/index.js +2 -2
  23. package/dist/anchor/Anchor.d.ts +3 -3
  24. package/dist/anchor/Anchor.js +2 -2
  25. package/dist/anchor/AnchorLink.d.ts +9 -4
  26. package/dist/anchor/AnchorLink.js +5 -1
  27. package/dist/anchor/style/index.d.ts +2 -2
  28. package/dist/antd-with-locales.esm.js +14565 -14222
  29. package/dist/antd-with-locales.js +73 -80
  30. package/dist/antd.css +1 -1
  31. package/dist/antd.esm.js +10739 -10397
  32. package/dist/antd.js +70 -77
  33. package/dist/app/App.d.ts +2 -2
  34. package/dist/app/App.js +6 -1
  35. package/dist/app/context.d.ts +2 -2
  36. package/dist/app/style/index.d.ts +2 -2
  37. package/dist/auto-complete/index.d.ts +6 -6
  38. package/dist/auto-complete/index.js +1 -1
  39. package/dist/avatar/Avatar.d.ts +5 -5
  40. package/dist/avatar/AvatarGroup.d.ts +2 -2
  41. package/dist/avatar/style/index.d.ts +3 -3
  42. package/dist/badge/Ribbon.d.ts +4 -4
  43. package/dist/badge/ScrollNumber.d.ts +2 -2
  44. package/dist/badge/SingleNumber.d.ts +2 -2
  45. package/dist/badge/index.d.ts +6 -6
  46. package/dist/badge/style/index.d.ts +7 -2
  47. package/dist/badge/style/index.js +4 -3
  48. package/dist/badge/style/ribbon.d.ts +2 -2
  49. package/dist/border-beam/BorderBeam.d.ts +19 -0
  50. package/dist/border-beam/BorderBeam.js +82 -0
  51. package/dist/border-beam/hooks/useBorderSize.d.ts +12 -0
  52. package/dist/border-beam/hooks/useBorderSize.js +42 -0
  53. package/dist/border-beam/index.d.ts +3 -0
  54. package/dist/border-beam/index.js +7 -0
  55. package/dist/border-beam/style/index.d.ts +7 -0
  56. package/dist/border-beam/style/index.js +59 -0
  57. package/dist/border-beam/util.d.ts +11 -0
  58. package/dist/border-beam/util.js +35 -0
  59. package/dist/breadcrumb/Breadcrumb.d.ts +7 -7
  60. package/dist/breadcrumb/BreadcrumbItem.d.ts +7 -7
  61. package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
  62. package/dist/breadcrumb/style/index.d.ts +2 -2
  63. package/dist/breadcrumb/useItemRender.d.ts +2 -2
  64. package/dist/button/Button.d.ts +4 -4
  65. package/dist/button/Button.js +1 -0
  66. package/dist/button/DefaultLoadingIcon.d.ts +2 -2
  67. package/dist/button/IconWrapper.d.ts +2 -2
  68. package/dist/button/buttonHelper.d.ts +1 -1
  69. package/dist/button/style/compact.d.ts +4 -4
  70. package/dist/button/style/index.d.ts +2 -2
  71. package/dist/button/style/index.js +5 -0
  72. package/dist/calendar/Header.d.ts +2 -2
  73. package/dist/calendar/generateCalendar.d.ts +12 -10
  74. package/dist/calendar/generateCalendar.js +8 -2
  75. package/dist/calendar/index.d.ts +2 -2
  76. package/dist/calendar/style/index.d.ts +2 -2
  77. package/dist/card/Card.d.ts +11 -11
  78. package/dist/card/CardGrid.d.ts +2 -2
  79. package/dist/card/CardMeta.d.ts +6 -6
  80. package/dist/card/style/index.d.ts +2 -2
  81. package/dist/carousel/index.d.ts +5 -5
  82. package/dist/carousel/style/index.d.ts +2 -2
  83. package/dist/cascader/Panel.d.ts +2 -2
  84. package/dist/cascader/hooks/useBase.d.ts +5 -5
  85. package/dist/cascader/hooks/useCheckable.d.ts +2 -2
  86. package/dist/cascader/index.d.ts +4 -4
  87. package/dist/cascader/index.js +11 -2
  88. package/dist/cascader/style/index.d.ts +2 -2
  89. package/dist/cascader/style/panel.d.ts +2 -2
  90. package/dist/checkbox/Checkbox.d.ts +2 -2
  91. package/dist/checkbox/Group.d.ts +4 -4
  92. package/dist/checkbox/style/index.d.ts +4 -4
  93. package/dist/collapse/Collapse.d.ts +5 -5
  94. package/dist/collapse/CollapsePanel.d.ts +5 -5
  95. package/dist/collapse/style/index.d.ts +2 -2
  96. package/dist/color-picker/ColorPicker.d.ts +2 -2
  97. package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
  98. package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
  99. package/dist/color-picker/components/ColorClear.d.ts +2 -2
  100. package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
  101. package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
  102. package/dist/color-picker/components/ColorInput.d.ts +2 -2
  103. package/dist/color-picker/components/ColorPresets.d.ts +2 -2
  104. package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
  105. package/dist/color-picker/components/ColorSlider.d.ts +3 -3
  106. package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
  107. package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
  108. package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
  109. package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
  110. package/dist/color-picker/components/PanelPicker/index.js +0 -1
  111. package/dist/color-picker/components/PanelPresets.d.ts +2 -2
  112. package/dist/color-picker/context.d.ts +3 -3
  113. package/dist/color-picker/hooks/useModeColor.d.ts +4 -4
  114. package/dist/color-picker/interface.d.ts +2 -2
  115. package/dist/color-picker/style/index.d.ts +2 -2
  116. package/dist/components.d.ts +4 -1
  117. package/dist/components.js +3 -1
  118. package/dist/config-provider/DisabledContext.d.ts +2 -2
  119. package/dist/config-provider/SizeContext.d.ts +2 -2
  120. package/dist/config-provider/context.d.ts +67 -34
  121. package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
  122. package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
  123. package/dist/config-provider/hooks/useConfig.d.ts +3 -3
  124. package/dist/config-provider/hooks/useSize.d.ts +2 -2
  125. package/dist/config-provider/hooks/useTheme.d.ts +2 -2
  126. package/dist/config-provider/index.d.ts +4 -4
  127. package/dist/config-provider/index.js +11 -3
  128. package/dist/date-picker/PickerButton.d.ts +2 -2
  129. package/dist/date-picker/generatePicker/SuffixIcon.d.ts +5 -5
  130. package/dist/date-picker/generatePicker/SuffixIcon.js +1 -1
  131. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -4
  132. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +9 -9
  133. package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -0
  134. package/dist/date-picker/generatePicker/index.d.ts +8 -8
  135. package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
  136. package/dist/date-picker/index.d.ts +13 -13
  137. package/dist/date-picker/style/index.d.ts +2 -2
  138. package/dist/date-picker/style/index.js +13 -3
  139. package/dist/date-picker/util.d.ts +7 -3
  140. package/dist/descriptions/Cell.d.ts +5 -5
  141. package/dist/descriptions/Item.d.ts +5 -5
  142. package/dist/descriptions/Row.d.ts +2 -2
  143. package/dist/descriptions/Row.js +3 -3
  144. package/dist/descriptions/hooks/useItems.d.ts +11 -11
  145. package/dist/descriptions/hooks/useRow.d.ts +2 -2
  146. package/dist/descriptions/index.d.ts +5 -5
  147. package/dist/descriptions/style/index.d.ts +2 -2
  148. package/dist/divider/index.d.ts +2 -2
  149. package/dist/divider/style/index.d.ts +2 -2
  150. package/dist/drawer/DrawerPanel.d.ts +7 -7
  151. package/dist/drawer/index.d.ts +3 -3
  152. package/dist/drawer/index.js +5 -2
  153. package/dist/drawer/style/index.d.ts +2 -2
  154. package/dist/drawer/useFocusable.d.ts +2 -2
  155. package/dist/dropdown/dropdown.d.ts +2 -2
  156. package/dist/dropdown/style/index.d.ts +2 -2
  157. package/dist/dropdown/style/index.js +1 -1
  158. package/dist/empty/empty.d.ts +2 -2
  159. package/dist/empty/index.d.ts +8 -8
  160. package/dist/empty/simple.d.ts +2 -2
  161. package/dist/empty/style/index.d.ts +2 -2
  162. package/dist/flex/index.d.ts +2 -2
  163. package/dist/flex/style/index.d.ts +2 -2
  164. package/dist/float-button/BackTop.d.ts +2 -2
  165. package/dist/float-button/BackTop.js +5 -0
  166. package/dist/float-button/FloatButton.d.ts +8 -7
  167. package/dist/float-button/FloatButton.js +6 -0
  168. package/dist/float-button/FloatButtonGroup.d.ts +4 -4
  169. package/dist/float-button/FloatButtonGroup.js +5 -0
  170. package/dist/float-button/PurePanel.d.ts +2 -2
  171. package/dist/float-button/PurePanel.js +10 -0
  172. package/dist/float-button/context.d.ts +3 -3
  173. package/dist/float-button/style/index.d.ts +2 -2
  174. package/dist/form/ErrorList.d.ts +8 -4
  175. package/dist/form/ErrorList.js +13 -2
  176. package/dist/form/Form.d.ts +9 -2
  177. package/dist/form/Form.js +10 -2
  178. package/dist/form/FormItem/ItemHolder.d.ts +3 -3
  179. package/dist/form/FormItem/StatusProvider.d.ts +2 -2
  180. package/dist/form/FormItem/index.d.ts +2 -2
  181. package/dist/form/FormItemInput.d.ts +6 -6
  182. package/dist/form/FormItemInput.js +6 -2
  183. package/dist/form/FormItemLabel.d.ts +7 -7
  184. package/dist/form/context.d.ts +7 -7
  185. package/dist/form/hooks/useVariant.d.ts +2 -2
  186. package/dist/form/style/fallbackCmp.d.ts +4 -4
  187. package/dist/form/style/index.d.ts +2 -2
  188. package/dist/grid/col.d.ts +2 -2
  189. package/dist/grid/index.d.ts +2 -2
  190. package/dist/grid/row.d.ts +2 -2
  191. package/dist/grid/style/index.d.ts +3 -3
  192. package/dist/image/PreviewGroup.d.ts +12 -12
  193. package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
  194. package/dist/image/hooks/usePreviewConfig.d.ts +8 -8
  195. package/dist/image/index.d.ts +12 -5
  196. package/dist/image/style/index.d.ts +2 -2
  197. package/dist/index.d.ts +3 -1
  198. package/dist/index.js +2 -1
  199. package/dist/input/Group.d.ts +3 -3
  200. package/dist/input/Input.d.ts +10 -7
  201. package/dist/input/Input.js +8 -2
  202. package/dist/input/OTP/OTPInput.d.ts +3 -3
  203. package/dist/input/OTP/OTPInput.js +4 -0
  204. package/dist/input/OTP/index.d.ts +4 -4
  205. package/dist/input/Password.d.ts +4 -4
  206. package/dist/input/Password.js +4 -0
  207. package/dist/input/Search.d.ts +14 -4
  208. package/dist/input/Search.js +19 -2
  209. package/dist/input/TextArea.d.ts +2 -2
  210. package/dist/input/index.d.ts +6 -6
  211. package/dist/input/style/index.d.ts +3 -3
  212. package/dist/input/style/index.js +6 -1
  213. package/dist/input/style/otp.d.ts +2 -2
  214. package/dist/input/style/otp.js +2 -1
  215. package/dist/input/style/search.d.ts +2 -2
  216. package/dist/input/style/textarea.d.ts +2 -2
  217. package/dist/input/style/variants.js +14 -8
  218. package/dist/input-number/index.d.ts +9 -9
  219. package/dist/input-number/style/index.d.ts +2 -2
  220. package/dist/input-number/style/index.js +1 -1
  221. package/dist/layout/Sider.d.ts +2 -2
  222. package/dist/layout/index.d.ts +5 -5
  223. package/dist/layout/layout.d.ts +5 -5
  224. package/dist/layout/style/index.d.ts +2 -2
  225. package/dist/layout/style/sider.d.ts +2 -2
  226. package/dist/locale/index.d.ts +2 -2
  227. package/dist/locale/useLocale.d.ts +2 -2
  228. package/dist/masonry/Masonry.d.ts +3 -3
  229. package/dist/masonry/MasonryItem.d.ts +4 -4
  230. package/dist/masonry/hooks/usePositions.d.ts +2 -2
  231. package/dist/masonry/style/index.d.ts +2 -2
  232. package/dist/mentions/index.d.ts +6 -6
  233. package/dist/mentions/index.js +7 -1
  234. package/dist/mentions/style/index.d.ts +2 -2
  235. package/dist/menu/MenuContext.d.ts +3 -3
  236. package/dist/menu/MenuDivider.d.ts +2 -2
  237. package/dist/menu/MenuItem.d.ts +5 -5
  238. package/dist/menu/MenuItemGroup.d.ts +4 -4
  239. package/dist/menu/OverrideContext.d.ts +5 -5
  240. package/dist/menu/SubMenu.d.ts +4 -4
  241. package/dist/menu/index.d.ts +3 -3
  242. package/dist/menu/menu.d.ts +2 -2
  243. package/dist/menu/style/index.d.ts +2 -2
  244. package/dist/menu/style/index.js +11 -3
  245. package/dist/menu/style/vertical.js +2 -1
  246. package/dist/message/PureList.d.ts +28 -0
  247. package/dist/message/PureList.js +75 -0
  248. package/dist/message/PurePanel.d.ts +17 -9
  249. package/dist/message/PurePanel.js +33 -38
  250. package/dist/message/index.d.ts +3 -0
  251. package/dist/message/index.js +3 -1
  252. package/dist/message/interface.d.ts +11 -5
  253. package/dist/message/style/index.d.ts +12 -6
  254. package/dist/message/style/index.js +102 -98
  255. package/dist/message/useMessage.d.ts +3 -3
  256. package/dist/message/useMessage.js +18 -14
  257. package/dist/message/util.js +1 -1
  258. package/dist/modal/ConfirmDialog.d.ts +4 -4
  259. package/dist/modal/Modal.d.ts +2 -2
  260. package/dist/modal/Modal.js +7 -3
  261. package/dist/modal/PurePanel.d.ts +2 -2
  262. package/dist/modal/components/ConfirmCancelBtn.d.ts +4 -4
  263. package/dist/modal/components/ConfirmOkBtn.d.ts +4 -4
  264. package/dist/modal/components/NormalCancelBtn.d.ts +4 -4
  265. package/dist/modal/components/NormalOkBtn.d.ts +4 -4
  266. package/dist/modal/interface.d.ts +22 -14
  267. package/dist/modal/shared.d.ts +4 -4
  268. package/dist/modal/style/confirm.d.ts +4 -4
  269. package/dist/modal/style/index.d.ts +4 -4
  270. package/dist/modal/useModal/HookModal.d.ts +3 -3
  271. package/dist/notification/PureList.d.ts +32 -0
  272. package/dist/notification/PureList.js +72 -0
  273. package/dist/notification/PurePanel.d.ts +16 -13
  274. package/dist/notification/PurePanel.js +42 -19
  275. package/dist/notification/index.d.ts +3 -0
  276. package/dist/notification/index.js +3 -1
  277. package/dist/notification/interface.d.ts +8 -8
  278. package/dist/notification/style/index.d.ts +27 -26
  279. package/dist/notification/style/index.js +104 -174
  280. package/dist/notification/style/notification.d.ts +23 -0
  281. package/dist/notification/style/notification.js +195 -0
  282. package/dist/notification/style/placement.d.ts +1 -0
  283. package/dist/notification/style/placement.js +125 -60
  284. package/dist/notification/useNotification.d.ts +3 -3
  285. package/dist/notification/useNotification.js +22 -14
  286. package/dist/notification/util.d.ts +14 -4
  287. package/dist/notification/util.js +18 -52
  288. package/dist/package.js +1 -1
  289. package/dist/package.json.d.ts +12 -12
  290. package/dist/pagination/Pagination.d.ts +2 -2
  291. package/dist/pagination/interface.d.ts +7 -7
  292. package/dist/pagination/style/bordered.d.ts +4 -4
  293. package/dist/pagination/style/index.d.ts +2 -2
  294. package/dist/popconfirm/PurePanel.d.ts +6 -7
  295. package/dist/popconfirm/PurePanel.js +4 -1
  296. package/dist/popconfirm/index.d.ts +16 -12
  297. package/dist/popconfirm/style/index.d.ts +2 -2
  298. package/dist/popover/PurePanel.d.ts +7 -7
  299. package/dist/popover/index.d.ts +5 -5
  300. package/dist/popover/style/index.d.ts +2 -2
  301. package/dist/progress/Circle.d.ts +3 -3
  302. package/dist/progress/Line.d.ts +3 -3
  303. package/dist/progress/Steps.d.ts +2 -2
  304. package/dist/progress/progress.d.ts +2 -2
  305. package/dist/progress/style/index.d.ts +2 -2
  306. package/dist/qrcode/QrcodeStatus.d.ts +2 -2
  307. package/dist/qrcode/index.d.ts +2 -2
  308. package/dist/qrcode/style/index.d.ts +2 -2
  309. package/dist/radio/group.d.ts +2 -2
  310. package/dist/radio/index.d.ts +3 -3
  311. package/dist/radio/radio.d.ts +2 -2
  312. package/dist/radio/radioButton.d.ts +2 -2
  313. package/dist/radio/style/index.d.ts +2 -2
  314. package/dist/rate/index.d.ts +2 -2
  315. package/dist/rate/style/index.d.ts +2 -2
  316. package/dist/result/index.d.ts +7 -7
  317. package/dist/result/noFound.d.ts +2 -2
  318. package/dist/result/serverError.d.ts +2 -2
  319. package/dist/result/style/index.d.ts +4 -4
  320. package/dist/result/style/index.js +1 -1
  321. package/dist/result/unauthorized.d.ts +2 -2
  322. package/dist/segmented/index.d.ts +4 -4
  323. package/dist/segmented/index.js +1 -1
  324. package/dist/segmented/style/index.d.ts +2 -2
  325. package/dist/select/index.d.ts +8 -8
  326. package/dist/select/index.js +1 -1
  327. package/dist/select/style/dropdown.js +1 -1
  328. package/dist/select/style/index.d.ts +2 -2
  329. package/dist/select/style/select-input.js +10 -5
  330. package/dist/select/useIcons.d.ts +15 -10
  331. package/dist/select/usePopupRender.d.ts +2 -2
  332. package/dist/skeleton/Avatar.d.ts +2 -2
  333. package/dist/skeleton/Button.d.ts +2 -2
  334. package/dist/skeleton/Element.d.ts +2 -2
  335. package/dist/skeleton/Image.d.ts +2 -2
  336. package/dist/skeleton/Input.d.ts +2 -2
  337. package/dist/skeleton/Node.d.ts +2 -2
  338. package/dist/skeleton/Paragraph.d.ts +2 -2
  339. package/dist/skeleton/Skeleton.d.ts +2 -2
  340. package/dist/skeleton/Title.d.ts +2 -2
  341. package/dist/skeleton/style/index.d.ts +2 -2
  342. package/dist/slider/SliderTooltip.d.ts +3 -3
  343. package/dist/slider/index.d.ts +2 -2
  344. package/dist/slider/style/index.d.ts +2 -2
  345. package/dist/space/Addon.d.ts +2 -2
  346. package/dist/space/Compact.d.ts +6 -6
  347. package/dist/space/Item.d.ts +2 -2
  348. package/dist/space/index.d.ts +6 -6
  349. package/dist/space/style/addon.d.ts +2 -2
  350. package/dist/space/style/compact.d.ts +2 -2
  351. package/dist/space/style/index.d.ts +16 -3
  352. package/dist/spin/Indicator/Looper.d.ts +2 -2
  353. package/dist/spin/Indicator/Progress.d.ts +2 -2
  354. package/dist/spin/Indicator/index.d.ts +4 -4
  355. package/dist/spin/index.d.ts +7 -7
  356. package/dist/spin/style/index.d.ts +2 -2
  357. package/dist/spin/usePercent.d.ts +2 -2
  358. package/dist/splitter/Panel.d.ts +3 -3
  359. package/dist/splitter/Panel.js +14 -3
  360. package/dist/splitter/SplitBar.d.ts +2 -2
  361. package/dist/splitter/Splitter.d.ts +2 -2
  362. package/dist/splitter/Splitter.js +8 -2
  363. package/dist/splitter/hooks/useResizable.d.ts +2 -2
  364. package/dist/splitter/hooks/useResize.d.ts +2 -2
  365. package/dist/splitter/hooks/useSizes.d.ts +2 -2
  366. package/dist/splitter/index.d.ts +2 -2
  367. package/dist/splitter/interface.d.ts +21 -4
  368. package/dist/splitter/style/index.d.ts +2 -2
  369. package/dist/statistic/Number.d.ts +2 -2
  370. package/dist/statistic/Statistic.d.ts +6 -6
  371. package/dist/statistic/Timer.d.ts +2 -2
  372. package/dist/statistic/index.d.ts +2 -2
  373. package/dist/statistic/style/index.d.ts +3 -3
  374. package/dist/steps/PanelArrow.d.ts +2 -2
  375. package/dist/steps/ProgressIcon.d.ts +2 -2
  376. package/dist/steps/index.d.ts +8 -8
  377. package/dist/steps/style/index.d.ts +3 -3
  378. package/dist/style/compact-item-vertical.js +2 -1
  379. package/dist/style/compact-item.js +6 -6
  380. package/dist/switch/index.d.ts +5 -5
  381. package/dist/switch/style/index.d.ts +2 -2
  382. package/dist/table/Column.d.ts +2 -2
  383. package/dist/table/ColumnGroup.d.ts +2 -2
  384. package/dist/table/ExpandIcon.d.ts +2 -2
  385. package/dist/table/InternalTable.d.ts +2 -2
  386. package/dist/table/InternalTable.js +6 -4
  387. package/dist/table/TableMeasureRowContext.d.ts +3 -3
  388. package/dist/table/hooks/useFilledColumns.d.ts +14 -0
  389. package/dist/table/hooks/useFilledColumns.js +41 -0
  390. package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
  391. package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
  392. package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
  393. package/dist/table/hooks/useFilter/index.d.ts +26 -26
  394. package/dist/table/hooks/usePagination.d.ts +2 -2
  395. package/dist/table/hooks/useSelection.d.ts +2 -2
  396. package/dist/table/hooks/useSorter.d.ts +2 -2
  397. package/dist/table/style/index.d.ts +2 -2
  398. package/dist/tabs/TabPane.d.ts +2 -2
  399. package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
  400. package/dist/tabs/index.d.ts +9 -7
  401. package/dist/tabs/style/index.d.ts +2 -2
  402. package/dist/tag/CheckableTag.d.ts +4 -4
  403. package/dist/tag/CheckableTagGroup.d.ts +4 -4
  404. package/dist/tag/hooks/useColor.d.ts +2 -2
  405. package/dist/tag/index.d.ts +7 -5
  406. package/dist/tag/index.js +7 -2
  407. package/dist/tag/style/presetCmp.d.ts +4 -4
  408. package/dist/tag/style/statusCmp.d.ts +4 -4
  409. package/dist/theme/context.d.ts +2 -2
  410. package/dist/theme/index.d.ts +4 -4
  411. package/dist/theme/interface/alias.d.ts +14 -0
  412. package/dist/theme/interface/components.d.ts +118 -116
  413. package/dist/theme/interface/maps/colors.d.ts +14 -0
  414. package/dist/theme/interface/maps/font.d.ts +5 -5
  415. package/dist/theme/themes/shared/genColorMapToken.js +2 -0
  416. package/dist/theme/useToken.js +1 -1
  417. package/dist/theme/util/alias.js +2 -0
  418. package/dist/theme/util/genStyleUtils.d.ts +6 -6
  419. package/dist/time-picker/index.d.ts +6 -6
  420. package/dist/time-picker/index.js +7 -12
  421. package/dist/timeline/Timeline.d.ts +11 -11
  422. package/dist/timeline/TimelineItem.d.ts +2 -2
  423. package/dist/timeline/style/index.d.ts +2 -2
  424. package/dist/tooltip/PurePanel.d.ts +2 -2
  425. package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
  426. package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
  427. package/dist/tooltip/index.d.ts +5 -5
  428. package/dist/tooltip/index.js +9 -3
  429. package/dist/tooltip/style/index.d.ts +2 -2
  430. package/dist/tour/PurePanel.d.ts +2 -2
  431. package/dist/tour/index.d.ts +2 -2
  432. package/dist/tour/index.js +5 -0
  433. package/dist/tour/interface.d.ts +6 -4
  434. package/dist/tour/panelRender.d.ts +2 -2
  435. package/dist/tour/panelRender.js +4 -9
  436. package/dist/tour/style/index.d.ts +2 -2
  437. package/dist/transfer/Actions.d.ts +4 -4
  438. package/dist/transfer/ListBody.d.ts +2 -2
  439. package/dist/transfer/ListItem.d.ts +4 -4
  440. package/dist/transfer/Section.d.ts +2 -2
  441. package/dist/transfer/Transfer.d.ts +2 -2
  442. package/dist/transfer/Transfer.js +34 -4
  443. package/dist/transfer/hooks/useData.d.ts +2 -2
  444. package/dist/transfer/interface.d.ts +47 -15
  445. package/dist/transfer/search.d.ts +4 -4
  446. package/dist/transfer/style/index.d.ts +2 -2
  447. package/dist/tree/DirectoryTree.d.ts +2 -2
  448. package/dist/tree/DirectoryTree.js +0 -4
  449. package/dist/tree/Tree.d.ts +10 -8
  450. package/dist/tree/Tree.js +0 -4
  451. package/dist/tree/style/index.d.ts +2 -2
  452. package/dist/tree/utils/dropIndicator.d.ts +2 -2
  453. package/dist/tree/utils/iconUtil.d.ts +4 -4
  454. package/dist/tree-select/index.d.ts +8 -6
  455. package/dist/tree-select/index.js +1 -1
  456. package/dist/tree-select/style/index.d.ts +2 -2
  457. package/dist/typography/Base/CopyBtn.d.ts +2 -2
  458. package/dist/typography/Base/Ellipsis.d.ts +5 -5
  459. package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
  460. package/dist/typography/Base/index.d.ts +2 -2
  461. package/dist/typography/Base/index.js +31 -26
  462. package/dist/typography/Editable.d.ts +11 -4
  463. package/dist/typography/Editable.js +18 -3
  464. package/dist/typography/Link.d.ts +2 -2
  465. package/dist/typography/Link.js +4 -0
  466. package/dist/typography/Paragraph.d.ts +2 -2
  467. package/dist/typography/Paragraph.js +4 -0
  468. package/dist/typography/Text.d.ts +2 -2
  469. package/dist/typography/Text.js +4 -0
  470. package/dist/typography/Title.d.ts +2 -2
  471. package/dist/typography/Title.js +4 -0
  472. package/dist/typography/Typography.d.ts +2 -2
  473. package/dist/typography/hooks/useCopyClick.d.ts +3 -3
  474. package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
  475. package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
  476. package/dist/typography/index.d.ts +5 -5
  477. package/dist/typography/interface.d.ts +25 -17
  478. package/dist/typography/style/index.d.ts +2 -2
  479. package/dist/typography/style/mixins.js +4 -1
  480. package/dist/upload/Dragger.d.ts +3 -3
  481. package/dist/upload/Upload.d.ts +2 -2
  482. package/dist/upload/UploadList/ListItem.d.ts +2 -2
  483. package/dist/upload/UploadList/index.d.ts +2 -2
  484. package/dist/upload/index.d.ts +3 -3
  485. package/dist/upload/style/index.d.ts +2 -2
  486. package/dist/upload/utils.js +1 -1
  487. package/dist/watermark/context.d.ts +2 -2
  488. package/dist/watermark/index.d.ts +2 -2
  489. package/dist/watermark/index.js +4 -3
  490. package/package.json +65 -29
  491. package/web-tags.json +888 -878
  492. package/web-types.json +2517 -2499
  493. package/dist/notification/style/pure-panel.d.ts +0 -12
  494. package/dist/notification/style/pure-panel.js +0 -18
  495. package/dist/notification/style/stack.d.ts +0 -9
  496. package/dist/notification/style/stack.js +0 -88
@@ -1,7 +1,7 @@
1
1
  import { EmptyEmit } from "./type.js";
2
2
  import { ButtonProps, LegacyButtonType } from "../button/Button.js";
3
3
  import "../button/index.js";
4
- import * as vue1 from "vue";
4
+ import * as vue36 from "vue";
5
5
  import { SlotsType } from "vue";
6
6
 
7
7
  //#region src/_util/ActionButton.d.ts
@@ -20,6 +20,6 @@ interface ActionButtonProps {
20
20
  interface ActionButtonSlots {
21
21
  default?: () => any;
22
22
  }
23
- declare const ActionButton: vue1.DefineSetupFnComponent<ActionButtonProps, EmptyEmit, SlotsType<ActionButtonSlots>, ActionButtonProps, vue1.PublicProps>;
23
+ declare const ActionButton: vue36.DefineSetupFnComponent<ActionButtonProps, EmptyEmit, SlotsType<ActionButtonSlots>, ActionButtonProps, vue36.PublicProps>;
24
24
  //#endregion
25
25
  export { ActionButtonProps, ActionButtonSlots, ActionButton as default };
@@ -1,12 +1,12 @@
1
- import * as vue394 from "vue";
1
+ import * as vue12 from "vue";
2
2
 
3
3
  //#region src/_util/ContextIsolator.d.ts
4
- declare const ContextIsolator: vue394.DefineSetupFnComponent<{
4
+ declare const ContextIsolator: vue12.DefineSetupFnComponent<{
5
5
  space?: boolean;
6
6
  form?: boolean;
7
7
  }, {}, {}, {
8
8
  space?: boolean;
9
9
  form?: boolean;
10
- } & {}, vue394.PublicProps>;
10
+ } & {}, vue12.PublicProps>;
11
11
  //#endregion
12
12
  export { ContextIsolator };
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from "vue";
2
- import * as vue_jsx_runtime10 from "vue/jsx-runtime";
2
+ import * as vue_jsx_runtime0 from "vue/jsx-runtime";
3
3
 
4
4
  //#region src/_util/PurePanel.d.ts
5
5
  interface BaseProps {
@@ -7,7 +7,7 @@ interface BaseProps {
7
7
  style?: CSSProperties;
8
8
  open?: boolean;
9
9
  }
10
- declare function withPureRenderTheme(Component: any): (props: any) => vue_jsx_runtime10.JSX.Element;
11
- declare function genPurePanel(Component: any, alignPropName?: 'align' | 'dropdownAlign' | 'popupAlign', postProps?: (props: any) => any, defaultPrefixCls?: string, getDropdownCls?: (prefixCls: string) => string): (props: any) => vue_jsx_runtime10.JSX.Element;
10
+ declare function withPureRenderTheme(Component: any): (props: any) => vue_jsx_runtime0.JSX.Element;
11
+ declare function genPurePanel(Component: any, alignPropName?: 'align' | 'dropdownAlign' | 'popupAlign', postProps?: (props: any) => any, defaultPrefixCls?: string, getDropdownCls?: (prefixCls: string) => string): (props: any) => vue_jsx_runtime0.JSX.Element;
12
12
  //#endregion
13
13
  export { BaseProps, genPurePanel as default, withPureRenderTheme };
@@ -1,5 +1,5 @@
1
- import { RenderNodeFn, VueNode } from "../type.js";
2
- import * as vue390 from "vue";
1
+ import { RenderNodeFn, VueNode as VueNode$1 } from "../type.js";
2
+ import * as vue451 from "vue";
3
3
  import { AriaAttributes, Ref, VNodeChild } from "vue";
4
4
 
5
5
  //#region src/_util/hooks/useClosable.d.ts
@@ -7,19 +7,19 @@ interface DataAttributes {
7
7
  [key: `data-${string}`]: string;
8
8
  }
9
9
  type ClosableType = boolean | ({
10
- closeIcon?: VueNode;
10
+ closeIcon?: VueNode$1;
11
11
  disabled?: boolean;
12
12
  } & AriaAttributes);
13
13
  interface BaseContextClosable {
14
14
  closable?: ClosableType;
15
- closeIcon?: VueNode;
15
+ closeIcon?: VueNode$1;
16
16
  }
17
17
  type ContextClosable<T extends BaseContextClosable = any> = Partial<Pick<T, 'closable' | 'closeIcon'>>;
18
18
  declare function pickClosable<T extends BaseContextClosable>(context: Ref<ContextClosable<T>>): Ref<ContextClosable<T> | undefined>;
19
19
  /** Collection contains the all the props related with closable. e.g. `closable`, `closeIcon` */
20
20
  interface ClosableCollection {
21
21
  closable?: ClosableType;
22
- closeIcon?: VueNode;
22
+ closeIcon?: VueNode$1;
23
23
  }
24
24
  interface FallbackCloseCollection extends ClosableCollection {
25
25
  /**
@@ -36,9 +36,9 @@ interface UseClosableParams {
36
36
  customCloseIconRender?: (closeIcon: VNodeChild) => VNodeChild;
37
37
  context?: ContextClosable;
38
38
  }
39
- declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>): vue390.ComputedRef<readonly [true, vue390.VNode<vue390.RendererNode, vue390.RendererElement, {
39
+ declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>): vue451.ComputedRef<readonly [true, vue451.VNode<vue451.RendererNode, vue451.RendererElement, {
40
40
  [key: string]: any;
41
41
  }>, boolean, Record<string, any>] | ({} | null)[] | undefined>;
42
- declare function computeClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>, closeLabel?: string): [closable: boolean, closeIcon: VueNode, closeBtnIsDisabled: boolean, ariaOrDataProps: AriaAttributes & DataAttributes];
42
+ declare function computeClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>, closeLabel?: string): [closable: boolean, closeIcon: VueNode$1, closeBtnIsDisabled: boolean, ariaOrDataProps: AriaAttributes & DataAttributes];
43
43
  //#endregion
44
44
  export { BaseContextClosable, ClosableType, ContextClosable, UseClosableParams, computeClosable, useClosable as default, pickClosable };
@@ -1,5 +1,5 @@
1
1
  import { AnyObject, EmptyObject, ValidChar } from "../type.js";
2
- import * as vue386 from "vue";
2
+ import * as vue445 from "vue";
3
3
  import { CSSProperties, Ref } from "vue";
4
4
 
5
5
  //#region src/_util/hooks/useMergeSemantic.d.ts
@@ -37,12 +37,12 @@ type ObjectOnly<T> = T extends ((...args: any) => any) ? never : T;
37
37
  */
38
38
  declare function useMergeSemantic<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: Ref<MaybeFn<ClassNamesType, Props>[]>, stylesList: Ref<MaybeFn<StylesType, Props>[]>, info: Ref<{
39
39
  props: Props;
40
- }>, schema?: Ref<SemanticSchema>): readonly [vue386.ComputedRef<ObjectOnly<ClassNamesType>>, vue386.ComputedRef<ObjectOnly<StylesType>>];
40
+ }>, schema?: Ref<SemanticSchema>): readonly [vue445.ComputedRef<ObjectOnly<ClassNamesType>>, vue445.ComputedRef<ObjectOnly<StylesType>>];
41
41
  declare function useMergeSemanticNoRef<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: MaybeFn<ClassNamesType, Props>[], stylesList: MaybeFn<StylesType, Props>[], info: {
42
42
  props: Props;
43
43
  }, schema?: SemanticSchema): readonly [ObjectOnly<ClassNamesType>, ObjectOnly<StylesType>];
44
- declare function useToArr<T = any>(...args: Ref<T | undefined>[]): vue386.ComputedRef<(T | undefined)[]>;
45
- declare function useToProps<T>(props: Ref<T>): vue386.ComputedRef<{
44
+ declare function useToArr<T = any>(...args: Ref<T | undefined>[]): vue445.ComputedRef<(T | undefined)[]>;
45
+ declare function useToProps<T>(props: Ref<T>): vue445.ComputedRef<{
46
46
  props: T;
47
47
  }>;
48
48
  interface RemoveBaseAttributesOptions {
@@ -1,4 +1,4 @@
1
- import * as vue381 from "vue";
1
+ import * as vue502 from "vue";
2
2
  import { Ref } from "vue";
3
3
 
4
4
  //#region src/_util/hooks/useMergedMask.d.ts
@@ -9,8 +9,8 @@ interface MaskConfig {
9
9
  }
10
10
  type MaskType = MaskConfig | boolean;
11
11
  declare function normalizeMaskConfig(mask?: MaskType, maskClosable?: boolean): MaskConfig;
12
- declare function useMergedMask(mask: Ref<MaskType | undefined>, contextMask: Ref<MaskType | undefined>, prefixCls: Ref<string | undefined>, maskClosable?: Ref<boolean | undefined>): readonly [vue381.ComputedRef<boolean>, vue381.ComputedRef<{
12
+ declare function useMergedMask(mask: Ref<MaskType | undefined>, contextMask: Ref<MaskType | undefined>, prefixCls: Ref<string | undefined>, maskClosable?: Ref<boolean | undefined>): readonly [vue502.ComputedRef<boolean>, vue502.ComputedRef<{
13
13
  mask: string | undefined;
14
- }>, vue381.ComputedRef<boolean>];
14
+ }>, vue502.ComputedRef<boolean>];
15
15
  //#endregion
16
16
  export { MaskConfig, MaskType, normalizeMaskConfig, useMergedMask };
@@ -1,6 +1,6 @@
1
- import * as vue37 from "vue";
1
+ import * as vue74 from "vue";
2
2
 
3
3
  //#region src/_util/instance.d.ts
4
- declare function getVueInstance(): vue37.AppContext | null;
4
+ declare function getVueInstance(): vue74.AppContext | null;
5
5
  //#endregion
6
6
  export { getVueInstance };
@@ -1,4 +1,4 @@
1
- import * as vue38 from "vue";
1
+ import * as vue29 from "vue";
2
2
 
3
3
  //#region src/_util/responsiveObserver.d.ts
4
4
  declare const responsiveArray: readonly ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
@@ -21,6 +21,6 @@ interface ResponsiveObserverType {
21
21
  listener: (this: MediaQueryList, ev: MediaQueryListEvent) => void;
22
22
  }>;
23
23
  }
24
- declare function useResponsiveObserver(): vue38.ComputedRef<ResponsiveObserverType>;
24
+ declare function useResponsiveObserver(): vue29.ComputedRef<ResponsiveObserverType>;
25
25
  //#endregion
26
26
  export { Breakpoint, BreakpointMap, ScreenMap, ScreenSizeMap, useResponsiveObserver as default, matchScreen, responsiveArray, responsiveArrayReversed };
@@ -4,6 +4,6 @@ import { ValidateStatus } from "../form/FormItem/index.js";
4
4
  declare const _InputStatuses: readonly ["warning", "error", "", "success", "validating"];
5
5
  type InputStatus = (typeof _InputStatuses)[number];
6
6
  declare function getStatusClassNames(prefixCls: string, status?: ValidateStatus, hasFeedback?: boolean): string;
7
- declare function getMergedStatus(contextStatus?: ValidateStatus, customStatus?: InputStatus): "" | "success" | "error" | "warning" | "validating" | undefined;
7
+ declare function getMergedStatus(contextStatus?: ValidateStatus, customStatus?: InputStatus): "" | "error" | "success" | "warning" | "validating" | undefined;
8
8
  //#endregion
9
9
  export { InputStatus, getMergedStatus, getStatusClassNames };
@@ -1,17 +1,12 @@
1
- import { AnyObject, VueNode } from "./type.js";
2
- import * as vue136 from "vue";
1
+ import { AnyObject, VueNode as VueNode$1 } from "./type.js";
3
2
  import { VNodeChild } from "vue";
4
3
  import { isFragment } from "@v-c/util/dist/Children/isFragment";
5
4
 
6
5
  //#region src/_util/vueNode.d.ts
7
6
  type RenderProps = AnyObject | ((originProps: AnyObject) => AnyObject | undefined);
8
- declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): string | number | boolean | void | vue136.VNode<vue136.RendererNode, vue136.RendererElement, {
9
- [key: string]: any;
10
- }> | vue136.VNodeArrayChildren | null;
11
- declare function cloneElement(element: VNodeChild, props?: RenderProps): string | number | boolean | void | vue136.VNode<vue136.RendererNode, vue136.RendererElement, {
12
- [key: string]: any;
13
- }> | vue136.VNodeArrayChildren | null;
14
- declare function getVNode(node: VueNode): VNodeChild;
7
+ declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): VNodeChild;
8
+ declare function cloneElement(element: VNodeChild, props?: RenderProps): VNodeChild;
9
+ declare function getVNode(node: VueNode$1): VNodeChild;
15
10
  declare function checkRenderNode(node: any): any;
16
11
  declare function getTextByNode(node: any): any;
17
12
  declare function getTextNodeArr(nodes: any[]): any[];
@@ -1,11 +1,11 @@
1
1
  import { ShowWaveEffect, WaveComponent } from "./interface.js";
2
2
  import { WaveProps } from "./index.js";
3
- import * as vue211 from "vue";
3
+ import * as vue530 from "vue";
4
4
  import { PropType } from "vue";
5
5
  import * as vue_jsx_runtime21 from "vue/jsx-runtime";
6
6
 
7
7
  //#region src/_util/wave/WaveEffect.d.ts
8
- declare const WaveEffect: vue211.DefineComponent<vue211.ExtractPropTypes<{
8
+ declare const WaveEffect: vue530.DefineComponent<vue530.ExtractPropTypes<{
9
9
  className: {
10
10
  type: StringConstructor;
11
11
  required: true;
@@ -22,7 +22,7 @@ declare const WaveEffect: vue211.DefineComponent<vue211.ExtractPropTypes<{
22
22
  type: PropType<WaveProps["colorSource"]>;
23
23
  required: false;
24
24
  };
25
- }>, () => vue_jsx_runtime21.JSX.Element | null, {}, {}, {}, vue211.ComponentOptionsMixin, vue211.ComponentOptionsMixin, "finish"[], "finish", vue211.PublicProps, Readonly<vue211.ExtractPropTypes<{
25
+ }>, () => vue_jsx_runtime21.JSX.Element | null, {}, {}, {}, vue530.ComponentOptionsMixin, vue530.ComponentOptionsMixin, "finish"[], "finish", vue530.PublicProps, Readonly<vue530.ExtractPropTypes<{
26
26
  className: {
27
27
  type: StringConstructor;
28
28
  required: true;
@@ -41,7 +41,7 @@ declare const WaveEffect: vue211.DefineComponent<vue211.ExtractPropTypes<{
41
41
  };
42
42
  }>> & Readonly<{
43
43
  onFinish?: ((...args: any[]) => any) | undefined;
44
- }>, {}, {}, {}, {}, string, vue211.ComponentProvideOptions, true, {}, any>;
44
+ }>, {}, {}, {}, {}, string, vue530.ComponentProvideOptions, true, {}, any>;
45
45
  declare const showWaveEffect: ShowWaveEffect;
46
46
  //#endregion
47
47
  export { WaveEffect, showWaveEffect as default };
@@ -1,5 +1,5 @@
1
1
  import { WaveColorSource, WaveComponent } from "./interface.js";
2
- import * as vue245 from "vue";
2
+ import * as vue718 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/_util/wave/index.d.ts
@@ -13,6 +13,6 @@ interface WaveEmitsProps {}
13
13
  interface WaveSlots {
14
14
  default?: () => any;
15
15
  }
16
- declare const _default: vue245.DefineSetupFnComponent<WaveProps, WaveEmits, SlotsType<WaveSlots>, WaveProps, vue245.PublicProps>;
16
+ declare const _default: vue718.DefineSetupFnComponent<WaveProps, WaveEmits, SlotsType<WaveSlots>, WaveProps, vue718.PublicProps>;
17
17
  //#endregion
18
18
  export { WaveEmits, WaveEmitsProps, WaveProps, WaveSlots, _default as default };
@@ -1,10 +1,10 @@
1
1
  import { FullToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import "../../theme/internal.js";
3
- import * as vue229 from "vue";
3
+ import * as vue598 from "vue";
4
4
 
5
5
  //#region src/_util/wave/style.d.ts
6
6
  interface ComponentToken {}
7
7
  interface WaveToken extends FullToken<'Wave'> {}
8
- declare const _default: (prefixCls: vue229.Ref<string>, rootCls?: vue229.Ref<string | undefined>) => vue229.Ref<string, string>;
8
+ declare const _default: (prefixCls: vue598.Ref<string>, rootCls?: vue598.Ref<string | undefined>) => vue598.Ref<string, string>;
9
9
  //#endregion
10
10
  export { ComponentToken, WaveToken, _default as default };
@@ -1,5 +1,5 @@
1
1
  //#region src/_util/wave/util.d.ts
2
- declare function isValidWaveColor(color: string): boolean;
2
+ declare function isValidWaveColor(color: CSSStyleDeclaration[keyof CSSStyleDeclaration]): color is string;
3
3
  declare function getTargetWaveColor(node: HTMLElement, colorSource?: keyof CSSStyleDeclaration | null): any;
4
4
  //#endregion
5
5
  export { getTargetWaveColor, isValidWaveColor };
@@ -1,6 +1,6 @@
1
1
  //#region src/_util/wave/util.ts
2
2
  function isValidWaveColor(color) {
3
- return !!color && color !== "#fff" && color !== "#ffffff" && color !== "rgb(255, 255, 255)" && color !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/.test(color) && color !== "transparent" && color !== "canvastext";
3
+ return !!color && typeof color === "string" && color !== "#fff" && color !== "#ffffff" && color !== "rgb(255, 255, 255)" && color !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/i.test(color) && !/^#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)$/i.test(color) && color !== "transparent" && color !== "canvastext";
4
4
  }
5
5
  function getTargetWaveColor(node, colorSource = null) {
6
6
  const style = getComputedStyle(node);
@@ -1,9 +1,9 @@
1
- import * as vue79 from "vue";
1
+ import * as vue5 from "vue";
2
2
  import { Ref } from "vue";
3
3
 
4
4
  //#region src/_util/zindexContext.d.ts
5
5
  declare function useZIndexContext(): Ref<number | null | undefined, number | null | undefined>;
6
6
  declare function useZIndexProvider(zIndex: Ref<number | undefined>): void;
7
- declare const ZIndexProvider: vue79.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue79.PublicProps>;
7
+ declare const ZIndexProvider: vue5.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue5.PublicProps>;
8
8
  //#endregion
9
9
  export { ZIndexProvider, useZIndexContext, useZIndexProvider };
@@ -1,6 +1,6 @@
1
1
  import throttleByAnimationFrame from "../_util/throttleByAnimationFrame.js";
2
2
  import { ComponentBaseProps } from "../config-provider/context.js";
3
- import * as vue81 from "vue";
3
+ import * as vue27 from "vue";
4
4
 
5
5
  //#region src/affix/index.d.ts
6
6
  interface AffixProps extends ComponentBaseProps, AffixEmitsProps {
@@ -23,8 +23,8 @@ interface AffixRef {
23
23
  type InternalAffixProps = AffixProps & {
24
24
  onTestUpdatePosition?: any;
25
25
  };
26
- declare const Affix: vue81.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
26
+ declare const Affix: vue27.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
27
27
  onTestUpdatePosition?: any;
28
- }, vue81.PublicProps>;
28
+ }, vue27.PublicProps>;
29
29
  //#endregion
30
30
  export { Affix, Affix as default, AffixEmits, AffixEmitsProps, AffixProps, AffixRef };
@@ -1,6 +1,6 @@
1
1
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import "../../theme/internal.js";
3
- import * as vue309 from "vue";
3
+ import * as vue635 from "vue";
4
4
 
5
5
  //#region src/affix/style/index.d.ts
6
6
  interface ComponentToken {
@@ -11,6 +11,6 @@ interface ComponentToken {
11
11
  zIndexPopup: number;
12
12
  }
13
13
  declare const prepareComponentToken: GetDefaultToken<'Affix'>;
14
- declare const _default: (prefixCls: vue309.Ref<string>, rootCls?: vue309.Ref<string | undefined>) => readonly [vue309.Ref<string, string>, vue309.ComputedRef<string | undefined>];
14
+ declare const _default: (prefixCls: vue635.Ref<string>, rootCls?: vue635.Ref<string | undefined>) => readonly [vue635.Ref<string, string>, vue635.ComputedRef<string | undefined>];
15
15
  //#endregion
16
16
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,9 +1,9 @@
1
- import { SlotsDefineType, VueNode } from "../_util/type.js";
1
+ import { SlotsDefineType, VueNode as VueNode$1 } from "../_util/type.js";
2
2
  import { SemanticType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import "../_util/hooks/index.js";
4
4
  import { ClosableType } from "../_util/hooks/useClosable.js";
5
5
  import { ComponentBaseProps } from "../config-provider/context.js";
6
- import * as vue121 from "vue";
6
+ import * as vue52 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
 
9
9
  //#region src/alert/Alert.d.ts
@@ -29,19 +29,26 @@ interface AlertSemanticType {
29
29
  }
30
30
  type AlertClassNamesType = SemanticType<AlertProps, AlertSemanticType['classes']>;
31
31
  type AlertStylesType = SemanticType<AlertProps, AlertSemanticType['styles']>;
32
+ type AlertVariant = 'filled' | 'outlined';
32
33
  interface AlertProps extends ComponentBaseProps, AlertEmitsProps {
33
34
  /** Type of Alert styles, options:`success`, `info`, `warning`, `error` */
34
35
  type?: 'success' | 'info' | 'warning' | 'error';
36
+ /**
37
+ * Visual variant. `filled` keeps the existing solid background, `outlined`
38
+ * renders with the colored border style introduced in ant-design 6.4.0.
39
+ * @default 'filled'
40
+ */
41
+ variant?: AlertVariant;
35
42
  /** Whether Alert can be closed */
36
43
  closable?: ClosableType;
37
44
  /** Content of Alert */
38
- title?: VueNode;
45
+ title?: VueNode$1;
39
46
  /**
40
47
  * @deprecated please use `title` instead.
41
48
  */
42
- message?: VueNode;
49
+ message?: VueNode$1;
43
50
  /** Additional content of Alert */
44
- description?: VueNode;
51
+ description?: VueNode$1;
45
52
  /** Trigger when animation ending of Alert */
46
53
  afterClose?: () => void;
47
54
  /** Whether to show icon */
@@ -51,9 +58,9 @@ interface AlertProps extends ComponentBaseProps, AlertEmitsProps {
51
58
  classes?: AlertClassNamesType;
52
59
  styles?: AlertStylesType;
53
60
  banner?: boolean;
54
- icon?: VueNode;
55
- closeIcon?: VueNode;
56
- action?: VueNode;
61
+ icon?: VueNode$1;
62
+ closeIcon?: VueNode$1;
63
+ action?: VueNode$1;
57
64
  id?: string;
58
65
  }
59
66
  type AlertSlots = SlotsDefineType<{
@@ -77,6 +84,6 @@ interface AlertEmitsProps {
77
84
  onMouseleave?: AlertEmits['mouseleave'];
78
85
  onClick?: AlertEmits['click'];
79
86
  }
80
- declare const Alert: vue121.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps, vue121.PublicProps>;
87
+ declare const Alert: vue52.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps, vue52.PublicProps>;
81
88
  //#endregion
82
- export { AlertClassNamesType, AlertEmits, AlertEmitsProps, AlertProps, AlertSemanticType, AlertSlots, AlertStylesType, Alert as default };
89
+ export { AlertClassNamesType, AlertEmits, AlertEmitsProps, AlertProps, AlertSemanticType, AlertSlots, AlertStylesType, AlertVariant, Alert as default };
@@ -154,13 +154,14 @@ const CloseIconNode = /* @__PURE__ */ defineComponent((props, { slots, attrs })
154
154
  }
155
155
  } });
156
156
  const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) => {
157
- const { closable: contextClosable, closeIcon: contextCloseIcon, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, direction, prefixCls, successIcon, errorIcon, infoIcon, warningIcon } = useComponentBaseConfig("alert", props, [
157
+ const { closable: contextClosable, closeIcon: contextCloseIcon, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, direction, prefixCls, successIcon, errorIcon, infoIcon, warningIcon, variant: contextVariant } = useComponentBaseConfig("alert", props, [
158
158
  "closable",
159
159
  "closeIcon",
160
160
  "successIcon",
161
161
  "errorIcon",
162
162
  "infoIcon",
163
- "warningIcon"
163
+ "warningIcon",
164
+ "variant"
164
165
  ]);
165
166
  const { classes, styles } = toPropsRefs$1(props, "classes", "styles");
166
167
  const closed = shallowRef(false);
@@ -208,7 +209,8 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
208
209
  closable: isClosable
209
210
  };
210
211
  const [mergedClassNames, mergedStyles] = useMergeSemanticNoRef([contextClassNames.value, classes.value], [contextStyles.value, styles.value], { props: mergedProps });
211
- const alertCls = classNames(prefixCls.value, `${prefixCls.value}-${type.value}`, {
212
+ const mergedVariant = props.variant ?? contextVariant?.value ?? "outlined";
213
+ const alertCls = classNames(prefixCls.value, `${prefixCls.value}-${type.value}`, `${prefixCls.value}-${mergedVariant}`, {
212
214
  [`${prefixCls.value}-with-description`]: !!description,
213
215
  [`${prefixCls.value}-no-icon`]: !isShowIcon,
214
216
  [`${prefixCls.value}-banner`]: !!banner,
@@ -294,6 +296,10 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
294
296
  type: String,
295
297
  required: false
296
298
  },
299
+ variant: {
300
+ type: String,
301
+ required: false
302
+ },
297
303
  closable: {
298
304
  type: [Boolean, Object],
299
305
  required: false,
@@ -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
3
  import "../../theme/internal.js";
4
- import * as vue422 from "vue";
4
+ import * as vue698 from "vue";
5
5
  import { CSSProperties } from "vue";
6
6
  import { CSSObject } from "@antdv-next/cssinjs";
7
7
 
@@ -21,13 +21,13 @@ interface ComponentToken {
21
21
  * @desc 带有描述时的图标尺寸
22
22
  * @descEN Icon size with description
23
23
  */
24
- withDescriptionIconSize: number;
24
+ withDescriptionIconSize: number | string;
25
25
  }
26
26
  type AlertToken = FullToken<'Alert'> & {};
27
27
  declare const genBaseStyle: GenerateStyle<AlertToken, CSSObject>;
28
28
  declare const genTypeStyle: GenerateStyle<AlertToken, CSSObject>;
29
29
  declare const genActionStyle: GenerateStyle<AlertToken, CSSObject>;
30
30
  declare const prepareComponentToken: GetDefaultToken<'Alert'>;
31
- declare const _default: (prefixCls: vue422.Ref<string>, rootCls?: vue422.Ref<string | undefined>) => readonly [vue422.Ref<string, string>, vue422.ComputedRef<string | undefined>];
31
+ declare const _default: (prefixCls: vue698.Ref<string>, rootCls?: vue698.Ref<string | undefined>) => readonly [vue698.Ref<string, string>, vue698.ComputedRef<string | undefined>];
32
32
  //#endregion
33
33
  export { ComponentToken, _default as default, genActionStyle, genBaseStyle, genTypeStyle, prepareComponentToken };
@@ -1,4 +1,4 @@
1
- import { resetComponent } from "../../style/index.js";
1
+ import { genFocusStyle, resetComponent } from "../../style/index.js";
2
2
  import { genStyleHooks } from "../../theme/util/genStyleUtils.js";
3
3
  import { unit } from "@antdv-next/cssinjs";
4
4
 
@@ -108,8 +108,8 @@ const genActionStyle = (token) => {
108
108
  lineHeight: unit(fontSizeIcon),
109
109
  backgroundColor: "transparent",
110
110
  border: "none",
111
- outline: "none",
112
111
  cursor: "pointer",
112
+ ...genFocusStyle(token),
113
113
  [`${iconCls}-close`]: {
114
114
  color: colorIcon,
115
115
  transition: `color ${motionDurationMid}`,
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
4
4
  import { AffixProps } from "../affix/index.js";
5
5
  import { AnchorLinkBaseProps } from "./AnchorLink.js";
6
6
  import { ComponentBaseProps } from "../config-provider/context.js";
7
- import * as vue96 from "vue";
7
+ import * as vue30 from "vue";
8
8
  import { CSSProperties, SlotsType, VNodeChild } from "vue";
9
9
  import { Key } from "@v-c/util/dist/type";
10
10
 
@@ -63,13 +63,13 @@ interface AntAnchor {
63
63
  registerLink: (link: string) => void;
64
64
  unregisterLink: (link: string) => void;
65
65
  activeLink: string | null;
66
- scrollTo: (link: string) => void;
66
+ scrollTo: (link: string, linkTargetOffset?: number) => void;
67
67
  onClick: (e: MouseEvent, link: {
68
68
  title: VNodeChild;
69
69
  href: string;
70
70
  }) => void;
71
71
  direction: AnchorDirection;
72
72
  }
73
- declare const Anchor: vue96.DefineSetupFnComponent<AnchorProps, AnchorEmits, SlotsType<AnchorSlots>, AnchorProps, vue96.PublicProps>;
73
+ declare const Anchor: vue30.DefineSetupFnComponent<AnchorProps, AnchorEmits, SlotsType<AnchorSlots>, AnchorProps, vue30.PublicProps>;
74
74
  //#endregion
75
75
  export { AnchorClassNamesType, AnchorContainer, AnchorDirection, AnchorEmits, AnchorEmitsProps, AnchorLinkItemProps, AnchorProps, AnchorSemanticClassNames, AnchorSemanticStyles, AnchorSlots, AnchorStylesType, AntAnchor, Anchor as default };
@@ -105,7 +105,7 @@ const Anchor = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =
105
105
  if (animating.value) return;
106
106
  setCurrentActiveLink(getInternalCurrentAnchor(links.value, props.targetOffset !== void 0 ? props.targetOffset : props.offsetTop || 0, props.bounds));
107
107
  };
108
- const handleScrollTo = (link) => {
108
+ const handleScrollTo = (link, linkTargetOffset) => {
109
109
  const { offsetTop, targetOffset } = props;
110
110
  setCurrentActiveLink(link);
111
111
  const sharpLinkMatch = sharpMatcherRegex.exec(link);
@@ -114,7 +114,7 @@ const Anchor = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =
114
114
  if (!targetElement) return;
115
115
  const container = getCurrentContainer();
116
116
  let y = getScroll_default(container) + getOffsetTop(targetElement, container);
117
- y -= targetOffset !== void 0 ? targetOffset : offsetTop || 0;
117
+ y -= linkTargetOffset ?? (targetOffset !== void 0 ? targetOffset : offsetTop || 0);
118
118
  animating.value = true;
119
119
  scrollTo(y, {
120
120
  getContainer: getCurrentContainer,
@@ -1,13 +1,18 @@
1
- import { VueNode } from "../_util/type.js";
1
+ import { VueNode as VueNode$1 } from "../_util/type.js";
2
2
  import { ComponentBaseProps } from "../config-provider/context.js";
3
- import * as vue0 from "vue";
3
+ import * as vue16 from "vue";
4
4
 
5
5
  //#region src/anchor/AnchorLink.d.ts
6
6
  interface AnchorLinkBaseProps extends ComponentBaseProps {
7
7
  href: string;
8
8
  target?: string;
9
- title: VueNode;
9
+ title: VueNode$1;
10
10
  replace?: boolean;
11
+ /**
12
+ * Per-link scroll offset. Falls back to Anchor.targetOffset / offsetTop
13
+ * when omitted. ant-design 6.4.0 #57521.
14
+ */
15
+ targetOffset?: number;
11
16
  }
12
17
  interface AnchorLinkEmits {
13
18
  click: (e: MouseEvent, params: {
@@ -19,6 +24,6 @@ interface AnchorLinkEmitsProps {
19
24
  onClick?: AnchorLinkEmits['click'];
20
25
  }
21
26
  interface AnchorLinkProps extends AnchorLinkBaseProps, AnchorLinkEmitsProps {}
22
- declare const AnchorLink: vue0.DefineSetupFnComponent<AnchorLinkProps, AnchorLinkEmits, {}, AnchorLinkProps, vue0.PublicProps>;
27
+ declare const AnchorLink: vue16.DefineSetupFnComponent<AnchorLinkProps, AnchorLinkEmits, {}, AnchorLinkProps, vue16.PublicProps>;
23
28
  //#endregion
24
29
  export { AnchorLinkBaseProps, AnchorLinkEmits, AnchorLinkEmitsProps, AnchorLinkProps, AnchorLink as default };
@@ -22,7 +22,7 @@ const AnchorLink = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
22
22
  title,
23
23
  href
24
24
  });
25
- scrollTo?.(href);
25
+ scrollTo?.(href, props.targetOffset);
26
26
  if (e.defaultPrevented) return;
27
27
  if (href.startsWith("http://") || href.startsWith("https://")) {
28
28
  if (replace) {
@@ -78,6 +78,10 @@ const AnchorLink = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
78
78
  required: false,
79
79
  default: void 0
80
80
  },
81
+ targetOffset: {
82
+ type: Number,
83
+ required: false
84
+ },
81
85
  rootClass: {
82
86
  type: String,
83
87
  required: false
@@ -1,6 +1,6 @@
1
1
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
2
2
  import "../../theme/internal.js";
3
- import * as vue402 from "vue";
3
+ import * as vue712 from "vue";
4
4
 
5
5
  //#region src/anchor/style/index.d.ts
6
6
  interface ComponentToken {
@@ -16,6 +16,6 @@ interface ComponentToken {
16
16
  linkPaddingInlineStart: number;
17
17
  }
18
18
  declare const prepareComponentToken: GetDefaultToken<'Anchor'>;
19
- declare const _default: (prefixCls: vue402.Ref<string>, rootCls?: vue402.Ref<string | undefined>) => readonly [vue402.Ref<string, string>, vue402.ComputedRef<string | undefined>];
19
+ declare const _default: (prefixCls: vue712.Ref<string>, rootCls?: vue712.Ref<string | undefined>) => readonly [vue712.Ref<string, string>, vue712.ComputedRef<string | undefined>];
20
20
  //#endregion
21
21
  export { ComponentToken, _default as default, prepareComponentToken };