@unicom-cloud/ui 0.8.71 → 0.8.73

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 (358) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +2 -2
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +2 -2
  5. package/Badge.js +2 -2
  6. package/Breadcrumb.js +3 -3
  7. package/Button.js +1 -1
  8. package/Calendar.js +1 -1
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +1 -1
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Divider.js +1 -1
  21. package/Draggable.js +1 -1
  22. package/Dropdown.js +4 -4
  23. package/Empty.js +1 -1
  24. package/Icon.js +1 -1
  25. package/IconHover.js +1 -1
  26. package/Image.js +1 -1
  27. package/InputNumber.js +1 -1
  28. package/Layout.js +1 -1
  29. package/Link.js +1 -1
  30. package/List.js +2 -2
  31. package/Mentions.js +2 -2
  32. package/Menu.js +1 -1
  33. package/Message.js +6 -5
  34. package/Modal.js +1 -1
  35. package/Notice.js +4 -4
  36. package/Notification.js +7 -6
  37. package/OverflowEllipsis.js +1 -1
  38. package/PageHeader.js +1 -1
  39. package/Popconfirm.js +2 -2
  40. package/Popover.js +2 -2
  41. package/Progress.js +1 -1
  42. package/Radio.js +1 -1
  43. package/Rate.js +2 -2
  44. package/ResizeBox.js +2 -2
  45. package/Result.js +1 -1
  46. package/SelectView.js +4 -3
  47. package/Skeleton.js +1 -1
  48. package/Slider.js +3 -3
  49. package/Space.js +1 -1
  50. package/SpeechSynthesis.js +20 -20
  51. package/Spin.js +2 -2
  52. package/Statistic.js +1 -1
  53. package/Steps.js +1 -1
  54. package/Switch.js +7 -5
  55. package/Table.js +1 -1
  56. package/Tabs.js +1 -1
  57. package/Tag.js +1 -1
  58. package/Tooltip.js +3 -3
  59. package/Transfer.js +2 -2
  60. package/Tree.js +1 -1
  61. package/Trigger.js +8 -7
  62. package/affix/index.js +2 -2
  63. package/alert/index.js +2 -2
  64. package/anchor/Anchor.js +53 -50
  65. package/anchor/Link.js +1 -1
  66. package/anchor/util.js +1 -1
  67. package/auto-complete/index.js +2 -2
  68. package/avatar/Avatar.js +1 -1
  69. package/avatar/Group.js +1 -1
  70. package/back-top/index.js +2 -2
  71. package/badge/Count.js +1 -1
  72. package/badge/index.js +50 -48
  73. package/breadcrumb/index.js +3 -3
  74. package/button/Group.js +1 -1
  75. package/button/index.js +1 -1
  76. package/calendar/index.js +2 -2
  77. package/card/Grid.js +1 -1
  78. package/card/Meta.js +1 -1
  79. package/card/index.js +1 -1
  80. package/carousel/Arrow.js +1 -1
  81. package/carousel/Indicator.js +1 -1
  82. package/carousel/index.js +1 -1
  83. package/cascader/Cascader.js +4 -4
  84. package/cascader/index.js +1 -1
  85. package/cascader/util.js +1 -1
  86. package/checkbox/Checkbox.js +3 -3
  87. package/checkbox/Group.js +3 -3
  88. package/checkbox/index.js +1 -1
  89. package/chunk/{C5X9bDyX.js → 7HDzVe32.js} +7 -7
  90. package/chunk/{BlElSWJg.js → B0UZ1Ee2.js} +3 -3
  91. package/chunk/{b1e8awfs.js → B0n0iRhF.js} +1 -1
  92. package/chunk/{BzPNDYAX.js → B7hulkj9.js} +2 -2
  93. package/chunk/Bj4EV0eG.js +27 -0
  94. package/chunk/{Bfq4YEcr.js → Bmvhjhzq.js} +9 -8
  95. package/chunk/Byd0ztYY.js +724 -0
  96. package/chunk/{URXCKjXr.js → C0pRaDCf.js} +23 -23
  97. package/chunk/{B4JiMp8I.js → CCVU-Kst.js} +8 -2
  98. package/chunk/{ClaNycDy.js → Cc_-i0o_.js} +2 -2
  99. package/chunk/CiY7w1ZO.js +647 -0
  100. package/chunk/{fFjj2KuF.js → Cj2SQJiO.js} +392 -414
  101. package/chunk/Coz3rCng.js +33 -0
  102. package/chunk/{BHL-PzAD.js → CplLA01W.js} +17 -17
  103. package/chunk/{8V534cS3.js → D2LLXZQX.js} +5 -7
  104. package/chunk/DAAff-FT.js +59 -0
  105. package/chunk/{CQTxhsUk.js → DJDOFlqC.js} +2 -2
  106. package/chunk/DU1RCDfh.js +29 -0
  107. package/chunk/{CdaT1b_F.js → DeV0v__J.js} +2 -2
  108. package/chunk/{I1dqAgn_.js → DejjIa3N.js} +176 -173
  109. package/chunk/{C6AJxF7d.js → Dg0M2OmF.js} +125 -125
  110. package/chunk/{DV7ywe_q.js → RS6OAxzv.js} +2 -2
  111. package/chunk/{CUs1AOCZ.js → UDX9U6M7.js} +3 -3
  112. package/chunk/{Biupwn8l.js → ZrBrCzQX.js} +6 -5
  113. package/chunk/{pEI3aB9Z.js → oHDWCJnz.js} +3 -3
  114. package/chunk/{D2DSUGNT.js → uH6uxyao.js} +1 -1
  115. package/chunk/{D090jlwP.js → xAb6ZgqS.js} +1 -1
  116. package/collapse/Collapse.js +3 -3
  117. package/collapse/Item.js +3 -3
  118. package/collapse/index.js +1 -1
  119. package/color-picker/ControlBar.js +1 -1
  120. package/color-picker/InputAlpha.js +1 -1
  121. package/color-picker/InputHex.js +8 -8
  122. package/color-picker/InputRgb.js +6 -6
  123. package/color-picker/Palette.js +2 -2
  124. package/color-picker/Panel.js +16 -16
  125. package/color-picker/colors.js +4 -4
  126. package/color-picker/index.js +3 -3
  127. package/color-picker/utils.js +1 -1
  128. package/comment/index.js +1 -1
  129. package/config-provider/ConfigProvider.js +2 -2
  130. package/config-provider/context.js +1 -1
  131. package/config-provider/index.js +2 -2
  132. package/copy/index.js +1 -1
  133. package/date-picker/Picker.js +1 -1
  134. package/date-picker/PickerRange.js +2 -2
  135. package/date-picker/index.js +1 -1
  136. package/descriptions/index.js +2 -2
  137. package/divider/index.js +1 -1
  138. package/draggable/index.js +1 -1
  139. package/drawer/Drawer.js +121 -111
  140. package/dropdown/Button.js +1 -1
  141. package/dropdown/index.js +4 -4
  142. package/empty/index.js +1 -1
  143. package/form/Form.js +2 -2
  144. package/form/FormItem.js +2 -2
  145. package/form/promisify.js +9 -8
  146. package/form/store.js +1 -1
  147. package/form/util.js +1 -1
  148. package/grid/Col.js +1 -1
  149. package/grid/Row.js +2 -2
  150. package/grid/grid-item.js +2 -2
  151. package/grid/grid.js +2 -2
  152. package/hooks/index.js +5 -5
  153. package/hooks/useInView.js +1 -1
  154. package/hooks/useIntersectionObserver.js +1 -1
  155. package/hooks/useMergeValue.js +1 -1
  156. package/hooks/useOverflowHidden.js +1 -1
  157. package/hooks/useOverrideRef.js +1 -1
  158. package/hooks/useVerificationCode.js +2 -2
  159. package/icon/index.js +1 -1
  160. package/icon-hover/index.js +1 -1
  161. package/image/Image.js +4 -4
  162. package/image/ImagePreview.js +8 -8
  163. package/image/ImagePreviewArrow.js +1 -1
  164. package/image/ImagePreviewGroup.js +2 -2
  165. package/image/index.js +1 -1
  166. package/index.js +591 -571
  167. package/input/Group.js +1 -1
  168. package/input/Input.js +47 -46
  169. package/input/InputElement.js +3 -3
  170. package/input/Password.js +2 -2
  171. package/input/Search.js +2 -2
  172. package/input/Textarea.js +6 -5
  173. package/input-number/index.js +1 -1
  174. package/input-tag/InputTag.js +52 -50
  175. package/layout/Content.js +1 -1
  176. package/layout/Footer.js +1 -1
  177. package/layout/Header.js +1 -1
  178. package/layout/Sider.js +3 -3
  179. package/layout/index.js +1 -1
  180. package/link/index.js +1 -1
  181. package/list/Item.js +1 -1
  182. package/list/Meta.js +1 -1
  183. package/list/index.js +2 -2
  184. package/locale/en-US.js +1 -1
  185. package/locale/tr-TR.js +1 -1
  186. package/mentions/index.js +2 -2
  187. package/menu/Item.js +1 -1
  188. package/menu/Menu.js +3 -3
  189. package/menu/OverflowWrap.js +1 -1
  190. package/menu/index.js +2 -2
  191. package/message/index.js +6 -5
  192. package/message/useMessage.js +1 -1
  193. package/modal/Confirm.js +2 -2
  194. package/modal/Modal.js +8 -7
  195. package/modal/index.js +1 -1
  196. package/notice/index.js +4 -4
  197. package/notification/index.js +7 -6
  198. package/notification/useNotification.js +1 -1
  199. package/overflow-ellipsis/OverflowItem.js +1 -1
  200. package/overflow-ellipsis/index.js +1 -1
  201. package/package.json +1 -1
  202. package/page-header/index.js +1 -1
  203. package/pagination/PageItem.js +1 -1
  204. package/pagination/PageJumper.js +1 -1
  205. package/pagination/PageOption.js +1 -1
  206. package/pagination/Pagination.js +2 -2
  207. package/picker/Input.js +1 -1
  208. package/picker/InputRange.js +1 -1
  209. package/popconfirm/index.js +2 -2
  210. package/popover/index.js +2 -2
  211. package/progress/index.js +1 -1
  212. package/radio/Group.js +3 -3
  213. package/radio/Radio.js +3 -3
  214. package/radio/index.js +2 -2
  215. package/rate/index.js +26 -26
  216. package/resize-box/ResizeTrigger.js +21 -20
  217. package/resize-box/Split.js +1 -1
  218. package/resize-box/SplitGroup.js +1 -1
  219. package/resize-box/index.js +2 -2
  220. package/result/index.js +1 -1
  221. package/select/Option.js +1 -1
  222. package/select/Select.js +5 -4
  223. package/select/util.js +12 -12
  224. package/select-view/Core.js +3 -3
  225. package/select-view/index.js +2 -1
  226. package/skeleton/index.js +1 -1
  227. package/slider/Button.js +2 -2
  228. package/slider/Tick.js +1 -1
  229. package/slider/index.js +19 -19
  230. package/slider/util.js +8 -8
  231. package/space/index.js +1 -1
  232. package/speech-synthesis/index.js +20 -20
  233. package/spin/DotLoading.js +1 -1
  234. package/spin/index.js +2 -2
  235. package/statistic/Countdown.js +1 -1
  236. package/statistic/index.js +1 -1
  237. package/steps/index.js +1 -1
  238. package/style/variables.less +1 -1
  239. package/style.css +1 -1
  240. package/switch/index.js +16 -14
  241. package/table/Table.js +2 -2
  242. package/table/index.js +3 -3
  243. package/tabs/Tab.js +3 -3
  244. package/tabs/TabContent.js +2 -2
  245. package/tabs/TabPane.js +1 -1
  246. package/tabs/index.js +2 -2
  247. package/tag/index.js +1 -1
  248. package/time-picker/Picker.js +1 -1
  249. package/time-picker/TimePicker.js +1 -1
  250. package/timeline/Item.js +1 -1
  251. package/timeline/Timeline.js +1 -1
  252. package/tooltip/index.js +3 -3
  253. package/transfer/Item.js +2 -2
  254. package/transfer/List.js +2 -2
  255. package/transfer/index.js +2 -2
  256. package/tree/Animation.js +3 -3
  257. package/tree/Node.js +3 -3
  258. package/tree/NodeList.js +2 -2
  259. package/tree/Tree.js +3 -3
  260. package/tree/index.js +1 -1
  261. package/tree-select/Select.js +25 -25
  262. package/trigger/getPopupStyle.js +2 -2
  263. package/trigger/index.js +7 -6
  264. package/types/badge/interface.d.ts +1 -0
  265. package/types/color-picker/colors.d.ts +1 -1
  266. package/types/date-picker/util.d.ts +1 -1
  267. package/types/drawer/interface.d.ts +10 -0
  268. package/types/index.d.ts +0 -7
  269. package/types/modal/Confirm.d.ts +1 -0
  270. package/types/utils/PqbCSSTransition.d.ts +3 -0
  271. package/types/utils/caseName.d.ts +1 -0
  272. package/types/utils/className.d.ts +1 -0
  273. package/types/utils/color.d.ts +1 -0
  274. package/types/utils/computeScrollIntoView.d.ts +1 -0
  275. package/types/utils/contextHolder.d.ts +1 -0
  276. package/types/utils/copy.d.ts +1 -0
  277. package/types/utils/fileToURL.d.ts +1 -0
  278. package/types/utils/fillNBSP.d.ts +1 -0
  279. package/types/utils/getHighlightText.d.ts +1 -0
  280. package/types/utils/getHotkeyHandler.d.ts +1 -0
  281. package/types/utils/getStringLength.d.ts +1 -0
  282. package/types/utils/include.d.ts +1 -0
  283. package/types/utils/index.d.ts +29 -25
  284. package/types/utils/is.d.ts +1 -1
  285. package/types/utils/keyboardCode.d.ts +1 -0
  286. package/types/utils/math.d.ts +1 -0
  287. package/types/utils/mergeProps.d.ts +1 -0
  288. package/types/utils/mergedToString.d.ts +1 -0
  289. package/types/utils/names.d.ts +497 -81
  290. package/types/utils/omit.d.ts +1 -0
  291. package/types/utils/pick.d.ts +1 -1
  292. package/types/utils/reactTransitionGroup.d.ts +1 -0
  293. package/types/utils/responsiveObserve.d.ts +1 -0
  294. package/types/utils/saveAs.d.ts +1 -0
  295. package/types/utils/screenfull.d.ts +1 -0
  296. package/types/utils/scrollIntoView.d.ts +1 -0
  297. package/types/utils/tinycolor.d.ts +1 -0
  298. package/types/utils/tree.d.ts +1 -0
  299. package/types/utils/tween.d.ts +1 -0
  300. package/types/utils/uuid.d.ts +1 -0
  301. package/types/utils/validate.d.ts +1 -0
  302. package/types/version/index.d.ts +1 -1
  303. package/typography/Base.js +6 -5
  304. package/typography/Ellipsis.js +30 -29
  305. package/typography/Paragraph.js +1 -1
  306. package/typography/Typography.js +1 -1
  307. package/typography/index.js +28 -27
  308. package/upload/TriggerNode.js +1 -1
  309. package/upload/Upload.js +60 -58
  310. package/upload/Uploader.js +21 -21
  311. package/upload/request_.js +4 -3
  312. package/utils/PqbCSSTransition.js +5 -0
  313. package/utils/caseName.js +3 -2
  314. package/utils/className.js +3 -2
  315. package/{chunk/B6X4lnd0.js → utils/color.js} +55 -53
  316. package/utils/computeScrollIntoView.js +128 -0
  317. package/utils/contextHolder.js +3 -2
  318. package/utils/copy.js +4 -2
  319. package/utils/fileToURL.js +3 -2
  320. package/utils/fillNBSP.js +2 -1
  321. package/utils/getHighlightText.js +2 -1
  322. package/utils/getHotkeyHandler.js +2 -1
  323. package/utils/getStringLength.js +2 -1
  324. package/utils/include.js +2 -1
  325. package/utils/index.js +302 -249
  326. package/utils/is.js +104 -101
  327. package/utils/keyboardCode.js +2 -1
  328. package/utils/math.js +35 -0
  329. package/utils/mergeProps.js +2 -1
  330. package/utils/mergedToString.js +2 -1
  331. package/utils/names.js +332 -81
  332. package/utils/omit.js +2 -1
  333. package/utils/pick.js +1 -0
  334. package/utils/react19Adapter.js +1 -1
  335. package/utils/reactDOM.js +1 -1
  336. package/utils/reactTransitionGroup.js +10 -0
  337. package/utils/responsiveObserve.js +2 -1
  338. package/utils/saveAs.js +3 -2
  339. package/utils/screenfull.js +2 -1
  340. package/utils/scrollIntoView.js +4 -2
  341. package/utils/tinycolor.js +30 -0
  342. package/utils/tree.js +87 -0
  343. package/utils/tween.js +6 -0
  344. package/utils/uuid.js +5 -0
  345. package/utils/validate.js +7 -0
  346. package/verification-code/VerificationCode.js +1 -1
  347. package/version/index.js +3 -3
  348. package/virtual-list/VirtualList.js +1 -1
  349. package/watermark/Watermark.js +1 -1
  350. package/chunk/BibHFOCF.js +0 -34
  351. package/chunk/CVYWxu00.js +0 -155
  352. package/chunk/CZWGeRVA.js +0 -715
  353. package/chunk/CbLaCJmG.js +0 -26
  354. package/chunk/D-TPB2Do.js +0 -56
  355. package/chunk/Dm1NCTkX.js +0 -629
  356. package/chunk/EHx6bIK_.js +0 -98
  357. package/types/utils/CSSTransition.d.ts +0 -2
  358. package/utils/CSSTransition.js +0 -4
