antdv-next 1.0.0-beta.2 → 1.0.0-rc.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 (265) hide show
  1. package/dist/_util/PurePanel.mjs +4 -4
  2. package/dist/_util/hooks/useClosable.d.mts +0 -1
  3. package/dist/_util/hooks/useClosable.mjs +1 -1
  4. package/dist/_util/hooks/useMergeSemantic.d.mts +2 -3
  5. package/dist/_util/hooks/useMergeSemantic.mjs +9 -9
  6. package/dist/_util/tools.mjs +1 -1
  7. package/dist/_util/warning.d.mts +0 -1
  8. package/dist/affix/index.d.mts +3 -3
  9. package/dist/alert/Alert.d.mts +24 -7
  10. package/dist/alert/Alert.mjs +91 -28
  11. package/dist/anchor/Anchor.d.mts +18 -7
  12. package/dist/antd.css +1 -1
  13. package/dist/antd.js +101 -112
  14. package/dist/app/App.d.mts +2 -2
  15. package/dist/app/App.mjs +2 -2
  16. package/dist/auto-complete/index.d.mts +23 -11
  17. package/dist/auto-complete/index.mjs +1 -1
  18. package/dist/avatar/Avatar.d.mts +3 -3
  19. package/dist/avatar/AvatarGroup.d.mts +2 -2
  20. package/dist/avatar/style/index.mjs +2 -2
  21. package/dist/badge/Ribbon.d.mts +18 -2
  22. package/dist/badge/Ribbon.mjs +44 -23
  23. package/dist/badge/SingleNumber.mjs +2 -1
  24. package/dist/badge/index.d.mts +14 -7
  25. package/dist/badge/style/ribbon.mjs +1 -1
  26. package/dist/breadcrumb/Breadcrumb.d.mts +17 -6
  27. package/dist/breadcrumb/Breadcrumb.mjs +18 -3
  28. package/dist/breadcrumb/BreadcrumbItem.d.mts +1 -0
  29. package/dist/breadcrumb/BreadcrumbItem.mjs +29 -4
  30. package/dist/breadcrumb/style/index.mjs +5 -5
  31. package/dist/button/Button.d.mts +18 -10
  32. package/dist/button/buttonHelper.d.mts +0 -1
  33. package/dist/button/index.d.mts +1 -1
  34. package/dist/button/style/compact.mjs +28 -19
  35. package/dist/button/style/token.d.mts +0 -5
  36. package/dist/button/style/variant.mjs +27 -3
  37. package/dist/calendar/generateCalendar.d.mts +20 -7
  38. package/dist/calendar/generateCalendar.mjs +1 -1
  39. package/dist/calendar/index.d.mts +3 -3
  40. package/dist/card/Card.d.mts +23 -6
  41. package/dist/card/CardGrid.d.mts +2 -2
  42. package/dist/card/CardMeta.d.mts +20 -7
  43. package/dist/cascader/index.d.mts +28 -7
  44. package/dist/checkbox/Checkbox.d.mts +16 -7
  45. package/dist/checkbox/Checkbox.mjs +1 -1
  46. package/dist/checkbox/Group.d.mts +4 -3
  47. package/dist/checkbox/Group.mjs +11 -2
  48. package/dist/collapse/Collapse.d.mts +19 -6
  49. package/dist/collapse/Collapse.mjs +1 -1
  50. package/dist/color-picker/ColorPicker.d.mts +3 -3
  51. package/dist/color-picker/interface.d.mts +15 -7
  52. package/dist/color-picker/style/input.mjs +2 -0
  53. package/dist/components.d.mts +2 -3
  54. package/dist/config-provider/context.d.mts +58 -12
  55. package/dist/config-provider/context.mjs +3 -3
  56. package/dist/config-provider/define.d.mts +7 -1
  57. package/dist/config-provider/index.d.mts +3 -4
  58. package/dist/config-provider/index.mjs +82 -8
  59. package/dist/date-picker/generatePicker/index.d.mts +15 -15
  60. package/dist/date-picker/generatePicker/interface.d.mts +37 -10
  61. package/dist/date-picker/hooks/useMergedPickerSemantic.mjs +2 -2
  62. package/dist/date-picker/index.d.mts +25 -25
  63. package/dist/descriptions/Cell.mjs +5 -5
  64. package/dist/descriptions/DescriptionsContext.d.mts +13 -0
  65. package/dist/descriptions/Item.d.mts +3 -3
  66. package/dist/descriptions/hooks/useRow.mjs +7 -7
  67. package/dist/descriptions/index.d.mts +22 -7
  68. package/dist/divider/index.d.mts +15 -5
  69. package/dist/drawer/DrawerPanel.d.mts +28 -3
  70. package/dist/drawer/DrawerPanel.mjs +3 -3
  71. package/dist/drawer/index.d.mts +4 -4
  72. package/dist/drawer/index.mjs +4 -0
  73. package/dist/drawer/style/index.mjs +9 -2
  74. package/dist/dropdown/dropdown.d.mts +20 -7
  75. package/dist/empty/index.d.mts +18 -7
  76. package/dist/flex/index.d.mts +3 -3
  77. package/dist/float-button/FloatButton.d.mts +3 -4
  78. package/dist/float-button/FloatButtonGroup.d.mts +22 -3
  79. package/dist/form/Form.d.mts +16 -7
  80. package/dist/form/FormItem/index.d.mts +3 -3
  81. package/dist/form/FormItem/index.mjs +1 -1
  82. package/dist/form/FormItemInput.d.mts +0 -1
  83. package/dist/image/PreviewGroup.d.mts +3 -5
  84. package/dist/image/index.d.mts +34 -14
  85. package/dist/index.d.mts +3 -4
  86. package/dist/input/Input.d.mts +17 -4
  87. package/dist/input/Input.mjs +2 -2
  88. package/dist/input/OTP/index.d.mts +13 -4
  89. package/dist/input/Password.mjs +3 -3
  90. package/dist/input/Search.d.mts +21 -9
  91. package/dist/input/TextArea.d.mts +16 -7
  92. package/dist/input/TextArea.mjs +2 -2
  93. package/dist/input/index.d.mts +11 -11
  94. package/dist/input/style/index.mjs +5 -2
  95. package/dist/input/style/variants.mjs +2 -1
  96. package/dist/input-number/index.d.mts +20 -7
  97. package/dist/layout/index.d.mts +6 -6
  98. package/dist/layout/layout.d.mts +0 -1
  99. package/dist/locale/index.d.mts +0 -1
  100. package/dist/masonry/Masonry.d.mts +14 -7
  101. package/dist/masonry/MasonryItem.mjs +2 -2
  102. package/dist/mentions/index.d.mts +18 -7
  103. package/dist/mentions/index.mjs +2 -2
  104. package/dist/mentions/style/index.mjs +2 -2
  105. package/dist/menu/MenuContext.d.mts +0 -1
  106. package/dist/menu/MenuDivider.d.mts +2 -2
  107. package/dist/menu/MenuItem.d.mts +3 -3
  108. package/dist/menu/MenuItem.mjs +4 -3
  109. package/dist/menu/SubMenu.d.mts +3 -3
  110. package/dist/menu/SubMenu.mjs +5 -0
  111. package/dist/menu/index.d.mts +5 -5
  112. package/dist/menu/menu.d.mts +42 -10
  113. package/dist/menu/menu.mjs +2 -2
  114. package/dist/menu/style/index.d.mts +1 -1
  115. package/dist/menu/style/vertical.mjs +1 -1
  116. package/dist/message/PurePanel.d.mts +5 -7
  117. package/dist/message/index.mjs +2 -2
  118. package/dist/message/interface.d.mts +20 -4
  119. package/dist/message/useMessage.d.mts +0 -1
  120. package/dist/modal/Modal.d.mts +3 -3
  121. package/dist/modal/confirm.mjs +8 -4
  122. package/dist/modal/interface.d.mts +22 -3
  123. package/dist/modal/style/index.mjs +11 -8
  124. package/dist/notification/PurePanel.d.mts +8 -8
  125. package/dist/notification/index.mjs +2 -2
  126. package/dist/notification/interface.d.mts +18 -5
  127. package/dist/notification/style/index.mjs +8 -8
  128. package/dist/notification/useNotification.d.mts +2 -3
  129. package/dist/package.d.mts +4 -0
  130. package/dist/package.mjs +1 -1
  131. package/dist/pagination/Pagination.d.mts +3 -3
  132. package/dist/pagination/Pagination.mjs +11 -10
  133. package/dist/pagination/interface.d.mts +14 -5
  134. package/dist/pagination/style/bordered.mjs +2 -2
  135. package/dist/pagination/style/index.d.mts +10 -5
  136. package/dist/pagination/style/index.mjs +52 -103
  137. package/dist/popconfirm/PurePanel.d.mts +5 -7
  138. package/dist/popconfirm/index.d.mts +8 -6
  139. package/dist/popconfirm/index.mjs +7 -3
  140. package/dist/popover/index.d.mts +16 -9
  141. package/dist/popover/index.mjs +8 -5
  142. package/dist/progress/Line.mjs +3 -3
  143. package/dist/progress/progress.d.mts +20 -7
  144. package/dist/qrcode/index.d.mts +3 -3
  145. package/dist/qrcode/index.mjs +2 -1
  146. package/dist/qrcode/interface.d.mts +11 -3
  147. package/dist/radio/group.mjs +3 -3
  148. package/dist/radio/index.d.mts +5 -5
  149. package/dist/radio/interface.d.mts +13 -3
  150. package/dist/radio/radio.d.mts +3 -3
  151. package/dist/radio/radio.mjs +1 -1
  152. package/dist/rate/index.d.mts +3 -3
  153. package/dist/result/index.d.mts +22 -7
  154. package/dist/result/index.mjs +11 -6
  155. package/dist/result/noFound.d.mts +2 -2
  156. package/dist/result/serverError.d.mts +2 -2
  157. package/dist/result/unauthorized.d.mts +2 -2
  158. package/dist/segmented/index.d.mts +18 -7
  159. package/dist/select/index.d.mts +48 -20
  160. package/dist/skeleton/Avatar.d.mts +2 -2
  161. package/dist/skeleton/Button.d.mts +2 -2
  162. package/dist/skeleton/Image.d.mts +2 -2
  163. package/dist/skeleton/Input.d.mts +2 -2
  164. package/dist/skeleton/Node.d.mts +3 -3
  165. package/dist/skeleton/Skeleton.d.mts +22 -7
  166. package/dist/slider/index.d.mts +19 -6
  167. package/dist/slider/index.mjs +4 -4
  168. package/dist/space/index.d.mts +18 -9
  169. package/dist/spin/Indicator/Progress.mjs +3 -3
  170. package/dist/spin/index.d.mts +19 -6
  171. package/dist/splitter/SplitBar.mjs +12 -12
  172. package/dist/splitter/Splitter.d.mts +3 -3
  173. package/dist/splitter/Splitter.mjs +1 -1
  174. package/dist/splitter/hooks/useItems.mjs +2 -2
  175. package/dist/splitter/hooks/useResizable.mjs +5 -5
  176. package/dist/splitter/hooks/useResize.mjs +2 -2
  177. package/dist/splitter/index.d.mts +2 -2
  178. package/dist/splitter/interface.d.mts +21 -7
  179. package/dist/splitter/style/index.mjs +2 -28
  180. package/dist/statistic/Statistic.d.mts +21 -6
  181. package/dist/statistic/Statistic.mjs +1 -1
  182. package/dist/statistic/Timer.d.mts +5 -5
  183. package/dist/statistic/index.d.mts +5 -5
  184. package/dist/steps/context.mjs +5 -2
  185. package/dist/steps/index.d.mts +31 -9
  186. package/dist/steps/index.mjs +3 -3
  187. package/dist/style/motion/fade.mjs +25 -0
  188. package/dist/switch/index.d.mts +14 -7
  189. package/dist/switch/index.mjs +2 -2
  190. package/dist/table/Column.d.mts +3 -3
  191. package/dist/table/ColumnGroup.d.mts +3 -3
  192. package/dist/table/InternalTable.d.mts +35 -13
  193. package/dist/table/InternalTable.mjs +12 -6
  194. package/dist/table/Table.d.mts +3 -3
  195. package/dist/table/TableMeasureRowContext.mjs +20 -0
  196. package/dist/table/hooks/useFilter/FilterDropdown.mjs +17 -12
  197. package/dist/table/hooks/useSelection.mjs +1 -1
  198. package/dist/table/interface.d.mts +1 -2
  199. package/dist/table/style/virtual.mjs +1 -1
  200. package/dist/tabs/TabPane.d.mts +3 -3
  201. package/dist/tabs/index.d.mts +27 -11
  202. package/dist/tabs/index.mjs +5 -5
  203. package/dist/tag/CheckableTag.d.mts +3 -3
  204. package/dist/tag/CheckableTagGroup.d.mts +3 -3
  205. package/dist/tag/index.d.mts +16 -7
  206. package/dist/tag/index.mjs +1 -1
  207. package/dist/tag/style/index.mjs +1 -1
  208. package/dist/theme/index.d.mts +1 -2
  209. package/dist/theme/interface/maps/index.d.mts +0 -1
  210. package/dist/theme/useToken.mjs +3 -3
  211. package/dist/theme/util/genStyleUtils.mjs +3 -2
  212. package/dist/time-picker/index.d.mts +38 -14
  213. package/dist/time-picker/index.mjs +1 -1
  214. package/dist/timeline/Timeline.d.mts +49 -14
  215. package/dist/timeline/Timeline.mjs +82 -11
  216. package/dist/timeline/index.d.mts +1 -2
  217. package/dist/timeline/style/horizontal.mjs +73 -0
  218. package/dist/timeline/style/index.d.mts +10 -5
  219. package/dist/timeline/style/index.mjs +93 -137
  220. package/dist/timeline/useItems.mjs +52 -0
  221. package/dist/tooltip/PurePanel.d.mts +2 -2
  222. package/dist/tooltip/UniqueProvider/index.d.mts +2 -2
  223. package/dist/tooltip/index.d.mts +17 -8
  224. package/dist/tooltip/index.mjs +11 -3
  225. package/dist/tooltip/style/index.d.mts +7 -1
  226. package/dist/tooltip/style/index.mjs +3 -2
  227. package/dist/tour/index.d.mts +3 -3
  228. package/dist/tour/index.mjs +1 -1
  229. package/dist/tour/interface.d.mts +29 -3
  230. package/dist/transfer/Actions.d.mts +2 -2
  231. package/dist/transfer/ListItem.mjs +4 -4
  232. package/dist/transfer/Section.d.mts +2 -2
  233. package/dist/transfer/Transfer.d.mts +3 -3
  234. package/dist/transfer/Transfer.mjs +4 -4
  235. package/dist/transfer/index.d.mts +1 -1
  236. package/dist/transfer/interface.d.mts +32 -7
  237. package/dist/transfer/search.d.mts +3 -3
  238. package/dist/tree/DirectoryTree.d.mts +3 -3
  239. package/dist/tree/Tree.d.mts +18 -7
  240. package/dist/tree/index.d.mts +0 -1
  241. package/dist/tree-select/index.d.mts +41 -12
  242. package/dist/tree-select/style/index.d.mts +1 -1
  243. package/dist/typography/Editable.mjs +4 -4
  244. package/dist/typography/Link.d.mts +3 -3
  245. package/dist/typography/Paragraph.d.mts +3 -3
  246. package/dist/typography/Text.d.mts +3 -3
  247. package/dist/typography/Title.d.mts +3 -3
  248. package/dist/typography/Typography.d.mts +3 -3
  249. package/dist/typography/Typography.mjs +2 -12
  250. package/dist/typography/index.d.mts +9 -10
  251. package/dist/typography/interface.d.mts +0 -2
  252. package/dist/typography/style/mixins.mjs +3 -3
  253. package/dist/upload/Dragger.d.mts +3 -3
  254. package/dist/upload/Upload.d.mts +3 -4
  255. package/dist/upload/index.d.mts +3 -3
  256. package/dist/upload/interface.d.mts +13 -4
  257. package/dist/watermark/index.d.mts +2 -2
  258. package/dist/watermark/index.mjs +3 -3
  259. package/package.json +45 -41
  260. package/web-tags.json +1108 -1067
  261. package/web-types.json +3861 -4257
  262. package/dist/timeline/TimelineItem.d.mts +0 -20
  263. package/dist/timeline/TimelineItem.mjs +0 -115
  264. package/dist/timeline/TimelineItemList.mjs +0 -158
  265. /package/dist/{reset.css/reset.css → reset.css} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { VueNode } from "../_util/type.mjs";
