@unicom-cloud/ui 0.8.55 → 0.8.56

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 (428) hide show
  1. package/Affix.js +36 -36
  2. package/Alert.js +41 -45
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +40 -40
  5. package/Avatar.js +36 -36
  6. package/BackTop.js +26 -26
  7. package/Badge.js +43 -43
  8. package/Breadcrumb.js +17 -17
  9. package/Button.js +42 -42
  10. package/Calendar.js +54 -56
  11. package/Card.js +28 -28
  12. package/Carousel.js +42 -43
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +11 -580
  17. package/Comment.js +14 -14
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +26 -26
  20. package/DatePicker.js +661 -670
  21. package/Descriptions.js +53 -53
  22. package/Divider.js +15 -15
  23. package/Draggable.js +16 -16
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +10 -10
  26. package/Empty.js +3 -3
  27. package/Form.js +10 -1410
  28. package/Grid.js +49 -49
  29. package/Icon.js +10 -10
  30. package/IconHover.js +2 -2
  31. package/Image.js +1 -1
  32. package/Input.js +1 -1
  33. package/InputNumber.js +7 -7
  34. package/InputTag.js +1 -1
  35. package/Layout.js +34 -34
  36. package/Link.js +26 -26
  37. package/List.js +39 -39
  38. package/Mentions.js +17 -17
  39. package/Menu.js +1 -1
  40. package/Message.js +3 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +4 -10
  43. package/Notification.js +3 -3
  44. package/OverflowEllipsis.js +18 -18
  45. package/PageHeader.js +26 -27
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +15 -15
  49. package/Popover.js +22 -22
  50. package/Progress.js +18 -18
  51. package/Radio.js +2 -2
  52. package/Rate.js +40 -43
  53. package/ResizeBox.js +191 -192
  54. package/Result.js +17 -17
  55. package/Select.js +1 -1
  56. package/SelectView.js +56 -56
  57. package/Skeleton.js +35 -35
  58. package/Slider.js +81 -81
  59. package/Space.js +27 -27
  60. package/SpeechSynthesis.js +29 -32
  61. package/Spin.js +15 -15
  62. package/Statistic.js +54 -54
  63. package/Steps.js +44 -44
  64. package/Switch.js +39 -38
  65. package/Table.js +488 -488
  66. package/Tabs.js +1 -1
  67. package/Tag.js +13 -14
  68. package/TimePicker.js +68 -68
  69. package/Timeline.js +1 -1
  70. package/Tooltip.js +27 -28
  71. package/Transfer.js +29 -30
  72. package/Tree.js +1 -1
  73. package/TreeSelect.js +1 -1
  74. package/Trigger.js +53 -52
  75. package/Typography.js +2 -737
  76. package/Upload.js +1 -1
  77. package/VerificationCode.js +1 -1
  78. package/Version.js +1 -1
  79. package/Watermark.js +1 -1
  80. package/chunk/1mEO29GP.js +23 -0
  81. package/chunk/5pZ3ayqs.js +29 -0
  82. package/chunk/9Gh1afjL.js +23 -0
  83. package/chunk/B1S1OEw6.js +29 -0
  84. package/chunk/{RRWbBHK-.js → B2Bp3i5u.js} +221 -221
  85. package/chunk/B45v5S9k.js +209 -0
  86. package/chunk/B6fn5y_s.js +23 -0
  87. package/chunk/B9PsJar0.js +118 -0
  88. package/chunk/BA02BFUV.js +41 -0
  89. package/chunk/BCk8e9fj.js +29 -0
  90. package/chunk/BHK9zpXn.js +207 -0
  91. package/chunk/BHLTzWzi.js +29 -0
  92. package/chunk/BK1FKNAX.js +41 -0
  93. package/chunk/BM6dpkeM.js +32 -0
  94. package/chunk/{DQ3uFRJD.js → BP7xX86Q.js} +223 -202
  95. package/chunk/BWx1cVT_.js +66 -0
  96. package/chunk/BbI3gqVr.js +23 -0
  97. package/chunk/{CIc4yo9k.js → BbYzi8M0.js} +46 -46
  98. package/chunk/Be7oeWU8.js +34 -0
  99. package/chunk/BeM2hfks.js +88 -0
  100. package/chunk/BkHxm4sv.js +41 -0
  101. package/chunk/{BUQBof6z.js → Bl-ODC57.js} +206 -207
  102. package/chunk/BlKc_pDZ.js +678 -0
  103. package/chunk/{BzqZZHGK.js → Bny52uiG.js} +48 -48
  104. package/chunk/{PuuHmqnW.js → BpwDupra.js} +238 -238
  105. package/chunk/BqxwlITu.js +52 -0
  106. package/chunk/BuEC_zcc.js +278 -0
  107. package/chunk/{CqcZfQQ4.js → Bv8ZRDFt.js} +80 -80
  108. package/chunk/{DZGcv_9A.js → C-w9pFY-.js} +32 -32
  109. package/chunk/C2fspJbE.js +23 -0
  110. package/chunk/C7Okdv4u.js +34 -0
  111. package/chunk/C95ipQ6b.js +41 -0
  112. package/chunk/{BzMYgxgO.js → CF3Telny.js} +26 -26
  113. package/chunk/CPl52AZh.js +206 -0
  114. package/chunk/CXNW5Y2a.js +23 -0
  115. package/chunk/Cb_oWoGj.js +40 -0
  116. package/chunk/CcX2pBUh.js +46 -0
  117. package/chunk/{BdJcAQ0Q.js → CggcswbO.js} +18 -18
  118. package/chunk/CilQ012k.js +1796 -0
  119. package/chunk/CkAOsst1.js +73 -0
  120. package/chunk/CnY8SvgY.js +126 -0
  121. package/chunk/{CTSIr-Pr.js → CwXmtKib.js} +89 -101
  122. package/chunk/{C3I_L73_.js → CwjaGytU.js} +39 -40
  123. package/chunk/{DTgc2wl4.js → D6RTBH4C.js} +36 -36
  124. package/chunk/D6mVoX-C.js +116 -0
  125. package/chunk/D9TqtOhq.js +40 -0
  126. package/chunk/{CZ8iz63Z.js → DBJ8d0o0.js} +210 -217
  127. package/chunk/{RL1SNlng.js → DDda6s72.js} +16 -16
  128. package/chunk/{BH5fVprw.js → DJmWXheU.js} +9 -9
  129. package/chunk/DPvnQJ-H.js +52 -0
  130. package/chunk/DQXq1QT0.js +58 -0
  131. package/chunk/DRJO1GfY.js +855 -0
  132. package/chunk/DUxWiN2U.js +1465 -0
  133. package/chunk/DYZzQ2uT.js +29 -0
  134. package/chunk/{CK0H_Yi4.js → DafaH1Qt.js} +140 -138
  135. package/chunk/{ShWkfsJd.js → DalIRWr7.js} +21 -21
  136. package/chunk/{CzTYWtfa.js → Dg2DmtzA.js} +31 -30
  137. package/chunk/DhLbnw3R.js +29 -0
  138. package/chunk/{BmtF7P8U.js → DkIjpuBZ.js} +170 -170
  139. package/chunk/Do1aMgY3.js +12 -0
  140. package/chunk/Dtnux4qL.js +38 -0
  141. package/chunk/{Niaq_og8.js → Dw4SJ4o1.js} +219 -225
  142. package/chunk/{DbtCtriE.js → DxNRWF67.js} +30 -31
  143. package/chunk/JnyGFb5j.js +284 -0
  144. package/chunk/Lk60-jkf.js +1098 -0
  145. package/chunk/V_IcWDFx.js +49 -0
  146. package/chunk/{DG7VgAhL.js → WkB0MERB.js} +107 -108
  147. package/chunk/bsawGxt8.js +32 -0
  148. package/chunk/cUuQh7L_.js +46 -0
  149. package/chunk/fqgc8r6C.js +29 -0
  150. package/chunk/m_kOQCiU.js +29 -0
  151. package/chunk/sl8s35SK.js +29 -0
  152. package/chunk/{Dki1RB5p.js → t51ig1FZ.js} +154 -155
  153. package/chunk/{BC0PujUD.js → yvbAFxtk.js} +119 -121
  154. package/hooks/index.js +52 -246
  155. package/hooks/useForceUpdate.js +6 -6
  156. package/hooks/useIntersectionObserver.js +12 -10
  157. package/hooks/useKeyboardEvent.js +7 -7
  158. package/hooks/useMedia.js +9 -12
  159. package/hooks/useMergeValue.js +10 -8
  160. package/hooks/useResizeObserver.js +16 -0
  161. package/hooks/useUpdateEffect.js +7 -9
  162. package/hooks/useWindowSize.js +16 -20
  163. package/icons.js +6003 -0
  164. package/index.js +377 -472
  165. package/locale/en-US.js +20 -6
  166. package/locale/ja-JP.js +4 -2
  167. package/locale/ko-KR.js +2 -2
  168. package/locale/pt-BR.js +3 -3
  169. package/locale/pt-PT.js +3 -3
  170. package/locale/tr-TR.js +11 -3
  171. package/locale/zh-CN.js +6 -0
  172. package/locale/zh-HK.js +2 -0
  173. package/locale/zh-TW.js +2 -0
  174. package/package.json +1 -1
  175. package/style.css +1 -1
  176. package/types/anchor/util.d.ts +1 -0
  177. package/types/button/index.d.ts +2 -2
  178. package/types/color-picker/colors.d.ts +1 -1
  179. package/types/date-picker/util.d.ts +1 -1
  180. package/types/hooks/index.d.ts +3 -101
  181. package/types/hooks/useForceUpdate.d.ts +1 -2
  182. package/types/hooks/useIntersectionObserver.d.ts +1 -1
  183. package/types/hooks/useKeyboardEvent.d.ts +2 -2
  184. package/types/hooks/useMergeProps.d.ts +1 -1
  185. package/types/hooks/useResizeObserver.d.ts +5 -0
  186. package/types/hooks/useUpdateEffect.d.ts +2 -3
  187. package/types/hooks/useWindowSize.d.ts +1 -1
  188. package/types/icons.d.ts +4 -0
  189. package/types/index.d.ts +12 -2
  190. package/types/locale/en-US.d.ts +4 -0
  191. package/types/locale/interface.d.ts +2 -0
  192. package/types/locale/ja-JP.d.ts +4 -0
  193. package/types/locale/zh-CN.d.ts +4 -0
  194. package/types/locale/zh-HK.d.ts +4 -0
  195. package/types/locale/zh-TW.d.ts +4 -0
  196. package/types/version/index.d.ts +1 -1
  197. package/utils/CSSTransition.js +1 -1
  198. package/utils/className.js +2 -3
  199. package/utils/contextHolder.js +2 -2
  200. package/utils/copy.js +2 -3
  201. package/utils/is.js +127 -90
  202. package/utils/reactDOM.js +17 -15
  203. package/utils/responsiveObserve.js +16 -16
  204. package/utils/saveAs.js +2 -3
  205. package/utils/scrollIntoView.js +1 -1
  206. package/chunk/BdYAMaw9.js +0 -6
  207. package/chunk/CiZVOdJ3.js +0 -122
  208. package/chunk/DdtfPvgk.js +0 -272
  209. package/chunk/I4RV9SKZ.js +0 -135
  210. package/chunk/TXCrI0jN.js +0 -20
  211. package/chunk/i1A7W8Qt.js +0 -277
  212. package/chunk/xPzFRQJn.js +0 -740
  213. package/hooks/useAsync.js +0 -13
  214. package/hooks/useAsyncFn.js +0 -15
  215. package/hooks/useAsyncRetry.js +0 -17
  216. package/hooks/useAudio.js +0 -5
  217. package/hooks/useBeforeUnload.js +0 -18
  218. package/hooks/useBoolean.js +0 -4
  219. package/hooks/useClickAway.js +0 -22
  220. package/hooks/useCopyToClipboard.js +0 -51
  221. package/hooks/useCounter.js +0 -45
  222. package/hooks/useCreation.js +0 -17
  223. package/hooks/useCustomCompareEffect.js +0 -15
  224. package/hooks/useDebounce.js +0 -9
  225. package/hooks/useDefault.js +0 -10
  226. package/hooks/useDrop.js +0 -44
  227. package/hooks/useDropArea.js +0 -45
  228. package/hooks/useEffectOnce.js +0 -7
  229. package/hooks/useEffectState.js +0 -9
  230. package/hooks/useEnsuredForwardedRef.js +0 -17
  231. package/hooks/useError.js +0 -13
  232. package/hooks/useEvent.js +0 -13
  233. package/hooks/useEventListener.js +0 -39
  234. package/hooks/useFavicon.js +0 -16
  235. package/hooks/useFirstMountState.js +0 -8
  236. package/hooks/useFullscreen.js +0 -39
  237. package/hooks/useGeolocation.js +0 -38
  238. package/hooks/useGetSet.js +0 -18
  239. package/hooks/useGetSetState.js +0 -12
  240. package/hooks/useHash.js +0 -26
  241. package/hooks/useHover.js +0 -16
  242. package/hooks/useHoverDirty.js +0 -17
  243. package/hooks/useIdle.js +0 -34
  244. package/hooks/useIntersection.js +0 -19
  245. package/hooks/useIsomorphicLayoutEffect2.js +0 -6
  246. package/hooks/useKey.js +0 -16
  247. package/hooks/useKeyPress.js +0 -13
  248. package/hooks/useKeyPressEvent.js +0 -11
  249. package/hooks/useLatest.js +0 -8
  250. package/hooks/useLifecycles.js +0 -9
  251. package/hooks/useList.js +0 -67
  252. package/hooks/useLocalStorage.js +0 -42
  253. package/hooks/useLocation.js +0 -51
  254. package/hooks/useLockBodyScroll.js +0 -55
  255. package/hooks/useLogger.js +0 -10
  256. package/hooks/useLongPress.js +0 -24
  257. package/hooks/useMap.js +0 -31
  258. package/hooks/useMeasure.js +0 -34
  259. package/hooks/useMeasureDirty.js +0 -24
  260. package/hooks/useMediaDevices.js +0 -26
  261. package/hooks/useMediatedState.js +0 -14
  262. package/hooks/useMethods.js +0 -14
  263. package/hooks/useMotion.js +0 -56
  264. package/hooks/useMount.js +0 -9
  265. package/hooks/useMountedState.js +0 -10
  266. package/hooks/useMouse.js +0 -44
  267. package/hooks/useMouseHovered.js +0 -9
  268. package/hooks/useMouseWheel.js +0 -14
  269. package/hooks/useMultiStateValidator.js +0 -19
  270. package/hooks/useNetworkState.js +0 -31
  271. package/hooks/useNumber.js +0 -4
  272. package/hooks/useObservable.js +0 -12
  273. package/hooks/useOrientation.js +0 -30
  274. package/hooks/usePageLeave.js +0 -19
  275. package/hooks/usePermission.js +0 -19
  276. package/hooks/usePinchZoom.js +0 -40
  277. package/hooks/usePreviousDistinct.js +0 -10
  278. package/hooks/usePromise.js +0 -19
  279. package/hooks/useQueue.js +0 -25
  280. package/hooks/useRaf.js +0 -24
  281. package/hooks/useRafLoop.js +0 -24
  282. package/hooks/useRafState.js +0 -15
  283. package/hooks/useReactive.js +0 -21
  284. package/hooks/useRendersCount.js +0 -7
  285. package/hooks/useScroll.js +0 -27
  286. package/hooks/useScrolling.js +0 -23
  287. package/hooks/useSearchParam.js +0 -18
  288. package/hooks/useSessionStorage.js +0 -29
  289. package/hooks/useSet.js +0 -15
  290. package/hooks/useSetState.js +0 -16
  291. package/hooks/useSize.js +0 -58
  292. package/hooks/useSlider.js +0 -48
  293. package/hooks/useSpeech.js +0 -45
  294. package/hooks/useStartTyping.js +0 -30
  295. package/hooks/useStateList.js +0 -37
  296. package/hooks/useStateValidator.js +0 -17
  297. package/hooks/useStateWithHistory.js +0 -46
  298. package/hooks/useSyncState.js +0 -14
  299. package/hooks/useThrottle.js +0 -21
  300. package/hooks/useThrottleFn.js +0 -21
  301. package/hooks/useTimeout.js +0 -17
  302. package/hooks/useTimeoutFn.js +0 -16
  303. package/hooks/useTitle.js +0 -18
  304. package/hooks/useToggle.js +0 -5
  305. package/hooks/useTween.js +0 -11
  306. package/hooks/useUnmount.js +0 -9
  307. package/hooks/useUnmountPromise.js +0 -20
  308. package/hooks/useUpdate.js +0 -10
  309. package/hooks/useUpdateTimeout.js +0 -9
  310. package/hooks/useUpsert.js +0 -16
  311. package/hooks/useVibrate.js +0 -21
  312. package/hooks/useVideo.js +0 -5
  313. package/hooks/useWindowScroll.js +0 -29
  314. package/types/hooks/component/UseKey.d.ts +0 -2
  315. package/types/hooks/factory/createBreakpoint.d.ts +0 -4
  316. package/types/hooks/factory/createGlobalState.d.ts +0 -7
  317. package/types/hooks/factory/createHTMLMediaHook.d.ts +0 -33
  318. package/types/hooks/factory/createMemo.d.ts +0 -2
  319. package/types/hooks/factory/createReducer.d.ts +0 -8
  320. package/types/hooks/factory/createReducerContext.d.ts +0 -5
  321. package/types/hooks/factory/createRenderProp.d.ts +0 -1
  322. package/types/hooks/factory/createRouter.d.ts +0 -7
  323. package/types/hooks/factory/createStateContext.d.ts +0 -5
  324. package/types/hooks/misc/hookState.d.ts +0 -8
  325. package/types/hooks/misc/parseTimeRanges.d.ts +0 -4
  326. package/types/hooks/misc/types.d.ts +0 -2
  327. package/types/hooks/misc/util.d.ts +0 -5
  328. package/types/hooks/useAsync.d.ts +0 -20
  329. package/types/hooks/useAsyncFn.d.ts +0 -23
  330. package/types/hooks/useAsyncRetry.d.ts +0 -27
  331. package/types/hooks/useAudio.d.ts +0 -11
  332. package/types/hooks/useBeforeUnload.d.ts +0 -2
  333. package/types/hooks/useBoolean.d.ts +0 -2
  334. package/types/hooks/useClickAway.d.ts +0 -3
  335. package/types/hooks/useCopyToClipboard.d.ts +0 -7
  336. package/types/hooks/useCounter.d.ts +0 -9
  337. package/types/hooks/useCreation.d.ts +0 -2
  338. package/types/hooks/useCustomCompareEffect.d.ts +0 -4
  339. package/types/hooks/useDebounce.d.ts +0 -3
  340. package/types/hooks/useDefault.d.ts +0 -2
  341. package/types/hooks/useDrop.d.ts +0 -17
  342. package/types/hooks/useDropArea.d.ts +0 -18
  343. package/types/hooks/useEffectOnce.d.ts +0 -3
  344. package/types/hooks/useEffectState.d.ts +0 -2
  345. package/types/hooks/useEnsuredForwardedRef.d.ts +0 -3
  346. package/types/hooks/useError.d.ts +0 -2
  347. package/types/hooks/useEvent.d.ts +0 -13
  348. package/types/hooks/useEventListener.d.ts +0 -2
  349. package/types/hooks/useFavicon.d.ts +0 -2
  350. package/types/hooks/useFirstMountState.d.ts +0 -1
  351. package/types/hooks/useFullscreen.d.ts +0 -10
  352. package/types/hooks/useGeolocation.d.ts +0 -21
  353. package/types/hooks/useGetSet.d.ts +0 -3
  354. package/types/hooks/useGetSetState.d.ts +0 -2
  355. package/types/hooks/useHash.d.ts +0 -2
  356. package/types/hooks/useHover.d.ts +0 -4
  357. package/types/hooks/useHoverDirty.d.ts +0 -3
  358. package/types/hooks/useIdle.d.ts +0 -2
  359. package/types/hooks/useIntersection.d.ts +0 -3
  360. package/types/hooks/useIsomorphicLayoutEffect2.d.ts +0 -3
  361. package/types/hooks/useKey.d.ts +0 -12
  362. package/types/hooks/useKeyPress.d.ts +0 -3
  363. package/types/hooks/useKeyPressEvent.d.ts +0 -3
  364. package/types/hooks/useLatest.d.ts +0 -4
  365. package/types/hooks/useLifecycles.d.ts +0 -2
  366. package/types/hooks/useList.d.ts +0 -18
  367. package/types/hooks/useLocalStorage.d.ts +0 -10
  368. package/types/hooks/useLocation.d.ts +0 -16
  369. package/types/hooks/useLockBodyScroll.d.ts +0 -8
  370. package/types/hooks/useLogger.d.ts +0 -2
  371. package/types/hooks/useLongPress.d.ts +0 -12
  372. package/types/hooks/useMap.d.ts +0 -11
  373. package/types/hooks/useMeasure.d.ts +0 -9
  374. package/types/hooks/useMeasureDirty.d.ts +0 -11
  375. package/types/hooks/useMediaDevices.d.ts +0 -2
  376. package/types/hooks/useMediatedState.d.ts +0 -9
  377. package/types/hooks/useMethods.d.ts +0 -8
  378. package/types/hooks/useMotion.d.ts +0 -20
  379. package/types/hooks/useMount.d.ts +0 -2
  380. package/types/hooks/useMountedState.d.ts +0 -1
  381. package/types/hooks/useMouse.d.ts +0 -13
  382. package/types/hooks/useMouseHovered.d.ts +0 -8
  383. package/types/hooks/useMouseWheel.d.ts +0 -2
  384. package/types/hooks/useMultiStateValidator.d.ts +0 -9
  385. package/types/hooks/useNetworkState.d.ts +0 -22
  386. package/types/hooks/useNumber.d.ts +0 -2
  387. package/types/hooks/useObservable.d.ts +0 -8
  388. package/types/hooks/useOrientation.d.ts +0 -6
  389. package/types/hooks/usePageLeave.d.ts +0 -2
  390. package/types/hooks/usePermission.d.ts +0 -16
  391. package/types/hooks/usePinchZoom.d.ts +0 -18
  392. package/types/hooks/usePreviousDistinct.d.ts +0 -2
  393. package/types/hooks/usePromise.d.ts +0 -3
  394. package/types/hooks/useQueue.d.ts +0 -9
  395. package/types/hooks/useRaf.d.ts +0 -2
  396. package/types/hooks/useRafLoop.d.ts +0 -2
  397. package/types/hooks/useRafState.d.ts +0 -3
  398. package/types/hooks/useReactive.d.ts +0 -2
  399. package/types/hooks/useRendersCount.d.ts +0 -1
  400. package/types/hooks/useScroll.d.ts +0 -7
  401. package/types/hooks/useScrolling.d.ts +0 -3
  402. package/types/hooks/useSearchParam.d.ts +0 -3
  403. package/types/hooks/useSessionStorage.d.ts +0 -2
  404. package/types/hooks/useSet.d.ts +0 -11
  405. package/types/hooks/useSetState.d.ts +0 -2
  406. package/types/hooks/useSize.d.ts +0 -8
  407. package/types/hooks/useSlider.d.ts +0 -15
  408. package/types/hooks/useSpeech.d.ts +0 -16
  409. package/types/hooks/useStartTyping.d.ts +0 -2
  410. package/types/hooks/useStateList.d.ts +0 -9
  411. package/types/hooks/useStateValidator.d.ts +0 -8
  412. package/types/hooks/useStateWithHistory.d.ts +0 -18
  413. package/types/hooks/useSyncState.d.ts +0 -3
  414. package/types/hooks/useThrottle.d.ts +0 -2
  415. package/types/hooks/useThrottleFn.d.ts +0 -2
  416. package/types/hooks/useTimeout.d.ts +0 -2
  417. package/types/hooks/useTimeoutFn.d.ts +0 -2
  418. package/types/hooks/useTitle.d.ts +0 -6
  419. package/types/hooks/useToggle.d.ts +0 -2
  420. package/types/hooks/useTween.d.ts +0 -3
  421. package/types/hooks/useUnmount.d.ts +0 -2
  422. package/types/hooks/useUnmountPromise.d.ts +0 -3
  423. package/types/hooks/useUpdate.d.ts +0 -2
  424. package/types/hooks/useUpdateTimeout.d.ts +0 -2
  425. package/types/hooks/useUpsert.d.ts +0 -6
  426. package/types/hooks/useVibrate.d.ts +0 -4
  427. package/types/hooks/useVideo.d.ts +0 -11
  428. package/types/hooks/useWindowScroll.d.ts +0 -6
