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.
- package/dist/_util/hooks/useClosable.d.ts +5 -5
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +8 -4
- package/dist/alert/Alert.d.ts +7 -7
- package/dist/antd-with-locales.esm.js +13344 -11050
- package/dist/antd-with-locales.js +80 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10337 -9090
- package/dist/antd.js +74 -74
- package/dist/auto-complete/index.d.ts +4 -4
- package/dist/avatar/Avatar.d.ts +3 -3
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/border-beam/style/index.js +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +4 -4
- package/dist/breadcrumb/BreadcrumbItem.d.ts +4 -4
- package/dist/button/Button.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.js +13 -0
- package/dist/calendar/generateCalendar.d.ts +8 -8
- package/dist/card/Card.d.ts +9 -9
- package/dist/card/CardMeta.d.ts +4 -4
- package/dist/carousel/index.d.ts +3 -3
- package/dist/cascader/Panel.js +26 -2
- package/dist/cascader/index.d.ts +53 -21
- package/dist/cascader/index.js +33 -5
- package/dist/checkbox/Checkbox.d.ts +1 -1
- package/dist/checkbox/Checkbox.js +4 -4
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.js +3 -3
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/collapse/CollapsePanel.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/interface.d.ts +2 -2
- package/dist/config-provider/context.d.ts +20 -14
- package/dist/config-provider/index.js +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +112 -10
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.js +101 -11
- package/dist/date-picker/util.d.ts +10 -1
- package/dist/descriptions/Item.d.ts +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +11 -11
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/descriptions/style/index.js +2 -3
- package/dist/drawer/DrawerPanel.d.ts +5 -5
- package/dist/empty/index.d.ts +3 -3
- package/dist/float-button/FloatButton.d.ts +5 -5
- package/dist/float-button/FloatButton.js +1 -1
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/context.d.ts +1 -1
- package/dist/form/hooks/useVariant.d.ts +1 -1
- package/dist/image/index.d.ts +2 -2
- package/dist/input/Input.d.ts +5 -5
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +3 -3
- package/dist/input/TextArea.js +1 -1
- package/dist/input/style/search.js +1 -0
- package/dist/input-number/index.d.ts +8 -8
- package/dist/input-number/index.js +0 -4
- package/dist/layout/layout.js +54 -48
- package/dist/locale/ar_EG.js +18 -4
- package/dist/locale/az_AZ.js +2 -1
- package/dist/locale/bg_BG.js +44 -3
- package/dist/locale/bn_BD.js +20 -4
- package/dist/locale/by_BY.js +17 -3
- package/dist/locale/ca_ES.js +22 -4
- package/dist/locale/cs_CZ.js +6 -3
- package/dist/locale/da_DK.js +34 -3
- package/dist/locale/de_DE.js +14 -4
- package/dist/locale/el_GR.js +4 -2
- package/dist/locale/en_GB.js +6 -3
- package/dist/locale/en_US.js +2 -1
- package/dist/locale/es_ES.js +17 -3
- package/dist/locale/et_EE.js +17 -3
- package/dist/locale/eu_ES.js +8 -4
- package/dist/locale/fa_IR.js +2 -1
- package/dist/locale/fi_FI.js +35 -4
- package/dist/locale/fr_BE.js +20 -3
- package/dist/locale/fr_CA.js +20 -3
- package/dist/locale/fr_FR.js +20 -3
- package/dist/locale/ga_IE.js +24 -5
- package/dist/locale/gl_ES.js +36 -5
- package/dist/locale/he_IL.js +30 -5
- package/dist/locale/hi_IN.js +20 -4
- package/dist/locale/hr_HR.js +21 -4
- package/dist/locale/hu_HU.js +43 -3
- package/dist/locale/hy_AM.js +33 -4
- package/dist/locale/id_ID.js +2 -1
- package/dist/locale/is_IS.js +44 -3
- package/dist/locale/it_IT.js +6 -3
- package/dist/locale/ja_JP.js +2 -1
- package/dist/locale/ka_GE.js +20 -4
- package/dist/locale/kk_KZ.js +22 -5
- package/dist/locale/km_KH.js +35 -4
- package/dist/locale/kmr_IQ.js +45 -4
- package/dist/locale/kn_IN.js +18 -3
- package/dist/locale/ko_KR.js +8 -4
- package/dist/locale/ku_IQ.js +45 -4
- package/dist/locale/lt_LT.js +8 -4
- package/dist/locale/lv_LV.js +45 -4
- package/dist/locale/mk_MK.js +36 -4
- package/dist/locale/ml_IN.js +20 -4
- package/dist/locale/mn_MN.js +17 -3
- package/dist/locale/mr_IN.js +13 -1
- package/dist/locale/ms_MY.js +8 -4
- package/dist/locale/my_MM.js +18 -5
- package/dist/locale/ne_NP.js +2 -1
- package/dist/locale/nl_BE.js +20 -4
- package/dist/locale/nl_NL.js +20 -4
- package/dist/locale/pl_PL.js +17 -3
- package/dist/locale/pt_BR.js +6 -3
- package/dist/locale/pt_PT.js +2 -1
- package/dist/locale/ro_RO.js +20 -4
- package/dist/locale/ru_RU.js +4 -2
- package/dist/locale/si_LK.js +17 -3
- package/dist/locale/sk_SK.js +17 -3
- package/dist/locale/sl_SI.js +45 -4
- package/dist/locale/sr_RS.js +20 -4
- package/dist/locale/sv_SE.js +14 -4
- package/dist/locale/ta_IN.js +23 -5
- package/dist/locale/th_TH.js +2 -1
- package/dist/locale/tk_TK.js +21 -5
- package/dist/locale/tr_TR.js +17 -2
- package/dist/locale/uk_UA.js +12 -3
- package/dist/locale/ur_PK.js +20 -4
- package/dist/locale/uz_UZ.js +14 -4
- package/dist/locale/vi_VN.js +2 -1
- package/dist/locale/zh_CN.js +2 -1
- package/dist/locale/zh_HK.js +4 -2
- package/dist/locale/zh_TW.js +4 -2
- package/dist/masonry/Masonry.d.ts +18 -10
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/mentions/index.d.ts +4 -4
- package/dist/mentions/index.js +62 -1
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/MenuItem.js +1 -1
- package/dist/menu/MenuItemGroup.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +2 -2
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/message/PureList.d.ts +3 -1
- package/dist/message/PureList.js +4 -0
- package/dist/message/interface.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +5 -1
- package/dist/modal/ConfirmDialog.js +40 -19
- package/dist/modal/Modal.d.ts +12 -3
- package/dist/modal/Modal.js +24 -7
- package/dist/modal/interface.d.ts +14 -14
- package/dist/notification/PureList.d.ts +3 -1
- package/dist/notification/PureList.js +4 -0
- package/dist/notification/interface.d.ts +8 -8
- package/dist/notification/util.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +1 -1
- package/dist/pagination/interface.d.ts +7 -7
- package/dist/pagination/style/index.js +1 -1
- package/dist/popconfirm/index.d.ts +6 -6
- package/dist/popover/index.d.ts +4 -4
- package/dist/radio/radio.js +4 -4
- package/dist/radio/radioButton.js +4 -4
- package/dist/radio/style/index.js +2 -2
- package/dist/result/index.d.ts +5 -5
- package/dist/segmented/index.d.ts +38 -20
- package/dist/segmented/index.js +5 -10
- package/dist/segmented/style/index.js +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/select-input-customize.js +1 -0
- package/dist/slider/index.js +1 -1
- package/dist/space/Compact.d.ts +1 -1
- package/dist/space/index.d.ts +2 -2
- package/dist/spin/index.d.ts +5 -5
- package/dist/splitter/interface.d.ts +6 -6
- package/dist/statistic/Statistic.d.ts +4 -4
- package/dist/steps/index.d.ts +6 -6
- package/dist/style/motion/index.d.ts +2 -2
- package/dist/style/motion/index.js +2 -2
- package/dist/style/motion/util.d.ts +8 -1
- package/dist/style/motion/util.js +13 -1
- package/dist/switch/index.d.ts +4 -4
- package/dist/switch/index.js +7 -7
- package/dist/switch/style/index.js +5 -3
- package/dist/table/InternalTable.js +8 -25
- package/dist/table/Table.d.ts +20 -9
- package/dist/table/hooks/useColumnTitleProps.d.ts +8 -0
- package/dist/table/hooks/useColumnTitleProps.js +16 -0
- package/dist/table/hooks/useFilter/FilterDropdown.js +2 -1
- package/dist/table/hooks/useSpinProps.d.ts +7 -0
- package/dist/table/hooks/useSpinProps.js +14 -0
- package/dist/table/util.d.ts +5 -2
- package/dist/table/util.js +10 -1
- package/dist/tabs/index.d.ts +5 -5
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tag/index.d.ts +3 -3
- package/dist/time-picker/index.d.ts +2 -2
- package/dist/time-picker/index.js +211 -19
- package/dist/timeline/Timeline.d.ts +9 -9
- package/dist/tooltip/PurePanel.js +1 -1
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tour/interface.d.ts +4 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/index.d.ts +27 -6
- package/dist/transfer/interface.d.ts +17 -17
- package/dist/transfer/search.d.ts +2 -2
- package/dist/tree/Tree.d.ts +6 -6
- package/dist/tree-select/index.d.ts +57 -28
- package/dist/tree-select/index.js +4 -3
- package/dist/typography/Base/Ellipsis.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/interface.d.ts +8 -8
- package/dist/upload/UploadList/index.js +1 -1
- package/package.json +10 -10
- package/web-tags.json +1301 -1285
- package/web-types.json +3864 -3812
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
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
|
|
23
|
+
icon?: VueNode;
|
|
24
24
|
/** @deprecated Use `content` instead */
|
|
25
|
-
description?: VueNode
|
|
26
|
-
content?: VueNode
|
|
25
|
+
description?: VueNode;
|
|
26
|
+
content?: VueNode;
|
|
27
27
|
type?: FloatButtonType;
|
|
28
28
|
shape?: FloatButtonShape;
|
|
29
|
-
tooltip?: VueNode
|
|
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
|
|
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
|
|
37
|
+
closeIcon?: VueNode;
|
|
38
38
|
placement?: 'top' | 'left' | 'right' | 'bottom';
|
|
39
39
|
style?: CSSProperties;
|
|
40
40
|
}
|
package/dist/form/ErrorList.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { VueNode
|
|
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
|
|
8
|
+
help?: VueNode;
|
|
9
9
|
helpStatus?: ValidateStatus;
|
|
10
10
|
errors?: any[];
|
|
11
11
|
warnings?: any[];
|
package/dist/form/context.d.ts
CHANGED
|
@@ -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" | "
|
|
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" | "
|
|
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 };
|
package/dist/image/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
2
|
-
import { VueNode
|
|
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
|
|
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;
|
package/dist/input/Input.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
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
|
|
46
|
-
suffix?: VueNode
|
|
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
|
|
57
|
+
addonBefore?: VueNode;
|
|
58
58
|
/** @deprecated Use `Space.Compact` instead. */
|
|
59
|
-
addonAfter?: VueNode
|
|
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
|
|
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
|
|
28
|
+
separator?: VueNode | ((index: number) => VueNode);
|
|
29
29
|
disabled?: boolean;
|
|
30
30
|
status?: InputStatus;
|
|
31
31
|
mask?: boolean | string;
|
package/dist/input/Password.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
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
|
|
16
|
+
suffix?: VueNode;
|
|
17
17
|
iconRender?: (params: {
|
|
18
18
|
visible: boolean;
|
|
19
19
|
}) => any;
|
package/dist/input/Search.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
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
|
|
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
|
|
39
|
+
searchIcon?: VueNode;
|
|
40
40
|
loading?: boolean;
|
|
41
41
|
size?: SizeType;
|
|
42
42
|
hidden?: boolean;
|
package/dist/input/TextArea.js
CHANGED
|
@@ -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 = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
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
|
|
39
|
-
addonAfter?: VueNode
|
|
40
|
-
prefix?: VueNode
|
|
41
|
-
suffix?: VueNode
|
|
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
|
|
53
|
-
downIcon?: VueNode
|
|
52
|
+
upIcon?: VueNode;
|
|
53
|
+
downIcon?: VueNode;
|
|
54
54
|
};
|
|
55
55
|
type?: 'number' | 'text';
|
|
56
56
|
}
|
package/dist/layout/layout.js
CHANGED
|
@@ -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
|
-
}, {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
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
|
-
}, {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
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"
|
package/dist/locale/ar_EG.js
CHANGED
|
@@ -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}",
|
package/dist/locale/az_AZ.js
CHANGED
package/dist/locale/bg_BG.js
CHANGED
|
@@ -10,13 +10,29 @@ const localeValues = {
|
|
|
10
10
|
DatePicker: locale$1,
|
|
11
11
|
TimePicker: locale,
|
|
12
12
|
Calendar: bg_BG_default,
|
|
13
|
-
global: {
|
|
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
|
package/dist/locale/bn_BD.js
CHANGED
|
@@ -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
|
package/dist/locale/by_BY.js
CHANGED
|
@@ -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
|