@unicom-cloud/ui 0.8.55 → 0.8.57

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 (425) 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/B45v5S9k.js +209 -0
  85. package/chunk/B6fn5y_s.js +23 -0
  86. package/chunk/B9PsJar0.js +118 -0
  87. package/chunk/BA02BFUV.js +41 -0
  88. package/chunk/BCk8e9fj.js +29 -0
  89. package/chunk/BHK9zpXn.js +207 -0
  90. package/chunk/BHLTzWzi.js +29 -0
  91. package/chunk/BK1FKNAX.js +41 -0
  92. package/chunk/BM6dpkeM.js +32 -0
  93. package/chunk/{BC0PujUD.js → BMvZCjSU.js} +118 -120
  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/CR4u270n.js +284 -0
  115. package/chunk/CXNW5Y2a.js +23 -0
  116. package/chunk/Cb_oWoGj.js +40 -0
  117. package/chunk/CcX2pBUh.js +46 -0
  118. package/chunk/{BdJcAQ0Q.js → CggcswbO.js} +18 -18
  119. package/chunk/CkAOsst1.js +73 -0
  120. package/chunk/{CTSIr-Pr.js → CwXmtKib.js} +89 -101
  121. package/chunk/{C3I_L73_.js → CwjaGytU.js} +39 -40
  122. package/chunk/{RRWbBHK-.js → D5p8q9Pa.js} +221 -221
  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/{Niaq_og8.js → DMWMrXg1.js} +220 -226
  130. package/chunk/DPvnQJ-H.js +52 -0
  131. package/chunk/DQXq1QT0.js +58 -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/Dbk4DVhB.js +855 -0
  137. package/chunk/{CzTYWtfa.js → Dg2DmtzA.js} +31 -30
  138. package/chunk/DhLbnw3R.js +29 -0
  139. package/chunk/{BmtF7P8U.js → DkIjpuBZ.js} +170 -170
  140. package/chunk/Do1aMgY3.js +12 -0
  141. package/chunk/Dtnux4qL.js +38 -0
  142. package/chunk/{DbtCtriE.js → DxNRWF67.js} +30 -31
  143. package/chunk/HlP8inLK.js +1796 -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/{Dki1RB5p.js → aM2ePYrq.js} +154 -155
  148. package/chunk/bsawGxt8.js +32 -0
  149. package/chunk/cUuQh7L_.js +46 -0
  150. package/chunk/fqgc8r6C.js +29 -0
  151. package/chunk/m_kOQCiU.js +29 -0
  152. package/chunk/sl8s35SK.js +29 -0
  153. package/hooks/index.js +52 -246
  154. package/hooks/useForceUpdate.js +6 -6
  155. package/hooks/useIntersectionObserver.js +12 -10
  156. package/hooks/useKeyboardEvent.js +7 -7
  157. package/hooks/useMedia.js +9 -12
  158. package/hooks/useMergeValue.js +10 -8
  159. package/hooks/useResizeObserver.js +16 -0
  160. package/hooks/useUpdateEffect.js +7 -9
  161. package/hooks/useWindowSize.js +16 -20
  162. package/icons.js +6003 -0
  163. package/index.js +377 -472
  164. package/locale/en-US.js +20 -6
  165. package/locale/ja-JP.js +4 -2
  166. package/locale/ko-KR.js +2 -2
  167. package/locale/pt-BR.js +3 -3
  168. package/locale/pt-PT.js +3 -3
  169. package/locale/tr-TR.js +11 -3
  170. package/locale/zh-CN.js +6 -0
  171. package/locale/zh-HK.js +2 -0
  172. package/locale/zh-TW.js +2 -0
  173. package/package.json +1 -1
  174. package/style.css +1 -1
  175. package/types/anchor/util.d.ts +1 -0
  176. package/types/button/index.d.ts +2 -2
  177. package/types/color-picker/colors.d.ts +1 -1
  178. package/types/date-picker/util.d.ts +1 -1
  179. package/types/hooks/index.d.ts +3 -101
  180. package/types/hooks/useForceUpdate.d.ts +1 -2
  181. package/types/hooks/useIntersectionObserver.d.ts +1 -1
  182. package/types/hooks/useKeyboardEvent.d.ts +2 -2
  183. package/types/hooks/useMergeProps.d.ts +1 -1
  184. package/types/hooks/useResizeObserver.d.ts +5 -0
  185. package/types/hooks/useUpdateEffect.d.ts +2 -3
  186. package/types/hooks/useWindowSize.d.ts +1 -1
  187. package/types/icons.d.ts +4 -0
  188. package/types/index.d.ts +12 -2
  189. package/types/locale/en-US.d.ts +4 -0
  190. package/types/locale/interface.d.ts +2 -0
  191. package/types/locale/ja-JP.d.ts +4 -0
  192. package/types/locale/zh-CN.d.ts +4 -0
  193. package/types/locale/zh-HK.d.ts +4 -0
  194. package/types/locale/zh-TW.d.ts +4 -0
  195. package/types/version/index.d.ts +1 -1
  196. package/utils/CSSTransition.js +1 -1
  197. package/utils/className.js +2 -3
  198. package/utils/contextHolder.js +2 -2
  199. package/utils/copy.js +2 -3
  200. package/utils/is.js +127 -90
  201. package/utils/reactDOM.js +17 -15
  202. package/utils/responsiveObserve.js +16 -16
  203. package/utils/saveAs.js +2 -3
  204. package/chunk/BdYAMaw9.js +0 -6
  205. package/chunk/DdtfPvgk.js +0 -272
  206. package/chunk/I4RV9SKZ.js +0 -135
  207. package/chunk/TXCrI0jN.js +0 -20
  208. package/chunk/i1A7W8Qt.js +0 -277
  209. package/chunk/xPzFRQJn.js +0 -740
  210. package/hooks/useAsync.js +0 -13
  211. package/hooks/useAsyncFn.js +0 -15
  212. package/hooks/useAsyncRetry.js +0 -17
  213. package/hooks/useAudio.js +0 -5
  214. package/hooks/useBeforeUnload.js +0 -18
  215. package/hooks/useBoolean.js +0 -4
  216. package/hooks/useClickAway.js +0 -22
  217. package/hooks/useCopyToClipboard.js +0 -51
  218. package/hooks/useCounter.js +0 -45
  219. package/hooks/useCreation.js +0 -17
  220. package/hooks/useCustomCompareEffect.js +0 -15
  221. package/hooks/useDebounce.js +0 -9
  222. package/hooks/useDefault.js +0 -10
  223. package/hooks/useDrop.js +0 -44
  224. package/hooks/useDropArea.js +0 -45
  225. package/hooks/useEffectOnce.js +0 -7
  226. package/hooks/useEffectState.js +0 -9
  227. package/hooks/useEnsuredForwardedRef.js +0 -17
  228. package/hooks/useError.js +0 -13
  229. package/hooks/useEvent.js +0 -13
  230. package/hooks/useEventListener.js +0 -39
  231. package/hooks/useFavicon.js +0 -16
  232. package/hooks/useFirstMountState.js +0 -8
  233. package/hooks/useFullscreen.js +0 -39
  234. package/hooks/useGeolocation.js +0 -38
  235. package/hooks/useGetSet.js +0 -18
  236. package/hooks/useGetSetState.js +0 -12
  237. package/hooks/useHash.js +0 -26
  238. package/hooks/useHover.js +0 -16
  239. package/hooks/useHoverDirty.js +0 -17
  240. package/hooks/useIdle.js +0 -34
  241. package/hooks/useIntersection.js +0 -19
  242. package/hooks/useIsomorphicLayoutEffect2.js +0 -6
  243. package/hooks/useKey.js +0 -16
  244. package/hooks/useKeyPress.js +0 -13
  245. package/hooks/useKeyPressEvent.js +0 -11
  246. package/hooks/useLatest.js +0 -8
  247. package/hooks/useLifecycles.js +0 -9
  248. package/hooks/useList.js +0 -67
  249. package/hooks/useLocalStorage.js +0 -42
  250. package/hooks/useLocation.js +0 -51
  251. package/hooks/useLockBodyScroll.js +0 -55
  252. package/hooks/useLogger.js +0 -10
  253. package/hooks/useLongPress.js +0 -24
  254. package/hooks/useMap.js +0 -31
  255. package/hooks/useMeasure.js +0 -34
  256. package/hooks/useMeasureDirty.js +0 -24
  257. package/hooks/useMediaDevices.js +0 -26
  258. package/hooks/useMediatedState.js +0 -14
  259. package/hooks/useMethods.js +0 -14
  260. package/hooks/useMotion.js +0 -56
  261. package/hooks/useMount.js +0 -9
  262. package/hooks/useMountedState.js +0 -10
  263. package/hooks/useMouse.js +0 -44
  264. package/hooks/useMouseHovered.js +0 -9
  265. package/hooks/useMouseWheel.js +0 -14
  266. package/hooks/useMultiStateValidator.js +0 -19
  267. package/hooks/useNetworkState.js +0 -31
  268. package/hooks/useNumber.js +0 -4
  269. package/hooks/useObservable.js +0 -12
  270. package/hooks/useOrientation.js +0 -30
  271. package/hooks/usePageLeave.js +0 -19
  272. package/hooks/usePermission.js +0 -19
  273. package/hooks/usePinchZoom.js +0 -40
  274. package/hooks/usePreviousDistinct.js +0 -10
  275. package/hooks/usePromise.js +0 -19
  276. package/hooks/useQueue.js +0 -25
  277. package/hooks/useRaf.js +0 -24
  278. package/hooks/useRafLoop.js +0 -24
  279. package/hooks/useRafState.js +0 -15
  280. package/hooks/useReactive.js +0 -21
  281. package/hooks/useRendersCount.js +0 -7
  282. package/hooks/useScroll.js +0 -27
  283. package/hooks/useScrolling.js +0 -23
  284. package/hooks/useSearchParam.js +0 -18
  285. package/hooks/useSessionStorage.js +0 -29
  286. package/hooks/useSet.js +0 -15
  287. package/hooks/useSetState.js +0 -16
  288. package/hooks/useSize.js +0 -58
  289. package/hooks/useSlider.js +0 -48
  290. package/hooks/useSpeech.js +0 -45
  291. package/hooks/useStartTyping.js +0 -30
  292. package/hooks/useStateList.js +0 -37
  293. package/hooks/useStateValidator.js +0 -17
  294. package/hooks/useStateWithHistory.js +0 -46
  295. package/hooks/useSyncState.js +0 -14
  296. package/hooks/useThrottle.js +0 -21
  297. package/hooks/useThrottleFn.js +0 -21
  298. package/hooks/useTimeout.js +0 -17
  299. package/hooks/useTimeoutFn.js +0 -16
  300. package/hooks/useTitle.js +0 -18
  301. package/hooks/useToggle.js +0 -5
  302. package/hooks/useTween.js +0 -11
  303. package/hooks/useUnmount.js +0 -9
  304. package/hooks/useUnmountPromise.js +0 -20
  305. package/hooks/useUpdate.js +0 -10
  306. package/hooks/useUpdateTimeout.js +0 -9
  307. package/hooks/useUpsert.js +0 -16
  308. package/hooks/useVibrate.js +0 -21
  309. package/hooks/useVideo.js +0 -5
  310. package/hooks/useWindowScroll.js +0 -29
  311. package/types/hooks/component/UseKey.d.ts +0 -2
  312. package/types/hooks/factory/createBreakpoint.d.ts +0 -4
  313. package/types/hooks/factory/createGlobalState.d.ts +0 -7
  314. package/types/hooks/factory/createHTMLMediaHook.d.ts +0 -33
  315. package/types/hooks/factory/createMemo.d.ts +0 -2
  316. package/types/hooks/factory/createReducer.d.ts +0 -8
  317. package/types/hooks/factory/createReducerContext.d.ts +0 -5
  318. package/types/hooks/factory/createRenderProp.d.ts +0 -1
  319. package/types/hooks/factory/createRouter.d.ts +0 -7
  320. package/types/hooks/factory/createStateContext.d.ts +0 -5
  321. package/types/hooks/misc/hookState.d.ts +0 -8
  322. package/types/hooks/misc/parseTimeRanges.d.ts +0 -4
  323. package/types/hooks/misc/types.d.ts +0 -2
  324. package/types/hooks/misc/util.d.ts +0 -5
  325. package/types/hooks/useAsync.d.ts +0 -20
  326. package/types/hooks/useAsyncFn.d.ts +0 -23
  327. package/types/hooks/useAsyncRetry.d.ts +0 -27
  328. package/types/hooks/useAudio.d.ts +0 -11
  329. package/types/hooks/useBeforeUnload.d.ts +0 -2
  330. package/types/hooks/useBoolean.d.ts +0 -2
  331. package/types/hooks/useClickAway.d.ts +0 -3
  332. package/types/hooks/useCopyToClipboard.d.ts +0 -7
  333. package/types/hooks/useCounter.d.ts +0 -9
  334. package/types/hooks/useCreation.d.ts +0 -2
  335. package/types/hooks/useCustomCompareEffect.d.ts +0 -4
  336. package/types/hooks/useDebounce.d.ts +0 -3
  337. package/types/hooks/useDefault.d.ts +0 -2
  338. package/types/hooks/useDrop.d.ts +0 -17
  339. package/types/hooks/useDropArea.d.ts +0 -18
  340. package/types/hooks/useEffectOnce.d.ts +0 -3
  341. package/types/hooks/useEffectState.d.ts +0 -2
  342. package/types/hooks/useEnsuredForwardedRef.d.ts +0 -3
  343. package/types/hooks/useError.d.ts +0 -2
  344. package/types/hooks/useEvent.d.ts +0 -13
  345. package/types/hooks/useEventListener.d.ts +0 -2
  346. package/types/hooks/useFavicon.d.ts +0 -2
  347. package/types/hooks/useFirstMountState.d.ts +0 -1
  348. package/types/hooks/useFullscreen.d.ts +0 -10
  349. package/types/hooks/useGeolocation.d.ts +0 -21
  350. package/types/hooks/useGetSet.d.ts +0 -3
  351. package/types/hooks/useGetSetState.d.ts +0 -2
  352. package/types/hooks/useHash.d.ts +0 -2
  353. package/types/hooks/useHover.d.ts +0 -4
  354. package/types/hooks/useHoverDirty.d.ts +0 -3
  355. package/types/hooks/useIdle.d.ts +0 -2
  356. package/types/hooks/useIntersection.d.ts +0 -3
  357. package/types/hooks/useIsomorphicLayoutEffect2.d.ts +0 -3
  358. package/types/hooks/useKey.d.ts +0 -12
  359. package/types/hooks/useKeyPress.d.ts +0 -3
  360. package/types/hooks/useKeyPressEvent.d.ts +0 -3
  361. package/types/hooks/useLatest.d.ts +0 -4
  362. package/types/hooks/useLifecycles.d.ts +0 -2
  363. package/types/hooks/useList.d.ts +0 -18
  364. package/types/hooks/useLocalStorage.d.ts +0 -10
  365. package/types/hooks/useLocation.d.ts +0 -16
  366. package/types/hooks/useLockBodyScroll.d.ts +0 -8
  367. package/types/hooks/useLogger.d.ts +0 -2
  368. package/types/hooks/useLongPress.d.ts +0 -12
  369. package/types/hooks/useMap.d.ts +0 -11
  370. package/types/hooks/useMeasure.d.ts +0 -9
  371. package/types/hooks/useMeasureDirty.d.ts +0 -11
  372. package/types/hooks/useMediaDevices.d.ts +0 -2
  373. package/types/hooks/useMediatedState.d.ts +0 -9
  374. package/types/hooks/useMethods.d.ts +0 -8
  375. package/types/hooks/useMotion.d.ts +0 -20
  376. package/types/hooks/useMount.d.ts +0 -2
  377. package/types/hooks/useMountedState.d.ts +0 -1
  378. package/types/hooks/useMouse.d.ts +0 -13
  379. package/types/hooks/useMouseHovered.d.ts +0 -8
  380. package/types/hooks/useMouseWheel.d.ts +0 -2
  381. package/types/hooks/useMultiStateValidator.d.ts +0 -9
  382. package/types/hooks/useNetworkState.d.ts +0 -22
  383. package/types/hooks/useNumber.d.ts +0 -2
  384. package/types/hooks/useObservable.d.ts +0 -8
  385. package/types/hooks/useOrientation.d.ts +0 -6
  386. package/types/hooks/usePageLeave.d.ts +0 -2
  387. package/types/hooks/usePermission.d.ts +0 -16
  388. package/types/hooks/usePinchZoom.d.ts +0 -18
  389. package/types/hooks/usePreviousDistinct.d.ts +0 -2
  390. package/types/hooks/usePromise.d.ts +0 -3
  391. package/types/hooks/useQueue.d.ts +0 -9
  392. package/types/hooks/useRaf.d.ts +0 -2
  393. package/types/hooks/useRafLoop.d.ts +0 -2
  394. package/types/hooks/useRafState.d.ts +0 -3
  395. package/types/hooks/useReactive.d.ts +0 -2
  396. package/types/hooks/useRendersCount.d.ts +0 -1
  397. package/types/hooks/useScroll.d.ts +0 -7
  398. package/types/hooks/useScrolling.d.ts +0 -3
  399. package/types/hooks/useSearchParam.d.ts +0 -3
  400. package/types/hooks/useSessionStorage.d.ts +0 -2
  401. package/types/hooks/useSet.d.ts +0 -11
  402. package/types/hooks/useSetState.d.ts +0 -2
  403. package/types/hooks/useSize.d.ts +0 -8
  404. package/types/hooks/useSlider.d.ts +0 -15
  405. package/types/hooks/useSpeech.d.ts +0 -16
  406. package/types/hooks/useStartTyping.d.ts +0 -2
  407. package/types/hooks/useStateList.d.ts +0 -9
  408. package/types/hooks/useStateValidator.d.ts +0 -8
  409. package/types/hooks/useStateWithHistory.d.ts +0 -18
  410. package/types/hooks/useSyncState.d.ts +0 -3
  411. package/types/hooks/useThrottle.d.ts +0 -2
  412. package/types/hooks/useThrottleFn.d.ts +0 -2
  413. package/types/hooks/useTimeout.d.ts +0 -2
  414. package/types/hooks/useTimeoutFn.d.ts +0 -2
  415. package/types/hooks/useTitle.d.ts +0 -6
  416. package/types/hooks/useToggle.d.ts +0 -2
  417. package/types/hooks/useTween.d.ts +0 -3
  418. package/types/hooks/useUnmount.d.ts +0 -2
  419. package/types/hooks/useUnmountPromise.d.ts +0 -3
  420. package/types/hooks/useUpdate.d.ts +0 -2
  421. package/types/hooks/useUpdateTimeout.d.ts +0 -2
  422. package/types/hooks/useUpsert.d.ts +0 -6
  423. package/types/hooks/useVibrate.d.ts +0 -4
  424. package/types/hooks/useVideo.d.ts +0 -11
  425. package/types/hooks/useWindowScroll.d.ts +0 -6