@@ -1,69 +1,63 @@
1
- import { jsxs as L, Fragment as B, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as L, Fragment as M, jsx as r } from "react/jsx-runtime";
2
2
  import F from "lodash/isFunction";
3
- import fe from "lodash/isNumber";
4
- import ee, { useContext as z, forwardRef as W, isValidElement as xe, useState as G, useMemo as $e, useEffect as Ie, useRef as te, useImperativeHandle as ge } from "react";
5
- import { a as J, I as ye } from "./xPzFRQJn.js";
6
- import we from "../hooks/useMergeProps.js";
7
- import K from "@unicom-cloud/utils/class-name";
8
- import Pe from "../utils/omit.js";
9
- import de from "../utils/warning.js";
10
- import { b as Ne, P as ie } from "./DQ3uFRJD.js";
11
- import { a as Re } from "./CTSIr-Pr.js";
12
- import he from "@unicom-cloud/icons/IconUiDelete";
13
- import Le from "@unicom-cloud/icons/IconUiEye";
14
- import Ce from "@unicom-cloud/icons/IconUiImageClose";
15
- import oe from "@unicom-cloud/icons/IconUiUpload";
16
- import X from "../hooks/useKeyboardEvent.js";
3
+ import me from "lodash/isNumber";
4
+ import te, { useContext as W, forwardRef as J, isValidElement as Ue, useState as B, useMemo as Ie, useEffect as xe, useRef as ie, useImperativeHandle as fe } from "react";
5
+ import { b as X, I as $e } from "./DUxWiN2U.js";
6
+ import ye from "../hooks/useMergeProps.js";
7
+ import { y as z } from "./Do1aMgY3.js";
8
+ import we from "../utils/omit.js";
9
+ import ce from "../utils/warning.js";
10
+ import { b as Pe, P as ne } from "./BP7xX86Q.js";
11
+ import { a as Ne } from "./CwXmtKib.js";
12
+ import { I as ge } from "./sl8s35SK.js";
13
+ import { I as Re } from "./C7Okdv4u.js";
14
+ import { I as Le } from "./CPl52AZh.js";
15
+ import { I as ae, a as Ce, b as Fe, c as he, d as Ee, e as De, f as Oe } from "./BHK9zpXn.js";
16
+ import Q from "../hooks/useKeyboardEvent.js";
17
17
  import "../utils/is.js";
