antdv-next 1.0.1 → 1.0.3-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 (619) hide show
  1. package/dist/_util/ActionButton.d.ts +2 -4
  2. package/dist/_util/ActionButton.js +10 -10
  3. package/dist/_util/ContextIsolator.d.ts +3 -3
  4. package/dist/_util/PurePanel.d.ts +3 -3
  5. package/dist/_util/convertToTooltipProps.d.ts +1 -1
  6. package/dist/_util/convertToTooltipProps.js +9 -3
  7. package/dist/_util/hooks/index.d.ts +3 -3
  8. package/dist/_util/hooks/index.js +2 -2
  9. package/dist/_util/hooks/useClosable.d.ts +2 -2
  10. package/dist/_util/hooks/useMergeSemantic.d.ts +8 -5
  11. package/dist/_util/hooks/useMergedMask.d.ts +6 -4
  12. package/dist/_util/hooks/useMergedMask.js +23 -16
  13. package/dist/_util/hooks/useResponsive.d.ts +1 -1
  14. package/dist/_util/instance.d.ts +2 -2
  15. package/dist/_util/responsiveObserver.d.ts +6 -5
  16. package/dist/_util/responsiveObserver.js +5 -2
  17. package/dist/_util/statusUtils.d.ts +1 -1
  18. package/dist/_util/type.d.ts +2 -6
  19. package/dist/_util/vueNode.d.ts +7 -6
  20. package/dist/_util/wave/WaveEffect.d.ts +5 -5
  21. package/dist/_util/wave/index.d.ts +3 -7
  22. package/dist/_util/wave/style.d.ts +2 -2
  23. package/dist/_util/zindexContext.d.ts +3 -3
  24. package/dist/affix/index.d.ts +3 -6
  25. package/dist/affix/style/index.d.ts +2 -2
  26. package/dist/alert/Alert.d.ts +25 -26
  27. package/dist/alert/Alert.js +6 -4
  28. package/dist/alert/index.d.ts +2 -2
  29. package/dist/alert/style/index.d.ts +2 -2
  30. package/dist/alert/style/index.js +16 -12
  31. package/dist/anchor/Anchor.d.ts +2 -5
  32. package/dist/anchor/Anchor.js +2 -2
  33. package/dist/anchor/AnchorLink.d.ts +2 -5
  34. package/dist/anchor/style/index.d.ts +2 -2
  35. package/dist/anchor/style/index.js +13 -13
  36. package/dist/antd.css +1 -1
  37. package/dist/antd.js +96 -112
  38. package/dist/app/App.d.ts +3 -3
  39. package/dist/app/App.js +7 -4
  40. package/dist/app/context.d.ts +3 -3
  41. package/dist/app/style/index.d.ts +2 -2
  42. package/dist/auto-complete/index.d.ts +5 -6
  43. package/dist/auto-complete/index.js +36 -34
  44. package/dist/avatar/Avatar.d.ts +4 -7
  45. package/dist/avatar/Avatar.js +3 -9
  46. package/dist/avatar/AvatarContext.d.ts +11 -5
  47. package/dist/avatar/AvatarGroup.d.ts +4 -4
  48. package/dist/avatar/AvatarGroup.js +1 -0
  49. package/dist/avatar/index.d.ts +1 -1
  50. package/dist/avatar/style/index.d.ts +2 -2
  51. package/dist/avatar/style/index.js +12 -12
  52. package/dist/badge/Ribbon.d.ts +2 -4
  53. package/dist/badge/Ribbon.js +2 -2
  54. package/dist/badge/ScrollNumber.d.ts +2 -4
  55. package/dist/badge/SingleNumber.d.ts +2 -2
  56. package/dist/badge/index.d.ts +5 -6
  57. package/dist/badge/index.js +4 -3
  58. package/dist/badge/style/index.d.ts +2 -2
  59. package/dist/badge/style/index.js +25 -25
  60. package/dist/badge/style/ribbon.d.ts +2 -2
  61. package/dist/badge/style/ribbon.js +8 -8
  62. package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
  63. package/dist/breadcrumb/Breadcrumb.js +2 -2
  64. package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
  65. package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
  66. package/dist/breadcrumb/style/index.d.ts +2 -2
  67. package/dist/breadcrumb/style/index.js +13 -13
  68. package/dist/breadcrumb/useItemRender.d.ts +2 -2
  69. package/dist/button/Button.d.ts +2 -5
  70. package/dist/button/Button.js +29 -15
  71. package/dist/button/DefaultLoadingIcon.d.ts +2 -2
  72. package/dist/button/IconWrapper.d.ts +2 -2
  73. package/dist/button/style/compact.d.ts +4 -4
  74. package/dist/button/style/compact.js +1 -1
  75. package/dist/button/style/group.js +2 -2
  76. package/dist/button/style/index.d.ts +2 -2
  77. package/dist/button/style/index.js +13 -13
  78. package/dist/button/style/token.d.ts +8 -1
  79. package/dist/button/style/variant.js +22 -10
  80. package/dist/calendar/Header.d.ts +3 -3
  81. package/dist/calendar/generateCalendar.d.ts +2 -5
  82. package/dist/calendar/index.d.ts +2 -4
  83. package/dist/calendar/style/index.d.ts +2 -2
  84. package/dist/calendar/style/index.js +14 -14
  85. package/dist/card/Card.d.ts +2 -5
  86. package/dist/card/Card.js +2 -2
  87. package/dist/card/CardGrid.d.ts +2 -2
  88. package/dist/card/CardMeta.d.ts +2 -4
  89. package/dist/card/style/index.d.ts +2 -2
  90. package/dist/card/style/index.js +55 -55
  91. package/dist/carousel/index.d.ts +2 -5
  92. package/dist/carousel/style/index.d.ts +2 -2
  93. package/dist/carousel/style/index.js +98 -98
  94. package/dist/cascader/Panel.d.ts +2 -5
  95. package/dist/cascader/Panel.js +12 -4
  96. package/dist/cascader/hooks/useBase.d.ts +5 -5
  97. package/dist/cascader/hooks/useCheckable.d.ts +2 -2
  98. package/dist/cascader/hooks/useIcons.d.ts +20 -0
  99. package/dist/cascader/hooks/useIcons.js +16 -0
  100. package/dist/cascader/index.d.ts +2 -5
  101. package/dist/cascader/index.js +13 -7
  102. package/dist/cascader/style/columns.js +19 -19
  103. package/dist/cascader/style/index.d.ts +2 -2
  104. package/dist/cascader/style/panel.d.ts +2 -2
  105. package/dist/cascader/style/panel.js +5 -5
  106. package/dist/checkbox/Checkbox.d.ts +2 -5
  107. package/dist/checkbox/Checkbox.js +28 -23
  108. package/dist/checkbox/Group.d.ts +2 -5
  109. package/dist/checkbox/Group.js +2 -2
  110. package/dist/checkbox/style/index.d.ts +2 -2
  111. package/dist/checkbox/style/index.js +74 -90
  112. package/dist/collapse/Collapse.d.ts +2 -5
  113. package/dist/collapse/CollapsePanel.d.ts +2 -2
  114. package/dist/collapse/style/index.d.ts +2 -2
  115. package/dist/collapse/style/index.js +7 -7
  116. package/dist/color-picker/ColorPicker.d.ts +4 -6
  117. package/dist/color-picker/ColorPicker.js +17 -9
  118. package/dist/color-picker/ColorPickerPanel.d.ts +2 -4
  119. package/dist/color-picker/ColorPickerPanel.js +5 -0
  120. package/dist/color-picker/color.js +1 -1
  121. package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
  122. package/dist/color-picker/components/ColorClear.d.ts +2 -3
  123. package/dist/color-picker/components/ColorClear.js +11 -11
  124. package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
  125. package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
  126. package/dist/color-picker/components/ColorInput.d.ts +2 -4
  127. package/dist/color-picker/components/ColorPresets.d.ts +2 -2
  128. package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
  129. package/dist/color-picker/components/ColorSlider.d.ts +3 -3
  130. package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
  131. package/dist/color-picker/components/ColorTrigger.d.ts +5 -5
  132. package/dist/color-picker/components/ColorTrigger.js +27 -6
  133. package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
  134. package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
  135. package/dist/color-picker/components/PanelPresets.d.ts +2 -2
  136. package/dist/color-picker/context.d.ts +3 -3
  137. package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
  138. package/dist/color-picker/interface.d.ts +7 -2
  139. package/dist/color-picker/style/index.d.ts +2 -2
  140. package/dist/color-picker/style/index.js +27 -27
  141. package/dist/color-picker/style/input.js +2 -2
  142. package/dist/color-picker/style/presets.js +4 -4
  143. package/dist/color-picker/style/slider.js +12 -12
  144. package/dist/components.d.ts +45 -45
  145. package/dist/components.js +4 -3
  146. package/dist/config-provider/DisabledContext.d.ts +2 -2
  147. package/dist/config-provider/SizeContext.d.ts +6 -3
  148. package/dist/config-provider/SizeContext.js +3 -0
  149. package/dist/config-provider/context.d.ts +41 -28
  150. package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
  151. package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
  152. package/dist/config-provider/hooks/useConfig.d.ts +3 -3
  153. package/dist/config-provider/hooks/useSize.d.ts +2 -2
  154. package/dist/config-provider/hooks/useTheme.d.ts +2 -2
  155. package/dist/config-provider/index.d.ts +4 -4
  156. package/dist/config-provider/index.js +1 -0
  157. package/dist/date-picker/PickerButton.d.ts +2 -2
  158. package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
  159. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -5
  160. package/dist/date-picker/generatePicker/generateRangePicker.js +10 -3
  161. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -20
  162. package/dist/date-picker/generatePicker/generateSinglePicker.js +7 -2
  163. package/dist/date-picker/generatePicker/index.d.ts +8 -22
  164. package/dist/date-picker/generatePicker/useComponents.d.ts +12 -12
  165. package/dist/date-picker/index.d.ts +13 -37
  166. package/dist/date-picker/style/index.d.ts +2 -2
  167. package/dist/date-picker/style/index.js +68 -64
  168. package/dist/date-picker/style/multiple.js +3 -3
  169. package/dist/date-picker/style/panel.js +81 -81
  170. package/dist/date-picker/style/token.js +0 -1
  171. package/dist/date-picker/style/util.js +28 -24
  172. package/dist/date-picker/util.d.ts +3 -3
  173. package/dist/descriptions/Cell.d.ts +2 -2
  174. package/dist/descriptions/Row.d.ts +2 -4
  175. package/dist/descriptions/constant.js +1 -0
  176. package/dist/descriptions/hooks/useItems.d.ts +10 -10
  177. package/dist/descriptions/hooks/useRow.d.ts +2 -2
  178. package/dist/descriptions/index.d.ts +2 -4
  179. package/dist/descriptions/style/index.d.ts +2 -2
  180. package/dist/descriptions/style/index.js +15 -15
  181. package/dist/divider/index.d.ts +2 -2
  182. package/dist/divider/index.js +2 -2
  183. package/dist/divider/style/index.d.ts +2 -2
  184. package/dist/divider/style/index.js +1 -1
  185. package/dist/drawer/DrawerPanel.d.ts +2 -2
  186. package/dist/drawer/index.d.ts +6 -7
  187. package/dist/drawer/index.js +14 -12
  188. package/dist/drawer/style/index.d.ts +2 -2
  189. package/dist/drawer/style/index.js +40 -40
  190. package/dist/drawer/useFocusable.d.ts +2 -2
  191. package/dist/dropdown/dropdown.d.ts +2 -5
  192. package/dist/dropdown/dropdown.js +4 -4
  193. package/dist/dropdown/style/index.d.ts +2 -2
  194. package/dist/dropdown/style/index.js +36 -36
  195. package/dist/dropdown/style/status.js +1 -1
  196. package/dist/empty/empty.d.ts +2 -2
  197. package/dist/empty/index.d.ts +5 -7
  198. package/dist/empty/index.js +2 -2
  199. package/dist/empty/simple.d.ts +2 -2
  200. package/dist/empty/style/index.d.ts +2 -2
  201. package/dist/empty/style/index.js +2 -2
  202. package/dist/flex/index.d.ts +2 -4
  203. package/dist/flex/index.js +5 -1
  204. package/dist/flex/style/index.d.ts +2 -2
  205. package/dist/flex/style/index.js +3 -3
  206. package/dist/float-button/BackTop.d.ts +2 -5
  207. package/dist/float-button/BackTop.js +2 -2
  208. package/dist/float-button/FloatButton.d.ts +2 -5
  209. package/dist/float-button/FloatButton.js +2 -2
  210. package/dist/float-button/FloatButtonGroup.d.ts +2 -5
  211. package/dist/float-button/FloatButtonGroup.js +2 -2
  212. package/dist/float-button/PurePanel.d.ts +2 -2
  213. package/dist/float-button/context.d.ts +3 -3
  214. package/dist/float-button/style/button.js +9 -9
  215. package/dist/float-button/style/group.js +9 -9
  216. package/dist/float-button/style/index.d.ts +2 -2
  217. package/dist/float-button/style/index.js +0 -1
  218. package/dist/form/ErrorList.d.ts +2 -2
  219. package/dist/form/Form.d.ts +4 -5
  220. package/dist/form/Form.js +15 -2
  221. package/dist/form/FormItem/ItemHolder.d.ts +4 -5
  222. package/dist/form/FormItem/StatusProvider.d.ts +2 -2
  223. package/dist/form/FormItem/index.d.ts +5 -11
  224. package/dist/form/FormItemInput.d.ts +2 -2
  225. package/dist/form/FormItemInput.js +2 -9
  226. package/dist/form/FormItemLabel.d.ts +9 -9
  227. package/dist/form/FormItemLabel.js +13 -14
  228. package/dist/form/context.d.ts +10 -10297
  229. package/dist/form/hooks/useVariant.d.ts +2 -2
  230. package/dist/form/index.d.ts +2 -2
  231. package/dist/form/style/explain.js +11 -9
  232. package/dist/form/style/fallbackCmp.d.ts +4 -4
  233. package/dist/form/style/index.d.ts +2 -2
  234. package/dist/form/style/index.js +40 -40
  235. package/dist/grid/col.d.ts +3 -2
  236. package/dist/grid/col.js +11 -9
  237. package/dist/grid/hooks/useBreakpoint.d.ts +4 -2
  238. package/dist/grid/hooks/useGutter.js +2 -1
  239. package/dist/grid/index.d.ts +5 -4
  240. package/dist/grid/row.d.ts +3 -4
  241. package/dist/grid/row.js +1 -1
  242. package/dist/grid/style/index.d.ts +3 -3
  243. package/dist/grid/style/index.js +3 -3
  244. package/dist/image/PreviewGroup.d.ts +12 -12
  245. package/dist/image/PreviewGroup.js +2 -2
  246. package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
  247. package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
  248. package/dist/image/index.d.ts +3 -6
  249. package/dist/image/index.js +2 -2
  250. package/dist/image/style/index.d.ts +2 -2
  251. package/dist/image/style/index.js +29 -29
  252. package/dist/index.d.ts +42 -42
  253. package/dist/index.js +3 -3
  254. package/dist/input/Group.d.ts +3 -5
  255. package/dist/input/Input.d.ts +2 -5
  256. package/dist/input/OTP/OTPInput.d.ts +3 -5
  257. package/dist/input/OTP/index.d.ts +2 -5
  258. package/dist/input/Password.d.ts +2 -4
  259. package/dist/input/Password.js +2 -2
  260. package/dist/input/Search.d.ts +2 -4
  261. package/dist/input/TextArea.d.ts +3 -5
  262. package/dist/input/TextArea.js +2 -1
  263. package/dist/input/index.d.ts +9 -19
  264. package/dist/input/style/index.d.ts +3 -3
  265. package/dist/input/style/index.js +58 -58
  266. package/dist/input/style/otp.d.ts +2 -2
  267. package/dist/input/style/otp.js +5 -5
  268. package/dist/input/style/search.d.ts +2 -2
  269. package/dist/input/style/search.js +1 -1
  270. package/dist/input/style/textarea.d.ts +2 -2
  271. package/dist/input/style/textarea.js +7 -7
  272. package/dist/input/style/variants.js +25 -25
  273. package/dist/input-number/index.d.ts +4 -5
  274. package/dist/input-number/index.js +4 -0
  275. package/dist/input-number/style/index.d.ts +2 -2
  276. package/dist/input-number/style/index.js +26 -26
  277. package/dist/input-number/style/token.js +0 -1
  278. package/dist/layout/Sider.d.ts +4 -6
  279. package/dist/layout/Sider.js +4 -3
  280. package/dist/layout/index.d.ts +5 -7
  281. package/dist/layout/layout.d.ts +5 -5
  282. package/dist/layout/style/index.d.ts +2 -2
  283. package/dist/layout/style/index.js +5 -5
  284. package/dist/layout/style/sider.d.ts +2 -2
  285. package/dist/layout/style/sider.js +19 -19
  286. package/dist/locale/index.d.ts +2 -2
  287. package/dist/locale/useLocale.d.ts +2 -2
  288. package/dist/masonry/Masonry.d.ts +2 -5
  289. package/dist/masonry/Masonry.js +3 -4
  290. package/dist/masonry/MasonryItem.d.ts +2 -2
  291. package/dist/masonry/hooks/usePositions.d.ts +2 -2
  292. package/dist/masonry/style/index.d.ts +2 -2
  293. package/dist/masonry/style/index.js +10 -10
  294. package/dist/mentions/index.d.ts +2 -5
  295. package/dist/mentions/index.js +2 -2
  296. package/dist/mentions/style/index.d.ts +2 -2
  297. package/dist/mentions/style/index.js +45 -45
  298. package/dist/menu/MenuContext.d.ts +3 -3
  299. package/dist/menu/MenuDivider.d.ts +2 -2
  300. package/dist/menu/MenuItem.d.ts +2 -4
  301. package/dist/menu/MenuItem.js +1 -1
  302. package/dist/menu/OverrideContext.d.ts +3 -3
  303. package/dist/menu/SubMenu.d.ts +2 -4
  304. package/dist/menu/index.d.ts +3 -7
  305. package/dist/menu/index.js +6 -6
  306. package/dist/menu/menu.d.ts +3 -6
  307. package/dist/menu/menu.js +2 -2
  308. package/dist/menu/style/horizontal.js +5 -5
  309. package/dist/menu/style/index.d.ts +2 -2
  310. package/dist/menu/style/index.js +39 -39
  311. package/dist/menu/style/theme.js +11 -11
  312. package/dist/menu/style/vertical.js +13 -13
  313. package/dist/message/PurePanel.d.ts +3 -3
  314. package/dist/message/interface.d.ts +1 -1
  315. package/dist/message/style/index.d.ts +2 -2
  316. package/dist/message/style/index.js +6 -6
  317. package/dist/message/useMessage.d.ts +3 -3
  318. package/dist/modal/ConfirmDialog.d.ts +4 -6
  319. package/dist/modal/ConfirmDialog.js +11 -5
  320. package/dist/modal/Modal.d.ts +2 -4
  321. package/dist/modal/Modal.js +10 -8
  322. package/dist/modal/PurePanel.d.ts +4 -2
  323. package/dist/modal/PurePanel.js +27 -22
  324. package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
  325. package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
  326. package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
  327. package/dist/modal/components/NormalOkBtn.d.ts +2 -2
  328. package/dist/modal/interface.d.ts +5 -3
  329. package/dist/modal/shared.d.ts +4 -4
  330. package/dist/modal/style/confirm.d.ts +4 -4
  331. package/dist/modal/style/index.d.ts +2 -2
  332. package/dist/modal/style/index.js +25 -25
  333. package/dist/modal/useModal/HookModal.d.ts +3 -5
  334. package/dist/notification/PurePanel.d.ts +3 -3
  335. package/dist/notification/style/index.d.ts +2 -2
  336. package/dist/notification/style/index.js +32 -32
  337. package/dist/notification/style/pure-panel.d.ts +4 -4
  338. package/dist/notification/style/stack.js +2 -2
  339. package/dist/notification/useNotification.d.ts +3 -3
  340. package/dist/package.js +1 -1
  341. package/dist/pagination/Pagination.d.ts +2 -4
  342. package/dist/pagination/Pagination.js +2 -2
  343. package/dist/pagination/interface.d.ts +0 -1
  344. package/dist/pagination/style/bordered.d.ts +4 -4
  345. package/dist/pagination/style/bordered.js +2 -2
  346. package/dist/pagination/style/index.d.ts +2 -2
  347. package/dist/pagination/style/index.js +63 -63
  348. package/dist/popconfirm/PurePanel.d.ts +3 -3
  349. package/dist/popconfirm/index.d.ts +3 -4
  350. package/dist/popconfirm/index.js +8 -6
  351. package/dist/popconfirm/style/index.d.ts +2 -2
  352. package/dist/popconfirm/style/index.js +2 -2
  353. package/dist/popover/PurePanel.d.ts +4 -4
  354. package/dist/popover/PurePanel.js +2 -2
  355. package/dist/popover/index.d.ts +2 -4
  356. package/dist/popover/index.js +2 -2
  357. package/dist/popover/style/index.d.ts +2 -2
  358. package/dist/popover/style/index.js +15 -15
  359. package/dist/progress/Circle.d.ts +3 -5
  360. package/dist/progress/Line.d.ts +3 -5
  361. package/dist/progress/Steps.d.ts +2 -4
  362. package/dist/progress/progress.d.ts +2 -4
  363. package/dist/progress/style/index.d.ts +2 -2
  364. package/dist/progress/style/index.js +18 -17
  365. package/dist/qrcode/QrcodeStatus.d.ts +2 -2
  366. package/dist/qrcode/index.d.ts +2 -4
  367. package/dist/qrcode/interface.d.ts +0 -1
  368. package/dist/qrcode/style/index.d.ts +2 -2
  369. package/dist/qrcode/style/index.js +9 -9
  370. package/dist/radio/group.d.ts +2 -4
  371. package/dist/radio/group.js +2 -2
  372. package/dist/radio/index.d.ts +3 -7
  373. package/dist/radio/interface.d.ts +0 -1
  374. package/dist/radio/radio.d.ts +2 -4
  375. package/dist/radio/radio.js +11 -5
  376. package/dist/radio/radioButton.d.ts +2 -4
  377. package/dist/radio/style/index.d.ts +2 -2
  378. package/dist/radio/style/index.js +101 -128
  379. package/dist/rate/index.d.ts +2 -5
  380. package/dist/rate/style/index.d.ts +2 -2
  381. package/dist/rate/style/index.js +14 -14
  382. package/dist/result/index.d.ts +2 -4
  383. package/dist/result/index.js +2 -2
  384. package/dist/result/noFound.d.ts +2 -2
  385. package/dist/result/serverError.d.ts +2 -2
  386. package/dist/result/style/index.d.ts +2 -2
  387. package/dist/result/style/index.js +4 -4
  388. package/dist/result/unauthorized.d.ts +2 -2
  389. package/dist/segmented/index.d.ts +2 -5
  390. package/dist/segmented/index.js +2 -2
  391. package/dist/segmented/style/index.d.ts +2 -2
  392. package/dist/segmented/style/index.js +12 -12
  393. package/dist/select/index.d.ts +4 -7
  394. package/dist/select/index.js +31 -31
  395. package/dist/select/style/dropdown.js +16 -16
  396. package/dist/select/style/index.d.ts +2 -2
  397. package/dist/select/style/index.js +21 -21
  398. package/dist/select/style/select-input-customize.js +2 -2
  399. package/dist/select/style/select-input-multiple.js +20 -20
  400. package/dist/select/style/select-input.js +50 -40
  401. package/dist/select/useIcons.d.ts +7 -5
  402. package/dist/select/useIcons.js +2 -2
  403. package/dist/select/usePopupRender.d.ts +2 -2
  404. package/dist/skeleton/Avatar.d.ts +2 -2
  405. package/dist/skeleton/Button.d.ts +2 -2
  406. package/dist/skeleton/Button.js +1 -1
  407. package/dist/skeleton/Element.d.ts +2 -2
  408. package/dist/skeleton/Image.d.ts +4 -4
  409. package/dist/skeleton/Image.js +10 -12
  410. package/dist/skeleton/Input.d.ts +2 -2
  411. package/dist/skeleton/Node.d.ts +3 -4
  412. package/dist/skeleton/Node.js +10 -4
  413. package/dist/skeleton/Paragraph.d.ts +2 -2
  414. package/dist/skeleton/Skeleton.d.ts +3 -5
  415. package/dist/skeleton/Skeleton.js +1 -1
  416. package/dist/skeleton/Title.d.ts +2 -2
  417. package/dist/skeleton/index.d.ts +1 -1
  418. package/dist/skeleton/index.js +1 -1
  419. package/dist/skeleton/style/index.d.ts +2 -2
  420. package/dist/skeleton/style/index.js +6 -6
  421. package/dist/slider/SliderTooltip.d.ts +3 -3
  422. package/dist/slider/index.d.ts +2 -5
  423. package/dist/slider/style/index.d.ts +2 -2
  424. package/dist/slider/style/index.js +35 -35
  425. package/dist/space/Addon.d.ts +2 -2
  426. package/dist/space/Compact.d.ts +6 -6
  427. package/dist/space/Item.d.ts +2 -4
  428. package/dist/space/index.d.ts +4 -6
  429. package/dist/space/index.js +2 -2
  430. package/dist/space/style/addon.d.ts +2 -2
  431. package/dist/space/style/addon.js +9 -9
  432. package/dist/space/style/compact.d.ts +2 -2
  433. package/dist/space/style/compact.js +1 -1
  434. package/dist/space/style/index.d.ts +2 -2
  435. package/dist/space/style/index.js +2 -2
  436. package/dist/spin/Indicator/Looper.d.ts +2 -2
  437. package/dist/spin/Indicator/Progress.d.ts +2 -2
  438. package/dist/spin/Indicator/index.d.ts +2 -2
  439. package/dist/spin/index.d.ts +20 -11
  440. package/dist/spin/index.js +64 -41
  441. package/dist/spin/style/index.d.ts +2 -2
  442. package/dist/spin/style/index.js +131 -152
  443. package/dist/spin/usePercent.d.ts +2 -2
  444. package/dist/splitter/Panel.d.ts +2 -2
  445. package/dist/splitter/Panel.js +1 -1
  446. package/dist/splitter/SplitBar.d.ts +3 -2
  447. package/dist/splitter/SplitBar.js +14 -1
  448. package/dist/splitter/Splitter.d.ts +2 -4
  449. package/dist/splitter/Splitter.js +41 -17
  450. package/dist/splitter/hooks/useResizable.d.ts +2 -2
  451. package/dist/splitter/hooks/useResize.d.ts +2 -2
  452. package/dist/splitter/hooks/useSizes.d.ts +2 -2
  453. package/dist/splitter/index.d.ts +2 -2
  454. package/dist/splitter/interface.d.ts +8 -9
  455. package/dist/splitter/style/index.d.ts +2 -2
  456. package/dist/splitter/style/index.js +28 -28
  457. package/dist/statistic/Number.d.ts +2 -2
  458. package/dist/statistic/Statistic.d.ts +3 -6
  459. package/dist/statistic/Timer.d.ts +5 -8
  460. package/dist/statistic/index.d.ts +5 -7
  461. package/dist/statistic/style/index.d.ts +2 -2
  462. package/dist/steps/PanelArrow.d.ts +2 -2
  463. package/dist/steps/ProgressIcon.d.ts +2 -2
  464. package/dist/steps/index.d.ts +2 -5
  465. package/dist/steps/index.js +2 -2
  466. package/dist/steps/style/index.d.ts +2 -2
  467. package/dist/steps/style/inline.js +7 -7
  468. package/dist/steps/style/nav.js +5 -5
  469. package/dist/steps/style/panel.js +4 -4
  470. package/dist/steps/style/progress-dot.js +1 -1
  471. package/dist/steps/style/progress.js +7 -7
  472. package/dist/steps/style/vertical.js +2 -2
  473. package/dist/style/placementArrow.js +6 -5
  474. package/dist/switch/index.d.ts +4 -5
  475. package/dist/switch/index.js +4 -1
  476. package/dist/switch/style/index.d.ts +2 -2
  477. package/dist/switch/style/index.js +12 -12
  478. package/dist/table/Column.d.ts +2 -4
  479. package/dist/table/ColumnGroup.d.ts +2 -4
  480. package/dist/table/ExpandIcon.d.ts +2 -2
  481. package/dist/table/InternalTable.d.ts +2 -5
  482. package/dist/table/InternalTable.js +9 -11
  483. package/dist/table/Table.d.ts +2 -4
  484. package/dist/table/Table.js +4 -4
  485. package/dist/table/TableMeasureRowContext.d.ts +3 -3
  486. package/dist/table/hooks/useFilter/FilterDropdown.d.ts +4 -8
  487. package/dist/table/hooks/useFilter/FilterDropdown.js +2 -2
  488. package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
  489. package/dist/table/hooks/useFilter/FilterWrapper.d.ts +4 -7
  490. package/dist/table/hooks/useFilter/index.d.ts +19 -19
  491. package/dist/table/hooks/usePagination.d.ts +2 -2
  492. package/dist/table/hooks/useSelection.d.ts +2 -2
  493. package/dist/table/hooks/useSorter.d.ts +2 -2
  494. package/dist/table/style/bordered.js +1 -1
  495. package/dist/table/style/expand.js +12 -12
  496. package/dist/table/style/filter.js +18 -18
  497. package/dist/table/style/fixed.js +3 -3
  498. package/dist/table/style/index.d.ts +2 -2
  499. package/dist/table/style/index.js +9 -9
  500. package/dist/table/style/pagination.js +3 -3
  501. package/dist/table/style/radius.js +4 -4
  502. package/dist/table/style/rtl.js +1 -1
  503. package/dist/table/style/selection.js +4 -4
  504. package/dist/table/style/sorter.js +14 -14
  505. package/dist/table/style/sticky.js +15 -15
  506. package/dist/table/style/summary.js +3 -3
  507. package/dist/tabs/TabPane.d.ts +2 -4
  508. package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
  509. package/dist/tabs/index.d.ts +2 -5
  510. package/dist/tabs/index.js +2 -2
  511. package/dist/tabs/style/index.d.ts +2 -2
  512. package/dist/tabs/style/index.js +94 -91
  513. package/dist/tabs/style/motion.js +4 -4
  514. package/dist/tag/CheckableTag.d.ts +2 -5
  515. package/dist/tag/CheckableTagGroup.d.ts +2 -5
  516. package/dist/tag/hooks/useColor.d.ts +2 -2
  517. package/dist/tag/index.d.ts +2 -5
  518. package/dist/tag/index.js +2 -2
  519. package/dist/tag/style/index.d.ts +2 -2
  520. package/dist/tag/style/index.js +32 -32
  521. package/dist/tag/style/presetCmp.d.ts +4 -4
  522. package/dist/tag/style/statusCmp.d.ts +4 -4
  523. package/dist/theme/context.d.ts +3 -3
  524. package/dist/theme/index.d.ts +4 -4
  525. package/dist/theme/interface/alias.d.ts +22 -1
  526. package/dist/theme/themes/dark/index.js +11 -0
  527. package/dist/theme/themes/default/theme.d.ts +2 -2
  528. package/dist/theme/themes/shared/genColorMapToken.js +11 -0
  529. package/dist/theme/util/alias.js +4 -0
  530. package/dist/theme/util/genStyleUtils.d.ts +14 -14
  531. package/dist/time-picker/index.d.ts +4 -12
  532. package/dist/time-picker/index.js +10 -0
  533. package/dist/timeline/Timeline.d.ts +2 -4
  534. package/dist/timeline/style/index.d.ts +2 -2
  535. package/dist/timeline/style/index.js +2 -2
  536. package/dist/tooltip/PurePanel.d.ts +2 -2
  537. package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
  538. package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
  539. package/dist/tooltip/hooks/useMergedArrow.d.ts +1 -1
  540. package/dist/tooltip/hooks/useMergedArrow.js +2 -2
  541. package/dist/tooltip/index.d.ts +2 -5
  542. package/dist/tooltip/index.js +2 -2
  543. package/dist/tooltip/style/index.d.ts +2 -2
  544. package/dist/tooltip/style/index.js +11 -11
  545. package/dist/tour/PurePanel.d.ts +2 -2
  546. package/dist/tour/index.d.ts +2 -4
  547. package/dist/tour/index.js +2 -2
  548. package/dist/tour/interface.d.ts +1 -2
  549. package/dist/tour/panelRender.d.ts +2 -2
  550. package/dist/tour/style/index.d.ts +2 -2
  551. package/dist/tour/style/index.js +34 -34
  552. package/dist/transfer/Actions.d.ts +2 -2
  553. package/dist/transfer/ListBody.d.ts +2 -2
  554. package/dist/transfer/ListItem.d.ts +2 -2
  555. package/dist/transfer/ListItem.js +1 -1
  556. package/dist/transfer/Section.d.ts +2 -2
  557. package/dist/transfer/Section.js +3 -2
  558. package/dist/transfer/Transfer.d.ts +2 -4
  559. package/dist/transfer/Transfer.js +2 -2
  560. package/dist/transfer/hooks/useData.d.ts +2 -2
  561. package/dist/transfer/interface.d.ts +0 -1
  562. package/dist/transfer/search.d.ts +2 -5
  563. package/dist/transfer/style/index.d.ts +2 -2
  564. package/dist/transfer/style/index.js +35 -35
  565. package/dist/tree/DirectoryTree.d.ts +2 -4
  566. package/dist/tree/DirectoryTree.js +7 -5
  567. package/dist/tree/Tree.d.ts +3 -5
  568. package/dist/tree/Tree.js +6 -5
  569. package/dist/tree/style/directory.js +3 -3
  570. package/dist/tree/style/index.d.ts +2 -2
  571. package/dist/tree/style/index.js +60 -51
  572. package/dist/tree/utils/dropIndicator.d.ts +2 -2
  573. package/dist/tree/utils/iconUtil.d.ts +2 -2
  574. package/dist/tree-select/index.d.ts +5 -6
  575. package/dist/tree-select/index.js +10 -2
  576. package/dist/tree-select/style/index.d.ts +2 -2
  577. package/dist/typography/Base/CopyBtn.d.ts +2 -5
  578. package/dist/typography/Base/Ellipsis.d.ts +3 -5
  579. package/dist/typography/Base/Ellipsis.js +20 -19
  580. package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
  581. package/dist/typography/Base/index.d.ts +2 -4
  582. package/dist/typography/Base/index.js +8 -3
  583. package/dist/typography/Base/util.js +1 -1
  584. package/dist/typography/Editable.d.ts +2 -4
  585. package/dist/typography/Link.d.ts +2 -4
  586. package/dist/typography/Paragraph.d.ts +2 -4
  587. package/dist/typography/Text.d.ts +2 -4
  588. package/dist/typography/Title.d.ts +2 -4
  589. package/dist/typography/Title.js +1 -1
  590. package/dist/typography/Typography.d.ts +2 -4
  591. package/dist/typography/hooks/useCopyClick.d.ts +3 -3
  592. package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
  593. package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
  594. package/dist/typography/index.d.ts +5 -13
  595. package/dist/typography/interface.d.ts +0 -1
  596. package/dist/typography/style/index.d.ts +2 -2
  597. package/dist/typography/style/index.js +3 -3
  598. package/dist/typography/style/mixins.js +15 -15
  599. package/dist/upload/Dragger.d.ts +3 -5
  600. package/dist/upload/Upload.d.ts +2 -4
  601. package/dist/upload/Upload.js +6 -6
  602. package/dist/upload/UploadList/ListItem.d.ts +2 -4
  603. package/dist/upload/UploadList/index.d.ts +2 -4
  604. package/dist/upload/UploadList/index.js +3 -3
  605. package/dist/upload/index.d.ts +3 -5
  606. package/dist/upload/interface.d.ts +3 -4
  607. package/dist/upload/style/dragger.js +5 -5
  608. package/dist/upload/style/index.d.ts +2 -2
  609. package/dist/upload/style/index.js +1 -1
  610. package/dist/upload/style/list.js +17 -17
  611. package/dist/upload/style/picture.js +18 -17
  612. package/dist/watermark/context.d.ts +2 -2
  613. package/dist/watermark/index.d.ts +2 -2
  614. package/global.d.ts +1 -1
  615. package/package.json +15 -15
  616. package/web-tags.json +1822 -1818
  617. package/web-types.json +5401 -5403
  618. package/dist/cascader/hooks/useColumnIcons.d.ts +0 -10
  619. package/dist/cascader/hooks/useColumnIcons.js +0 -13