package/Calendar.js CHANGED
@@ -1,22 +1,20 @@
1
1
  import { jsx as t, jsxs as L, Fragment as ae } from "react/jsx-runtime";
2
2
  import Me from "lodash/merge";
3
3
  import se, { useMemo as ie, useContext as be, useState as J } from "react";
4
- import { a as De } from "./chunk/xPzFRQJn.js";
4
+ import { b as De } from "./chunk/DUxWiN2U.js";
5
5
  import Re from "./hooks/useMergeProps.js";
6
- import V from "@unicom-cloud/utils/class-name";
6
+ import { y as V } from "./chunk/Do1aMgY3.js";
7
7
  import { getNow as O, methods as E, dayjs as le, getDayjsValue as B } from "./utils/dayjs.js";
8
8
  import { pickDataAttributes as Ae } from "./utils/pick.js";
9
9
  import { newArray as te } from "./utils/constant.js";
10
10
  import { padStart as de } from "./utils/pad.js";
11
11
  import K from "lodash/isArray";
12
- import ce from "@unicom-cloud/icons/IconUiLeft";
13
- import me from "@unicom-cloud/icons/IconUiRight";
12
+ import { a as ce, I as me } from "./chunk/D9TqtOhq.js";
14
13
  import xe from "./Button.js";
