antdv-next 1.4.1 → 1.4.3

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 (217) hide show
  1. package/dist/_util/hooks/useClosable.d.ts +5 -5
  2. package/dist/_util/statusUtils.d.ts +1 -1
  3. package/dist/_util/vueNode.d.ts +8 -4
  4. package/dist/alert/Alert.d.ts +7 -7
  5. package/dist/antd-with-locales.esm.js +13344 -11050
  6. package/dist/antd-with-locales.js +80 -80
  7. package/dist/antd.css +1 -1
  8. package/dist/antd.esm.js +10337 -9090
  9. package/dist/antd.js +74 -74
  10. package/dist/auto-complete/index.d.ts +4 -4
  11. package/dist/avatar/Avatar.d.ts +3 -3
  12. package/dist/badge/Ribbon.d.ts +2 -2
  13. package/dist/badge/index.d.ts +3 -3
  14. package/dist/border-beam/style/index.js +2 -2
  15. package/dist/breadcrumb/Breadcrumb.d.ts +4 -4
  16. package/dist/breadcrumb/BreadcrumbItem.d.ts +4 -4
  17. package/dist/button/Button.d.ts +2 -2
  18. package/dist/button/buttonHelper.d.ts +1 -1
  19. package/dist/button/style/index.js +13 -0
  20. package/dist/calendar/generateCalendar.d.ts +8 -8
  21. package/dist/card/Card.d.ts +9 -9
  22. package/dist/card/CardMeta.d.ts +4 -4
  23. package/dist/carousel/index.d.ts +3 -3
  24. package/dist/cascader/Panel.js +26 -2
  25. package/dist/cascader/index.d.ts +53 -21
  26. package/dist/cascader/index.js +33 -5
  27. package/dist/checkbox/Checkbox.d.ts +1 -1
  28. package/dist/checkbox/Checkbox.js +4 -4
  29. package/dist/checkbox/Group.d.ts +2 -2
  30. package/dist/checkbox/style/index.js +3 -3
  31. package/dist/collapse/Collapse.d.ts +3 -3
  32. package/dist/collapse/CollapsePanel.d.ts +3 -3
  33. package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
  34. package/dist/color-picker/interface.d.ts +2 -2
  35. package/dist/config-provider/context.d.ts +20 -14
  36. package/dist/config-provider/index.js +1 -1
  37. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
  38. package/dist/date-picker/generatePicker/generateRangePicker.js +112 -10
  39. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -2
  40. package/dist/date-picker/generatePicker/generateSinglePicker.js +101 -11
  41. package/dist/date-picker/util.d.ts +10 -1
  42. package/dist/descriptions/Item.d.ts +3 -3
  43. package/dist/descriptions/hooks/useItems.d.ts +11 -11
  44. package/dist/descriptions/index.d.ts +3 -3
  45. package/dist/descriptions/style/index.js +2 -3
  46. package/dist/drawer/DrawerPanel.d.ts +5 -5
  47. package/dist/empty/index.d.ts +3 -3
  48. package/dist/float-button/FloatButton.d.ts +5 -5
  49. package/dist/float-button/FloatButton.js +1 -1
  50. package/dist/float-button/FloatButtonGroup.d.ts +2 -2
  51. package/dist/form/ErrorList.d.ts +2 -2
  52. package/dist/form/context.d.ts +1 -1
  53. package/dist/form/hooks/useVariant.d.ts +1 -1
  54. package/dist/image/index.d.ts +2 -2
  55. package/dist/input/Input.d.ts +5 -5
  56. package/dist/input/OTP/index.d.ts +2 -2
  57. package/dist/input/Password.d.ts +2 -2
  58. package/dist/input/Search.d.ts +3 -3
  59. package/dist/input/TextArea.js +1 -1
  60. package/dist/input/style/search.js +1 -0
  61. package/dist/input-number/index.d.ts +8 -8
  62. package/dist/input-number/index.js +0 -4
  63. package/dist/layout/layout.js +54 -48
  64. package/dist/locale/ar_EG.js +18 -4
  65. package/dist/locale/az_AZ.js +2 -1
  66. package/dist/locale/bg_BG.js +44 -3
  67. package/dist/locale/bn_BD.js +20 -4
  68. package/dist/locale/by_BY.js +17 -3
  69. package/dist/locale/ca_ES.js +22 -4
  70. package/dist/locale/cs_CZ.js +6 -3
  71. package/dist/locale/da_DK.js +34 -3
  72. package/dist/locale/de_DE.js +14 -4
  73. package/dist/locale/el_GR.js +4 -2
  74. package/dist/locale/en_GB.js +6 -3
  75. package/dist/locale/en_US.js +2 -1
  76. package/dist/locale/es_ES.js +17 -3
  77. package/dist/locale/et_EE.js +17 -3
  78. package/dist/locale/eu_ES.js +8 -4
  79. package/dist/locale/fa_IR.js +2 -1
  80. package/dist/locale/fi_FI.js +35 -4
  81. package/dist/locale/fr_BE.js +20 -3
  82. package/dist/locale/fr_CA.js +20 -3
  83. package/dist/locale/fr_FR.js +20 -3
  84. package/dist/locale/ga_IE.js +24 -5
  85. package/dist/locale/gl_ES.js +36 -5
  86. package/dist/locale/he_IL.js +30 -5
  87. package/dist/locale/hi_IN.js +20 -4
  88. package/dist/locale/hr_HR.js +21 -4
  89. package/dist/locale/hu_HU.js +43 -3
  90. package/dist/locale/hy_AM.js +33 -4
  91. package/dist/locale/id_ID.js +2 -1
  92. package/dist/locale/is_IS.js +44 -3
  93. package/dist/locale/it_IT.js +6 -3
  94. package/dist/locale/ja_JP.js +2 -1
  95. package/dist/locale/ka_GE.js +20 -4
  96. package/dist/locale/kk_KZ.js +22 -5
  97. package/dist/locale/km_KH.js +35 -4
  98. package/dist/locale/kmr_IQ.js +45 -4
  99. package/dist/locale/kn_IN.js +18 -3
  100. package/dist/locale/ko_KR.js +8 -4
  101. package/dist/locale/ku_IQ.js +45 -4
  102. package/dist/locale/lt_LT.js +8 -4
  103. package/dist/locale/lv_LV.js +45 -4
  104. package/dist/locale/mk_MK.js +36 -4
  105. package/dist/locale/ml_IN.js +20 -4
  106. package/dist/locale/mn_MN.js +17 -3
  107. package/dist/locale/mr_IN.js +13 -1
  108. package/dist/locale/ms_MY.js +8 -4
  109. package/dist/locale/my_MM.js +18 -5
  110. package/dist/locale/ne_NP.js +2 -1
  111. package/dist/locale/nl_BE.js +20 -4
  112. package/dist/locale/nl_NL.js +20 -4
  113. package/dist/locale/pl_PL.js +17 -3
  114. package/dist/locale/pt_BR.js +6 -3
  115. package/dist/locale/pt_PT.js +2 -1
  116. package/dist/locale/ro_RO.js +20 -4
  117. package/dist/locale/ru_RU.js +4 -2
  118. package/dist/locale/si_LK.js +17 -3
  119. package/dist/locale/sk_SK.js +17 -3
  120. package/dist/locale/sl_SI.js +45 -4
  121. package/dist/locale/sr_RS.js +20 -4
  122. package/dist/locale/sv_SE.js +14 -4
  123. package/dist/locale/ta_IN.js +23 -5
  124. package/dist/locale/th_TH.js +2 -1
  125. package/dist/locale/tk_TK.js +21 -5
  126. package/dist/locale/tr_TR.js +17 -2
  127. package/dist/locale/uk_UA.js +12 -3
  128. package/dist/locale/ur_PK.js +20 -4
  129. package/dist/locale/uz_UZ.js +14 -4
  130. package/dist/locale/vi_VN.js +2 -1
  131. package/dist/locale/zh_CN.js +2 -1
  132. package/dist/locale/zh_HK.js +4 -2
  133. package/dist/locale/zh_TW.js +4 -2
  134. package/dist/masonry/Masonry.d.ts +18 -10
  135. package/dist/masonry/MasonryItem.d.ts +2 -2
  136. package/dist/mentions/index.d.ts +4 -4
  137. package/dist/mentions/index.js +62 -1
  138. package/dist/menu/MenuItem.d.ts +3 -3
  139. package/dist/menu/MenuItem.js +1 -1
  140. package/dist/menu/MenuItemGroup.d.ts +2 -2
  141. package/dist/menu/OverrideContext.d.ts +2 -2
  142. package/dist/menu/SubMenu.d.ts +2 -2
  143. package/dist/message/PureList.d.ts +3 -1
  144. package/dist/message/PureList.js +4 -0
  145. package/dist/message/interface.d.ts +3 -3
  146. package/dist/modal/ConfirmDialog.d.ts +5 -1
  147. package/dist/modal/ConfirmDialog.js +40 -19
  148. package/dist/modal/Modal.d.ts +12 -3
  149. package/dist/modal/Modal.js +24 -7
  150. package/dist/modal/interface.d.ts +14 -14
  151. package/dist/notification/PureList.d.ts +3 -1
  152. package/dist/notification/PureList.js +4 -0
  153. package/dist/notification/interface.d.ts +8 -8
  154. package/dist/notification/util.d.ts +2 -2
  155. package/dist/package.js +1 -1
  156. package/dist/pagination/Pagination.js +1 -1
  157. package/dist/pagination/interface.d.ts +7 -7
  158. package/dist/pagination/style/index.js +1 -1
  159. package/dist/popconfirm/index.d.ts +6 -6
  160. package/dist/popover/index.d.ts +4 -4
  161. package/dist/radio/radio.js +4 -4
  162. package/dist/radio/radioButton.js +4 -4
  163. package/dist/radio/style/index.js +2 -2
  164. package/dist/result/index.d.ts +5 -5
  165. package/dist/segmented/index.d.ts +38 -20
  166. package/dist/segmented/index.js +5 -10
  167. package/dist/segmented/style/index.js +2 -2
  168. package/dist/select/index.d.ts +4 -4
  169. package/dist/select/style/select-input-customize.js +1 -0
  170. package/dist/slider/index.js +1 -1
  171. package/dist/space/Compact.d.ts +1 -1
  172. package/dist/space/index.d.ts +2 -2
  173. package/dist/spin/index.d.ts +5 -5
  174. package/dist/splitter/interface.d.ts +6 -6
  175. package/dist/statistic/Statistic.d.ts +4 -4
  176. package/dist/steps/index.d.ts +6 -6
  177. package/dist/style/motion/index.d.ts +2 -2
  178. package/dist/style/motion/index.js +2 -2
  179. package/dist/style/motion/util.d.ts +8 -1
  180. package/dist/style/motion/util.js +13 -1
  181. package/dist/switch/index.d.ts +4 -4
  182. package/dist/switch/index.js +7 -7
  183. package/dist/switch/style/index.js +5 -3
  184. package/dist/table/InternalTable.js +8 -25
  185. package/dist/table/Table.d.ts +20 -9
  186. package/dist/table/hooks/useColumnTitleProps.d.ts +8 -0
  187. package/dist/table/hooks/useColumnTitleProps.js +16 -0
  188. package/dist/table/hooks/useFilter/FilterDropdown.js +2 -1
  189. package/dist/table/hooks/useSpinProps.d.ts +7 -0
  190. package/dist/table/hooks/useSpinProps.js +14 -0
  191. package/dist/table/util.d.ts +5 -2
  192. package/dist/table/util.js +10 -1
  193. package/dist/tabs/index.d.ts +5 -5
  194. package/dist/tag/CheckableTag.d.ts +2 -2
  195. package/dist/tag/hooks/useColor.d.ts +1 -1
  196. package/dist/tag/index.d.ts +3 -3
  197. package/dist/time-picker/index.d.ts +2 -2
  198. package/dist/time-picker/index.js +211 -19
  199. package/dist/timeline/Timeline.d.ts +9 -9
  200. package/dist/tooltip/PurePanel.js +1 -1
  201. package/dist/tooltip/index.d.ts +3 -3
  202. package/dist/tour/interface.d.ts +4 -4
  203. package/dist/transfer/Actions.d.ts +2 -2
  204. package/dist/transfer/Transfer.d.ts +2 -2
  205. package/dist/transfer/index.d.ts +27 -6
  206. package/dist/transfer/interface.d.ts +17 -17
  207. package/dist/transfer/search.d.ts +2 -2
  208. package/dist/tree/Tree.d.ts +6 -6
  209. package/dist/tree-select/index.d.ts +57 -28
  210. package/dist/tree-select/index.js +4 -3
  211. package/dist/typography/Base/Ellipsis.d.ts +2 -2
  212. package/dist/typography/Editable.d.ts +2 -2
  213. package/dist/typography/interface.d.ts +8 -8
  214. package/dist/upload/UploadList/index.js +1 -1
  215. package/package.json +10 -10
  216. package/web-tags.json +1301 -1285
  217. package/web-types.json +3864 -3812
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { TooltipProps } from "../tooltip/index.js";
4
4
  import { BadgeProps } from "../badge/index.js";
