antdv-next 1.4.1 → 1.4.2

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 (207) hide show
  1. package/dist/_util/hooks/useClosable.d.ts +5 -5
  2. package/dist/_util/vueNode.d.ts +2 -2
  3. package/dist/alert/Alert.d.ts +7 -7
  4. package/dist/antd-with-locales.esm.js +13320 -11032
  5. package/dist/antd-with-locales.js +80 -80
  6. package/dist/antd.css +1 -1
  7. package/dist/antd.esm.js +11449 -10208
  8. package/dist/antd.js +74 -74
  9. package/dist/auto-complete/index.d.ts +4 -4
  10. package/dist/avatar/Avatar.d.ts +3 -3
  11. package/dist/badge/Ribbon.d.ts +2 -2
  12. package/dist/badge/index.d.ts +3 -3
  13. package/dist/breadcrumb/Breadcrumb.d.ts +4 -4
  14. package/dist/breadcrumb/BreadcrumbItem.d.ts +4 -4
  15. package/dist/button/Button.d.ts +2 -2
  16. package/dist/button/style/index.js +13 -0
  17. package/dist/calendar/generateCalendar.d.ts +8 -8
  18. package/dist/card/Card.d.ts +9 -9
  19. package/dist/card/CardMeta.d.ts +4 -4
  20. package/dist/carousel/index.d.ts +3 -3
  21. package/dist/cascader/Panel.js +26 -2
  22. package/dist/cascader/index.d.ts +53 -21
  23. package/dist/cascader/index.js +33 -5
  24. package/dist/checkbox/Checkbox.d.ts +1 -1
  25. package/dist/checkbox/Checkbox.js +4 -4
  26. package/dist/checkbox/Group.d.ts +2 -2
  27. package/dist/collapse/Collapse.d.ts +3 -3
  28. package/dist/collapse/CollapsePanel.d.ts +3 -3
  29. package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
  30. package/dist/color-picker/interface.d.ts +2 -2
  31. package/dist/config-provider/context.d.ts +20 -14
  32. package/dist/config-provider/index.js +1 -1
  33. package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
  34. package/dist/date-picker/generatePicker/generateRangePicker.js +112 -10
  35. package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -2
  36. package/dist/date-picker/generatePicker/generateSinglePicker.js +101 -11
  37. package/dist/date-picker/generatePicker/useComponents.d.ts +2 -2
  38. package/dist/date-picker/util.d.ts +10 -1
  39. package/dist/descriptions/Item.d.ts +3 -3
  40. package/dist/descriptions/hooks/useItems.d.ts +11 -11
  41. package/dist/descriptions/index.d.ts +3 -3
  42. package/dist/descriptions/style/index.js +2 -3
  43. package/dist/drawer/DrawerPanel.d.ts +5 -5
  44. package/dist/empty/index.d.ts +3 -3
  45. package/dist/float-button/FloatButton.d.ts +5 -5
  46. package/dist/float-button/FloatButton.js +1 -1
  47. package/dist/float-button/FloatButtonGroup.d.ts +2 -2
  48. package/dist/form/ErrorList.d.ts +2 -2
  49. package/dist/image/index.d.ts +2 -2
  50. package/dist/input/Input.d.ts +5 -5
  51. package/dist/input/OTP/index.d.ts +2 -2
  52. package/dist/input/Password.d.ts +2 -2
  53. package/dist/input/Search.d.ts +3 -3
  54. package/dist/input/TextArea.js +1 -1
  55. package/dist/input/style/search.js +1 -0
  56. package/dist/input-number/index.d.ts +8 -8
  57. package/dist/input-number/index.js +0 -4
  58. package/dist/layout/layout.js +54 -48
  59. package/dist/locale/ar_EG.js +18 -4
  60. package/dist/locale/az_AZ.js +2 -1
  61. package/dist/locale/bg_BG.js +44 -3
  62. package/dist/locale/bn_BD.js +20 -4
  63. package/dist/locale/by_BY.js +17 -3
  64. package/dist/locale/ca_ES.js +22 -4
  65. package/dist/locale/cs_CZ.js +6 -3
  66. package/dist/locale/da_DK.js +34 -3
  67. package/dist/locale/de_DE.js +14 -4
  68. package/dist/locale/el_GR.js +4 -2
  69. package/dist/locale/en_GB.js +6 -3
  70. package/dist/locale/en_US.js +2 -1
  71. package/dist/locale/es_ES.js +17 -3
  72. package/dist/locale/et_EE.js +17 -3
  73. package/dist/locale/eu_ES.js +8 -4
  74. package/dist/locale/fa_IR.js +2 -1
  75. package/dist/locale/fi_FI.js +35 -4
  76. package/dist/locale/fr_BE.js +20 -3
  77. package/dist/locale/fr_CA.js +20 -3
  78. package/dist/locale/fr_FR.js +20 -3
  79. package/dist/locale/ga_IE.js +24 -5
  80. package/dist/locale/gl_ES.js +36 -5
  81. package/dist/locale/he_IL.js +30 -5
  82. package/dist/locale/hi_IN.js +20 -4
  83. package/dist/locale/hr_HR.js +21 -4
  84. package/dist/locale/hu_HU.js +43 -3
  85. package/dist/locale/hy_AM.js +33 -4
  86. package/dist/locale/id_ID.js +2 -1
  87. package/dist/locale/is_IS.js +44 -3
  88. package/dist/locale/it_IT.js +6 -3
  89. package/dist/locale/ja_JP.js +2 -1
  90. package/dist/locale/ka_GE.js +20 -4
  91. package/dist/locale/kk_KZ.js +22 -5
  92. package/dist/locale/km_KH.js +35 -4
  93. package/dist/locale/kmr_IQ.js +45 -4
  94. package/dist/locale/kn_IN.js +18 -3
  95. package/dist/locale/ko_KR.js +8 -4
  96. package/dist/locale/ku_IQ.js +45 -4
  97. package/dist/locale/lt_LT.js +8 -4
  98. package/dist/locale/lv_LV.js +45 -4
  99. package/dist/locale/mk_MK.js +36 -4
  100. package/dist/locale/ml_IN.js +20 -4
  101. package/dist/locale/mn_MN.js +17 -3
  102. package/dist/locale/mr_IN.js +13 -1
  103. package/dist/locale/ms_MY.js +8 -4
  104. package/dist/locale/my_MM.js +18 -5
  105. package/dist/locale/ne_NP.js +2 -1
  106. package/dist/locale/nl_BE.js +20 -4
  107. package/dist/locale/nl_NL.js +20 -4
  108. package/dist/locale/pl_PL.js +17 -3
  109. package/dist/locale/pt_BR.js +6 -3
  110. package/dist/locale/pt_PT.js +2 -1
  111. package/dist/locale/ro_RO.js +20 -4
  112. package/dist/locale/ru_RU.js +4 -2
  113. package/dist/locale/si_LK.js +17 -3
  114. package/dist/locale/sk_SK.js +17 -3
  115. package/dist/locale/sl_SI.js +45 -4
  116. package/dist/locale/sr_RS.js +20 -4
  117. package/dist/locale/sv_SE.js +14 -4
  118. package/dist/locale/ta_IN.js +23 -5
  119. package/dist/locale/th_TH.js +2 -1
  120. package/dist/locale/tk_TK.js +21 -5
  121. package/dist/locale/tr_TR.js +17 -2
  122. package/dist/locale/uk_UA.js +12 -3
  123. package/dist/locale/ur_PK.js +20 -4
  124. package/dist/locale/uz_UZ.js +14 -4
  125. package/dist/locale/vi_VN.js +2 -1
  126. package/dist/locale/zh_CN.js +2 -1
  127. package/dist/locale/zh_HK.js +4 -2
  128. package/dist/locale/zh_TW.js +4 -2
  129. package/dist/masonry/Masonry.d.ts +18 -10
  130. package/dist/masonry/MasonryItem.d.ts +2 -2
  131. package/dist/mentions/index.d.ts +4 -4
  132. package/dist/mentions/index.js +62 -1
  133. package/dist/menu/MenuItem.d.ts +3 -3
  134. package/dist/menu/MenuItem.js +1 -1
  135. package/dist/menu/MenuItemGroup.d.ts +2 -2
  136. package/dist/menu/OverrideContext.d.ts +2 -2
  137. package/dist/menu/SubMenu.d.ts +2 -2
  138. package/dist/message/PureList.d.ts +3 -1
  139. package/dist/message/PureList.js +4 -0
  140. package/dist/message/interface.d.ts +3 -3
  141. package/dist/modal/ConfirmDialog.d.ts +5 -1
  142. package/dist/modal/ConfirmDialog.js +40 -19
  143. package/dist/modal/Modal.d.ts +12 -3
  144. package/dist/modal/Modal.js +24 -7
  145. package/dist/modal/interface.d.ts +14 -14
  146. package/dist/notification/PureList.d.ts +3 -1
  147. package/dist/notification/PureList.js +4 -0
  148. package/dist/notification/interface.d.ts +8 -8
  149. package/dist/notification/util.d.ts +2 -2
  150. package/dist/package.js +1 -1
  151. package/dist/pagination/Pagination.js +1 -1
  152. package/dist/pagination/interface.d.ts +7 -7
  153. package/dist/pagination/style/index.js +1 -1
  154. package/dist/popconfirm/index.d.ts +6 -6
  155. package/dist/popover/index.d.ts +4 -4
  156. package/dist/radio/radio.js +4 -4
  157. package/dist/radio/radioButton.js +4 -4
  158. package/dist/result/index.d.ts +5 -5
  159. package/dist/segmented/index.d.ts +38 -20
  160. package/dist/segmented/index.js +5 -10
  161. package/dist/select/index.d.ts +4 -4
  162. package/dist/select/style/select-input-customize.js +1 -0
  163. package/dist/slider/index.js +1 -1
  164. package/dist/space/Compact.d.ts +1 -1
  165. package/dist/space/index.d.ts +2 -2
  166. package/dist/spin/index.d.ts +5 -5
  167. package/dist/splitter/SplitBar.js +12 -1
  168. package/dist/splitter/interface.d.ts +6 -6
  169. package/dist/statistic/Statistic.d.ts +4 -4
  170. package/dist/steps/index.d.ts +6 -6
  171. package/dist/style/motion/util.js +2 -2
  172. package/dist/switch/index.d.ts +4 -4
  173. package/dist/switch/index.js +7 -7
  174. package/dist/switch/style/index.js +3 -1
  175. package/dist/table/InternalTable.js +8 -25
  176. package/dist/table/Table.d.ts +20 -9
  177. package/dist/table/hooks/useColumnTitleProps.d.ts +8 -0
  178. package/dist/table/hooks/useColumnTitleProps.js +16 -0
  179. package/dist/table/hooks/useFilter/FilterDropdown.js +2 -1
  180. package/dist/table/hooks/useSpinProps.d.ts +7 -0
  181. package/dist/table/hooks/useSpinProps.js +14 -0
  182. package/dist/table/util.d.ts +5 -2
  183. package/dist/table/util.js +10 -1
  184. package/dist/tabs/index.d.ts +5 -5
  185. package/dist/tag/CheckableTag.d.ts +2 -2
  186. package/dist/tag/index.d.ts +3 -3
  187. package/dist/time-picker/index.d.ts +2 -2
  188. package/dist/time-picker/index.js +211 -19
  189. package/dist/timeline/Timeline.d.ts +9 -9
  190. package/dist/tooltip/PurePanel.js +1 -1
  191. package/dist/tooltip/index.d.ts +3 -3
  192. package/dist/tour/interface.d.ts +4 -4
  193. package/dist/transfer/Actions.d.ts +2 -2
  194. package/dist/transfer/Transfer.d.ts +2 -2
  195. package/dist/transfer/index.d.ts +27 -6
  196. package/dist/transfer/interface.d.ts +17 -17
  197. package/dist/transfer/search.d.ts +2 -2
  198. package/dist/tree/Tree.d.ts +6 -6
  199. package/dist/tree-select/index.d.ts +57 -28
  200. package/dist/tree-select/index.js +4 -3
  201. package/dist/typography/Base/Ellipsis.d.ts +2 -2
  202. package/dist/typography/Editable.d.ts +2 -2
  203. package/dist/typography/interface.d.ts +8 -8
  204. package/dist/upload/UploadList/index.js +1 -1
  205. package/package.json +10 -10
  206. package/web-tags.json +1674 -1662
  207. package/web-types.json +4801 -4762
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: tr_TR_default,
13
13
  global: {
14
14
  placeholder: "Lütfen seçiniz",
15
- close: "Kapat"
15
+ close: "Kapat",
16
+ sortable: "sıralanabilir"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "Filtre menüsü",
@@ -28,7 +29,10 @@ const localeValues = {
28
29
  collapse: "Satırı daralt",
29
30
  triggerDesc: "Azalan düzende sırala",
30
31
  triggerAsc: "Artan düzende sırala",
31
- cancelSort: "Sıralamayı kaldır"
32
+ cancelSort: "Sıralamayı kaldır",
33
+ filterSearchPlaceholder: "Filtrelerde ara",
34
+ emptyText: "Veri yok",
35
+ selectNone: "Tüm verileri temizle"
32
36
  },
33
37
  Tour: {
34
38
  Next: "Sonraki",
@@ -120,6 +124,17 @@ const localeValues = {
120
124
  },
121
125
  pattern: { mismatch: "${label} şu kalıpla eşleşmeli: ${pattern}" }
122
126
  }
127
+ },
128
+ QRCode: {
129
+ expired: "QR kodunun süresi doldu",
130
+ refresh: "Yenile",
131
+ scanned: "Tarandı"
132
+ },
133
+ ColorPicker: {
134
+ presetEmpty: "Boş",
135
+ transparent: "Şeffaf",
136
+ singleColor: "Tek renk",
137
+ gradientColor: "Gradyan rengi"
123
138
  }