15
14
  import Le from "./hooks/useKeyboardEvent.js";
16
- import { R as Ee } from "./chunk/CIc4yo9k.js";
17
- import { S as ne } from "./chunk/PuuHmqnW.js";
18
- import Pe from "@unicom-cloud/icons/IconUiDoubleLeft";
19
- import Ye from "@unicom-cloud/icons/IconUiDoubleRight";
15
+ import { R as Ee } from "./chunk/BbYzi8M0.js";
16
+ import { S as ne } from "./chunk/BpwDupra.js";
17
+ import { I as Pe, a as Ye } from "./chunk/DPvnQJ-H.js";
20
18
  function Ve(a) {
21
19
  const {
22
20
  prefixCls: e,
@@ -55,7 +53,7 @@ function he(a) {
55
53
  return !i || !g ? !1 : o(l, i) || o(l, g) || l.isBetween(i, g, null, "[]");
56
54
  }
57
55
  return function(i, g) {
58
- const p = _(f, 0), u = _(f, 1), y = _(d, 0), v = _(d, 1), w = !i.isPrev && !i.isNext, N = w && r, b = N && p && o(i.time, p), D = N && u && o(i.time, u), c = y && p && y.isBefore(p), k = u && v && v.isAfter(u), x = c && b || k && D;
56
+ const p = _(f, 0), u = _(f, 1), y = _(d, 0), v = _(d, 1), w = !i.isPrev && !i.isNext, $ = w && r, b = $ && p && o(i.time, p), D = $ && u && o(i.time, u), c = y && p && y.isBefore(p), k = u && v && v.isAfter(u), x = c && b || k && D;
59
57
  let m = o(i.time, O());
60
58
  return !r && s === "year" && (m = O().isSame(i.time, "date")), V(`${e}-cell`, {
61
59
  [`${e}-cell-in-view`]: w,
@@ -63,11 +61,11 @@ function he(a) {
63
61
  [`${e}-cell-selected`]: h && o(i.time, h),
64
62
  [`${e}-cell-range-start`]: b,
65
63
  [`${e}-cell-range-end`]: D,
66
- [`${e}-cell-in-range`]: N && n(i.time, p, u),
64
+ [`${e}-cell-in-range`]: $ && n(i.time, p, u),
67
65
  [`${e}-cell-in-range-near-hover`]: x,
68
- [`${e}-cell-hover-range-start`]: N && y && o(i.time, y),
69
- [`${e}-cell-hover-range-end`]: N && v && o(i.time, v),
70
- [`${e}-cell-hover-in-range`]: N && n(i.time, y, v),
66
+ [`${e}-cell-hover-range-start`]: $ && y && o(i.time, y),
67
+ [`${e}-cell-hover-range-end`]: $ && v && o(i.time, v),
68
+ [`${e}-cell-hover-in-range`]: $ && n(i.time, y, v),
71
69
  [`${e}-cell-disabled`]: g
72
70
  });
73
71
  };
@@ -129,13 +127,13 @@ function fe(a) {
129
127
  dateInnerContent: y,
130
128
  mergedPageShowDate: v,
131
129
  dayStartOfWeek: w,
132
- CALENDAR_LOCALE: N
130
+ CALENDAR_LOCALE: $
133
131
  } = a, b = v.year(), D = he({
134
132
  ...a,
135
133
  isSameTime: (x, m) => x.isSame(m, "day")
136
134
  });
137
135
  function c(x) {
138
- return x.map((m, T) => {
136
+ return x.map((m, I) => {
139
137
  if (m.time) {
140
138
  const M = typeof s == "function" && s(m.time), C = () => n(m.time, M), Y = o ? { onClick: C } : {}, P = o ? {} : { onClick: C };
141
139
  return /* @__PURE__ */ t(
@@ -153,7 +151,7 @@ function fe(a) {
153
151
  !l && i !== "year" && /* @__PURE__ */ t("div", { className: `${e}-date-content`, children: y == null ? void 0 : y(m.time) })
154
152
  ] })
155
153
  },
156
- T
154
+ I
157
155
  );
158
156
  }
159
157
  if ("weekOfYear" in m) {
@@ -169,7 +167,7 @@ function fe(a) {
169
167
  }),
170
168
  children: /* @__PURE__ */ t("div", { className: `${e}-date`, children: /* @__PURE__ */ t("div", { className: `${e}-date-value`, children: m.weekOfYear }) })
171
169
  },
172
- T
170
+ I
173
171
  );
174
172
  }
175
173
  });
