antdv-next 1.0.0-beta.3 → 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 (269) 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 +21 -5
  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/carousel/index.d.mts +3 -3
  44. package/dist/cascader/Panel.d.mts +3 -3
  45. package/dist/cascader/index.d.mts +31 -10
  46. package/dist/checkbox/Checkbox.d.mts +16 -7
  47. package/dist/checkbox/Checkbox.mjs +1 -1
  48. package/dist/checkbox/Group.d.mts +4 -3
  49. package/dist/checkbox/Group.mjs +11 -2
  50. package/dist/collapse/Collapse.d.mts +19 -6
  51. package/dist/collapse/Collapse.mjs +1 -1
  52. package/dist/color-picker/ColorPicker.d.mts +3 -3
  53. package/dist/color-picker/interface.d.mts +15 -7
  54. package/dist/color-picker/style/input.mjs +2 -0
  55. package/dist/components.d.mts +2 -3
  56. package/dist/config-provider/context.d.mts +58 -12
  57. package/dist/config-provider/context.mjs +3 -3
  58. package/dist/config-provider/define.d.mts +7 -1
  59. package/dist/config-provider/index.d.mts +3 -4
  60. package/dist/config-provider/index.mjs +82 -8
  61. package/dist/date-picker/generatePicker/index.d.mts +15 -15
  62. package/dist/date-picker/generatePicker/interface.d.mts +37 -10
  63. package/dist/date-picker/hooks/useMergedPickerSemantic.mjs +2 -2
  64. package/dist/date-picker/index.d.mts +25 -25
  65. package/dist/descriptions/Cell.mjs +5 -5
  66. package/dist/descriptions/DescriptionsContext.d.mts +13 -0
  67. package/dist/descriptions/Item.d.mts +3 -3
  68. package/dist/descriptions/hooks/useRow.mjs +7 -7
  69. package/dist/descriptions/index.d.mts +22 -7
  70. package/dist/divider/index.d.mts +15 -5
  71. package/dist/drawer/DrawerPanel.d.mts +28 -3
  72. package/dist/drawer/DrawerPanel.mjs +3 -3
  73. package/dist/drawer/index.d.mts +4 -4
  74. package/dist/drawer/index.mjs +4 -0
  75. package/dist/drawer/style/index.mjs +9 -2
  76. package/dist/dropdown/dropdown.d.mts +20 -7
  77. package/dist/empty/index.d.mts +18 -7
  78. package/dist/flex/index.d.mts +3 -3
  79. package/dist/float-button/BackTop.d.mts +3 -3
  80. package/dist/float-button/FloatButton.d.mts +6 -7
  81. package/dist/float-button/FloatButtonGroup.d.mts +25 -6
  82. package/dist/form/Form.d.mts +16 -7
  83. package/dist/form/FormItem/index.d.mts +3 -3
  84. package/dist/form/FormItem/index.mjs +1 -1
  85. package/dist/form/FormItemInput.d.mts +0 -1
  86. package/dist/grid/index.d.mts +2 -2
  87. package/dist/grid/row.d.mts +2 -2
  88. package/dist/image/PreviewGroup.d.mts +3 -5
  89. package/dist/image/index.d.mts +34 -14
  90. package/dist/index.d.mts +3 -4
  91. package/dist/input/Input.d.mts +17 -4
  92. package/dist/input/Input.mjs +2 -2
  93. package/dist/input/OTP/index.d.mts +13 -4
  94. package/dist/input/Password.mjs +3 -3
  95. package/dist/input/Search.d.mts +21 -9
  96. package/dist/input/TextArea.d.mts +16 -7
  97. package/dist/input/TextArea.mjs +2 -2
  98. package/dist/input/index.d.mts +11 -11
  99. package/dist/input/style/index.mjs +5 -2
  100. package/dist/input/style/variants.mjs +2 -1
  101. package/dist/input-number/index.d.mts +20 -7
  102. package/dist/layout/index.d.mts +6 -6
  103. package/dist/layout/layout.d.mts +2 -3
  104. package/dist/locale/index.d.mts +0 -1
  105. package/dist/masonry/Masonry.d.mts +14 -7
  106. package/dist/masonry/MasonryItem.mjs +2 -2
  107. package/dist/mentions/index.d.mts +18 -7
  108. package/dist/mentions/index.mjs +2 -2
  109. package/dist/mentions/style/index.mjs +2 -2
  110. package/dist/menu/MenuContext.d.mts +0 -1
  111. package/dist/menu/MenuDivider.d.mts +2 -2
  112. package/dist/menu/MenuItem.d.mts +3 -3
  113. package/dist/menu/MenuItem.mjs +4 -3
  114. package/dist/menu/SubMenu.d.mts +3 -3
  115. package/dist/menu/SubMenu.mjs +5 -0
  116. package/dist/menu/index.d.mts +5 -5
  117. package/dist/menu/menu.d.mts +42 -10
  118. package/dist/menu/menu.mjs +2 -2
  119. package/dist/menu/style/index.d.mts +1 -1
  120. package/dist/menu/style/vertical.mjs +1 -1
  121. package/dist/message/PurePanel.d.mts +5 -7
  122. package/dist/message/index.mjs +2 -2
  123. package/dist/message/interface.d.mts +20 -4
  124. package/dist/message/useMessage.d.mts +0 -1
  125. package/dist/modal/Modal.d.mts +3 -3
  126. package/dist/modal/confirm.mjs +8 -4
  127. package/dist/modal/interface.d.mts +22 -3
  128. package/dist/modal/style/index.mjs +11 -8
  129. package/dist/notification/PurePanel.d.mts +8 -8
  130. package/dist/notification/index.mjs +2 -2
  131. package/dist/notification/interface.d.mts +18 -5
  132. package/dist/notification/style/index.mjs +8 -8
  133. package/dist/notification/useNotification.d.mts +2 -3
  134. package/dist/package.d.mts +4 -0
  135. package/dist/package.mjs +1 -1
  136. package/dist/pagination/Pagination.d.mts +3 -3
  137. package/dist/pagination/Pagination.mjs +11 -10
  138. package/dist/pagination/interface.d.mts +14 -5
  139. package/dist/pagination/style/bordered.mjs +2 -2
  140. package/dist/pagination/style/index.d.mts +10 -5
  141. package/dist/pagination/style/index.mjs +52 -103
  142. package/dist/popconfirm/PurePanel.d.mts +5 -7
  143. package/dist/popconfirm/index.d.mts +8 -6
  144. package/dist/popconfirm/index.mjs +7 -3
  145. package/dist/popover/index.d.mts +16 -9
  146. package/dist/popover/index.mjs +8 -5
  147. package/dist/progress/Line.mjs +3 -3
  148. package/dist/progress/progress.d.mts +20 -7
  149. package/dist/qrcode/index.d.mts +3 -3
  150. package/dist/qrcode/index.mjs +2 -1
  151. package/dist/qrcode/interface.d.mts +11 -3
  152. package/dist/radio/group.mjs +3 -3
  153. package/dist/radio/index.d.mts +5 -5
  154. package/dist/radio/interface.d.mts +13 -3
  155. package/dist/radio/radio.d.mts +3 -3
  156. package/dist/radio/radio.mjs +1 -1
  157. package/dist/rate/index.d.mts +3 -3
  158. package/dist/result/index.d.mts +22 -7
  159. package/dist/result/index.mjs +11 -6
  160. package/dist/result/noFound.d.mts +2 -2
  161. package/dist/result/serverError.d.mts +2 -2
  162. package/dist/result/unauthorized.d.mts +2 -2
  163. package/dist/segmented/index.d.mts +18 -7
  164. package/dist/select/index.d.mts +48 -20
  165. package/dist/skeleton/Avatar.d.mts +2 -2
  166. package/dist/skeleton/Button.d.mts +2 -2
  167. package/dist/skeleton/Image.d.mts +2 -2
  168. package/dist/skeleton/Input.d.mts +2 -2
  169. package/dist/skeleton/Node.d.mts +3 -3
  170. package/dist/skeleton/Skeleton.d.mts +22 -7
  171. package/dist/slider/index.d.mts +19 -6
  172. package/dist/slider/index.mjs +4 -4
  173. package/dist/space/index.d.mts +18 -9
  174. package/dist/spin/Indicator/Progress.mjs +3 -3
  175. package/dist/spin/index.d.mts +19 -6
  176. package/dist/splitter/SplitBar.mjs +12 -12
  177. package/dist/splitter/Splitter.d.mts +3 -3
  178. package/dist/splitter/Splitter.mjs +1 -1
  179. package/dist/splitter/hooks/useItems.mjs +2 -2
  180. package/dist/splitter/hooks/useResizable.mjs +5 -5
  181. package/dist/splitter/hooks/useResize.mjs +2 -2
  182. package/dist/splitter/index.d.mts +2 -2
  183. package/dist/splitter/interface.d.mts +21 -7
  184. package/dist/splitter/style/index.mjs +2 -28
  185. package/dist/statistic/Statistic.d.mts +21 -6
  186. package/dist/statistic/Statistic.mjs +1 -1
  187. package/dist/statistic/Timer.d.mts +5 -5
  188. package/dist/statistic/index.d.mts +5 -5
  189. package/dist/steps/context.mjs +5 -2
  190. package/dist/steps/index.d.mts +31 -9
  191. package/dist/steps/index.mjs +3 -3
  192. package/dist/style/motion/fade.mjs +25 -0
  193. package/dist/switch/index.d.mts +14 -7
  194. package/dist/switch/index.mjs +2 -2
  195. package/dist/table/Column.d.mts +3 -3
  196. package/dist/table/ColumnGroup.d.mts +3 -3
  197. package/dist/table/InternalTable.d.mts +35 -13
  198. package/dist/table/InternalTable.mjs +12 -6
  199. package/dist/table/Table.d.mts +3 -3
  200. package/dist/table/TableMeasureRowContext.mjs +20 -0
  201. package/dist/table/hooks/useFilter/FilterDropdown.mjs +17 -12
  202. package/dist/table/hooks/useSelection.mjs +1 -1
  203. package/dist/table/interface.d.mts +1 -2
  204. package/dist/table/style/virtual.mjs +1 -1
  205. package/dist/tabs/TabPane.d.mts +3 -3
  206. package/dist/tabs/index.d.mts +27 -11
  207. package/dist/tabs/index.mjs +5 -5
  208. package/dist/tag/CheckableTag.d.mts +3 -3
  209. package/dist/tag/CheckableTagGroup.d.mts +3 -3
  210. package/dist/tag/index.d.mts +16 -7
  211. package/dist/tag/index.mjs +1 -1
  212. package/dist/tag/style/index.mjs +1 -1
  213. package/dist/theme/index.d.mts +1 -2
  214. package/dist/theme/interface/maps/index.d.mts +0 -1
  215. package/dist/theme/useToken.mjs +3 -3
  216. package/dist/theme/util/genStyleUtils.mjs +3 -2
  217. package/dist/time-picker/index.d.mts +38 -14
  218. package/dist/time-picker/index.mjs +1 -1
  219. package/dist/timeline/Timeline.d.mts +49 -14
  220. package/dist/timeline/Timeline.mjs +82 -11
  221. package/dist/timeline/index.d.mts +1 -2
  222. package/dist/timeline/style/horizontal.mjs +73 -0
  223. package/dist/timeline/style/index.d.mts +10 -5
  224. package/dist/timeline/style/index.mjs +93 -137
  225. package/dist/timeline/useItems.mjs +52 -0
  226. package/dist/tooltip/PurePanel.d.mts +2 -2
  227. package/dist/tooltip/UniqueProvider/index.d.mts +2 -2
  228. package/dist/tooltip/index.d.mts +17 -8
  229. package/dist/tooltip/index.mjs +11 -3
  230. package/dist/tooltip/style/index.d.mts +7 -1
  231. package/dist/tooltip/style/index.mjs +3 -2
  232. package/dist/tour/index.d.mts +3 -3
  233. package/dist/tour/index.mjs +1 -1
  234. package/dist/tour/interface.d.mts +29 -3
  235. package/dist/transfer/Actions.d.mts +2 -2
  236. package/dist/transfer/ListItem.mjs +4 -4
  237. package/dist/transfer/Section.d.mts +2 -2
  238. package/dist/transfer/Transfer.d.mts +3 -3
  239. package/dist/transfer/Transfer.mjs +4 -4
  240. package/dist/transfer/index.d.mts +1 -1
  241. package/dist/transfer/interface.d.mts +32 -7
  242. package/dist/transfer/search.d.mts +3 -3
  243. package/dist/tree/DirectoryTree.d.mts +3 -3
  244. package/dist/tree/Tree.d.mts +18 -7
  245. package/dist/tree/index.d.mts +0 -1
  246. package/dist/tree-select/index.d.mts +41 -12
  247. package/dist/tree-select/style/index.d.mts +1 -1
  248. package/dist/typography/Editable.mjs +4 -4
  249. package/dist/typography/Link.d.mts +3 -3
  250. package/dist/typography/Paragraph.d.mts +3 -3
  251. package/dist/typography/Text.d.mts +3 -3
  252. package/dist/typography/Title.d.mts +3 -3
  253. package/dist/typography/Typography.d.mts +3 -3
  254. package/dist/typography/Typography.mjs +2 -12
  255. package/dist/typography/index.d.mts +9 -10
  256. package/dist/typography/interface.d.mts +0 -2
  257. package/dist/typography/style/mixins.mjs +3 -3
  258. package/dist/upload/Dragger.d.mts +3 -3
  259. package/dist/upload/Upload.d.mts +3 -4
  260. package/dist/upload/index.d.mts +3 -3
  261. package/dist/upload/interface.d.mts +13 -4
  262. package/dist/watermark/index.d.mts +2 -2
  263. package/dist/watermark/index.mjs +3 -3
  264. package/package.json +45 -41
  265. package/web-tags.json +1918 -1873
  266. package/web-types.json +6815 -7198
  267. package/dist/timeline/TimelineItem.d.mts +0 -20
  268. package/dist/timeline/TimelineItem.mjs +0 -115
  269. package/dist/timeline/TimelineItemList.mjs +0 -158
