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.
Files changed (250) hide show
  1. package/dist/_util/PurePanel.js +2 -1
  2. package/dist/_util/hooks/useMergeSemantic.js +3 -2
  3. package/dist/_util/statusUtils.d.ts +1 -1
  4. package/dist/_util/styleUtils.d.ts +19 -1
  5. package/dist/_util/styleUtils.js +24 -1
  6. package/dist/_util/vnode/index.js +5 -5
  7. package/dist/_util/warning.d.ts +0 -1
  8. package/dist/affix/index.js +7 -18
  9. package/dist/alert/Alert.js +11 -12
  10. package/dist/anchor/Anchor.d.ts +1 -1
  11. package/dist/anchor/Anchor.js +16 -7
  12. package/dist/anchor/AnchorLink.js +3 -2
  13. package/dist/antd-with-locales.esm.js +17656 -16491
  14. package/dist/antd-with-locales.js +80 -80
  15. package/dist/antd.css +1 -1
  16. package/dist/antd.esm.js +15077 -14114
  17. package/dist/antd.js +81 -81
  18. package/dist/app/App.js +1 -1
  19. package/dist/app/index.js +0 -3
  20. package/dist/auto-complete/index.js +11 -4
  21. package/dist/avatar/Avatar.d.ts +4 -1
  22. package/dist/avatar/Avatar.js +21 -13
  23. package/dist/avatar/AvatarGroup.js +2 -2
  24. package/dist/avatar/index.d.ts +2 -2
  25. package/dist/badge/Ribbon.js +3 -4
  26. package/dist/badge/index.js +11 -9
  27. package/dist/breadcrumb/Breadcrumb.js +6 -3
  28. package/dist/breadcrumb/BreadcrumbItem.js +4 -3
  29. package/dist/breadcrumb/useItemRender.js +5 -8
  30. package/dist/button/Button.js +2 -0
  31. package/dist/card/Card.js +6 -7
  32. package/dist/carousel/index.d.ts +1 -1
  33. package/dist/carousel/index.js +7 -8
  34. package/dist/cascader/Panel.d.ts +1 -0
  35. package/dist/cascader/Panel.js +2 -1
  36. package/dist/cascader/index.d.ts +5 -4
  37. package/dist/cascader/index.js +8 -6
  38. package/dist/checkbox/Checkbox.js +14 -28
  39. package/dist/collapse/Collapse.d.ts +2 -3
  40. package/dist/collapse/Collapse.js +7 -4
  41. package/dist/color-picker/ColorPicker.js +2 -2
  42. package/dist/color-picker/components/ColorClear.d.ts +1 -0
  43. package/dist/color-picker/components/ColorClear.js +14 -4
  44. package/dist/color-picker/components/ColorPresets.js +4 -4
  45. package/dist/color-picker/components/ColorSlider.js +8 -2
  46. package/dist/color-picker/components/ColorTrigger.js +3 -2
  47. package/dist/color-picker/interface.d.ts +0 -2
  48. package/dist/color-picker/style/index.js +5 -6
  49. package/dist/components.d.ts +3 -3
  50. package/dist/config-provider/context.d.ts +2 -5
  51. package/dist/config-provider/index.d.ts +2 -2
  52. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -3
  53. package/dist/date-picker/generatePicker/generateRangePicker.js +3 -1
  54. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +1 -0
  55. package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -1
  56. package/dist/date-picker/generatePicker/index.d.ts +1 -1
  57. package/dist/date-picker/generatePicker/interface.d.ts +0 -2
  58. package/dist/date-picker/generatePicker/useComponents.d.ts +3 -3
  59. package/dist/date-picker/index.d.ts +3 -2
  60. package/dist/date-picker/locale/bn_BD.js +1 -0
  61. package/dist/date-picker/locale/et_EE.js +8 -0
  62. package/dist/date-picker/locale/eu_ES.js +8 -0
  63. package/dist/date-picker/locale/ga_IE.js +1 -0
  64. package/dist/date-picker/locale/is_IS.js +8 -0
  65. package/dist/date-picker/locale/ka_GE.js +1 -0
  66. package/dist/date-picker/locale/kk_KZ.js +1 -0
  67. package/dist/date-picker/locale/km_KH.js +1 -0
  68. package/dist/date-picker/locale/kmr_IQ.js +8 -0
  69. package/dist/date-picker/locale/lv_LV.js +8 -0
  70. package/dist/date-picker/locale/mk_MK.js +8 -0
  71. package/dist/date-picker/locale/ml_IN.js +1 -0
  72. package/dist/date-picker/locale/mn_MN.js +8 -0
  73. package/dist/date-picker/locale/sl_SI.js +8 -0
  74. package/dist/date-picker/locale/ta_IN.js +1 -0
  75. package/dist/date-picker/locale/ur_PK.js +1 -0
  76. package/dist/date-picker/locale/uz_UZ.js +1 -0
  77. package/dist/date-picker/util.d.ts +2 -2
  78. package/dist/descriptions/Row.js +3 -2
  79. package/dist/descriptions/hooks/useItems.d.ts +8 -8
  80. package/dist/descriptions/index.js +6 -3
  81. package/dist/divider/index.d.ts +0 -1
  82. package/dist/drawer/DrawerPanel.js +4 -1
  83. package/dist/drawer/index.d.ts +0 -3
  84. package/dist/drawer/index.js +15 -3
  85. package/dist/dropdown/index.js +0 -3
  86. package/dist/float-button/BackTop.d.ts +4 -2
  87. package/dist/float-button/BackTop.js +12 -4
  88. package/dist/float-button/FloatButton.d.ts +2 -2
  89. package/dist/float-button/FloatButton.js +10 -3
  90. package/dist/float-button/FloatButtonGroup.d.ts +2 -2
  91. package/dist/float-button/FloatButtonGroup.js +10 -3
  92. package/dist/float-button/PurePanel.js +20 -8
  93. package/dist/form/FormItem/index.js +4 -3
  94. package/dist/form/FormItemInput.js +4 -2
  95. package/dist/grid/col.js +1 -1
  96. package/dist/grid/row.js +1 -1
  97. package/dist/image/PreviewGroup.js +7 -5
  98. package/dist/image/hooks/usePreviewConfig.d.ts +9 -9
  99. package/dist/image/hooks/usePreviewConfig.js +1 -1
  100. package/dist/image/index.js +3 -4
  101. package/dist/index.d.ts +3 -3
  102. package/dist/input/Input.d.ts +0 -1
  103. package/dist/input/Input.js +16 -4
  104. package/dist/input/OTP/OTPInput.js +16 -4
  105. package/dist/input/Password.js +12 -3
  106. package/dist/input/Search.js +16 -4
  107. package/dist/input/TextArea.d.ts +0 -1
  108. package/dist/input/TextArea.js +17 -2
  109. package/dist/input/style/index.d.ts +2 -1
  110. package/dist/input/style/index.js +12 -11
  111. package/dist/input/style/variants.js +1 -4
  112. package/dist/input-number/index.d.ts +0 -1
  113. package/dist/input-number/index.js +30 -9
  114. package/dist/input-number/style/index.js +13 -39
  115. package/dist/listy/index.js +13 -8
  116. package/dist/listy/interface.d.ts +2 -2
  117. package/dist/locale/az_AZ.js +4 -0
  118. package/dist/locale/bn_BD.js +4 -0
  119. package/dist/locale/by_BY.js +4 -0
  120. package/dist/locale/eu_ES.js +4 -0
  121. package/dist/locale/ga_IE.js +4 -0
  122. package/dist/locale/hy_AM.js +20 -2
  123. package/dist/locale/is_IS.js +4 -0
  124. package/dist/locale/ka_GE.js +4 -0
  125. package/dist/locale/kk_KZ.js +4 -0
  126. package/dist/locale/km_KH.js +4 -0
  127. package/dist/locale/kmr_IQ.js +4 -0
  128. package/dist/locale/kn_IN.js +4 -0
  129. package/dist/locale/ku_IQ.js +4 -0
  130. package/dist/locale/mk_MK.js +4 -0
  131. package/dist/locale/ml_IN.js +4 -0
  132. package/dist/locale/mn_MN.js +4 -0
  133. package/dist/locale/mr_IN.js +4 -0
  134. package/dist/locale/my_MM.js +4 -0
  135. package/dist/locale/ne_NP.js +4 -0
  136. package/dist/locale/si_LK.js +4 -0
  137. package/dist/locale/sq_AL.js +4 -0
  138. package/dist/locale/ta_IN.js +4 -0
  139. package/dist/locale/tk_TK.js +4 -0
  140. package/dist/locale/ur_PK.js +4 -0
  141. package/dist/locale/uz_UZ.js +4 -0
  142. package/dist/masonry/Masonry.js +9 -1
  143. package/dist/mentions/index.d.ts +1 -1
  144. package/dist/mentions/index.js +7 -3
  145. package/dist/menu/MenuContext.js +4 -1
  146. package/dist/menu/MenuItem.js +2 -2
  147. package/dist/menu/OverrideContext.js +4 -1
  148. package/dist/menu/index.d.ts +2 -2
  149. package/dist/message/PurePanel.js +2 -1
  150. package/dist/message/index.js +14 -9
  151. package/dist/message/interface.d.ts +8 -0
  152. package/dist/message/useMessage.d.ts +1 -1
  153. package/dist/message/useMessage.js +26 -32
  154. package/dist/modal/ConfirmDialog.js +1 -1
  155. package/dist/modal/Modal.js +3 -2
  156. package/dist/modal/PurePanel.js +2 -2
  157. package/dist/modal/interface.d.ts +0 -6
  158. package/dist/modal/shared.js +2 -1
  159. package/dist/notification/PurePanel.d.ts +1 -1
  160. package/dist/notification/PurePanel.js +12 -10
  161. package/dist/notification/index.js +4 -1
  162. package/dist/notification/interface.d.ts +4 -0
  163. package/dist/notification/useNotification.js +19 -21
  164. package/dist/package.js +1 -1
  165. package/dist/pagination/Pagination.js +3 -4
  166. package/dist/popconfirm/index.js +4 -1
  167. package/dist/popover/PurePanel.js +8 -2
  168. package/dist/popover/index.js +4 -1
  169. package/dist/qrcode/QrcodeStatus.js +4 -1
  170. package/dist/qrcode/index.js +2 -1
  171. package/dist/radio/group.js +2 -2
  172. package/dist/radio/radio.js +2 -2
  173. package/dist/rate/index.d.ts +1 -1
  174. package/dist/rate/index.js +1 -5
  175. package/dist/result/index.js +4 -3
  176. package/dist/segmented/index.js +8 -2
  177. package/dist/select/index.d.ts +2 -3
  178. package/dist/select/index.js +2 -2
  179. package/dist/skeleton/Element.js +2 -2
  180. package/dist/slider/SliderTooltip.js +4 -1
  181. package/dist/slider/index.d.ts +1 -0
  182. package/dist/slider/index.js +5 -3
  183. package/dist/space/Compact.d.ts +1 -1
  184. package/dist/spin/index.js +2 -2
  185. package/dist/splitter/Panel.js +12 -3
  186. package/dist/splitter/SplitBar.js +12 -1
  187. package/dist/splitter/Splitter.js +2 -1
  188. package/dist/splitter/hooks/sizeUtil.js +17 -1
  189. package/dist/splitter/interface.d.ts +3 -1
  190. package/dist/splitter/style/index.js +6 -1
  191. package/dist/statistic/Number.js +2 -1
  192. package/dist/statistic/Statistic.js +2 -2
  193. package/dist/steps/index.js +3 -4
  194. package/dist/switch/index.d.ts +0 -2
  195. package/dist/table/Column.d.ts +5 -1
  196. package/dist/table/Column.js +10 -1
  197. package/dist/table/ColumnGroup.js +5 -0
  198. package/dist/table/InternalTable.d.ts +4 -1
  199. package/dist/table/InternalTable.js +28 -18
  200. package/dist/table/Table.js +16 -5
  201. package/dist/table/hooks/useFilter/index.d.ts +3 -1
  202. package/dist/table/hooks/useFilter/index.js +2 -2
  203. package/dist/table/hooks/useSelection.js +7 -3
  204. package/dist/table/interface.d.ts +10 -3
  205. package/dist/table/style/index.js +30 -2
  206. package/dist/table/util.d.ts +1 -1
  207. package/dist/table/utils.js +20 -2
  208. package/dist/tabs/index.d.ts +2 -0
  209. package/dist/tabs/index.js +11 -6
  210. package/dist/tag/CheckableTag.d.ts +0 -3
  211. package/dist/tag/CheckableTagGroup.js +18 -2
  212. package/dist/tag/index.js +2 -1
  213. package/dist/theme/context.d.ts +0 -1
  214. package/dist/theme/util/alias.js +3 -0
  215. package/dist/theme/util/genStyleUtils.d.ts +4 -0
  216. package/dist/time-picker/index.d.ts +8 -3
  217. package/dist/time-picker/index.js +46 -8
  218. package/dist/timeline/TimelineItem.js +4 -1
  219. package/dist/timeline/useItems.js +2 -1
  220. package/dist/tooltip/PurePanel.js +4 -1
  221. package/dist/tooltip/index.d.ts +5 -2
  222. package/dist/tooltip/index.js +4 -1
  223. package/dist/tooltip/style/index.d.ts +0 -1
  224. package/dist/tour/index.js +2 -3
  225. package/dist/tour/interface.d.ts +7 -5
  226. package/dist/tour/panelRender.js +6 -6
  227. package/dist/transfer/ListBody.js +1 -1
  228. package/dist/transfer/Section.js +3 -2
  229. package/dist/transfer/Transfer.js +37 -13
  230. package/dist/transfer/hooks/useSelection.js +1 -1
  231. package/dist/transfer/interface.d.ts +1 -1
  232. package/dist/tree/DirectoryTree.js +2 -1
  233. package/dist/tree/Tree.js +6 -6
  234. package/dist/tree/utils/dictUtil.js +2 -2
  235. package/dist/tree-select/index.d.ts +2 -3
  236. package/dist/tree-select/index.js +16 -8
  237. package/dist/typography/Base/Ellipsis.js +2 -1
  238. package/dist/typography/Base/index.js +6 -3
  239. package/dist/typography/Editable.js +2 -1
  240. package/dist/upload/Dragger.js +2 -4
  241. package/dist/upload/Upload.d.ts +0 -1
  242. package/dist/upload/Upload.js +2 -2
  243. package/dist/upload/UploadList/ListItem.d.ts +1 -0
  244. package/dist/upload/UploadList/ListItem.js +15 -9
  245. package/dist/upload/UploadList/index.js +1 -0
  246. package/dist/upload/interface.d.ts +6 -7
  247. package/dist/version/token.json +1 -1
  248. package/package.json +26 -26
  249. package/web-tags.json +1383 -1377
  250. package/web-types.json +4046 -4165