18
- import Fe from "@unicom-cloud/icons/IconUiCheck";
19
- import Ee from "@unicom-cloud/icons/IconUiPause";
20
- import Oe from "@unicom-cloud/icons/IconUiPlayArrowFill";
21
- import De from "../Progress.js";
22
- import ne from "../Tooltip.js";
23
- import { isPlainObject as re, isFile as pe } from "@unicom-cloud/utils/is";
24
- import Te from "@unicom-cloud/icons/IconUiExclamationCircleFill";
25
- import ke from "@unicom-cloud/icons/IconUiFile";
26
- import je from "@unicom-cloud/icons/IconUiFileAudio";
27
- import be from "@unicom-cloud/icons/IconUiFileImage";
28
- import Se from "@unicom-cloud/icons/IconUiFilePdf";
29
- import qe from "@unicom-cloud/icons/IconUiFileVideo";
30
- import ae from "lodash/isPlainObject";
31
- import ue from "@unicom-cloud/icons/IconUiPlus";
32
- import Ae from "../Button.js";
33
- import Ve from "lodash/isArray";
34
- import { NOOP as Y } from "../utils/constant.js";
18
+ import { I as Te } from "./CXNW5Y2a.js";
19
+ import ke from "../Progress.js";
20
+ import re from "../Tooltip.js";
21
+ import { H as pe } from "./BeM2hfks.js";
22
+ import H from "lodash/isPlainObject";
23
+ import { b as je } from "./B45v5S9k.js";
24
+ import { I as Se } from "./DYZzQ2uT.js";
25
+ import { I as de } from "./B6fn5y_s.js";
26
+ import qe from "../Button.js";
27
+ import Ae from "lodash/isArray";
28
+ import { NOOP as Z } from "../utils/constant.js";
35
29
  const y = {
36
30
  init: "init",
37
31
  uploading: "uploading",
38
32
  success: "done",
39
33
  fail: "error"
40
- }, ve = (e) => {
34
+ }, be = (e) => {
41
35
  var U, n, g, P, o, b;
42
- const d = X(), { file: u, prefixCls: s, progressProps: t, progressRender: a } = e, { locale: i } = z(J), { status: l, percent: m = 0 } = u, f = `${s}-list`, h = t && t.width ? { width: t.width } : {}, $ = /* @__PURE__ */ L(B, { children: [
36
+ const d = Q(), { file: u, prefixCls: s, progressProps: t, progressRender: a } = e, { locale: i } = W(X), { status: l, percent: m = 0 } = u, f = `${s}-list`, h = t && t.width ? { width: t.width } : {}, x = /* @__PURE__ */ L(M, { children: [
43
37
  l === y.fail && e.reuploadIcon !== null && /* @__PURE__ */ r(
44
38
  "span",
45
39
  {
46
40
  className: `${s}-list-reupload-icon`,
47
41
  onClick: () => {
48
- var x;
49
- (x = e.onReupload) == null || x.call(e, u);
42
+ var I;
43
+ (I = e.onReupload) == null || I.call(e, u);
50
44
  },
51
45
  tabIndex: 0,
52
46
  role: "button",
53
47
  "aria-label": (U = i == null ? void 0 : i.Upload) == null ? void 0 : U.reupload,
54
48
  ...d({
55
49
  onPressEnter: () => {
56
- var x;
57
- (x = e.onReupload) == null || x.call(e, u);
50
+ var I;
51
+ (I = e.onReupload) == null || I.call(e, u);
58
52
  }
59
53
  }),
60
- children: e.reuploadIcon || (e.listType === "picture-card" ? /* @__PURE__ */ r(oe, {}) : (n = i == null ? void 0 : i.Upload) == null ? void 0 : n.reupload)
54
+ children: e.reuploadIcon || (e.listType === "picture-card" ? /* @__PURE__ */ r(ae, {}) : (n = i == null ? void 0 : i.Upload) == null ? void 0 : n.reupload)
61
55
  }
62
56
  ),
63
- l === y.success && e.successIcon !== null && /* @__PURE__ */ r("span", { className: `${s}-list-success-icon`, children: e.successIcon || /* @__PURE__ */ r(Fe, {}) }),
57
+ l === y.success && e.successIcon !== null && /* @__PURE__ */ r("span", { className: `${s}-list-success-icon`, children: e.successIcon || /* @__PURE__ */ r(Te, {}) }),
64
58
  l !== y.success && /* @__PURE__ */ L("div", { className: `${f}-status`, style: h, children: [
65
59
  /* @__PURE__ */ r(
66
- De,
60
+ ke,
67
61
  {
68
62
  showText: !1,
69
63
  className: `${f}-progress`,
@@ -82,16 +76,16 @@ const y = {
82
76
  "aria-label": (g = i == null ? void 0 : i.Upload) == null ? void 0 : g.start,
83
77
  className: `${s}-list-start-icon`,
84
78
  onClick: () => {
85
- var x;
86
- (x = e.onUpload) == null || x.call(e, u);
79
+ var I;
80
+ (I = e.onUpload) == null || I.call(e, u);
87
81
  },
88
82
  ...d({
89
83
  onPressEnter: () => {
90
- var x;
91
- (x = e.onUpload) == null || x.call(e, u);
84
+ var I;
85
+ (I = e.onUpload) == null || I.call(e, u);
92
86
  }
93
87
  }),
94
- children: e.startIcon || /* @__PURE__ */ r(ne, { content: (P = i == null ? void 0 : i.Upload) == null ? void 0 : P.start, children: /* @__PURE__ */ r(Oe, {}) })
88
+ children: e.startIcon || /* @__PURE__ */ r(re, { content: (P = i == null ? void 0 : i.Upload) == null ? void 0 : P.start, children: /* @__PURE__ */ r(Ce, {}) })
95
89
  }
96
90
  ),
97
91
  l === y.uploading && e.cancelIcon !== null && /* @__PURE__ */ r(
@@ -99,27 +93,27 @@ const y = {
99
93
  {
100
94
  className: `${e.prefixCls}-list-cancel-icon`,
101
95
  onClick: () => {
102
- var x;
103
- (x = e.onAbort) == null || x.call(e, u);
96
+ var I;
97
+ (I = e.onAbort) == null || I.call(e, u);
104
98
  },
105
99
  tabIndex: 0,
106
100
  "aria-label": (o = i == null ? void 0 : i.Upload) == null ? void 0 : o.cancel,
107
101
  ...d({
108
102
  onPressEnter: () => {
109
- var x;
110
- (x = e.onAbort) == null || x.call(e, u);
103
+ var I;
104
+ (I = e.onAbort) == null || I.call(e, u);
111
105
  }
112
106
  }),
113
- children: e.cancelIcon || /* @__PURE__ */ r(ne, { content: (b = i == null ? void 0 : i.Upload) == null ? void 0 : b.cancel, children: /* @__PURE__ */ r(Ee, {}) })
107
+ children: e.cancelIcon || /* @__PURE__ */ r(re, { content: (b = i == null ? void 0 : i.Upload) == null ? void 0 : b.cancel, children: /* @__PURE__ */ r(Fe, {}) })
114
108
  }
115
109
  )
116
110
  ] })
117
111
  ] });
118
- return F(a) ? a(u, $) : $;
112
+ return F(a) ? a(u, x) : x;
119
113
  }, He = (e, d) => {
120
- const { disabled: u, prefixCls: s, file: t, showUploadList: a, locale: i } = e, l = X(), m = `${s}-list-item-picture`, { status: f, originFile: h } = t, $ = t.url !== void 0 ? t.url : h && F(URL.createObjectURL) && URL.createObjectURL(h), U = re(a) ? a : {};
114
+ const { disabled: u, prefixCls: s, file: t, showUploadList: a, locale: i } = e, l = Q(), m = `${s}-list-item-picture`, { status: f, originFile: h } = t, x = t.url !== void 0 ? t.url : h && F(URL.createObjectURL) && URL.createObjectURL(h), U = H(a) ? a : {};
121
115
  return /* @__PURE__ */ r("div", { className: m, ref: d, children: f === y.uploading ? /* @__PURE__ */ r(
122
- ve,
116
+ be,
123
117
  {
124
118
  onReupload: e.onReupload,
125
119
  onUpload: e.onUpload,
@@ -130,10 +124,10 @@ const y = {
130
124
  progressProps: e.progressProps,
131
125
  ...U
132
126
  }
133
- ) : /* @__PURE__ */ L(B, { children: [
134
- F(U.imageRender) ? U.imageRender(t) : /* @__PURE__ */ r("img", { src: $, alt: t.name }),
127
+ ) : /* @__PURE__ */ L(M, { children: [
128
+ F(U.imageRender) ? U.imageRender(t) : /* @__PURE__ */ r("img", { src: x, alt: t.name }),
135
129
  /* @__PURE__ */ L("div", { className: `${m}-mask`, role: "radiogroup", children: [
136
- t.status === y.fail && /* @__PURE__ */ r("div", { className: `${m}-error-tip`, children: U.errorIcon !== null && /* @__PURE__ */ r("span", { className: `${s}-list-error-icon`, children: U.errorIcon || /* @__PURE__ */ r(Ce, {}) }) }),
130
+ t.status === y.fail && /* @__PURE__ */ r("div", { className: `${m}-error-tip`, children: U.errorIcon !== null && /* @__PURE__ */ r("span", { className: `${s}-list-error-icon`, children: U.errorIcon || /* @__PURE__ */ r(Le, {}) }) }),
137
131
  /* @__PURE__ */ L("div", { className: `${m}-operation`, children: [
138
132
  t.status !== y.fail && U.previewIcon !== null && /* @__PURE__ */ r(
139
133
  "span",
@@ -152,7 +146,7 @@ const y = {
152
146
  var n;
153
147
  (n = e.onPreview) == null || n.call(e, t);
154
148
  },
155
- children: U.previewIcon || /* @__PURE__ */ r(Le, {})
149
+ children: U.previewIcon || /* @__PURE__ */ r(Re, {})
156
150
  }
157
151
  ),
158
152
  t.status === y.fail && U.reuploadIcon !== null && /* @__PURE__ */ r(
@@ -172,7 +166,7 @@ const y = {
172
166
  (n = e.onReupload) == null || n.call(e, t);
173
167
  }
174
168
  }),
175
- children: U.reuploadIcon || /* @__PURE__ */ r(oe, {})
169
+ children: U.reuploadIcon || /* @__PURE__ */ r(ae, {})
176
170
  }
177
171
  ),
178
172
  !u && U.removeIcon !== null && /* @__PURE__ */ r(
@@ -192,13 +186,13 @@ const y = {
192
186
  (n = e.onRemove) == null || n.call(e, t);
193
187
  }
194
188
  }),
195
- children: U.removeIcon || /* @__PURE__ */ r(he, {})
189
+ children: U.removeIcon || /* @__PURE__ */ r(ge, {})
196
190
  }
197
191
  )
198
192
  ] })
199
193
  ] })
200
194
  ] }) });
201
- }, Ge = W(He), Be = (e) => {
195
+ }, Ve = J(He), Ge = (e) => {
202
196
  let d = "";
203
197
  if (e.originFile && e.originFile.type)
204
198
  d = e.originFile.type;
@@ -206,9 +200,9 @@ const y = {
206
200
  const s = (e.name || "").split(".").pop() || "";
207
201
  d = s, ["png", "jpg", "jpeg", "bmp", "gif"].indexOf(s) > -1 ? d = "image" : ["mp4", "m2v", "mkv"].indexOf(s) > -1 ? d = "video" : ["mp3", "wav", "wmv"].indexOf(s) > -1 && (d = "audio");
208
202
  }
209
- return d.indexOf("image") > -1 ? be : d.indexOf("pdf") > -1 ? Se : d.indexOf("audio") > -1 ? je : d.indexOf("video") > -1 ? qe : ke;
210
- }, Me = (e, d) => {
211
- const { prefixCls: u, disabled: s, file: t, locale: a } = e, i = `${u}-list-item-text`, l = X(), m = Be(t), f = re(e.showUploadList) ? e.showUploadList : {}, h = re(f) ? f : {}, $ = t.name || t.originFile && t.originFile.name, U = t.url !== void 0 ? t.url : t.originFile && F(URL.createObjectURL) && URL.createObjectURL(t.originFile);
203
+ return d.indexOf("image") > -1 ? he : d.indexOf("pdf") > -1 ? Ee : d.indexOf("audio") > -1 ? De : d.indexOf("video") > -1 ? Oe : Se;
204
+ }, Be = (e, d) => {
205
+ const { prefixCls: u, disabled: s, file: t, locale: a } = e, i = `${u}-list-item-text`, l = Q(), m = Ge(t), f = H(e.showUploadList) ? e.showUploadList : {}, h = H(f) ? f : {}, x = t.name || t.originFile && t.originFile.name, U = t.url !== void 0 ? t.url : t.originFile && F(URL.createObjectURL) && URL.createObjectURL(t.originFile);
212
206
  let n = {};
213
207
  return t.status !== y.fail && (n = {
214
208
  popupVisible: !1
@@ -230,21 +224,21 @@ const y = {
230
224
  target: "_blank",
231
225
  rel: "noreferrer",
232
226
  className: `${i}-name-link`,
233
- children: $
227
+ children: x
234
228
  }
235
- ) : /* @__PURE__ */ r("span", { className: `${i}-name-text`, children: $ }),
229
+ ) : /* @__PURE__ */ r("span", { className: `${i}-name-text`, children: x }),
236
230
  t.status === y.fail && h.errorIcon !== null && /* @__PURE__ */ r(
237
- ne,
231
+ re,
238
232
  {
239
- content: (typeof t.response == "object" ? xe(t.response) && t.response : t.response) || a.Upload.error,
233
+ content: (typeof t.response == "object" ? Ue(t.response) && t.response : t.response) || a.Upload.error,
240
234
  ...n,
241
235
  disabled: t.status !== y.fail,
242
- children: /* @__PURE__ */ r("span", { className: `${e.prefixCls}-list-error-icon`, children: h.errorIcon || (e.listType === "picture-card" ? /* @__PURE__ */ r(be, {}) : /* @__PURE__ */ r(Te, {})) })
236
+ children: /* @__PURE__ */ r("span", { className: `${e.prefixCls}-list-error-icon`, children: h.errorIcon || (e.listType === "picture-card" ? /* @__PURE__ */ r(he, {}) : /* @__PURE__ */ r(je, {})) })
243
237
  }
244
238
  )
245
239
  ] }),