2
- import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
2
+ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { InputStatus } from "../_util/statusUtils.mjs";
5
5
  import { ComponentBaseProps } from "../config-provider/context.mjs";
@@ -56,14 +56,39 @@ interface TransferSearchOption {
56
56
  placeholder?: string;
57
57
  defaultValue?: string;
58
58
  }
59
- type TransferSemanticName = 'root' | 'section' | 'header' | 'title' | 'body' | 'list' | 'item' | 'itemIcon' | 'itemContent' | 'footer' | 'actions';
60
- type TransferClassNamesType = SemanticClassNamesType<TransferProps, TransferSemanticName>;
61
- type TransferStylesType = SemanticStylesType<TransferProps, TransferSemanticName>;
59
+ interface TransferSemanticClassNames {
60
+ root?: string;
61
+ section?: string;
62
+ header?: string;
63
+ title?: string;
64
+ body?: string;
65
+ list?: string;
66
+ item?: string;
67
+ itemIcon?: string;
68
+ itemContent?: string;
69
+ footer?: string;
70
+ actions?: string;
71
+ }
72
+ interface TransferSemanticStyles {
73
+ root?: CSSProperties;
74
+ section?: CSSProperties;
75
+ header?: CSSProperties;
76
+ title?: CSSProperties;
77
+ body?: CSSProperties;
78
+ list?: CSSProperties;
79
+ item?: CSSProperties;
80
+ itemIcon?: CSSProperties;
81
+ itemContent?: CSSProperties;
82
+ footer?: CSSProperties;
83
+ actions?: CSSProperties;
84
+ }
85
+ type TransferClassNamesType = SemanticClassNamesType<TransferProps, TransferSemanticClassNames>;
86
+ type TransferStylesType = SemanticStylesType<TransferProps, TransferSemanticStyles>;
62
87
  interface TransferListProps<RecordType> extends TransferLocale {
63
88
  prefixCls: string;
64
89
  style?: CSSProperties;
65
- classes?: SemanticClassNames<TransferSemanticName>;
66
- styles?: SemanticStyles<TransferSemanticName>;
90
+ classes?: TransferSemanticClassNames;
91
+ styles?: TransferSemanticStyles;
67
92
  titleText: VueNode;
68
93
  dataSource: RecordType[];
69
94
  filterOption?: (filterText: string, item: RecordType, direction: TransferDirection) => boolean;
@@ -158,4 +183,4 @@ interface TransferSlots<RecordType = any> {
158
183
  actions?: () => any;
159
184
  }
160
185
  //#endregion
161
- export { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSemanticName, TransferSlots, TransferStylesType };
186
+ export { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSlots, TransferStylesType };
@@ -1,5 +1,5 @@
1
1
  import { VueNode } from "../_util/type.mjs";
2
- import * as vue216 from "vue";
2
+ import * as vue217 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/transfer/search.d.ts
@@ -17,8 +17,8 @@ interface TransferSearchEmits {
17
17
  interface TransferSearchSlots {
18
18
  prefix?: () => VueNode;
19
19
  }
20
- declare const Search: vue216.DefineSetupFnComponent<TransferSearchProps, TransferSearchEmits, SlotsType<TransferSearchSlots>, TransferSearchProps & {
20
+ declare const Search: vue217.DefineSetupFnComponent<TransferSearchProps, TransferSearchEmits, SlotsType<TransferSearchSlots>, TransferSearchProps & {
21
21
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
22
- }, vue216.PublicProps>;
22
+ }, vue217.PublicProps>;
23
23
  //#endregion
24
24
  export { Search, TransferSearchEmits, TransferSearchProps, TransferSearchSlots };
@@ -1,5 +1,5 @@
1
1
  import { TreeEmits, TreeProps as TreeProps$1, TreeSlots } from "./Tree.mjs";
2
- import * as vue334 from "vue";
2
+ import * as vue354 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
  import { BasicDataNode, DataNode } from "@v-c/tree";
5
5
 
@@ -10,8 +10,8 @@ interface DirectoryTreeProps<T extends BasicDataNode = DataNode> extends TreePro
10
10
  }
11
11
  interface DirectoryTreeEmits extends TreeEmits {}
12
12
  interface DirectoryTreeSlots extends TreeSlots {}
13
- declare const DirectoryTree: vue334.DefineSetupFnComponent<DirectoryTreeProps<DataNode>, DirectoryTreeEmits, SlotsType<DirectoryTreeSlots>, DirectoryTreeProps<DataNode> & {
13
+ declare const DirectoryTree: vue354.DefineSetupFnComponent<DirectoryTreeProps<DataNode>, DirectoryTreeEmits, SlotsType<DirectoryTreeSlots>, DirectoryTreeProps<DataNode> & {
14
14
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
15
- }, vue334.PublicProps>;
15
+ }, vue354.PublicProps>;
16
16
  //#endregion
17
17
  export { DirectoryTree, DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction };
@@ -1,8 +1,8 @@
1
1
  import { VueNode } from "../_util/type.mjs";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
3
  import "../_util/hooks/index.mjs";
4
- import * as vue332 from "vue";
5
- import { SlotsType } from "vue";
4
+ import * as vue356 from "vue";
5
+ import { CSSProperties, SlotsType } from "vue";
6
6
  import { BasicDataNode, DataNode, TreeProps } from "@v-c/tree";
7
7
  import { Key } from "@v-c/util/dist/type";
8
8
 
@@ -74,9 +74,20 @@ interface DraggableConfig {
74
74
  icon?: VueNode;
75
75
  nodeDraggable?: DraggableFn;
76
76
  }
77
- type TreeSemanticName = 'root' | 'item' | 'itemIcon' | 'itemTitle';
78
- type TreeClassNamesType = SemanticClassNamesType<TreeProps$1, TreeSemanticName>;
79
- type TreeStylesType = SemanticStylesType<TreeProps$1, TreeSemanticName>;
77
+ interface TreeSemanticClassNames {
78
+ root?: string;
79
+ item?: string;
80
+ itemIcon?: string;
81
+ itemTitle?: string;
82
+ }
83
+ interface TreeSemanticStyles {
84
+ root?: CSSProperties;
85
+ item?: CSSProperties;
86
+ itemIcon?: CSSProperties;
87
+ itemTitle?: CSSProperties;
88
+ }
89
+ type TreeClassNamesType = SemanticClassNamesType<TreeProps$1, TreeSemanticClassNames>;
90
+ type TreeStylesType = SemanticStylesType<TreeProps$1, TreeSemanticStyles>;
80
91
  interface TreeProps$1<T extends BasicDataNode = DataNode> extends Omit<TreeProps<T>, 'prefixCls' | 'showLine' | 'direction' | 'draggable' | 'className' | 'icon' | 'switcherIcon' | 'classNames' | 'rootClassName' | 'styles' | 'onCheck' | 'onClick' | 'onBlur' | 'onDrop' | 'onLoad' | 'onActiveChange' | 'onContextMenu' | 'onDoubleClick' | 'onExpand' | 'onKeyDown' | 'onDragEnd' | 'onDragOver' | 'onDragStart' | 'onDragLeave' | 'onDragEnter' | 'tabIndex' | 'onSelect' | 'onFocus' | 'onMouseEnter' | 'onMouseLeave' | 'onRightClick' | 'onScroll' | 'style'> {
81
92
  rootClass?: string;
82
93
  showLine?: boolean | {
@@ -166,8 +177,8 @@ interface TreeSlots {
166
177
  icon: (props: AntdTreeNodeAttribute) => any;
167
178
  titleRender: TreeProps['titleRender'];
168
179
  }
169
- declare const Tree: vue332.DefineSetupFnComponent<TreeProps$1<DataNode>, TreeEmits, SlotsType<TreeSlots>, TreeProps$1<DataNode> & {
180
+ declare const Tree: vue356.DefineSetupFnComponent<TreeProps$1<DataNode>, TreeEmits, SlotsType<TreeSlots>, TreeProps$1<DataNode> & {
170
181
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
171
- }, vue332.PublicProps>;
182
+ }, vue356.PublicProps>;
172
183
  //#endregion
173
184
  export { AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, SwitcherIcon, Tree, TreeEmits, TreeProps$1 as TreeProps, TreeSlots };
@@ -3,7 +3,6 @@ import { DirectoryTree, DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlo
3
3
  import { BasicDataNode as BasicDataNode$1, DataNode as DataNode$1, TreeNode } from "@v-c/tree";
4
4
 
5
5
  //#region src/tree/index.d.ts
6
-
7
6
  declare const Tree: typeof Tree$1 & {
8
7
  DirectoryTree: typeof DirectoryTree;
9
8
  TreeNode: typeof TreeNode;
@@ -1,25 +1,54 @@
1
1
  import { SizeType } from "../config-provider/SizeContext.mjs";
2
2
  import { VueNode } from "../_util/type.mjs";
3
- import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
3
+ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
4
4
  import "../_util/hooks/index.mjs";
5
5
  import { InputStatus } from "../_util/statusUtils.mjs";
6
6
  import { SelectCommonPlacement } from "../_util/motion.mjs";
7
7
  import { SwitcherIcon, TreeProps } from "../tree/Tree.mjs";
8
8
  import "../tree/index.mjs";
9
9
  import { Variant } from "../config-provider/context.mjs";
10
- import * as vue177 from "vue";
10
+ import * as vue180 from "vue";
11
11
  import { App, CSSProperties, SlotsType } from "vue";
12
12
  import { DataNode, SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeNode, TreeSelectProps } from "@v-c/tree-select";
13
13
 
14
14
  //#region src/tree-select/index.d.ts
15
-
16
- type SemanticName = 'root' | 'prefix' | 'input' | 'suffix' | 'content' | 'placeholder' | 'item' | 'itemContent' | 'itemRemove';
17
- type PopupSemantic = 'item' | 'itemTitle' | 'root';
18
- type TreeSelectClassNamesType = SemanticClassNamesType<TreeSelectProps$1, SemanticName> & {
19
- popup?: SemanticClassNames<PopupSemantic>;
15
+ interface TreeSelectSemanticClassNames {
16
+ root?: string;
17
+ prefix?: string;
18
+ input?: string;
19
+ suffix?: string;
20
+ content?: string;
21
+ placeholder?: string;
22
+ item?: string;
23
+ itemContent?: string;
24
+ itemRemove?: string;
25
+ }
26
+ interface TreeSelectSemanticStyles {
27
+ root?: CSSProperties;
28
+ prefix?: CSSProperties;
29
+ input?: CSSProperties;
30
+ suffix?: CSSProperties;
31
+ content?: CSSProperties;
32
+ placeholder?: CSSProperties;
33
+ item?: CSSProperties;
34
+ itemContent?: CSSProperties;
35
+ itemRemove?: CSSProperties;
36
+ }
37
+ interface TreeSelectPopupSemanticClassNames {
38
+ root?: string;
39
+ item?: string;
40
+ itemTitle?: string;
41
+ }
42
+ interface TreeSelectPopupSemanticStyles {
43
+ root?: CSSProperties;
44
+ item?: CSSProperties;
45
+ itemTitle?: CSSProperties;
46
+ }
47
+ type TreeSelectClassNamesType = SemanticClassNamesType<TreeSelectProps$1, TreeSelectSemanticClassNames> & {
48
+ popup?: TreeSelectPopupSemanticClassNames;
20
49
  };
21
- type TreeSelectStylesType = SemanticStylesType<TreeSelectProps$1, SemanticName> & {
22
- popup?: SemanticStyles<PopupSemantic>;
50
+ type TreeSelectStylesType = SemanticStylesType<TreeSelectProps$1, TreeSelectSemanticStyles> & {
51
+ popup?: TreeSelectPopupSemanticStyles;
23
52
  };
24
53
  interface BaseTreeSelectProps<ValueType = any, OptionType extends DataNode = DataNode> extends Omit<TreeSelectProps<ValueType, OptionType>, 'showTreeIcon' | 'treeMotion' | 'mode' | 'getInputElement' | 'backfill' | 'treeLine' | 'switcherIcon' | 'classNames' | 'styles' | 'style' | 'onSelect' | 'onTreeExpand' | 'onTreeLoad' | 'onChange' | 'onDeselect' | 'onPopupScroll' | 'onPopupVisibleChange' | 'onSearch'> {
25
54
  size?: SizeType;
@@ -83,9 +112,9 @@ interface TreeSelectSlots {
83
112
  switcherIcon?: () => any;
84
113
  treeTitleRender?: (nodeData: DataNode) => any;
85
114
  }
86
- declare const InternalTreeSelect: vue177.DefineSetupFnComponent<TreeSelectProps$1<any, DataNode>, TreeSelectEmits, SlotsType<TreeSelectSlots>, TreeSelectProps$1<any, DataNode> & {
115
+ declare const InternalTreeSelect: vue180.DefineSetupFnComponent<TreeSelectProps$1<any, DataNode>, TreeSelectEmits, SlotsType<TreeSelectSlots>, TreeSelectProps$1<any, DataNode> & {
87
116
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
88
- }, vue177.PublicProps>;
117
+ }, vue180.PublicProps>;
89
118
  declare const TreeSelect: typeof InternalTreeSelect & {
90
119
  install: (app: App) => void;
91
120
  TreeNode: typeof TreeNode;
@@ -94,6 +123,6 @@ declare const TreeSelect: typeof InternalTreeSelect & {
94
123
  SHOW_CHILD: typeof SHOW_CHILD;
95
124
  _InternalPanelDoNotUseOrYouWillBeFired: any;
96
125
  };
97
- declare const TreeSelectNode: vue177.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any>, vue177.PublicProps>;
126
+ declare const TreeSelectNode: vue180.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any>, vue180.PublicProps>;
98
127
  //#endregion
99
128
  export { TreeSelect, TreeSelectEmits, TreeSelectNode, TreeSelectProps$1 as TreeSelectProps, TreeSelectSlots };
@@ -1,6 +1,6 @@
1
1
  import { TreeSharedToken } from "../../tree/style/index.mjs";
2
2
  import "../../theme/internal.mjs";
3
- import { Ref } from "vue";
3
+ import "vue";
4
4
 
5
5
  //#region src/tree-select/style/index.d.ts
6
6
  interface ComponentToken extends TreeSharedToken {}
@@ -11,7 +11,7 @@ import KeyCode from "@v-c/util/dist/KeyCode";
11
11
  const defaults = { autoSize: true };
12
12
  const Editable = /* @__PURE__ */ defineComponent((props) => {
13
13
  const { prefixCls, direction, maxLength, autoSize } = toPropsRefs(props, "prefixCls", "direction", "maxLength", "autoSize");
14
- const ref$1 = shallowRef();
14
+ const ref = shallowRef();
15
15
  const inComposition = shallowRef(false);
16
16
  const lastKeyCode = shallowRef(null);
17
17
  const current = shallowRef(props.value);
@@ -19,8 +19,8 @@ const Editable = /* @__PURE__ */ defineComponent((props) => {
19
19
  current.value = val;
20
20
  });
21
21
  onMounted(() => {
22
- if (ref$1.value?.resizableTextArea) {
23
- const { textArea } = ref$1.value.resizableTextArea;
22
+ if (ref.value?.resizableTextArea) {
23
+ const { textArea } = ref.value.resizableTextArea;
24
24
  textArea.focus();
25
25
  const { length } = textArea.value;
26
26
  textArea.setSelectionRange(length, length);
@@ -64,7 +64,7 @@ const Editable = /* @__PURE__ */ defineComponent((props) => {
64
64
  "class": textAreaClassName,
65
65
  "style": props.style
66
66
  }, [createVNode(TextArea_default, {
67
- "ref": ref$1,
67
+ "ref": ref,
68
68
  "maxlength": maxLength.value,
69
69
  "value": current.value,
70
70
  "onChange": onChange,
@@ -1,5 +1,5 @@
1
1
  import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.mjs";
2
- import * as vue418 from "vue";
2
+ import * as vue413 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/typography/Link.d.ts
@@ -9,8 +9,8 @@ interface LinkProps extends BlockProps {
9
9
  target?: string;
10
10
  rel?: string;
11
11
  }
12
- declare const Link: vue418.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, SlotsType<TypographySlots>, LinkProps & {
12
+ declare const Link: vue413.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, SlotsType<TypographySlots>, LinkProps & {
13
13
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
14
- }, vue418.PublicProps>;
14
+ }, vue413.PublicProps>;
15
15
  //#endregion
16
16
  export { Link, LinkProps };
@@ -1,11 +1,11 @@
1
1
  import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.mjs";
2
- import * as vue422 from "vue";
2
+ import * as vue417 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/typography/Paragraph.d.ts
6
6
  interface ParagraphProps extends BlockProps {}
7
- declare const Paragraph: vue422.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, SlotsType<TypographySlots>, ParagraphProps & {
7
+ declare const Paragraph: vue417.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, SlotsType<TypographySlots>, ParagraphProps & {
8
8
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
9
- }, vue422.PublicProps>;
9
+ }, vue417.PublicProps>;
10
10
  //#endregion
11
11
  export { Paragraph, ParagraphProps };
@@ -1,13 +1,13 @@
1
1
  import { BlockProps, EllipsisConfig, TypographyBaseEmits, TypographySlots } from "./interface.mjs";
2
- import * as vue416 from "vue";
2
+ import * as vue411 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/typography/Text.d.ts
6
6
  interface TextProps extends BlockProps {
7
7
  ellipsis?: boolean | Omit<EllipsisConfig, 'expandable' | 'rows' | 'onExpand'>;
8
8
  }
9
- declare const Text$1: vue416.DefineSetupFnComponent<TextProps, TypographyBaseEmits, SlotsType<TypographySlots>, TextProps & {
9
+ declare const Text$1: vue411.DefineSetupFnComponent<TextProps, TypographyBaseEmits, SlotsType<TypographySlots>, TextProps & {
10
10
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
11
- }, vue416.PublicProps>;
11
+ }, vue411.PublicProps>;
12
12
  //#endregion
13
13
  export { Text$1 as Text, TextProps };
@@ -1,5 +1,5 @@
1
1
  import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.mjs";
2
- import * as vue420 from "vue";
2
+ import * as vue415 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/typography/Title.d.ts
@@ -7,8 +7,8 @@ declare const TITLE_ELE_LIST: readonly [1, 2, 3, 4, 5];
7
7
  interface TitleProps extends Omit<BlockProps, 'strong'> {
8
8
  level?: (typeof TITLE_ELE_LIST)[number];
9
9
  }
10
- declare const Title: vue420.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, SlotsType<TypographySlots>, TitleProps & {
10
+ declare const Title: vue415.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, SlotsType<TypographySlots>, TitleProps & {
11
11
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
12
- }, vue420.PublicProps>;
12
+ }, vue415.PublicProps>;
13
13
  //#endregion
14
14
  export { Title, TitleProps };
@@ -1,11 +1,11 @@
1
1
  import { EmptyEmit } from "../_util/type.mjs";
2
2
  import { TypographyBaseProps, TypographySlots } from "./interface.mjs";
3
- import * as vue414 from "vue";
3
+ import * as vue409 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/typography/Typography.d.ts
7
- declare const Typography: vue414.DefineSetupFnComponent<TypographyBaseProps, EmptyEmit, SlotsType<TypographySlots>, TypographyBaseProps & {
7
+ declare const Typography: vue409.DefineSetupFnComponent<TypographyBaseProps, EmptyEmit, SlotsType<TypographySlots>, TypographyBaseProps & {
8
8
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
9
- }, vue414.PublicProps>;
9
+ }, vue409.PublicProps>;
10
10
  //#endregion
11
11
  export { Typography };
@@ -14,7 +14,7 @@ const Typography = /* @__PURE__ */ defineComponent((props, { slots, attrs, expos
14
14
  const elementRef = shallowRef();
15
15
  expose({ el: elementRef });
16
16
  return () => {
17
- const Component$1 = resolveDynamicComponent(props.component || "article");
17
+ const Component = resolveDynamicComponent(props.component || "article");
18
18
  const direction = typographyDirection.value || contextDirection.value;
19
19
  const { className, restAttrs, style } = getAttrStyleAndClass(attrs);
20
20
  const componentClassName = classNames(prefixCls.value, contextClassName.value, { [`${prefixCls.value}-rtl`]: direction === "rtl" }, props.rootClass, className, hashId.value, cssVarCls.value);
@@ -22,7 +22,7 @@ const Typography = /* @__PURE__ */ defineComponent((props, { slots, attrs, expos
22
22
  ...contextStyle.value,
23
23
  ...style
24
24
  };
25
- return createVNode(Component$1, mergeProps({
25
+ return createVNode(Component, mergeProps({
26
26
  "class": componentClassName,
27
27
  "style": mergedStyle,
28
28
  "ref": elementRef,
@@ -50,16 +50,6 @@ const Typography = /* @__PURE__ */ defineComponent((props, { slots, attrs, expos
50
50
  required: false,
51
51
  default: void 0
52
52
  },
53
- classes: {
54
- type: [Object, Function],
55
- required: false,
56
- default: void 0
57
- },
58
- styles: {
59
- type: [Object, Function],
60
- required: false,
61
- default: void 0
62
- },
63
53
  title: {
64
54
  type: String,
65
55
  required: false,
@@ -4,22 +4,21 @@ import { Link, LinkProps } from "./Link.mjs";
4
4
  import { Title, TitleProps } from "./Title.mjs";
5
5
  import { Paragraph, ParagraphProps } from "./Paragraph.mjs";
6
6
  import { Typography as Typography$1 } from "./Typography.mjs";
7
- import * as vue188 from "vue";
7
+ import * as vue184 from "vue";
8
8
 
9
9
  //#region src/typography/index.d.ts
10
-
11
- declare const TypographyText: vue188.DefineSetupFnComponent<TextProps, TypographyBaseEmits, vue188.SlotsType<TypographySlots>, TextProps & {
10
+ declare const TypographyText: vue184.DefineSetupFnComponent<TextProps, TypographyBaseEmits, vue184.SlotsType<TypographySlots>, TextProps & {
12
11
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
13
- }, vue188.PublicProps>;
14
- declare const TypographyLink: vue188.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, vue188.SlotsType<TypographySlots>, LinkProps & {
12
+ }, vue184.PublicProps>;
13
+ declare const TypographyLink: vue184.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, vue184.SlotsType<TypographySlots>, LinkProps & {
15
14
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
16
- }, vue188.PublicProps>;
17
- declare const TypographyTitle: vue188.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, vue188.SlotsType<TypographySlots>, TitleProps & {
15
+ }, vue184.PublicProps>;
16
+ declare const TypographyTitle: vue184.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, vue184.SlotsType<TypographySlots>, TitleProps & {
18
17
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
19
- }, vue188.PublicProps>;
20
- declare const TypographyParagraph: vue188.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, vue188.SlotsType<TypographySlots>, ParagraphProps & {
18
+ }, vue184.PublicProps>;
19
+ declare const TypographyParagraph: vue184.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, vue184.SlotsType<TypographySlots>, ParagraphProps & {
21
20
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
22
- }, vue188.PublicProps>;
21
+ }, vue184.PublicProps>;
23
22
  declare const Typography: typeof Typography$1 & {
24
23
  Text: typeof Text$1;
25
24
  Link: typeof Link;
@@ -87,8 +87,6 @@ interface TypographyBaseProps extends ComponentBaseProps {
87
87
  rootClass?: string;
88
88
  component?: keyof HTMLElementTagNameMap | string;
89
89
  direction?: DirectionType;
90
- classes?: TypographyClassNamesType;
91
- styles?: TypographyStylesType;
92
90
  title?: string;
93
91
  }
94
92
  //#endregion
@@ -32,10 +32,10 @@ const getTitleStyles = (token) => {
32
32
  return styles;
33
33
  };
34
34
  const getLinkStyles = (token) => {
35
- const { componentCls } = token;
36
- return { "a&, a": {
35
+ const { componentCls, antCls } = token;
36
+ const btnCls = `${antCls}-btn`;
37
+ return { [`a&:not(${btnCls}), a:not(${btnCls})`]: {
37
38
  ...operationUnit(token),
38
- userSelect: "text",
39
39
  [`&[disabled], &${componentCls}-disabled`]: {
40
40
  "color": token.colorTextDisabled,
41
41
  "cursor": "not-allowed",
@@ -1,16 +1,16 @@
1
1
  import { EmptyEmit } from "../_util/type.mjs";
2
2
  import { UploadProps, UploadSlots } from "./interface.mjs";
3
- import * as vue338 from "vue";
3
+ import * as vue305 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/upload/Dragger.d.ts
7
7
  type DraggerProps<T = any> = UploadProps<T> & {
8
8
  height?: number;
9
9
  };
10
- declare const Dragger: vue338.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
10
+ declare const Dragger: vue305.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
11
11
  height?: number;
12
12
  } & {
13
13
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
14
- }, vue338.PublicProps>;
14
+ }, vue305.PublicProps>;
15
15
  //#endregion
16
16
  export { Dragger, DraggerProps };
@@ -1,12 +1,11 @@
1
1
  import { UploadEmits, UploadProps, UploadSlots } from "./interface.mjs";
2
- import * as vue336 from "vue";
2
+ import * as vue303 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
  import "@v-c/upload";
5
5
 
6
6
  //#region src/upload/Upload.d.ts
7
-
8
- declare const InternalUpload: vue336.DefineSetupFnComponent<UploadProps<any>, UploadEmits<any>, SlotsType<UploadSlots<any>>, UploadProps<any> & {
7
+ declare const InternalUpload: vue303.DefineSetupFnComponent<UploadProps<any>, UploadEmits<any>, SlotsType<UploadSlots<any>>, UploadProps<any> & {
9
8
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
10
- }, vue336.PublicProps>;
9
+ }, vue303.PublicProps>;
11
10
  //#endregion
12
11
  export { InternalUpload };
@@ -2,7 +2,7 @@ import { EmptyEmit } from "../_util/type.mjs";
2
2
  import { UploadChangeParam, UploadEmits, UploadFile, UploadProps, UploadSlots } from "./interface.mjs";
3
3
  import { Dragger, DraggerProps } from "./Dragger.mjs";
4
4
  import { InternalUpload } from "./Upload.mjs";
5
- import * as vue183 from "vue";
5
+ import * as vue196 from "vue";
6
6
  import { App } from "vue";
7
7
 
8
8
  //#region src/upload/index.d.ts
@@ -11,10 +11,10 @@ declare const Upload: typeof InternalUpload & {
11
11
  Dragger: typeof Dragger;
12
12
  LIST_IGNORE: string;
13
13
  };
14
- declare const UploadDragger: vue183.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, vue183.SlotsType<UploadSlots<any>>, UploadProps<any> & {
14
+ declare const UploadDragger: vue196.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, vue196.SlotsType<UploadSlots<any>>, UploadProps<any> & {
15
15
  height?: number;
16
16
  } & {
17
17
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
18
- }, vue183.PublicProps>;
18
+ }, vue196.PublicProps>;
19
19
  //#endregion
20
20
  export { Upload, UploadDragger };
@@ -2,7 +2,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
2
2
  import "../_util/hooks/index.mjs";
3
3
  import { ProgressAriaProps, ProgressProps } from "../progress/progress.mjs";
4
4
  import "../progress/index.mjs";
5
- import { ImgHTMLAttributes } from "vue";
5
+ import { CSSProperties, ImgHTMLAttributes } from "vue";
6
6
  import { AcceptConfig, UploadRequestOption, VcFile } from "@v-c/upload";
7
7
 
8
8
  //#region src/upload/interface.d.ts
@@ -66,9 +66,18 @@ type ItemRender<T = any> = (originNode: any, file: UploadFile<T>, fileList: Arra
66
66
  }) => any;
67
67
  type PreviewFileHandler = (file: File | Blob) => PromiseLike<string>;
68
68
  type BeforeUploadValueType = void | boolean | string | Blob | File;
69
- type SemanticName = 'root' | 'list' | 'item';
70
- type UploadClassNamesType = SemanticClassNamesType<UploadProps, SemanticName>;
71
- type UploadStylesType = SemanticStylesType<UploadProps, SemanticName>;
69
+ interface UploadSemanticClassNames {
70
+ root?: string;
71
+ list?: string;
72
+ item?: string;
73
+ }
74
+ interface UploadSemanticStyles {
75
+ root?: CSSProperties;
76
+ list?: CSSProperties;
77
+ item?: CSSProperties;
78
+ }
79
+ type UploadClassNamesType<T = any> = SemanticClassNamesType<UploadProps<T>, UploadSemanticClassNames>;
80
+ type UploadStylesType<T = any> = SemanticStylesType<UploadProps<T>, UploadSemanticStyles>;
72
81
  interface UploadProps<T = any> {
73
82
  type?: UploadType;
74
83
  name?: string;
@@ -1,4 +1,4 @@
1
- import * as vue134 from "vue";
1
+ import * as vue199 from "vue";
2
2
 
3
3
  //#region src/watermark/index.d.ts
4
4
  interface WatermarkProps {
@@ -21,6 +21,6 @@ interface WatermarkProps {
21
21
  offset?: [number, number];
22
22
  inherit?: boolean;
23
23
  }
24
- declare const Watermark: vue134.DefineSetupFnComponent<WatermarkProps, {}, {}, WatermarkProps & {}, vue134.PublicProps>;
24
+ declare const Watermark: vue199.DefineSetupFnComponent<WatermarkProps, {}, {}, WatermarkProps & {}, vue199.PublicProps>;
25
25
  //#endregion
26
26
  export { Watermark, WatermarkProps };
@@ -154,9 +154,9 @@ const Watermark = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
154
154
  };
155
155
  const syncWatermark = useRafDebounce(renderWatermark);
156
156
  const [appendWatermark, removeWatermark, isWatermarkEle] = useWatermark(markStyle);
157
- watch([watermarkInfo, targetElements], ([watermarkInfo$1, targetElements$1]) => {
158
- if (watermarkInfo$1) targetElements$1.forEach((holder) => {
159
- appendWatermark(watermarkInfo$1[0], watermarkInfo$1[1], holder);
157
+ watch([watermarkInfo, targetElements], ([watermarkInfo, targetElements]) => {
158
+ if (watermarkInfo) targetElements.forEach((holder) => {
159
+ appendWatermark(watermarkInfo[0], watermarkInfo[1], holder);
160
160
  });
161
161
  });
162
162
  const onMutate = (mutations) => {