@unicom-cloud/ui 0.8.81 → 0.8.83

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 (280) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +2 -2
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +2 -2
  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 +2 -2
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +5 -4
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +7 -7
  19. package/Descriptions.js +1 -1
  20. package/Divider.js +1 -1
  21. package/Draggable.js +1 -1
  22. package/Dropdown.js +1 -1
  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/Input.js +11 -10
  28. package/InputNumber.js +1 -1
  29. package/Layout.js +1 -1
  30. package/Link.js +1 -1
  31. package/List.js +2 -2
  32. package/Mentions.js +2 -2
  33. package/Menu.js +1 -1
  34. package/Message.js +1 -1
  35. package/Modal.js +1 -1
  36. package/Notice.js +1 -1
  37. package/Notification.js +5 -5
  38. package/OverflowEllipsis.js +1 -1
  39. package/PageHeader.js +1 -1
  40. package/Pagination.js +1 -1
  41. package/Popconfirm.js +1 -1
  42. package/Popover.js +1 -1
  43. package/Progress.js +1 -1
  44. package/Radio.js +1 -1
  45. package/Rate.js +1 -1
  46. package/ResizeBox.js +1 -1
  47. package/Result.js +1 -1
  48. package/Select.js +1 -1
  49. package/Skeleton.js +1 -1
  50. package/Slider.js +1 -1
  51. package/Space.js +1 -1
  52. package/SpeechSynthesis.js +1 -1
  53. package/Spin.js +1 -1
  54. package/Statistic.js +2 -2
  55. package/Steps.js +1 -1
  56. package/Switch.js +1 -1
  57. package/Table.js +1 -1
  58. package/Tabs.js +1 -1
  59. package/Tag.js +1 -1
  60. package/Tooltip.js +1 -1
  61. package/Transfer.js +2 -2
  62. package/Tree.js +1 -1
  63. package/TreeSelect.js +1 -1
  64. package/Trigger.js +1 -1
  65. package/Typography.js +1 -1
  66. package/affix/index.js +60 -57
  67. package/alert/index.js +53 -53
  68. package/anchor/Anchor.js +72 -72
  69. package/anchor/Link.js +27 -27
  70. package/anchor/util.js +1 -1
  71. package/auto-complete/index.js +2 -2
  72. package/avatar/Avatar.js +31 -31
  73. package/avatar/Group.js +25 -25
  74. package/back-top/index.js +30 -30
  75. package/badge/index.js +37 -37
  76. package/breadcrumb/index.js +26 -26
  77. package/button/Group.js +7 -7
  78. package/button/index.js +29 -29
  79. package/calendar/index.js +2 -2
  80. package/card/Grid.js +12 -12
  81. package/card/Meta.js +17 -17
  82. package/card/index.js +44 -44
  83. package/carousel/Arrow.js +19 -19
  84. package/carousel/Indicator.js +25 -25
  85. package/carousel/index.js +77 -77
  86. package/cascader/Cascader.js +2 -2
  87. package/cascader/index.js +1 -1
  88. package/cascader/util.js +1 -1
  89. package/checkbox/Checkbox.js +2 -2
  90. package/checkbox/Group.js +2 -2
  91. package/checkbox/GroupBlock.js +2 -2
  92. package/checkbox/index.js +2 -2
  93. package/chunk/B6r8jPCd.js +6 -0
  94. package/chunk/{DLBfXSnU.js → BmulTYLW.js} +2880 -2878
  95. package/chunk/C9oo3EJI.js +692 -0
  96. package/chunk/{C5X4hOkx.js → CVSWh4ZZ.js} +80 -80
  97. package/chunk/DILUZgXW.js +1464 -0
  98. package/chunk/DSRHFFrc.js +53 -0
  99. package/chunk/{yLRv5RIK.js → DdJVL_4g.js} +181 -181
  100. package/chunk/{DYspELhF.js → DlHiTTJO.js} +223 -223
  101. package/chunk/{BG7YGUsx.js → R-uQJib2.js} +119 -119
  102. package/chunk/{DEiyXzBZ.js → ev6oHWqY.js} +63 -63
  103. package/chunk/{BNevupAU.js → uKZyjtff.js} +5 -4
  104. package/collapse/Collapse.js +2 -2
  105. package/collapse/Item.js +2 -2
  106. package/collapse/index.js +1 -1
  107. package/color-picker/ControlBar.js +36 -36
  108. package/color-picker/InputAlpha.js +11 -11
  109. package/color-picker/InputHex.js +24 -24
  110. package/color-picker/InputRgb.js +23 -23
  111. package/color-picker/Palette.js +18 -18
  112. package/color-picker/Panel.js +2 -2
  113. package/color-picker/index.js +2 -2
  114. package/comment/index.js +31 -31
  115. package/config-provider/ConfigProvider.js +5 -3
  116. package/config-provider/context.js +2 -2
  117. package/config-provider/index.js +4 -3
  118. package/copy/index.js +28 -28
  119. package/date-picker/Picker.js +276 -276
  120. package/date-picker/{PickerRange.js → RangePicker.js} +2 -2
  121. package/date-picker/index.js +26 -27
  122. package/descriptions/index.js +33 -33
  123. package/divider/index.js +12 -12
  124. package/draggable/index.js +23 -23
  125. package/drawer/Drawer.js +81 -81
  126. package/dropdown/Button.js +1 -1
  127. package/dropdown/index.js +56 -56
  128. package/empty/index.js +1 -1
  129. package/form/Form.js +76 -76
  130. package/form/FormItem.js +64 -64
  131. package/form/context.js +1 -1
  132. package/grid/Col.js +53 -53
  133. package/grid/Row.js +34 -34
  134. package/grid/grid-item.js +29 -29
  135. package/grid/grid.js +50 -50
  136. package/icon/index.js +20 -19
  137. package/icon-hover/index.js +1 -1
  138. package/image/Image.js +86 -86
  139. package/image/ImagePreview.js +2 -2
  140. package/image/ImagePreviewArrow.js +22 -22
  141. package/image/ImagePreviewGroup.js +1 -1
  142. package/image/index.js +1 -1
  143. package/index.js +498 -493
  144. package/input/Button.js +11 -0
  145. package/input/Group.js +8 -8
  146. package/input/Input.js +488 -434
  147. package/input/InputElement.js +1 -1
  148. package/input/Password.js +1 -1
  149. package/input/Search.js +1 -1
  150. package/input/Textarea.js +1 -1
  151. package/input/index.js +9 -8
  152. package/input-number/index.js +1 -1
  153. package/input-tag/InputTag.js +40 -40
  154. package/layout/Content.js +7 -7
  155. package/layout/Footer.js +9 -9
  156. package/layout/Header.js +7 -7
  157. package/layout/Sider.js +55 -55
  158. package/layout/index.js +32 -32
  159. package/link/index.js +35 -35
  160. package/list/Item.js +29 -29
  161. package/list/Meta.js +12 -12
  162. package/list/index.js +2 -2
  163. package/mentions/index.js +2 -2
  164. package/menu/Menu.js +2 -2
  165. package/menu/OverflowWrap.js +1 -1
  166. package/menu/index.js +2 -2
  167. package/message/index.js +1 -1
  168. package/message/useMessage.js +1 -1
  169. package/modal/Confirm.js +2 -2
  170. package/modal/Modal.js +2 -2
  171. package/modal/index.js +1 -1
  172. package/notice/index.js +1 -1
  173. package/notification/index.js +5 -5
  174. package/notification/useNotification.js +1 -1
  175. package/overflow-ellipsis/OverflowItem.js +12 -12
  176. package/overflow-ellipsis/index.js +24 -24
  177. package/package.json +1 -1
  178. package/page-header/index.js +38 -38
  179. package/pagination/PageItem.js +16 -16
  180. package/pagination/PageJumper.js +1 -1
  181. package/pagination/PageOption.js +2 -2
  182. package/pagination/Pagination.js +2 -2
  183. package/pagination/index.js +1 -1
  184. package/picker/Input.js +69 -69
  185. package/picker/InputRange.js +111 -111
  186. package/popconfirm/index.js +61 -61
  187. package/popover/index.js +35 -35
  188. package/progress/index.js +22 -22
  189. package/radio/Group.js +2 -2
  190. package/radio/GroupBlock.js +2 -2
  191. package/radio/Radio.js +2 -2
  192. package/radio/index.js +2 -2
  193. package/rate/index.js +49 -49
  194. package/resize-box/ResizeTrigger.js +34 -34
  195. package/resize-box/Split.js +56 -56
  196. package/resize-box/SplitGroup.js +55 -55
  197. package/resize-box/index.js +51 -51
  198. package/result/index.js +41 -41
  199. package/select/Option.js +1 -1
  200. package/select/Select.js +2 -2
  201. package/select/index.js +2 -2
  202. package/select/util.js +1 -1
  203. package/select-view/Core.js +125 -125
  204. package/skeleton/index.js +20 -20
  205. package/slider/Button.js +57 -57
  206. package/slider/index.js +116 -116
  207. package/space/index.js +46 -44
  208. package/speech-synthesis/index.js +1 -1
  209. package/spin/DotLoading.js +10 -10
  210. package/spin/index.js +44 -44
  211. package/statistic/Countdown.js +34 -34
  212. package/statistic/index.js +67 -67
  213. package/steps/index.js +55 -55
  214. package/style.css +1 -1
  215. package/switch/index.js +54 -54
  216. package/table/Table.js +3 -3
  217. package/table/index.js +1 -1
  218. package/tabs/Tab.js +2 -2
  219. package/tabs/TabContent.js +2 -2
  220. package/tabs/TabPane.js +12 -12
  221. package/tabs/index.js +2 -2
  222. package/tag/index.js +45 -45
  223. package/time-picker/Picker.js +76 -76
  224. package/time-picker/TimePicker.js +136 -136
  225. package/time-picker/index.js +8 -8
  226. package/time-picker/util.js +5 -5
  227. package/timeline/Item.js +47 -47
  228. package/timeline/Timeline.js +41 -41
  229. package/tooltip/index.js +29 -29
  230. package/transfer/Item.js +2 -2
  231. package/transfer/List.js +2 -2
  232. package/transfer/index.js +2 -2
  233. package/tree/Animation.js +2 -2
  234. package/tree/Node.js +2 -2
  235. package/tree/NodeList.js +1 -1
  236. package/tree/Tree.js +2 -2
  237. package/tree/index.js +1 -1
  238. package/tree-select/List.js +1 -1
  239. package/tree-select/Select.js +2 -2
  240. package/tree-select/index.js +2 -2
  241. package/trigger/index.js +60 -60
  242. package/types/config-provider/ConfigProvider.d.ts +2 -2
  243. package/types/config-provider/context.d.ts +1 -1
  244. package/types/date-picker/index.d.ts +8 -9
  245. package/types/date-picker/interface.d.ts +9 -9
  246. package/types/index.d.ts +2 -2
  247. package/types/input/Button.d.ts +5 -0
  248. package/types/input/Input.d.ts +4 -1
  249. package/types/input/interface.d.ts +7 -0
  250. package/types/picker/Input.d.ts +2 -2
  251. package/types/space/index.d.ts +2 -1
  252. package/types/utils/index.d.ts +1 -0
  253. package/types/utils/names.d.ts +1 -1
  254. package/types/utils/setTheme.d.ts +2 -0
  255. package/typography/Base.js +53 -53
  256. package/typography/Ellipsis.js +10 -8
  257. package/typography/Operations.js +28 -28
  258. package/typography/Paragraph.js +8 -8
  259. package/typography/Typography.js +7 -7
  260. package/typography/index.js +1 -1
  261. package/upload/TriggerNode.js +47 -47
  262. package/upload/Upload.js +184 -184
  263. package/upload/request.js +1 -1
  264. package/upload/request_.js +1 -1
  265. package/utils/constant.js +1 -1
  266. package/utils/contextHolder.js +3 -3
  267. package/utils/dom.js +1 -1
  268. package/utils/index.js +116 -114
  269. package/utils/names.js +1 -1
  270. package/utils/setDarkTheme.js +23 -22
  271. package/utils/setPrimaryColor.js +22 -16
  272. package/utils/setTheme.js +9 -0
  273. package/utils/tween.js +1 -1
  274. package/verification-code/VerificationCode.js +49 -49
  275. package/version/index.js +1 -1
  276. package/watermark/Watermark.js +24 -24
  277. package/chunk/CQvM33Vg.js +0 -724
  278. package/chunk/D0ZWT7db.js +0 -5
  279. package/chunk/yhU2zeeu.js +0 -1461
  280. /package/types/date-picker/{PickerRange.d.ts → RangePicker.d.ts} +0 -0