@@ -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 vue761 from "vue";
4
+ import * as vue18 from "vue";
5
5
  import { SlotsType } from "vue";
6
6
 
7
7
  //#region src/_util/ActionButton.d.ts
@@ -20,8 +20,6 @@ interface ActionButtonProps {
20
20
  interface ActionButtonSlots {
21
21
  default?: () => any;
22
22
  }
23
- declare const ActionButton: vue761.DefineSetupFnComponent<ActionButtonProps, EmptyEmit, SlotsType<ActionButtonSlots>, ActionButtonProps & {
24
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
25
- }, vue761.PublicProps>;
23
+ declare const ActionButton: vue18.DefineSetupFnComponent<ActionButtonProps, EmptyEmit, SlotsType<ActionButtonSlots>, ActionButtonProps, vue18.PublicProps>;
26
24
  //#endregion
27
25
  export { ActionButtonProps, ActionButtonSlots, ActionButton as default };
@@ -29,10 +29,10 @@ const ActionButton = /* @__PURE__ */ defineComponent((props, { slots }) => {
29
29
  const onInternalClose = (...args) => {
30
30
  props.close?.(...args);
31
31
  };
32
- const handlePromiseOnOk = (returnValue) => {
33
- if (!isThenable(returnValue)) return;
32
+ const handlePromiseOnOk = (returnValueOfOnOk) => {
33
+ if (!isThenable(returnValueOfOnOk)) return;
34
34
  loading.value = true;
35
- returnValue.then((...args) => {
35
+ returnValueOfOnOk.then((...args) => {
36
36
  loading.value = false;
37
37
  clicked.value = false;
38
38
  onInternalClose(...args);
@@ -51,25 +51,25 @@ const ActionButton = /* @__PURE__ */ defineComponent((props, { slots }) => {
51
51
  onInternalClose();
52
52
  return;
53
53
  }
54
- let returnValue;
54
+ let returnValueOfOnOk;
55
55
  if (props.emitEvent) {
56
- returnValue = actionFn(e);
57
- if (props.quitOnNullishReturnValue && !isThenable(returnValue)) {
56
+ returnValueOfOnOk = actionFn(e);
57
+ if (props.quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) {
58
58
  clicked.value = false;
59
59
  onInternalClose(e);
60
60
  return;
61
61
  }
62
62
  } else if (actionFn.length) {
63
- returnValue = actionFn(onInternalClose);
63
+ returnValueOfOnOk = actionFn(onInternalClose);
64
64
  clicked.value = false;
65
65
  } else {
66
- returnValue = actionFn();
67
- if (!isThenable(returnValue)) {
66
+ returnValueOfOnOk = actionFn();
67
+ if (!isThenable(returnValueOfOnOk)) {
68
68
  onInternalClose();
69
69
  return;
70
70
  }
71
71
  }
72
- handlePromiseOnOk(returnValue);
72
+ handlePromiseOnOk(returnValueOfOnOk);
73
73
  };
74
74
  return () => {
75
75
  const buttonAttrs = props.buttonProps ?? {};
@@ -1,12 +1,12 @@
1
- import * as vue757 from "vue";
1
+ import * as vue177 from "vue";
2
2
 
3
3
  //#region src/_util/ContextIsolator.d.ts
4
- declare const ContextIsolator: vue757.DefineSetupFnComponent<{
4
+ declare const ContextIsolator: vue177.DefineSetupFnComponent<{
5
5
  space?: boolean;
6
6
  form?: boolean;
7
7
  }, {}, {}, {
8
8
  space?: boolean;
9
9
  form?: boolean;
10
- } & {}, vue757.PublicProps>;
10
+ } & {}, vue177.PublicProps>;
11
11
  //#endregion
12
12
  export { ContextIsolator };
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from "vue";
2
- import * as vue_jsx_runtime30 from "vue/jsx-runtime";
2
+ import * as vue_jsx_runtime9 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_runtime30.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_runtime30.JSX.Element;
10
+ declare function withPureRenderTheme(Component: any): (props: any) => vue_jsx_runtime9.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_runtime9.JSX.Element;
12
12
  //#endregion
13
13
  export { BaseProps, genPurePanel as default, withPureRenderTheme };
@@ -2,6 +2,6 @@ import { VueNode } from "./type.js";
2
2
  import { TooltipProps } from "../tooltip/index.js";
3
3
 
4
4
  //#region src/_util/convertToTooltipProps.d.ts
5
- declare function convertToTooltipProps<P extends TooltipProps>(tooltip?: P | VueNode): P | null;
5
+ declare function convertToTooltipProps<P extends TooltipProps>(tooltip?: P | VueNode, context?: P): P | null;
6
6
  //#endregion
7
7
  export { convertToTooltipProps as default };
@@ -1,10 +1,16 @@
1
1
  import { isVNode } from "vue";
2
2
 
3
3
  //#region src/_util/convertToTooltipProps.ts
4
- function convertToTooltipProps(tooltip) {
4
+ function convertToTooltipProps(tooltip, context) {
5
5
  if (tooltip === void 0 || tooltip === null) return null;
6
- if (typeof tooltip === "object" && !Array.isArray(tooltip) && !isVNode(tooltip)) return tooltip;
7
- return { title: tooltip };
6
+ if (typeof tooltip === "object" && !Array.isArray(tooltip) && !isVNode(tooltip)) return {
7
+ ...context,
8
+ ...tooltip
9
+ };
10
+ return {
11
+ ...context,
12
+ title: tooltip
13
+ };
8
14
  }
9
15
 
10
16
  //#endregion
@@ -1,6 +1,6 @@
1
- import { MaskConfig, MaskType, useMergedMask } from "./useMergedMask.js";
2
- import { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps } from "./useMergeSemantic.js";
1
+ import { MaskConfig, MaskType, normalizeMaskConfig, useMergedMask } from "./useMergedMask.js";
2
+ import { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, SemanticType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps } from "./useMergeSemantic.js";
3
3
  import { PrevSelectedIndex, useMultipleSelect } from "./useMultipleSelect.js";
4
4
  import { Orientation, useOrientation } from "./useOrientation.js";
5
5
  import { CONTAINER_MAX_OFFSET, ZIndexConsumer, ZIndexContainer, consumerBaseZIndexOffset, containerBaseZIndexOffset, useZIndex } from "./useZIndex.js";
6
- export { CONTAINER_MAX_OFFSET, MaskConfig, MaskType, Orientation, PrevSelectedIndex, Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, ZIndexConsumer, ZIndexContainer, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
6
+ export { CONTAINER_MAX_OFFSET, MaskConfig, MaskType, Orientation, PrevSelectedIndex, Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, SemanticType, ZIndexConsumer, ZIndexContainer, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, normalizeMaskConfig, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
@@ -1,7 +1,7 @@
1
- import { useMergedMask } from "./useMergedMask.js";
1
+ import { normalizeMaskConfig, useMergedMask } from "./useMergedMask.js";
2
2
  import { getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps } from "./useMergeSemantic.js";
3
3
  import { useMultipleSelect } from "./useMultipleSelect.js";
4
4
  import { useOrientation } from "./useOrientation.js";
5
5
  import { CONTAINER_MAX_OFFSET, consumerBaseZIndexOffset, containerBaseZIndexOffset, useZIndex } from "./useZIndex.js";
6
6
 
7
- export { CONTAINER_MAX_OFFSET, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
7
+ export { CONTAINER_MAX_OFFSET, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, normalizeMaskConfig, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
@@ -1,5 +1,5 @@
1
1
  import { RenderNodeFn, VueNode } from "../type.js";
2
- import * as vue85 from "vue";
2
+ import * as vue89 from "vue";
3
3
  import { AriaAttributes, Ref, VNodeChild } from "vue";
4
4
 
5
5
  //#region src/_util/hooks/useClosable.d.ts
@@ -36,7 +36,7 @@ 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>): vue85.ComputedRef<readonly [true, vue85.VNode<vue85.RendererNode, vue85.RendererElement, {
39
+ declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>): vue89.ComputedRef<readonly [true, vue89.VNode<vue89.RendererNode, vue89.RendererElement, {
40
40
  [key: string]: any;
41
41
  }>, boolean, Record<string, any>] | ({} | null)[] | undefined>;
42
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];
@@ -1,5 +1,5 @@
1
1
  import { AnyObject, EmptyObject, ValidChar } from "../type.js";
2
- import * as vue151 from "vue";
2
+ import * as vue950 from "vue";
3
3
  import { CSSProperties, Ref } from "vue";
4
4
 
5
5
  //#region src/_util/hooks/useMergeSemantic.d.ts
@@ -13,6 +13,9 @@ type SemanticStyles<Name extends string> = Partial<Record<Name, CSSProperties>>;
13
13
  type Resolvable<T, P extends AnyObject> = T | ((info: {
14
14
  props: P;
15
15
  }) => T);
16
+ type SemanticType<P = any, T = any> = T | ((info: {
17
+ props: P;
18
+ }) => T);
16
19
  type SemanticClassNamesType<Props extends AnyObject, SemanticClassNames extends { [K in keyof SemanticClassNames]?: string }, NestedStructure extends EmptyObject = EmptyObject> = Resolvable<Readonly<SemanticClassNames>, Props> & NestedStructure;
17
20
  type SemanticStylesType<Props extends AnyObject, SemanticStyles extends { [K in keyof SemanticStyles]?: CSSProperties }, NestedStructure extends EmptyObject = EmptyObject> = Resolvable<Readonly<SemanticStyles>, Props> & NestedStructure;
18
21
  declare function mergeClassNames<Name extends string, SemanticClassNames extends Partial<Record<Name, any>>>(schema?: SemanticSchema, ...classNames: (SemanticClassNames | undefined)[]): SemanticClassNames;
@@ -34,12 +37,12 @@ type ObjectOnly<T> = T extends ((...args: any) => any) ? never : T;
34
37
  */
35
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<{
36
39
  props: Props;
37
- }>, schema?: Ref<SemanticSchema>): readonly [vue151.ComputedRef<ObjectOnly<ClassNamesType>>, vue151.ComputedRef<ObjectOnly<StylesType>>];
40
+ }>, schema?: Ref<SemanticSchema>): readonly [vue950.ComputedRef<ObjectOnly<ClassNamesType>>, vue950.ComputedRef<ObjectOnly<StylesType>>];
38
41
  declare function useMergeSemanticNoRef<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: MaybeFn<ClassNamesType, Props>[], stylesList: MaybeFn<StylesType, Props>[], info: {
39
42
  props: Props;
40
43
  }, schema?: SemanticSchema): readonly [ObjectOnly<ClassNamesType>, ObjectOnly<StylesType>];
41
- declare function useToArr<T = any>(...args: Ref<T | undefined>[]): vue151.ComputedRef<(T | undefined)[]>;
42
- declare function useToProps<T>(props: Ref<T>): vue151.ComputedRef<{
44
+ declare function useToArr<T = any>(...args: Ref<T | undefined>[]): vue950.ComputedRef<(T | undefined)[]>;
45
+ declare function useToProps<T>(props: Ref<T>): vue950.ComputedRef<{
43
46
  props: T;
44
47
  }>;
45
48
  interface RemoveBaseAttributesOptions {
@@ -56,4 +59,4 @@ declare function getAttrStyleAndClass(attrs: Record<string, any>, options?: Remo
56
59
  restAttrs: Record<string, any>;
57
60
  };
58
61
  //#endregion
59
- export { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps };
62
+ export { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, SemanticType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps };
@@ -1,14 +1,16 @@
1
- import * as vue164 from "vue";
1
+ import * as vue947 from "vue";
2
2
  import { Ref } from "vue";
3
3
 
4
4
  //#region src/_util/hooks/useMergedMask.d.ts
5
5
  interface MaskConfig {
6
6
  enabled?: boolean;
7
7
  blur?: boolean;
8
+ closable?: boolean;
8
9
  }
9
10
  type MaskType = MaskConfig | boolean;
10
- declare function useMergedMask(mask: Ref<MaskType | undefined>, contextMask: Ref<MaskType | undefined>, prefixCls: Ref<string | undefined>): readonly [vue164.ComputedRef<boolean>, vue164.ComputedRef<{
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 [vue947.ComputedRef<boolean>, vue947.ComputedRef<{
11
13
  mask: string | undefined;
12
- }>];
14
+ }>, vue947.ComputedRef<boolean>];
13
15
  //#endregion
14
- export { MaskConfig, MaskType, useMergedMask };
16
+ export { MaskConfig, MaskType, normalizeMaskConfig, useMergedMask };
@@ -1,29 +1,36 @@
1
- import { computed } from "vue";
1
+ import { computed, unref } from "vue";
2
2
 
3
3
  //#region src/_util/hooks/useMergedMask.ts
4
- function normalizeMaskConfig(mask) {
5
- if (mask && typeof mask === "object") return mask;
6
- if (typeof mask === "boolean") return {
7
- enabled: mask,
8
- blur: mask
9
- };
10
- return {};
4
+ function normalizeMaskConfig(mask, maskClosable) {
5
+ let maskConfig = {};
6
+ if (mask && typeof mask === "object") maskConfig = mask;
7
+ if (typeof mask === "boolean") maskConfig = { enabled: mask };
8
+ if (maskConfig.closable === void 0 && maskClosable !== void 0) maskConfig.closable = maskClosable;
9
+ return maskConfig;
11
10
  }
12
- function useMergedMask(mask, contextMask, prefixCls) {
11
+ function useMergedMask(mask, contextMask, prefixCls, maskClosable) {
13
12
  const context = computed(() => {
14
- const maskConfig = normalizeMaskConfig(mask.value);
13
+ const maskConfig = normalizeMaskConfig(mask.value, unref(maskClosable));
14
+ const contextMaskConfig = normalizeMaskConfig(contextMask.value);
15
15
  const mergedConfig = {
16
- ...normalizeMaskConfig(contextMask.value),
17
- ...maskConfig
16
+ blur: false,
17
+ ...contextMaskConfig,
18
+ ...maskConfig,
19
+ closable: maskConfig.closable ?? unref(maskClosable) ?? contextMaskConfig.closable ?? true
18
20
  };
19
- const className = mergedConfig.blur !== false ? `${prefixCls.value}-mask-blur` : void 0;
21
+ const className = mergedConfig.blur ? `${prefixCls.value}-mask-blur` : void 0;
20
22
  return {
21
23
  enabled: mergedConfig.enabled !== false,
22
- classNames: { mask: className }
24
+ classNames: { mask: className },
25
+ closable: !!mergedConfig.closable
23
26
  };
24
27
  });
25
- return [computed(() => context.value.enabled), computed(() => context.value.classNames)];
28
+ return [
29
+ computed(() => context.value.enabled),
30
+ computed(() => context.value.classNames),
31
+ computed(() => context.value.closable)
32
+ ];
26
33
  }
27
34
 
28
35
  //#endregion
29
- export { useMergedMask };
36
+ export { normalizeMaskConfig, useMergedMask };
@@ -3,6 +3,6 @@ import { Ref } from "vue";
3
3
 
4
4
  //#region src/_util/hooks/useResponsive.d.ts
5
5
  declare function convertBreakpointToResponsive<T extends Partial<Record<Breakpoint, any>>>(breakpoints: T): any;
6
- declare function useResponsive(): Record<Breakpoint | "mobile" | "tablet" | "laptop" | "desktop", Ref<boolean, boolean>>;
6
+ declare function useResponsive(): Record<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs" | "mobile" | "tablet" | "laptop" | "desktop", Ref<boolean, boolean>>;
7
7
  //#endregion
8
8
  export { convertBreakpointToResponsive, useResponsive };
@@ -1,6 +1,6 @@
1
- import * as vue3 from "vue";
1
+ import * as vue1 from "vue";
2
2
 
3
3
  //#region src/_util/instance.d.ts
4
- declare function getVueInstance(): vue3.AppContext | null;
4
+ declare function getVueInstance(): vue1.AppContext | null;
5
5
  //#endregion
6
6
  export { getVueInstance };
@@ -1,11 +1,12 @@
1
- import * as vue8 from "vue";
1
+ import * as vue20 from "vue";
2
2
 
3
3
  //#region src/_util/responsiveObserver.d.ts
4
- type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
4
+ declare const responsiveArray: readonly ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
5
+ declare const responsiveArrayReversed: ("xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs")[];
6
+ type Breakpoint = (typeof responsiveArray)[number];
5
7
  type BreakpointMap = Record<Breakpoint, string>;
6
8
  type ScreenMap = Partial<Record<Breakpoint, boolean>>;
7
9
  type ScreenSizeMap = Partial<Record<Breakpoint, number>>;
8
- declare const responsiveArray: Breakpoint[];
9
10
  type SubscribeFunc = (screens: ScreenMap) => void;
10
11
  declare function matchScreen(screens: ScreenMap, screenSizes?: ScreenSizeMap): number | undefined;
11
12
  interface ResponsiveObserverType {
@@ -20,6 +21,6 @@ interface ResponsiveObserverType {
20
21
  listener: (this: MediaQueryList, ev: MediaQueryListEvent) => void;
21
22
  }>;
22
23
  }
23
- declare function useResponsiveObserver(): vue8.ComputedRef<ResponsiveObserverType>;
24
+ declare function useResponsiveObserver(): vue20.ComputedRef<ResponsiveObserverType>;
24
25
  //#endregion
25
- export { Breakpoint, BreakpointMap, ScreenMap, ScreenSizeMap, useResponsiveObserver as default, matchScreen, responsiveArray };
26
+ export { Breakpoint, BreakpointMap, ScreenMap, ScreenSizeMap, useResponsiveObserver as default, matchScreen, responsiveArray, responsiveArrayReversed };
@@ -5,6 +5,7 @@ import { computed } from "vue";
5
5
 
6
6
  //#region src/_util/responsiveObserver.ts
7
7
  const responsiveArray = [
8
+ "xxxl",
8
9
  "xxl",
9
10
  "xl",
10
11
  "lg",
@@ -12,6 +13,7 @@ const responsiveArray = [
12
13
  "sm",
13
14
  "xs"
14
15
  ];
16
+ const responsiveArrayReversed = [...responsiveArray].reverse();
15
17
  function getResponsiveMap(token) {
16
18
  return {
17
19
  xs: `(max-width: ${token.screenXSMax}px)`,
@@ -19,7 +21,8 @@ function getResponsiveMap(token) {
19
21
  md: `(min-width: ${token.screenMD}px)`,
20
22
  lg: `(min-width: ${token.screenLG}px)`,
21
23
  xl: `(min-width: ${token.screenXL}px)`,
22
- xxl: `(min-width: ${token.screenXXL}px)`
24
+ xxl: `(min-width: ${token.screenXXL}px)`,
25
+ xxxl: `(min-width: ${token.screenXXXL}px)`
23
26
  };
24
27
  }
25
28
  /**
@@ -103,4 +106,4 @@ function useResponsiveObserver() {
103
106
  var responsiveObserver_default = useResponsiveObserver;
104
107
 
105
108
  //#endregion
106
- export { responsiveObserver_default as default, matchScreen, responsiveArray };
109
+ export { responsiveObserver_default 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): "" | "success" | "warning" | "error" | "validating" | undefined;
8
8
  //#endregion
9
9
  export { InputStatus, getMergedStatus, getStatusClassNames };
@@ -6,12 +6,8 @@ type EmptyObject = Record<never, never>;
6
6
  type RenderNodeFn<Args extends any[] = any[]> = (...args: Args) => VNodeChild;
7
7
  type VueNode<Args extends any[] = any[]> = RenderNodeFn<Args> | string | number | null | undefined | VNode | boolean;
8
8
  type EmitsArrToEvent<T extends Record<string, any>> = { [K in keyof T]: T[K] extends any[] ? (...args: T[K]) => void : T[K] };
9
- type EmitsType<T extends Record<string, any>> = EmitsArrToEvent<T> & {
10
- [key: string]: (...args: any[]) => void;
11
- };
12
- interface EmptyEmit {
13
- [key: string]: (...args: any[]) => void;
14
- }
9
+ type EmitsType<T extends Record<string, any>> = EmitsArrToEvent<T>;
10
+ interface EmptyEmit {}
15
11
  type SlotsDefineType<T extends Record<string, any> = Record<string, any>> = {
16
12
  default?: () => any;
17
13
  } & T;
@@ -1,19 +1,20 @@
1
1
  import { AnyObject, VueNode } from "./type.js";
2
- import * as vue502 from "vue";
2
+ import * as vue560 from "vue";
3
3
  import { VNodeChild } from "vue";
4
4
  import { isFragment } from "@v-c/util/dist/Children/isFragment";
5
5
 
6
6
  //#region src/_util/vueNode.d.ts
7
7
  type RenderProps = AnyObject | ((originProps: AnyObject) => AnyObject | undefined);
8
- declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): string | number | boolean | void | vue502.VNode<vue502.RendererNode, vue502.RendererElement, {
8
+ declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): string | number | boolean | void | vue560.VNode<vue560.RendererNode, vue560.RendererElement, {
9
9
  [key: string]: any;
10
- }> | vue502.VNodeArrayChildren | null;
11
- declare function cloneElement(element: VNodeChild, props?: RenderProps): string | number | boolean | void | vue502.VNode<vue502.RendererNode, vue502.RendererElement, {
10
+ }> | vue560.VNodeArrayChildren | null;
11
+ declare function cloneElement(element: VNodeChild, props?: RenderProps): string | number | boolean | void | vue560.VNode<vue560.RendererNode, vue560.RendererElement, {
12
12
  [key: string]: any;
13
- }> | vue502.VNodeArrayChildren | null;
13
+ }> | vue560.VNodeArrayChildren | null;
14
14
  declare function getVNode(node: VueNode): VNodeChild;
15
15
  declare function checkRenderNode(node: any): any;
16
16
  declare function getTextByNode(node: any): any;
17
17
  declare function getTextNodeArr(nodes: any[]): any[];
18
+ type EmitToProps<T extends Record<string, any>> = { [K in keyof T as `on${Capitalize<K & string>}`]: T[K] };
18
19
  //#endregion
19
- export { checkRenderNode, cloneElement, getTextByNode, getTextNodeArr, getVNode, isFragment, replaceElement };
20
+ export { EmitToProps, checkRenderNode, cloneElement, getTextByNode, getTextNodeArr, getVNode, isFragment, replaceElement };
@@ -1,11 +1,11 @@
1
1
  import { ShowWaveEffect, WaveComponent } from "./interface.js";
2
2
  import { WaveProps } from "./index.js";
3
- import * as vue363 from "vue";
3
+ import * as vue976 from "vue";
4
4
  import { PropType } from "vue";
5
- import * as vue_jsx_runtime10 from "vue/jsx-runtime";
5
+ import * as vue_jsx_runtime33 from "vue/jsx-runtime";
6
6
 
7
7
  //#region src/_util/wave/WaveEffect.d.ts
8
- declare const WaveEffect: vue363.DefineComponent<vue363.ExtractPropTypes<{
8
+ declare const WaveEffect: vue976.DefineComponent<vue976.ExtractPropTypes<{
9
9
  className: {
10
10
  type: StringConstructor;
11
11
  required: true;
@@ -22,7 +22,7 @@ declare const WaveEffect: vue363.DefineComponent<vue363.ExtractPropTypes<{
22
22
  type: PropType<WaveProps["colorSource"]>;
23
23
  required: false;
24
24
  };
25
- }>, () => vue_jsx_runtime10.JSX.Element | null, {}, {}, {}, vue363.ComponentOptionsMixin, vue363.ComponentOptionsMixin, "finish"[], "finish", vue363.PublicProps, Readonly<vue363.ExtractPropTypes<{
25
+ }>, () => vue_jsx_runtime33.JSX.Element | null, {}, {}, {}, vue976.ComponentOptionsMixin, vue976.ComponentOptionsMixin, "finish"[], "finish", vue976.PublicProps, Readonly<vue976.ExtractPropTypes<{
26
26
  className: {
27
27
  type: StringConstructor;
28
28
  required: true;
@@ -41,7 +41,7 @@ declare const WaveEffect: vue363.DefineComponent<vue363.ExtractPropTypes<{
41
41
  };
42
42
  }>> & Readonly<{
43
43
  onFinish?: ((...args: any[]) => any) | undefined;
44
- }>, {}, {}, {}, {}, string, vue363.ComponentProvideOptions, true, {}, any>;
44
+ }>, {}, {}, {}, {}, string, vue976.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 { WaveComponent } from "./interface.js";
2
- import * as vue528 from "vue";
2
+ import * as vue991 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/_util/wave/index.d.ts
@@ -8,14 +8,10 @@ interface WaveProps {
8
8
  component?: WaveComponent;
9
9
  colorSource?: 'color' | 'backgroundColor' | 'borderColor' | null;
10
10
  }
11
- interface WaveEmits {
12
- [key: string]: any;
13
- }
11
+ interface WaveEmits {}
14
12
  interface WaveSlots {
15
13
  default?: () => any;
16
14
  }
17
- declare const _default: vue528.DefineSetupFnComponent<WaveProps, WaveEmits, SlotsType<WaveSlots>, WaveProps & {
18
- [x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
19
- }, vue528.PublicProps>;
15
+ declare const _default: vue991.DefineSetupFnComponent<WaveProps, WaveEmits, SlotsType<WaveSlots>, WaveProps, vue991.PublicProps>;
20
16
  //#endregion
21
17
  export { WaveEmits, 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 vue66 from "vue";
3
+ import * as vue876 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: vue66.Ref<string>, rootCls?: vue66.Ref<string | undefined>) => vue66.Ref<string, string>;
8
+ declare const _default: (prefixCls: vue876.Ref<string>, rootCls?: vue876.Ref<string | undefined>) => vue876.Ref<string, string>;
9
9
  //#endregion
10
10
  export { ComponentToken, WaveToken, _default as default };
@@ -1,13 +1,13 @@
1
- import * as vue783 from "vue";
1
+ import * as vue573 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: vue783.DefineSetupFnComponent<{
7
+ declare const ZIndexProvider: vue573.DefineSetupFnComponent<{
8
8
  value: any;
9
9
  }, {}, {}, {
10
10
  value: any;
11
- } & {}, vue783.PublicProps>;
11
+ } & {}, vue573.PublicProps>;
12
12
  //#endregion
13
13
  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 vue510 from "vue";
3
+ import * as vue569 from "vue";
4
4
 
5
5
  //#region src/affix/index.d.ts
6
6
  interface AffixProps extends ComponentBaseProps {
@@ -13,7 +13,6 @@ interface AffixProps extends ComponentBaseProps {
13
13
  }
14
14
  interface AffixEmits {
15
15
  change: (affixed: boolean) => void;
16
- [key: string]: (...args: any[]) => void;
17
16
  }
18
17
  interface AffixRef {
19
18
  updatePosition: ReturnType<typeof throttleByAnimationFrame>;
@@ -21,10 +20,8 @@ interface AffixRef {
21
20
  type InternalAffixProps = AffixProps & {
22
21
  onTestUpdatePosition?: any;
23
22
  };
24
- declare const Affix: vue510.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
23
+ declare const Affix: vue569.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
25
24
  onTestUpdatePosition?: any;
26
- } & {
27
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
28
- }, vue510.PublicProps>;
25
+ }, vue569.PublicProps>;
29
26
  //#endregion
30
27
  export { Affix, Affix as default, AffixEmits, 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 vue372 from "vue";
3
+ import * as vue966 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: vue372.Ref<string>, rootCls?: vue372.Ref<string | undefined>) => readonly [vue372.Ref<string, string>, vue372.ComputedRef<string | undefined>];
14
+ declare const _default: (prefixCls: vue966.Ref<string>, rootCls?: vue966.Ref<string | undefined>) => readonly [vue966.Ref<string, string>, vue966.ComputedRef<string | undefined>];
15
15
  //#endregion
16
16
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,32 +1,34 @@
1
1
  import { SlotsDefineType, VueNode } from "../_util/type.js";
2
- import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
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 vue743 from "vue";
6
+ import * as vue757 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
 
9
9
  //#region src/alert/Alert.d.ts
10
- interface AlertSemanticClassNames {
11
- root?: string;
12
- icon?: string;
13
- section?: string;
14
- title?: string;
15
- description?: string;
16
- actions?: string;
17
- close?: string;
10
+ interface AlertSemanticType {
11
+ classes: {
12
+ root?: string;
13
+ icon?: string;
14
+ section?: string;
15
+ title?: string;
16
+ description?: string;
17
+ actions?: string;
18
+ close?: string;
19
+ };
20
+ styles: {
21
+ root?: CSSProperties;
22
+ icon?: CSSProperties;
23
+ section?: CSSProperties;
24
+ title?: CSSProperties;
25
+ description?: CSSProperties;
26
+ actions?: CSSProperties;
27
+ close?: CSSProperties;
28
+ };
18
29
  }
19
- interface AlertSemanticStyles {
20
- root?: CSSProperties;
21
- icon?: CSSProperties;
22
- section?: CSSProperties;
23
- title?: CSSProperties;
24
- description?: CSSProperties;
25
- actions?: CSSProperties;
26
- close?: CSSProperties;
27
- }
28
- type AlertClassNamesType = SemanticClassNamesType<AlertProps, AlertSemanticClassNames>;
29
- type AlertStylesType = SemanticStylesType<AlertProps, AlertSemanticStyles>;
30
+ type AlertClassNamesType = SemanticType<AlertProps, AlertSemanticType['classes']>;
31
+ type AlertStylesType = SemanticType<AlertProps, AlertSemanticType['styles']>;
30
32
  interface AlertProps extends ComponentBaseProps {
31
33
  /** Type of Alert styles, options:`success`, `info`, `warning`, `error` */
32
34
  type?: 'success' | 'info' | 'warning' | 'error';
@@ -68,10 +70,7 @@ interface AlertEmits {
68
70
  mouseenter: (e: any) => any;
69
71
  mouseleave: (e: any) => any;
70
72
  click: (e: any) => any;
71
- [key: string]: (e: any) => any;
72
73
  }
73
- declare const Alert: vue743.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps & {
74
- [x: `on${Capitalize<string>}`]: ((e: any) => any) | undefined;
75
- }, vue743.PublicProps>;
74
+ declare const Alert: vue757.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps, vue757.PublicProps>;
76
75
  //#endregion
77
- export { AlertClassNamesType, AlertEmits, AlertProps, AlertSemanticClassNames, AlertSemanticStyles, AlertSlots, AlertStylesType, Alert as default };
76
+ export { AlertClassNamesType, AlertEmits, AlertProps, AlertSemanticType, AlertSlots, AlertStylesType, Alert as default };