@@ -1,20 +1,30 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../chunk/CZWGeRVA.js";
3
+ import "../chunk/Byd0ztYY.js";
4
4
  import "../chunk/BFTV6myl.js";
5
- import "../chunk/CdaT1b_F.js";
5
+ import "../chunk/DeV0v__J.js";
6
6
  import "lodash/isEqualWith";
7
- import "../chunk/D-TPB2Do.js";
7
+ import "../chunk/DAAff-FT.js";
8
8
  import "lodash/isNumber";
9
9
  import "lodash/merge";
10
10
  import "../utils/dom.js";
11
- import "../chunk/Biupwn8l.js";
12
- import "../chunk/ClaNycDy.js";
11
+ import "../chunk/ZrBrCzQX.js";
12
+ import "../chunk/Cc_-i0o_.js";
13
13
  import "../chunk/Ce1j9KTi.js";
14
14
  import "lodash/debounce";
15
- import "../chunk/yl4BU7Sd.js";
16
- import "../chunk/B6X4lnd0.js";
15
+ import "lodash/camelCase.js";
16
+ import "lodash/capitalize.js";
17
+ import "lodash/kebabCase.js";
18
+ import "lodash/snakeCase.js";
19
+ import "lodash/startCase.js";
20
+ import "lodash/upperFirst.js";
21
+ import "../chunk/JPPo5nY_.js";
22
+ import "../utils/color.js";
23
+ import "lodash/isString.js";
17
24
  import "../chunk/tamGhTJp.js";
