@unicom-cloud/ui 0.8.54 → 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 (429) 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/{qSJXQ1qu.js → DBJ8d0o0.js} +183 -189
  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/modal/config.d.ts +1 -1
  197. package/types/version/index.d.ts +1 -1
  198. package/utils/CSSTransition.js +1 -1
  199. package/utils/className.js +2 -3
  200. package/utils/contextHolder.js +2 -2
  201. package/utils/copy.js +2 -3
  202. package/utils/is.js +127 -90
  203. package/utils/reactDOM.js +17 -15
  204. package/utils/responsiveObserve.js +16 -16
  205. package/utils/saveAs.js +2 -3
  206. package/utils/scrollIntoView.js +1 -1
  207. package/chunk/BdYAMaw9.js +0 -6
  208. package/chunk/CiZVOdJ3.js +0 -122
  209. package/chunk/DdtfPvgk.js +0 -272
  210. package/chunk/I4RV9SKZ.js +0 -135
  211. package/chunk/TXCrI0jN.js +0 -20
  212. package/chunk/i1A7W8Qt.js +0 -277
  213. package/chunk/xPzFRQJn.js +0 -740
  214. package/hooks/useAsync.js +0 -13
  215. package/hooks/useAsyncFn.js +0 -15
  216. package/hooks/useAsyncRetry.js +0 -17
  217. package/hooks/useAudio.js +0 -5
  218. package/hooks/useBeforeUnload.js +0 -18
  219. package/hooks/useBoolean.js +0 -4
  220. package/hooks/useClickAway.js +0 -22
  221. package/hooks/useCopyToClipboard.js +0 -51
  222. package/hooks/useCounter.js +0 -45
  223. package/hooks/useCreation.js +0 -17
  224. package/hooks/useCustomCompareEffect.js +0 -15
  225. package/hooks/useDebounce.js +0 -9
  226. package/hooks/useDefault.js +0 -10
  227. package/hooks/useDrop.js +0 -44
  228. package/hooks/useDropArea.js +0 -45
  229. package/hooks/useEffectOnce.js +0 -7
  230. package/hooks/useEffectState.js +0 -9
  231. package/hooks/useEnsuredForwardedRef.js +0 -17
  232. package/hooks/useError.js +0 -13
  233. package/hooks/useEvent.js +0 -13
  234. package/hooks/useEventListener.js +0 -39
  235. package/hooks/useFavicon.js +0 -16
  236. package/hooks/useFirstMountState.js +0 -8
  237. package/hooks/useFullscreen.js +0 -39
  238. package/hooks/useGeolocation.js +0 -38
  239. package/hooks/useGetSet.js +0 -18
  240. package/hooks/useGetSetState.js +0 -12
  241. package/hooks/useHash.js +0 -26
  242. package/hooks/useHover.js +0 -16
  243. package/hooks/useHoverDirty.js +0 -17
  244. package/hooks/useIdle.js +0 -34
  245. package/hooks/useIntersection.js +0 -19
  246. package/hooks/useIsomorphicLayoutEffect2.js +0 -6
  247. package/hooks/useKey.js +0 -16
  248. package/hooks/useKeyPress.js +0 -13
  249. package/hooks/useKeyPressEvent.js +0 -11
  250. package/hooks/useLatest.js +0 -8
  251. package/hooks/useLifecycles.js +0 -9
  252. package/hooks/useList.js +0 -67
  253. package/hooks/useLocalStorage.js +0 -42
  254. package/hooks/useLocation.js +0 -51
  255. package/hooks/useLockBodyScroll.js +0 -55
  256. package/hooks/useLogger.js +0 -10
  257. package/hooks/useLongPress.js +0 -24
  258. package/hooks/useMap.js +0 -31
  259. package/hooks/useMeasure.js +0 -34
  260. package/hooks/useMeasureDirty.js +0 -24
  261. package/hooks/useMediaDevices.js +0 -26
  262. package/hooks/useMediatedState.js +0 -14
  263. package/hooks/useMethods.js +0 -14
  264. package/hooks/useMotion.js +0 -56
  265. package/hooks/useMount.js +0 -9
  266. package/hooks/useMountedState.js +0 -10
  267. package/hooks/useMouse.js +0 -44
  268. package/hooks/useMouseHovered.js +0 -9
  269. package/hooks/useMouseWheel.js +0 -14
  270. package/hooks/useMultiStateValidator.js +0 -19
  271. package/hooks/useNetworkState.js +0 -31
  272. package/hooks/useNumber.js +0 -4
  273. package/hooks/useObservable.js +0 -12
  274. package/hooks/useOrientation.js +0 -30
  275. package/hooks/usePageLeave.js +0 -19
  276. package/hooks/usePermission.js +0 -19
  277. package/hooks/usePinchZoom.js +0 -40
  278. package/hooks/usePreviousDistinct.js +0 -10
  279. package/hooks/usePromise.js +0 -19
  280. package/hooks/useQueue.js +0 -25
  281. package/hooks/useRaf.js +0 -24
  282. package/hooks/useRafLoop.js +0 -24
  283. package/hooks/useRafState.js +0 -15
  284. package/hooks/useReactive.js +0 -21
  285. package/hooks/useRendersCount.js +0 -7
  286. package/hooks/useScroll.js +0 -27
  287. package/hooks/useScrolling.js +0 -23
  288. package/hooks/useSearchParam.js +0 -18
  289. package/hooks/useSessionStorage.js +0 -29
  290. package/hooks/useSet.js +0 -15
  291. package/hooks/useSetState.js +0 -16
  292. package/hooks/useSize.js +0 -58
  293. package/hooks/useSlider.js +0 -48
  294. package/hooks/useSpeech.js +0 -45
  295. package/hooks/useStartTyping.js +0 -30
  296. package/hooks/useStateList.js +0 -37
  297. package/hooks/useStateValidator.js +0 -17
  298. package/hooks/useStateWithHistory.js +0 -46
  299. package/hooks/useSyncState.js +0 -14
  300. package/hooks/useThrottle.js +0 -21
  301. package/hooks/useThrottleFn.js +0 -21
  302. package/hooks/useTimeout.js +0 -17
  303. package/hooks/useTimeoutFn.js +0 -16
  304. package/hooks/useTitle.js +0 -18
  305. package/hooks/useToggle.js +0 -5
  306. package/hooks/useTween.js +0 -11
  307. package/hooks/useUnmount.js +0 -9
  308. package/hooks/useUnmountPromise.js +0 -20
  309. package/hooks/useUpdate.js +0 -10
  310. package/hooks/useUpdateTimeout.js +0 -9
  311. package/hooks/useUpsert.js +0 -16
  312. package/hooks/useVibrate.js +0 -21
  313. package/hooks/useVideo.js +0 -5
  314. package/hooks/useWindowScroll.js +0 -29
  315. package/types/hooks/component/UseKey.d.ts +0 -2
  316. package/types/hooks/factory/createBreakpoint.d.ts +0 -4
  317. package/types/hooks/factory/createGlobalState.d.ts +0 -7
  318. package/types/hooks/factory/createHTMLMediaHook.d.ts +0 -33
  319. package/types/hooks/factory/createMemo.d.ts +0 -2
  320. package/types/hooks/factory/createReducer.d.ts +0 -8
  321. package/types/hooks/factory/createReducerContext.d.ts +0 -5
  322. package/types/hooks/factory/createRenderProp.d.ts +0 -1
  323. package/types/hooks/factory/createRouter.d.ts +0 -7
  324. package/types/hooks/factory/createStateContext.d.ts +0 -5
  325. package/types/hooks/misc/hookState.d.ts +0 -8
  326. package/types/hooks/misc/parseTimeRanges.d.ts +0 -4
  327. package/types/hooks/misc/types.d.ts +0 -2
  328. package/types/hooks/misc/util.d.ts +0 -5
  329. package/types/hooks/useAsync.d.ts +0 -20
  330. package/types/hooks/useAsyncFn.d.ts +0 -23
  331. package/types/hooks/useAsyncRetry.d.ts +0 -27
  332. package/types/hooks/useAudio.d.ts +0 -11
  333. package/types/hooks/useBeforeUnload.d.ts +0 -2
  334. package/types/hooks/useBoolean.d.ts +0 -2
  335. package/types/hooks/useClickAway.d.ts +0 -3
  336. package/types/hooks/useCopyToClipboard.d.ts +0 -7
  337. package/types/hooks/useCounter.d.ts +0 -9
  338. package/types/hooks/useCreation.d.ts +0 -2
  339. package/types/hooks/useCustomCompareEffect.d.ts +0 -4
  340. package/types/hooks/useDebounce.d.ts +0 -3
  341. package/types/hooks/useDefault.d.ts +0 -2
  342. package/types/hooks/useDrop.d.ts +0 -17
  343. package/types/hooks/useDropArea.d.ts +0 -18
  344. package/types/hooks/useEffectOnce.d.ts +0 -3
  345. package/types/hooks/useEffectState.d.ts +0 -2
  346. package/types/hooks/useEnsuredForwardedRef.d.ts +0 -3
  347. package/types/hooks/useError.d.ts +0 -2
  348. package/types/hooks/useEvent.d.ts +0 -13
  349. package/types/hooks/useEventListener.d.ts +0 -2
  350. package/types/hooks/useFavicon.d.ts +0 -2
  351. package/types/hooks/useFirstMountState.d.ts +0 -1
  352. package/types/hooks/useFullscreen.d.ts +0 -10
  353. package/types/hooks/useGeolocation.d.ts +0 -21
  354. package/types/hooks/useGetSet.d.ts +0 -3
  355. package/types/hooks/useGetSetState.d.ts +0 -2
  356. package/types/hooks/useHash.d.ts +0 -2
  357. package/types/hooks/useHover.d.ts +0 -4
  358. package/types/hooks/useHoverDirty.d.ts +0 -3
  359. package/types/hooks/useIdle.d.ts +0 -2
  360. package/types/hooks/useIntersection.d.ts +0 -3
  361. package/types/hooks/useIsomorphicLayoutEffect2.d.ts +0 -3
  362. package/types/hooks/useKey.d.ts +0 -12
  363. package/types/hooks/useKeyPress.d.ts +0 -3
  364. package/types/hooks/useKeyPressEvent.d.ts +0 -3
  365. package/types/hooks/useLatest.d.ts +0 -4
  366. package/types/hooks/useLifecycles.d.ts +0 -2
  367. package/types/hooks/useList.d.ts +0 -18
  368. package/types/hooks/useLocalStorage.d.ts +0 -10
  369. package/types/hooks/useLocation.d.ts +0 -16
  370. package/types/hooks/useLockBodyScroll.d.ts +0 -8
  371. package/types/hooks/useLogger.d.ts +0 -2
  372. package/types/hooks/useLongPress.d.ts +0 -12
  373. package/types/hooks/useMap.d.ts +0 -11
  374. package/types/hooks/useMeasure.d.ts +0 -9
  375. package/types/hooks/useMeasureDirty.d.ts +0 -11
  376. package/types/hooks/useMediaDevices.d.ts +0 -2
  377. package/types/hooks/useMediatedState.d.ts +0 -9
  378. package/types/hooks/useMethods.d.ts +0 -8
  379. package/types/hooks/useMotion.d.ts +0 -20
  380. package/types/hooks/useMount.d.ts +0 -2
  381. package/types/hooks/useMountedState.d.ts +0 -1
  382. package/types/hooks/useMouse.d.ts +0 -13
  383. package/types/hooks/useMouseHovered.d.ts +0 -8
  384. package/types/hooks/useMouseWheel.d.ts +0 -2
  385. package/types/hooks/useMultiStateValidator.d.ts +0 -9
  386. package/types/hooks/useNetworkState.d.ts +0 -22
  387. package/types/hooks/useNumber.d.ts +0 -2
  388. package/types/hooks/useObservable.d.ts +0 -8
  389. package/types/hooks/useOrientation.d.ts +0 -6
  390. package/types/hooks/usePageLeave.d.ts +0 -2
  391. package/types/hooks/usePermission.d.ts +0 -16
  392. package/types/hooks/usePinchZoom.d.ts +0 -18
  393. package/types/hooks/usePreviousDistinct.d.ts +0 -2
  394. package/types/hooks/usePromise.d.ts +0 -3
  395. package/types/hooks/useQueue.d.ts +0 -9
  396. package/types/hooks/useRaf.d.ts +0 -2
  397. package/types/hooks/useRafLoop.d.ts +0 -2
  398. package/types/hooks/useRafState.d.ts +0 -3
  399. package/types/hooks/useReactive.d.ts +0 -2
  400. package/types/hooks/useRendersCount.d.ts +0 -1
  401. package/types/hooks/useScroll.d.ts +0 -7
  402. package/types/hooks/useScrolling.d.ts +0 -3
  403. package/types/hooks/useSearchParam.d.ts +0 -3
  404. package/types/hooks/useSessionStorage.d.ts +0 -2
  405. package/types/hooks/useSet.d.ts +0 -11
  406. package/types/hooks/useSetState.d.ts +0 -2
  407. package/types/hooks/useSize.d.ts +0 -8
  408. package/types/hooks/useSlider.d.ts +0 -15
  409. package/types/hooks/useSpeech.d.ts +0 -16
  410. package/types/hooks/useStartTyping.d.ts +0 -2
  411. package/types/hooks/useStateList.d.ts +0 -9
  412. package/types/hooks/useStateValidator.d.ts +0 -8
  413. package/types/hooks/useStateWithHistory.d.ts +0 -18
  414. package/types/hooks/useSyncState.d.ts +0 -3
  415. package/types/hooks/useThrottle.d.ts +0 -2
  416. package/types/hooks/useThrottleFn.d.ts +0 -2
  417. package/types/hooks/useTimeout.d.ts +0 -2
  418. package/types/hooks/useTimeoutFn.d.ts +0 -2
  419. package/types/hooks/useTitle.d.ts +0 -6
  420. package/types/hooks/useToggle.d.ts +0 -2
  421. package/types/hooks/useTween.d.ts +0 -3
  422. package/types/hooks/useUnmount.d.ts +0 -2
  423. package/types/hooks/useUnmountPromise.d.ts +0 -3
  424. package/types/hooks/useUpdate.d.ts +0 -2
  425. package/types/hooks/useUpdateTimeout.d.ts +0 -2
  426. package/types/hooks/useUpsert.d.ts +0 -6
  427. package/types/hooks/useVibrate.d.ts +0 -4
  428. package/types/hooks/useVideo.d.ts +0 -11
  429. package/types/hooks/useWindowScroll.d.ts +0 -6
