antdv-next 1.8.2 → 1.8.4

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 (137) hide show
  1. package/dist/_util/hooks/index.d.ts +2 -1
  2. package/dist/_util/hooks/index.js +2 -1
  3. package/dist/_util/hooks/useClosable.d.ts +3 -3
  4. package/dist/_util/hooks/useClosable.js +9 -9
  5. package/dist/_util/hooks/useScopeId.d.ts +7 -0
  6. package/dist/_util/hooks/useScopeId.js +15 -0
  7. package/dist/_util/scrollTo.js +1 -1
  8. package/dist/_util/statusUtils.js +1 -1
  9. package/dist/_util/vueNode.d.ts +2 -6
  10. package/dist/affix/index.js +2 -7
  11. package/dist/anchor/Anchor.js +4 -2
  12. package/dist/antd-with-locales.esm.js +17314 -16799
  13. package/dist/antd-with-locales.js +81 -81
  14. package/dist/antd.css +1 -1
  15. package/dist/antd.esm.js +14978 -14467
  16. package/dist/antd.js +81 -81
  17. package/dist/badge/SingleNumber.js +11 -2
  18. package/dist/badge/index.d.ts +4 -1
  19. package/dist/badge/index.js +4 -4
  20. package/dist/button/buttonHelper.d.ts +1 -1
  21. package/dist/button/style/index.js +8 -2
  22. package/dist/calendar/generateCalendar.d.ts +5 -4
  23. package/dist/calendar/generateCalendar.js +4 -7
  24. package/dist/card/Card.d.ts +4 -1
  25. package/dist/card/Card.js +24 -18
  26. package/dist/card/index.d.ts +2 -2
  27. package/dist/cascader/index.d.ts +5 -2
  28. package/dist/cascader/index.js +10 -7
  29. package/dist/checkbox/Checkbox.js +3 -0
  30. package/dist/checkbox/Group.d.ts +2 -1
  31. package/dist/checkbox/Group.js +3 -7
  32. package/dist/color-picker/ColorPicker.js +4 -0
  33. package/dist/color-picker/ColorPickerPanel.js +4 -0
  34. package/dist/color-picker/components/ColorSlider.js +12 -4
  35. package/dist/color-picker/components/PanelPicker/GradientColorBar.js +2 -0
  36. package/dist/components.d.ts +13 -9
  37. package/dist/components.js +3 -3
  38. package/dist/config-provider/context.d.ts +3 -3
  39. package/dist/config-provider/context.js +3 -3
  40. package/dist/date-picker/generatePicker/generateRangePicker.js +4 -5
  41. package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -6
  42. package/dist/descriptions/hooks/useItems.d.ts +6 -6
  43. package/dist/descriptions/hooks/useRow.js +1 -1
  44. package/dist/float-button/FloatButtonGroup.js +3 -1
  45. package/dist/float-button/style/button.js +2 -2
  46. package/dist/form/Form.d.ts +17 -44
  47. package/dist/form/Form.js +54 -5
  48. package/dist/form/FormItem/ItemHolder.js +1 -1
  49. package/dist/form/FormItem/index.d.ts +3 -3
  50. package/dist/form/FormItem/index.js +4 -0
  51. package/dist/form/context.d.ts +3 -3
  52. package/dist/form/hooks/useForm.d.ts +4 -5
  53. package/dist/form/index.d.ts +29 -3
  54. package/dist/form/index.js +6 -6
  55. package/dist/form/types.d.ts +15 -7
  56. package/dist/image/hooks/usePreviewConfig.d.ts +6 -6
  57. package/dist/image/index.d.ts +5 -5
  58. package/dist/index.d.ts +15 -8
  59. package/dist/index.js +2 -2
  60. package/dist/input/Group.d.ts +3 -2
  61. package/dist/input/Group.js +23 -19
  62. package/dist/input/Input.d.ts +8 -1
  63. package/dist/input/Input.js +4 -0
  64. package/dist/input/OTP/OTPInput.js +4 -0
  65. package/dist/input/Password.js +4 -0
  66. package/dist/input/Search.js +4 -0
  67. package/dist/input/TextArea.d.ts +2 -0
  68. package/dist/input/TextArea.js +8 -0
  69. package/dist/input/index.d.ts +2 -2
  70. package/dist/input-number/style/index.js +3 -2
  71. package/dist/layout/layout.js +2 -3
  72. package/dist/listy/index.js +4 -3
  73. package/dist/locale/ko_KR.js +25 -23
  74. package/dist/locale/pt_BR.js +9 -7
  75. package/dist/mentions/index.js +10 -1
  76. package/dist/menu/MenuItem.js +1 -1
  77. package/dist/menu/index.d.ts +2 -1
  78. package/dist/menu/index.js +29 -5
  79. package/dist/menu/menu.js +41 -15
  80. package/dist/message/index.js +11 -9
  81. package/dist/modal/confirm.js +2 -3
  82. package/dist/modal/index.d.ts +2 -2
  83. package/dist/modal/interface.d.ts +1 -1
  84. package/dist/modal/useModal/index.js +9 -4
  85. package/dist/notification/index.js +3 -7
  86. package/dist/package.js +1 -1
  87. package/dist/package.json.d.ts +1 -0
  88. package/dist/pagination/Pagination.js +3 -1
  89. package/dist/radio/group.d.ts +1 -0
  90. package/dist/radio/group.js +2 -5
  91. package/dist/radio/interface.d.ts +1 -1
  92. package/dist/segmented/style/index.js +3 -2
  93. package/dist/select/index.d.ts +1 -0
  94. package/dist/select/index.js +3 -7
  95. package/dist/select/useIcons.d.ts +3 -1
  96. package/dist/select/useIcons.js +5 -2
  97. package/dist/skeleton/style/index.js +9 -13
  98. package/dist/slider/SliderTooltip.js +0 -1
  99. package/dist/slider/index.d.ts +2 -0
  100. package/dist/slider/index.js +4 -0
  101. package/dist/splitter/Splitter.d.ts +2 -3
  102. package/dist/splitter/Splitter.js +18 -34
  103. package/dist/splitter/interface.d.ts +17 -8
  104. package/dist/statistic/Timer.d.ts +2 -2
  105. package/dist/steps/index.js +2 -1
  106. package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
  107. package/dist/table/hooks/usePagination.d.ts +1 -2
  108. package/dist/table/hooks/usePagination.js +1 -3
  109. package/dist/table/hooks/useSorter.js +4 -8
  110. package/dist/table/style/index.js +1 -0
  111. package/dist/table/style/size.js +1 -0
  112. package/dist/tabs/style/index.js +5 -1
  113. package/dist/tag/hooks/useColor.d.ts +1 -1
  114. package/dist/theme/themes/dark/colors.d.ts +2 -1
  115. package/dist/theme/themes/dark/colors.js +19 -3
  116. package/dist/theme/themes/dark/index.js +2 -3
  117. package/dist/tour/index.js +4 -1
  118. package/dist/tour/style/index.js +6 -6
  119. package/dist/transfer/ListItem.js +1 -0
  120. package/dist/transfer/Section.js +1 -0
  121. package/dist/transfer/hooks/useSelection.js +2 -1
  122. package/dist/tree/DirectoryTree.js +11 -6
  123. package/dist/tree/utils/dictUtil.js +5 -8
  124. package/dist/typography/Base/EllipsisTooltip.js +5 -1
  125. package/dist/typography/Base/index.js +11 -8
  126. package/dist/typography/Base/util.js +2 -1
  127. package/dist/upload/Dragger.js +0 -8
  128. package/dist/upload/Upload.d.ts +2 -0
  129. package/dist/upload/Upload.js +23 -22
  130. package/dist/upload/UploadList/ListItem.js +4 -0
  131. package/dist/upload/UploadList/index.js +6 -1
  132. package/dist/upload/interface.d.ts +4 -2
  133. package/dist/version/token.json +1 -1
  134. package/dist/watermark/utils.js +1 -1
  135. package/package.json +44 -43
  136. package/web-tags.json +22 -14
  137. package/web-types.json +64 -31