package/upload/Upload.js CHANGED
@@ -1,8 +1,8 @@
1
- import { jsxs as y, Fragment as T, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as P, Fragment as T, jsx as r } from "react/jsx-runtime";
2
2
  import w from "lodash/isFunction";
3
- import le from "lodash/isNumber";
4
- import { useContext as D, forwardRef as j, useState as R, useEffect as F, isValidElement as re, useRef as K, useImperativeHandle as oe } from "react";
5
- import { a as V, I as ae } from "../chunk/CQvM33Vg.js";
3
+ import re from "lodash/isNumber";
4
+ import { useContext as D, forwardRef as j, useState as R, useEffect as F, isValidElement as oe, useRef as K, useImperativeHandle as le } from "react";
5
+ import { a as V, I as ae } from "../chunk/C9oo3EJI.js";
6
6
  import { u as se } from "../chunk/BFTV6myl.js";
7
7
  import z from "@unicom-cloud/utils/class-name";
8
8
  import { o as ce } from "../chunk/BKKEev13.js";
@@ -24,39 +24,39 @@ import Ue from "@unicom-cloud/icons/IconUiPlayArrowFill";
24
24
  import ve from "../progress/index.js";
25
25
  import S from "../tooltip/index.js";
26
26
  import { isPlainObject as A } from "@unicom-cloud/utils/is";