package/Tabs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as a } from "./chunk/RRWbBHK-.js";
1
+ import { T as a } from "./chunk/B2Bp3i5u.js";
2
2
  export {
3
3
  a as default
4
4
  };
package/Tag.js CHANGED
@@ -1,13 +1,12 @@
1
1
  import { jsx as c, jsxs as T, Fragment as G } from "react/jsx-runtime";
2
- import J from "@unicom-cloud/icons/IconUiClose";
3
- import Q from "@unicom-cloud/icons/IconUiLoading";
2
+ import { I as J, e as Q } from "./chunk/B45v5S9k.js";
4
3
  import b from "lodash/isPlainObject";
5
4
  import { forwardRef as W, useContext as X, useState as v } from "react";
6
- import { a as Y, I as Z } from "./chunk/xPzFRQJn.js";
5
+ import { b as Y, I as Z } from "./chunk/DUxWiN2U.js";
7
6
  import ee from "./hooks/useKeyboardEvent.js";
8
7
  import oe from "./hooks/useMergeProps.js";
9
8
  import ne from "./Popconfirm.js";
10
- import re from "@unicom-cloud/utils/class-name";
9
+ import { y as re } from "./chunk/Do1aMgY3.js";
11
10
  import ie from "./utils/omit.js";
12
11
  const te = [
13
12
  "red",
@@ -39,32 +38,32 @@ function se(_, j) {
39
38
  closable: e,
40
39
  checkable: d,
41
40
  defaultChecked: K,
42
- size: N,
41
+ size: y,
43
42
  onClose: m,
44
43
  onCheck: f,
45
- icon: y,
44
+ icon: I,
46
45
  closeIcon: p,
47
46
  bordered: R,
48
47
  __closeIconProps: U,
49
48
  ...V
50
- } = i, o = z("tag"), [q, P] = v(
49
+ } = i, o = z("tag"), [q, N] = v(
51
50
  "visible" in i ? i.visible : !0
52
51
  ), [F, M] = v(
53
52
  "checked" in i ? i.checked : K
54
- ), [h, g] = v(), I = "checked" in i ? i.checked : F, A = "visible" in i ? i.visible : q;
53
+ ), [h, g] = v(), P = "checked" in i ? i.checked : F, A = "visible" in i ? i.visible : q;
55
54
  function u(n) {
56
55
  const r = m == null ? void 0 : m(n);
57
56
  r && r.then ? (g(!0), r.then(() => {
58
- g(!1), P(!1);
57
+ g(!1), N(!1);
59
58
  }).catch(() => {
60
59
  g(!1);
61
- })) : P(!1);
60
+ })) : N(!1);
62
61
  }