@@ -2,7 +2,7 @@ import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSeman
2
2
  import "../_util/hooks/index.js";
3
3
  import { FormLabelAlign } from "./interface.js";
4
4
  import { ColPropsWithClass, FormTooltipProps } from "./FormItemLabel.js";
5
- import { InternalNamePath, Meta, NamePath, Rule, RulesMap, ValidateMessages } from "./types.js";
5
+ import { FilterFunc, GetFieldsValueConfig, InternalNamePath, Meta, NamePath, Rule, RulesMap, ValidateMessages } from "./types.js";
6
6
  import { FormLayout, FormSemanticName, RequiredMark } from "./Form.js";
7
7
  import { FeedbackIcons, ValidateStatus } from "./FormItem/index.js";
8
8
  import { Variant } from "../config-provider/context.js";
@@ -51,7 +51,7 @@ interface FormContextProps {
51
51
  triggerValuesChange?: (namePath: InternalNamePath, value: any) => void;
52
52
  triggerFieldsChange?: (namePathList?: InternalNamePath[]) => void;
53
53
  getFieldValue?: (namePath: InternalNamePath) => any;
54
- getFieldsValue?: (nameList?: InternalNamePath[] | true) => any;
54
+ getFieldsValue?: (nameList?: NamePath[] | true | GetFieldsValueConfig, filterFunc?: FilterFunc) => any;
55
55
  tooltip?: FormTooltipProps;
56
56
  }
57
57
  declare function useFormContextProvider(value: Ref<FormContextProps>): void;
@@ -71,7 +71,7 @@ declare function useFormItemPrefixContext(): Ref<{
71
71
  prefixCls: string;
72
72
  }>;
73
73
  declare function useVariantContextProvider(variant: Ref<Variant | undefined>): void;