124
139
  };
125
140
  //#endregion
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: uk_UA_default,
13
13
  global: {
14
14
  placeholder: "Будь ласка, оберіть",
15
- close: "Закрити"
15
+ close: "Закрити",
16
+ sortable: "сортувальний"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "Фільтрувати",
@@ -73,7 +74,8 @@ const localeValues = {
73
74
  edit: "Редагувати",
74
75
  copy: "Скопіювати",
75
76
  copied: "Скопійовано",
76
- expand: "Розширити"
77
+ expand: "Розширити",
78
+ collapse: "Згорнути"
77
79
  },
78
80
  Form: {
79
81
  optional: "(опціонально)",
@@ -125,7 +127,14 @@ const localeValues = {
125
127
  },
126
128
  QRCode: {
127
129
  expired: "QR-код закінчився",
128
- refresh: "Оновити"
130
+ refresh: "Оновити",
131
+ scanned: "Відскановані"
132
+ },
133
+ ColorPicker: {
134
+ presetEmpty: "Порожній",
135
+ transparent: "Прозорий",
136
+ singleColor: "Одноколірний",
137
+ gradientColor: "Градієнтний колір"
129
138
  }
130
139
  };
131
140
  //#endregion
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: ur_PK_default,
13
13
  global: {
14
14
  placeholder: "منتخب کریں",
15
- close: "بند کریں"
15
+ close: "بند کریں",
16
+ sortable: "قابل ترتیب"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "فلٹر مینو",
@@ -29,7 +30,9 @@ const localeValues = {
29
30
  collapse: "سمیٹیں",
30
31
  triggerDesc: "نزولی کو ترتیب دینے کیلئے کلک کریں",
31
32
  triggerAsc: "چڑھنے کو ترتیب دینے کیلئے کلک کریں",
32
- cancelSort: "ترتیب کو منسوخ کرنے کیلئے دبائیں"
33
+ cancelSort: "ترتیب کو منسوخ کرنے کیلئے دبائیں",
34
+ filterCheckAll: "تمام اشیاء کو منتخب کریں۔",
35
+ filterSearchPlaceholder: "فلٹرز میں تلاش کریں۔"
33
36
  },
34
37
  Tour: {
35
38
  Next: "اگلا",
@@ -55,7 +58,8 @@ const localeValues = {
55
58
  removeCurrent: "موجودہ صفحہ ہٹائیں",
56
59
  selectAll: "تمام ڈیٹا کو منتخب کریں",
57
60
  removeAll: "تمام ڈیٹا کو ہٹا دیں",
58
- selectInvert: "موجودہ صفحے کو الٹ دیں"
61
+ selectInvert: "موجودہ صفحے کو الٹ دیں",
62
+ deselectAll: "تمام ڈیٹا کو غیر منتخب کریں۔"
59
63
  },
60
64
  Upload: {
61
65
  uploading: "اپ لوڈ ہو رہا ہے…",
@@ -70,7 +74,8 @@ const localeValues = {
70
74
  edit: "ترمیم",
71
75
  copy: "کاپی",
72
76
  copied: "کاپی ہوگیا",
73
- expand: "پھیلائیں"
77
+ expand: "پھیلائیں",
78
+ collapse: "سمٹنا"
74
79
  },
75
80
  Form: {
76
81
  optional: "(اختیاری)",
@@ -119,6 +124,17 @@ const localeValues = {
119
124
  },
120
125
  pattern: { mismatch: "${label} پیٹرن سے ملتا نہیں ہے ${pattern}" }
121
126
  }
127
+ },
128
+ QRCode: {
129
+ expired: "QR کوڈ کی میعاد ختم ہو گئی۔",
130
+ refresh: "ریفریش کریں۔",
131
+ scanned: "سکین کیا گیا۔"
132
+ },
133
+ ColorPicker: {
134
+ presetEmpty: "خالی",
135
+ transparent: "شفاف",
136
+ singleColor: "سنگل رنگ",
137
+ gradientColor: "تدریجی رنگ"
122
138
  }
123
139
  };
124
140
  //#endregion
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: uz_UZ_default,
13
13
  global: {
14
14
  placeholder: "Iltimos tanlang",
15
- close: "Yopish"
15
+ close: "Yopish",
16
+ sortable: "saralanadigan"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "Filtr",
@@ -57,7 +58,8 @@ const localeValues = {
57
58
  selectCurrent: "Joriy sahifani tanlash",
58
59
  selectInvert: "Tanlovni aylantirish",
59
60
  removeAll: "Barcha ma'lumotlarni o'chirish",
60
- removeCurrent: "Joriy sahifani o'chirish"
61
+ removeCurrent: "Joriy sahifani o'chirish",
62
+ deselectAll: "Barcha ma'lumotlarni bekor qiling"
61
63
  },
62
64
  Upload: {
63
65
  uploading: "Yuklanmoqda...",
@@ -72,7 +74,8 @@ const localeValues = {
72
74
  edit: "Tahrirlash",
73
75
  copy: "Nusxalash",
74
76
  copied: "Nusxalandi",
75
- expand: "Ochib qoyish"
77
+ expand: "Ochib qoyish",
78
+ collapse: "Yiqilish"
76
79
  },
77
80
  Form: {
78
81
  optional: "(shart emas)",
@@ -124,7 +127,14 @@ const localeValues = {
124
127
  },
125
128
  QRCode: {
126
129
  expired: "QR-kod eskirgan",
127
- refresh: "Yangilash"
130
+ refresh: "Yangilash",
131
+ scanned: "Skanerlangan"
132
+ },
133
+ ColorPicker: {
134
+ presetEmpty: "Bo'sh",
135
+ transparent: "Shaffof",
136
+ singleColor: "Yagona rang",
137
+ gradientColor: "Gradient rangi"
128
138
  }
129
139
  };
130
140
  //#endregion
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: vi_VN_default,
13
13
  global: {
14
14
  placeholder: "Vui lòng chọn",
15
- close: "Đóng"
15
+ close: "Đóng",
16
+ sortable: "có thể sắp xếp được"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "Bộ lọc",
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: zh_CN_default,
13
13
  global: {
14
14
  placeholder: "请选择",
15
- close: "关闭"
15
+ close: "关闭",
16
+ sortable: "可排序"
16
17
  },
17
18
  Table: {
18
19
  filterTitle: "筛选",
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: zh_TW_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: "正在上傳...",
@@ -12,7 +12,8 @@ const localeValues = {
12
12
  Calendar: zh_TW_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: "正在上傳...",
@@ -3,7 +3,7 @@ import { Breakpoint } from "../_util/responsiveObserver.js";
3
3
  import { RowProps } from "../grid/row.js";
4
4
  import { MasonryItemType } from "./MasonryItem.js";
5
5
  import { ComponentBaseProps } from "../config-provider/context.js";
6
- import { CSSProperties, SlotsType } from "vue";
6
+ import { CSSProperties, PublicProps, SlotsType } from "vue";
7
7
 
8
8
  //#region src/masonry/Masonry.d.ts
9
9
  type Gap = number | undefined;
@@ -51,17 +51,25 @@ interface MasonrySlots<T = any> {
51
51
  interface MasonryRef {
52
52
  nativeElement: HTMLDivElement;
53
53
  }
54
+ interface MasonryInstance<T = any> {
55
+ $props: MasonryProps<T> & PublicProps;
56
+ $emit: (event: 'layoutChange', sortInfo: {
57
+ key: Key;
58
+ column: number;
59
+ }[]) => void;
60
+ $slots: MasonrySlots<T>;
61
+ }
54
62
  interface MasonryConstructor {
55
- new <T = any>(props: MasonryProps<T>): {
56
- $props: MasonryProps<T>;
57
- $emit: (event: 'layoutChange', sortInfo: {
58
- key: Key;
59
- column: number;
60
- }[]) => void;
61
- $slots: MasonrySlots<T>;
62
- };
63
+ new <T = any>(props: MasonryProps<T>): MasonryInstance<T>;
64
+ /**
65
+ * Non-generic fallback signature. TypeScript infers from the last overload,
66
+ * so this keeps render-function usage like `h(Masonry, props)` resolvable
67
+ * against Vue's `Constructor<P>` overload of `h` (see #634), while the
68
+ * generic signature above still drives template/Volar inference.
69
+ */
70
+ new (props: MasonryProps<any>): MasonryInstance;
63
71
  install: (app: import('vue').App) => void;
64
72
  }
65
- declare const Masonry: import("vue").DefineSetupFnComponent<MasonryProps<any>, MasonryEmits, SlotsType<MasonrySlots<any>>, MasonryProps<any>, import("vue").PublicProps>;
73
+ declare const Masonry: import("vue").DefineSetupFnComponent<MasonryProps<any>, MasonryEmits, SlotsType<MasonrySlots<any>>, MasonryProps<any>, PublicProps>;
66
74
  //#endregion
67
75
  export { Gap, Key, MasonryClassNamesType, MasonryConstructor, MasonryEmits, MasonryEmitsProps, MasonryProps, MasonryRef, MasonrySemanticClassNames, MasonrySemanticName, MasonrySemanticStyles, MasonrySlots, MasonryStylesType, Masonry as default };
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { MasonryProps } from "./Masonry.js";
3
3
  import { CSSProperties } from "vue";
4
4
  import { Key } from "@v-c/util/dist/type";
@@ -8,7 +8,7 @@ interface MasonryItemType<T = any> {
8
8
  key: Key;
9
9
  column?: number;
10
10
  height?: number;
11
- children?: VueNode$1;
11
+ children?: VueNode;
12
12
  data: T;
13
13
  class?: string;
14
14
  style?: CSSProperties;
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { SizeType } from "../config-provider/SizeContext.js";
4
4
  import { InputStatus } from "../_util/statusUtils.js";
@@ -10,7 +10,7 @@ import { DataDrivenOptionProps, MentionsProps as MentionsProps$1, MentionsRef as
10
10
  type MentionPlacement = 'top' | 'bottom';
11
11
  interface OptionProps {
12
12
  value: string;
13
- content?: VueNode$1;
13
+ content?: VueNode;
14
14
  [key: string]: any;
15
15
  }
16
16
  type MentionSemanticName = keyof MentionSemanticClassNames & keyof MentionSemanticStyles;
@@ -29,7 +29,7 @@ interface MentionSemanticStyles {
29
29
  type MentionsClassNamesType = SemanticClassNamesType<MentionProps, MentionSemanticClassNames>;
30
30
  type MentionsStylesType = SemanticStylesType<MentionProps, MentionSemanticStyles>;
31
31
  interface MentionsOptionProps extends DataDrivenOptionProps {
32
- content?: VueNode$1;
32
+ content?: VueNode;
33
33
  }
34
34
  interface MentionProps extends Omit<MentionsProps$1, 'suffix' | 'classNames' | 'className' | 'styles' | 'onFocus' | 'onChange' | 'onBlur' | 'onSelect' | 'onPopupScroll' | 'onSearch'>, ComponentBaseProps, MentionsEmitsProps {
35
35
  loading?: boolean;
@@ -49,7 +49,7 @@ interface MentionProps extends Omit<MentionsProps$1, 'suffix' | 'classNames' | '
49
49
  index: number;
50
50
  }) => any;
51
51
  allowClear?: boolean | {
52
- clearIcon?: VueNode$1;
52
+ clearIcon?: VueNode;
53
53
  };
54
54
  disabled?: boolean;
55
55
  }
@@ -257,7 +257,19 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
257
257
  type: String,
258
258
  required: false
259
259
  },
260
- notFoundContent: { required: false },
260
+ notFoundContent: {
261
+ type: [
262
+ Object,
263
+ Function,
264
+ String,
265
+ Number,
266
+ null,
267
+ Boolean,
268
+ Array
269
+ ],
270
+ required: false,
271
+ default: void 0
272
+ },
261
273
  split: {
262
274
  type: String,
263
275
  required: false
@@ -303,6 +315,55 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
303
315
  required: false
304
316
  },
305
317
  rows: { required: false },
318
+ autoSize: {
319
+ type: [Boolean, Object],
320
+ required: false,
321
+ default: void 0
322
+ },
323
+ onPressEnter: {
324
+ type: Function,
325
+ required: false
326
+ },
327
+ onResize: {
328
+ type: Function,
329
+ required: false
330
+ },
331
+ count: { required: false },
332
+ onClear: {
333
+ type: Function,
334
+ required: false
335
+ },
336
+ maxLength: {
337
+ type: Number,
338
+ required: false
339
+ },
340
+ hidden: {
341
+ type: Boolean,
342
+ required: false,
343
+ default: void 0
344
+ },
345
+ readOnly: {
346
+ type: Boolean,
347
+ required: false,
348
+ default: void 0
349
+ },
350
+ placeholder: {
351
+ type: String,
352
+ required: false
353
+ },
354
+ onKeydown: {
355
+ type: Function,
356
+ required: false
357
+ },
358
+ onKeyup: {
359
+ type: Function,
360
+ required: false
361
+ },
362
+ changeOnComposing: {
363
+ type: Boolean,
364
+ required: false,
365
+ default: void 0
366
+ },
306
367
  rootClass: {
307
368
  type: String,
308
369
  required: false
@@ -1,12 +1,12 @@
1
- import { EmptyEmit, VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { EmptyEmit, VueNode } from "../_util/type.js";
2
2
  import { SlotsType } from "vue";
3
3
  import { MenuItemType } from "@v-c/menu";
4
4
 
5
5
  //#region src/menu/MenuItem.d.ts
6
6
  interface MenuItemProps extends Omit<MenuItemType, 'key'> {
7
- icon?: VueNode$1;
7
+ icon?: VueNode;
8
8
  danger?: boolean;
9
- title?: VueNode$1;
9
+ title?: VueNode;
10
10
  /** @private Internal filled key. Do not set it directly */
11
11
  eventKey?: string;
12
12
  /** @private Do not use. Private warning empty usage */
@@ -6,7 +6,7 @@ import { useMenuContext } from "./MenuContext.js";
6
6
  import { createVNode, defineComponent, isVNode, mergeProps } from "vue";
7
7
  import { clsx } from "@v-c/util";
8
8
  import { filterEmpty, getAttrStyleAndClass } from "@v-c/util/dist/props-util";
9
- import { omit } from "es-toolkit";
9
+ import { omit } from "es-toolkit/compat";
10
10
  import { Item } from "@v-c/menu";
11
11
  //#region src/menu/MenuItem.tsx
12
12
  function _isSlot(s) {
@@ -1,10 +1,10 @@
1
- import { EmptyEmit, VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { EmptyEmit, VueNode } from "../_util/type.js";
2
2
  import { SlotsType } from "vue";
3
3
  import { MenuItemGroupProps as MenuItemGroupProps$1 } from "@v-c/menu";
4
4
 
5
5
  //#region src/menu/MenuItemGroup.d.ts
6
6
  interface MenuItemGroupProps extends Omit<MenuItemGroupProps$1, 'title' | 'children'> {
7
- title?: VueNode$1;
7
+ title?: VueNode;
8
8
  }
9
9
  interface MenuItemGroupSlots {
10
10
  default?: () => any;
@@ -1,11 +1,11 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { MenuProps } from "./menu.js";
3
3
  import { Ref } from "vue";
4
4
 
5
5
  //#region src/menu/OverrideContext.d.ts
6
6
  interface OverrideContextProps {
7
7
  prefixCls?: string;
8
- expandIcon?: VueNode$1;
8
+ expandIcon?: VueNode;
9
9
  mode?: MenuProps['mode'];
10
10
  selectable?: boolean;
11
11
  validator?: (menuProps: Pick<MenuProps, 'mode'>) => void;
@@ -1,10 +1,10 @@
1
- import { EmptyEmit, VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { EmptyEmit, VueNode } from "../_util/type.js";
2
2
  import { SubMenuType } from "./interface.js";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/menu/SubMenu.d.ts
6
6
  interface SubMenuProps extends Omit<SubMenuType, 'key' | 'label' | 'children'> {
7
- title?: VueNode$1;
7
+ title?: VueNode;
8
8
  }
9
9
  interface SubMenuSlots {
10
10
  title: () => any;
@@ -1,5 +1,6 @@
1
+ import { VueNode } from "../_util/type.js";
1
2
  import { ArgsClassNamesType, NoticeType } from "./interface.js";
2
- import { CSSProperties, SlotsType, VueNode } from "vue";
3
+ import { CSSProperties, SlotsType } from "vue";
3
4
 
4
5
  //#region src/message/PureList.d.ts
5
6
  interface PureListItem {
@@ -9,6 +10,7 @@ interface PureListItem {
9
10
  duration?: number | false;
10
11
  }
11
12
  interface PureListProps {
13
+ prefixCls?: string;
12
14
  items: PureListItem[];
13
15
  classes?: ArgsClassNamesType;
14
16
  style?: CSSProperties;
@@ -52,6 +52,10 @@ const PureList = /* @__PURE__ */ defineComponent((props) => {
52
52
  };
53
53
  }, {
54
54
  props: {
55
+ prefixCls: {
56
+ type: String,
57
+ required: false
58
+ },
55
59
  items: {
56
60
  type: Array,
57
61
  required: true
@@ -1,4 +1,4 @@
1
- import { VueNode as VueNode$1 } from "../_util/type.js";
1
+ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import { AppContext, CSSProperties } from "vue";
4
4
  import { Key } from "@v-c/util/dist/type";
@@ -46,7 +46,7 @@ interface ArgsProps {
46
46
  * @descCN 消息通知的内容,接收组件或者字符串
47
47
  * @descEN The content of the message notification, receiving component or string
48
48
  */
49
- content: VueNode$1;
49
+ content: VueNode;
50
50
  /**
51
51
  * @descCN 消息通知持续显示的时间
52
52
  * @descEN How long the message notification remains displayed
@@ -62,7 +62,7 @@ interface ArgsProps {
62
62
  * @descEN The callback function called when the message notification is closed
63
63
  */
64
64
  onClose?: () => void;
65
- icon?: VueNode$1;
65
+ icon?: VueNode;
66
66
  key?: Key;
67
67
  style?: CSSProperties;
68
68
  class?: string;
@@ -1,7 +1,7 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
2
  import { ModalFuncProps, ModalLocale } from "./interface.js";
3
3
  import { ThemeConfig } from "../config-provider/context.js";
4
- import { SlotsType } from "vue";
4
+ import { CSSProperties, SlotsType } from "vue";
5
5
 
6
6
  //#region src/modal/ConfirmDialog.d.ts
7
7
  interface ConfirmDialogProps extends ModalFuncProps {
@@ -30,10 +30,14 @@ interface ConfirmDialogProps extends ModalFuncProps {
30
30
  }
31
31
  declare const ConfirmContent: import("vue").DefineSetupFnComponent<ConfirmDialogProps & {
32
32
  confirmPrefixCls: string;
33
+ contentClassName?: string;
34
+ contentStyle?: CSSProperties;
33
35
  }, EmptyEmit, SlotsType<{
34
36
  default?: () => any;
35
37
  }>, ConfirmDialogProps & {
36
38
  confirmPrefixCls: string;
39
+ contentClassName?: string;
40
+ contentStyle?: CSSProperties;
37
41
  }, import("vue").PublicProps>;
38
42
  declare const ConfirmDialogWrapper: import("vue").DefineSetupFnComponent<ConfirmDialogProps, {}, {}, ConfirmDialogProps & {}, import("vue").PublicProps>;
39
43
  //#endregion
@@ -18,6 +18,7 @@ import { clsx } from "@v-c/util";
18
18
  import { CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled } from "@antdv-next/icons";
19
19
  import { getTransitionName } from "@v-c/util/dist/utils/transition";
20
20
  //#region src/modal/ConfirmDialog.tsx
21
+ const CONFIRM_OMIT_SEMANTIC_NAMES = ["body"];
21
22
  const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
22
23
  if (isDev) {
23
24
  const { icon } = props;
@@ -46,7 +47,7 @@ const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
46
47
  ...props
47
48
  })));
48
49
  return () => {
49
- const { confirmPrefixCls, footer } = props;
50
+ const { confirmPrefixCls, footer, contentClassName, contentStyle } = props;
50
51
  const content = getSlotPropsFnRun({}, props, "content", false);
51
52
  const icon = getSlotPropsFnRun({}, props, "icon", false);
52
53
  const title = getSlotPropsFnRun({}, props, "title", false);
@@ -71,7 +72,10 @@ const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
71
72
  createVNode("div", { "class": clsx(bodyCls, {
72
73
  [`${bodyCls}-has-title`]: hasTitle,
73
74
  [`${bodyCls}-no-icon`]: !hasIcon
74
- }) }, [mergedIcon, createVNode("div", { "class": `${confirmPrefixCls}-paragraph` }, [hasTitle && createVNode("span", { "class": `${confirmPrefixCls}-title` }, [title]), createVNode("div", { "class": `${confirmPrefixCls}-content` }, [content])])]),
75
+ }) }, [mergedIcon, createVNode("div", { "class": `${confirmPrefixCls}-paragraph` }, [hasTitle && createVNode("span", { "class": `${confirmPrefixCls}-title` }, [title]), createVNode("div", {
76
+ "class": clsx(`${confirmPrefixCls}-content`, contentClassName),
77
+ "style": contentStyle
78
+ }, [content])])]),
75
79
  footer === void 0 || typeof footer === "function" ? createVNode("div", { "class": `${confirmPrefixCls}-btns` }, [typeof footer === "function" ? footer({
76
80
  originNode: footerOriginNode,
77
81
  extra: {
@@ -410,6 +414,14 @@ const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
410
414
  confirmPrefixCls: {
411
415
  type: String,
412
416
  required: true
417
+ },
418
+ contentClassName: {
419
+ type: String,
420
+ required: false
421
+ },
422
+ contentStyle: {
423
+ type: Object,
424
+ required: false
413
425
  }
414
426
  },
415
427
  name: "ConfirmContent",
@@ -434,6 +446,15 @@ const ConfirmDialog = /* @__PURE__ */ defineComponent((props) => {
434
446
  return nextMaskConfig;
435
447
  };
436
448
  const mergedMask = mergedMaskFn();
449
+ const semanticStyles = typeof styles === "function" ? (info) => ({
450
+ body: bodyStyle,
451
+ mask: maskStyle,
452
+ ...styles(info)
453
+ }) : {
454
+ body: bodyStyle,
455
+ mask: maskStyle,
456
+ ...styles
457
+ };
437
458
  return createVNode(Modal, mergeProps(restProps, {
438
459
  "class": clsx(confirmPrefixCls, `${confirmPrefixCls}-${type || "confirm"}`, { [`${confirmPrefixCls}-rtl`]: direction === "rtl" }, className),
439
460
  "wrapClassName": clsx({ [`${confirmPrefixCls}-centered`]: !!props.centered }, wrapClassName),
@@ -447,25 +468,25 @@ const ConfirmDialog = /* @__PURE__ */ defineComponent((props) => {
447
468
  "maskTransitionName": getTransitionName(rootPrefixCls || "", "fade", props.maskTransitionName),
448
469
  "mask": mergedMask,
449
470
  "style": style,
450
- "styles": {
451
- body: bodyStyle,
452
- mask: maskStyle,
453
- ...styles
454
- },
471
+ "styles": semanticStyles,
455
472
  "width": width,
456
473
  "zIndex": mergedZIndex.value,
457
- "closable": closable
458
- }), { default: () => [createVNode(ConfirmContent, mergeProps(props, {
459
- "confirmPrefixCls": confirmPrefixCls,
460
- "okButtonProps": {
461
- ...contextOkButtonProps.value,
462
- ...props.okButtonProps
463
- },
464
- "cancelButtonProps": {
465
- ...contextCancelButtonProps.value,
466
- ...props.cancelButtonProps
467
- }
468
- }), null)] });
474
+ "closable": closable,
475
+ "_semanticOmit": CONFIRM_OMIT_SEMANTIC_NAMES,
476
+ "_renderSemanticContent": ({ classNames: mergedClassNames, styles: mergedStyles }) => createVNode(ConfirmContent, mergeProps(props, {
477
+ "confirmPrefixCls": confirmPrefixCls,
478
+ "okButtonProps": {
479
+ ...contextOkButtonProps.value,
480
+ ...props.okButtonProps
481
+ },
482
+ "cancelButtonProps": {
483
+ ...contextCancelButtonProps.value,
484
+ ...props.cancelButtonProps
485
+ },
486
+ "contentClassName": mergedClassNames.body,
487
+ "contentStyle": mergedStyles.body
488
+ }), null)
489
+ }), null);
469
490
  };
470
491
  }, {
471
492
  props: /*@__PURE__*/ mergeDefaults({