@@ -20,13 +20,13 @@ type FloatButtonSemanticName = ButtonSemanticName;
20
20
  type FloatButtonClassNamesType = SemanticClassNamesType<FloatButtonProps, ButtonSemanticClassNames>;
21
21
  type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, ButtonSemanticStyles>;
22
22
  interface FloatButtonProps extends ComponentBaseProps, FloatButtonEmitsProps {
23
- icon?: VueNode$1;
23
+ icon?: VueNode;
24
24
  /** @deprecated Use `content` instead */
25
- description?: VueNode$1;
26
- content?: VueNode$1;
25
+ description?: VueNode;
26
+ content?: VueNode;
27
27
  type?: FloatButtonType;
28
28
  shape?: FloatButtonShape;
29
- tooltip?: VueNode$1 | TooltipProps;
29
+ tooltip?: VueNode | TooltipProps;
30
30
  href?: string;
31
31
  target?: '_self' | '_blank' | '_parent' | '_top' | string;
32
32
  badge?: FloatButtonBadgeProps & {
@@ -13,7 +13,7 @@ import { Fragment, computed, createVNode, defineComponent, isVNode, mergeDefault
13
13
  import { classNames } from "@v-c/util";
14
14
  import { filterEmpty, removeUndefined } from "@v-c/util/dist/props-util";
15
15
  import { FileTextOutlined } from "@antdv-next/icons";
16
- import { omit } from "es-toolkit";
16
+ import { omit } from "es-toolkit/compat";
17
17
  //#region src/float-button/FloatButton.tsx
18
18
  function _isSlot(s) {
19
19
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { FloatButtonGroupTrigger, FloatButtonProps } from "./FloatButton.js";
4
4
  import { ComponentBaseProps } from "../config-provider/context.js";
@@ -34,7 +34,7 @@ interface FloatButtonGroupProps extends Omit<FloatButtonProps, 'classes' | 'styl
34
34
  trigger?: FloatButtonGroupTrigger;
35
35
  open?: boolean;
36
36
  defaultOpen?: boolean;
37
- closeIcon?: VueNode$1;
37
+ closeIcon?: VueNode;
38
38
  placement?: 'top' | 'left' | 'right' | 'bottom';
39
39
  style?: CSSProperties;
40
40
  }
@@ -1,11 +1,11 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { ValidateStatus } from "./FormItem/index.js";
3
3
  import { CSSProperties } from "vue";
4
4
 
5
5
  //#region src/form/ErrorList.d.ts
6
6
  interface ErrorListProps {
7
7
  fieldId?: string;
8
- help?: VueNode$1;
8
+ help?: VueNode;
9
9
  helpStatus?: ValidateStatus;
10
10
  errors?: any[];
11
11
  warnings?: any[];
@@ -69,7 +69,7 @@ declare function useFormItemPrefixContext(): Ref<{
69
69
  prefixCls: string;
70
70
  }>;
71
71
  declare function useVariantContextProvider(variant: Ref<Variant | undefined>): void;
72
- declare function useVariantContext(): Ref<"outlined" | "filled" | "borderless" | "underlined" | undefined, "outlined" | "filled" | "borderless" | "underlined" | undefined>;
72
+ declare function useVariantContext(): Ref<"outlined" | "borderless" | "filled" | "underlined" | undefined, "outlined" | "borderless" | "filled" | "underlined" | undefined>;
73
73
  interface FormItemStatusContextProps {
74
74
  isFormItemInput?: boolean;
75
75
  status?: ValidateStatus;
@@ -4,7 +4,7 @@ import { Ref } from "vue";
4
4
 
5
5
  //#region src/form/hooks/useVariant.d.ts
6
6
  type VariantComponents = keyof Pick<ConfigProviderProps, 'input' | 'inputNumber' | 'textArea' | 'mentions' | 'select' | 'cascader' | 'treeSelect' | 'datePicker' | 'timePicker' | 'rangePicker' | 'card'>;
7
- declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "filled" | "borderless" | "underlined">, import("vue").ComputedRef<boolean>];
7
+ declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "borderless" | "filled" | "underlined">, import("vue").ComputedRef<boolean>];
8
8
  declare const useVariants: typeof useVariant;
9
9
  //#endregion
10
10
  export { useVariant as default, useVariants };
@@ -1,5 +1,5 @@
1
1
  import { MaskType } from "../_util/hooks/useMergedMask.js";
2
- import { VueNode as VueNode$1 } from "../_util/type.js";
2
+ import { VueNode } from "../_util/type.js";
3
3
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
4
4
  import InternalPreviewGroup, { PreviewGroupProps as PreviewGroupProps$1 } from "./PreviewGroup.js";
5
5
  import { CSSProperties, SlotsType } from "vue";
@@ -67,7 +67,7 @@ type ImageStylesType = SemanticStylesType<ImageProps, ImageSemanticStyles, {
67
67
  type PreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
68
68
  /** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean) => void; /** @deprecated Use `classNames.cover` instead */
69
69
  maskClassName?: string;
70
- mask?: MaskType | VueNode$1;
70
+ mask?: MaskType | VueNode;
71
71
  };
72
72
  interface ImageProps extends Omit<ImageProps$1, 'preview' | 'classNames' | 'styles' | 'rootClassName' | 'onError' | 'onClick'>, ImageEmitsProps {
73
73
  preview?: boolean | PreviewConfig;
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { SizeType } from "../config-provider/SizeContext.js";
4
4
  import { InputStatus } from "../_util/statusUtils.js";
@@ -42,8 +42,8 @@ interface BaseVcInputProps {
42
42
  hidden?: boolean;
43
43
  dataAttrs?: InputProps$1['dataAttrs'];
44
44
  components?: InputProps$1['components'];
45
- prefix?: VueNode$1;
46
- suffix?: VueNode$1;
45
+ prefix?: VueNode;
46
+ suffix?: VueNode;
47
47
  allowClear?: InputProps$1['allowClear'];
48
48
  changeOnComposing?: InputProps$1['changeOnComposing'];
49
49
  autoFocus?: boolean;
@@ -54,9 +54,9 @@ interface InputProps extends ComponentBaseProps, BaseVcInputProps, InputEmitsPro
54
54
  disabled?: boolean;
55
55
  status?: InputStatus;
56
56
  /** @deprecated Use `Space.Compact` instead. */
57
- addonBefore?: VueNode$1;
57
+ addonBefore?: VueNode;
58
58
  /** @deprecated Use `Space.Compact` instead. */
59
- addonAfter?: VueNode$1;
59
+ addonAfter?: VueNode;
60
60
  /** @deprecated Use `variant="borderless"` instead. */
61
61
  bordered?: boolean;
62
62
  /** @since 5.13.0 */
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../../_util/type.js";
1
+ import { VueNode } from "../../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../../_util/hooks/useMergeSemantic.js";
3
3
  import { SizeType } from "../../config-provider/SizeContext.js";
4
4
  import { InputStatus } from "../../_util/statusUtils.js";
@@ -25,7 +25,7 @@ interface OTPProps extends ComponentBaseProps, Omit<HTMLAttributes, 'onChange' |
25
25
  defaultValue?: string;
26
26
  value?: string;
27
27
  formatter?: (value: string) => string;
28
- separator?: VueNode$1 | ((index: number) => VueNode$1);
28
+ separator?: VueNode | ((index: number) => VueNode);
29
29
  disabled?: boolean;
30
30
  status?: InputStatus;
31
31
  mask?: boolean | string;
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { InputEmits, InputProps, InputRef } from "./Input.js";
3
3
  import { SlotsType } from "vue";
4
4
 
@@ -13,7 +13,7 @@ interface PasswordProps extends Omit<InputProps, 'type'>, PasswordEmitsProps {
13
13
  inputPrefixCls?: string;
14
14
  action?: PasswordAction;
15
15
  visibilityToggle?: VisibilityToggle;
16
- suffix?: VueNode$1;
16
+ suffix?: VueNode;
17
17
  iconRender?: (params: {
18
18
  visible: boolean;
19
19
  }) => any;
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { SizeType } from "../config-provider/SizeContext.js";
4
4
  import { InputEmits, InputProps, InputRef } from "./Input.js";
@@ -31,12 +31,12 @@ type InputSearchStylesType = SemanticStylesType<SearchProps, InputSearchSemantic
31
31
  interface SearchProps extends Omit<InputProps, 'class' | 'style' | 'rootClass'>, ComponentBaseProps, SearchEmitsProps {
32
32
  inputPrefixCls?: string;
33
33
  on?: never;
34
- enterButton?: boolean | VueNode$1;
34
+ enterButton?: boolean | VueNode;
35
35
  /**
36
36
  * Custom search icon shown inside the trigger button when enterButton is a
37
37
  * boolean. Mirrors ant-design 6.4.0 PR #57256.
38
38
  */
39
- searchIcon?: VueNode$1;
39
+ searchIcon?: VueNode;
40
40
  loading?: boolean;
41
41
  size?: SizeType;
42
42
  hidden?: boolean;
@@ -14,7 +14,7 @@ import getAllowClear from "../_util/getAllowClear.js";
14
14
  import textarea_default from "./style/textarea.js";
15
15
  import { computed, createVNode, defineComponent, mergeProps, onBeforeUnmount, shallowRef } from "vue";
16
16
  import { clsx } from "@v-c/util";
17
- import { omit } from "es-toolkit";
17
+ import { omit } from "es-toolkit/compat";
18
18
  import VcTextArea from "@v-c/textarea";
19
19
  //#region src/input/TextArea.tsx
20
20
  const omitKeys = [
@@ -14,6 +14,7 @@ const genSearchStyle = (token) => {
14
14
  width: "100%",
15
15
  [btnCls]: {
16
16
  height: varRef("btn-height"),
17
+ "&:focus-visible": { zIndex: 5 },
17
18
  [`&${antCls}-btn-icon-only`]: { width: varRef("btn-height") },
18
19
  "&-filled": {
19
20
  background: token.colorFillTertiary,
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { SizeType } from "../config-provider/SizeContext.js";
4
4
  import { InputStatus } from "../_util/statusUtils.js";
@@ -31,14 +31,14 @@ interface InputNumberStepContext {
31
31
  type: 'up' | 'down';
32
32
  emitter: 'handler' | 'keyboard' | 'wheel';
33
33
  }
34
- interface InputNumberProps extends ComponentBaseProps, Omit<InputNumberProps$1, 'class' | 'controls' | 'className' | 'style' | 'prefixCls' | 'classNames' | 'styles' | 'prefix' | 'suffix' | 'onChange' | 'onClick' | 'onInput' | 'onBeforeInput' | 'onBlur' | 'onCompositionEnd' | 'onCompositionStart' | 'onKeyDown' | 'onKeyUp' | 'onMouseDown' | 'onMouseEnter' | 'onPressEnter' | 'onMouseUp' | 'onMouseMove' | 'onFocus'>, InputNumberEmitsProps {
34
+ interface InputNumberProps extends ComponentBaseProps, Omit<InputNumberProps$1, 'class' | 'controls' | 'className' | 'style' | 'prefixCls' | 'classNames' | 'styles' | 'prefix' | 'suffix' | 'onChange' | 'onClick' | 'onInput' | 'onBeforeInput' | 'onBlur' | 'onCompositionEnd' | 'onCompositionStart' | 'onKeyDown' | 'onKeyUp' | 'onMouseDown' | 'onMouseEnter' | 'onPressEnter' | 'onMouseUp' | 'onMouseMove' | 'onFocus' | 'onStep'>, InputNumberEmitsProps {
35
35
  size?: SizeType;
36
36
  status?: InputStatus;
37
37
  disabled?: boolean;
38
- addonBefore?: VueNode$1;
39
- addonAfter?: VueNode$1;
40
- prefix?: VueNode$1;
41
- suffix?: VueNode$1;
38
+ addonBefore?: VueNode;
39
+ addonAfter?: VueNode;
40
+ prefix?: VueNode;
41
+ suffix?: VueNode;
42
42
  /** @deprecated Use `variant="borderless"` instead. */
43
43
  bordered?: boolean;
44
44
  /**
@@ -49,8 +49,8 @@ interface InputNumberProps extends ComponentBaseProps, Omit<InputNumberProps$1,
49
49
  classes?: InputNumberClassNamesType;
50
50
  styles?: InputNumberStylesType;
51
51
  controls?: boolean | {
52
- upIcon?: VueNode$1;
53
- downIcon?: VueNode$1;
52
+ upIcon?: VueNode;
53
+ downIcon?: VueNode;
54
54
  };
55
55
  type?: 'number' | 'text';
56
56
  }
@@ -357,10 +357,6 @@ const InputNumber = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
357
357
  type: String,
358
358
  required: false
359
359
  },
360
- onStep: {
361
- type: Function,
362
- required: false
363
- },
364
360
  changeOnBlur: {
365
361
  type: Boolean,
366
362
  required: false,
@@ -50,32 +50,35 @@ const Basic = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
50
50
  const { class: _attrClass, ...restAttrs } = attrs;
51
51
  return createVNode(tagName, {
52
52
  ...restAttrs,
53
- class: classNames(customizePrefixCls || prefixWithSuffixCls, hashId.value, cssVarCls.value)
53
+ class: classNames(customizePrefixCls || prefixWithSuffixCls, _attrClass, hashId.value, cssVarCls.value)
54
54
  }, slots);
55
55
  };
56
- }, { props: /*@__PURE__*/ mergeDefaults({
57
- tagName: {
58
- type: String,
59
- required: true
60
- },
61
- suffixCls: {
62
- type: String,
63
- required: false
64
- },
65
- hasSider: {
66
- type: Boolean,
67
- required: false,
68
- default: void 0
69
- },
70
- rootClass: {
71
- type: String,
72
- required: false
73
- },
74
- prefixCls: {
75
- type: String,
76
- required: false
77
- }
78
- }, basicDefaultProps) });
56
+ }, {
57
+ props: /*@__PURE__*/ mergeDefaults({
58
+ tagName: {
59
+ type: String,
60
+ required: true
61
+ },
62
+ suffixCls: {
63
+ type: String,
64
+ required: false
65
+ },
66
+ hasSider: {
67
+ type: Boolean,
68
+ required: false,
69
+ default: void 0
70
+ },
71
+ rootClass: {
72
+ type: String,
73
+ required: false
74
+ },
75
+ prefixCls: {
76
+ type: String,
77
+ required: false
78
+ }
79
+ }, basicDefaultProps),
80
+ inheritAttrs: false
81
+ });
79
82
  const BasicLayout = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
80
83
  const { direction, prefixCls } = useBaseConfig("layout", props);
81
84
  const compCtx = useComponentConfig("layout");
@@ -99,7 +102,7 @@ const BasicLayout = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
99
102
  const classString = classNames(prefixCls.value, {
100
103
  [`${prefixCls.value}-has-sider`]: mergedHasSider,
101
104
  [`${prefixCls.value}-rtl`]: direction.value === "rtl"
102
- }, compCtx.value.class, rootClass, hashId.value, cssVarCls.value);
105
+ }, compCtx.value.class, rootClass, _attrClass, hashId.value, cssVarCls.value);
103
106
  return createVNode(tagName, {
104
107
  ...restAttrs,
105
108
  suffixCls,
@@ -107,29 +110,32 @@ const BasicLayout = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
107
110
  style: [compCtx.value.style, attrStyle]
108
111
  }, { default: () => children });
109
112
  };
110
- }, { props: /*@__PURE__*/ mergeDefaults({
111
- tagName: {
112
- type: String,
113
- required: true
114
- },
115
- suffixCls: {
116
- type: String,
117
- required: false
118
- },
119
- hasSider: {
120
- type: Boolean,
121
- required: false,
122
- default: void 0
123
- },
124
- rootClass: {
125
- type: String,
126
- required: false
127
- },
128
- prefixCls: {
129
- type: String,
130
- required: false
131
- }
132
- }, basicDefaultProps) });
113
+ }, {
114
+ props: /*@__PURE__*/ mergeDefaults({
115
+ tagName: {
116
+ type: String,
117
+ required: true
118
+ },
119
+ suffixCls: {
120
+ type: String,
121
+ required: false
122
+ },
123
+ hasSider: {
124
+ type: Boolean,
125
+ required: false,
126
+ default: void 0
127
+ },
128
+ rootClass: {
129
+ type: String,
130
+ required: false
131
+ },
132
+ prefixCls: {
133
+ type: String,
134
+ required: false
135
+ }
136
+ }, basicDefaultProps),
137
+ inheritAttrs: false
138
+ });
133
139
  const Layout = generator({
134
140
  tagName: "div",
135
141
  displayName: "ALayout"
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: ar_EG_default,
13
13
  global: {
14
14
  placeholder: "يرجى التحديد",
15
- close: "إغلاق"
15
+ close: "إغلاق",
16
+ sortable: "قابل للفرز"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "الفلاتر",
@@ -26,7 +27,12 @@ const localeValues = {
26
27
  collapse: "طي الصف",
27
28
  triggerDesc: "ترتيب تنازلي",
28
29
  triggerAsc: "ترتيب تصاعدي",
29
- cancelSort: "إلغاء الترتيب"
30
+ cancelSort: "إلغاء الترتيب",
31
+ filterEmptyText: "لا مرشحات",
32
+ filterCheckAll: "حدد كافة العناصر",
33
+ filterSearchPlaceholder: "البحث في المرشحات",
34
+ emptyText: "لا توجد بيانات",
35
+ selectNone: "مسح كافة البيانات"
30
36
  },
31
37
  Tour: {
32
38
  Next: "التالي",
@@ -46,7 +52,14 @@ const localeValues = {
46
52
  titles: ["", ""],
47
53
  searchPlaceholder: "ابحث هنا",
48
54
  itemUnit: "عنصر",
49
- itemsUnit: "عناصر"
55
+ itemsUnit: "عناصر",
56
+ remove: "إزالة",
57
+ selectAll: "حدد كافة البيانات",
58
+ deselectAll: "إلغاء تحديد كافة البيانات",
59
+ selectCurrent: "حدد الصفحة الحالية",
60
+ selectInvert: "عكس الصفحة الحالية",
61
+ removeAll: "إزالة كافة البيانات",
62
+ removeCurrent: "إزالة الصفحة الحالية"
50
63
  },
51
64
  Upload: {
52
65
  uploading: "جاري الرفع...",
@@ -61,7 +74,8 @@ const localeValues = {
61
74
  edit: "تعديل",
62
75
  copy: "نسخ",
63
76
  copied: "نقل",
64
- expand: "وسع"
77
+ expand: "وسع",
78
+ collapse: "طي"
65
79
  },
66
80
  Form: { defaultValidateMessages: {
67
81
  default: "خطأ في حقل الإدخال ${label}",
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: az_AZ_default,
13
13
  global: {
14
14
  placeholder: "Zəhmət olmasa seçin",
15
- close: "Bağla"
15
+ close: "Bağla",
16
+ sortable: "çeşidlənən"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "Filter menyu",
@@ -10,13 +10,29 @@ const localeValues = {
10
10
  DatePicker: locale$1,
11
11
  TimePicker: locale,
12
12
  Calendar: bg_BG_default,
13
- global: { close: "Затвори" },
13
+ global: {
14
+ close: "Затвори",
15
+ placeholder: "Моля изберете",
16
+ sortable: "сортируеми"
17
+ },
14
18
  Table: {
15
19
  filterTitle: "Филтриране",
16
20
  filterConfirm: "Добре",
17
21
  filterReset: "Нулриане",
18
22
  selectAll: "Избор на текуща страница",
19
- selectInvert: "Обръщане"
23
+ selectInvert: "Обръщане",
24
+ filterEmptyText: "Без филтри",
25
+ filterCheckAll: "Изберете всички елементи",
26
+ filterSearchPlaceholder: "Търсене във филтри",
27
+ emptyText: "Няма данни",
28
+ selectNone: "Изчистване на всички данни",
29
+ selectionAll: "Изберете всички данни",
30
+ sortTitle: "Сортиране",
31
+ expand: "Разширяване на реда",
32
+ collapse: "Свиване на ред",
33
+ triggerDesc: "Кликнете, за да сортирате в низходящ ред",
34
+ triggerAsc: "Кликнете, за да сортирате във възходящ ред",
35
+ cancelSort: "Кликнете, за да отмените сортирането"
20
36
  },
21
37
  Tour: {
22
38
  Next: "Следващ",
@@ -36,7 +52,14 @@ const localeValues = {
36
52
  titles: ["", ""],
37
53
  searchPlaceholder: "Търсене",
38
54
  itemUnit: "избор",
39
- itemsUnit: "избори"
55
+ itemsUnit: "избори",
56
+ remove: "Премахнете",
57
+ selectAll: "Изберете всички данни",
58
+ deselectAll: "Демаркирайте всички данни",
59
+ selectCurrent: "Изберете текущата страница",
60
+ selectInvert: "Обърнете текущата страница",
61
+ removeAll: "Премахнете всички данни",
62
+ removeCurrent: "Премахване на текущата страница"
40
63
  },
41
64
  Upload: {
42
65
  uploading: "Качване...",
@@ -93,6 +116,24 @@ const localeValues = {
93
116
  },
94
117
  pattern: { mismatch: "${label} не отговаря на модела ${pattern}" }
95
118
  }
119
+ },
120
+ Text: {
121
+ edit: "Редактиране",
122
+ copy: "копие",
123
+ copied: "Копирано",
124
+ expand: "Разширяване",
125
+ collapse: "Свиване"
126
+ },
127
+ QRCode: {
128
+ expired: "QR кодът е изтекъл",
129
+ refresh: "Опресняване",
130
+ scanned: "Сканирани"
131
+ },
132
+ ColorPicker: {
133
+ presetEmpty: "празна",
134
+ transparent: "Прозрачен",
135
+ singleColor: "Едноцветен",
136
+ gradientColor: "Преливащ цвят"
96
137
  }
97
138
  };
98
139
  //#endregion
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: bn_BD_default,
13
13
  global: {
14
14
  placeholder: "অনুগ্রহ করে নির্বাচন করুন",
15
- close: "বন্ধ"
15
+ close: "বন্ধ",
16
+ sortable: "বাছাইযোগ্য"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "ফিল্টার মেনু",
@@ -29,7 +30,9 @@ const localeValues = {
29
30
  collapse: "সারি সঙ্কুচিত করুন",
30
31
  triggerDesc: "অবতরণকে সাজানোর জন্য ক্লিক করুন",
31
32
  triggerAsc: "আরোহী বাছাই করতে ক্লিক করুন",
32
- cancelSort: "বাছাই বাতিল করতে ক্লিক করুন"
33
+ cancelSort: "বাছাই বাতিল করতে ক্লিক করুন",
34
+ filterCheckAll: "সব আইটেম নির্বাচন করুন",
35
+ filterSearchPlaceholder: "ফিল্টারে অনুসন্ধান করুন"
33
36
  },
34
37
  Tour: {
35
38
  Next: "পরবর্তী",
@@ -55,7 +58,8 @@ const localeValues = {
55
58
  removeCurrent: "বর্তমান পৃষ্ঠাটি সরান",
56
59
  selectAll: "সমস্ত ডেটা নির্বাচন করুন",
57
60
  removeAll: "সমস্ত ডেটা সরান",
58
- selectInvert: "বর্তমান পৃষ্ঠাটি উল্টে দিন"
61
+ selectInvert: "বর্তমান পৃষ্ঠাটি উল্টে দিন",
62
+ deselectAll: "সমস্ত ডেটা অনির্বাচন করুন"
59
63
  },
60
64
  Upload: {
61
65
  uploading: "আপলোড হচ্ছে ...",
@@ -70,7 +74,8 @@ const localeValues = {
70
74
  edit: "সম্পাদনা",
71
75
  copy: "অনুলিপি",
72
76
  copied: "অনুলিপি হয়েছে",
73
- expand: "বিস্তৃত করা"
77
+ expand: "বিস্তৃত করা",
78
+ collapse: "সঙ্কুচিত"
74
79
  },
75
80
  Form: {
76
81
  optional: "(ঐচ্ছিক)",
@@ -119,6 +124,17 @@ const localeValues = {
119
124
  },
120
125
  pattern: { mismatch: "${label} এই ${pattern} প্যাটার্নের সাথে মেলে না" }
121
126
  }
127
+ },
128
+ QRCode: {
129
+ expired: "QR কোডের মেয়াদ শেষ",
130
+ refresh: "রিফ্রেশ",
131
+ scanned: "স্ক্যান করা হয়েছে"
132
+ },
133
+ ColorPicker: {
134
+ presetEmpty: "খালি",
135
+ transparent: "স্বচ্ছ",
136
+ singleColor: "একক রঙ",
137
+ gradientColor: "গ্রেডিয়েন্ট রঙ"
122
138
  }
123
139
  };
124
140
  //#endregion
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: by_BY_default,
13
13
  global: {
14
14
  placeholder: "Калі ласка, выберыце",
15
- close: "Закрыць"
15
+ close: "Закрыць",
16
+ sortable: "сартавальны"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "Фільтр",
@@ -57,7 +58,8 @@ const localeValues = {
57
58
  removeCurrent: "Выдаліць бягучую старонку",
58
59
  selectAll: "Выбраць усе даныя",
59
60
  removeAll: "Выдаліць усе даныя",
60
- selectInvert: "Паказаць у адваротным парадку"
61
+ selectInvert: "Паказаць у адваротным парадку",
62
+ deselectAll: "Адмяніце выбар усіх даных"
61
63
  },
62
64
  Upload: {
63
65
  uploading: "Запампоўка...",
@@ -72,7 +74,8 @@ const localeValues = {
72
74
  edit: "Рэдагаваць",
73
75
  copy: "Капіяваць",
74
76
  copied: "Капіяванне завершана",
75
- expand: "Разгарнуць"
77
+ expand: "Разгарнуць",
78
+ collapse: "Згарнуць"
76
79
  },
77
80
  Form: {
78
81
  optional: "(не абавязкова)",
@@ -121,6 +124,17 @@ const localeValues = {
121
124
  },
122
125
  pattern: { mismatch: "Значэнне поля «${label}» не адпавядае шаблону ${pattern}" }
123
126
  }
127
+ },
128
+ QRCode: {
129
+ expired: "Тэрмін дзеяння QR-кода скончыўся",
130
+ refresh: "Абнавіць",
131
+ scanned: "Адсканаваныя"
132
+ },
133
+ ColorPicker: {
134
+ presetEmpty: "Пусты",
135
+ transparent: "Празрысты",
136
+ singleColor: "Аднакаляровы",
137
+ gradientColor: "Градыент колеру"
124
138
  }
125
139
  };
126
140
  //#endregion