27
- import xe from "@unicom-cloud/icons/IconUiExclamationCircleFill";
28
- import Ie from "@unicom-cloud/icons/IconUiFile";
29
- import be from "@unicom-cloud/icons/IconUiFileAudio";
27
+ import Ie from "@unicom-cloud/icons/IconUiExclamationCircleFill";
28
+ import be from "@unicom-cloud/icons/IconUiFile";
29
+ import xe from "@unicom-cloud/icons/IconUiFileAudio";
30
30
  import X from "@unicom-cloud/icons/IconUiFileImage";
31
31
  import $e from "@unicom-cloud/icons/IconUiFilePdf";
32
32
  import Ne from "@unicom-cloud/icons/IconUiFileVideo";
33
- import Pe from "./Uploader.js";
33
+ import ye from "./Uploader.js";
34
34
  const Y = (e) => {
35
- var b, f, s, o, U, x;
36
- const m = q(), { file: d, prefixCls: c, progressProps: i, progressRender: l } = e, { locale: r } = D(V), { status: a, percent: N = 0 } = d, v = `${c}-list`, I = i && i.width ? { width: i.width } : {}, h = /* @__PURE__ */ y(T, { children: [
37
- a === g.fail && e.reuploadIcon !== null && /* @__PURE__ */ t(
35
+ var x, f, s, l, U, I;
36
+ const m = q(), { file: d, prefixCls: c, progressProps: i, progressRender: t } = e, { locale: n } = D(V), { status: a, percent: N = 0 } = d, v = `${c}-list`, b = i && i.width ? { width: i.width } : {}, h = /* @__PURE__ */ P(T, { children: [
37
+ a === g.fail && e.reuploadIcon !== null && /* @__PURE__ */ r(
38
38
  "span",
39
39
  {
40
40
  className: `${c}-list-reupload-icon`,
41
41
  onClick: () => {
42
- var n;
43
- (n = e.onReupload) == null || n.call(e, d);
42
+ var o;
43
+ (o = e.onReupload) == null || o.call(e, d);
44
44
  },
45
45
  tabIndex: 0,
46
46
  role: "button",
47
- "aria-label": (b = r == null ? void 0 : r.Upload) == null ? void 0 : b.reupload,
47
+ "aria-label": (x = n == null ? void 0 : n.Upload) == null ? void 0 : x.reupload,
48
48
  ...m({
49
49
  onPressEnter: () => {
50
- var n;
51
- (n = e.onReupload) == null || n.call(e, d);
50
+ var o;
51
+ (o = e.onReupload) == null || o.call(e, d);
52
52
  }
53
53
  }),
54
- children: e.reuploadIcon || (e.listType === "picture-card" ? /* @__PURE__ */ t(J, {}) : (f = r == null ? void 0 : r.Upload) == null ? void 0 : f.reupload)
54
+ children: e.reuploadIcon || (e.listType === "picture-card" ? /* @__PURE__ */ r(J, {}) : (f = n == null ? void 0 : n.Upload) == null ? void 0 : f.reupload)
55
55
  }
56
56
  ),
57
- a === g.success && e.successIcon !== null && /* @__PURE__ */ t("span", { className: `${c}-list-success-icon`, children: e.successIcon || /* @__PURE__ */ t(he, {}) }),
58
- a !== g.success && /* @__PURE__ */ y("div", { className: `${v}-status`, style: I, children: [
59
- /* @__PURE__ */ t(
57
+ a === g.success && e.successIcon !== null && /* @__PURE__ */ r("span", { className: `${c}-list-success-icon`, children: e.successIcon || /* @__PURE__ */ r(he, {}) }),
58
+ a !== g.success && /* @__PURE__ */ P("div", { className: `${v}-status`, style: b, children: [
59
+ /* @__PURE__ */ r(
60
60
  ve,
61
61
  {
62
62
  showText: !1,
@@ -68,59 +68,59 @@ const Y = (e) => {
68
68
  ...i
69
69
  }
70
70
  ),
71
- a === g.init && e.startIcon !== null && /* @__PURE__ */ t(
71
+ a === g.init && e.startIcon !== null && /* @__PURE__ */ r(
72
72
  "span",
73
73
  {
74
74
  tabIndex: 0,
75
75
  role: "button",
76
- "aria-label": (s = r == null ? void 0 : r.Upload) == null ? void 0 : s.start,
76
+ "aria-label": (s = n == null ? void 0 : n.Upload) == null ? void 0 : s.start,
77
77
  className: `${c}-list-start-icon`,
78
78
  onClick: () => {
79
- var n;
80
- (n = e.onUpload) == null || n.call(e, d);
79
+ var o;
80
+ (o = e.onUpload) == null || o.call(e, d);
81
81
  },
82
82
  ...m({
83
83
  onPressEnter: () => {
84
- var n;
85
- (n = e.onUpload) == null || n.call(e, d);
84
+ var o;
85
+ (o = e.onUpload) == null || o.call(e, d);
86
86
  }
87
87
  }),
88
- children: e.startIcon || /* @__PURE__ */ t(S, { content: (o = r == null ? void 0 : r.Upload) == null ? void 0 : o.start, children: /* @__PURE__ */ t(Ue, {}) })
88
+ children: e.startIcon || /* @__PURE__ */ r(S, { content: (l = n == null ? void 0 : n.Upload) == null ? void 0 : l.start, children: /* @__PURE__ */ r(Ue, {}) })
89
89
  }
90
90
  ),
91
- a === g.uploading && e.cancelIcon !== null && /* @__PURE__ */ t(
91
+ a === g.uploading && e.cancelIcon !== null && /* @__PURE__ */ r(
92
92
  "span",
93
93
  {
94
94
  className: `${e.prefixCls}-list-cancel-icon`,
95
95
  onClick: () => {
96
- var n;
97
- (n = e.onAbort) == null || n.call(e, d);
96
+ var o;
97
+ (o = e.onAbort) == null || o.call(e, d);
98
98
  },
99
99
  tabIndex: 0,
100
- "aria-label": (U = r == null ? void 0 : r.Upload) == null ? void 0 : U.cancel,
100
+ "aria-label": (U = n == null ? void 0 : n.Upload) == null ? void 0 : U.cancel,
101
101
  ...m({
102
102
  onPressEnter: () => {
103
- var n;
104
- (n = e.onAbort) == null || n.call(e, d);
103
+ var o;
104
+ (o = e.onAbort) == null || o.call(e, d);
105
105
  }
106
106
  }),
107
- children: e.cancelIcon || /* @__PURE__ */ t(S, { content: (x = r == null ? void 0 : r.Upload) == null ? void 0 : x.cancel, children: /* @__PURE__ */ t(ge, {}) })
107
+ children: e.cancelIcon || /* @__PURE__ */ r(S, { content: (I = n == null ? void 0 : n.Upload) == null ? void 0 : I.cancel, children: /* @__PURE__ */ r(ge, {}) })
108
108
  }
109
109
  )
110
110
  ] })
111
111
  ] });
112
- return w(l) ? l(d, h) : h;
113
- }, ye = (e, m) => {
114
- const { disabled: d, prefixCls: c, file: i, showUploadList: l, locale: r } = e, a = q(), N = `${c}-list-item-picture`, { status: v, originFile: I } = i, [h, b] = R(i.url), f = A(l) ? l : {};
112
+ return w(t) ? t(d, h) : h;
113
+ }, Pe = (e, m) => {
114
+ const { disabled: d, prefixCls: c, file: i, showUploadList: t, locale: n } = e, a = q(), N = `${c}-list-item-picture`, { status: v, originFile: b } = i, [h, x] = R(i.url), f = A(t) ? t : {};
115
115
  return F(() => {
116
116
  if (i.url !== void 0)
117
- b(i.url);
117
+ x(i.url);
118
118
  else {
119
119
  const s = i.originFile;
120
- s && Q(s).then((o) => {
121
- b(o);
122
- }).catch((o) => {
123
- console.error(o);
120
+ s && Q(s).then((l) => {
121
+ x(l);
122
+ }).catch((l) => {
123
+ console.error(l);
124
124
  }).finally(() => {
125
125
  });
126
126
  }
@@ -129,10 +129,10 @@ const Y = (e) => {
129
129
  }, [i.url, i.originFile]), F(() => {
130
130
  var s;
131
131
  return (s = e.onChange) == null || s.call(e, { type: "url", data: h }), () => {
132
- var o;
133
- (o = e.onChange) == null || o.call(e, { type: "url", data: void 0 });
132
+ var l;
133
+ (l = e.onChange) == null || l.call(e, { type: "url", data: void 0 });
134
134
  };
135
- }, [h]), /* @__PURE__ */ t("div", { className: N, ref: m, children: v === g.uploading ? /* @__PURE__ */ t(
135
+ }, [h]), /* @__PURE__ */ r("div", { className: N, ref: m, children: v === g.uploading ? /* @__PURE__ */ r(
136
136
  Y,
137
137
  {
138
138
  onReupload: e.onReupload,
@@ -144,18 +144,18 @@ const Y = (e) => {
144
144
  progressProps: e.progressProps,
145
145
  ...f
146
146
  }
147
- ) : /* @__PURE__ */ y(T, { children: [
148
- w(f.imageRender) ? f.imageRender(i) : /* @__PURE__ */ t("img", { src: h, alt: i.name }),
149
- /* @__PURE__ */ y("div", { className: `${N}-mask`, role: "radiogroup", children: [
150
- i.status === g.fail && /* @__PURE__ */ t("div", { className: `${N}-error-tip`, children: f.errorIcon !== null && /* @__PURE__ */ t("span", { className: `${c}-list-error-icon`, children: f.errorIcon || /* @__PURE__ */ t(fe, {}) }) }),
151
- /* @__PURE__ */ y("div", { className: `${N}-operation`, children: [
152
- i.status !== g.fail && f.previewIcon !== null && /* @__PURE__ */ t(
147
+ ) : /* @__PURE__ */ P(T, { children: [
148
+ w(f.imageRender) ? f.imageRender(i) : /* @__PURE__ */ r("img", { src: h, alt: i.name }),
149
+ /* @__PURE__ */ P("div", { className: `${N}-mask`, role: "radiogroup", children: [
150
+ i.status === g.fail && /* @__PURE__ */ r("div", { className: `${N}-error-tip`, children: f.errorIcon !== null && /* @__PURE__ */ r("span", { className: `${c}-list-error-icon`, children: f.errorIcon || /* @__PURE__ */ r(fe, {}) }) }),
151
+ /* @__PURE__ */ P("div", { className: `${N}-operation`, children: [
152
+ i.status !== g.fail && f.previewIcon !== null && /* @__PURE__ */ r(
153
153
  "span",
154
154
  {
155
155
  className: `${c}-list-preview-icon`,
156
156
  tabIndex: 0,
157
157
  role: "button",
158
- "aria-label": r.Upload.preview,
158
+ "aria-label": n == null ? void 0 : n.Upload.preview,
159
159
  ...a({
160
160
  onPressEnter: () => {
161
161
  var s;
@@ -166,10 +166,10 @@ const Y = (e) => {
166
166
  var s;
167
167
  (s = e.onPreview) == null || s.call(e, i);
168
168
  },
169
- children: f.previewIcon || /* @__PURE__ */ t(me, {})
169
+ children: f.previewIcon || /* @__PURE__ */ r(me, {})
170
170
  }
171
171
  ),
172
- i.status === g.fail && f.reuploadIcon !== null && /* @__PURE__ */ t(
172
+ i.status === g.fail && f.reuploadIcon !== null && /* @__PURE__ */ r(
173
173
  "span",
174
174
  {
175
175
  className: `${e.prefixCls}-list-reupload-icon`,
@@ -179,17 +179,17 @@ const Y = (e) => {
179
179
  },
180
180
  tabIndex: 0,
181
181
  role: "button",
182
- "aria-label": r.Upload.reupload,
182
+ "aria-label": n == null ? void 0 : n.Upload.reupload,
183
183
  ...a({
184
184
  onPressEnter: () => {
185
185
  var s;
186
186
  (s = e.onReupload) == null || s.call(e, i);
187
187
  }
188
188
  }),
189
- children: f.reuploadIcon || /* @__PURE__ */ t(J, {})
189
+ children: f.reuploadIcon || /* @__PURE__ */ r(J, {})
190
190
  }
191
191
  ),
192
- !d && f.removeIcon !== null && /* @__PURE__ */ t(
192
+ !d && f.removeIcon !== null && /* @__PURE__ */ r(
193
193
  "span",
194
194
  {
195
195
  className: `${c}-list-remove-icon`,
@@ -198,7 +198,7 @@ const Y = (e) => {
198
198
  (s = e.onRemove) == null || s.call(e, i);
199
199
  },
200
200
  role: "button",
201
- "aria-label": r.Upload.delete,
201
+ "aria-label": n == null ? void 0 : n.Upload.delete,
202
202
  tabIndex: 0,
203
203
  ...a({
204
204
  onPressEnter: () => {
@@ -206,13 +206,13 @@ const Y = (e) => {
206
206
  (s = e.onRemove) == null || s.call(e, i);
207
207
  }
208
208
  }),
209
- children: f.removeIcon || /* @__PURE__ */ t(G, {})
209
+ children: f.removeIcon || /* @__PURE__ */ r(G, {})
210
210
  }
211
211
  )
212
212
  ] })
213
213
  ] })
214
214
  ] }) });
215
- }, Ce = j(ye), we = (e) => {
215
+ }, Ce = j(Pe), we = (e) => {
216
216
  let m = "";
217
217
  if (e.originFile && e.originFile.type)
218
218
  m = e.originFile.type;
@@ -220,9 +220,9 @@ const Y = (e) => {
220
220
  const c = (e.name || "").split(".").pop() || "";
221
221
  m = c, ["png", "jpg", "jpeg", "bmp", "gif"].indexOf(c) > -1 ? m = "image" : ["mp4", "m2v", "mkv"].indexOf(c) > -1 ? m = "video" : ["mp3", "wav", "wmv"].indexOf(c) > -1 && (m = "audio");
222
222
  }
223
- return m.indexOf("image") > -1 ? X : m.indexOf("pdf") > -1 ? $e : m.indexOf("audio") > -1 ? be : m.indexOf("video") > -1 ? Ne : Ie;
223
+ return m.indexOf("image") > -1 ? X : m.indexOf("pdf") > -1 ? $e : m.indexOf("audio") > -1 ? xe : m.indexOf("video") > -1 ? Ne : be;
224
224
  }, Le = (e, m) => {
225
- const { prefixCls: d, disabled: c, file: i, locale: l } = e, r = `${d}-list-item-text`, a = q(), N = we(i), v = A(e.showUploadList) ? e.showUploadList : {}, I = A(v) ? v : {}, h = i.name || i.originFile && i.originFile.name, [b, f] = R(i.url);
225
+ const { prefixCls: d, disabled: c, file: i, locale: t } = e, n = `${d}-list-item-text`, a = q(), N = we(i), v = A(e.showUploadList) ? e.showUploadList : {}, b = A(v) ? v : {}, h = i.name || i.originFile && i.originFile.name, [x, f] = R(i.url);
226
226
  let s = {};
227
227
  return i.status !== g.fail && (s = {
228
228
  popupVisible: !1
@@ -230,8 +230,8 @@ const Y = (e) => {
230
230
  if (i.url !== void 0)
231
231
  f(i.url);
232
232
  else {
233
- const o = i.originFile;
234
- o && Q(o).then((U) => {
233
+ const l = i.originFile;
234
+ l && Q(l).then((U) => {
235
235
  f(U);
236
236
  }).catch((U) => {
237
237
  console.error(U);
@@ -241,43 +241,43 @@ const Y = (e) => {
241
241
  return () => {
242
242
  };
243
243
  }, [i.url, i.originFile]), F(() => {
244
- var o;
245
- return (o = e.onChange) == null || o.call(e, { type: "url", data: b }), () => {
244
+ var l;
245
+ return (l = e.onChange) == null || l.call(e, { type: "url", data: x }), () => {
246
246
  var U;
247
247
  (U = e.onChange) == null || U.call(e, { type: "url", data: void 0 });
248
248
  };
249
- }, [b]), /* @__PURE__ */ y(
249
+ }, [x]), /* @__PURE__ */ P(
250
250
  "div",
251
251
  {
252
252
  className: `${d}-list-item ${d}-list-item-${i.status}`,
253
253
  ref: m,
254
254
  children: [
255
- /* @__PURE__ */ y("div", { className: r, children: [
256
- e.listType === "picture-list" && /* @__PURE__ */ t("div", { className: `${r}-thumbnail`, children: w(v.imageRender) ? v.imageRender(i) : /* @__PURE__ */ t("img", { src: b }) }),
257
- /* @__PURE__ */ y("div", { className: `${r}-content`, children: [
258
- /* @__PURE__ */ y("div", { className: `${r}-name`, children: [
259
- e.listType === "text" && I.fileIcon !== null && /* @__PURE__ */ t("span", { className: `${d}-list-file-icon`, children: I.fileIcon || /* @__PURE__ */ t(N, {}) }),
260
- w(v.fileName) ? /* @__PURE__ */ t("span", { className: `${r}-name-text`, children: v.fileName(i) }) : i.url ? /* @__PURE__ */ t(
255
+ /* @__PURE__ */ P("div", { className: n, children: [
256
+ e.listType === "picture-list" && /* @__PURE__ */ r("div", { className: `${n}-thumbnail`, children: w(v.imageRender) ? v.imageRender(i) : /* @__PURE__ */ r("img", { src: x }) }),
257
+ /* @__PURE__ */ P("div", { className: `${n}-content`, children: [
258
+ /* @__PURE__ */ P("div", { className: `${n}-name`, children: [
259
+ e.listType === "text" && b.fileIcon !== null && /* @__PURE__ */ r("span", { className: `${d}-list-file-icon`, children: b.fileIcon || /* @__PURE__ */ r(N, {}) }),
260
+ w(v.fileName) ? /* @__PURE__ */ r("span", { className: `${n}-name-text`, children: v.fileName(i) }) : i.url ? /* @__PURE__ */ r(
261
261
  "a",
262
262
  {
263
263
  href: i.url,
264
264
  target: "_blank",
265
265
  rel: "noreferrer",
266
- className: `${r}-name-link`,
266
+ className: `${n}-name-link`,
267
267
  children: h
268
268
  }
269
- ) : /* @__PURE__ */ t("span", { className: `${r}-name-text`, children: h }),
270
- i.status === g.fail && I.errorIcon !== null && /* @__PURE__ */ t(
269
+ ) : /* @__PURE__ */ r("span", { className: `${n}-name-text`, children: h }),
270
+ i.status === g.fail && b.errorIcon !== null && /* @__PURE__ */ r(
271
271
  S,
272
272
  {
273
- content: (typeof i.response == "object" ? re(i.response) && i.response : i.response) || l.Upload.error,
273
+ content: (typeof i.response == "object" ? oe(i.response) && i.response : i.response) || (t == null ? void 0 : t.Upload.error),
274
274
  ...s,
275
275
  disabled: i.status !== g.fail,
276
- children: /* @__PURE__ */ t("span", { className: `${e.prefixCls}-list-error-icon`, children: I.errorIcon || (e.listType === "picture-card" ? /* @__PURE__ */ t(X, {}) : /* @__PURE__ */ t(xe, {})) })
276
+ children: /* @__PURE__ */ r("span", { className: `${e.prefixCls}-list-error-icon`, children: b.errorIcon || (e.listType === "picture-card" ? /* @__PURE__ */ r(X, {}) : /* @__PURE__ */ r(Ie, {})) })
277
277
  }
278
278
  )
279
279
  ] }),
280
- /* @__PURE__ */ t(
280
+ /* @__PURE__ */ r(
281
281
  Y,
282
282
  {
283
283
  file: i,
@@ -286,28 +286,28 @@ const Y = (e) => {
286
286
  onReupload: e.onReupload,
287
287
  onUpload: e.onUpload,
288
288
  onAbort: e.onAbort,
289
- ...I
289
+ ...b
290
290
  }
291
291
  )
292
292
  ] })
293
293
  ] }),
294
- /* @__PURE__ */ t("div", { className: `${d}-list-item-operation`, children: !c && I.removeIcon !== null && /* @__PURE__ */ t(
294
+ /* @__PURE__ */ r("div", { className: `${d}-list-item-operation`, children: !c && b.removeIcon !== null && /* @__PURE__ */ r(
295
295
  ae,
296
296
  {
297
297
  className: `${d}-list-remove-icon-hover`,
298
298
  onClick: () => {
299
- var o;
300
- (o = e.onRemove) == null || o.call(e, i);
299
+ var l;
300
+ (l = e.onRemove) == null || l.call(e, i);
301
301
  },
302
302
  tabIndex: 0,
303
- "aria-label": l.Upload.delete,
303
+ "aria-label": t == null ? void 0 : t.Upload.delete,
304
304
  ...a({
305
305
  onPressEnter: () => {
306
- var o;
307
- (o = e.onRemove) == null || o.call(e, i);
306
+ var l;
307
+ (l = e.onRemove) == null || l.call(e, i);
308
308
  }
309
309
  }),
310
- children: /* @__PURE__ */ t("span", { className: `${d}-list-remove-icon`, children: I.removeIcon || /* @__PURE__ */ t(G, {}) })
310
+ children: /* @__PURE__ */ r("span", { className: `${d}-list-remove-icon`, children: b.removeIcon || /* @__PURE__ */ r(G, {}) })
311
311
  }
312
312
  ) })
313
313
  ]
@@ -317,25 +317,25 @@ const Y = (e) => {
317
317
  const { locale: m, rtl: d } = D(V), {
318
318
  listType: c,
319
319
  fileList: i,
320
- renderUploadList: l,
321
- renderUploadItem: r,
320
+ renderUploadList: t,
321
+ renderUploadItem: n,
322
322
  prefixCls: a,
323
323
  ...N
324
- } = e, [v, I] = R(-1), [h, b] = R([]);
325
- if (w(l))
326
- return /* @__PURE__ */ t("div", { className: `${a}-list`, children: l(i, N) });
327
- const f = (o) => {
328
- e.imagePreview && I(o);
324
+ } = e, [v, b] = R(-1), [h, x] = R([]);
325
+ if (w(t))
326
+ return /* @__PURE__ */ r("div", { className: `${a}-list`, children: t(i, N) });
327
+ const f = (l) => {
328
+ e.imagePreview && b(l);
329
329
  };
330
- function s(o, U, x) {
331
- (o == null ? void 0 : o.type) === "url" && [g.init, g.success].indexOf(x.status) > -1 && b((n) => {
332
- const C = [...n];
333
- return C[U] = o.data, C.filter(Boolean);
330
+ function s(l, U, I) {
331
+ (l == null ? void 0 : l.type) === "url" && [g.init, g.success].indexOf(I.status) > -1 && x((o) => {
332
+ const C = [...o];
333
+ return C[U] = l.data, C.filter(Boolean);
334
334
  });
335
335
  }
336
336
  return F(() => () => {
337
- }, []), /* @__PURE__ */ y(T, { children: [
338
- /* @__PURE__ */ t(
337
+ }, []), /* @__PURE__ */ P(T, { children: [
338
+ /* @__PURE__ */ r(
339
339
  de,
340
340
  {
341
341
  className: z(
@@ -345,88 +345,88 @@ const Y = (e) => {
345
345
  [`${a}-list-rtl`]: d
346
346
  }
347
347
  ),
348
- children: i.map((o, U) => {
349
- let x = c === "picture-card" ? /* @__PURE__ */ t(
348
+ children: i.map((l, U) => {
349
+ let I = c === "picture-card" ? /* @__PURE__ */ r(
350
350
  "div",
351
351
  {
352
- className: `${a}-list-item ${a}-list-item-${o.status}`,
353
- children: /* @__PURE__ */ t(
352
+ className: `${a}-list-item ${a}-list-item-${l.status}`,
353
+ children: /* @__PURE__ */ r(
354
354
  Ce,
355
355
  {
356
356
  ...e,
357
- onPreview: (n) => {
357
+ onPreview: (o) => {
358
358
  var C;
359
- f(U), (C = e.onPreview) == null || C.call(e, n);
359
+ f(U), (C = e.onPreview) == null || C.call(e, o);
360
360
  },
361
- file: o,
361
+ file: l,
362
362
  locale: m,
363
- onChange: (n) => {
364
- s(n, U, o);
363
+ onChange: (o) => {
364
+ s(o, U, l);
365
365
  }
366
366
  }
367
367
  )
368
368
  }
369
- ) : /* @__PURE__ */ t(
369
+ ) : /* @__PURE__ */ r(
370
370
  Re,
371
371
  {
372
372
  ...e,
373
- file: o,
373
+ file: l,
374
374
  locale: m,
375
- onChange: (n) => {
376
- s(n, U, o);
375
+ onChange: (o) => {
376
+ s(o, U, l);
377
377
  }
378
378
  }
379
379
  );
380
- return w(r) && (x = r(x, o, i)), c === "picture-card" ? /* @__PURE__ */ t(
380
+ return w(n) && (I = n(I, l, i)), c === "picture-card" ? /* @__PURE__ */ r(
381
381
  W,
382
382
  {
383
383
  timeout: { enter: 200, exit: 400 },
384
384
  classNames: `${a}-slide-inline`,
385
- onEntered: (n) => {
386
- n && (n.style.width = "");
385
+ onEntered: (o) => {
386
+ o && (o.style.width = "");
387
387
  },
388
- onExit: (n) => {
389
- n && (n.style.width = `${n.scrollWidth}px`);
388
+ onExit: (o) => {
389
+ o && (o.style.width = `${o.scrollWidth}px`);
390
390
  },
391
- onExiting: (n) => {
392
- n && (n.style.width = 0);
391
+ onExiting: (o) => {
392
+ o && (o.style.width = 0);
393
393
  },
394
- onExited: (n) => {
395
- n && (n.style.width = 0);
394
+ onExited: (o) => {
395
+ o && (o.style.width = 0);
396
396
  },
397
- children: x
397
+ children: I
398
398
  },
399
- o.uid
400
- ) : /* @__PURE__ */ t(
399
+ l.uid
400
+ ) : /* @__PURE__ */ r(
401
401
  W,
402
402
  {
403
403
  timeout: { enter: 200, exit: 400 },
404
404
  classNames: `${a}-slide-up`,
405
- onExit: (n) => {
406
- n && (n.style.height = `${n.scrollHeight}px`);
405
+ onExit: (o) => {
406
+ o && (o.style.height = `${o.scrollHeight}px`);
407
407
  },
408
- onExiting: (n) => {
409
- n && (n.style.height = 0);
408
+ onExiting: (o) => {
409
+ o && (o.style.height = 0);
410
410
  },
411
- onExited: (n) => {
412
- n && (n.style.height = 0);
411
+ onExited: (o) => {
412
+ o && (o.style.height = 0);
413
413
  },
414
- children: x
414
+ children: I
415
415
  },
416
- o.uid
416
+ l.uid
417
417
  );
418
418
  })
419
419
  }
420
420
  ),
421
- c === "picture-card" && e.imagePreview && /* @__PURE__ */ t(
421
+ c === "picture-card" && e.imagePreview && /* @__PURE__ */ r(
422
422
  ue,
423
423
  {
424
424
  srcList: h,
425
425
  visible: v !== -1,
426
426
  current: v,
427
427
  onChange: f,
428
- onVisibleChange: (o) => {
429
- f(o ? v : -1);
428
+ onVisibleChange: (l) => {
429
+ f(l ? v : -1);
430
430
  }
431
431
  }
432
432
  )
@@ -437,21 +437,21 @@ const k = function(e) {
437
437
  const m = [].concat(e || []).filter(Boolean);
438
438
  return m.reduce((d, c, i) => {
439
439
  if (c.uid) {
440
- const l = m.findIndex(
440
+ const t = m.findIndex(
441
441
  (a) => c.uid === a.uid && c !== a
442
442
  );
443
- M(l !== -1, "[Upload]: duplicate uid");
444
- const r = {
443
+ M(t !== -1, "[Upload]: duplicate uid");
444
+ const n = {
445
445
  status: g.success,
446
446
  percent: 100,
447
447
  ...c
448
448
  };
449
- l === -1 ? d.push(r) : d.splice(l, 1, r);
449
+ t === -1 ? d.push(n) : d.splice(t, 1, n);
450
450
  } else {
451
451
  M(!0, "[Upload]: uid is required");
452
- const l = `${String(+/* @__PURE__ */ new Date())}${i}`;
452
+ const t = `${String(+/* @__PURE__ */ new Date())}${i}`;
453
453
  d.push({
454
- uid: l,
454
+ uid: t,
455
455
  status: g.success,
456
456
  percent: 100,
457
457
  ...c
@@ -466,42 +466,42 @@ const k = function(e) {
466
466
  beforeUpload: () => !0,
467
467
  method: "post"
468
468
  }, Ee = (e, m) => {
469
- const { getPrefixCls: d, componentConfig: c, rtl: i } = D(V), l = se(
469
+ const { getPrefixCls: d, componentConfig: c, rtl: i } = D(V), t = se(
470
470
  e,
471
471
  Fe,
472
472
  c == null ? void 0 : c.Upload
473
- ), r = d("upload"), a = K(), N = K(), [v, I] = R(() => "fileList" in l ? k(l.fileList) : "defaultFileList" in l ? k(l.defaultFileList) : []), h = "fileList" in l ? k(l.fileList) : v, b = (u, $) => {
474
- var P;
475
- "fileList" in l || I(u), (P = l.onChange) == null || P.call(l, u, $);
473
+ ), n = d == null ? void 0 : d("upload"), a = K(), N = K(), [v, b] = R(() => "fileList" in t ? k(t.fileList) : "defaultFileList" in t ? k(t.defaultFileList) : []), h = "fileList" in t ? k(t.fileList) : v, x = (u, $) => {
474
+ var y;
475
+ "fileList" in t || b(u), (y = t.onChange) == null || y.call(t, u, $);
476
476
  }, f = (u) => {
477
477
  u && setTimeout(() => {
478
478
  a.current && a.current.upload(u);
479
479
  }, 0);
480
480
  }, s = (u) => {
481
481
  var $;
482
- a.current && a.current.reupload(u), ($ = l.onReupload) == null || $.call(l, u);
483
- }, o = (u) => {
482
+ a.current && a.current.reupload(u), ($ = t.onReupload) == null || $.call(t, u);
483
+ }, l = (u) => {
484
484
  if (u) {
485
- const { onRemove: $ } = l;
485
+ const { onRemove: $ } = t;
486
486
  Promise.resolve(
487
487
  w($) ? $(u, h) : $
488
- ).then((P) => {
489
- P !== !1 && (a.current && a.current.abort(u), b(
488
+ ).then((y) => {
489
+ y !== !1 && (a.current && a.current.abort(u), x(
490
490
  h.filter((E) => E.uid !== u.uid),
491
491
  u
492
492
  ));
493
- }).catch((P) => {
494
- console.error(P);
493
+ }).catch((y) => {
494
+ console.error(y);
495
495
  });
496
496
  }
497
497
  }, U = (u) => {
498
498
  u && a.current && a.current.abort(u);
499
499
  };
500
- oe(m, () => ({
500
+ le(m, () => ({
501
501
  submit: (u) => {
502
502
  let $ = [];
503
- u ? $ = [u] : $ = h.filter((P) => P.status === g.init), $.forEach((P) => {
504
- f(P);
503
+ u ? $ = [u] : $ = h.filter((y) => y.status === g.init), $.forEach((y) => {
504
+ f(y);
505
505
  });
506
506
  },
507
507
  // file: fileList中的file对象
@@ -515,8 +515,8 @@ const k = function(e) {
515
515
  getRootDOMNode: () => N.current
516
516
  }));
517
517
  const {
518
- listType: x,
519
- className: n,
518
+ listType: I,
519
+ className: o,
520
520
  style: C,
521
521
  renderUploadItem: p,
522
522
  showUploadList: H,
@@ -524,7 +524,7 @@ const k = function(e) {
524
524
  progressProps: ie,
525
525
  imagePreview: te,
526
526
  ...ne
527
- } = 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
+ } = t, L = re(t.limit) ? { hideOnExceedLimit: !0, maxCount: t.limit } : { hideOnExceedLimit: !0, ...t.limit }, O = L.maxCount && L.maxCount <= h.length, _ = "disabled" in t ? t.disabled : !L.hideOnExceedLimit && O, B = /* @__PURE__ */ r(
528
528
  "div",
529
529
  {
530
530
  ...ce(ne, [
@@ -560,62 +560,62 @@ const k = function(e) {
560
560
  "onDragLeave"
561
561
  ]),
562
562
  className: z(
563
- r,
563
+ n,
564
564
  {
565
- [`${r}-type-${x}`]: x,
566
- [`${r}-drag`]: l.drag,
567
- [`${r}-disabled`]: _,
568
- [`${r}-hide`]: L.hideOnExceedLimit && O,
569
- [`${r}-rtl`]: i
565
+ [`${n}-type-${I}`]: I,
566
+ [`${n}-drag`]: t.drag,
567
+ [`${n}-disabled`]: _,
568
+ [`${n}-hide`]: L.hideOnExceedLimit && O,
569
+ [`${n}-rtl`]: i
570
570
  },
571
- n
571
+ o
572
572
  ),
573
573
  style: C,
574
574
  ref: N,
575
- children: /* @__PURE__ */ t(
576
- Pe,
575
+ children: /* @__PURE__ */ r(
576
+ ye,
577
577
  {
578
578
  ref: a,
579
- ...l,
579
+ ...t,
580
580
  limit: L.maxCount,
581
581
  hide: L.hideOnExceedLimit && O,
582
582
  disabled: _,
583
- prefixCls: r,
583
+ prefixCls: n,
584
584
  fileList: h,
585
585
  onProgress: (u, $) => {
586
- var P;
587
- u && ("fileList" in l || I(
586
+ var y;
587
+ u && ("fileList" in t || b(
588
588
  h.map((E) => E.uid === u.uid ? u : E)
589
- ), (P = l.onProgress) == null || P.call(l, u, $));
589
+ ), (y = t.onProgress) == null || y.call(t, u, $));
590
590
  },
591
- onFileStatusChange: b
591
+ onFileStatusChange: x
592
592
  }
593
593
  )
594
594
  }
595
595
  );
596
- return /* @__PURE__ */ y(T, { children: [
597
- x !== "picture-card" && B,
598
- H && /* @__PURE__ */ t(
596
+ return /* @__PURE__ */ P(T, { children: [
597
+ I !== "picture-card" && B,
598
+ H && /* @__PURE__ */ r(
599
599
  Z,
600
600
  {
601
601
  imagePreview: te,
602
602
  progressProps: ie,
603
603
  showUploadList: H,
604
- disabled: l.disabled,
605
- listType: x,
604
+ disabled: t.disabled,
605
+ listType: I,
606
606
  fileList: h,
607
607
  renderUploadItem: p,
608
608
  renderUploadList: ee,
609
609
  onUpload: f,
610
610
  onAbort: U,
611
- onRemove: o,
611
+ onRemove: l,
612
612
  onReupload: s,
613
- onPreview: l.onPreview,
614
- prefixCls: r
613
+ onPreview: t.onPreview,
614
+ prefixCls: n
615
615
  }
616
616
  ),
617
- x === "picture-card" && B,
618
- l.tip && x === "picture-card" && /* @__PURE__ */ t("div", { className: `${r}-trigger-tip`, children: l.tip })
617
+ I === "picture-card" && B,
618
+ t.tip && I === "picture-card" && /* @__PURE__ */ r("div", { className: `${n}-trigger-tip`, children: t.tip })
619
619
  ] });
620
620
  }, Te = j(
621
621
  Ee