74
- declare function useVariantContext(): Ref<"outlined" | "borderless" | "filled" | "underlined" | undefined, "outlined" | "borderless" | "filled" | "underlined" | undefined>;
74
+ declare function useVariantContext(): Ref<"outlined" | "filled" | "borderless" | "underlined" | undefined, "outlined" | "filled" | "borderless" | "underlined" | undefined>;
75
75
  interface FormItemStatusContextProps {
76
76
  isFormItemInput?: boolean;
77
77
  status?: ValidateStatus;
@@ -1,5 +1,4 @@
1
- import { NamePath } from "../types.js";
2
- import { FormInstance } from "../Form.js";
1
+ import { FormInstance, NamePath } from "../types.js";
3
2
  import { InjectionKey, ShallowRef } from "vue";
4
3
  //#region src/form/hooks/useForm.d.ts
5
4
  declare function toNamePathStr(name: NamePath): string;
@@ -14,7 +13,7 @@ interface FormHookRegistry {
14
13
  }
15
14
  declare const FormHookRegistryKey: InjectionKey<FormHookRegistry>;
16
15
  declare const FormInstanceContextKey: InjectionKey<FormInstance>;
17
- type FormHookInstance = FormInstance & ((instance: any) => void);
16
+ type FormHookInstance<Values = any> = FormInstance<Values> & ((instance: any) => void);
18
17
  /**
19
18
  * Create a form instance proxy before the Form component mounts.
20
19
  *
@@ -29,10 +28,10 @@ type FormHookInstance = FormInstance & ((instance: any) => void);
29
28
  * Form mounts, capturing a no-op and losing connection to the instance.
30
29
  * Always keep the whole reference: `const form = useForm()` then `form.xxx()`.
31
30
  */
32
- declare function useForm(name?: string): FormHookInstance;
31
+ declare function useForm<Values = any>(name?: string): FormHookInstance<Values>;
33
32
  /**
34
33
  * Get the closest Form instance from context. Only usable inside a Form.
35
34
  */
36
- declare function useFormInstance(): FormInstance;
35
+ declare function useFormInstance<Values = any>(): FormInstance<Values>;
37
36
  //#endregion
38
37
  export { FormHookEntry, FormHookInstance, FormHookRegistry, FormHookRegistryKey, FormInstanceContextKey, toNamePathStr, useForm, useFormInstance };
@@ -1,5 +1,31 @@
1
- import { Rule, RuleObject, RuleRender, RuleType } from "./types.js";
2
- import InternalForm, { FormEmits, FormInstance, FormProps, FormSlots } from "./Form.js";
1
+ import { FormInstance, FormValues, Rule, RuleObject, RuleRender, RuleType } from "./types.js";
2
+ import { FormEmits, FormProps, FormSlots } from "./Form.js";
3
3
  import InternalFormItem, { FormItemEmits, FormItemProps, FormItemSlots } from "./FormItem/index.js";
4
4
  import { FormHookInstance, useForm, useFormInstance } from "./hooks/useForm.js";
5
- export { type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type Rule, type RuleObject, type RuleRender, type RuleType, InternalForm as default, useForm, useFormInstance };
5
+ import { App, EmitFn, PublicProps } from "vue";
6
+ //#region src/form/index.d.ts
7
+ type FormComponentInstance<Values = any> = {
8
+ $props: FormProps<Values> & PublicProps;
9
+ $emit: EmitFn<FormEmits<Values>>;
10
+ $slots: FormSlots;
11
+ } & FormInstance<Values>;
12
+ interface FormConstructor {
13
+ /**
14
+ * Generic signature: `Values` is inferred from `model`, so `@finish` /
15
+ * `@values-change` receive the model type in templates and TSX.
16
+ */
17
+ new <Values = any>(props: FormProps<Values>): FormComponentInstance<Values>;
18
+ /**
19
+ * Non-generic fallback signature. TypeScript infers from the last overload,
20
+ * so render-function usage like `h(Form, props)` stays resolvable against
21
+ * Vue's `Constructor<P>` overload of `h` (same as Table, see #634).
22
+ */
23
+ new (props: FormProps<any>): FormComponentInstance<any>;
24
+ name: string;
25
+ install: (app: App) => void;
26
+ useForm: typeof useForm;
27
+ useFormInstance: typeof useFormInstance;
28
+ }
29
+ declare const Form: FormConstructor;
30
+ //#endregion
31
+ export { FormConstructor, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type FormValues, type Rule, type RuleObject, type RuleRender, type RuleType, Form as default, useForm, useFormInstance };
@@ -2,12 +2,12 @@ import { useForm, useFormInstance } from "./hooks/useForm.js";
2
2
  import InternalForm from "./Form.js";
3
3
  import InternalFormItem from "./FormItem/index.js";
4
4
  //#region src/form/index.tsx
5
- InternalForm.install = (app) => {
6
- app.component(InternalForm.name, InternalForm);
5
+ const Form = InternalForm;
6
+ Form.install = (app) => {
7
+ app.component(Form.name, Form);
7
8
  app.component(InternalFormItem.name, InternalFormItem);
8
9
  };
9
- InternalForm.useForm = useForm;
10
- InternalForm.useFormInstance = useFormInstance;
11
- var form_default = InternalForm;
10
+ Form.useForm = useForm;
11
+ Form.useFormInstance = useFormInstance;
12
12
  //#endregion
13
- export { InternalFormItem as FormItem, form_default as default, useForm, useFormInstance };
13
+ export { InternalFormItem as FormItem, Form as default, useForm, useFormInstance };
@@ -1,4 +1,5 @@
1
1
  import { VueNode } from "../_util/type.js";
2
+ import { ScrollFocusOptions } from "./interface.js";
2
3
  import { DeepNamePath } from "./namePathType.js";
3
4
  import { Component } from "vue";
4
5
  //#region src/form/types.d.ts
@@ -143,8 +144,8 @@ interface ValidateOptions {
143
144
  dirty?: boolean;
144
145
  }
145
146
  interface ValidateFields<Values = any> {
146
- (opt?: ValidateOptions): Promise<Values>;
147
- (nameList?: NamePath[], opt?: ValidateOptions): Promise<Values>;
147
+ (opt?: ValidateOptions): Promise<FormValues<Values>>;
148
+ (nameList?: NamePath[], opt?: ValidateOptions): Promise<FormValues<Values>>;
148
149
  }
149
150
  interface InternalValidateOptions extends ValidateOptions {
150
151
  triggerName?: string;
@@ -220,22 +221,29 @@ interface GetFieldsValueConfig {
220
221
  strict?: boolean;
221
222
  filter?: FilterFunc;
222
223
  }
224
+ type FormValues<T> = 0 extends 1 & T ? Record<string, any> : T;
223
225
  interface FormInstance<Values = any> {
224
226
  getFieldValue: (name: NamePath<Values>) => StoreValue;
225
- getFieldsValue: (() => Values) & ((nameList: NamePath<Values>[] | true, filterFunc?: FilterFunc) => any) & ((config: GetFieldsValueConfig) => any);
227
+ getFieldsValue: (() => FormValues<Values>) & ((all: true) => FormValues<Values>) & ((nameList?: NamePath<Values>[] | true, filterFunc?: FilterFunc) => Record<string, any>) & ((config: GetFieldsValueConfig) => Record<string, any>);
226
228
  getFieldError: (name: NamePath<Values>) => string[];
227
229
  getFieldsError: (nameList?: NamePath<Values>[]) => FieldError[];
228
230
  getFieldWarning: (name: NamePath<Values>) => string[];
229
- isFieldsTouched: ((nameList?: NamePath<Values>[], allFieldsTouched?: boolean) => boolean) & ((allFieldsTouched?: boolean) => boolean);
231
+ isFieldsTouched: (nameList?: NamePath<Values>[] | boolean, allFieldsTouched?: boolean) => boolean;
230
232
  isFieldTouched: (name: NamePath<Values>) => boolean;
231
233
  isFieldValidating: (name: NamePath<Values>) => boolean;
232
234
  isFieldsValidating: (nameList?: NamePath<Values>[]) => boolean;
233
- resetFields: (fields?: NamePath<Values>[]) => void;
235
+ resetFields: (nameList?: NamePath<Values>[] | InternalNamePath[]) => void;
236
+ clearValidate: (nameList?: NamePath<Values>[] | InternalNamePath[]) => void;
234
237
  setFields: (fields: FieldData<Values>[]) => void;
235
238
  setFieldValue: (name: NamePath<Values>, value: any) => void;
236
- setFieldsValue: (values: RecursivePartial<Values>) => void;
239
+ setFieldsValue: (values: RecursivePartial<Values> | Partial<Values>) => void;
237
240
  validateFields: ValidateFields<Values>;
241
+ validate: ValidateFields<Values>;
238
242
  submit: () => void;
243
+ nativeElement: HTMLFormElement | undefined;
244
+ scrollToField: (fieldName: NamePath<Values>, options?: ScrollFocusOptions | boolean) => void;
245
+ focusField: (fieldName: NamePath<Values>) => void;
246
+ getFieldInstance: (name: NamePath<Values>) => any;
239
247
  }
240
248
  type FormRef<Values = any> = FormInstance<Values> & {
241
249
  nativeElement?: HTMLElement;
@@ -306,4 +314,4 @@ interface ValidateMessages {
306
314
  };
307
315
  }
308
316
  //#endregion
309
- export { BatchTask, Callbacks, EventArgs, FieldData, FieldEntity, FieldError, FilterFunc, FormInstance, FormRef, GetFieldsValueConfig, InternalFieldData, InternalFormInstance, InternalHooks, InternalNamePath, InternalValidateFields, InternalValidateOptions, Meta, NamePath, NotifyInfo, ReducerAction, Rule, RuleError, RuleMessage, RuleMessageRender, RuleObject, RuleRender, RuleType, RulesMap, Store, StoreValue, TriggerType, ValidateErrorEntity, ValidateFields, ValidateMessages, ValidateOptions, ValidatorRule, ValuedNotifyInfo, WatchCallBack, WatchOptions };
317
+ export { BatchTask, Callbacks, EventArgs, FieldData, FieldEntity, FieldError, FilterFunc, FormInstance, FormRef, FormValues, GetFieldsValueConfig, InternalFieldData, InternalFormInstance, InternalHooks, InternalNamePath, InternalValidateFields, InternalValidateOptions, Meta, NamePath, NotifyInfo, ReducerAction, Rule, RuleError, RuleMessage, RuleMessageRender, RuleObject, RuleRender, RuleType, RulesMap, Store, StoreValue, TriggerType, ValidateErrorEntity, ValidateFields, ValidateMessages, ValidateOptions, ValidatorRule, ValuedNotifyInfo, WatchCallBack, WatchOptions };
@@ -36,17 +36,17 @@ declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(
36
36
  image: import("@v-c/image").ImgInfo;
37
37
  }) => import("@v-c/util").VueNode;
38
38
  readonly onChange?: (current: number, prevCurrent: number) => void;
39
- readonly afterOpenChange?: (open: boolean) => void;
40
- readonly zIndex?: number;
41
- readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
39
+ readonly wheel?: boolean;
42
40
  readonly focusTrap?: boolean;
41
+ readonly afterOpenChange?: (open: boolean) => void;
43
42
  readonly maskClosable?: boolean;
43
+ readonly zIndex?: number;
44
44
  readonly getContainer?: import("@v-c/portal/dist/Portal.js").PortalProps["getContainer"];
45
- readonly motionName?: string;
45
+ readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
46
+ readonly icons?: import("@v-c/image/dist/Preview/index.js").OperationIcons;
46
47
  readonly src?: string;
47
48
  readonly alt?: string;
48
- readonly wheel?: boolean;
49
- readonly icons?: import("@v-c/image/dist/Preview/index.js").OperationIcons;
49
+ readonly motionName?: string;
50
50
  readonly countRender?: (current: number, total: number) => import("@v-c/util").VueNode;
51
51
  readonly scaleStep?: number;
52
52
  readonly minScale?: number;
@@ -88,11 +88,11 @@ interface ImageEmitsProps {
88
88
  onClick?: ImageEmits['click'];
89
89
  }
90
90
  interface ImageSlots {
91
- fallback: () => any;
92
- placeholder: () => any;
93
- imageRender: () => any;
94
- cover: () => any;
95
- actionsRender: () => OriginPreviewConfig['actionsRender'];
91
+ fallback?: () => any;
92
+ placeholder?: () => any;
93
+ imageRender?: () => any;
94
+ cover?: () => any;
95
+ actionsRender?: () => OriginPreviewConfig['actionsRender'];
96
96
  }
97
97
  declare const Image: import("vue").DefineSetupFnComponent<ImageProps, ImageEmits, SlotsType<ImageSlots>, ImageProps, import("vue").PublicProps>;
98
98
  declare const _default_1: typeof Image & {
package/dist/index.d.ts CHANGED
@@ -1,18 +1,20 @@
1
1
  import { GlobalToken } from "./theme/interface/cssinjs-utils.js";
2
+ import { MappingAlgorithm } from "./theme/interface/index.js";
2
3
  import { SizeType } from "./config-provider/SizeContext.js";
3
4
  import Col, { ColProps, ColSize } from "./grid/col.js";
5
+ import { Breakpoint } from "./_util/responsiveObserver.js";
4
6
  import Row, { RowProps } from "./grid/row.js";
5
7
  import { useBreakpoint } from "./grid/index.js";
6
8
  import UniqueProvider from "./tooltip/UniqueProvider/index.js";
7
9
  import _default$17, { TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots } from "./tooltip/index.js";
8
- import { Rule, RuleObject, RuleRender, RuleType } from "./form/types.js";
9
- import InternalForm, { FormEmits, FormInstance, FormProps, FormSlots } from "./form/Form.js";
10
+ import { FormInstance, FormValues, Rule, RuleObject, RuleRender, RuleType } from "./form/types.js";
11
+ import { FormEmits, FormProps, FormSlots } from "./form/Form.js";
10
12
  import InternalFormItem, { FormItemEmits, FormItemProps, FormItemSlots } from "./form/FormItem/index.js";
11
13
  import { DatePickerEmits, DatePickerSlots } from "./date-picker/generatePicker/generateSinglePicker.js";
12
14
  import _default$16, { TimePickerEmits, TimePickerLocale, TimePickerProps, TimePickerSlots, TimeRangePicker, TimeRangePickerEmits, TimeRangePickerProps, TimeRangePickerSlots } from "./time-picker/index.js";
13
15
  import _default$7, { DateMonthPicker, DatePickerProps, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, MonthPickerProps, RangePickerProps, WeekPickerProps } from "./date-picker/index.js";
14
16
  import _default$8, { EmptyProps, EmptyRef, EmptySlots } from "./empty/index.js";
15
- import { ModalEmits, ModalSlots } from "./modal/interface.js";
17
+ import { ModalEmits, ModalFuncProps, ModalLocale, ModalSlots } from "./modal/interface.js";
16
18
  import Select, { SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue } from "./select/index.js";
17
19
  import { PaginationClassNamesType, PaginationComponents, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationSizeChangerProps, PaginationSlots, PaginationStylesType } from "./pagination/interface.js";
18
20
  import Pagination from "./pagination/Pagination.js";
@@ -24,6 +26,7 @@ import _default$13, { SpinProps, SpinRef, SpinSlots } from "./spin/index.js";
24
26
  import InternalCheckbox, { CheckboxEmits, CheckboxProps, CheckboxSlots } from "./checkbox/Checkbox.js";
25
27
  import CheckboxGroup, { CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType } from "./checkbox/Group.js";
26
28
  import { MenuItemProps } from "./menu/MenuItem.js";
29
+ import { MenuTheme } from "./menu/MenuContext.js";
27
30
  import { MenuEmits, MenuSlots } from "./menu/menu.js";
28
31
  import MenuItemGroup, { MenuItemGroupProps } from "./menu/MenuItemGroup.js";
29
32
  import SubMenu, { SubMenuProps } from "./menu/SubMenu.js";
@@ -53,7 +56,7 @@ import { AnchorLinkProps } from "./anchor/AnchorLink.js";
53
56
  import Anchor, { AnchorEmits, AnchorProps, AnchorSlots } from "./anchor/Anchor.js";
54
57
  import AutoComplete, { AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
55
58
  import { RibbonProps, RibbonRef } from "./badge/Ribbon.js";
56
- import Badge, { BadgeProps, BadgeRibbon, BadgeSlots } from "./badge/index.js";
59
+ import Badge, { BadgeProps, BadgeRef, BadgeRibbon, BadgeSlots } from "./badge/index.js";
57
60
  import _default$2, { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
58
61
  import _default$3 from "./breadcrumb/BreadcrumbSeparator.js";
59
62
  import { BreadcrumbEmits, BreadcrumbProps, BreadcrumbRef, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
@@ -61,7 +64,7 @@ import { CalendarMode, CalendarProps, CalendarRef } from "./calendar/generateCal
61
64
  import _default$4 from "./calendar/index.js";
62
65
  import TabPane, { TabPaneProps } from "./tabs/TabPane.js";
63
66
  import Tabs, { TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
64
- import { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
67
+ import { CardEmits, CardProps, CardRef, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
65
68
  import CardMeta, { CardMetaProps, CardMetaRef } from "./card/CardMeta.js";
66
69
  import CascaderPanel, { CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots } from "./cascader/Panel.js";
67
70
  import Cascader, { CascaderEmits, CascaderProps, CascaderSlots } from "./cascader/index.js";
@@ -90,6 +93,7 @@ import InternalTextArea, { InputTextAreaRef, TextAreaProps, TextAreaRef } from "
90
93
  import { ListyClassNames, ListyProps, ListyRef, ListyScrollToConfig, ListyStyles } from "./listy/interface.js";
91
94
  import Listy from "./listy/index.js";
92
95
  import { MasonryEmits, MasonryProps, MasonryRef, MasonrySlots } from "./masonry/Masonry.js";
96
+ import { ArgsProps as ArgsProps$1 } from "./notification/interface.js";
93
97
  import useNotification from "./notification/useNotification.js";
94
98
  import staticMethods$1 from "./notification/index.js";
95
99
  import { QRCodeEmits } from "./qrcode/interface.js";
@@ -126,6 +130,7 @@ import { ThemeConfig } from "./config-provider/context.js";
126
130
  import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./button/buttonHelper.js";
127
131
  import Button, { ButtonEmits, ButtonProps, ButtonSemanticName, ButtonSlots, LegacyButtonType } from "./button/Button.js";
128
132
  import { useResponsive } from "./_util/hooks/useResponsive.js";
133
+ import { ArgsProps } from "./message/interface.js";
129
134
  import useModal from "./modal/useModal/index.js";
130
135
  import { AppProps } from "./app/App.js";
131
136
  import _default from "./app/index.js";
@@ -133,15 +138,17 @@ import { AvatarEmits, AvatarProps, AvatarSlots } from "./avatar/Avatar.js";
133
138
  import AvatarGroup, { AvatarGroupProps, AvatarGroupRef } from "./avatar/AvatarGroup.js";
134
139
  import Avatar from "./avatar/index.js";
135
140
  import { BorderBeamColor, BorderBeamGradient } from "./border-beam/util.js";
136
- import BorderBeam, { BorderBeamProps } from "./border-beam/BorderBeam.js";
141
+ import BorderBeam, { BorderBeamItem, BorderBeamProps } from "./border-beam/BorderBeam.js";
137
142
  import _default$1 from "./breadcrumb/index.js";
138
143
  import CardGrid, { CardGridProps, CardGridRef } from "./card/CardGrid.js";
139
144
  import _default$5 from "./card/index.js";
140
145
  import Carousel, { CarouselEmits, CarouselProps, CarouselRef, CarouselSlots } from "./carousel/index.js";
141
146
  import { FormHookInstance, useForm, useFormInstance } from "./form/hooks/useForm.js";
147
+ import Form, { FormConstructor } from "./form/index.js";
142
148
  import { InputGroupProps } from "./input/Group.js";
143
149
  import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
144
150
  import Layout, { BasicProps } from "./layout/layout.js";
151
+ import { SiderProps } from "./layout/Sider.js";
145
152
  import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
146
153
  import _default$9 from "./masonry/index.js";
147
154
  import Mentions, { MentionPlacement, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option as Option$1 } from "./mentions/index.js";
@@ -161,7 +168,7 @@ import Typography, { TypographyLink, TypographyParagraph, TypographyText, Typogr
161
168
  import { DraggerProps } from "./upload/Dragger.js";
162
169
  import { UploadRef } from "./upload/Upload.js";
163
170
  import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
164
- import Watermark, { WatermarkEmits, WatermarkProps, WatermarkRef, WatermarkSlots } from "./watermark/index.js";
171
+ import Watermark, { WatermarkContent, WatermarkEmits, WatermarkFont, WatermarkProps, WatermarkRef, WatermarkSlots, WatermarkText } from "./watermark/index.js";
165
172
  import "./components.js";
166
173
  import { App, Plugin } from "vue";
167
174
  import { StyleProvider } from "@antdv-next/cssinjs";
@@ -170,4 +177,4 @@ declare function setPrefix(newPrefix: string): void;
170
177
  declare function install(app: App): void;
171
178
  declare const _default$18: Plugin;
172
179
  //#endregion
173
- export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type GlobalToken, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$11 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, StyleProvider, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, type ThemeConfig, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkEmits, type WatermarkProps, type WatermarkRef, type WatermarkSlots, type WeekPickerProps, _default$18 as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, _default$19 as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, useTree, _version2 as version };
180
+ export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, type BadgeRef, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamItem, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, type Breakpoint, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardRef, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, Form, type FormConstructor, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type FormValues, type GlobalToken, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, type MappingAlgorithm, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, type MenuTheme, type ArgsProps as MessageArgsProps, _default$11 as Modal, type ModalEmits, type ModalFuncProps, type ModalLocale, type ModalProps, type ModalSlots, type MonthPickerProps, type ArgsProps$1 as NotificationArgsProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, type SiderProps, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, StyleProvider, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, type ThemeConfig, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkContent, type WatermarkEmits, type WatermarkFont, type WatermarkProps, type WatermarkRef, type WatermarkSlots, type WatermarkText, type WeekPickerProps, _default$18 as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, _default$19 as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, useTree, _version2 as version };
package/dist/index.js CHANGED
@@ -69,7 +69,7 @@ import BackTopWithInstall from "./float-button/BackTop.js";
69
69
  import FloatButtonGroup from "./float-button/FloatButtonGroup.js";
70
70
  import float_button_default from "./float-button/index.js";
71
71
  import InternalFormItem from "./form/FormItem/index.js";
72
- import form_default from "./form/index.js";
72
+ import Form from "./form/index.js";
73
73
  import Image, { ImagePreviewGroup } from "./image/index.js";
74
74
  import InternalTextArea from "./input/TextArea.js";
75
75
  import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
@@ -127,4 +127,4 @@ var src_default = {
127
127
  version: version_default
128
128
  };
129
129
  //#endregion
130
- export { Affix, alert_default as Alert, anchor_default as Anchor, App, AutoComplete, Option as AutoCompleteOption, Avatar, AvatarGroup, BackTopWithInstall as BackTop, Badge, BadgeRibbon, border_beam_default as BorderBeam, breadcrumb_default as Breadcrumb, BreadcrumbItem, BreadcrumbSeparator, button_default as Button, Calendar, card_default as Card, CardGrid, CardMeta, Carousel, Cascader, CascaderPanel, CheckableTag, CheckableTagGroup, checkbox_default as Checkbox, CheckboxGroup, Col, collapse_default as Collapse, CollapsePanel, color_picker_default as ColorPicker, ConfigProvider, DateMonthPicker, DatePicker, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, DirectoryTree, Divider, Drawer, Dropdown, Empty, Flex, float_button_default as FloatButton, FloatButtonGroup, form_default as Form, InternalFormItem as FormItem, Image, ImagePreviewGroup, CompoundedInput as Input, InputGroup, InputNumber, InputOTP, InputPassword, InputSearch, layout_default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, Listy, masonry_default as Masonry, Mentions, Option$1 as MentionsOption, Menu, MenuDivider, MenuItem, MenuItemGroup, Modal, pagination_default as Pagination, Popconfirm, Popover, Progress, QRCode, radio_default as Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, SelectOptGroup, SelectOption, skeleton_default as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, Slider, Space, SpaceAddon, SpaceCompact, Spin, splitter_default as Splitter, SplitterPanel, statistic_default as Statistic, StatisticTimer, Steps, StyleProvider, SubMenu, Switch, TabPane, InternalTable as Table, Column as TableColumn, ColumnGroup as TableColumnGroup, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, Tag, InternalTextArea as TextArea, TimePicker, TimeRangePicker, timeline_default as Timeline, TimelineItem, InternalTooltip as Tooltip, Tour, InternalTransfer as Transfer, Tree, TreeSelect, Typography, TypographyLink, TypographyParagraph, TypographyText, TypographyTitle, UniqueProvider, Upload, UploadDragger, Watermark, src_default as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, theme_default as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, useTree, version_default as version };
130
+ export { Affix, alert_default as Alert, anchor_default as Anchor, App, AutoComplete, Option as AutoCompleteOption, Avatar, AvatarGroup, BackTopWithInstall as BackTop, Badge, BadgeRibbon, border_beam_default as BorderBeam, breadcrumb_default as Breadcrumb, BreadcrumbItem, BreadcrumbSeparator, button_default as Button, Calendar, card_default as Card, CardGrid, CardMeta, Carousel, Cascader, CascaderPanel, CheckableTag, CheckableTagGroup, checkbox_default as Checkbox, CheckboxGroup, Col, collapse_default as Collapse, CollapsePanel, color_picker_default as ColorPicker, ConfigProvider, DateMonthPicker, DatePicker, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, DirectoryTree, Divider, Drawer, Dropdown, Empty, Flex, float_button_default as FloatButton, FloatButtonGroup, Form, InternalFormItem as FormItem, Image, ImagePreviewGroup, CompoundedInput as Input, InputGroup, InputNumber, InputOTP, InputPassword, InputSearch, layout_default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, Listy, masonry_default as Masonry, Mentions, Option$1 as MentionsOption, Menu, MenuDivider, MenuItem, MenuItemGroup, Modal, pagination_default as Pagination, Popconfirm, Popover, Progress, QRCode, radio_default as Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, SelectOptGroup, SelectOption, skeleton_default as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, Slider, Space, SpaceAddon, SpaceCompact, Spin, splitter_default as Splitter, SplitterPanel, statistic_default as Statistic, StatisticTimer, Steps, StyleProvider, SubMenu, Switch, TabPane, InternalTable as Table, Column as TableColumn, ColumnGroup as TableColumnGroup, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, Tag, InternalTextArea as TextArea, TimePicker, TimeRangePicker, timeline_default as Timeline, TimelineItem, InternalTooltip as Tooltip, Tour, InternalTransfer as Transfer, Tree, TreeSelect, Typography, TypographyLink, TypographyParagraph, TypographyText, TypographyTitle, UniqueProvider, Upload, UploadDragger, Watermark, src_default as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, theme_default as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, useTree, version_default as version };
@@ -1,11 +1,12 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
- import { SizeType } from "../config-provider/SizeContext.js";
3
2
  import { ComponentBaseProps } from "../config-provider/context.js";
4
3
  import { SlotsType } from "vue";
5
4
  //#region src/input/Group.d.ts
6
5
  interface InputGroupProps extends ComponentBaseProps {
7
- size?: SizeType;
6
+ size?: 'large' | 'small' | 'default';
7
+ compact?: boolean;
8
8
  }
9
+ /** @deprecated Please use `Space.Compact` */
9
10
  declare const InputGroup: import("vue").DefineSetupFnComponent<InputGroupProps, EmptyEmit, SlotsType<{
10
11
  default?: () => any;
11
12
  }>, InputGroupProps, import("vue").PublicProps>;
@@ -2,41 +2,45 @@ import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
2
2
  import { useComponentBaseConfig } from "../config-provider/context.js";
3
3
  import { devUseWarning, isDev } from "../_util/warning.js";
4
4
  import { useFormItemInputContext, useFormItemInputContextProvider } from "../form/context.js";
5
- import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
6
- import style_default, { useSharedStyle } from "./style/index.js";
5
+ import style_default from "./style/index.js";
7
6
  import { SpaceCompact } from "../space/index.js";
8
7
  import { computed, createVNode, defineComponent, mergeProps } from "vue";
9
8
  import { clsx } from "@v-c/util";
10
9
  //#region src/input/Group.tsx
10
+ /** @deprecated Please use `Space.Compact` */
11
11
  const InputGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
12
12
  if (isDev) devUseWarning("Input.Group").deprecated(false, "Input.Group", "Space.Compact");
13
- const { getPrefixCls, direction } = useComponentBaseConfig("input", props);
14
- const prefixCls = computed(() => getPrefixCls("input-group", props.prefixCls));
15
- const rootCls = useCSSVarCls(prefixCls);
16
- const [hashId, cssVarCls] = useSharedStyle(prefixCls, computed(() => props.rootClass));
17
- style_default(prefixCls, rootCls);
13
+ const { prefixCls, direction, getPrefixCls } = useComponentBaseConfig("input", props, [], "input-group");
14
+ const [hashId, cssVarCls] = style_default(computed(() => getPrefixCls("input")));
18
15
  const formItemContext = useFormItemInputContext();
19
16
  useFormItemInputContextProvider(computed(() => ({
20
17
  ...formItemContext.value,
21
18
  isFormItemInput: false
22
19
  })));
23
- const { style, restAttrs } = getAttrStyleAndClass(attrs);
24
- return createVNode(SpaceCompact, mergeProps(restAttrs, {
25
- "class": clsx(prefixCls.value, cssVarCls.value, hashId.value, {
26
- [`${prefixCls.value}-rtl`]: direction.value === "rtl",
27
- [`${prefixCls.value}-lg`]: props.size === "large",
28
- [`${prefixCls.value}-sm`]: props.size === "small",
29
- [`${prefixCls.value}-compact`]: true
30
- }, props.rootClass, attrs.class),
31
- "style": style,
32
- "size": props.size
33
- }), { default: () => [slots.default?.()] });
20
+ return () => {
21
+ const { size, compact, rootClass } = props;
22
+ const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
23
+ return createVNode(SpaceCompact, mergeProps(restAttrs, {
24
+ "class": clsx(prefixCls.value, cssVarCls.value, {
25
+ [`${prefixCls.value}-lg`]: size === "large",
26
+ [`${prefixCls.value}-sm`]: size === "small",
27
+ [`${prefixCls.value}-compact`]: compact,
28
+ [`${prefixCls.value}-rtl`]: direction.value === "rtl"
29
+ }, hashId.value, rootClass, className),
30
+ "style": style
31
+ }), { default: () => [slots.default?.()] });
32
+ };
34
33
  }, {
35
34
  props: {
36
35
  size: {
37
- type: [String, null],
36
+ type: String,
38
37
  required: false
39
38
  },
39
+ compact: {
40
+ type: Boolean,
41
+ required: false,
42
+ default: void 0
43
+ },
40
44
  rootClass: {
41
45
  type: String,
42
46
  required: false
@@ -28,6 +28,12 @@ interface InputSemanticStyles {
28
28
  type InputClassNamesType = SemanticClassNamesType<InputProps, InputSemanticClassNames>;
29
29
  type InputStylesType = SemanticStylesType<InputProps, InputSemanticStyles>;
30
30
  type InputRef = InputRef$1;
31
+ interface InputValueModifiers {
32
+ trim?: boolean;
33
+ number?: boolean;
34
+ lazy?: boolean;
35
+ [key: string]: boolean | undefined;
36
+ }
31
37
  interface BaseVcInputProps {
32
38
  value?: any;
33
39
  defaultValue?: any;
@@ -47,6 +53,7 @@ interface BaseVcInputProps {
47
53
  suffix?: VueNode;
48
54
  allowClear?: AllowClear;
49
55
  changeOnComposing?: InputProps$1['changeOnComposing'];
56
+ valueModifiers?: InputValueModifiers;
50
57
  autoFocus?: boolean;
51
58
  inputMode?: string;
52
59
  }
@@ -98,4 +105,4 @@ interface InputSlots {
98
105
  }
99
106
  declare const InternalInput: import("vue").DefineSetupFnComponent<InputProps, InputEmits, SlotsType<InputSlots>, InputProps, import("vue").PublicProps>;
100
107
  //#endregion
101
- export { InputClassNamesType, InputEmits, InputEmitsProps, InputProps, InputRef, InputSemanticClassNames, InputSemanticName, InputSemanticStyles, InputSlots, InputStylesType, InternalInput as default };
108
+ export { InputClassNamesType, InputEmits, InputEmitsProps, InputProps, InputRef, InputSemanticClassNames, InputSemanticName, InputSemanticStyles, InputSlots, InputStylesType, InputValueModifiers, InternalInput as default };
@@ -360,6 +360,10 @@ const InternalInput = /* @__PURE__ */ defineComponent((props, { slots, expose, e
360
360
  required: false,
361
361
  default: void 0
362
362
  },
363
+ valueModifiers: {
364
+ type: Object,
365
+ required: false
366
+ },
363
367
  autoFocus: {
364
368
  type: Boolean,
365
369
  required: false,
@@ -239,6 +239,10 @@ const OTPInput = /* @__PURE__ */ defineComponent((props, { attrs, expose, slots
239
239
  required: false,
240
240
  default: void 0
241
241
  },
242
+ valueModifiers: {
243
+ type: Object,
244
+ required: false
245
+ },
242
246
  autoFocus: {
243
247
  type: Boolean,
244
248
  required: false,
@@ -283,6 +283,10 @@ const InternalPassword = /* @__PURE__ */ defineComponent((props, { slots, attrs,
283
283
  required: false,
284
284
  default: void 0
285
285
  },
286
+ valueModifiers: {
287
+ type: Object,
288
+ required: false
289
+ },
286
290
  autoFocus: {
287
291
  type: Boolean,
288
292
  required: false,
@@ -343,6 +343,10 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
343
343
  required: false,
344
344
  default: void 0
345
345
  },
346
+ valueModifiers: {
347
+ type: Object,
348
+ required: false
349
+ },
346
350
  autoFocus: {
347
351
  type: Boolean,
348
352
  required: false,
@@ -3,6 +3,7 @@ import "../_util/hooks/index.js";
3
3
  import { SizeType } from "../config-provider/SizeContext.js";
4
4
  import { InputStatus } from "../_util/statusUtils.js";
5
5
  import { AllowClear } from "../_util/hooks/useAllowClear.js";
6
+ import { InputValueModifiers } from "./Input.js";
6
7
  import { ComponentBaseProps, Variant } from "../config-provider/context.js";
7
8
  import { CSSProperties, SlotsType } from "vue";
8
9
  import { InputProps } from "@v-c/input";
@@ -38,6 +39,7 @@ interface TextAreaProps extends ComponentBaseProps, Omit<TextAreaProps$1, 'class
38
39
  maxlength?: number;
39
40
  minlength?: number;
40
41
  readonly?: boolean;
42
+ valueModifiers?: InputValueModifiers;
41
43
  showCount?: InputProps['showCount'];
42
44
  allowClear?: AllowClear;
43
45
  }
@@ -202,6 +202,10 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
202
202
  required: false,
203
203
  default: void 0
204
204
  },
205
+ valueModifiers: {
206
+ type: Object,
207
+ required: false
208
+ },
205
209
  showCount: {
206
210
  type: [Boolean, Object],
207
211
  required: false,
@@ -253,6 +257,10 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
253
257
  type: Function,
254
258
  required: false
255
259
  },
260
+ onInput: {
261
+ type: Function,
262
+ required: false
263
+ },
256
264
  hidden: {
257
265
  type: Boolean,
258
266
  required: false,
@@ -1,5 +1,5 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
- import InternalInput, { InputEmits, InputProps, InputRef, InputSlots } from "./Input.js";
2
+ import InternalInput, { InputEmits, InputProps, InputRef, InputSlots, InputValueModifiers } from "./Input.js";
3
3
  import OTP, { OTPEmits, OTPProps, OTPSlots } from "./OTP/index.js";
4
4
  import InternalPassword, { InputPasswordRef, PasswordEmits, PasswordProps, PasswordSlots } from "./Password.js";
5
5
  import InternalSearch, { InputSearchRef, SearchEmits, SearchProps, SearchSlots } from "./Search.js";
@@ -23,4 +23,4 @@ declare const InputOTP: import("vue").DefineSetupFnComponent<OTPProps, OTPEmits,
23
23
  declare const InputPassword: import("vue").DefineSetupFnComponent<PasswordProps, PasswordEmits, import("vue").SlotsType<PasswordSlots>, PasswordProps, import("vue").PublicProps>;
24
24
  declare const InputSearch: import("vue").DefineSetupFnComponent<SearchProps, SearchEmits, import("vue").SlotsType<SearchSlots>, SearchProps, import("vue").PublicProps>;
25
25
  //#endregion
26
- export { type InputEmits, InputGroup, type InputGroupProps, InputOTP, InputPassword, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type InputSearchRef, type InputSlots, type InputTextAreaRef, type OTPEmits, type OTPProps, type OTPSlots, type PasswordProps, type SearchProps, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, CompoundedInput as default };
26
+ export { type InputEmits, InputGroup, type InputGroupProps, InputOTP, InputPassword, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type InputSearchRef, type InputSlots, type InputTextAreaRef, type InputValueModifiers, type OTPEmits, type OTPProps, type OTPSlots, type PasswordProps, type SearchProps, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, CompoundedInput as default };
@@ -125,6 +125,8 @@ const genInputNumberStyles = (token) => {
125
125
  [`&${componentCls}-mode-spinner`]: {
126
126
  padding: 0,
127
127
  width: "auto",
128
+ [`${componentCls}-prefix`]: { marginInlineStart: varRef("input-padding-inline") },
129
+ [`${componentCls}-suffix`]: { marginInlineEnd: varRef("input-padding-inline") },
128
130
  [`${componentCls}-action`]: {
129
131
  flex: "none",
130
132
  paddingInline: varRef("input-padding-inline"),
@@ -134,8 +136,7 @@ const genInputNumberStyles = (token) => {
134
136
  [`${componentCls}-input`]: {
135
137
  textAlign: "center",
136
138
  paddingInline: varRef("input-padding-inline")
137
- },
138
- [`${componentCls}-suffix`]: { marginInlineEnd: varRef("input-padding-inline") }
139
+ }
139
140
  }
140
141
  } },
141
142
  { [componentCls]: {