@@ -185,7 +183,7 @@ function fe(a) {
185
183
  prefixCls: e,
186
184
  dayStartOfWeek: w,
187
185
  isWeek: o,
188
- CALENDAR_LOCALE: N,
186
+ CALENDAR_LOCALE: $,
189
187
  panel: l,
190
188
  innerMode: i
191
189
  }
@@ -224,7 +222,7 @@ for (let a = 0; a < 3; a++)
224
222
  const ye = Array(4);
225
223
  for (let a = 0; a < 4; a++)
226
224
  ye[a] = pe.slice(a * 3, 3 * (a + 1));
227
- function Te(a) {
225
+ function Ie(a) {
228
226
  const {
229
227
  prefixCls: e,
230
228
  mergedPageShowDate: h,
@@ -242,12 +240,12 @@ function Te(a) {
242
240
  return /* @__PURE__ */ t("div", { className: `${e}-year`, children: p.map((u, y) => /* @__PURE__ */ t("div", { className: `${e}-year-row`, children: u.map((v) => {
243
241
  const w = le(
244
242
  `${g}-${de(v.value + 1, 2, "0")}-01`
245
- ), N = typeof r == "function" && r(w), b = f ? { onClick: () => s(w, N) } : {};
243
+ ), $ = typeof r == "function" && r(w), b = f ? { onClick: () => s(w, $) } : {};
246
244
  return /* @__PURE__ */ t(
247
245
  "div",
248
246
  {
249
- className: i({ ...v, time: w }, N),
250
- onMouseEnter: () => d == null ? void 0 : d(w, N),
247
+ className: i({ ...v, time: w }, $),
248
+ onMouseEnter: () => d == null ? void 0 : d(w, $),
251
249
  children: o ? se.cloneElement(
252
250
  o(w),
253
251
  b
@@ -271,7 +269,7 @@ function Te(a) {
271
269
  function oe(a) {
272
270
  return (a == null ? void 0 : a.parentElement) || null;
273
271
  }
274
- function We(a) {
272
+ function Te(a) {
275
273
  const {
276
274
  prefixCls: e,
277
275
  changePageShowDate: h,
@@ -288,7 +286,7 @@ function We(a) {
288
286
  } = a, u = Le(), y = K(p) ? p.map((c) => ({
289
287
  label: r.view[c],
290
288
  value: c
291
- })) : [], v = l === "select", w = d.year(), N = d.month() + 1, b = ie(() => {
289
+ })) : [], v = l === "select", w = d.year(), $ = d.month() + 1, b = ie(() => {
292
290
  const c = [w];
293
291
  for (let k = 1; k <= 10; k++)
294
292
  c.unshift(w - k);
@@ -315,7 +313,7 @@ function We(a) {
315
313
  {
316
314
  size: "small",
317
315
  className: `${e}-header-value-month`,
318
- value: N,
316
+ value: $,
319
317
  options: D,
320
318
  onChange: g,
321
319
  getPopupContainer: oe
@@ -364,7 +362,7 @@ function We(a) {
364
362
  ) })
365
363
  ] });
366
364
  }
367
- function Ie(a) {
365
+ function We(a) {
368
366
  const {
369
367
  prefixCls: e,
370
368
  changePageShowDate: h,
@@ -443,46 +441,46 @@ function Be(a) {
443
441
  value: y,
444
442
  pageShowDate: v,
445
443
  defaultValue: w,
446
- mode: N,
444
+ mode: $,
447
445
  defaultMode: b,
448
446
  onChange: D,
449
447
  onPanelChange: c,
450
448
  headerRender: k,
451
449
  headerType: x,
452
450
  modes: m,
453
- panelOperations: T
451
+ panelOperations: I
454
452
  } = r, M = Me(h.Calendar, i), C = e("calendar"), [Y, P] = J(
455
- N || b
456
- ), S = N || Y, W = He(S, l), [q, ve] = J(
457
- B(y || w, W)
458
- ), [we, I] = J(
459
- B(u, W) || q || O()
460
- ), R = B(v, W) || we, U = "value" in r ? B(y, W) : q, Q = ie(() => ue(r, R), [R.toString(), S, n]);
461
- function H($) {
462
- ve($), D == null || D($), X($);
453
+ $ || b
454
+ ), S = $ || Y, T = He(S, l), [q, ve] = J(
455
+ B(y || w, T)
456
+ ), [we, W] = J(
457
+ B(u, T) || q || O()
458
+ ), R = B(v, T) || we, U = "value" in r ? B(y, T) : q, Q = ie(() => ue(r, R), [R.toString(), S, n]);
459
+ function H(N) {
460
+ ve(N), D == null || D(N), X(N);
463
461
  }
464
- function X($) {
465
- I($), c == null || c($);
462
+ function X(N) {
463
+ W(N), c == null || c(N);
466
464
  }
467
- function Z($, A) {
468
- A || H($);
465
+ function Z(N, A) {
466
+ A || H(N);
469
467
  }
470
468
  let G = "";
471
469
  S === "month" ? G = M.formatMonth : S === "year" && (G = M.formatYear);
472
- function Ne($, A) {
470
+ function $e(N, A) {
473
471
  let F;
474
- $ === "prev" && (F = E.subtract(R, 1, A)), $ === "next" && (F = E.add(R, 1, A)), I(F), c == null || c(F);
472
+ N === "prev" && (F = E.subtract(R, 1, A)), N === "next" && (F = E.add(R, 1, A)), W(F), c == null || c(F);
475
473
  }
476
- function $e($) {
477
- const A = E.set(R, "year", $);
478
- I(A), c == null || c(A);
474
+ function Ne(N) {
475
+ const A = E.set(R, "year", N);
476
+ W(A), c == null || c(A);
479
477
  }
480
- function Ce($) {
481
- const A = E.set(R, "month", $ - 1);
482
- I(A), c == null || c(A);
478
+ function Ce(N) {
479
+ const A = E.set(R, "month", N - 1);
480
+ W(A), c == null || c(A);
483
481
  }
484
- function j($) {
485
- P($);
482
+ function j(N) {
483
+ P(N);
486
484
  }
487
485
  const Se = V(
488
486
  C,
@@ -494,12 +492,12 @@ function Be(a) {
494
492
  s
495
493
  ), ke = l ? { width: g } : {}, ee = {
496
494
  prefixCls: C,
497
- changePageShowDate: Ne,
495
+ changePageShowDate: $e,
498
496
  headerValueFormat: G,
499
497
  mergedPageShowDate: R,
500
498
  modes: m,
501
499
  innerMode: S,
502
- panelOperations: T
500
+ panelOperations: I
503
501
  };
504
502
  return /* @__PURE__ */ L(
505
503
  "div",
@@ -514,15 +512,15 @@ function Be(a) {
514
512
  onChangeMode: j,
515
513
  onChange: H,
516
514
  onChangePageDate: X
517
- }) : l ? /* @__PURE__ */ t(Ie, { ...ee }) : /* @__PURE__ */ t(
518
- We,
515
+ }) : l ? /* @__PURE__ */ t(We, { ...ee }) : /* @__PURE__ */ t(
516
+ Te,
519
517
  {
520
518
  ...ee,
521
519
  CALENDAR_LOCALE: M,
522
520
  move: H,
523
521
  innerMode: S,
524
522
  changeMode: j,
525
- onChangeYear: $e,
523
+ onChangeYear: Ne,
526
524
  onChangeMonth: Ce,
527
525
  headerType: x
528
526
  }
@@ -541,7 +539,7 @@ function Be(a) {
541
539
  }
542
540
  ) }),
543
541
  S === "year" && /* @__PURE__ */ t("div", { className: `${C}-body`, children: /* @__PURE__ */ t(
544
- Te,
542
+ Ie,
545
543
  {
546
544
  ...r,
547
545
  prefixCls: C,
package/Card.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as a, jsxs as d } from "react/jsx-runtime";
2
2
  import h, { useContext as y } from "react";
3
- import { a as x } from "./chunk/xPzFRQJn.js";
3
+ import { b as x } from "./chunk/DUxWiN2U.js";
4
4
  import q from "./hooks/useMergeProps.js";
5
5
  import A from "./Spin.js";
6
- import p from "@unicom-cloud/utils/class-name";
6
+ import { y as p } from "./chunk/Do1aMgY3.js";
7
7
  function B(c, m) {
8
8
  const { children: f, style: i, className: r, hoverable: l } = c, { getPrefixCls: n } = y(x), o = n("card-grid");
9
9
  return /* @__PURE__ */ a(
@@ -23,20 +23,20 @@ function B(c, m) {
23
23
  const g = h.forwardRef(B);
24
24
  g.displayName = "CardGrid";
25
25
  function D(c, m) {
26
- const { className: f, title: i, avatar: r, description: l, actionList: n, ...o } = c, { getPrefixCls: C } = y(x), s = C("card-meta"), $ = p(s, f);
26
+ const { className: f, title: i, avatar: r, description: l, actionList: n, ...o } = c, { getPrefixCls: u } = y(x), t = u("card-meta"), $ = p(t, f);
27
27
  return /* @__PURE__ */ d("div", { ...o, ref: m, className: $, children: [
28
- i || l ? /* @__PURE__ */ d("div", { className: `${s}-content`, children: [
29
- i && /* @__PURE__ */ a("div", { className: `${s}-title`, children: i }),
30
- l && /* @__PURE__ */ a("div", { className: `${s}-description`, children: l })
28
+ i || l ? /* @__PURE__ */ d("div", { className: `${t}-content`, children: [
29
+ i && /* @__PURE__ */ a("div", { className: `${t}-title`, children: i }),
30
+ l && /* @__PURE__ */ a("div", { className: `${t}-description`, children: l })
31
31
  ] }) : null,
32
32
  r || n ? /* @__PURE__ */ d(
33
33
  "div",
34
34
  {
35
- className: p(`${s}-footer `, {
36
- [`${s}-footer-only-actions`]: !r
35
+ className: p(`${t}-footer `, {
36
+ [`${t}-footer-only-actions`]: !r
37
37
  }),
38
38
  children: [
39
- r ? /* @__PURE__ */ a("div", { className: `${s}-avatar`, children: r }) : null,
39
+ r ? /* @__PURE__ */ a("div", { className: `${t}-avatar`, children: r }) : null,
40
40
  n
41
41
  ]
42
42
  }
@@ -56,37 +56,37 @@ function I(c, m) {
56
56
  r == null ? void 0 : r.Card
57
57
  ), {
58
58
  className: o,
59
- children: C,
60
- bordered: s,
59
+ children: u,
60
+ bordered: t,
61
61
  loading: $,
62
62
  hoverable: z,
63
63
  size: S,
64
- title: N,
65
- extra: u,
64
+ title: C,
65
+ extra: v,
66
66
  cover: P,
67
- actions: v,
67
+ actions: N,
68
68
  headerStyle: j,
69
69
  bodyStyle: E,
70
70
  ...L
71
- } = n, e = f("card"), R = v && v.length ? /* @__PURE__ */ a("div", { className: `${e}-actions`, children: /* @__PURE__ */ a("div", { className: `${e}-actions-right`, children: v.map((t, k) => /* @__PURE__ */ a(
71
+ } = n, e = f("card"), R = N && N.length ? /* @__PURE__ */ a("div", { className: `${e}-actions`, children: /* @__PURE__ */ a("div", { className: `${e}-actions-right`, children: N.map((s, k) => /* @__PURE__ */ a(
72
72
  "span",
73
73
  {
74
74
  className: `${e}-actions-item`,
75
- children: t
75
+ children: s
76
76
  },
77
77
  `action-${k}`
78
78
  )) }) }) : null;
79
79
  let w = !1, G = !1;
80
80
  const F = h.Children.map(
81
- C,
82
- (t) => {
83
- if (t && t.type) {
84
- if (t.type === g)
81
+ u,
82
+ (s) => {
83
+ if (s && s.type) {
84
+ if (s.type === g)
85
85
  w = !0;
86
- else if (t.type === b)
87
- return G = !0, h.cloneElement(t, { actionList: R });
86
+ else if (s.type === b)
87
+ return G = !0, h.cloneElement(s, { actionList: R });
88
88
  }
89
- return t;
89
+ return s;
90
90
  }
91
91
  );
92
92
  return /* @__PURE__ */ d(
@@ -99,7 +99,7 @@ function I(c, m) {
99
99
  `${e}-size-${S}`,
100
100
  {
101
101
  [`${e}-loading`]: $,
102
- [`${e}-bordered`]: s,
102
+ [`${e}-bordered`]: t,
103
103
  [`${e}-hoverable`]: z,
104
104
  [`${e}-contain-grid`]: w,
105
105
  [`${e}-rtl`]: l
@@ -107,16 +107,16 @@ function I(c, m) {
107
107
  o
108
108
  ),
109
109
  children: [
110
- N || u ? /* @__PURE__ */ d(
110
+ C || v ? /* @__PURE__ */ d(
111
111
  "div",
112
112
  {
113
113
  className: p(`${e}-header`, {
114
- [`${e}-header-no-title`]: !N
114
+ [`${e}-header-no-title`]: !C
115
115
  }),
116
116
  style: j,
117
117
  children: [
118
- N && /* @__PURE__ */ a("div", { className: `${e}-header-title`, children: N }),
119
- u && /* @__PURE__ */ a("div", { className: `${e}-header-extra`, children: u })
118
+ C && /* @__PURE__ */ a("div", { className: `${e}-header-title`, children: C }),
119
+ v && /* @__PURE__ */ a("div", { className: `${e}-header-extra`, children: v })
120
120
  ]
121
121
  }
122
122
  ) : null,
package/Carousel.js CHANGED
@@ -1,15 +1,14 @@
1
1
  import { jsx as s, jsxs as oe } from "react/jsx-runtime";
2
- import W, { useContext as G, useRef as O, useState as S, useEffect as z, useImperativeHandle as Ne } from "react";
3
- import { a as J } from "./chunk/xPzFRQJn.js";
4
- import { useInterval as Ce } from "./hooks/useInterval.js";
5
- import Ie from "./hooks/useMergeProps.js";
6
- import $ from "@unicom-cloud/utils/class-name";
2
+ import W, { useContext as G, useRef as O, useState as S, useEffect as z, useImperativeHandle as Ce } from "react";
3
+ import { b as J } from "./chunk/DUxWiN2U.js";
4
+ import { useInterval as $e } from "./hooks/useInterval.js";
5
+ import Ne from "./hooks/useMergeProps.js";
6
+ import { y as I } from "./chunk/Do1aMgY3.js";
7
7
  import we from "./utils/omit.js";
8
8
  import Pe from "./utils/warning.js";
9
- import be from "@unicom-cloud/icons/IconUiDown";
10
- import Te from "@unicom-cloud/icons/IconUiLeft";
11
- import Se from "@unicom-cloud/icons/IconUiRight";
12
- import We from "@unicom-cloud/icons/IconUiUp";
9
+ import { I as be } from "./chunk/1mEO29GP.js";
10
+ import { a as Te, I as Se } from "./chunk/D9TqtOhq.js";
11
+ import { I as We } from "./chunk/C2fspJbE.js";
13
12
  import Ae from "./hooks/useKeyboardEvent.js";
14
13
  function Re(A, P) {
15
14
  const {
@@ -19,14 +18,14 @@ function Re(A, P) {
19
18
  prev: l,
20
19
  next: p,
21
20
  icons: u
22
- } = A, b = Ae(), { getPrefixCls: m } = G(J), r = m("carousel"), N = $(
21
+ } = A, b = Ae(), { getPrefixCls: m } = G(J), r = m("carousel"), C = I(
23
22
  `${r}-arrow`,
24
23
  {
25
24
  [`${r}-arrow-hover`]: g === "hover"
26
25
  },
27
26
  R
28
- ), C = u && Object.prototype.hasOwnProperty.call(u, "prev") ? u.prev : c === "horizontal" ? /* @__PURE__ */ s(Te, {}) : /* @__PURE__ */ s(We, {}), n = u && Object.prototype.hasOwnProperty.call(u, "next") ? u.next : c === "horizontal" ? /* @__PURE__ */ s(Se, {}) : /* @__PURE__ */ s(be, {});
29
- return /* @__PURE__ */ oe("div", { ref: P, className: N, children: [
27
+ ), $ = u && Object.prototype.hasOwnProperty.call(u, "prev") ? u.prev : c === "horizontal" ? /* @__PURE__ */ s(Te, {}) : /* @__PURE__ */ s(We, {}), n = u && Object.prototype.hasOwnProperty.call(u, "next") ? u.next : c === "horizontal" ? /* @__PURE__ */ s(Se, {}) : /* @__PURE__ */ s(be, {});
28
+ return /* @__PURE__ */ oe("div", { ref: P, className: C, children: [
30
29
  /* @__PURE__ */ s(
31
30
  "div",
32
31
  {
@@ -35,7 +34,7 @@ function Re(A, P) {
35
34
  role: "button",
36
35
  tabIndex: 0,
37
36
  ...b({ onPressEnter: l }),
38
- children: C
37
+ children: $
39
38
  }
40
39
  ),
41
40
  /* @__PURE__ */ s(
@@ -63,36 +62,36 @@ function Me(A, P) {
63
62
  position: u = "bottom",
64
63
  trigger: b = "click",
65
64
  onSelectIndex: m
66
- } = A, r = R("carousel-indicator"), N = [];
65
+ } = A, r = R("carousel-indicator"), C = [];
67
66
  if (g === "slider") {
68
67
  const n = 100 / l;
69
- N.push(
68
+ C.push(
70
69
  /* @__PURE__ */ s(
71
70
  "span",
72
71
  {
73
72
  style: { width: `${n}%`, left: `${p * n}%` },
74
- className: $(`${r}-item`, `${r}-item-active`)
73
+ className: I(`${r}-item`, `${r}-item-active`)
75
74
  },
76
75
  0
77
76
  )
78
77
  );
79
78
  } else
80
79
  for (let n = 0; n < l; n++)
81
- N.push(
80
+ C.push(
82
81
  /* @__PURE__ */ s(
83
82
  "span",
84
83
  {
85
84
  "data-index": n,
86
- className: $(`${r}-item`, {
85
+ className: I(`${r}-item`, {
87
86
  [`${r}-item-active`]: n === p
88
87
  })
89
88
  },
90
89
  n
91
90
  )
92
91
  );
93
- const C = {
92
+ const $ = {
94
93
  ref: P,
95
- className: $(
94
+ className: I(
96
95
  r,
97
96
  `${r}-${g}`,
98
97
  `${r}-${u}`,
@@ -110,7 +109,7 @@ function Me(A, P) {
110
109
  }
111
110
  }
112
111
  };
113
- return /* @__PURE__ */ s("div", { ...C, children: N });
112
+ return /* @__PURE__ */ s("div", { ...$, children: C });
114
113
  }
115
114
  const je = W.forwardRef(Me), De = 3e3, ke = {
116
115
  animation: "slide",
@@ -123,7 +122,7 @@ const je = W.forwardRef(Me), De = 3e3, ke = {
123
122
  timingFunc: "cubic-bezier(0.34, 0.69, 0.1, 1)"
124
123
  };
125
124
  function Le(A, P) {
126
- const { getPrefixCls: R, componentConfig: c, rtl: g } = G(J), l = Ie(
125
+ const { getPrefixCls: R, componentConfig: c, rtl: g } = G(J), l = Ne(
127
126
  A,
128
127
  ke,
129
128
  c == null ? void 0 : c.Carousel
@@ -133,8 +132,8 @@ function Le(A, P) {
133
132
  children: b,
134
133
  currentIndex: m,
135
134
  animation: r,
136
- trigger: N,
137
- direction: C,
135
+ trigger: C,
136
+ direction: $,
138
137
  moveSpeed: n,
139
138
  timingFunc: h,
140
139
  indicatorType: D,
@@ -166,23 +165,23 @@ function Le(A, P) {
166
165
  indicatorWrapper: null
167
166
  }), f = typeof m == "number" ? M(m) : F, K = M(f - 1), Y = M(f + 1), ge = typeof d == "object" && d.interval ? d.interval : De;
168
167
  z(() => () => U.current && clearTimeout(U.current), []), z(() => {
169
- I({
168
+ N({
170
169
  targetIndex: f
171
170
  });
172
171
  }, [f]);
173
- const he = Ce(
172
+ const he = $e(
174
173
  () => {
175
- I({
174
+ N({
176
175
  targetIndex: Y
177
176
  });
178
177
  },
179
178
  d && !me && T > 1 ? ge : null
180
179
  );
181
- Ne(ae, () => ({
180
+ Ce(ae, () => ({
182
181
  dom: v.current,
183
182
  getRootDOMNode: () => v.current,
184
183
  goto: ({ index: e, isNegative: t, isManual: o, resetAutoPlayInterval: a }) => {
185
- I({
184
+ N({
186
185
  targetIndex: M(e),
187
186
  isNegative: t,
188
187
  isManual: o,
@@ -194,7 +193,7 @@ function Le(A, P) {
194
193
  const t = +e;
195
194
  return typeof t == "number" && !isNaN(t) ? (t + T) % T : e;
196
195
  }
197
- function I({
196
+ function N({
198
197
  targetIndex: e,
199
198
  isNegative: t = !1,
200
199
  isManual: o = !1,
@@ -210,7 +209,7 @@ function Le(A, P) {
210
209
  const e = E.current.children[0];
211
210
  if (!e)
212
211
  return;
213
- if (C === "horizontal") {
212
+ if ($ === "horizontal") {
214
213
  const t = E.current.clientWidth, o = e.clientWidth, a = (t - o) / 2, x = 200, y = t / 2, w = o, j = y + 50 >= w ? x * 4 : x * y / (w - y);
215
214
  _({
216
215
  sliderWrapper: {
@@ -242,7 +241,7 @@ function Le(A, P) {
242
241
  indicatorWrapper: null
243
242
  });
244
243
  }
245
- const i = R("carousel"), xe = $(
244
+ const i = R("carousel"), xe = I(
246
245
  i,
247
246
  `${i}-indicator-position-${k}`,
248
247
  {
@@ -257,12 +256,12 @@ function Le(A, P) {
257
256
  } : null
258
257
  );
259
258
  let [Z, q] = [
260
- () => I({
259
+ () => N({
261
260
  targetIndex: K,
262
261
  isNegative: !0,
263
262
  isManual: !0
264
263
  }),
265
- () => I({
264
+ () => N({
266
265
  targetIndex: Y,
267
266
  isManual: !0
268
267
  })
@@ -289,9 +288,9 @@ function Le(A, P) {
289
288
  {
290
289
  ref: E,
291
290
  style: re.sliderWrapper,
292
- className: $(
291
+ className: I(
293
292
  `${i}-${r}`,
294
- `${i}-${C}`,
293
+ `${i}-${$}`,
295
294
  {
296
295
  [`${i}-negative`]: V === "negative"
297
296
  }
@@ -316,15 +315,15 @@ function Le(A, P) {
316
315
  },
317
316
  w
318
317
  ),
319
- className: $(j, {
318
+ className: I(j, {
320
319
  [`${i}-item-prev`]: a,
321
320
  [`${i}-item-next`]: x,
322
321
  [`${i}-item-current`]: o,
323
322
  [`${i}-item-slide-in`]: r === "slide" && V && X && o,
324
323
  [`${i}-item-slide-out`]: r === "slide" && V && X && t === de
325
324
  }),
326
- onClick: ($e) => {
327
- B == null || B($e), I({
325
+ onClick: (Ie) => {
326
+ B == null || B(Ie), N({
328
327
  targetIndex: t,
329
328
  isNegative: t === K,
330
329
  isManual: !0
@@ -338,7 +337,7 @@ function Le(A, P) {
338
337
  "div",
339
338
  {
340
339
  style: re.indicatorWrapper,
341
- className: $(
340
+ className: I(
342
341
  `${i}-indicator-wrapper`,
343
342
  `${i}-indicator-wrapper-${k}`
344
343
  ),
@@ -350,8 +349,8 @@ function Le(A, P) {
350
349
  count: T,
351
350
  activeIndex: f,
352
351
  position: k,
353
- trigger: N,
354
- onSelectIndex: (e) => I({
352
+ trigger: C,
353
+ onSelectIndex: (e) => N({
355
354
  targetIndex: e,
356
355
  isNegative: e < f,
357
356
  isManual: !0
@@ -364,7 +363,7 @@ function Le(A, P) {
364
363
  Ee,
365
364
  {
366
365
  className: se,
367
- direction: C,
366
+ direction: $,
368
367
  showArrow: Q,
369
368
  icons: le,
370
369
  prev: Z,
package/Cascader.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as o } from "./chunk/Dki1RB5p.js";
1
+ import { C as o } from "./chunk/aM2ePYrq.js";
2
2
  export {
3
3
  o as default
4
4
  };
package/Checkbox.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e } from "./chunk/BH5fVprw.js";
1
+ import { C as e } from "./chunk/DJmWXheU.js";
2
2
  export {
3
3
  e as default
4
4
  };
package/Collapse.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as a } from "./chunk/C3I_L73_.js";
1
+ import { C as a } from "./chunk/CwjaGytU.js";
2
2
  export {
3
3
  a as default
4
4
  };