25
+ import "lodash/escapeRegExp";
26
+ import "lodash/isArray";
27
+ import "lodash/isString";
18
28
  import "lodash/camelCase";
19
29
  import "lodash/capitalize";
20
30
  import "lodash/cloneDeep";
@@ -29,24 +39,14 @@ import "lodash/startCase";
29
39
  import "lodash/throttle";
30
40
  import "lodash/uniq";
31
41
  import "lodash/upperFirst";
32
- import "lodash/camelCase.js";
33
- import "lodash/capitalize.js";
34
- import "lodash/kebabCase.js";
35
- import "lodash/snakeCase.js";
36
- import "lodash/startCase.js";
37
- import "lodash/upperFirst.js";
38
- import "../chunk/JPPo5nY_.js";
39
- import "lodash/isString.js";
40
- import "../chunk/fFjj2KuF.js";
41
- import "lodash/escapeRegExp";
42
- import "lodash/isArray";
43
- import "lodash/isString";
42
+ import "../chunk/yl4BU7Sd.js";
44
43
  import "lodash/isPlainObject";
44
+ import "../chunk/Cj2SQJiO.js";
45
45
  import "../chunk/Bl7BnD1R.js";
46
46
  import "../utils/throttleByRaf.js";
47
47
  import "lodash/isFunction";