63
62
  function B() {
64
- const n = !I;
63
+ const n = !P;
65
64
  "checked" in i || M(n), f == null || f(n);
66
65
  }
67
- const a = t && te.indexOf(t) !== -1 ? t : "", k = d ? I : !0, D = re(
66
+ const a = t && te.indexOf(t) !== -1 ? t : "", k = d ? P : !0, D = re(
68
67
  o,
69
68
  {
70
69
  [`${o}-loading`]: h,
@@ -72,7 +71,7 @@ function se(_, j) {
72
71
  [`${o}-${a}`]: a,
73
72
  [`${o}-checkable`]: d,
74
73
  [`${o}-checked`]: k,
75
- [`${o}-size-${N}`]: N,
74
+ [`${o}-size-${y}`]: y,
76
75
  [`${o}-bordered`]: R,
77
76
  [`${o}-custom-color`]: k && t && !a,
78
77
  [`${o}-rtl`]: H
@@ -123,7 +122,7 @@ function se(_, j) {
123
122
  children: $
124
123
  }
125
124
  )), /* @__PURE__ */ T("div", { ref: j, style: C, className: D, ...O, children: [
126
- y && /* @__PURE__ */ c("span", { className: `${o}-icon`, children: y }),
125
+ I && /* @__PURE__ */ c("span", { className: `${o}-icon`, children: I }),
127
126
  /* @__PURE__ */ c("span", { className: `${o}-content`, children: x }),
128
127
  !!e && !h && p !== null && $,
129
128
  h && /* @__PURE__ */ c("span", { className: `${o}-loading-icon`, children: /* @__PURE__ */ c(Q, {}) })
package/TimePicker.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import Re from "@unicom-cloud/icons/IconUiClockCircle";
2
+ import { I as Re } from "./chunk/B1S1OEw6.js";
3
3
  import { isDayjs as L } from "dayjs";
4
4
  import p from "lodash/isArray";
5
5
  import He, { useContext as pe, useState as z, useRef as ze } from "react";
6
- import { a as Ae } from "./chunk/xPzFRQJn.js";
7
- import Ne from "./hooks/useMergeProps.js";
6
+ import { b as Ae } from "./chunk/DUxWiN2U.js";
7
+ import Oe from "./hooks/useMergeProps.js";
8
8
  import ce from "./hooks/usePrevious.js";
9
- import Oe from "./hooks/useUpdateEffect.js";
10
- import { a as Ee, I as Fe } from "./chunk/i1A7W8Qt.js";
11
- import $e from "./Trigger.js";
12
- import Ue from "@unicom-cloud/utils/class-name";
9
+ import Ee from "./hooks/useUpdateEffect.js";
10
+ import { a as Fe, I as Ne } from "./chunk/BuEC_zcc.js";
11
+ import Ue from "./Trigger.js";
12
+ import { y as $e } from "./chunk/Do1aMgY3.js";
13
13
  import { getDayjsValue as B, toLocal as d, toTimezone as X, isValidTimeString as Q, getSortedDayjsArray as Be, isDayjsArrayChange as Le, isDayjsChange as Me } from "./utils/dayjs.js";
14
14
  import { pickDataAttributes as We } from "./utils/pick.js";
15
- import { P as me, g as _e, T as de } from "./chunk/CqcZfQQ4.js";
15
+ import { P as me, g as _e, T as de } from "./chunk/Bv8ZRDFt.js";
16
16
  import qe from "./utils/omit.js";
17
17
  function Ge(h) {
18
18
  return h.format || "HH:mm:ss";
@@ -26,9 +26,9 @@ const fe = {
26
26
  scrollSticky: !0
27
27
  }, Je = { bottom: 4 }, Ke = (h) => {
28
28
  var se, ae;
29
- const { locale: u, getPrefixCls: v, componentConfig: l, rtl: x } = pe(Ae);
30
- x && (fe.position = "br");
31
- const t = Ne(
29
+ const { locale: u, getPrefixCls: v, componentConfig: l, rtl: b } = pe(Ae);
30
+ b && (fe.position = "br");
31
+ const t = Oe(
32
32
  h,
33
33
  fe,
34
34
  l == null ? void 0 : l.TimePicker
@@ -36,10 +36,10 @@ const fe = {
36
36
  allowClear: A = !0,
37
37
  className: f,
38
38
  disableConfirm: M,
39
- style: T,
40
- placeholder: b,
41
- getPopupContainer: N,
42
- disabled: y,
39
+ style: x,
40
+ placeholder: y,
41
+ getPopupContainer: O,
42
+ disabled: T,
43
43
  position: W,
44
44
  isRangePicker: g,
45
45
  picker: _,
@@ -57,38 +57,38 @@ const fe = {
57
57
  utcOffset: n,
58
58
  timezone: r
59
59
  } = t, a = Ge(t), Ce = v("timepicker");
60
- function ke() {
60
+ function Ie() {
61
61
  let e;
62
62
  return t.value ? e = B(t.value, a, n, r) : t.defaultValue && (e = B(t.defaultValue, a, n, r)), e;
63
63
  }
64
- const [ee, oe] = z(!1), [C, te] = z(ke()), [i, j] = z(), [R, k] = z(), [O, Ie] = z(0), V = "value" in t ? B(P, a, n, r) : C, q = "popupVisible" in t ? t.popupVisible : ee, E = ce(n), F = ce(r);
65
- Oe(() => {
66
- if (C && (E !== n || r !== F)) {
67
- const e = p(C) ? C.map((c) => d(c, E, F)) : d(C, E, F), o = p(e) ? e.map((c) => X(c, n, r)) : X(e, n, r);
64
+ const [ee, oe] = z(!1), [C, te] = z(Ie()), [i, j] = z(), [R, I] = z(), [E, ke] = z(0), V = "value" in t ? B(P, a, n, r) : C, q = "popupVisible" in t ? t.popupVisible : ee, F = ce(n), N = ce(r);
65
+ Ee(() => {
66
+ if (C && (F !== n || r !== N)) {
67
+ const e = p(C) ? C.map((c) => d(c, F, N)) : d(C, F, N), o = p(e) ? e.map((c) => X(c, n, r)) : X(e, n, r);
68
68
  te(o);
69
69
  }
70
- }, [n, E, r, F]);
70
+ }, [n, F, r, N]);
71
71
  const G = ze(null);
72
72
  function J(e) {
73
73
  var o, c;
74
74
  (c = (o = G.current) == null ? void 0 : o.focus) == null || c.call(o, e);
75
75
  }
76
76
  function K(e) {
77
- Ie(e), setTimeout(() => J(e));
77
+ ke(e), setTimeout(() => J(e));
78
78
  }
79
- function xe(e) {
79
+ function be(e) {
80
80
  e ? H(e, () => {
81
81
  setTimeout(() => J());
82
82
  }) : H(!1);
83
83
  }
84
84
  function H(e, o) {
85
- oe(e), k(void 0), o == null || o(), e || j(void 0);
85
+ oe(e), I(void 0), o == null || o(), e || j(void 0);
86
86
  }
87
- function $(e) {
87
+ function U(e) {
88
88
  const o = g && ve && p(e) ? Be(e.map((c) => _e(c))) : e;
89
- te(o), j(void 0), k(void 0), Te(o), M || H(!1);
89
+ te(o), j(void 0), I(void 0), xe(o), M || H(!1);
90
90
  }
91
- function Te(e) {
91
+ function xe(e) {
92
92
  p(e) && Le(V, e) && (s == null || s(
93
93
  e.map((o) => d(o, n, r).format(a)),
94
94
  e.map((o) => d(o, n, r))
@@ -102,20 +102,20 @@ const fe = {
102
102
  return /* @__PURE__ */ m(
103
103
  "div",
104
104
  {
105
- className: Ue(`${Ce}-container`, e ? f : ""),
106
- style: e ? T : {},
105
+ className: $e(`${Ce}-container`, e ? f : ""),
106
+ style: e ? x : {},
107
107
  onClick: () => J(),
108
108
  children: He.cloneElement(_, {
109
109
  ...t,
110
110
  format: a,
111
111
  inputValue: R,
112
- setInputValue: k,
113
- onConfirmValue: $,
112
+ setInputValue: I,
113
+ onConfirmValue: U,
114
114
  setValueShow: j,
115
115
  valueShow: o,
116
116
  value: V,
117
117
  popupVisible: q,
118
- focusedInputIndex: O,
118
+ focusedInputIndex: E,
119
119
  changeFocusedInputIndex: K
120
120
  })
121
121
  }
@@ -123,48 +123,48 @@ const fe = {
123
123
  }
124
124
  function ne(e) {
125
125
  const o = e.target.value;
126
- ee || oe(!0), k(o), be(o);
126
+ ee || oe(!0), I(o), ye(o);
127
127
  }
128
- function be(e) {
128
+ function ye(e) {
129
129
  var c, ue;
130
130
  const o = B(e, a);
131
131
  if (g) {
132
- const I = [
132
+ const k = [
133
133
  ...p(i) ? i : C || []
134
134
  ];
135
135
  if (Q(e, a)) {
136
- I[O] = o;
137
- const le = I.map(
138
- (U) => d(U, n, r)
136
+ k[E] = o;
137
+ const le = k.map(
138
+ ($) => d($, n, r)
139
139
  );
140
140
  (c = t.onSelect) == null || c.call(
141
141
  t,
142
- le.map((U) => U && U.format(a)),
142
+ le.map(($) => $ && $.format(a)),
143
143
  le
144
- ), j(I), k(void 0);
144
+ ), j(k), I(void 0);
145
145
  }
146
146
  } else if (Q(e, a)) {
147
- const I = d(o, n, r);
148
- (ue = t.onSelect) == null || ue.call(t, I.format(a), I), j(o), k(void 0);
147
+ const k = d(o, n, r);
148
+ (ue = t.onSelect) == null || ue.call(t, k.format(a), k), j(o), I(void 0);
149
149
  }
150
150
  }
151
- function ye() {
152
- g ? p(i) && i.length ? R && !Q(R, a) ? H(!1) : i[0] === void 0 || i[1] === void 0 ? K(O === 0 ? 1 : 0) : i.length === 2 && $(i) : H(!1) : $(i || V);
151
+ function Te() {
152
+ g ? p(i) && i.length ? R && !Q(R, a) ? H(!1) : i[0] === void 0 || i[1] === void 0 ? K(E === 0 ? 1 : 0) : i.length === 2 && U(i) : H(!1) : U(i || V);
153
153
  }
154
154
  function Se(e) {
155
155
  var o;
156
- e.stopPropagation(), $(void 0), s == null || s(void 0, void 0), (o = t.onClear) == null || o.call(t);
156
+ e.stopPropagation(), U(void 0), s == null || s(void 0, void 0), (o = t.onClear) == null || o.call(t);
157
157
  }
158
- const we = g && p(b) ? b : (se = u == null ? void 0 : u.TimePicker) == null ? void 0 : se.placeholders, De = b || ((ae = u == null ? void 0 : u.TimePicker) == null ? void 0 : ae.placeholder), je = Z && Z.inputSuffix || /* @__PURE__ */ m(Re, {}), re = {
159
- style: T,
158
+ const we = g && p(y) ? y : (se = u == null ? void 0 : u.TimePicker) == null ? void 0 : se.placeholders, De = y || ((ae = u == null ? void 0 : u.TimePicker) == null ? void 0 : ae.placeholder), je = Z && Z.inputSuffix || /* @__PURE__ */ m(Re, {}), re = {
159
+ style: x,
160
160
  className: f,
161
161
  popupVisible: q,
162
162
  format: a,
163
- disabled: y,
163
+ disabled: T,
164
164
  error: S,
165
165
  status: Y,
166
166
  size: Pe,
167
- onPressEnter: ye,
167
+ onPressEnter: Te,
168
168
  onClear: Se,
169
169
  suffixIcon: je,
170
170
  editable: Ve,
@@ -173,22 +173,22 @@ const fe = {
173
173
  ...We(t)
174
174
  };
175
175
  return /* @__PURE__ */ m(me.Provider, { value: { utcOffset: n, timezone: r }, children: w === null ? ie(!0) : /* @__PURE__ */ m(
176
- $e,
176
+ Ue,
177
177
  {
178
178
  popup: () => ie(),
179
179
  trigger: "click",
180
180
  clickToClose: !1,
181
181
  position: W,
182
- disabled: y,
182
+ disabled: T,
183
183
  popupAlign: Je,
184
- getPopupContainer: N,
185
- onVisibleChange: xe,
184
+ getPopupContainer: O,
185
+ onVisibleChange: be,
186
186
  popupVisible: q,
187
187
  classNames: "slideDynamicOrigin",
188
188
  unmountOnExit: !!he,
189
189
  ...D,
190
190
  children: w || (g ? /* @__PURE__ */ m(
191
- Ee,
191
+ Fe,
192
192
  {
193
193
  ...re,
194
194
  ref: G,
@@ -197,10 +197,10 @@ const fe = {
197
197
  onChange: ne,
198
198
  inputValue: R,
199
199
  changeFocusedInputIndex: K,
200
- focusedInputIndex: O
200
+ focusedInputIndex: E
201
201
  }
202
202
  ) : /* @__PURE__ */ m(
203
- Fe,
203
+ Ne,
204
204
  {
205
205
  ...re,
206
206
  ref: G,
@@ -218,25 +218,25 @@ function Qe(h) {
218
218
  format: u = "HH:mm:ss",
219
219
  onSelect: v,
220
220
  focusedInputIndex: l,
221
- changeFocusedInputIndex: x,
221
+ changeFocusedInputIndex: b,
222
222
  popupVisible: t,
223
223
  onConfirmValue: A,
224
224
  valueShow: f = [],
225
225
  setValueShow: M,
226
- disableConfirm: T,
227
- ...b
228
- } = h, { utcOffset: N, timezone: y } = pe(me);
226
+ disableConfirm: x,
227
+ ...y
228
+ } = h, { utcOffset: O, timezone: T } = pe(me);
229
229
  function W(Y, w) {
230
- const D = f.slice(), P = f.map((s) => d(s, N, y));
231
- D[l] = X(w, N, y), P[l] = w, v == null || v(
230
+ const D = f.slice(), P = f.map((s) => d(s, O, T));
231
+ D[l] = X(w, O, T), P[l] = w, v == null || v(
232
232
  P.map((s) => s.format(u)),
233
233
  P
234
- ), M(D), T && p(P) && L(P[0]) && L(P[1]) && A(D);
234
+ ), M(D), x && p(P) && L(P[0]) && L(P[1]) && A(D);
235
235
  }
236
236
  function g() {
237
- f.length && (f[0] === void 0 || f[1] === void 0) ? x(l === 0 ? 1 : 0) : A(f);
237
+ f.length && (f[0] === void 0 || f[1] === void 0) ? b(l === 0 ? 1 : 0) : A(f);
238
238
  }
239
- const _ = qe(b, [
239
+ const _ = qe(y, [
240
240
  "defaultValue",
241
241
  "placeholder",
242
242
  "value",
@@ -253,14 +253,14 @@ function Qe(h) {
253
253
  confirmBtnDisabled: !L(S),
254
254
  valueShow: S,
255
255
  popupVisible: t,
256
- disableConfirm: T,
256
+ disableConfirm: x,
257
257
  ..._
258
258
  }
259
259
  );
260
260
  }
261
261
  function ge(h, u, v) {
262
- function l(x) {
263
- return /* @__PURE__ */ m(Ke, { ...x, picker: h, isRangePicker: v === "range" });
262
+ function l(b) {
263
+ return /* @__PURE__ */ m(Ke, { ...b, picker: h, isRangePicker: v === "range" });
264
264
  }
265
265
  return l.displayName = u, l;
266
266
  }
package/Timeline.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as o } from "./chunk/BzMYgxgO.js";
1
+ import { T as o } from "./chunk/CF3Telny.js";
2
2
  export {
3
3
  o as default
4
4
  };
package/Tooltip.js CHANGED
@@ -1,11 +1,10 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import F from "@unicom-cloud/utils/tinycolor";
3
- import I from "lodash/isFunction";
4
- import { forwardRef as S, useContext as j, useRef as z, useImperativeHandle as B, useMemo as W } from "react";
5
- import { a as q } from "./chunk/xPzFRQJn.js";
1
+ import { jsx as u } from "react/jsx-runtime";
2
+ import { b as F, n as I } from "./chunk/DUxWiN2U.js";
3
+ import S from "lodash/isFunction";
4
+ import { forwardRef as j, useContext as z, useRef as B, useImperativeHandle as W, useMemo as q } from "react";
6
5
  import G from "./hooks/useMergeProps.js";
7
6
  import J, { EventsByTriggerNeed as K } from "./Trigger.js";
8
- import P from "@unicom-cloud/utils/class-name";
7
+ import { y as P } from "./chunk/Do1aMgY3.js";
9
8
  import { isEmptyReactNode as Q } from "./utils/is.js";
10
9
  import U, { pickDataAttributes as X } from "./utils/pick.js";
11
10
  const Y = {
@@ -25,22 +24,22 @@ const Y = {
25
24
  bottom: 12
26
25
  };
27
26
  function oo(b, h) {
28
- const { getPrefixCls: C, componentConfig: n } = j(q), u = G(
27
+ const { getPrefixCls: C, componentConfig: n } = z(F), a = G(
29
28
  b,
30
29
  Y,
31
30
  n == null ? void 0 : n.Tooltip
32
31
  ), {
33
32
  style: x,
34
33
  className: c,
35
- children: N,
36
- trigger: y,
37
- escToClose: T,
38
- defaultPopupVisible: w,
34
+ children: y,
35
+ trigger: w,
36
+ escToClose: N,
37
+ defaultPopupVisible: T,
39
38
  position: m,
40
39
  unmountOnExit: V,
41
40
  popupVisible: v,
42
- prefixCls: $,
43
- blurToHide: D,
41
+ prefixCls: D,
42
+ blurToHide: $,
44
43
  popupHoverStay: A,
45
44
  disabled: E,
46
45
  onVisibleChange: H,
@@ -51,10 +50,10 @@ function oo(b, h) {
51
50
  mini: k,
52
51
  color: r,
53
52
  ...f
54
- } = u, i = z(), M = (o = 0, e) => {
53
+ } = a, i = B(), M = (o = 0, e) => {
55
54
  i.current && i.current.updatePopupPosition(o, e);
56
55
  };
57
- B(
56
+ W(
58
57
  h,
59
58
  () => ({
60
59
  // ...refTrigger.current,
@@ -74,18 +73,18 @@ function oo(b, h) {
74
73
  }),
75
74
  []
76
75
  );
77
- const s = $ || C("tooltip"), t = {
76
+ const s = D || C("tooltip"), t = {
78
77
  ...U(f, K),
79
78
  ...X(f),
80
79
  ...p,
81
80
  className: P(c, p == null ? void 0 : p.className)
82
- }, d = I(l) ? l() : l;
83
- "popupVisible" in u ? t.popupVisible = v : Q(d, !0) && (t.popupVisible = !1), (t.showArrow !== !1 || t.arrowProps) && (t.arrowProps = t.arrowProps || {}, r && (t.arrowProps.style = {
81
+ }, d = S(l) ? l() : l;
82
+ "popupVisible" in a ? t.popupVisible = v : Q(d, !0) && (t.popupVisible = !1), (t.showArrow !== !1 || t.arrowProps) && (t.arrowProps = t.arrowProps || {}, r && (t.arrowProps.style = {
84
83
  backgroundColor: r,
85
84
  ...t.arrowProps.style
86
85
  }));
87
- const L = W(() => r ? new F(r).isLight() ?? !1 : !1, [r]);
88
- return /* @__PURE__ */ a(
86
+ const L = q(() => r ? new I(r).isLight() ?? !1 : !1, [r]);
87
+ return /* @__PURE__ */ u(
89
88
  J,
90
89
  {
91
90
  style: {
@@ -96,7 +95,7 @@ function oo(b, h) {
96
95
  ref: i,
97
96
  classNames: "zoomInFadeOut",
98
97
  duration: Z,
99
- popup: () => /* @__PURE__ */ a(
98
+ popup: () => /* @__PURE__ */ u(
100
99
  "div",
101
100
  {
102
101
  style: { backgroundColor: r },
@@ -109,30 +108,30 @@ function oo(b, h) {
109
108
  }
110
109
  ),
111
110
  role: "tooltip",
112
- children: /* @__PURE__ */ a("div", { className: `${s}-content-inner`, children: d })
111
+ children: /* @__PURE__ */ u("div", { className: `${s}-content-inner`, children: d })
113
112
  }
114
113
  ),
115
114
  position: m,
116
115
  disabled: E,
117
- trigger: y,
118
- escToClose: T,
116
+ trigger: w,
117
+ escToClose: N,
119
118
  showArrow: !0,
120
119
  popupAlign: _,
121
120
  mouseEnterDelay: 200,
122
121
  mouseLeaveDelay: 200,
123
122
  unmountOnExit: V,
124
123
  popupHoverStay: A,
125
- blurToHide: D,
124
+ blurToHide: $,
126
125
  childrenPrefix: O || s,
127
126
  getPopupContainer: R,
128
127
  onVisibleChange: H,
129
- defaultPopupVisible: w,
128
+ defaultPopupVisible: T,
130
129
  ...t,
131
- children: N
130
+ children: y
132
131
  }
133
132
  );
134
133
  }
135
- const eo = S(oo);
134
+ const eo = j(oo);
136
135
  eo.displayName = "Tooltip";
137
136
  export {
138
137
  eo as default
package/Transfer.js CHANGED
@@ -1,25 +1,24 @@
1
1
  import { jsxs as q, jsx as n, Fragment as re } from "react/jsx-runtime";
2
- import be from "@unicom-cloud/icons/IconUiLeft";
3
- import Ie from "@unicom-cloud/icons/IconUiRight";
2
+ import { a as be, I as Ie } from "./chunk/D9TqtOhq.js";
4
3
  import ne from "lodash/isPlainObject";
5
4
  import de, { useRef as le, useState as G, useEffect as ae, useContext as fe, useMemo as ce } from "react";
6
5
  import ue from "./Button.js";
7
- import { I as pe, a as me } from "./chunk/xPzFRQJn.js";
6
+ import { I as pe, b as me } from "./chunk/DUxWiN2U.js";
8
7
  import Ke from "./hooks/useMergeProps.js";
9
8
  import ie from "./hooks/useMergeValue.js";
10
- import se from "@unicom-cloud/utils/class-name";
9
+ import { y as se } from "./chunk/Do1aMgY3.js";
11
10
  import { pickDataAttributes as xe } from "./utils/pick.js";
12
- import Ce from "@unicom-cloud/icons/IconUiDelete";
13
- import $e from "@unicom-cloud/icons/IconUiSearch";
14
- import { C as oe } from "./chunk/BH5fVprw.js";
11
+ import { I as Ce } from "./chunk/sl8s35SK.js";
12
+ import { I as $e } from "./chunk/DhLbnw3R.js";
13
+ import { C as oe } from "./chunk/DJmWXheU.js";
15
14
  import ge from "./hooks/useKeyboardEvent.js";
16
- import { I as ve } from "./chunk/BUQBof6z.js";
15
+ import { I as ve } from "./chunk/Bl-ODC57.js";
17
16
  import Se from "./List.js";
18
- import Ne from "@unicom-cloud/icons/IconUiClose";
19
- import Te from "@unicom-cloud/icons/IconUiDragDotVertical";
17
+ import { I as Te } from "./chunk/B45v5S9k.js";
18
+ import { I as Ne } from "./chunk/C95ipQ6b.js";
20
19
  function ke(z) {
21
20
  const {
22
- className: T,
21
+ className: N,
23
22
  prefixCls: J,
24
23
  render: E,
25
24
  item: f,
@@ -53,7 +52,7 @@ function ke(z) {
53
52
  [`${h}-gap-bottom`]: v && y > 0,
54
53
  [`${h}-${C}`]: C !== "none"
55
54
  },
56
- T
55
+ N
57
56
  ),
58
57
  draggable: F,
59
58
  onDragStart: (t) => {
@@ -80,7 +79,7 @@ function ke(z) {
80
79
  g && (t.stopPropagation(), t.preventDefault(), B(!1), O(0), $("none"), u == null || u(t, f, y));
81
80
  },
82
81
  children: [
83
- w ? /* @__PURE__ */ n(Te, { className: `${h}-icon-drag` }) : null,
82
+ w ? /* @__PURE__ */ n(Ne, { className: `${h}-icon-drag` }) : null,
84
83
  U ? /* @__PURE__ */ q(re, { children: [
85
84
  /* @__PURE__ */ n("span", { className: `${h}-content`, children: P }),
86
85
  !K && /* @__PURE__ */ n(
@@ -93,7 +92,7 @@ function ke(z) {
93
92
  ...j({
94
93
  onPressEnter: () => k(f.key)
95
94
  }),
96
- children: /* @__PURE__ */ n(Ne, {})
95
+ children: /* @__PURE__ */ n(Te, {})
97
96
  }
98
97
  )
99
98
  ] }) : /* @__PURE__ */ n(
@@ -111,7 +110,7 @@ function ke(z) {
111
110
  f.key
112
111
  );
113
112
  }
114
- const De = (z, T) => {
113
+ const De = (z, N) => {
115
114
  const J = ge(), {
116
115
  style: E,
117
116
  prefixCls: f,
@@ -149,10 +148,10 @@ const De = (z, T) => {
149
148
  Y ? w.filter((d) => v(Y, d)) : w
150
149
  );
151
150
  }, [w, Y, v]);
152
- const s = (d, N) => C(
153
- N ? g.concat(d) : g.filter((o) => o !== d)
154
- ), r = (d, N) => C(
155
- N ? [...new Set(g.concat(d))] : g.filter(
151
+ const s = (d, T) => C(
152
+ T ? g.concat(d) : g.filter((o) => o !== d)
153
+ ), r = (d, T) => C(
154
+ T ? [...new Set(g.concat(d))] : g.filter(
156
155
  (o) => d.indexOf(o) === -1
157
156
  )
158
157
  ), a = (d) => () => $(d), p = /* @__PURE__ */ n(
@@ -163,13 +162,13 @@ const De = (z, T) => {
163
162
  placeholder: j,
164
163
  suffix: /* @__PURE__ */ n($e, {}),
165
164
  ...ne(I) ? I : {},
166
- onChange: (d, N) => {
165
+ onChange: (d, T) => {
167
166
  var o;
168
- ee(d), O == null || O(d), ne(I) && ((o = I.onChange) == null || o.call(I, d, N));
167
+ ee(d), O == null || O(d), ne(I) && ((o = I.onChange) == null || o.call(I, d, T));
169
168
  }
170
169
  }
171
170
  ), _ = () => {
172
- const d = g.length, N = e.length, o = Y ? U.filter(
171
+ const d = g.length, T = e.length, o = Y ? U.filter(
173
172
  (X) => e.find(({ key: ye }) => ye === X)
174
173
  ) : U, c = o.filter(
175
174
  (X) => g.indexOf(X) > -1
@@ -181,13 +180,13 @@ const De = (z, T) => {
181
180
  };
182
181
  if (typeof k == "function")
183
182
  return k({
184
- countTotal: N,
183
+ countTotal: T,
185
184
  countSelected: d,
186
185
  clear: a(o),
187
186
  checkbox: /* @__PURE__ */ n(oe, { ...m }),
188
187
  searchInput: p
189
188
  });
190
- const te = /* @__PURE__ */ n("span", { className: `${l}-header-unit`, children: B(d, N) });
189
+ const te = /* @__PURE__ */ n("span", { className: `${l}-header-unit`, children: B(d, T) });
191
190
  return V ? /* @__PURE__ */ q(re, { children: [
192
191
  /* @__PURE__ */ n("span", { className: `${l}-header-title`, children: k }),
193
192
  te,
@@ -209,7 +208,7 @@ const De = (z, T) => {
209
208
  te
210
209
  ] });
211
210
  }, he = () => {
212
- var N;
211
+ var T;
213
212
  const d = D == null ? void 0 : D({
214
213
  listType: Q,
215
214
  disabled: b,
@@ -238,7 +237,7 @@ const De = (z, T) => {
238
237
  size: "mini",
239
238
  ...typeof A == "object" ? A : {}
240
239
  } : void 0,
241
- footer: u === !0 ? /* @__PURE__ */ n(ue, { size: "mini", disabled: b, onClick: K, children: (N = S == null ? void 0 : S.Transfer) == null ? void 0 : N.resetText }) : u || null,
240
+ footer: u === !0 ? /* @__PURE__ */ n(ue, { size: "mini", disabled: b, onClick: K, children: (T = S == null ? void 0 : S.Transfer) == null ? void 0 : T.resetText }) : u || null,
242
241
  render: (o) => /* @__PURE__ */ n(
243
242
  ke,
244
243
  {
@@ -274,7 +273,7 @@ const De = (z, T) => {
274
273
  }
275
274
  );
276
275
  };
277
- return /* @__PURE__ */ q("div", { ref: T, className: se(l, W), style: E, children: [
276
+ return /* @__PURE__ */ q("div", { ref: N, className: se(l, W), style: E, children: [
278
277
  /* @__PURE__ */ n("div", { className: `${l}-header`, children: _() }),
279
278
  I && /* @__PURE__ */ n("div", { className: `${l}-search`, children: p }),
280
279
  he()
@@ -284,9 +283,9 @@ const De = (z, T) => {
284
283
  defaultSelectedKeys: [],
285
284
  defaultTargetKeys: [],
286
285
  dataSource: [],
287
- filterOption: (z, T) => typeof (T == null ? void 0 : T.value) == "string" && T.value.indexOf(z) !== -1
286
+ filterOption: (z, N) => typeof (N == null ? void 0 : N.value) == "string" && N.value.indexOf(z) !== -1
288
287
  };
289
- function Re(z, T) {
288
+ function Re(z, N) {
290
289
  const { getPrefixCls: J, componentConfig: E, rtl: f } = fe(me), W = Ke(
291
290
  z,
292
291
  Pe,
@@ -425,7 +424,7 @@ function Re(z, T) {
425
424
  "div",
426
425
  {
427
426
  ...xe(W),
428
- ref: T,
427
+ ref: N,
429
428
  className: se(
430
429
  y,
431
430
  {