antdv-next 1.5.4 → 1.5.6
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/PurePanel.js +2 -1
- package/dist/_util/hooks/useMergeSemantic.js +3 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/styleUtils.d.ts +19 -1
- package/dist/_util/styleUtils.js +24 -1
- package/dist/_util/vnode/index.js +5 -5
- package/dist/_util/warning.d.ts +0 -1
- package/dist/affix/index.js +7 -18
- package/dist/alert/Alert.js +11 -12
- package/dist/anchor/Anchor.d.ts +1 -1
- package/dist/anchor/Anchor.js +16 -7
- package/dist/anchor/AnchorLink.js +3 -2
- package/dist/antd-with-locales.esm.js +17656 -16491
- package/dist/antd-with-locales.js +80 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +15077 -14114
- package/dist/antd.js +81 -81
- package/dist/app/App.js +1 -1
- package/dist/app/index.js +0 -3
- package/dist/auto-complete/index.js +11 -4
- package/dist/avatar/Avatar.d.ts +4 -1
- package/dist/avatar/Avatar.js +21 -13
- package/dist/avatar/AvatarGroup.js +2 -2
- package/dist/avatar/index.d.ts +2 -2
- package/dist/badge/Ribbon.js +3 -4
- package/dist/badge/index.js +11 -9
- package/dist/breadcrumb/Breadcrumb.js +6 -3
- package/dist/breadcrumb/BreadcrumbItem.js +4 -3
- package/dist/breadcrumb/useItemRender.js +5 -8
- package/dist/button/Button.js +2 -0
- package/dist/card/Card.js +6 -7
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +7 -8
- package/dist/cascader/Panel.d.ts +1 -0
- package/dist/cascader/Panel.js +2 -1
- package/dist/cascader/index.d.ts +5 -4
- package/dist/cascader/index.js +8 -6
- package/dist/checkbox/Checkbox.js +14 -28
- package/dist/collapse/Collapse.d.ts +2 -3
- package/dist/collapse/Collapse.js +7 -4
- package/dist/color-picker/ColorPicker.js +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +1 -0
- package/dist/color-picker/components/ColorClear.js +14 -4
- package/dist/color-picker/components/ColorPresets.js +4 -4
- package/dist/color-picker/components/ColorSlider.js +8 -2
- package/dist/color-picker/components/ColorTrigger.js +3 -2
- package/dist/color-picker/interface.d.ts +0 -2
- package/dist/color-picker/style/index.js +5 -6
- package/dist/components.d.ts +3 -3
- package/dist/config-provider/context.d.ts +2 -5
- package/dist/config-provider/index.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -3
- package/dist/date-picker/generatePicker/generateRangePicker.js +3 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +1 -0
- package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -1
- package/dist/date-picker/generatePicker/index.d.ts +1 -1
- package/dist/date-picker/generatePicker/interface.d.ts +0 -2
- package/dist/date-picker/generatePicker/useComponents.d.ts +3 -3
- package/dist/date-picker/index.d.ts +3 -2
- package/dist/date-picker/locale/bn_BD.js +1 -0
- package/dist/date-picker/locale/et_EE.js +8 -0
- package/dist/date-picker/locale/eu_ES.js +8 -0
- package/dist/date-picker/locale/ga_IE.js +1 -0
- package/dist/date-picker/locale/is_IS.js +8 -0
- package/dist/date-picker/locale/ka_GE.js +1 -0
- package/dist/date-picker/locale/kk_KZ.js +1 -0
- package/dist/date-picker/locale/km_KH.js +1 -0
- package/dist/date-picker/locale/kmr_IQ.js +8 -0
- package/dist/date-picker/locale/lv_LV.js +8 -0
- package/dist/date-picker/locale/mk_MK.js +8 -0
- package/dist/date-picker/locale/ml_IN.js +1 -0
- package/dist/date-picker/locale/mn_MN.js +8 -0
- package/dist/date-picker/locale/sl_SI.js +8 -0
- package/dist/date-picker/locale/ta_IN.js +1 -0
- package/dist/date-picker/locale/ur_PK.js +1 -0
- package/dist/date-picker/locale/uz_UZ.js +1 -0
- package/dist/date-picker/util.d.ts +2 -2
- package/dist/descriptions/Row.js +3 -2
- package/dist/descriptions/hooks/useItems.d.ts +8 -8
- package/dist/descriptions/index.js +6 -3
- package/dist/divider/index.d.ts +0 -1
- package/dist/drawer/DrawerPanel.js +4 -1
- package/dist/drawer/index.d.ts +0 -3
- package/dist/drawer/index.js +15 -3
- package/dist/dropdown/index.js +0 -3
- package/dist/float-button/BackTop.d.ts +4 -2
- package/dist/float-button/BackTop.js +12 -4
- package/dist/float-button/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButton.js +10 -3
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.js +10 -3
- package/dist/float-button/PurePanel.js +20 -8
- package/dist/form/FormItem/index.js +4 -3
- package/dist/form/FormItemInput.js +4 -2
- package/dist/grid/col.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/image/PreviewGroup.js +7 -5
- package/dist/image/hooks/usePreviewConfig.d.ts +9 -9
- package/dist/image/hooks/usePreviewConfig.js +1 -1
- package/dist/image/index.js +3 -4
- package/dist/index.d.ts +3 -3
- package/dist/input/Input.d.ts +0 -1
- package/dist/input/Input.js +16 -4
- package/dist/input/OTP/OTPInput.js +16 -4
- package/dist/input/Password.js +12 -3
- package/dist/input/Search.js +16 -4
- package/dist/input/TextArea.d.ts +0 -1
- package/dist/input/TextArea.js +17 -2
- package/dist/input/style/index.d.ts +2 -1
- package/dist/input/style/index.js +12 -11
- package/dist/input/style/variants.js +1 -4
- package/dist/input-number/index.d.ts +0 -1
- package/dist/input-number/index.js +30 -9
- package/dist/input-number/style/index.js +13 -39
- package/dist/listy/index.js +13 -8
- package/dist/listy/interface.d.ts +2 -2
- package/dist/locale/az_AZ.js +4 -0
- package/dist/locale/bn_BD.js +4 -0
- package/dist/locale/by_BY.js +4 -0
- package/dist/locale/eu_ES.js +4 -0
- package/dist/locale/ga_IE.js +4 -0
- package/dist/locale/hy_AM.js +20 -2
- package/dist/locale/is_IS.js +4 -0
- package/dist/locale/ka_GE.js +4 -0
- package/dist/locale/kk_KZ.js +4 -0
- package/dist/locale/km_KH.js +4 -0
- package/dist/locale/kmr_IQ.js +4 -0
- package/dist/locale/kn_IN.js +4 -0
- package/dist/locale/ku_IQ.js +4 -0
- package/dist/locale/mk_MK.js +4 -0
- package/dist/locale/ml_IN.js +4 -0
- package/dist/locale/mn_MN.js +4 -0
- package/dist/locale/mr_IN.js +4 -0
- package/dist/locale/my_MM.js +4 -0
- package/dist/locale/ne_NP.js +4 -0
- package/dist/locale/si_LK.js +4 -0
- package/dist/locale/sq_AL.js +4 -0
- package/dist/locale/ta_IN.js +4 -0
- package/dist/locale/tk_TK.js +4 -0
- package/dist/locale/ur_PK.js +4 -0
- package/dist/locale/uz_UZ.js +4 -0
- package/dist/masonry/Masonry.js +9 -1
- package/dist/mentions/index.d.ts +1 -1
- package/dist/mentions/index.js +7 -3
- package/dist/menu/MenuContext.js +4 -1
- package/dist/menu/MenuItem.js +2 -2
- package/dist/menu/OverrideContext.js +4 -1
- package/dist/menu/index.d.ts +2 -2
- package/dist/message/PurePanel.js +2 -1
- package/dist/message/index.js +14 -9
- package/dist/message/interface.d.ts +8 -0
- package/dist/message/useMessage.d.ts +1 -1
- package/dist/message/useMessage.js +26 -32
- package/dist/modal/ConfirmDialog.js +1 -1
- package/dist/modal/Modal.js +3 -2
- package/dist/modal/PurePanel.js +2 -2
- package/dist/modal/interface.d.ts +0 -6
- package/dist/modal/shared.js +2 -1
- package/dist/notification/PurePanel.d.ts +1 -1
- package/dist/notification/PurePanel.js +12 -10
- package/dist/notification/index.js +4 -1
- package/dist/notification/interface.d.ts +4 -0
- package/dist/notification/useNotification.js +19 -21
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +3 -4
- package/dist/popconfirm/index.js +4 -1
- package/dist/popover/PurePanel.js +8 -2
- package/dist/popover/index.js +4 -1
- package/dist/qrcode/QrcodeStatus.js +4 -1
- package/dist/qrcode/index.js +2 -1
- package/dist/radio/group.js +2 -2
- package/dist/radio/radio.js +2 -2
- package/dist/rate/index.d.ts +1 -1
- package/dist/rate/index.js +1 -5
- package/dist/result/index.js +4 -3
- package/dist/segmented/index.js +8 -2
- package/dist/select/index.d.ts +2 -3
- package/dist/select/index.js +2 -2
- package/dist/skeleton/Element.js +2 -2
- package/dist/slider/SliderTooltip.js +4 -1
- package/dist/slider/index.d.ts +1 -0
- package/dist/slider/index.js +5 -3
- package/dist/space/Compact.d.ts +1 -1
- package/dist/spin/index.js +2 -2
- package/dist/splitter/Panel.js +12 -3
- package/dist/splitter/SplitBar.js +12 -1
- package/dist/splitter/Splitter.js +2 -1
- package/dist/splitter/hooks/sizeUtil.js +17 -1
- package/dist/splitter/interface.d.ts +3 -1
- package/dist/splitter/style/index.js +6 -1
- package/dist/statistic/Number.js +2 -1
- package/dist/statistic/Statistic.js +2 -2
- package/dist/steps/index.js +3 -4
- package/dist/switch/index.d.ts +0 -2
- package/dist/table/Column.d.ts +5 -1
- package/dist/table/Column.js +10 -1
- package/dist/table/ColumnGroup.js +5 -0
- package/dist/table/InternalTable.d.ts +4 -1
- package/dist/table/InternalTable.js +28 -18
- package/dist/table/Table.js +16 -5
- package/dist/table/hooks/useFilter/index.d.ts +3 -1
- package/dist/table/hooks/useFilter/index.js +2 -2
- package/dist/table/hooks/useSelection.js +7 -3
- package/dist/table/interface.d.ts +10 -3
- package/dist/table/style/index.js +30 -2
- package/dist/table/util.d.ts +1 -1
- package/dist/table/utils.js +20 -2
- package/dist/tabs/index.d.ts +2 -0
- package/dist/tabs/index.js +11 -6
- package/dist/tag/CheckableTag.d.ts +0 -3
- package/dist/tag/CheckableTagGroup.js +18 -2
- package/dist/tag/index.js +2 -1
- package/dist/theme/context.d.ts +0 -1
- package/dist/theme/util/alias.js +3 -0
- package/dist/theme/util/genStyleUtils.d.ts +4 -0
- package/dist/time-picker/index.d.ts +8 -3
- package/dist/time-picker/index.js +46 -8
- package/dist/timeline/TimelineItem.js +4 -1
- package/dist/timeline/useItems.js +2 -1
- package/dist/tooltip/PurePanel.js +4 -1
- package/dist/tooltip/index.d.ts +5 -2
- package/dist/tooltip/index.js +4 -1
- package/dist/tooltip/style/index.d.ts +0 -1
- package/dist/tour/index.js +2 -3
- package/dist/tour/interface.d.ts +7 -5
- package/dist/tour/panelRender.js +6 -6
- package/dist/transfer/ListBody.js +1 -1
- package/dist/transfer/Section.js +3 -2
- package/dist/transfer/Transfer.js +37 -13
- package/dist/transfer/hooks/useSelection.js +1 -1
- package/dist/transfer/interface.d.ts +1 -1
- package/dist/tree/DirectoryTree.js +2 -1
- package/dist/tree/Tree.js +6 -6
- package/dist/tree/utils/dictUtil.js +2 -2
- package/dist/tree-select/index.d.ts +2 -3
- package/dist/tree-select/index.js +16 -8
- package/dist/typography/Base/Ellipsis.js +2 -1
- package/dist/typography/Base/index.js +6 -3
- package/dist/typography/Editable.js +2 -1
- package/dist/upload/Dragger.js +2 -4
- package/dist/upload/Upload.d.ts +0 -1
- package/dist/upload/Upload.js +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +1 -0
- package/dist/upload/UploadList/ListItem.js +15 -9
- package/dist/upload/UploadList/index.js +1 -0
- package/dist/upload/interface.d.ts +6 -7
- package/dist/version/token.json +1 -1
- package/package.json +26 -26
- package/web-tags.json +1383 -1377
- package/web-types.json +4046 -4165
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resetComponent, resetIcon } from "../../style/index.js";
|
|
2
2
|
import { genCssVar, genStyleHooks } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { mergeToken } from "../../theme/internal.js";
|
|
4
4
|
import { genCompactItemStyle } from "../../style/compact-item.js";
|
|
5
5
|
import { initInputToken } from "../../input/style/token.js";
|
|
6
6
|
import { genBorderlessStyle, genFilledStyle, genOutlinedStyle, genUnderlinedStyle } from "../../input/style/variants.js";
|
|
7
|
-
import { genBasicInputStyle, genPlaceholderStyle } from "../../input/style/index.js";
|
|
7
|
+
import { genAllowClearStyle, genBasicInputStyle, genPlaceholderStyle } from "../../input/style/index.js";
|
|
8
8
|
import { prepareComponentToken } from "./token.js";
|
|
9
9
|
import { unit } from "@antdv-next/cssinjs";
|
|
10
10
|
//#region src/input-number/style/index.ts
|
|
@@ -39,18 +39,6 @@ const genInputNumberStyles = (token) => {
|
|
|
39
39
|
[`${componentCls}-action-down`]: { borderBlockStart: borderStyle }
|
|
40
40
|
} }),
|
|
41
41
|
...genBorderlessStyle(token),
|
|
42
|
-
[`&${componentCls}-borderless`]: {
|
|
43
|
-
paddingBlock: 0,
|
|
44
|
-
[varName("input-padding-block")]: unit(token.calc(paddingBlock).add(lineWidth).equal())
|
|
45
|
-
},
|
|
46
|
-
[`&${componentCls}-borderless${componentCls}-sm`]: {
|
|
47
|
-
paddingBlock: 0,
|
|
48
|
-
[varName("input-padding-block")]: unit(token.calc(paddingBlockSM).add(lineWidth).equal())
|
|
49
|
-
},
|
|
50
|
-
[`&${componentCls}-borderless${componentCls}-lg`]: {
|
|
51
|
-
paddingBlock: 0,
|
|
52
|
-
[varName("input-padding-block")]: unit(token.calc(paddingBlockLG).add(lineWidth).equal())
|
|
53
|
-
},
|
|
54
42
|
"&-rtl": {
|
|
55
43
|
direction: "rtl",
|
|
56
44
|
[`${componentCls}-input`]: { direction: "rtl" }
|
|
@@ -150,7 +138,8 @@ const genInputNumberStyles = (token) => {
|
|
|
150
138
|
[`${componentCls}-input`]: {
|
|
151
139
|
textAlign: "center",
|
|
152
140
|
paddingInline: varRef("input-padding-inline")
|
|
153
|
-
}
|
|
141
|
+
},
|
|
142
|
+
[`${componentCls}-suffix`]: { marginInlineEnd: varRef("input-padding-inline") }
|
|
154
143
|
}
|
|
155
144
|
} },
|
|
156
145
|
{ [componentCls]: {
|
|
@@ -170,6 +159,7 @@ const genInputNumberStyles = (token) => {
|
|
|
170
159
|
}
|
|
171
160
|
} },
|
|
172
161
|
{ [componentCls]: {
|
|
162
|
+
...genAllowClearStyle(token),
|
|
173
163
|
[`${componentCls}-prefix, ${componentCls}-suffix`]: {
|
|
174
164
|
display: "flex",
|
|
175
165
|
flex: "none",
|
|
@@ -181,31 +171,15 @@ const genInputNumberStyles = (token) => {
|
|
|
181
171
|
[`${componentCls}-suffix`]: {
|
|
182
172
|
height: "100%",
|
|
183
173
|
marginInlineStart: inputAffixPadding,
|
|
184
|
-
transition: `margin ${motionDurationMid}
|
|
174
|
+
transition: `margin ${motionDurationMid}`,
|
|
175
|
+
[`${componentCls}-clear-icon`]: {
|
|
176
|
+
flex: "none",
|
|
177
|
+
pointerEvents: "auto"
|
|
178
|
+
}
|
|
185
179
|
},
|
|
186
|
-
[
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
padding: 0,
|
|
190
|
-
lineHeight: 0,
|
|
191
|
-
color: token.colorTextQuaternary,
|
|
192
|
-
fontSize: token.fontSizeIcon,
|
|
193
|
-
verticalAlign: -1,
|
|
194
|
-
cursor: "pointer",
|
|
195
|
-
transition: `color ${motionDurationMid}`,
|
|
196
|
-
border: "none",
|
|
197
|
-
outline: "none",
|
|
198
|
-
backgroundColor: "transparent",
|
|
199
|
-
pointerEvents: "auto",
|
|
200
|
-
"&:hover": { color: token.colorIcon },
|
|
201
|
-
"&:focus-visible": {
|
|
202
|
-
color: token.colorIcon,
|
|
203
|
-
borderRadius: token.borderRadiusSM,
|
|
204
|
-
...genFocusOutline(token)
|
|
205
|
-
},
|
|
206
|
-
"&:active": { color: token.colorText },
|
|
207
|
-
"&-hidden": { visibility: "hidden" },
|
|
208
|
-
"&-has-suffix": { marginInlineEnd: inputAffixPadding }
|
|
180
|
+
[`&-mode-input:not(${componentCls}-without-controls)`]: {
|
|
181
|
+
[`${componentCls}-suffix`]: { marginInlineEnd: token.handleVisibleWidth },
|
|
182
|
+
[`&:hover, &${componentCls}-focused`]: { [`${componentCls}-suffix`]: { marginInlineEnd: token.handleWidth } }
|
|
209
183
|
}
|
|
210
184
|
} }
|
|
211
185
|
];
|
package/dist/listy/index.js
CHANGED
|
@@ -54,18 +54,23 @@ const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
|
54
54
|
required: false
|
|
55
55
|
},
|
|
56
56
|
style: {
|
|
57
|
-
type:
|
|
58
|
-
|
|
57
|
+
type: [
|
|
58
|
+
Boolean,
|
|
59
|
+
null,
|
|
60
|
+
String,
|
|
61
|
+
Object,
|
|
62
|
+
Array
|
|
63
|
+
],
|
|
64
|
+
required: false,
|
|
65
|
+
default: void 0
|
|
59
66
|
},
|
|
60
67
|
classes: {
|
|
61
|
-
type: Function,
|
|
62
|
-
required: false
|
|
63
|
-
skipCheck: true
|
|
68
|
+
type: [Object, Function],
|
|
69
|
+
required: false
|
|
64
70
|
},
|
|
65
71
|
styles: {
|
|
66
|
-
type: Function,
|
|
67
|
-
required: false
|
|
68
|
-
skipCheck: true
|
|
72
|
+
type: [Object, Function],
|
|
73
|
+
required: false
|
|
69
74
|
},
|
|
70
75
|
itemRender: {
|
|
71
76
|
type: Function,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
-
import {
|
|
3
|
+
import { StyleValue } from "vue";
|
|
4
4
|
import { ListyClassNames, ListyProps as ListyProps$1, ListyRef, ListyScrollToConfig, ListyStyles, ScrollAlign } from "@v-c/listy";
|
|
5
5
|
//#region src/listy/interface.d.ts
|
|
6
6
|
interface ListySemanticType {
|
|
@@ -12,7 +12,7 @@ type ListyStylesType = SemanticType<ListyStyles, ListyProps>;
|
|
|
12
12
|
interface ListyProps extends Omit<ListyProps$1, 'itemHeight' | 'direction' | 'classNames' | 'styles' | 'itemRender'> {
|
|
13
13
|
rootClass?: string;
|
|
14
14
|
class?: string;
|
|
15
|
-
style?:
|
|
15
|
+
style?: StyleValue;
|
|
16
16
|
classes?: ListyClassNamesType;
|
|
17
17
|
styles?: ListyStylesType;
|
|
18
18
|
itemRender?: (item: any, index: number) => VueNode;
|
package/dist/locale/az_AZ.js
CHANGED
package/dist/locale/bn_BD.js
CHANGED
package/dist/locale/by_BY.js
CHANGED
package/dist/locale/eu_ES.js
CHANGED
package/dist/locale/ga_IE.js
CHANGED
|
@@ -77,6 +77,10 @@ const localeValues = {
|
|
|
77
77
|
expand: "Expand",
|
|
78
78
|
collapse: "Laghdaigh"
|
|
79
79
|
},
|
|
80
|
+
Carousel: {
|
|
81
|
+
prevSlide: "An sleamhnán roimhe seo",
|
|
82
|
+
nextSlide: "An chéad sleamhnán eile"
|
|
83
|
+
},
|
|
80
84
|
Form: { defaultValidateMessages: {
|
|
81
85
|
default: "Field validation error for ${label}",
|
|
82
86
|
required: "Please enter ${label}",
|
package/dist/locale/hy_AM.js
CHANGED
|
@@ -3,7 +3,15 @@ const datePickerLocale = {
|
|
|
3
3
|
lang: {
|
|
4
4
|
locale: "hy-am",
|
|
5
5
|
placeholder: "Ընտրեք ամսաթիվը",
|
|
6
|
+
yearPlaceholder: "Ընտրեք տարին",
|
|
7
|
+
quarterPlaceholder: "Ընտրեք եռամսյակը",
|
|
8
|
+
monthPlaceholder: "Ընտրեք ամիսը",
|
|
9
|
+
weekPlaceholder: "Ընտրեք շաբաթը",
|
|
6
10
|
rangePlaceholder: ["Մեկնարկի ամսաթիվ", "Ավարտի ամսաթիվը"],
|
|
11
|
+
rangeYearPlaceholder: ["Մեկնարկի տարին", "Ավարտի տարին"],
|
|
12
|
+
rangeQuarterPlaceholder: ["Մեկնարկի եռամսյակը", "Ավարտի եռամսյակը"],
|
|
13
|
+
rangeMonthPlaceholder: ["Մեկնարկի ամիսը", "Ավարտի ամիսը"],
|
|
14
|
+
rangeWeekPlaceholder: ["Մեկնարկի շաբաթը", "Ավարտի շաբաթը"],
|
|
7
15
|
today: "Այսօր",
|
|
8
16
|
now: "Հիմա",
|
|
9
17
|
backToToday: "Վերադառնալ այսօր",
|
|
@@ -30,7 +38,10 @@ const datePickerLocale = {
|
|
|
30
38
|
previousCentury: "Անցած դար",
|
|
31
39
|
nextCentury: "Մյուս դար"
|
|
32
40
|
},
|
|
33
|
-
timePickerLocale: {
|
|
41
|
+
timePickerLocale: {
|
|
42
|
+
placeholder: "Ընտրեք ժամը",
|
|
43
|
+
rangePlaceholder: ["Մեկնարկի ժամը", "Ավարտի ժամը"]
|
|
44
|
+
}
|
|
34
45
|
};
|
|
35
46
|
const localeValues = {
|
|
36
47
|
locale: "hy-am",
|
|
@@ -47,7 +58,10 @@ const localeValues = {
|
|
|
47
58
|
next_3: "Հաջորդ 3 Էջերը"
|
|
48
59
|
},
|
|
49
60
|
DatePicker: datePickerLocale,
|
|
50
|
-
TimePicker: {
|
|
61
|
+
TimePicker: {
|
|
62
|
+
placeholder: "Ընտրեք ժամը",
|
|
63
|
+
rangePlaceholder: ["Մեկնարկի ժամը", "Ավարտի ժամը"]
|
|
64
|
+
},
|
|
51
65
|
Calendar: datePickerLocale,
|
|
52
66
|
global: {
|
|
53
67
|
placeholder: "Ընտրեք",
|
|
@@ -126,6 +140,10 @@ const localeValues = {
|
|
|
126
140
|
transparent: "Թափանցիկ",
|
|
127
141
|
singleColor: "Մեկ գույն",
|
|
128
142
|
gradientColor: "Գրադիենտ գույն"
|
|
143
|
+
},
|
|
144
|
+
Carousel: {
|
|
145
|
+
prevSlide: "Նախորդ սլայդը",
|
|
146
|
+
nextSlide: "Հաջորդ սլայդը"
|
|
129
147
|
}
|
|
130
148
|
};
|
|
131
149
|
//#endregion
|
package/dist/locale/is_IS.js
CHANGED
|
@@ -69,6 +69,10 @@ const localeValues = {
|
|
|
69
69
|
downloadFile: "Hlaða niður skrá"
|
|
70
70
|
},
|
|
71
71
|
Empty: { description: "Engin gögn" },
|
|
72
|
+
Carousel: {
|
|
73
|
+
prevSlide: "Fyrri skyggna",
|
|
74
|
+
nextSlide: "Næsta skyggna"
|
|
75
|
+
},
|
|
72
76
|
Form: {
|
|
73
77
|
optional: "(Valfrjálst)",
|
|
74
78
|
defaultValidateMessages: {
|
package/dist/locale/ka_GE.js
CHANGED
package/dist/locale/kk_KZ.js
CHANGED
|
@@ -77,6 +77,10 @@ const localeValues = {
|
|
|
77
77
|
expand: "Жазу",
|
|
78
78
|
collapse: "Жыйрату"
|
|
79
79
|
},
|
|
80
|
+
Carousel: {
|
|
81
|
+
prevSlide: "Алдыңғы слайд",
|
|
82
|
+
nextSlide: "Келесі слайд"
|
|
83
|
+
},
|
|
80
84
|
Form: { defaultValidateMessages: {
|
|
81
85
|
default: "${label} өрісін тексеру қателігі",
|
|
82
86
|
required: "${label} енгізіңіз",
|
package/dist/locale/km_KH.js
CHANGED
|
@@ -69,6 +69,10 @@ const localeValues = {
|
|
|
69
69
|
downloadFile: "ទាញយកឯកសារ"
|
|
70
70
|
},
|
|
71
71
|
Empty: { description: "គ្មានទិន្នន័យ" },
|
|
72
|
+
Carousel: {
|
|
73
|
+
prevSlide: "ស្លាយមុន",
|
|
74
|
+
nextSlide: "ស្លាយបន្ទាប់"
|
|
75
|
+
},
|
|
72
76
|
Form: { defaultValidateMessages: {
|
|
73
77
|
default: "Field validation error for ${label}",
|
|
74
78
|
required: "Please enter ${label}",
|
package/dist/locale/kmr_IQ.js
CHANGED
package/dist/locale/kn_IN.js
CHANGED
package/dist/locale/ku_IQ.js
CHANGED
package/dist/locale/mk_MK.js
CHANGED
package/dist/locale/ml_IN.js
CHANGED
package/dist/locale/mn_MN.js
CHANGED
package/dist/locale/mr_IN.js
CHANGED
package/dist/locale/my_MM.js
CHANGED
package/dist/locale/ne_NP.js
CHANGED
package/dist/locale/si_LK.js
CHANGED
package/dist/locale/sq_AL.js
CHANGED
package/dist/locale/ta_IN.js
CHANGED
package/dist/locale/tk_TK.js
CHANGED
|
@@ -77,6 +77,10 @@ const localeValues = {
|
|
|
77
77
|
expand: "Ýygnamak",
|
|
78
78
|
collapse: "Apseykylmak"
|
|
79
79
|
},
|
|
80
|
+
Carousel: {
|
|
81
|
+
prevSlide: "Öňki slayd",
|
|
82
|
+
nextSlide: "Indiki slayd"
|
|
83
|
+
},
|
|
80
84
|
Form: { defaultValidateMessages: {
|
|
81
85
|
default: "${label} meýdany barlanmady",
|
|
82
86
|
required: "${label} meýdany giriziň",
|
package/dist/locale/ur_PK.js
CHANGED
package/dist/locale/uz_UZ.js
CHANGED
package/dist/masonry/Masonry.js
CHANGED
|
@@ -166,7 +166,15 @@ const Masonry = /* @__PURE__ */ defineComponent((props, { expose, emit, attrs, s
|
|
|
166
166
|
type: [Object, Function],
|
|
167
167
|
required: false
|
|
168
168
|
},
|
|
169
|
-
gutter: {
|
|
169
|
+
gutter: {
|
|
170
|
+
type: [
|
|
171
|
+
Number,
|
|
172
|
+
null,
|
|
173
|
+
Object,
|
|
174
|
+
Array
|
|
175
|
+
],
|
|
176
|
+
required: false
|
|
177
|
+
},
|
|
170
178
|
items: {
|
|
171
179
|
type: Array,
|
|
172
180
|
required: false
|
package/dist/mentions/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { App, CSSProperties, SlotsType } from "vue";
|
|
|
8
8
|
import { DataDrivenOptionProps, MentionsProps as MentionsProps$1, MentionsRef as MentionsRef$1, Option } from "@v-c/mentions";
|
|
9
9
|
//#region src/mentions/index.d.ts
|
|
10
10
|
type MentionPlacement = 'top' | 'bottom';
|
|
11
|
+
/** @deprecated Please use the `options` prop with `MentionsOptionProps` instead. */
|
|
11
12
|
interface OptionProps {
|
|
12
13
|
value: string;
|
|
13
14
|
content?: VueNode;
|
|
@@ -37,7 +38,6 @@ interface MentionProps extends Omit<MentionsProps$1, 'suffix' | 'classNames' | '
|
|
|
37
38
|
options?: MentionsOptionProps[];
|
|
38
39
|
popupClassName?: string;
|
|
39
40
|
/**
|
|
40
|
-
* @since 5.13.0
|
|
41
41
|
* @default "outlined"
|
|
42
42
|
*/
|
|
43
43
|
variant?: Variant;
|
package/dist/mentions/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
|
-
import { getAttrStyleAndClass
|
|
4
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
6
6
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
7
7
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
@@ -28,6 +28,7 @@ function _isSlot(s) {
|
|
|
28
28
|
function loadingFilterOption() {
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
|
+
/** @deprecated Please use the `options` prop with `MentionsOptionProps` instead. */
|
|
31
32
|
const omitKeys = [
|
|
32
33
|
"prefixCls",
|
|
33
34
|
"classes",
|
|
@@ -134,7 +135,7 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
134
135
|
nativeElement: computed(() => mentionsRef.value?.nativeElement)
|
|
135
136
|
});
|
|
136
137
|
return () => {
|
|
137
|
-
const { className, style, restAttrs } = getAttrStyleAndClass
|
|
138
|
+
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
138
139
|
const mergedClassName = clsx({
|
|
139
140
|
[`${prefixCls.value}-sm`]: mergedSize.value === "small",
|
|
140
141
|
[`${prefixCls.value}-lg`]: mergedSize.value === "large"
|
|
@@ -336,7 +337,10 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
336
337
|
type: Function,
|
|
337
338
|
required: false
|
|
338
339
|
},
|
|
339
|
-
count: {
|
|
340
|
+
count: {
|
|
341
|
+
type: Object,
|
|
342
|
+
required: false
|
|
343
|
+
},
|
|
340
344
|
onClear: {
|
|
341
345
|
type: Function,
|
|
342
346
|
required: false
|
package/dist/menu/MenuContext.js
CHANGED
|
@@ -18,6 +18,9 @@ const MenuContextProvider = /* @__PURE__ */ defineComponent((props, { slots }) =
|
|
|
18
18
|
return () => {
|
|
19
19
|
return slots?.default?.();
|
|
20
20
|
};
|
|
21
|
-
}, { props: { value: {
|
|
21
|
+
}, { props: { value: {
|
|
22
|
+
type: Object,
|
|
23
|
+
required: true
|
|
24
|
+
} } });
|
|
22
25
|
//#endregion
|
|
23
26
|
export { MenuContextProvider, useMenuContext, useMenuContextProvider };
|
package/dist/menu/MenuItem.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { pureAttrs } from "../_util/hooks/useMergeSemantic.js";
|
|
1
|
+
import { getAttrStyleAndClass, pureAttrs } from "../_util/hooks/useMergeSemantic.js";
|
|
2
2
|
import { getSlotPropsFnRun } from "../_util/tools.js";
|
|
3
3
|
import InternalTooltip from "../tooltip/index.js";
|
|
4
4
|
import { useSiderCtx } from "../layout/Sider.js";
|
|
5
5
|
import { useMenuContext } from "./MenuContext.js";
|
|
6
6
|
import { computed, createVNode, defineComponent, isVNode, mergeProps, shallowRef, watch } from "vue";
|
|
7
7
|
import { clsx } from "@v-c/util";
|
|
8
|
-
import { filterEmpty
|
|
8
|
+
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
9
9
|
import { omit } from "es-toolkit/compat";
|
|
10
10
|
import { Item } from "@v-c/menu";
|
|
11
11
|
//#region src/menu/MenuItem.tsx
|
|
@@ -18,6 +18,9 @@ const OverrideProvider = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
18
18
|
return () => {
|
|
19
19
|
return createVNode(ContextIsolator, { "space": true }, { default: () => [slots?.default?.()] });
|
|
20
20
|
};
|
|
21
|
-
}, { props: { value: {
|
|
21
|
+
}, { props: { value: {
|
|
22
|
+
type: [Object, null],
|
|
23
|
+
required: false
|
|
24
|
+
} } });
|
|
22
25
|
//#endregion
|
|
23
26
|
export { OverrideProvider, useOverrideContext };
|
package/dist/menu/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import MenuItemGroup, { MenuItemGroupProps } from "./MenuItemGroup.js";
|
|
|
6
6
|
import SubMenu, { SubMenuProps } from "./SubMenu.js";
|
|
7
7
|
import MenuDivider from "./MenuDivider.js";
|
|
8
8
|
import { SlotsType } from "vue";
|
|
9
|
-
import { MenuRef as MenuRef$1 } from "@v-c/menu";
|
|
9
|
+
import { MenuInfo, MenuRef as MenuRef$1, SelectInfo } from "@v-c/menu";
|
|
10
10
|
//#region src/menu/index.d.ts
|
|
11
11
|
type MenuItemType = ItemType;
|
|
12
12
|
interface MenuRef {
|
|
@@ -24,4 +24,4 @@ declare const _default: typeof Menu & {
|
|
|
24
24
|
Divider: typeof MenuDivider;
|
|
25
25
|
};
|
|
26
26
|
//#endregion
|
|
27
|
-
export { InternalMenuProps, MenuDivider, type MenuEmits, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, MenuItemType, MenuProps, MenuRef, type MenuSlots, SubMenu, type SubMenuProps, _default as default };
|
|
27
|
+
export { InternalMenuProps, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, MenuItemType, MenuProps, MenuRef, type MenuSlots, type SelectInfo, SubMenu, type SubMenuProps, _default as default };
|
|
@@ -2,6 +2,7 @@ import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
|
2
2
|
import { pureAttrs, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { toPropsRefs } from "../_util/tools.js";
|
|
4
4
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
|
+
import { isRenderable } from "../_util/is.js";
|
|
5
6
|
import style_default from "./style/index.js";
|
|
6
7
|
import { Fragment, computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
7
8
|
import { clsx } from "@v-c/util";
|
|
@@ -23,7 +24,7 @@ const TypeIcon = {
|
|
|
23
24
|
* need the `${prefixCls}-icon` class anymore.
|
|
24
25
|
*/
|
|
25
26
|
function resolveMessageIcon(_prefixCls, icon, type) {
|
|
26
|
-
if (icon
|
|
27
|
+
if (isRenderable(icon)) return icon;
|
|
27
28
|
const IconNode = type ? TypeIcon[type] : null;
|
|
28
29
|
return IconNode ? createVNode(IconNode, null, null) : null;
|
|
29
30
|
}
|