48
- import "../chunk/BHL-PzAD.js";
49
48
  import "uuid";
49
+ import "../chunk/CplLA01W.js";
50
50
  import "../affix/index.js";
51
51
  import "../alert/index.js";
52
52
  import "../anchor/Anchor.js";
@@ -59,9 +59,9 @@ import "../button/index.js";
59
59
  import "../calendar/index.js";
60
60
  import "../card/index.js";
61
61
  import "../carousel/index.js";
62
- import "../chunk/I1dqAgn_.js";
63
- import "../chunk/BzPNDYAX.js";
64
- import "../chunk/BlElSWJg.js";
62
+ import "../chunk/DejjIa3N.js";
63
+ import "../chunk/B7hulkj9.js";
64
+ import "../chunk/B0UZ1Ee2.js";
65
65
  import "../comment/index.js";
66
66
  import "../copy/index.js";
67
67
  import "../date-picker/index.js";
@@ -79,8 +79,8 @@ import "../layout/index.js";
79
79
  import "../link/index.js";
80
80
  import "../list/index.js";
81
81
  import "../mentions/index.js";
82
- import "../chunk/CUs1AOCZ.js";
83
- import "../chunk/Dm1NCTkX.js";
82
+ import "../chunk/UDX9U6M7.js";
83
+ import "../chunk/CiY7w1ZO.js";
84
84
  import "../page-header/index.js";
85
85
  import "../pagination/Pagination.js";
86
86
  import "../popconfirm/index.js";
@@ -89,7 +89,7 @@ import "../portal/index.js";
89
89
  import "../progress/index.js";
90
90
  import "../color-picker/index.js";
91
91
  import "../loading/index.js";
92
- import "../chunk/CQTxhsUk.js";
92
+ import "../chunk/DJDOFlqC.js";
93
93
  import "../rate/index.js";
94
94
  import "../resize-box/index.js";
95
95
  import "../result/index.js";
@@ -104,7 +104,7 @@ import "../steps/index.js";
104
104
  import "../suspense-fallback-test/index.js";
105
105
  import "../switch/index.js";
106
106
  import "../table/index.js";
107
- import "../chunk/pEI3aB9Z.js";
107
+ import "../chunk/oHDWCJnz.js";
108
108
  import "../tag/index.js";
109
109
  import "../time-picker/index.js";
110
110
  import "../timeline/Timeline.js";
@@ -113,12 +113,13 @@ import "../transfer/index.js";
113
113
  import "../tree/Tree.js";
114
114
  import "../tree-select/Select.js";
115
115
  import "../trigger/index.js";
116
- import { TypographyEllipsis as uo } from "./index.js";
116
+ import { TypographyEllipsis as xo } from "./index.js";
117
117
  import "../upload/Upload.js";
118
118
  import "../verification-code/VerificationCode.js";
119
119
  import "../watermark/Watermark.js";
120
120
  import "../chunk/CIRG541s.js";
121
+ import "../chunk/C0pRaDCf.js";
121
122
  import "lodash/isPlainObject.js";
122
123
  export {
123
- uo as default
124
+ xo as default
124
125
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as p, useContext as c } from "react";
3
- import { a as f } from "../chunk/CZWGeRVA.js";
3
+ import { a as f } from "../chunk/Byd0ztYY.js";
4
4
  import { m as i } from "../chunk/JPPo5nY_.js";
5
5
  import l from "./Base.js";
6
6
  function g(a, r) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as c, useContext as f } from "react";
3
- import { a as i } from "../chunk/CZWGeRVA.js";
3
+ import { a as i } from "../chunk/Byd0ztYY.js";
4
4
  import { m as l } from "../chunk/JPPo5nY_.js";