246
240
  /* @__PURE__ */ r(
247
- ve,
241
+ be,
248
242
  {
249
243
  file: t,
250
244
  prefixCls: u,
@@ -258,7 +252,7 @@ const y = {
258
252
  ] })
259
253
  ] }),
260
254
  /* @__PURE__ */ r("div", { className: `${u}-list-item-operation`, children: !s && h.removeIcon !== null && /* @__PURE__ */ r(
261
- ye,
255
+ $e,
262
256
  {
263
257
  className: `${u}-list-remove-icon-hover`,
264
258
  onClick: () => {
@@ -273,21 +267,21 @@ const y = {
273
267
  (g = e.onRemove) == null || g.call(e, t);
274
268
  }
275
269
  }),
276
- children: /* @__PURE__ */ r("span", { className: `${u}-list-remove-icon`, children: h.removeIcon || /* @__PURE__ */ r(he, {}) })
270
+ children: /* @__PURE__ */ r("span", { className: `${u}-list-remove-icon`, children: h.removeIcon || /* @__PURE__ */ r(ge, {}) })
277
271
  }
278
272
  ) })
279
273
  ]
280
274
  }
281
275
  );
282
- }, _e = W(Me), Ue = (e) => {
283
- const { locale: d, rtl: u } = z(J), {
276
+ }, Me = J(Be), ve = (e) => {
277
+ const { locale: d, rtl: u } = W(X), {
284
278
  listType: s,
285
279
  fileList: t,
286
280
  renderUploadList: a,
287
281
  renderUploadItem: i,
288
282
  prefixCls: l,
289
283
  ...m
290
- } = e, [f, h] = G(-1), $ = $e(() => t.map((n) => {
284
+ } = e, [f, h] = B(-1), x = Ie(() => t.map((n) => {
291
285
  let g = n.url;
292
286
  return n.url === void 0 && [y.init, y.success].indexOf(n.status) > -1 && (g = n.originFile && F(URL.createObjectURL) && URL.createObjectURL(n.originFile)), g;
293
287
  }).filter(Boolean), [t]);
@@ -296,11 +290,11 @@ const y = {
296
290
  const U = (n) => {
297
291
  e.imagePreview && h(n);
298
292
  };
299
- return /* @__PURE__ */ L(B, { children: [
293
+ return /* @__PURE__ */ L(M, { children: [
300
294
  /* @__PURE__ */ r(
301
- Ne,
295
+ Pe,
302
296
  {
303
- className: K(
297
+ className: z(
304
298
  `${l}-list`,
305
299
  `${l}-list-type-${s}`,
306
300
  {
@@ -313,7 +307,7 @@ const y = {
313
307
  {
314
308
  className: `${l}-list-item ${l}-list-item-${n.status}`,
315
309
  children: /* @__PURE__ */ r(
316
- Ge,
310
+ Ve,
317
311
  {
318
312
  ...e,
319
313
  onPreview: (o) => {
@@ -325,9 +319,9 @@ const y = {
325
319
  }
326
320
  )
327
321
  }
328
- ) : /* @__PURE__ */ r(_e, { ...e, file: n, locale: d });
322
+ ) : /* @__PURE__ */ r(Me, { ...e, file: n, locale: d });
329
323
  return F(i) && (P = i(P, n, t)), s === "picture-card" ? /* @__PURE__ */ r(
330
- ie,
324
+ ne,
331
325
  {
332
326
  timeout: { enter: 200, exit: 400 },
333
327
  classNames: `${l}-slide-inline`,
@@ -347,7 +341,7 @@ const y = {
347
341
  },
348
342
  n.uid
349
343
  ) : /* @__PURE__ */ r(
350
- ie,
344
+ ne,
351
345
  {
352
346
  timeout: { enter: 200, exit: 400 },
353
347
  classNames: `${l}-slide-up`,
@@ -368,9 +362,9 @@ const y = {
368
362
  }
369
363
  ),
370
364
  s === "picture-card" && e.imagePreview && /* @__PURE__ */ r(
371
- Re,
365
+ Ne,
372
366
  {
373
- srcList: $,
367
+ srcList: x,
374
368
  visible: f !== -1,
375
369
  current: f,
376
370
  onChange: U,
@@ -381,11 +375,11 @@ const y = {
381
375
  )
382
376
  ] });
383
377
  };
384
- Ue.displayName = "FileList";
385
- const le = (e, d) => {
386
- const u = ae(d) ? d == null ? void 0 : d.type : d;
387
- if (!(ae(d) && d.strict === !1) && u && e) {
388
- const t = Ve(u) ? u : u.split(",").map((i) => i.trim()).filter((i) => i), a = (e.name.indexOf(".") > -1 ? `.${e.name.split(".").pop()}` : "").toLowerCase();
378
+ ve.displayName = "FileList";
379
+ const oe = (e, d) => {
380
+ const u = H(d) ? d == null ? void 0 : d.type : d;
381
+ if (!(H(d) && d.strict === !1) && u && e) {
382
+ const t = Ae(u) ? u : u.split(",").map((i) => i.trim()).filter((i) => i), a = (e.name.indexOf(".") > -1 ? `.${e.name.split(".").pop()}` : "").toLowerCase();
389
383
  return t.some((i) => {
390
384
  const l = i && i.toLowerCase(), m = (e.type || "").toLowerCase(), f = m.split("/")[0];
391
385
  if (l === m || `${f}${a.replace(".", "/")}` === l || /^\*(\/\*)?$/.test(l))
@@ -400,12 +394,12 @@ const le = (e, d) => {
400
394
  });
401
395
  }
402
396
  return !!e;
403
- }, Ke = (e, d) => {
397
+ }, _e = (e, d) => {
404
398
  if (!e)
405
399
  return;
406
400
  let u = [].slice.call(e);
407
- return d && (u = u.filter((s) => le(s, d))), u;
408
- }, ze = (e, d, u) => {
401
+ return d && (u = u.filter((s) => oe(s, d))), u;
402
+ }, Ke = (e, d, u) => {
409
403
  const s = [];
410
404
  let t = 0;
411
405
  const a = () => {
@@ -413,7 +407,7 @@ const le = (e, d) => {
413
407
  }, i = (m) => {
414
408
  if (t += 1, m != null && m.isFile) {
415
409
  m.file((f) => {
416
- t -= 1, le(f, d) && (Object.defineProperty(f, "webkitRelativePath", {
410
+ t -= 1, oe(f, d) && (Object.defineProperty(f, "webkitRelativePath", {
417
411
  value: m.fullPath.replace(/^\//, "")
418
412
  }), s.push(f)), a();
419
413
  });
@@ -422,12 +416,12 @@ const le = (e, d) => {
422
416
  if (m != null && m.isDirectory) {
423
417
  const f = m.createReader();
424
418
  let h = !1;
425
- const $ = () => {
419
+ const x = () => {
426
420
  f.readEntries((U) => {
427
- h || (t -= 1, h = !0), U.length === 0 ? a() : ($(), U.forEach(i));
421
+ h || (t -= 1, h = !0), U.length === 0 ? a() : (x(), U.forEach(i));
428
422
  });
429
423
  };
430
- $();
424
+ x();
431
425
  return;
432
426
  }
433
427
  t -= 1, a();
@@ -435,12 +429,12 @@ const le = (e, d) => {
435
429
  [].slice.call(e).forEach((m) => {
436
430
  m.webkitGetAsEntry && i(m.webkitGetAsEntry());
437
431
  });
438
- }, We = (e, d) => {
439
- const u = X(), { locale: s } = z(J), [t, a] = G(!1), [i, l] = G(0), {
432
+ }, ze = (e, d) => {
433
+ const u = Q(), { locale: s } = W(X), [t, a] = B(!1), [i, l] = B(0), {
440
434
  tip: m,
441
435
  children: f,
442
436
  disabled: h,
443
- drag: $,
437
+ drag: x,
444
438
  listType: U,
445
439
  prefixCls: n,
446
440
  accept: g,
@@ -448,7 +442,7 @@ const le = (e, d) => {
448
442
  } = e, o = {
449
443
  disabled: h
450
444
  };
451
- return Ie(() => {
445
+ return xe(() => {
452
446
  l(0);
453
447
  }, [t]), f === null ? null : /* @__PURE__ */ r(
454
448
  "div",
@@ -466,38 +460,38 @@ const le = (e, d) => {
466
460
  l(i + 1);
467
461
  },
468
462
  onDragLeave: (b) => {
469
- var x;
470
- b.preventDefault(), i === 0 ? (a(!1), !h && ((x = e.onDragLeave) == null || x.call(e, b))) : l(i - 1);
463
+ var I;
464
+ b.preventDefault(), i === 0 ? (a(!1), !h && ((I = e.onDragLeave) == null || I.call(e, b))) : l(i - 1);
471
465
  },
472
466
  onDrop: (b) => {
473
- var x, S;
467
+ var I, S;
474
468
  if (b.preventDefault(), !h && e.drag !== !1) {
475
469
  if (a(!1), e.directory)
476
- ze(b.dataTransfer.items, g, (T) => {
477
- var D;
478
- (D = e.onDragFiles) == null || D.call(e, T);
470
+ Ke(b.dataTransfer.items, g, (k) => {
471
+ var O;
472
+ (O = e.onDragFiles) == null || O.call(e, k);
479
473
  });
480
474
  else {
481
- const T = [].slice.call(b.dataTransfer.items || []).reduce((q, j, V) => {
475
+ const k = [].slice.call(b.dataTransfer.items || []).reduce((q, j, V) => {
482
476
  if (j.webkitGetAsEntry) {
483
477
  const c = j.webkitGetAsEntry();
484
478
  return c != null && c.isDirectory ? [...q, V] : q;
485
479
  }
486
- }, []), D = [].slice.call(b.dataTransfer.files || []).filter((q, j) => !T.includes(j)), k = Ke(D, g);
487
- k.length > 0 && ((x = e.onDragFiles) == null || x.call(e, P ? k : k.slice(0, 1)));
480
+ }, []), O = [].slice.call(b.dataTransfer.files || []).filter((q, j) => !k.includes(j)), p = _e(O, g);
481
+ p.length > 0 && ((I = e.onDragFiles) == null || I.call(e, P ? p : p.slice(0, 1)));
488
482
  }
489
483
  (S = e.onDrop) == null || S.call(e, b);
490
484
  }
491
485
  },
492
486
  onDragOver: (b) => {
493
- var x;
494
- b.preventDefault(), !h && !t && (a(!0), (x = e.onDragOver) == null || x.call(e, b));
487
+ var I;
488
+ b.preventDefault(), !h && !t && (a(!0), (I = e.onDragOver) == null || I.call(e, b));
495
489
  },
496
- children: ee.isValidElement(f) ? /* @__PURE__ */ r(
490
+ children: te.isValidElement(f) ? /* @__PURE__ */ r(
497
491
  "div",
498
492
  {
499
- className: K({ [`${n}-trigger-custom-active`]: t }),
500
- children: ee.cloneElement(f, o)
493
+ className: z({ [`${n}-trigger-custom-active`]: t }),
494
+ children: te.cloneElement(f, o)
501
495
  }
502
496
  ) : U === "picture-card" ? /* @__PURE__ */ r("div", { className: `${n}-trigger-picture-wrapper`, children: /* @__PURE__ */ r(
503
497
  "div",
@@ -505,41 +499,41 @@ const le = (e, d) => {
505
499
  className: `${n}-trigger-picture`,
506
500
  tabIndex: 0,
507
501
  "aria-label": s.Upload.upload,
508
- children: /* @__PURE__ */ r("div", { className: `${n}-trigger-picture-text`, children: e.triggerPictureIcon ?? /* @__PURE__ */ r(ue, {}) })
502
+ children: /* @__PURE__ */ r("div", { className: `${n}-trigger-picture-text`, children: e.triggerPictureIcon ?? /* @__PURE__ */ r(de, {}) })
509
503
  }
510
- ) }) : $ ? /* @__PURE__ */ L(
504
+ ) }) : x ? /* @__PURE__ */ L(
511
505
  "div",
512
506
  {
513
- className: K(`${n}-trigger-drag`, {
507
+ className: z(`${n}-trigger-drag`, {
514
508
  [`${n}-trigger-drag-active`]: t
515
509
  }),
516
510
  tabIndex: 0,
517
511
  "aria-label": s.Upload.drag,
518
512
  children: [
519
- e.triggerPictureIcon ?? /* @__PURE__ */ r(ue, {}),
513
+ e.triggerPictureIcon ?? /* @__PURE__ */ r(de, {}),
520
514
  /* @__PURE__ */ r("p", { className: `${n}-trigger-drag-text`, children: t ? s.Upload.dragHover : s.Upload.drag }),
521
515
  m && /* @__PURE__ */ r("div", { className: `${n}-trigger-tip`, children: m })
522
516
  ]
523
517
  }
524
518
  ) : /* @__PURE__ */ L(
525
- Ae,
519
+ qe,
526
520
  {
527
521
  ...o,
528
522
  "aria-label": s.Upload.upload,
529
523
  type: "primary",
530
524
  className: `${n}-trigger-with-icon`,
531
525
  children: [
532
- /* @__PURE__ */ r(oe, {}),
526
+ /* @__PURE__ */ r(ae, {}),
533
527
  s.Upload.upload
534
528
  ]
535
529
  }
536
530
  )
537
531
  }
538
532
  );
539
- }, Je = W(
540
- We
533
+ }, We = J(
534
+ ze
541
535
  );
542
- function me(e) {
536
+ function ue(e) {
543
537
  const d = e.responseText || e.response;
544
538
  if (!d)
545
539
  return d;
@@ -549,11 +543,11 @@ function me(e) {
549
543
  return d;
550
544
  }
551
545
  }
552
- const Xe = function(e) {
546
+ const Je = function(e) {
553
547
  const {
554
- onProgress: d = Y,
555
- onError: u = Y,
556
- onSuccess: s = Y,
548
+ onProgress: d = Z,
549
+ onError: u = Z,
550
+ onSuccess: s = Z,
557
551
  action: t,
558
552
  method: a,
559
553
  headers: i = {},
@@ -562,10 +556,10 @@ const Xe = function(e) {
562
556
  data: f = {},
563
557
  withCredentials: h = !1
564
558
  } = e;
565
- function $(o) {
559
+ function x(o) {
566
560
  return typeof o == "function" ? o(m) : o;
567
561
  }
568
- const U = $(l), n = $(f), g = new XMLHttpRequest();
562
+ const U = x(l), n = x(f), g = new XMLHttpRequest();
569
563
  d && g.upload && (g.upload.onprogress = function(o) {
570
564
  let b;
571
565
  o.total > 0 && (b = o.loaded / o.total * 100), d(parseInt(b, 10), o);
@@ -573,8 +567,8 @@ const Xe = function(e) {
573
567
  u(b);
574
568
  }, g.onload = function() {
575
569
  if (g.status < 200 || g.status >= 300)
576
- return u(me(g));
577
- s(me(g));
570
+ return u(ue(g));
571
+ s(ue(g));
578
572
  };
579
573
  const P = new FormData();
580
574
  n && Object.keys(n).map((o) => P.append(o, n[o])), P.append(U || "file", m), g.open(a, t, !0), h && "withCredentials" in g && (g.withCredentials = !0);
@@ -586,33 +580,33 @@ const Xe = function(e) {
586
580
  }
587
581
  };
588
582
  };
589
- function Qe(e, d) {
590
- const u = te(null), [s, t] = G({ uploadRequests: {} });
583
+ function Xe(e, d) {
584
+ const u = ie(null), [s, t] = B({ uploadRequests: {} });
591
585
  function a(c) {
592
- $(c);
586
+ x(c);
593
587
  }
594
588
  function i(c) {
595
589
  var R;
596
- const I = s.uploadRequests[c.uid];
597
- I && ((R = I.abort) == null || R.call(I), f({
590
+ const $ = s.uploadRequests[c.uid];
591
+ $ && ((R = $.abort) == null || R.call($), f({
598
592
  ...c,
599
593
  status: y.fail
600
594
  }), m(c.uid));
601
595
  }
602
596
  function l(c) {
603
- $({
597
+ x({
604
598
  ...c,
605
599
  percent: 0,
606
600
  status: y.uploading
607
601
  });
608
602
  }
609
603
  function m(c) {
610
- const I = { ...s.uploadRequests };
611
- delete I[c], t({
612
- uploadRequests: I
604
+ const $ = { ...s.uploadRequests };
605
+ delete $[c], t({
606
+ uploadRequests: $
613
607
  });
614
608
  }
615
- ge(d, () => ({
609
+ fe(d, () => ({
616
610
  // 提供 ref 调用
617
611
  upload: a,
618
612
  abort: i,
@@ -620,39 +614,39 @@ function Qe(e, d) {
620
614
  // 删除上传(手动上传时,文件会出现在上传列表,但属于init状态)
621
615
  delete: m
622
616
  }));
623
- function f(c, I = e.fileList) {
617
+ function f(c, $ = e.fileList) {
624
618
  const { onFileStatusChange: R } = e, C = "uid" in c ? "uid" : "name";
625
619
  R == null || R(
626
- I.map((v) => v[C] === c[C] ? c : v),
620
+ $.map((v) => v[C] === c[C] ? c : v),
627
621
  c
628
622
  );
629
623
  }
630
624
  function h(c) {
631
- const I = "uid" in c ? "uid" : "name";
632
- return e.fileList.find((C) => C[I] === c[I]);
625
+ const $ = "uid" in c ? "uid" : "name";
626
+ return e.fileList.find((C) => C[$] === c[$]);
633
627
  }
634
- async function $(c) {
628
+ async function x(c) {
635
629
  const {
636
- action: I,
630
+ action: $,
637
631
  headers: R,
638
632
  name: C,
639
633
  data: v,
640
634
  withCredentials: N,
641
635
  customRequest: w,
642
636
  method: E
643
- } = e, se = {
644
- onProgress: (H, O) => {
645
- var _, ce;
646
- const M = h(c);
647
- M && (M.status = y.uploading, M.percent = H, (ce = (_ = this == null ? void 0 : this.props) == null ? void 0 : _.onProgress) == null || ce.call(_, M, O));
637
+ } = e, le = {
638
+ onProgress: (G, D) => {
639
+ var K, se;
640
+ const _ = h(c);
641
+ _ && (_.status = y.uploading, _.percent = G, (se = (K = this == null ? void 0 : this.props) == null ? void 0 : K.onProgress) == null || se.call(K, _, D));
648
642
  },
649
- onSuccess: (H) => {
650
- const O = h(c);
651
- O && (O.status = y.success, O.response = H, f(O)), m(c.uid);
643
+ onSuccess: (G) => {
644
+ const D = h(c);
645
+ D && (D.status = y.success, D.response = G, f(D)), m(c.uid);
652
646
  },
653
- onError: (H) => {
654
- const O = h(c);
655
- O && (O.status = y.fail, O.response = H, f(O)), m(c.uid);
647
+ onError: (G) => {
648
+ const D = h(c);
649
+ D && (D.status = y.fail, D.response = G, f(D)), m(c.uid);
656
650
  },
657
651
  headers: R,
658
652
  name: C,
@@ -661,41 +655,41 @@ function Qe(e, d) {
661
655
  withCredentials: N
662
656
  };
663
657
  f(c);
664
- let Q;
665
- I ? Q = Xe({ ...se, action: I, method: E }) : w && (Q = await w(se)), t({
658
+ let Y;
659
+ $ ? Y = Je({ ...le, action: $, method: E }) : w && (Y = await w(le)), t({
666
660
  uploadRequests: {
667
661
  ...s.uploadRequests,
668
- [c.uid]: Q
662
+ [c.uid]: Y
669
663
  }
670
664
  });
671
665
  }
672
666
  function U(c) {
673
- const { limit: I, fileList: R, onExceedLimit: C, autoUpload: v } = e;
674
- if (fe(I) && I < R.length + c.length)
667
+ const { limit: $, fileList: R, onExceedLimit: C, autoUpload: v } = e;
668
+ if (me($) && $ < R.length + c.length)
675
669
  return C == null ? void 0 : C(c, R);
676
670
  const N = (w, E) => {
677
- const p = e.fileList || [], A = {
671
+ const T = e.fileList || [], A = {
678
672
  uid: `${String(+/* @__PURE__ */ new Date())}${E}`,
679
673
  originFile: w,
680
674
  percent: 0,
681
675
  status: y.init,
682
676
  name: w.name
683
677
  };
684
- f(A), p.push(A), f(A, p), v && setTimeout(() => {
685
- $({
678
+ f(A), T.push(A), f(A, T), v && setTimeout(() => {
679
+ x({
686
680
  ...A,
687
681
  status: y.uploading
688
682
  });
689
683
  }, 0);
690
684
  };
691
685
  c.forEach((w, E) => {
692
- le(w, e.accept) && (F(e.beforeUpload) ? Promise.resolve(e.beforeUpload(w, c)).then((p) => {
693
- if (p !== !1) {
694
- const A = pe(p) ? p : w;
686
+ oe(w, e.accept) && (F(e.beforeUpload) ? Promise.resolve(e.beforeUpload(w, c)).then((T) => {
687
+ if (T !== !1) {
688
+ const A = pe(T) ? T : w;
695
689
  N(A, E);
696
690
  }
697
- }).catch((p) => {
698
- console.error(p);
691
+ }).catch((T) => {
692
+ console.error(T);
699
693
  }) : N(w, E));
700
694
  });
701
695
  }
@@ -705,16 +699,16 @@ function Qe(e, d) {
705
699
  children: P,
706
700
  prefixCls: o,
707
701
  tip: b,
708
- disabled: x,
702
+ disabled: I,
709
703
  drag: S,
710
- listType: T,
711
- hide: D,
712
- directory: k,
704
+ listType: k,
705
+ hide: O,
706
+ directory: p,
713
707
  onDrop: q,
714
708
  onDragOver: j,
715
709
  onDragLeave: V
716
710
  } = e;
717
- return /* @__PURE__ */ L(B, { children: [
711
+ return /* @__PURE__ */ L(M, { children: [
718
712
  /* @__PURE__ */ r(
719
713
  "input",
720
714
  {
@@ -728,12 +722,12 @@ function Qe(e, d) {
728
722
  zIndex: -999999
729
723
  },
730
724
  type: "file",
731
- accept: ae(n) ? n == null ? void 0 : n.type : n,
725
+ accept: H(n) ? n == null ? void 0 : n.type : n,
732
726
  multiple: g,
733
- ...k ? { webkitdirectory: "true" } : {},
727
+ ...p ? { webkitdirectory: "true" } : {},
734
728
  onChange: (c) => {
735
- const I = c.target.files;
736
- I && (U([].slice.call(I)), u.current.value = "");
729
+ const $ = c.target.files;
730
+ $ && (U([].slice.call($)), u.current.value = "");
737
731
  },
738
732
  onClick: (c) => {
739
733
  c.stopPropagation();
@@ -742,30 +736,30 @@ function Qe(e, d) {
742
736
  "trigger-input"
743
737
  ),
744
738
  /* @__PURE__ */ r(
745
- ie,
739
+ ne,
746
740
  {
747
- in: !D,
741
+ in: !O,
748
742
  timeout: 100,
749
743
  unmountOnExit: !0,
750
744
  classNames: "fadeIn",
751
745
  children: /* @__PURE__ */ r(
752
- Je,
746
+ We,
753
747
  {
754
- directory: k,
748
+ directory: p,
755
749
  tip: b,
756
750
  multiple: g,
757
751
  accept: n,
758
- disabled: x,
752
+ disabled: I,
759
753
  drag: S,
760
- listType: T,
754
+ listType: k,
761
755
  triggerPictureIcon: e.triggerPictureIcon,
762
756
  onDrop: q,
763
757
  onDragOver: j,
764
758
  onDragLeave: V,
765
759
  onDragFiles: U,
766
760
  onClick: () => {
767
- var c, I;
768
- !x && ((I = (c = u.current) == null ? void 0 : c.click) == null || I.call(c));
761
+ var c, $;
762
+ !I && (($ = (c = u.current) == null ? void 0 : c.click) == null || $.call(c));
769
763
  },
770
764
  prefixCls: o,
771
765
  children: F(P) ? P({ fileList: e.fileList }) : P
@@ -774,17 +768,17 @@ function Qe(e, d) {
774
768
  },
775
769
  "trigger-node"
776
770
  ),
777
- b && T !== "picture-card" && !S ? /* @__PURE__ */ r("div", { className: `${o}-trigger-tip`, children: b }, "trigger-tip") : null
771
+ b && k !== "picture-card" && !S ? /* @__PURE__ */ r("div", { className: `${o}-trigger-tip`, children: b }, "trigger-tip") : null
778
772
  ] });
779
773
  }
780
- const Ye = ee.forwardRef(Qe), Z = function(e) {
774
+ const Qe = te.forwardRef(Xe), ee = function(e) {
781
775
  const d = [].concat(e || []).filter(Boolean);
782
776
  return d.reduce((u, s, t) => {
783
777
  if (s.uid) {
784
778
  const a = d.findIndex(
785
779
  (l) => s.uid === l.uid && s !== l
786
780
  );
787
- de(a !== -1, "[Upload]: duplicate uid");
781
+ ce(a !== -1, "[Upload]: duplicate uid");
788
782
  const i = {
789
783
  status: y.success,
790
784
  percent: 100,
@@ -792,7 +786,7 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
792
786
  };
793
787
  a === -1 ? u.push(i) : u.splice(a, 1, i);
794
788
  } else {
795
- de(!0, "[Upload]: uid is required");
789
+ ce(!0, "[Upload]: uid is required");
796
790
  const a = `${String(+/* @__PURE__ */ new Date())}${t}`;
797
791
  u.push({
798
792
  uid: a,
@@ -803,18 +797,18 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
803
797
  }
804
798
  return u;
805
799
  }, []);
806
- }, Ze = {
800
+ }, Ye = {
807
801
  listType: "text",
808
802
  autoUpload: !0,
809
803
  showUploadList: !0,
810
804
  beforeUpload: () => !0,
811
805
  method: "post"
812
- }, et = (e, d) => {
813
- const { getPrefixCls: u, componentConfig: s, rtl: t } = z(J), a = we(
806
+ }, Ze = (e, d) => {
807
+ const { getPrefixCls: u, componentConfig: s, rtl: t } = W(X), a = ye(
814
808
  e,
815
- Ze,
809
+ Ye,
816
810
  s == null ? void 0 : s.Upload
817
- ), i = u("upload"), l = te(), m = te(), [f, h] = G(() => "fileList" in a ? Z(a.fileList) : "defaultFileList" in a ? Z(a.defaultFileList) : []), $ = "fileList" in a ? Z(a.fileList) : f, U = (v, N) => {
811
+ ), i = u("upload"), l = ie(), m = ie(), [f, h] = B(() => "fileList" in a ? ee(a.fileList) : "defaultFileList" in a ? ee(a.defaultFileList) : []), x = "fileList" in a ? ee(a.fileList) : f, U = (v, N) => {
818
812
  var w;
819
813
  "fileList" in a || h(v), (w = a.onChange) == null || w.call(a, v, N);
820
814
  }, n = (v) => {
@@ -828,10 +822,10 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
828
822
  if (v) {
829
823
  const { onRemove: N } = a;
830
824
  Promise.resolve(
831
- F(N) ? N(v, $) : N
825
+ F(N) ? N(v, x) : N
832
826
  ).then((w) => {
833
827
  w !== !1 && (l.current && l.current.abort(v), U(
834
- $.filter((E) => E.uid !== v.uid),
828
+ x.filter((E) => E.uid !== v.uid),
835
829
  v
836
830
  ));
837
831
  }).catch((w) => {
@@ -841,10 +835,10 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
841
835
  }, o = (v) => {
842
836
  v && l.current && l.current.abort(v);
843
837
  };
844
- ge(d, () => ({
838
+ fe(d, () => ({
845
839
  submit: (v) => {
846
840
  let N = [];
847
- v ? N = [v] : N = $.filter((w) => w.status === y.init), N.forEach((w) => {
841
+ v ? N = [v] : N = x.filter((w) => w.status === y.init), N.forEach((w) => {
848
842
  n(w);
849
843
  });
850
844
  },
@@ -860,18 +854,18 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
860
854
  }));
861
855
  const {
862
856
  listType: b,
863
- className: x,
857
+ className: I,
864
858
  style: S,
865
- renderUploadItem: T,
866
- showUploadList: D,
867
- renderUploadList: k,
859
+ renderUploadItem: k,
860
+ showUploadList: O,
861
+ renderUploadList: p,
868
862
  progressProps: q,
869
863
  imagePreview: j,
870
864
  ...V
871
- } = a, c = fe(a.limit) ? { hideOnExceedLimit: !0, maxCount: a.limit } : { hideOnExceedLimit: !0, ...a.limit }, I = c.maxCount && c.maxCount <= $.length, R = "disabled" in a ? a.disabled : !c.hideOnExceedLimit && I, C = /* @__PURE__ */ r(
865
+ } = a, c = me(a.limit) ? { hideOnExceedLimit: !0, maxCount: a.limit } : { hideOnExceedLimit: !0, ...a.limit }, $ = c.maxCount && c.maxCount <= x.length, R = "disabled" in a ? a.disabled : !c.hideOnExceedLimit && $, C = /* @__PURE__ */ r(
872
866
  "div",
873
867
  {
874
- ...Pe(V, [
868
+ ...we(V, [
875
869
  "disabled",
876
870
  "directory",
877
871
  "onReupload",
@@ -903,33 +897,33 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
903
897
  "onDragOver",
904
898
  "onDragLeave"
905
899
  ]),
906
- className: K(
900
+ className: z(
907
901
  i,
908
902
  {
909
903
  [`${i}-type-${b}`]: b,
910
904
  [`${i}-drag`]: a.drag,
911
905
  [`${i}-disabled`]: R,
912
- [`${i}-hide`]: c.hideOnExceedLimit && I,
906
+ [`${i}-hide`]: c.hideOnExceedLimit && $,
913
907
  [`${i}-rtl`]: t
914
908
  },
915
- x
909
+ I
916
910
  ),
917
911
  style: S,
918
912
  ref: m,
919
913
  children: /* @__PURE__ */ r(
920
- Ye,
914
+ Qe,
921
915
  {
922
916
  ref: l,
923
917
  ...a,
924
918
  limit: c.maxCount,
925
- hide: c.hideOnExceedLimit && I,
919
+ hide: c.hideOnExceedLimit && $,
926
920
  disabled: R,
927
921
  prefixCls: i,
928
- fileList: $,
922
+ fileList: x,
929
923
  onProgress: (v, N) => {
930
924
  var w;
931
925
  v && ("fileList" in a || h(
932
- $.map((E) => E.uid === v.uid ? v : E)
926
+ x.map((E) => E.uid === v.uid ? v : E)
933
927
  ), (w = a.onProgress) == null || w.call(a, v, N));
934
928
  },
935
929
  onFileStatusChange: U
@@ -937,19 +931,19 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
937
931
  )
938
932
  }
939
933
  );
940
- return /* @__PURE__ */ L(B, { children: [
934
+ return /* @__PURE__ */ L(M, { children: [
941
935
  b !== "picture-card" && C,
942
- D && /* @__PURE__ */ r(
943
- Ue,
936
+ O && /* @__PURE__ */ r(
937
+ ve,
944
938
  {
945
939
  imagePreview: j,
946
940
  progressProps: q,
947
- showUploadList: D,
941
+ showUploadList: O,
948
942
  disabled: a.disabled,
949
943
  listType: b,
950
- fileList: $,
951
- renderUploadItem: T,
952
- renderUploadList: k,
944
+ fileList: x,
945
+ renderUploadItem: k,
946
+ renderUploadList: p,
953
947
  onUpload: n,
954
948
  onAbort: o,
955
949
  onRemove: P,
@@ -961,10 +955,10 @@ const Ye = ee.forwardRef(Qe), Z = function(e) {
961
955
  b === "picture-card" && C,
962
956
  a.tip && b === "picture-card" && /* @__PURE__ */ r("div", { className: `${i}-trigger-tip`, children: a.tip })
963
957
  ] });
964
- }, tt = W(
965
- et
958
+ }, et = J(
959
+ Ze
966
960
  );
967
- tt.displayName = "Upload";
961
+ et.displayName = "Upload";
968
962
  export {
969
- tt as U
963
+ et as U
970
964
  };