@@ -3,11 +3,11 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { TooltipProps } from "../tooltip/index.mjs";
5
5
  import { ButtonHTMLType } from "../button/buttonHelper.mjs";
6
- import { ButtonSemanticName } from "../button/Button.mjs";
6
+ import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.mjs";
7
7
  import "../button/index.mjs";
8
8
  import { BadgeProps } from "../badge/index.mjs";
9
9
  import { ComponentBaseProps } from "../config-provider/context.mjs";
10
- import * as vue296 from "vue";
10
+ import * as vue277 from "vue";
11
11
  import { CSSProperties, SlotsType } from "vue";
12
12
 
13
13
  //#region src/float-button/FloatButton.d.ts
@@ -19,9 +19,8 @@ type FloatButtonType = 'default' | 'primary';
19
19
  type FloatButtonShape = 'circle' | 'square';
20
20
  type FloatButtonGroupTrigger = 'click' | 'hover';
21
21
  type FloatButtonBadgeProps = Omit<BadgeProps, 'status' | 'text' | 'title'>;
22
- type FloatButtonSemanticName = ButtonSemanticName;
23
- type FloatButtonClassNamesType = SemanticClassNamesType<FloatButtonProps, FloatButtonSemanticName>;
24
- type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, FloatButtonSemanticName>;
22
+ type FloatButtonClassNamesType = SemanticClassNamesType<FloatButtonProps, ButtonSemanticClassNames>;
23
+ type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, ButtonSemanticStyles>;
25
24
  interface FloatButtonProps extends ComponentBaseProps {
26
25
  icon?: VueNode;
27
26
  /** @deprecated Use `content` instead */
@@ -54,9 +53,9 @@ interface FloatButtonEmits {
54
53
  blur: (e: FocusEvent) => void;
55
54
  [key: string]: (...args: any[]) => void;
56
55
  }
57
- declare const InternalFloatButton: vue296.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps & {
56
+ declare const InternalFloatButton: vue277.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps & {
58
57
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
59
- }, vue296.PublicProps>;
58
+ }, vue277.PublicProps>;
60
59
  declare const FloatButton: typeof InternalFloatButton;
61
60
  //#endregion
62
61
  export { FloatButton, FloatButtonGroupTrigger, FloatButtonProps, FloatButtonRef };
@@ -3,13 +3,32 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { FloatButtonGroupTrigger, FloatButtonProps } from "./FloatButton.mjs";
5
5
  import { ComponentBaseProps } from "../config-provider/context.mjs";
6
- import * as vue298 from "vue";
6
+ import * as vue279 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
 
9
9
  //#region src/float-button/FloatButtonGroup.d.ts
10
- type InternalFloatButtonGroupSemanticName = 'root' | 'list' | 'item' | 'itemIcon' | 'itemContent' | 'trigger' | 'triggerIcon' | 'triggerContent';
11
- type FloatButtonGroupClassNamesType = SemanticClassNamesType<FloatButtonGroupProps, InternalFloatButtonGroupSemanticName>;
12
- type FloatButtonGroupStylesType = SemanticStylesType<FloatButtonGroupProps, InternalFloatButtonGroupSemanticName>;
10
+ interface FloatButtonGroupSemanticClassNames {
11
+ root?: string;
12
+ list?: string;
13
+ item?: string;
14
+ itemIcon?: string;
15
+ itemContent?: string;
16
+ trigger?: string;
17
+ triggerIcon?: string;
18
+ triggerContent?: string;
19
+ }
20
+ interface FloatButtonGroupSemanticStyles {
21
+ root?: CSSProperties;
22
+ list?: CSSProperties;
23
+ item?: CSSProperties;
24
+ itemIcon?: CSSProperties;
25
+ itemContent?: CSSProperties;
26
+ trigger?: CSSProperties;
27
+ triggerIcon?: CSSProperties;
28
+ triggerContent?: CSSProperties;
29
+ }
30
+ type FloatButtonGroupClassNamesType = SemanticClassNamesType<FloatButtonGroupProps, FloatButtonGroupSemanticClassNames>;
31
+ type FloatButtonGroupStylesType = SemanticStylesType<FloatButtonGroupProps, FloatButtonGroupSemanticStyles>;
13
32
  interface FloatButtonGroupProps extends Omit<FloatButtonProps, 'classes' | 'styles'>, ComponentBaseProps {
14
33
  classes?: FloatButtonGroupClassNamesType;
15
34
  styles?: FloatButtonGroupStylesType;
@@ -31,9 +50,9 @@ interface FloatButtonGroupEmits {
31
50
  'click': (e: MouseEvent) => void;
32
51
  [key: string]: (...args: any[]) => void;
33
52
  }
34
- declare const InternalFloatButtonGroup: vue298.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps & {
53
+ declare const InternalFloatButtonGroup: vue279.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps & {
35
54
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
36
- }, vue298.PublicProps>;
55
+ }, vue279.PublicProps>;
37
56
  declare const FloatButtonGroup: typeof InternalFloatButtonGroup;
38
57
  //#endregion
39
58
  export { FloatButtonGroup, FloatButtonGroupProps };
@@ -7,8 +7,8 @@ import { FormLabelAlign, ScrollFocusOptions } from "./interface.mjs";
7
7
  import { FieldData, InternalNamePath, NamePath, Rule, ValidateErrorEntity, ValidateMessages, ValidateOptions } from "./types.mjs";
8
8
  import { FeedbackIcons } from "./FormItem/index.mjs";
9
9
  import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
10
- import * as vue276 from "vue";
11
- import { SlotsType } from "vue";
10
+ import * as vue283 from "vue";
11
+ import { CSSProperties, SlotsType } from "vue";
12
12
 
13
13
  //#region src/form/Form.d.ts
14
14
  type RequiredMark = boolean | 'optional' | ((labelNode: any, info: {
@@ -16,9 +16,18 @@ type RequiredMark = boolean | 'optional' | ((labelNode: any, info: {
16
16
  }) => any);
17
17
  type FormLayout = 'horizontal' | 'inline' | 'vertical';
18
18
  type FormItemLayout = 'horizontal' | 'vertical';
19
- type FormSemanticName = 'root' | 'label' | 'content';
20
- type FormClassNamesType = SemanticClassNamesType<FormProps, FormSemanticName>;
21
- type FormStylesType = SemanticStylesType<FormProps, FormSemanticName>;
19
+ interface FormSemanticClassNames {
20
+ root?: string;
21
+ label?: string;
22
+ content?: string;
23
+ }
24
+ interface FormSemanticStyles {
25
+ root?: CSSProperties;
26
+ label?: CSSProperties;
27
+ content?: CSSProperties;
28
+ }
29
+ type FormClassNamesType = SemanticClassNamesType<FormProps, FormSemanticClassNames>;
30
+ type FormStylesType = SemanticStylesType<FormProps, FormSemanticStyles>;
22
31
  interface FormProps extends ComponentBaseProps {
23
32
  classes?: FormClassNamesType;
24
33
  styles?: FormStylesType;
@@ -84,8 +93,8 @@ interface FormInstance {
84
93
  focusField: (fieldName: NamePath) => void;
85
94
  getFieldInstance: (name: NamePath) => any;
86
95
  }
87
- declare const InternalForm: vue276.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps & {
96
+ declare const InternalForm: vue283.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps & {
88
97
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
89
- }, vue276.PublicProps>;
98
+ }, vue283.PublicProps>;
90
99
  //#endregion
91
100
  export { FormEmits, FormInstance, FormItemLayout, FormProps, FormSlots, InternalForm, RequiredMark };
@@ -3,7 +3,7 @@ import { FormItemLayout } from "../Form.mjs";
3
3
  import { FormItemInputProps } from "../FormItemInput.mjs";
4
4
  import { FormItemLabelProps, LabelTooltipType } from "../FormItemLabel.mjs";
5
5
  import { ComponentBaseProps } from "../../config-provider/context.mjs";
6
- import * as vue274 from "vue";
6
+ import * as vue281 from "vue";
7
7
  import { SlotsType } from "vue";
8
8
 
9
9
  //#region src/form/FormItem/index.d.ts
@@ -41,7 +41,7 @@ interface FormItemEmits {
41
41
  interface FormItemSlots {
42
42
  default: () => any;
43
43
  }
44
- declare const InternalFormItem: vue274.DefineSetupFnComponent<FormItemProps, FormItemEmits, SlotsType<FormItemSlots>, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
44
+ declare const InternalFormItem: vue281.DefineSetupFnComponent<FormItemProps, FormItemEmits, SlotsType<FormItemSlots>, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
45
45
  noStyle?: boolean;
46
46
  id?: string;
47
47
  hasFeedback?: boolean | {
@@ -55,6 +55,6 @@ declare const InternalFormItem: vue274.DefineSetupFnComponent<FormItemProps, For
55
55
  layout?: FormItemLayout;
56
56
  } & {
57
57
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
58
- }, vue274.PublicProps>;
58
+ }, vue281.PublicProps>;
59
59
  //#endregion
60
60
  export { FeedbackIcons, InternalFormItem, ValidateStatus };
@@ -1,6 +1,6 @@
1
1
  import { useComponentBaseConfig } from "../../config-provider/context.mjs";
2
- import { checkRenderNode } from "../../_util/vueNode.mjs";
3
2
  import useCSSVarCls_default from "../../config-provider/hooks/useCSSVarCls.mjs";
3
+ import { checkRenderNode } from "../../_util/vueNode.mjs";
4
4
  import { useFormContext, useFormItemProvider, useNoStyleItemContext } from "../context.mjs";
5
5
  import { getFieldId, initialValueFormat, toArray } from "../util.mjs";
6
6
  import style_default from "../style/index.mjs";
@@ -5,7 +5,6 @@ import { ValidateStatus } from "./FormItem/index.mjs";
5
5
  import "vue";
6
6
 
7
7
  //#region src/form/FormItemInput.d.ts
8
-
9
8
  interface FormItemInputProps {
10
9
  labelCol?: ColProps;
11
10
  wrapperCol?: ColProps;
@@ -1,10 +1,10 @@
1
1
  import { Breakpoint } from "../_util/responsiveObserver.mjs";
2
2
  import { Col, ColProps, ColSize } from "./col.mjs";
3
3
  import { Row, RowProps } from "./row.mjs";
4
- import * as vue5 from "vue";
4
+ import * as vue7 from "vue";
5
5
 
6
6
  //#region src/grid/index.d.ts
7
- declare function useBreakpoint(): vue5.Ref<{
7
+ declare function useBreakpoint(): vue7.Ref<{
8
8
  xxl?: boolean | undefined;
9
9
  xl?: boolean | undefined;
10
10
  lg?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Breakpoint } from "../_util/responsiveObserver.mjs";
2
- import * as vue8 from "vue";
2
+ import * as vue9 from "vue";
3
3
 
4
4
  //#region src/grid/row.d.ts
5
5
  declare const _RowAligns: readonly ["top", "middle", "bottom", "stretch"];
@@ -16,6 +16,6 @@ interface RowProps {
16
16
  prefixCls?: string;
17
17
  wrap?: boolean;
18
18
  }
19
- declare const Row: vue8.DefineSetupFnComponent<RowProps, {}, {}, RowProps & {}, vue8.PublicProps>;
19
+ declare const Row: vue9.DefineSetupFnComponent<RowProps, {}, {}, RowProps & {}, vue9.PublicProps>;
20
20
  //#endregion
21
21
  export { Row, RowProps };
@@ -1,15 +1,13 @@
1
1
  import { MaskType } from "../_util/hooks/useMergedMask.mjs";
2
2
  import "../_util/hooks/index.mjs";
3
3
  import { DeprecatedPreviewConfig, ImageClassNamesType, ImageStylesType } from "./index.mjs";
4
- import * as vue278 from "vue";
4
+ import * as vue350 from "vue";
5
5
  import { PreviewGroupProps } from "@v-c/image";
6
6
 
7
7
  //#region src/image/PreviewGroup.d.ts
8
-
9
8
  type OriginPreviewConfig = NonNullable<Exclude<PreviewGroupProps['preview'], boolean>>;
10
9
  type GroupPreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
11
- /** @deprecated Use `onOpenChange` instead */
12
- onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
10
+ /** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
13
11
  mask?: MaskType;
14
12
  };
15
13
  interface PreviewGroupProps$1 extends Omit<PreviewGroupProps, 'preview' | 'styles'> {
@@ -17,6 +15,6 @@ interface PreviewGroupProps$1 extends Omit<PreviewGroupProps, 'preview' | 'style
17
15
  classes?: ImageClassNamesType;
18
16
  styles?: ImageStylesType;
19
17
  }
20
- declare const InternalPreviewGroup: vue278.DefineSetupFnComponent<PreviewGroupProps$1, {}, {}, PreviewGroupProps$1 & {}, vue278.PublicProps>;
18
+ declare const InternalPreviewGroup: vue350.DefineSetupFnComponent<PreviewGroupProps$1, {}, {}, PreviewGroupProps$1 & {}, vue350.PublicProps>;
21
19
  //#endregion
22
20
  export { InternalPreviewGroup, PreviewGroupProps$1 as PreviewGroupProps };
@@ -1,9 +1,9 @@
1
1
  import { MaskType } from "../_util/hooks/useMergedMask.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 { InternalPreviewGroup, PreviewGroupProps as PreviewGroupProps$1 } from "./PreviewGroup.mjs";
6
- import * as vue156 from "vue";
6
+ import * as vue93 from "vue";
7
7
  import { CSSProperties, SlotsType } from "vue";
8
8
  import { ImageProps } from "@v-c/image";
9
9
 
@@ -27,18 +27,38 @@ interface DeprecatedPreviewConfig {
27
27
  /** @deprecated Use `actionsRender` instead */
28
28
  toolbarRender?: OriginPreviewConfig['actionsRender'];
29
29
  }
30
- type ImageSemanticName = 'root' | 'image' | 'cover';
31
- type PopupSemantic = 'root' | 'mask' | 'body' | 'footer' | 'actions';
32
- type ImageClassNamesType = SemanticClassNamesType<ImageProps$1, ImageSemanticName, {
33
- popup?: SemanticClassNames<PopupSemantic>;
30
+ interface ImageSemanticClassNames {
31
+ root?: string;
32
+ image?: string;
33
+ cover?: string;
34
+ }
35
+ interface ImageSemanticStyles {
36
+ root?: CSSProperties;
37
+ image?: CSSProperties;
38
+ cover?: CSSProperties;
39
+ }
40
+ interface ImagePopupSemanticClassNames {
41
+ root?: string;
42
+ mask?: string;
43
+ body?: string;
44
+ footer?: string;
45
+ actions?: string;
46
+ }
47
+ interface ImagePopupSemanticStyles {
48
+ root?: CSSProperties;
49
+ mask?: CSSProperties;
50
+ body?: CSSProperties;
51
+ footer?: CSSProperties;
52
+ actions?: CSSProperties;
53
+ }
54
+ type ImageClassNamesType = SemanticClassNamesType<ImageProps$1, ImageSemanticClassNames, {
55
+ popup?: ImagePopupSemanticClassNames;
34
56
  }>;
35
- type ImageStylesType = SemanticStylesType<ImageProps$1, ImageSemanticName, {
36
- popup?: SemanticStyles<PopupSemantic>;
57
+ type ImageStylesType = SemanticStylesType<ImageProps$1, ImageSemanticStyles, {
58
+ popup?: ImagePopupSemanticStyles;
37
59
  }>;
38
60
  type PreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
39
- /** @deprecated Use `onOpenChange` instead */
40
- onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
41
- /** @deprecated Use `classNames.cover` instead */
61
+ /** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean) => void; /** @deprecated Use `classNames.cover` instead */
42
62
  maskClassName?: string;
43
63
  mask?: MaskType | VueNode;
44
64
  };
@@ -62,13 +82,13 @@ interface ImageSlots {
62
82
  cover: () => any;
63
83
  actionsRender: () => OriginPreviewConfig['actionsRender'];
64
84
  }
65
- declare const Image: vue156.DefineSetupFnComponent<ImageProps$1, ImageEmits, SlotsType<ImageSlots>, ImageProps$1 & {
85
+ declare const Image: vue93.DefineSetupFnComponent<ImageProps$1, ImageEmits, SlotsType<ImageSlots>, ImageProps$1 & {
66
86
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
67
- }, vue156.PublicProps>;
87
+ }, vue93.PublicProps>;
68
88
  declare const _default_1: typeof Image & {
69
89
  PreviewGroup: typeof InternalPreviewGroup;
70
90
  };
71
- declare const ImagePreviewGroup: vue156.DefineSetupFnComponent<PreviewGroupProps$1, {}, {}, PreviewGroupProps$1 & {}, vue156.PublicProps>;
91
+ declare const ImagePreviewGroup: vue93.DefineSetupFnComponent<PreviewGroupProps$1, {}, {}, PreviewGroupProps$1 & {}, vue93.PublicProps>;
72
92
  type ImagePreviewGroupProps = PreviewGroupProps$1;
73
93
  //#endregion
74
94
  export { DeprecatedPreviewConfig, ImageClassNamesType, ImageEmits, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps$1 as ImageProps, ImageSlots, ImageStylesType, PreviewConfig, _default_1 };
package/dist/index.d.mts CHANGED
@@ -39,7 +39,7 @@ import { TourEmits, TourLocale, TourProps, TourSlots, TourStylesType } from "./t
39
39
  import { Tour, TourStepItem } from "./tour/index.mjs";
40
40
  import { TransferOperationProps } from "./transfer/Actions.mjs";
41
41
  import { TransferSearchEmits, TransferSearchProps, TransferSearchSlots } from "./transfer/search.mjs";
42
- import { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSemanticName, TransferSlots, TransferStylesType } from "./transfer/interface.mjs";
42
+ import { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSlots, TransferStylesType } from "./transfer/interface.mjs";
43
43
  import { InternalTransfer } from "./transfer/index.mjs";
44
44
  import { Progress, ProgressProps } from "./progress/progress.mjs";
45
45
  import { UploadChangeParam, UploadEmits, UploadFile, UploadProps, UploadSlots } from "./upload/interface.mjs";
@@ -132,8 +132,7 @@ import { Rate, RateEmits, RateProps } from "./rate/index.mjs";
132
132
  import { SplitterEmits, SplitterProps, SplitterSlots } from "./splitter/interface.mjs";
133
133
  import { Splitter } from "./splitter/Splitter.mjs";
134
134
  import { SplitterPanel } from "./splitter/index.mjs";
135
- import { TimelineItemProps } from "./timeline/TimelineItem.mjs";
136
- import { Timeline, TimelineProps } from "./timeline/Timeline.mjs";
135
+ import { Timeline, TimelineItemType, TimelineProps } from "./timeline/Timeline.mjs";
137
136
  import { TextProps } from "./typography/Text.mjs";
138
137
  import { LinkProps } from "./typography/Link.mjs";
139
138
  import { TitleProps } from "./typography/Title.mjs";
@@ -150,4 +149,4 @@ import { Plugin } from "vue";
150
149
  //#region src/index.d.ts
151
150
  declare const _default$11: Plugin;
152
151
  //#endregion
153
- export { Affix, AffixProps, Alert, AlertEmits, AlertProps, AlertSlots, Anchor, AnchorLinkProps, AnchorProps, AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, _default as App, AppProps, AutoComplete, AutoCompleteClassNamesType, AutoCompleteEmits, Option as AutoCompleteOption, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, Avatar, AvatarEmits, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarSlots, BackTopWithInstall as BackTop, Badge, BadgeProps, RibbonProps as BadgeRibbonProps, BadgeSlots, BasicDataNode, Breadcrumb, BreadcrumbEmits, BreadcrumbItemProps, ItemType as BreadcrumbItemType, BreadcrumbProps, BreadcrumbSlots, Button, ButtonColorType, ButtonHTMLType, ButtonProps, ButtonShape, SizeType as ButtonSize, ButtonType, ButtonVariantType, _default$1 as Calendar, CalendarMode, CalendarProps, Card, CardEmits, CardGrid, CardGridProps, CardMeta, CardMetaProps, CardProps, CardSize, CardSlots, CardTabListType, Carousel, CarouselEmits, CarouselProps, CarouselRef, CarouselSlots, Cascader, CascaderEmits, CascaderPanel, CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots, CascaderProps, CascaderSlots, CheckableTag, CheckableTagGroup, CheckableTagProps, InternalCheckbox as Checkbox, CheckboxEmits, CheckboxGroup, CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType, CheckboxProps, CheckboxSlots, Col, ColProps, ColSize, Collapse, CollapseProps, AggregationColor as Color, ColorPicker, ColorPickerEmits, ColorPickerProps, ColorPickerSlots, ColorValueType, ConfigProvider, ConfigProviderProps, DataSourceItemObject, DataSourceItemType, DateMonthPicker, _default$2 as DatePicker, DatePickerEmits, DatePickerProps, DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItemType, DescriptionsProps, DescriptionsSlots, DirectoryTree, DirectoryTreeEmits, ExpandAction as DirectoryTreeExpandAction, DirectoryTreeProps, DirectoryTreeSlots, Divider, DividerProps, Drawer, DrawerEmits, DrawerProps, DrawerResizableConfig, DrawerSlots, Dropdown, DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots, _default$3 as Empty, EmptyProps, Flex, FlexProps, FloatButton, FloatButtonGroup, FloatButtonGroupProps, FloatButtonProps, FloatButtonRef, InternalForm as Form, FormEmits, FormInstance, InternalFormItem as FormItem, FormProps, FormSlots, _default_1 as Image, ImageEmits, PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps, ImageSlots, CompoundedInput as Input, InputEmits, InputGroup, InputGroupProps, InputNumber, InputNumberEmits, InputNumberProps, VcInputNumberRef as InputNumberRef, InputNumberStepContext, ValueType as InputNumberValueType, InputOTP, OTPProps as InputOTPProps, InputPassword, PasswordProps as InputPasswordProps, InputProps, InputRef, InputSearch, SearchProps as InputSearchProps, InputSlots, KeyWise, KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, BasicProps as LayoutProps, LayoutSider, ListStyle, Masonry, MasonryEmits, MasonryProps, MasonryRef, MasonrySlots, MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, Option$1 as MentionsOption, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, _default$4 as Menu, MenuDivider, MenuEmits, MenuItem, MenuItemGroupProps, MenuItemProps, MenuItemType, MenuProps, MenuRef, MenuSlots, _default$5 as Modal, ModalEmits, ModalProps, ModalSlots, MonthPickerProps, Pagination, PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationProps, PaginationSlots, PaginationStylesType, Popconfirm, PopconfirmEmits, PopconfirmProps, PopconfirmSlots, Popover, PopoverProps, Progress, ProgressProps, QRCode, QRCodeEmits, QRCodeProps, InternalRadio as Radio, RadioButton, RadioChangeEvent, RadioEmits, RadioGroup, RadioGroupEmits, RadioGroupOptionType, RadioGroupProps, RadioGroupSlots, RadioOptionType, RadioProps, RadioSlots, RangePickerProps, Rate, RateEmits, RateProps, RenderResult, RenderResultObject, _default$6 as Result, ResultProps, Row, RowProps, Segmented, SegmentedEmits, SegmentedOptions, SegmentedProps, Select, SelectAllLabel, SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, SkeletonProps, Slider, SliderEmits, SliderProps, Space, SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots, _default$7 as Spin, SpinProps, SpinSlots, Splitter, SplitterEmits, SplitterPanel, SplitterProps, SplitterSlots, _default$8 as Statistic, StatisticProps, StatisticTimer, StatisticTimerProps, Steps, StepsProps, StyleProvider, SubMenu, SubMenuProps, Switch, SwitchEmits, SwitchProps, SwitchSize, SwitchSlots, TabPane, TabPaneProps, InternalTable as Table, TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnType as TableColumnType, ColumnsType as TableColumnsType, DataIndex as TableDataIndex, TableEmits, TableLocale, TablePaginationConfig, TableProps, TableRowSelection, TableSlots, SortOrder as TableSortOrder, SorterResult as TableSorterResult, TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, TabsEmits, TabsProps, TabsRef, TabsSlots, Tag, TagProps, TagSlots, InternalTextArea as TextArea, TextAreaProps, TextAreaRef, _default$9 as TimePicker, TimePickerLocale, TimePickerProps, TimeRangePicker, TimeRangePickerProps, Timeline, TimelineItemProps, TimelineProps, _default$10 as Tooltip, TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots, Tour, TourEmits, TourLocale, TourProps, TourSlots, TourStepItem, TourStylesType, InternalTransfer as Transfer, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferOperationProps, PaginationType as TransferPaginationType, TransferProps, TransferRender, TransferSearchEmits, TransferSearchOption, TransferSearchProps, TransferSearchSlots, TransferSemanticName, TransferSlots, TransferStylesType, Tree, DataNode as TreeDataNode, TreeEmits, TreeProps, TreeSelect, TreeSelectEmits, TreeSelectNode, TreeSelectProps, TreeSelectSlots, TreeSlots, Typography, BlockProps as TypographyBaseProps, TypographyLink, LinkProps as TypographyLinkProps, TypographyParagraph, ParagraphProps as TypographyParagraphProps, TypographyText, TextProps as TypographyTextProps, TypographyTitle, TitleProps as TypographyTitleProps, UniqueProvider, Upload, UploadChangeParam, UploadDragger, DraggerProps as UploadDraggerProps, UploadEmits, UploadFile, UploadProps, UploadSlots, Watermark, WatermarkProps, WeekPickerProps, _default$11 as default, staticMethods as message, staticMethods$1 as notification, _default$12 as theme, useBreakpoint, useLayoutSider, useMessage, useModal, useNotification, useResponsive, _version2 as version };
152
+ export { Affix, AffixProps, Alert, AlertEmits, AlertProps, AlertSlots, Anchor, AnchorLinkProps, AnchorProps, AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, _default as App, AppProps, AutoComplete, AutoCompleteClassNamesType, AutoCompleteEmits, Option as AutoCompleteOption, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, Avatar, AvatarEmits, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarSlots, BackTopWithInstall as BackTop, Badge, BadgeProps, RibbonProps as BadgeRibbonProps, BadgeSlots, BasicDataNode, Breadcrumb, BreadcrumbEmits, BreadcrumbItemProps, ItemType as BreadcrumbItemType, BreadcrumbProps, BreadcrumbSlots, Button, ButtonColorType, ButtonHTMLType, ButtonProps, ButtonShape, SizeType as ButtonSize, ButtonType, ButtonVariantType, _default$1 as Calendar, CalendarMode, CalendarProps, Card, CardEmits, CardGrid, CardGridProps, CardMeta, CardMetaProps, CardProps, CardSize, CardSlots, CardTabListType, Carousel, CarouselEmits, CarouselProps, CarouselRef, CarouselSlots, Cascader, CascaderEmits, CascaderPanel, CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots, CascaderProps, CascaderSlots, CheckableTag, CheckableTagGroup, CheckableTagProps, InternalCheckbox as Checkbox, CheckboxEmits, CheckboxGroup, CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType, CheckboxProps, CheckboxSlots, Col, ColProps, ColSize, Collapse, CollapseProps, AggregationColor as Color, ColorPicker, ColorPickerEmits, ColorPickerProps, ColorPickerSlots, ColorValueType, ConfigProvider, ConfigProviderProps, DataSourceItemObject, DataSourceItemType, DateMonthPicker, _default$2 as DatePicker, DatePickerEmits, DatePickerProps, DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItemType, DescriptionsProps, DescriptionsSlots, DirectoryTree, DirectoryTreeEmits, ExpandAction as DirectoryTreeExpandAction, DirectoryTreeProps, DirectoryTreeSlots, Divider, DividerProps, Drawer, DrawerEmits, DrawerProps, DrawerResizableConfig, DrawerSlots, Dropdown, DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots, _default$3 as Empty, EmptyProps, Flex, FlexProps, FloatButton, FloatButtonGroup, FloatButtonGroupProps, FloatButtonProps, FloatButtonRef, InternalForm as Form, FormEmits, FormInstance, InternalFormItem as FormItem, FormProps, FormSlots, _default_1 as Image, ImageEmits, PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps, ImageSlots, CompoundedInput as Input, InputEmits, InputGroup, InputGroupProps, InputNumber, InputNumberEmits, InputNumberProps, VcInputNumberRef as InputNumberRef, InputNumberStepContext, ValueType as InputNumberValueType, InputOTP, OTPProps as InputOTPProps, InputPassword, PasswordProps as InputPasswordProps, InputProps, InputRef, InputSearch, SearchProps as InputSearchProps, InputSlots, KeyWise, KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, BasicProps as LayoutProps, LayoutSider, ListStyle, Masonry, MasonryEmits, MasonryProps, MasonryRef, MasonrySlots, MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, Option$1 as MentionsOption, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, _default$4 as Menu, MenuDivider, MenuEmits, MenuItem, MenuItemGroupProps, MenuItemProps, MenuItemType, MenuProps, MenuRef, MenuSlots, _default$5 as Modal, ModalEmits, ModalProps, ModalSlots, MonthPickerProps, Pagination, PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationProps, PaginationSlots, PaginationStylesType, Popconfirm, PopconfirmEmits, PopconfirmProps, PopconfirmSlots, Popover, PopoverProps, Progress, ProgressProps, QRCode, QRCodeEmits, QRCodeProps, InternalRadio as Radio, RadioButton, RadioChangeEvent, RadioEmits, RadioGroup, RadioGroupEmits, RadioGroupOptionType, RadioGroupProps, RadioGroupSlots, RadioOptionType, RadioProps, RadioSlots, RangePickerProps, Rate, RateEmits, RateProps, RenderResult, RenderResultObject, _default$6 as Result, ResultProps, Row, RowProps, Segmented, SegmentedEmits, SegmentedOptions, SegmentedProps, Select, SelectAllLabel, SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, SkeletonProps, Slider, SliderEmits, SliderProps, Space, SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots, _default$7 as Spin, SpinProps, SpinSlots, Splitter, SplitterEmits, SplitterPanel, SplitterProps, SplitterSlots, _default$8 as Statistic, StatisticProps, StatisticTimer, StatisticTimerProps, Steps, StepsProps, StyleProvider, SubMenu, SubMenuProps, Switch, SwitchEmits, SwitchProps, SwitchSize, SwitchSlots, TabPane, TabPaneProps, InternalTable as Table, TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnType as TableColumnType, ColumnsType as TableColumnsType, DataIndex as TableDataIndex, TableEmits, TableLocale, TablePaginationConfig, TableProps, TableRowSelection, TableSlots, SortOrder as TableSortOrder, SorterResult as TableSorterResult, TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, TabsEmits, TabsProps, TabsRef, TabsSlots, Tag, TagProps, TagSlots, InternalTextArea as TextArea, TextAreaProps, TextAreaRef, _default$9 as TimePicker, TimePickerLocale, TimePickerProps, TimeRangePicker, TimeRangePickerProps, Timeline, TimelineItemType as TimelineItemProps, TimelineProps, _default$10 as Tooltip, TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots, Tour, TourEmits, TourLocale, TourProps, TourSlots, TourStepItem, TourStylesType, InternalTransfer as Transfer, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferOperationProps, PaginationType as TransferPaginationType, TransferProps, TransferRender, TransferSearchEmits, TransferSearchOption, TransferSearchProps, TransferSearchSlots, TransferSlots, TransferStylesType, Tree, DataNode as TreeDataNode, TreeEmits, TreeProps, TreeSelect, TreeSelectEmits, TreeSelectNode, TreeSelectProps, TreeSelectSlots, TreeSlots, Typography, BlockProps as TypographyBaseProps, TypographyLink, LinkProps as TypographyLinkProps, TypographyParagraph, ParagraphProps as TypographyParagraphProps, TypographyText, TextProps as TypographyTextProps, TypographyTitle, TitleProps as TypographyTitleProps, UniqueProvider, Upload, UploadChangeParam, UploadDragger, DraggerProps as UploadDraggerProps, UploadEmits, UploadFile, UploadProps, UploadSlots, Watermark, WatermarkProps, WeekPickerProps, _default$11 as default, staticMethods as message, staticMethods$1 as notification, _default$12 as theme, useBreakpoint, useLayoutSider, useMessage, useModal, useNotification, useResponsive, _version2 as version };
@@ -4,13 +4,26 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
4
4
  import "../_util/hooks/index.mjs";
5
5
  import { InputStatus } from "../_util/statusUtils.mjs";
6
6
  import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
7
- import { SlotsType } from "vue";
7
+ import { CSSProperties, SlotsType } from "vue";
8
8
  import { InputProps, InputRef } from "@v-c/input";
9
9
 
10
10
  //#region src/input/Input.d.ts
11
- type SemanticName = 'root' | 'prefix' | 'suffix' | 'input' | 'count';
12
- type InputClassNamesType = SemanticClassNamesType<InputProps$1, SemanticName>;
13
- type InputStylesType = SemanticStylesType<InputProps$1, SemanticName>;
11
+ interface InputSemanticClassNames {
12
+ root?: string;
13
+ prefix?: string;
14
+ suffix?: string;
15
+ input?: string;
16
+ count?: string;
17
+ }
18
+ interface InputSemanticStyles {
19
+ root?: CSSProperties;
20
+ prefix?: CSSProperties;
21
+ suffix?: CSSProperties;
22
+ input?: CSSProperties;
23
+ count?: CSSProperties;
24
+ }
25
+ type InputClassNamesType = SemanticClassNamesType<InputProps$1, InputSemanticClassNames>;
26
+ type InputStylesType = SemanticStylesType<InputProps$1, InputSemanticStyles>;
14
27
  type InputRef$1 = InputRef;
15
28
  interface BaseVcInputProps {
16
29
  value?: any;
@@ -143,7 +143,7 @@ const InternalInput = /* @__PURE__ */ defineComponent((props, { slots, expose, e
143
143
  ...style
144
144
  };
145
145
  const variantClassName = clsx({ [`${prefixCls.value}-${mergedVariant.value}`]: enableVariantCls.value }, getStatusClassNames(prefixCls.value, mergedStatus.value));
146
- const classNames$1 = {
146
+ const classNames = {
147
147
  ...mergedClassNames.value,
148
148
  input: clsx({
149
149
  [`${prefixCls.value}-sm`]: mergedSize.value === "small",
@@ -171,7 +171,7 @@ const InternalInput = /* @__PURE__ */ defineComponent((props, { slots, expose, e
171
171
  "prefixCls": prefixCls.value,
172
172
  "class": classesValue,
173
173
  "style": mergedStyle,
174
- "classNames": classNames$1,
174
+ "classNames": classNames,
175
175
  "styles": mergedStyles.value,
176
176
  "disabled": mergedDisabled.value,
177
177
  "allowClear": mergedAllowClear.value,
@@ -4,12 +4,21 @@ import { SemanticClassNamesType, SemanticStylesType } from "../../_util/hooks/us
4
4
  import "../../_util/hooks/index.mjs";
5
5
  import { InputStatus } from "../../_util/statusUtils.mjs";
6
6
  import { ComponentBaseProps, Variant } from "../../config-provider/context.mjs";
7
- import { HTMLAttributes, SlotsType } from "vue";
7
+ import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
8
8
 
9
9
  //#region src/input/OTP/index.d.ts
10
- type OTPSemanticName = 'root' | 'input' | 'separator';
11
- type OTPClassNamesType = SemanticClassNamesType<OTPProps, OTPSemanticName>;
12
- type OTPStylesType = SemanticStylesType<OTPProps, OTPSemanticName>;
10
+ interface OTPSemanticClassNames {
11
+ root?: string;
12
+ input?: string;
13
+ separator?: string;
14
+ }
15
+ interface OTPSemanticStyles {
16
+ root?: CSSProperties;
17
+ input?: CSSProperties;
18
+ separator?: CSSProperties;
19
+ }
20
+ type OTPClassNamesType = SemanticClassNamesType<OTPProps, OTPSemanticClassNames>;
21
+ type OTPStylesType = SemanticStylesType<OTPProps, OTPSemanticStyles>;
13
22
  interface OTPProps extends ComponentBaseProps, Omit<HTMLAttributes, 'onChange' | 'onInput'> {
14
23
  length?: number;
15
24
  variant?: Variant;
@@ -33,10 +33,10 @@ const InternalPassword = /* @__PURE__ */ defineComponent((props, { slots, attrs,
33
33
  if (typeof visibilityToggle.value === "object") visibilityToggle.value.onVisibleChange?.(next);
34
34
  };
35
35
  const action = computed(() => props.action ?? "click");
36
- const iconRender = (visible$1) => {
37
- const _iconRender = getSlotPropsFnRun(slots, props, "iconRender", true, { visible: visible$1 });
36
+ const iconRender = (visible) => {
37
+ const _iconRender = getSlotPropsFnRun(slots, props, "iconRender", true, { visible });
38
38
  if (_iconRender) return _iconRender;
39
- return defaultIconRender(visible$1);
39
+ return defaultIconRender(visible);
40
40
  };
41
41
  const getIcon = () => {
42
42
  if (!visibilityToggle.value) return null;
@@ -1,20 +1,32 @@
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
- import { ButtonSemanticName } from "../button/Button.mjs";
6
- import "../button/index.mjs";
5
+ import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.mjs";
7
6
  import { InputEmits, InputProps } from "./Input.mjs";
8
7
  import { ComponentBaseProps } from "../config-provider/context.mjs";
9
- import { SlotsType } from "vue";
8
+ import { CSSProperties, SlotsType } from "vue";
10
9
 
11
10
  //#region src/input/Search.d.ts
12
- type SemanticName = 'root' | 'prefix' | 'suffix' | 'input' | 'count';
13
- type InputSearchClassNamesType = SemanticClassNamesType<SearchProps, SemanticName> & {
14
- button?: SemanticClassNames<ButtonSemanticName>;
11
+ interface InputSearchSemanticClassNames {
12
+ root?: string;
13
+ input?: string;
14
+ prefix?: string;
15
+ suffix?: string;
16
+ count?: string;
17
+ }
18
+ interface InputSearchSemanticStyles {
19
+ root?: CSSProperties;
20
+ input?: CSSProperties;
21
+ prefix?: CSSProperties;
22
+ suffix?: CSSProperties;
23
+ count?: CSSProperties;
24
+ }
25
+ type InputSearchClassNamesType = SemanticClassNamesType<SearchProps, InputSearchSemanticClassNames> & {
26
+ button?: ButtonSemanticClassNames;
15
27
  };
16
- type InputSearchStylesType = SemanticStylesType<SearchProps, SemanticName> & {
17
- button?: SemanticStyles<ButtonSemanticName>;
28
+ type InputSearchStylesType = SemanticStylesType<SearchProps, InputSearchSemanticStyles> & {
29
+ button?: ButtonSemanticStyles;
18
30
  };
19
31
  interface SearchProps extends Omit<InputProps, 'class' | 'style' | 'rootClass'>, ComponentBaseProps {
20
32
  inputPrefixCls?: string;
@@ -3,15 +3,24 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
3
3
  import "../_util/hooks/index.mjs";
4
4
  import { InputStatus } from "../_util/statusUtils.mjs";
5
5
  import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
6
- import * as vue282 from "vue";
7
- import { SlotsType } from "vue";
6
+ import * as vue251 from "vue";
7
+ import { CSSProperties, SlotsType } from "vue";
8
8
  import { InputProps } from "@v-c/input";
9
9
  import { TextAreaProps } from "@v-c/textarea";
10
10
 
11
11
  //#region src/input/TextArea.d.ts
12
- type SemanticName = 'root' | 'textarea' | 'count';
13
- type TextAreaClassNamesType = SemanticClassNamesType<TextAreaProps$1, SemanticName>;
14
- type TextAreaStylesType = SemanticStylesType<TextAreaProps$1, SemanticName>;
12
+ interface TextAreaSemanticClassNames {
13
+ root?: string;
14
+ textarea?: string;
15
+ count?: string;
16
+ }
17
+ interface TextAreaSemanticStyles {
18
+ root?: CSSProperties;
19
+ textarea?: CSSProperties;
20
+ count?: CSSProperties;
21
+ }
22
+ type TextAreaClassNamesType = SemanticClassNamesType<TextAreaProps$1, TextAreaSemanticClassNames>;
23
+ type TextAreaStylesType = SemanticStylesType<TextAreaProps$1, TextAreaSemanticStyles>;
15
24
  interface TextAreaRef {
16
25
  resizableTextArea?: any;
17
26
  focus: (...args: any[]) => void;
@@ -48,8 +57,8 @@ interface TextAreaEmits {
48
57
  interface TextAreaSlots {
49
58
  default?: () => any;
50
59
  }
51
- declare const InternalTextArea: vue282.DefineSetupFnComponent<TextAreaProps$1, TextAreaEmits, SlotsType<TextAreaSlots>, TextAreaProps$1 & {
60
+ declare const InternalTextArea: vue251.DefineSetupFnComponent<TextAreaProps$1, TextAreaEmits, SlotsType<TextAreaSlots>, TextAreaProps$1 & {
52
61
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
53
- }, vue282.PublicProps>;
62
+ }, vue251.PublicProps>;
54
63
  //#endregion
55
64
  export { InternalTextArea, TextAreaProps$1 as TextAreaProps, TextAreaRef };
@@ -114,7 +114,7 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
114
114
  ...contextStyle.value,
115
115
  ...style
116
116
  };
117
- const classNames$1 = {
117
+ const classNames = {
118
118
  ...mergedClassNames.value,
119
119
  textarea: clsx({
120
120
  [`${prefixCls.value}-sm`]: mergedSize.value === "small",
@@ -133,7 +133,7 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
133
133
  "prefixCls": prefixCls.value,
134
134
  "class": classesValue,
135
135
  "style": mergedStyle,
136
- "classNames": classNames$1,
136
+ "classNames": classNames,
137
137
  "styles": mergedStyles.value,
138
138
  "disabled": mergedDisabled.value,
139
139
  "allowClear": mergedAllowClear.value,
@@ -5,25 +5,25 @@ import { SearchEmits, SearchProps, SearchSlots } from "./Search.mjs";
5
5
  import { InternalTextArea, TextAreaProps, TextAreaRef } from "./TextArea.mjs";
6
6
  import { InputGroupProps } from "./Group.mjs";
7
7
  import { PasswordEmits, PasswordProps, PasswordSlots } from "./Password.mjs";
8
- import * as vue160 from "vue";
8
+ import * as vue97 from "vue";
9
9
 
10
10
  //#region src/input/index.d.ts
11
- declare const CompoundedInput: vue160.DefineSetupFnComponent<InputProps, InputEmits, vue160.SlotsType<InputSlots>, InputProps & {
11
+ declare const CompoundedInput: vue97.DefineSetupFnComponent<InputProps, InputEmits, vue97.SlotsType<InputSlots>, InputProps & {
12
12
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
13
- }, vue160.PublicProps>;
14
- declare const InputGroup: vue160.DefineSetupFnComponent<InputGroupProps, EmptyEmit, vue160.SlotsType<{
13
+ }, vue97.PublicProps>;
14
+ declare const InputGroup: vue97.DefineSetupFnComponent<InputGroupProps, EmptyEmit, vue97.SlotsType<{
15
15
  default?: () => any;
16
16
  }>, InputGroupProps & {
17
17
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
18
- }, vue160.PublicProps>;
19
- declare const InputOTP: vue160.DefineSetupFnComponent<OTPProps, OTPEmits, vue160.SlotsType<OPTSlots>, OTPProps & {
18
+ }, vue97.PublicProps>;
19
+ declare const InputOTP: vue97.DefineSetupFnComponent<OTPProps, OTPEmits, vue97.SlotsType<OPTSlots>, OTPProps & {
20
20
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
21
- }, vue160.PublicProps>;
22
- declare const InputPassword: vue160.DefineSetupFnComponent<PasswordProps, PasswordEmits, vue160.SlotsType<PasswordSlots>, PasswordProps & {
21
+ }, vue97.PublicProps>;
22
+ declare const InputPassword: vue97.DefineSetupFnComponent<PasswordProps, PasswordEmits, vue97.SlotsType<PasswordSlots>, PasswordProps & {
23
23
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
24
- }, vue160.PublicProps>;
25
- declare const InputSearch: vue160.DefineSetupFnComponent<SearchProps, SearchEmits, vue160.SlotsType<SearchSlots>, SearchProps & {
24
+ }, vue97.PublicProps>;
25
+ declare const InputSearch: vue97.DefineSetupFnComponent<SearchProps, SearchEmits, vue97.SlotsType<SearchSlots>, SearchProps & {
26
26
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
27
- }, vue160.PublicProps>;
27
+ }, vue97.PublicProps>;
28
28
  //#endregion
29
29
  export { CompoundedInput, InputGroup, InputOTP, InputPassword, InputSearch };
@@ -371,9 +371,12 @@ var style_default = genStyleHooks(["Input", "Component"], (token) => {
371
371
  return [
372
372
  genGroupStyle(inputToken),
373
373
  genRangeStyle(inputToken),
374
- genCompactItemStyle(inputToken)
374
+ genCompactItemStyle(inputToken, {
375
+ focus: true,
376
+ focusElCls: `${inputToken.componentCls}-affix-wrapper-focused`
377
+ })
375
378
  ];
376
379
  }, initComponentToken, { resetFont: false });
377
380
 
378
381
  //#endregion
379
- export { style_default as default, genBasicInputStyle, genInputSmallStyle, genPlaceholderStyle, useSharedStyle };
382
+ export { style_default as default, genBasicInputStyle, genInputLargeStyle, genInputSmallStyle, genPlaceholderStyle, useSharedStyle };
@@ -148,7 +148,8 @@ function genFilledStyle(token, extraStyles) {
148
148
  ...genBaseFilledStyle(token, {
149
149
  bg: token.colorFillTertiary,
150
150
  hoverBg: token.colorFillSecondary,
151
- activeBorderColor: token.activeBorderColor
151
+ activeBorderColor: token.activeBorderColor,
152
+ inputColor: token.colorText
152
153
  }),
153
154
  [`&${token.componentCls}-disabled, &[disabled]`]: { ...genDisabledStyle(token) },
154
155
  ...genFilledStatusStyle(token, {