5
5
  function y(o, t) {
6
6
  const { getPrefixCls: r } = f(i), s = r("typography"), { className: a, style: e, children: p } = o, m = l(s, a);
@@ -1,20 +1,30 @@
1
1
  import { jsxs as N, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as J, useContext as K, useRef as y, useState as O, useMemo as z, useEffect as E, useCallback as Q } from "react";
3
- import { a as U } from "../chunk/CZWGeRVA.js";
3
+ import { a as U } from "../chunk/Byd0ztYY.js";
4
4
  import { u as X } from "../chunk/BFTV6myl.js";
5
- import { u as Y } from "../chunk/CdaT1b_F.js";
5
+ import { u as Y } from "../chunk/DeV0v__J.js";
6
6
  import "lodash/isEqualWith";
7
- import "../chunk/D-TPB2Do.js";
7
+ import "../chunk/DAAff-FT.js";
8
8
  import "lodash/isNumber";
9
9
  import "lodash/merge";
10
10
  import { isServerRendering as Z } from "../utils/dom.js";
11
- import "../chunk/Biupwn8l.js";
12
- import "../chunk/ClaNycDy.js";
11
+ import "../chunk/ZrBrCzQX.js";
12
+ import "../chunk/Cc_-i0o_.js";
13
13
  import "../chunk/Ce1j9KTi.js";
14
14
  import "lodash/debounce";
15
- import "../chunk/yl4BU7Sd.js";
16
- import "../chunk/B6X4lnd0.js";
15
+ import "lodash/camelCase.js";
16
+ import "lodash/capitalize.js";
17
+ import "lodash/kebabCase.js";
18
+ import "lodash/snakeCase.js";
19
+ import "lodash/startCase.js";
20
+ import "lodash/upperFirst.js";
21
+ import { m as p } from "../chunk/JPPo5nY_.js";
22
+ import "../utils/color.js";
23
+ import "lodash/isString.js";
17
24
  import "../chunk/tamGhTJp.js";
25
+ import "lodash/escapeRegExp";
26
+ import "lodash/isArray";
27
+ import "lodash/isString";
18
28
  import "lodash/camelCase";
19
29
  import "lodash/capitalize";
20
30
  import "lodash/cloneDeep";
@@ -29,24 +39,14 @@ import "lodash/startCase";
29
39
  import "lodash/throttle";
30
40
  import "lodash/uniq";
31
41
  import "lodash/upperFirst";
32
- import "lodash/camelCase.js";
33
- import "lodash/capitalize.js";
34
- import "lodash/kebabCase.js";
35
- import "lodash/snakeCase.js";
36
- import "lodash/startCase.js";
37
- import "lodash/upperFirst.js";
38
- import { m as p } from "../chunk/JPPo5nY_.js";
39
- import "lodash/isString.js";
40
- import "../chunk/fFjj2KuF.js";
41
- import "lodash/escapeRegExp";
42
- import "lodash/isArray";
43
- import "lodash/isString";
42
+ import "../chunk/yl4BU7Sd.js";
44
43
  import "lodash/isPlainObject";
44
+ import "../chunk/Cj2SQJiO.js";
45
45
  import "../chunk/Bl7BnD1R.js";
46
46
  import tt from "../utils/throttleByRaf.js";
47
47
  import "lodash/isFunction";
48
- import "../chunk/BHL-PzAD.js";
49
48
  import "uuid";
49
+ import "../chunk/CplLA01W.js";
50
50
  import "../affix/index.js";
51
51
  import "../alert/index.js";
52
52
  import "../anchor/Anchor.js";
@@ -59,9 +59,9 @@ import "../button/index.js";
59
59
  import "../calendar/index.js";
60
60
  import "../card/index.js";
61
61
  import "../carousel/index.js";
62
- import "../chunk/I1dqAgn_.js";
63
- import "../chunk/BzPNDYAX.js";
64
- import "../chunk/BlElSWJg.js";
62
+ import "../chunk/DejjIa3N.js";
63
+ import "../chunk/B7hulkj9.js";
64
+ import "../chunk/B0UZ1Ee2.js";
65
65
  import "../comment/index.js";
66
66
  import "../copy/index.js";
67
67
  import "../date-picker/index.js";
@@ -79,8 +79,8 @@ import "../layout/index.js";
79
79
  import "../link/index.js";
80
80
  import "../list/index.js";
81
81
  import "../mentions/index.js";
82
- import "../chunk/CUs1AOCZ.js";
83
- import "../chunk/Dm1NCTkX.js";
82
+ import "../chunk/UDX9U6M7.js";
83
+ import "../chunk/CiY7w1ZO.js";
84
84
  import "../page-header/index.js";
85
85
  import "../pagination/Pagination.js";
86
86
  import "../popconfirm/index.js";
@@ -89,7 +89,7 @@ import "../portal/index.js";
89
89
  import "../progress/index.js";
90
90
  import "../color-picker/index.js";
91
91
  import "../loading/index.js";
92
- import "../chunk/CQTxhsUk.js";
92
+ import "../chunk/DJDOFlqC.js";
93
93
  import "../rate/index.js";
94
94
  import "../resize-box/index.js";
95
95
  import "../result/index.js";
@@ -104,7 +104,7 @@ import "../steps/index.js";
104
104
  import "../suspense-fallback-test/index.js";
105
105
  import "../switch/index.js";
106
106
  import "../table/index.js";
107
- import "../chunk/pEI3aB9Z.js";
107
+ import "../chunk/oHDWCJnz.js";
108
108
  import "../tag/index.js";
109
109
  import "../time-picker/index.js";
110
110
  import "../timeline/Timeline.js";
@@ -121,6 +121,7 @@ import "../upload/Upload.js";
121
121
  import "../verification-code/VerificationCode.js";
122
122
  import "../watermark/Watermark.js";
123
123
  import { r as mt } from "../chunk/CIRG541s.js";
124
+ import "../chunk/C0pRaDCf.js";
124
125
  import V from "lodash/isPlainObject.js";
125
126
  const nt = {
126
127
  rows: 1,
@@ -3,7 +3,7 @@ import y from "@unicom-cloud/icons/IconUiPlus";
3
3
  import A from "@unicom-cloud/icons/IconUiUpload";
4
4
  import C, { forwardRef as G, useContext as K, useState as U, useEffect as L } from "react";
5
5
  import O from "../button/index.js";
6
- import { a as R } from "../chunk/CZWGeRVA.js";
6
+ import { a as R } from "../chunk/Byd0ztYY.js";
7
7
  import { u as B } from "../chunk/XTEsYGuF.js";
8
8
  import { m as I } from "../chunk/JPPo5nY_.js";
9
9
  import { loopDirectory as H, getFiles as S } from "./util.js";
package/upload/Upload.js CHANGED
@@ -1,27 +1,29 @@
1
1
  import { jsxs as C, Fragment as T, jsx as t } from "react/jsx-runtime";
2
2
  import w from "lodash/isFunction";
3
- import re from "lodash/isNumber";
4
- import { useContext as D, forwardRef as j, useState as F, useEffect as R, isValidElement as le, useRef as K, useImperativeHandle as oe } from "react";
5
- import { a as V, I as ae } from "../chunk/CZWGeRVA.js";
3
+ import le from "lodash/isNumber";
4
+ import { useContext as D, forwardRef as j, useState as F, useEffect as R, isValidElement as re, useRef as K, useImperativeHandle as oe } from "react";
5
+ import { a as V, I as ae } from "../chunk/Byd0ztYY.js";
6
6
  import { u as se } from "../chunk/BFTV6myl.js";
7
7
  import { m as z } from "../chunk/JPPo5nY_.js";
8
8
  import { o as ce } from "../chunk/BKKEev13.js";
9
9
  import M from "../utils/warning.js";
10
10
  import { STATUS as g } from "./interface.js";
11
- import { b as de, P as W } from "../chunk/fFjj2KuF.js";
11
+ import { b as de } from "../chunk/Cj2SQJiO.js";
12
12
  import ue from "../image/ImagePreviewGroup.js";
13
+ import { P as W } from "../chunk/Bj4EV0eG.js";
13
14
  import G from "@unicom-cloud/icons/IconUiDelete";
14
15
  import me from "@unicom-cloud/icons/IconUiEye";
15
16
  import fe from "@unicom-cloud/icons/IconUiImageClose";
16
17
  import J from "@unicom-cloud/icons/IconUiUpload";
17
18
  import { l as Q } from "../chunk/CTxjmYmx.js";
18
19
  import { u as q } from "../chunk/XTEsYGuF.js";
19
- import "../chunk/D-TPB2Do.js";
20
+ import "../chunk/DAAff-FT.js";
20
21
  import he from "@unicom-cloud/icons/IconUiCheck";
21
22
  import ge from "@unicom-cloud/icons/IconUiPause";
22
23
  import Ue from "@unicom-cloud/icons/IconUiPlayArrowFill";
23
24
  import ve from "../progress/index.js";
24
25
  import S from "../tooltip/index.js";
26
+ import "../chunk/C0pRaDCf.js";
25
27
  import A from "lodash/isPlainObject.js";
26
28
  import xe from "@unicom-cloud/icons/IconUiExclamationCircleFill";
27
29
  import Ie from "@unicom-cloud/icons/IconUiFile";
@@ -32,7 +34,7 @@ import Pe from "@unicom-cloud/icons/IconUiFileVideo";
32
34
  import ye from "./Uploader.js";
33
35
  const Y = (e) => {
34
36
  var b, f, s, o, U, x;
35
- const m = q(), { file: d, prefixCls: c, progressProps: i, progressRender: r } = e, { locale: l } = D(V), { status: a, percent: P = 0 } = d, v = `${c}-list`, I = i && i.width ? { width: i.width } : {}, h = /* @__PURE__ */ C(T, { children: [
37
+ const m = q(), { file: d, prefixCls: c, progressProps: i, progressRender: l } = e, { locale: r } = D(V), { status: a, percent: P = 0 } = d, v = `${c}-list`, I = i && i.width ? { width: i.width } : {}, h = /* @__PURE__ */ C(T, { children: [
36
38
  a === g.fail && e.reuploadIcon !== null && /* @__PURE__ */ t(
37
39
  "span",
38
40
  {
@@ -43,14 +45,14 @@ const Y = (e) => {
43
45
  },
44
46
  tabIndex: 0,
45
47
  role: "button",
46
- "aria-label": (b = l == null ? void 0 : l.Upload) == null ? void 0 : b.reupload,
48
+ "aria-label": (b = r == null ? void 0 : r.Upload) == null ? void 0 : b.reupload,
47
49
  ...m({
48
50
  onPressEnter: () => {
49
51
  var n;
50
52
  (n = e.onReupload) == null || n.call(e, d);
51
53
  }
52
54
  }),
53
- children: e.reuploadIcon || (e.listType === "picture-card" ? /* @__PURE__ */ t(J, {}) : (f = l == null ? void 0 : l.Upload) == null ? void 0 : f.reupload)
55
+ children: e.reuploadIcon || (e.listType === "picture-card" ? /* @__PURE__ */ t(J, {}) : (f = r == null ? void 0 : r.Upload) == null ? void 0 : f.reupload)
54
56
  }
55
57
  ),
56
58
  a === g.success && e.successIcon !== null && /* @__PURE__ */ t("span", { className: `${c}-list-success-icon`, children: e.successIcon || /* @__PURE__ */ t(he, {}) }),
@@ -72,7 +74,7 @@ const Y = (e) => {
72
74
  {
73
75
  tabIndex: 0,
74
76
  role: "button",
75
- "aria-label": (s = l == null ? void 0 : l.Upload) == null ? void 0 : s.start,
77
+ "aria-label": (s = r == null ? void 0 : r.Upload) == null ? void 0 : s.start,
76
78
  className: `${c}-list-start-icon`,
77
79
  onClick: () => {
78
80
  var n;
@@ -84,7 +86,7 @@ const Y = (e) => {
84
86
  (n = e.onUpload) == null || n.call(e, d);
85
87
  }
86
88
  }),
87
- children: e.startIcon || /* @__PURE__ */ t(S, { content: (o = l == null ? void 0 : l.Upload) == null ? void 0 : o.start, children: /* @__PURE__ */ t(Ue, {}) })
89
+ children: e.startIcon || /* @__PURE__ */ t(S, { content: (o = r == null ? void 0 : r.Upload) == null ? void 0 : o.start, children: /* @__PURE__ */ t(Ue, {}) })
88
90
  }
89
91
  ),
90
92
  a === g.uploading && e.cancelIcon !== null && /* @__PURE__ */ t(
@@ -96,21 +98,21 @@ const Y = (e) => {
96
98
  (n = e.onAbort) == null || n.call(e, d);
97
99
  },
98
100
  tabIndex: 0,
99
- "aria-label": (U = l == null ? void 0 : l.Upload) == null ? void 0 : U.cancel,
101
+ "aria-label": (U = r == null ? void 0 : r.Upload) == null ? void 0 : U.cancel,
100
102
  ...m({
101
103
  onPressEnter: () => {
102
104
  var n;
103
105
  (n = e.onAbort) == null || n.call(e, d);
104
106
  }
105
107
  }),
106
- children: e.cancelIcon || /* @__PURE__ */ t(S, { content: (x = l == null ? void 0 : l.Upload) == null ? void 0 : x.cancel, children: /* @__PURE__ */ t(ge, {}) })
108
+ children: e.cancelIcon || /* @__PURE__ */ t(S, { content: (x = r == null ? void 0 : r.Upload) == null ? void 0 : x.cancel, children: /* @__PURE__ */ t(ge, {}) })
107
109
  }
108
110
  )
109
111
  ] })
110
112
  ] });
111
- return w(r) ? r(d, h) : h;
113
+ return w(l) ? l(d, h) : h;
112
114
  }, Ce = (e, m) => {
113
- const { disabled: d, prefixCls: c, file: i, showUploadList: r, locale: l } = e, a = q(), P = `${c}-list-item-picture`, { status: v, originFile: I } = i, [h, b] = F(i.url), f = A(r) ? r : {};
115
+ const { disabled: d, prefixCls: c, file: i, showUploadList: l, locale: r } = e, a = q(), P = `${c}-list-item-picture`, { status: v, originFile: I } = i, [h, b] = F(i.url), f = A(l) ? l : {};
114
116
  return R(() => {
115
117
  if (i.url !== void 0)
116
118
  b(i.url);
@@ -154,7 +156,7 @@ const Y = (e) => {
154
156
  className: `${c}-list-preview-icon`,
155
157
  tabIndex: 0,
156
158
  role: "button",
157
- "aria-label": l.Upload.preview,
159
+ "aria-label": r.Upload.preview,
158
160
  ...a({
159
161
  onPressEnter: () => {
160
162
  var s;
@@ -178,7 +180,7 @@ const Y = (e) => {
178
180
  },
179
181
  tabIndex: 0,
180
182
  role: "button",
181
- "aria-label": l.Upload.reupload,
183
+ "aria-label": r.Upload.reupload,
182
184
  ...a({
183
185
  onPressEnter: () => {
184
186
  var s;
@@ -197,7 +199,7 @@ const Y = (e) => {
197
199
  (s = e.onRemove) == null || s.call(e, i);
198
200
  },
199
201
  role: "button",
200
- "aria-label": l.Upload.delete,
202
+ "aria-label": r.Upload.delete,
201
203
  tabIndex: 0,
202
204
  ...a({
203
205
  onPressEnter: () => {
@@ -221,7 +223,7 @@ const Y = (e) => {
221
223
  }
222
224
  return m.indexOf("image") > -1 ? X : m.indexOf("pdf") > -1 ? $e : m.indexOf("audio") > -1 ? be : m.indexOf("video") > -1 ? Pe : Ie;
223
225
  }, Le = (e, m) => {
224
- const { prefixCls: d, disabled: c, file: i, locale: r } = e, l = `${d}-list-item-text`, a = q(), P = we(i), v = A(e.showUploadList) ? e.showUploadList : {}, I = A(v) ? v : {}, h = i.name || i.originFile && i.originFile.name, [b, f] = F(i.url);
226
+ const { prefixCls: d, disabled: c, file: i, locale: l } = e, r = `${d}-list-item-text`, a = q(), P = we(i), v = A(e.showUploadList) ? e.showUploadList : {}, I = A(v) ? v : {}, h = i.name || i.originFile && i.originFile.name, [b, f] = F(i.url);
225
227
  let s = {};
226
228
  return i.status !== g.fail && (s = {
227
229
  popupVisible: !1
@@ -251,25 +253,25 @@ const Y = (e) => {
251
253
  className: `${d}-list-item ${d}-list-item-${i.status}`,
252
254
  ref: m,
253
255
  children: [
254
- /* @__PURE__ */ C("div", { className: l, children: [
255
- e.listType === "picture-list" && /* @__PURE__ */ t("div", { className: `${l}-thumbnail`, children: w(v.imageRender) ? v.imageRender(i) : /* @__PURE__ */ t("img", { src: b }) }),
256
- /* @__PURE__ */ C("div", { className: `${l}-content`, children: [
257
- /* @__PURE__ */ C("div", { className: `${l}-name`, children: [
256
+ /* @__PURE__ */ C("div", { className: r, children: [
257
+ e.listType === "picture-list" && /* @__PURE__ */ t("div", { className: `${r}-thumbnail`, children: w(v.imageRender) ? v.imageRender(i) : /* @__PURE__ */ t("img", { src: b }) }),
258
+ /* @__PURE__ */ C("div", { className: `${r}-content`, children: [
259
+ /* @__PURE__ */ C("div", { className: `${r}-name`, children: [
258
260
  e.listType === "text" && I.fileIcon !== null && /* @__PURE__ */ t("span", { className: `${d}-list-file-icon`, children: I.fileIcon || /* @__PURE__ */ t(P, {}) }),
259
- w(v.fileName) ? /* @__PURE__ */ t("span", { className: `${l}-name-text`, children: v.fileName(i) }) : i.url ? /* @__PURE__ */ t(
261
+ w(v.fileName) ? /* @__PURE__ */ t("span", { className: `${r}-name-text`, children: v.fileName(i) }) : i.url ? /* @__PURE__ */ t(
260
262
  "a",
261
263
  {
262
264
  href: i.url,
263
265
  target: "_blank",
264
266
  rel: "noreferrer",
265
- className: `${l}-name-link`,
267
+ className: `${r}-name-link`,
266
268
  children: h
267
269
  }
268
- ) : /* @__PURE__ */ t("span", { className: `${l}-name-text`, children: h }),
270
+ ) : /* @__PURE__ */ t("span", { className: `${r}-name-text`, children: h }),
269
271
  i.status === g.fail && I.errorIcon !== null && /* @__PURE__ */ t(
270
272
  S,
271
273
  {
272
- content: (typeof i.response == "object" ? le(i.response) && i.response : i.response) || r.Upload.error,
274
+ content: (typeof i.response == "object" ? re(i.response) && i.response : i.response) || l.Upload.error,
273
275
  ...s,
274
276
  disabled: i.status !== g.fail,
275
277
  children: /* @__PURE__ */ t("span", { className: `${e.prefixCls}-list-error-icon`, children: I.errorIcon || (e.listType === "picture-card" ? /* @__PURE__ */ t(X, {}) : /* @__PURE__ */ t(xe, {})) })
@@ -299,7 +301,7 @@ const Y = (e) => {
299
301
  (o = e.onRemove) == null || o.call(e, i);
300
302
  },
301
303
  tabIndex: 0,
302
- "aria-label": r.Upload.delete,
304
+ "aria-label": l.Upload.delete,
303
305
  ...a({
304
306
  onPressEnter: () => {
305
307
  var o;
@@ -316,13 +318,13 @@ const Y = (e) => {
316
318
  const { locale: m, rtl: d } = D(V), {
317
319
  listType: c,
318
320
  fileList: i,
319
- renderUploadList: r,
320
- renderUploadItem: l,
321
+ renderUploadList: l,
322
+ renderUploadItem: r,
321
323
  prefixCls: a,
322
324
  ...P
323
325
  } = e, [v, I] = F(-1), [h, b] = F([]);
324
- if (w(r))
325
- return /* @__PURE__ */ t("div", { className: `${a}-list`, children: r(i, P) });
326
+ if (w(l))
327
+ return /* @__PURE__ */ t("div", { className: `${a}-list`, children: l(i, P) });
326
328
  const f = (o) => {
327
329
  e.imagePreview && I(o);
328
330
  };
@@ -376,7 +378,7 @@ const Y = (e) => {
376
378
  }
377
379
  }
378
380
  );
379
- return w(l) && (x = l(x, o, i)), c === "picture-card" ? /* @__PURE__ */ t(
381
+ return w(r) && (x = r(x, o, i)), c === "picture-card" ? /* @__PURE__ */ t(
380
382
  W,
381
383
  {
382
384
  timeout: { enter: 200, exit: 400 },
@@ -436,21 +438,21 @@ const k = function(e) {
436
438
  const m = [].concat(e || []).filter(Boolean);
437
439
  return m.reduce((d, c, i) => {
438
440
  if (c.uid) {
439
- const r = m.findIndex(
441
+ const l = m.findIndex(
440
442
  (a) => c.uid === a.uid && c !== a
441
443
  );
442
- M(r !== -1, "[Upload]: duplicate uid");
443
- const l = {
444
+ M(l !== -1, "[Upload]: duplicate uid");
445
+ const r = {
444
446
  status: g.success,
445
447
  percent: 100,
446
448
  ...c
447
449
  };
448
- r === -1 ? d.push(l) : d.splice(r, 1, l);
450
+ l === -1 ? d.push(r) : d.splice(l, 1, r);
449
451
  } else {
450
452
  M(!0, "[Upload]: uid is required");
451
- const r = `${String(+/* @__PURE__ */ new Date())}${i}`;
453
+ const l = `${String(+/* @__PURE__ */ new Date())}${i}`;
452
454
  d.push({
453
- uid: r,
455
+ uid: l,
454
456
  status: g.success,
455
457
  percent: 100,
456
458
  ...c
@@ -465,23 +467,23 @@ const k = function(e) {
465
467
  beforeUpload: () => !0,
466
468
  method: "post"
467
469
  }, Ee = (e, m) => {
468
- const { getPrefixCls: d, componentConfig: c, rtl: i } = D(V), r = se(
470
+ const { getPrefixCls: d, componentConfig: c, rtl: i } = D(V), l = se(
469
471
  e,
470
472
  Re,
471
473
  c == null ? void 0 : c.Upload
472
- ), l = d("upload"), a = K(), P = K(), [v, I] = F(() => "fileList" in r ? k(r.fileList) : "defaultFileList" in r ? k(r.defaultFileList) : []), h = "fileList" in r ? k(r.fileList) : v, b = (u, $) => {
474
+ ), r = d("upload"), a = K(), P = K(), [v, I] = F(() => "fileList" in l ? k(l.fileList) : "defaultFileList" in l ? k(l.defaultFileList) : []), h = "fileList" in l ? k(l.fileList) : v, b = (u, $) => {
473
475
  var y;
474
- "fileList" in r || I(u), (y = r.onChange) == null || y.call(r, u, $);
476
+ "fileList" in l || I(u), (y = l.onChange) == null || y.call(l, u, $);
475
477
  }, f = (u) => {
476
478
  u && setTimeout(() => {
477
479
  a.current && a.current.upload(u);
478
480
  }, 0);
479
481
  }, s = (u) => {
480
482
  var $;
481
- a.current && a.current.reupload(u), ($ = r.onReupload) == null || $.call(r, u);
483
+ a.current && a.current.reupload(u), ($ = l.onReupload) == null || $.call(l, u);
482
484
  }, o = (u) => {
483
485
  if (u) {
484
- const { onRemove: $ } = r;
486
+ const { onRemove: $ } = l;
485
487
  Promise.resolve(
486
488
  w($) ? $(u, h) : $
487
489
  ).then((y) => {
@@ -523,7 +525,7 @@ const k = function(e) {
523
525
  progressProps: ie,
524
526
  imagePreview: te,
525
527
  ...ne
526
- } = r, L = re(r.limit) ? { hideOnExceedLimit: !0, maxCount: r.limit } : { hideOnExceedLimit: !0, ...r.limit }, O = L.maxCount && L.maxCount <= h.length, _ = "disabled" in r ? r.disabled : !L.hideOnExceedLimit && O, B = /* @__PURE__ */ t(
528
+ } = l, L = le(l.limit) ? { hideOnExceedLimit: !0, maxCount: l.limit } : { hideOnExceedLimit: !0, ...l.limit }, O = L.maxCount && L.maxCount <= h.length, _ = "disabled" in l ? l.disabled : !L.hideOnExceedLimit && O, B = /* @__PURE__ */ t(
527
529
  "div",
528
530
  {
529
531
  ...ce(ne, [
@@ -559,13 +561,13 @@ const k = function(e) {
559
561
  "onDragLeave"
560
562
  ]),
561
563
  className: z(
562
- l,
564
+ r,
563
565
  {
564
- [`${l}-type-${x}`]: x,
565
- [`${l}-drag`]: r.drag,
566
- [`${l}-disabled`]: _,
567
- [`${l}-hide`]: L.hideOnExceedLimit && O,
568
- [`${l}-rtl`]: i
566
+ [`${r}-type-${x}`]: x,
567
+ [`${r}-drag`]: l.drag,
568
+ [`${r}-disabled`]: _,
569
+ [`${r}-hide`]: L.hideOnExceedLimit && O,
570
+ [`${r}-rtl`]: i
569
571
  },
570
572
  n
571
573
  ),
@@ -575,17 +577,17 @@ const k = function(e) {
575
577
  ye,
576
578
  {
577
579
  ref: a,
578
- ...r,
580
+ ...l,
579
581
  limit: L.maxCount,
580
582
  hide: L.hideOnExceedLimit && O,
581
583
  disabled: _,
582
- prefixCls: l,
584
+ prefixCls: r,
583
585
  fileList: h,
584
586
  onProgress: (u, $) => {
585
587
  var y;
586
- u && ("fileList" in r || I(
588
+ u && ("fileList" in l || I(
587
589
  h.map((E) => E.uid === u.uid ? u : E)
588
- ), (y = r.onProgress) == null || y.call(r, u, $));
590
+ ), (y = l.onProgress) == null || y.call(l, u, $));
589
591
  },
590
592
  onFileStatusChange: b
591
593
  }
@@ -600,7 +602,7 @@ const k = function(e) {
600
602
  imagePreview: te,
601
603
  progressProps: ie,
602
604
  showUploadList: H,
603
- disabled: r.disabled,
605
+ disabled: l.disabled,
604
606
  listType: x,
605
607
  fileList: h,
606
608
  renderUploadItem: p,
@@ -609,12 +611,12 @@ const k = function(e) {
609
611
  onAbort: U,
610
612
  onRemove: o,
611
613
  onReupload: s,
612
- onPreview: r.onPreview,
613
- prefixCls: l
614
+ onPreview: l.onPreview,
615
+ prefixCls: r
614
616
  }
615
617
  ),
616
618
  x === "picture-card" && B,
617
- r.tip && x === "picture-card" && /* @__PURE__ */ t("div", { className: `${l}-trigger-tip`, children: r.tip })
619
+ l.tip && x === "picture-card" && /* @__PURE__ */ t("div", { className: `${r}-trigger-tip`, children: l.tip })
618
620
  ] });
619
621
  }, Te = j(
620
622
  Ee