@@ -1,10 +1,10 @@
1
- import { genFocusOutline, resetComponent, resetIcon } from "../../style/index.js";
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
- [`&:hover:not(${componentCls}-without-controls)`]: { [`${componentCls}-suffix`]: { marginInlineEnd: token.handleWidth } },
187
- [`${componentCls}-clear-icon`]: {
188
- margin: 0,
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
  ];
@@ -54,18 +54,23 @@ const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
54
54
  required: false
55
55
  },
56
56
  style: {
57
- type: Object,
58
- required: false
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 { CSSProperties } from "vue";
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?: CSSProperties;
15
+ style?: StyleValue;
16
16
  classes?: ListyClassNamesType;
17
17
  styles?: ListyStylesType;
18
18
  itemRender?: (item: any, index: number) => VueNode;
@@ -78,6 +78,10 @@ const localeValues = {
78
78
  expand: "Genişləndir",
79
79
  collapse: "Yığılma"
80
80
  },
81
+ Carousel: {
82
+ prevSlide: "Əvvəlki slayd",
83
+ nextSlide: "Növbəti slayd"
84
+ },
81
85
  Form: {
82
86
  optional: "(Seçimli)",
83
87
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "বিস্তৃত করা",
78
78
  collapse: "সঙ্কুচিত"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "পূর্ববর্তী স্লাইড",
82
+ nextSlide: "পরবর্তী স্লাইড"
83
+ },
80
84
  Form: {
81
85
  optional: "(ঐচ্ছিক)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "Разгарнуць",
78
78
  collapse: "Згарнуць"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "Папярэдні слайд",
82
+ nextSlide: "Наступны слайд"
83
+ },
80
84
  Form: {
81
85
  optional: "(не абавязкова)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "Zabaldu",
78
78
  collapse: "Tolestu"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "Aurreko diapositiba",
82
+ nextSlide: "Hurrengo diapositiba"
83
+ },
80
84
  Form: {
81
85
  optional: "(aukerakoa)",
82
86
  defaultValidateMessages: {
@@ -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}",
@@ -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: { placeholder: "Ընտրեք ժամը" }
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: { placeholder: "Ընտրեք ժամը" },
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
@@ -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: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "გაშლა",
78
78
  collapse: "კოლაფსი"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "წინა სლაიდი",
82
+ nextSlide: "შემდეგი სლაიდი"
83
+ },
80
84
  Form: {
81
85
  optional: "(არასავალდებულო)",
82
86
  defaultValidateMessages: {
@@ -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} енгізіңіз",
@@ -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}",
@@ -80,6 +80,10 @@ const localeValues = {
80
80
  refresh: "Refresh",
81
81
  scanned: "Scanned"
82
82
  },
83
+ Carousel: {
84
+ prevSlide: "Slayda berê",
85
+ nextSlide: "Slayda pêş"
86
+ },
83
87
  ColorPicker: {
84
88
  presetEmpty: "Empty",
85
89
  transparent: "Transparent",
@@ -78,6 +78,10 @@ const localeValues = {
78
78
  expand: "ಶ್ರೇಣಿಯನ್ನು ವಿಸ್ತರಿಸಿ",
79
79
  collapse: "ಸಾಲುಗಳನ್ನು ಸಂಕುಚಿಸಿ"
80
80
  },
81
+ Carousel: {
82
+ prevSlide: "ಹಿಂದಿನ ಸ್ಲೈಡ್",
83
+ nextSlide: "ಮುಂದಿನ ಸ್ಲೈಡ್"
84
+ },
81
85
  Form: {
82
86
  optional: "(ಐಚ್ಛಿಕ)",
83
87
  defaultValidateMessages: {
@@ -80,6 +80,10 @@ const localeValues = {
80
80
  refresh: "Refresh",
81
81
  scanned: "Scanned"
82
82
  },
83
+ Carousel: {
84
+ prevSlide: "Slayda berê",
85
+ nextSlide: "Slayda pêş"
86
+ },
83
87
  ColorPicker: {
84
88
  presetEmpty: "Empty",
85
89
  transparent: "Transparent",
@@ -81,6 +81,10 @@ const localeValues = {
81
81
  refresh: "Освежи",
82
82
  scanned: "Скенирано"
83
83
  },
84
+ Carousel: {
85
+ prevSlide: "Претходен слајд",
86
+ nextSlide: "Следен слајд"
87
+ },
84
88
  ColorPicker: {
85
89
  presetEmpty: "Празен",
86
90
  transparent: "Транспарентен",
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "വികസിപ്പിക്കുക",
78
78
  collapse: "ചുരുക്കുക"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "മുൻപത്തെ സ്ലൈഡ്",
82
+ nextSlide: "അടുത്ത സ്ലൈഡ്"
83
+ },
80
84
  Form: {
81
85
  optional: "(optional)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "Өргөтгөх",
78
78
  collapse: "Нурах"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "Өмнөх слайд",
82
+ nextSlide: "Дараагийн слайд"
83
+ },
80
84
  Form: {
81
85
  optional: "(сонголттой)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "वाढवा",
78
78
  collapse: "संकुचित करा"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "मागील स्लाइड",
82
+ nextSlide: "पुढील स्लाइड"
83
+ },
80
84
  Form: {
81
85
  optional: "(ऐच्छिक)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "ချဲ့ထွင်ပါ။",
78
78
  collapse: "ပြိုကျသည်။"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "ယခင် ဆလိုက်",
82
+ nextSlide: "နောက် ဆလိုက်"
83
+ },
80
84
  Form: {
81
85
  optional: "(ချန်လှပ်ထားနိုင်သည်)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "विस्तार गर्नुहोस्",
78
78
  collapse: "बन्द"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "अघिल्लो स्लाइड",
82
+ nextSlide: "अर्को स्लाइड"
83
+ },
80
84
  Form: {
81
85
  optional: "(ऐच्छिक)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "විහිදුවන්න",
78
78
  collapse: "හකුළන්න"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "කලින් ස්ලයිඩ්",
82
+ nextSlide: "ඊළඟ ස්ලයිඩ්"
83
+ },
80
84
  Form: {
81
85
  optional: "(විකල්පයකි)",
82
86
  defaultValidateMessages: {
@@ -87,6 +87,10 @@ const localeValues = {
87
87
  expand: "Zgjero",
88
88
  collapse: "Mblidh"
89
89
  },
90
+ Carousel: {
91
+ prevSlide: "Slajdi i mëparshëm",
92
+ nextSlide: "Slajdi tjetër"
93
+ },
90
94
  Form: {
91
95
  optional: "(opsionale)",
92
96
  defaultValidateMessages: {
@@ -78,6 +78,10 @@ const localeValues = {
78
78
  expand: "விரிவாக்கவும்",
79
79
  collapse: "சுருக்கு"
80
80
  },
81
+ Carousel: {
82
+ prevSlide: "முந்தைய ஸ்லைடு",
83
+ nextSlide: "அடுத்த ஸ்லைடு"
84
+ },
81
85
  Form: {
82
86
  optional: "(optional)",
83
87
  defaultValidateMessages: {
@@ -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ň",
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "پھیلائیں",
78
78
  collapse: "سمٹنا"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "پچھلی سلائیڈ",
82
+ nextSlide: "اگلی سلائیڈ"
83
+ },
80
84
  Form: {
81
85
  optional: "(اختیاری)",
82
86
  defaultValidateMessages: {
@@ -77,6 +77,10 @@ const localeValues = {
77
77
  expand: "Ochib qoyish",
78
78
  collapse: "Yiqilish"
79
79
  },
80
+ Carousel: {
81
+ prevSlide: "Oldingi slayd",
82
+ nextSlide: "Keyingi slayd"
83
+ },
80
84
  Form: {
81
85
  optional: "(shart emas)",
82
86
  defaultValidateMessages: {
@@ -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: { required: false },
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
@@ -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;
@@ -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 as getAttrStyleAndClass$1, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
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$1(attrs);
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: { required: false },
340
+ count: {
341
+ type: Object,
342
+ required: false
343
+ },
340
344
  onClear: {
341
345
  type: Function,
342
346
  required: false
@@ -18,6 +18,9 @@ const MenuContextProvider = /* @__PURE__ */ defineComponent((props, { slots }) =
18
18
  return () => {
19
19
  return slots?.default?.();
20
20
  };
21
- }, { props: { value: { required: true } } });
21
+ }, { props: { value: {
22
+ type: Object,
23
+ required: true
24
+ } } });
22
25
  //#endregion
23
26
  export { MenuContextProvider, useMenuContext, useMenuContextProvider };
@@ -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, getAttrStyleAndClass } from "@v-c/util/dist/props-util";
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: { required: false } } });
21
+ }, { props: { value: {
22
+ type: [Object, null],
23
+ required: false
24
+ } } });
22
25
  //#endregion
23
26
  export { OverrideProvider, useOverrideContext };
@@ -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 !== void 0 && icon !== null) return 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
  }