@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
@@ -0,0 +1,49 @@
1
+ const e = "#{field} is not a #{type} type", t = {
2
+ required: "#{field} is required",
3
+ type: {
4
+ ip: e,
5
+ email: e,
6
+ url: e,
7
+ string: e,
8
+ number: e,
9
+ array: e,
10
+ object: e,
11
+ boolean: e
12
+ },
13
+ number: {
14
+ min: "`#{value}` is not greater than `#{min}`",
15
+ max: "`#{value}` is not less than `#{max}`",
16
+ equal: "`#{value}` is not equal to `#{equal}`",
17
+ range: "`#{value}` is not in range `#{min} ~ #{max}`",
18
+ positive: "`#{value}` is not a positive number",
19
+ negative: "`#{value}` is not a negative number"
20
+ },
21
+ string: {
22
+ maxLength: "#{field} cannot be longer than #{maxLength} characters",
23
+ minLength: "#{field} must be at least #{minLength} characters",
24
+ length: "#{field} must be exactly #{length} characters",
25
+ match: "`#{value}` does not match pattern #{pattern}",
26
+ uppercase: "`#{value}` must be all uppercase",
27
+ lowercase: "`#{value}` must be all lowercased"
28
+ },
29
+ array: {
30
+ length: "#{field} must be exactly #{length} in length",
31
+ minLength: "#{field} cannot be less than #{minLength} in length",
32
+ maxLength: "#{field} cannot be greater than #{maxLength} in length",
33
+ includes: "#{field} is not includes #{includes}",
34
+ deepEqual: "#{field} is not deep equal with #{deepEqual}",
35
+ empty: "#{field} is not an empty array"
36
+ },
37
+ object: {
38
+ deepEqual: "#{field} is not deep equal to expected value",
39
+ hasKeys: "#{field} does not contain required fields",
40
+ empty: "`#{field} is not an empty object"
41
+ },
42
+ boolean: {
43
+ true: "Expect true but got `#{value}`",
44
+ false: "Expect false but got `#{value}`"
45
+ }
46
+ };
47
+ export {
48
+ t
49
+ };
@@ -1,19 +1,18 @@
1
1
  import { jsx as a, jsxs as _, Fragment as Je } from "react/jsx-runtime";
2
- import W, { useContext as O, useState as Oe, useRef as ge, useEffect as te, forwardRef as Ae, createElement as J } from "react";
3
- import { a as A } from "./xPzFRQJn.js";
2
+ import W, { useContext as O, useState as Oe, useRef as me, useEffect as te, forwardRef as Ae, createElement as J } from "react";
3
+ import { b as A } from "./DUxWiN2U.js";
4
4
  import Fe from "../hooks/useMergeProps.js";
5
5
  import le from "../hooks/useMergeValue.js";
6
- import q from "@unicom-cloud/utils/class-name";
6
+ import { y as q } from "./Do1aMgY3.js";
7
7
  import { pickDataAttributes as _e } from "../utils/pick.js";
8
- import Le from "@unicom-cloud/icons/IconUiLeft";
9
- import Te from "@unicom-cloud/icons/IconUiMore";
10
- import Ue from "@unicom-cloud/icons/IconUiRight";
8
+ import { I as Le, a as Te } from "./D9TqtOhq.js";
9
+ import { I as Ue } from "./BK1FKNAX.js";
11
10
  import pe from "../hooks/useKeyboardEvent.js";
12
11
  import Be from "lodash/isFunction";
13
12
  import Ke from "lodash/isPlainObject";
14
13
  import ce from "lodash/isUndefined";
15
- import { I as Ve } from "./BUQBof6z.js";
16
- import { S as fe } from "./PuuHmqnW.js";
14
+ import { I as Ve } from "./Bl-ODC57.js";
15
+ import { S as fe } from "./BpwDupra.js";
17
16
  var E = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(E || {});
18
17
  function De(e) {
19
18
  var M, h, t;
@@ -23,10 +22,10 @@ function De(e) {
23
22
  rootPrefixCls: u,
24
23
  pageItemStyle: C,
25
24
  activePageItemStyle: r,
26
- itemRender: $
27
- } = e, y = `${u}-item`, P = f === i, m = q(y, P ? `${y}-active` : "");
28
- let g = C;
29
- P && (g = { ...g, ...r });
25
+ itemRender: y
26
+ } = e, $ = `${u}-item`, P = f === i, g = q($, P ? `${$}-active` : "");
27
+ let m = C;
28
+ P && (m = { ...m, ...r });
30
29
  const k = P ? { "aria-current": !0 } : {}, v = (s) => {
31
30
  const { pageNum: l, onClick: S, disabled: d } = e;
32
31
  s.currentTarget.dataset.active !== "true" && (s.stopPropagation(), d || S == null || S(l));
@@ -34,31 +33,31 @@ function De(e) {
34
33
  return /* @__PURE__ */ a(
35
34
  "li",
36
35
  {
37
- style: g,
38
- className: m,
36
+ style: m,
37
+ className: g,
39
38
  onClick: v,
40
39
  tabIndex: e.disabled ? -1 : 0,
41
40
  "aria-label": (t = (h = (M = n == null ? void 0 : n.Pagination) == null ? void 0 : M.currentPage) == null ? void 0 : h.replace) == null ? void 0 : t.call(h, "{0}", i),
42
41
  ...o({ onPressEnter: v }),
43
42
  ...k,
44
- children: $ ? $(i, "page", i) : i
43
+ children: y ? y(i, "page", i) : i
45
44
  }
46
45
  );
47
46
  }
48
47
  function ne(e, n) {
49
48
  switch (e) {
50
49
  case "prev":
51
- return n && n.prev ? n.prev : /* @__PURE__ */ a(Le, {});
50
+ return n && n.prev ? n.prev : /* @__PURE__ */ a(Te, {});
52
51
  case "next":
53
- return n && n.next ? n.next : /* @__PURE__ */ a(Ue, {});
52
+ return n && n.next ? n.next : /* @__PURE__ */ a(Le, {});
54
53
  case "more":
55
- return n && n.more ? n.more : /* @__PURE__ */ a(Te, {});
54
+ return n && n.more ? n.more : /* @__PURE__ */ a(Ue, {});
56
55
  default:
57
56
  return null;
58
57
  }
59
58
  }
60
59
  const Z = (e) => {
61
- var t, s, l, S, d, N;
60
+ var t, s, l, S, d, b;
62
61
  const { locale: n } = O(A), {
63
62
  rootPrefixCls: o,
64
63
  current: i,
@@ -66,20 +65,20 @@ const Z = (e) => {
66
65
  jumpPage: u,
67
66
  icons: C,
68
67
  disabled: r,
69
- pageItemStyle: $,
70
- itemRender: y
71
- } = e, P = f > 0 ? 1 : 0, m = Math.min(f, Math.max(P, i + u)), g = `${o}-item ${o}-item-jumper`, k = q(g), v = () => {
68
+ pageItemStyle: y,
69
+ itemRender: $
70
+ } = e, P = f > 0 ? 1 : 0, g = Math.min(f, Math.max(P, i + u)), m = `${o}-item ${o}-item-jumper`, k = q(m), v = () => {
72
71
  var L;
73
- !r && ((L = e.onClick) == null || L.call(e, m));
74
- }, M = ne("more", C), h = u > 0 ? (l = (s = (t = n == null ? void 0 : n.Pagination) == null ? void 0 : t.nextSomePages) == null ? void 0 : s.replace) == null ? void 0 : l.call(s, "{0}", u) : (N = (d = (S = n == null ? void 0 : n.Pagination) == null ? void 0 : S.prevSomePages) == null ? void 0 : d.replace) == null ? void 0 : N.call(d, "{0}", -u);
72
+ !r && ((L = e.onClick) == null || L.call(e, g));
73
+ }, M = ne("more", C), h = u > 0 ? (l = (s = (t = n == null ? void 0 : n.Pagination) == null ? void 0 : t.nextSomePages) == null ? void 0 : s.replace) == null ? void 0 : l.call(s, "{0}", u) : (b = (d = (S = n == null ? void 0 : n.Pagination) == null ? void 0 : S.prevSomePages) == null ? void 0 : d.replace) == null ? void 0 : b.call(d, "{0}", -u);
75
74
  return /* @__PURE__ */ a(
76
75
  "li",
77
76
  {
78
- style: $,
77
+ style: y,
79
78
  className: k,
80
79
  onClick: v,
81
80
  "aria-label": h,
82
- children: y ? y(void 0, "more", M) : M
81
+ children: $ ? $(void 0, "more", M) : M
83
82
  }
84
83
  );
85
84
  }, D = (e) => {
@@ -88,21 +87,21 @@ const Z = (e) => {
88
87
  current: u,
89
88
  allPages: C,
90
89
  type: r,
91
- icons: $,
92
- disabled: y,
90
+ icons: y,
91
+ disabled: $,
93
92
  pageItemStyle: P,
94
- itemRender: m
95
- } = e, g = `${f}-item`, [k, v] = o ? ["next", "prev"] : ["prev", "next"], M = ne(r === 0 ? k : v, $);
93
+ itemRender: g
94
+ } = e, m = `${f}-item`, [k, v] = o ? ["next", "prev"] : ["prev", "next"], M = ne(r === 0 ? k : v, y);
96
95
  let h = !1;
97
96
  C === 0 ? h = !0 : r === 0 ? h = u <= 1 : h = u === C;
98
- const t = y || h;
97
+ const t = $ || h;
99
98
  let s = u + (r === 0 ? -1 : 1);
100
99
  s = Math.max(0, Math.min(C, s));
101
- const l = r === 0 ? "prev" : "next", S = q(g, `${g}-${l}`, {
102
- [`${g}-disabled`]: t
100
+ const l = r === 0 ? "prev" : "next", S = q(m, `${m}-${l}`, {
101
+ [`${m}-disabled`]: t
103
102
  }), d = () => {
104
- var N;
105
- t || (N = e.onClick) == null || N.call(e, s);
103
+ var b;
104
+ t || (b = e.onClick) == null || b.call(e, s);
106
105
  };
107
106
  return /* @__PURE__ */ a(
108
107
  "li",
@@ -115,13 +114,13 @@ const Z = (e) => {
115
114
  ...i({
116
115
  onPressEnter: d
117
116
  }),
118
- children: m ? m(void 0, l, M) : M
117
+ children: g ? g(void 0, l, M) : M
119
118
  }
120
119
  );
121
120
  }, G = W.memo(De);
122
121
  function ue(e) {
123
122
  var h, t;
124
- const n = e.simple ? e.current : void 0, { locale: o } = O(A), [i, f] = Oe(n), u = ge();
123
+ const n = e.simple ? e.current : void 0, { locale: o } = O(A), [i, f] = Oe(n), u = me();
125
124
  te(() => {
126
125
  e.simple && f(e.current);
127
126
  }, [e.simple, e.current]);
@@ -136,17 +135,17 @@ function ue(e) {
136
135
  d || f(void 0);
137
136
  return;
138
137
  }
139
- let N = isNaN(Number(i)) ? S : Number(i);
140
- N < 1 ? N = 1 : N > l && (N = l), f(d ? N : void 0), Be(s) && s(N);
141
- }, $ = () => {
138
+ let b = isNaN(Number(i)) ? S : Number(i);
139
+ b < 1 ? b = 1 : b > l && (b = l), f(d ? b : void 0), Be(s) && s(b);
140
+ }, y = () => {
142
141
  const s = u.current.dom;
143
142
  String(i) && s && s.setSelectionRange(0, String(i).length);
144
- }, { rootPrefixCls: y, totalPages: P, simple: m, size: g, disabled: k } = e, v = `${y}-jumper`, M = {
143
+ }, { rootPrefixCls: $, totalPages: P, simple: g, size: m, disabled: k } = e, v = `${$}-jumper`, M = {
145
144
  showJumper: !0,
146
- ...Ke(m) ? m : {}
145
+ ...Ke(g) ? g : {}
147
146
  };
148
147
  return /* @__PURE__ */ _("div", { className: `${v}`, children: [
149
- !m && /* @__PURE__ */ a("span", { className: `${v}-text-goto`, children: (h = o == null ? void 0 : o.Pagination) == null ? void 0 : h.goto }),
148
+ !g && /* @__PURE__ */ a("span", { className: `${v}-text-goto`, children: (h = o == null ? void 0 : o.Pagination) == null ? void 0 : h.goto }),
150
149
  M.showJumper ? /* @__PURE__ */ a(
151
150
  Ve,
152
151
  {
@@ -154,16 +153,16 @@ function ue(e) {
154
153
  ref: (s) => u.current = s,
155
154
  className: `${v}-input`,
156
155
  value: ce(i) ? void 0 : i.toString(),
157
- size: g,
156
+ size: m,
158
157
  disabled: k || !P,
159
158
  onChange: C,
160
159
  onPressEnter: r,
161
- onFocus: $,
160
+ onFocus: y,
162
161
  onBlur: r
163
162
  }
164
163
  ) : /* @__PURE__ */ a("span", { children: i }),
165
- !m && /* @__PURE__ */ a("span", { className: `${v}-text-goto-suffix`, children: (t = o == null ? void 0 : o.Pagination) == null ? void 0 : t.page }),
166
- m && /* @__PURE__ */ _(Je, { children: [
164
+ !g && /* @__PURE__ */ a("span", { className: `${v}-text-goto-suffix`, children: (t = o == null ? void 0 : o.Pagination) == null ? void 0 : t.page }),
165
+ g && /* @__PURE__ */ _(Je, { children: [
167
166
  /* @__PURE__ */ a("span", { className: `${v}-separator`, children: "/" }),
168
167
  /* @__PURE__ */ a("span", { children: P })
169
168
  ] })
@@ -173,14 +172,14 @@ const Ge = () => {
173
172
  }, We = fe.Option, qe = [10, 20, 30, 40, 50];
174
173
  function He(e) {
175
174
  var P;
176
- const n = ge(null), { locale: o } = O(A), {
175
+ const n = me(null), { locale: o } = O(A), {
177
176
  onPageSizeChange: i = Ge,
178
177
  rootPrefixCls: f,
179
178
  sizeOptions: u = qe,
180
179
  pageSize: C = 10,
181
180
  size: r,
182
- selectProps: $,
183
- disabled: y
181
+ selectProps: y,
182
+ disabled: $
184
183
  } = e;
185
184
  return /* @__PURE__ */ a(
186
185
  "div",
@@ -192,16 +191,16 @@ function He(e) {
192
191
  fe,
193
192
  {
194
193
  value: u.indexOf(C) !== -1 ? C : u[0],
195
- onChange: (m) => {
196
- i(m);
194
+ onChange: (g) => {
195
+ i(g);
197
196
  },
198
197
  size: r,
199
198
  getPopupContainer: () => n.current,
200
- disabled: y,
201
- ...$,
202
- children: u.map((m) => {
203
- var g;
204
- return /* @__PURE__ */ a(We, { value: m, children: `${m} ${(g = o == null ? void 0 : o.Pagination) == null ? void 0 : g.countPerPage}` }, m);
199
+ disabled: $,
200
+ ...y,
201
+ children: u.map((g) => {
202
+ var m;
203
+ return /* @__PURE__ */ a(We, { value: g, children: `${g} ${(m = o == null ? void 0 : o.Pagination) == null ? void 0 : m.countPerPage}` }, g);
205
204
  })
206
205
  }
207
206
  )
@@ -216,7 +215,7 @@ function Ye(e, n) {
216
215
  const i = Math.floor(n / 2) - 1, f = Math.max(e, 0);
217
216
  return Math.min(f, i);
218
217
  }
219
- function me(e) {
218
+ function ge(e) {
220
219
  return e && e.length ? e[0] : de;
221
220
  }
222
221
  const Ze = {
@@ -237,11 +236,11 @@ function et(e, n) {
237
236
  Ze,
238
237
  u == null ? void 0 : u.Pagination
239
238
  ), {
240
- total: $,
241
- pageSize: y,
239
+ total: y,
240
+ pageSize: $,
242
241
  current: P,
243
- showMore: m,
244
- sizeOptions: g,
242
+ showMore: g,
243
+ sizeOptions: m,
245
244
  pageSizeChangeResetCurrent: k,
246
245
  defaultCurrent: v,
247
246
  defaultPageSize: M,
@@ -251,36 +250,36 @@ function et(e, n) {
251
250
  defaultValue: v,
252
251
  value: P
253
252
  }), [l, S] = le(
254
- me(g),
253
+ ge(m),
255
254
  {
256
255
  defaultValue: M,
257
- value: y
256
+ value: $
258
257
  }
259
- ), d = $, N = !!m;
258
+ ), d = y, b = !!g;
260
259
  P && !r.onChange && console.warn(
261
260
  "Warning: you have provide current prop for pagination but without onChange handler , this will cause no-change when you change page. "
262
261
  );
263
- function L(c, b) {
264
- const p = ee(c, b);
262
+ function L(c, z) {
263
+ const p = ee(c, z);
265
264
  return t > p ? p : t;
266
265
  }
267
266
  te(() => {
268
- if (g && !g.includes(l)) {
269
- const b = me(g);
270
- "pageSize" in r || S(b);
267
+ if (m && !m.includes(l)) {
268
+ const z = ge(m);
269
+ "pageSize" in r || S(z);
271
270
  }
272
- }, [g]), te(() => {
271
+ }, [m]), te(() => {
273
272
  const c = L(l, d);
274
273
  c !== t && !("current" in r) && s(c);
275
274
  }, [d, t, l]);
276
- const re = (c = t, b = l) => {
275
+ const re = (c = t, z = l) => {
277
276
  const { onChange: p } = r;
278
- p == null || p(c, b);
277
+ p == null || p(c, z);
279
278
  }, Pe = (c) => {
280
- const { onPageSizeChange: b } = r, p = ee(c, d), z = {
279
+ const { onPageSizeChange: z } = r, p = ee(c, d), N = {
281
280
  pageSize: c
282
281
  };
283
- k ? z.current = 1 : z.current = t > p ? p : t, "pageSize" in r || S(z.pageSize), !("current" in r) && t !== z.current && s(z.current), b == null || b(c, z.current), re(k ? 1 : z.current, c);
282
+ k ? N.current = 1 : N.current = t > p ? p : t, "pageSize" in r || S(N.pageSize), !("current" in r) && t !== N.current && s(N.current), z == null || z(c, N.current), re(k ? 1 : N.current, c);
284
283
  }, H = (c) => {
285
284
  "current" in r || s(c), re(c);
286
285
  }, {
@@ -290,16 +289,16 @@ function et(e, n) {
290
289
  activePageItemStyle: ve,
291
290
  showTotal: T,
292
291
  sizeCanChange: Se,
293
- sizeOptions: Ne,
292
+ sizeOptions: be,
294
293
  simple: U,
295
- mini: be,
294
+ mini: ze,
296
295
  showJumper: Q,
297
- selectProps: ze,
298
- icons: $e,
296
+ selectProps: Ne,
297
+ icons: ye,
299
298
  disabled: F,
300
- itemRender: ye,
301
- hideOnSinglePage: we
302
- } = r, Ie = r.size || i, x = o("pagination"), B = be ? "mini" : Ie, Me = q(
299
+ itemRender: $e,
300
+ hideOnSinglePage: Ie
301
+ } = r, we = r.size || i, x = o("pagination"), B = ze ? "mini" : we, Me = q(
303
302
  x,
304
303
  `${x}-size-${B}`,
305
304
  {
@@ -310,20 +309,20 @@ function et(e, n) {
310
309
  he
311
310
  );
312
311
  let X;
313
- const w = [], I = ee(l, d), R = Ye(r.bufferSize, I);
314
- if (we && I <= 1)
312
+ const I = [], w = ee(l, d), R = Ye(r.bufferSize, w);
313
+ if (Ie && w <= 1)
315
314
  return null;
316
315
  const j = {
317
316
  onClick: H,
318
317
  rootPrefixCls: x,
319
318
  simple: U,
320
319
  current: t,
321
- allPages: I,
322
- icons: $e,
320
+ allPages: w,
321
+ icons: ye,
323
322
  disabled: F,
324
323
  pageItemStyle: Ce,
325
324
  activePageItemStyle: ve,
326
- itemRender: ye
325
+ itemRender: $e
327
326
  };
328
327
  if (U) {
329
328
  const c = `${x}-item-simple`;
@@ -334,7 +333,7 @@ function et(e, n) {
334
333
  {
335
334
  disabled: F,
336
335
  rootPrefixCls: x,
337
- totalPages: I,
336
+ totalPages: w,
338
337
  current: t,
339
338
  onPageChange: H,
340
339
  simple: {
@@ -346,18 +345,18 @@ function et(e, n) {
346
345
  /* @__PURE__ */ a(D, { ...j, type: E.next }, "next")
347
346
  ] });
348
347
  } else {
349
- const c = 3 + R, b = I - 2 - R;
348
+ const c = 3 + R, z = w - 2 - R;
350
349
  if (
351
350
  // beginPage(1 page) + bufferSize * 2 + endPage(1 page) + ...(2 pages)
352
- I <= 4 + R * 2 || t === c && t === b
351
+ w <= 4 + R * 2 || t === c && t === z
353
352
  )
354
- for (let p = 1; p <= I; p++)
355
- w.push(/* @__PURE__ */ J(G, { ...j, key: p, pageNum: p }));
353
+ for (let p = 1; p <= w; p++)
354
+ I.push(/* @__PURE__ */ J(G, { ...j, key: p, pageNum: p }));
356
355
  else {
357
- let p = 1, z = I, se = !0, oe = !0;
358
- t > c && t < b ? (z = t + R, p = t - R) : t <= c ? (se = !1, p = 1, z = Math.max(c, R + t)) : t >= b && (oe = !1, z = I, p = Math.min(b, t - R));
359
- for (let V = p; V <= z; V++)
360
- w.push(/* @__PURE__ */ a(G, { pageNum: V, ...j }, V));
356
+ let p = 1, N = w, se = !0, oe = !0;
357
+ t > c && t < z ? (N = t + R, p = t - R) : t <= c ? (se = !1, p = 1, N = Math.max(c, R + t)) : t >= z && (oe = !1, N = w, p = Math.min(z, t - R));
358
+ for (let V = p; V <= N; V++)
359
+ I.push(/* @__PURE__ */ a(G, { pageNum: V, ...j }, V));
361
360
  const je = /* @__PURE__ */ J(
362
361
  Z,
363
362
  {
@@ -370,28 +369,28 @@ function et(e, n) {
370
369
  Z,
371
370
  {
372
371
  ...j,
373
- key: z + 1,
372
+ key: N + 1,
374
373
  type: E.next,
375
374
  jumpPage: R * 2 + 1
376
375
  }
377
- ), Re = /* @__PURE__ */ a(G, { pageNum: 1, ...j }, 1), Ee = /* @__PURE__ */ J(G, { ...j, key: I, pageNum: I });
378
- se && (w[0] = W.cloneElement(w[0], {
376
+ ), Re = /* @__PURE__ */ a(G, { pageNum: 1, ...j }, 1), Ee = /* @__PURE__ */ J(G, { ...j, key: w, pageNum: w });
377
+ se && (I[0] = W.cloneElement(I[0], {
379
378
  className: `${x}-item-after-pre`
380
- }), w.unshift(je), w.unshift(Re)), oe && (w[w.length - 1] = W.cloneElement(
381
- w[w.length - 1],
379
+ }), I.unshift(je), I.unshift(Re)), oe && (I[I.length - 1] = W.cloneElement(
380
+ I[I.length - 1],
382
381
  {
383
382
  className: `${x}-item-before-next`
384
383
  }
385
- ), w.push(ke), w.push(Ee));
384
+ ), I.push(ke), I.push(Ee));
386
385
  }
387
386
  X = /* @__PURE__ */ _("ul", { className: `${x}-list`, children: [
388
387
  /* @__PURE__ */ J(D, { ...j, key: "previous", type: E.previous }),
389
- w,
390
- N && /* @__PURE__ */ J(
388
+ I,
389
+ b && /* @__PURE__ */ J(
391
390
  Z,
392
391
  {
393
392
  ...j,
394
- key: I + 1,
393
+ key: w + 1,
395
394
  type: E.next,
396
395
  jumpPage: R * 2 + 1
397
396
  }
@@ -416,11 +415,11 @@ function et(e, n) {
416
415
  disabled: F,
417
416
  rootPrefixCls: x,
418
417
  sizeCanChange: Se,
419
- sizeOptions: Ne,
418
+ sizeOptions: be,
420
419
  onPageSizeChange: Pe,
421
420
  pageSize: l,
422
421
  size: B,
423
- selectProps: ze
422
+ selectProps: Ne
424
423
  }
425
424
  ),
426
425
  !U && Q && /* @__PURE__ */ a(
@@ -428,7 +427,7 @@ function et(e, n) {
428
427
  {
429
428
  disabled: F,
430
429
  rootPrefixCls: x,
431
- totalPages: I,
430
+ totalPages: w,
432
431
  current: t,
433
432
  onPageChange: H,
434
433
  size: B
@@ -0,0 +1,32 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import n from "react";
3
+ import { u as i } from "./B45v5S9k.js";
4
+ const m = n.forwardRef(function(r, t) {
5
+ const e = i({ ...r, name: "ui-caret-up" });
6
+ return /* @__PURE__ */ o(
7
+ "svg",
8
+ {
9
+ width: "1em",
10
+ height: "1em",
11
+ viewBox: "0 0 48 48",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ ref: t,
15
+ ...e,
16
+ strokeWidth: "4",
17
+ children: /* @__PURE__ */ o(
18
+ "path",
19
+ {
20
+ d: "M23.063 13.171a1.2 1.2 0 0 1 1.875 0l13.503 16.88c.628.785.069 1.949-.937 1.949H10.497c-1.006 0-1.565-1.164-.937-1.95z",
21
+ fill: "currentColor",
22
+ stroke: "none",
23
+ strokeWidth: "none",
24
+ strokeLinecap: "butt"
25
+ }
26
+ )
27
+ }
28
+ );
29
+ });
30
+ export {
31
+ m as I
32
+ };
@@ -0,0 +1,46 @@
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { u as s } from "./B45v5S9k.js";
4
+ const l = i.forwardRef(function(o, e) {
5
+ const r = s({ ...o, name: "ui-exclamation" });
6
+ return /* @__PURE__ */ n(
7
+ "svg",
8
+ {
9
+ width: "1em",
10
+ height: "1em",
11
+ viewBox: "0 0 48 48",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ ref: e,
15
+ ...r,
16
+ strokeWidth: "4",
17
+ children: [
18
+ /* @__PURE__ */ t("path", { d: "M23 9h2v21h-2z", strokeLinecap: "butt" }),
19
+ /* @__PURE__ */ t(
20
+ "path",
21
+ {
22
+ fill: "currentColor",
23
+ stroke: "none",
24
+ d: "M23 9h2v21h-2z",
25
+ strokeWidth: "none",
26
+ strokeLinecap: "butt"
27
+ }
28
+ ),
29
+ /* @__PURE__ */ t("path", { d: "M23 37h2v2h-2z", strokeLinecap: "butt" }),
30
+ /* @__PURE__ */ t(
31
+ "path",
32
+ {
33
+ fill: "currentColor",
34
+ stroke: "none",
35
+ d: "M23 37h2v2h-2z",
36
+ strokeWidth: "none",
37
+ strokeLinecap: "butt"
38
+ }
39
+ )
40
+ ]
41
+ }
42
+ );
43
+ });
44
+ export {
45
+ l as I
46
+ };
@@ -0,0 +1,29 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { u as n } from "./B45v5S9k.js";
4
+ const m = i.forwardRef(function(t, o) {
5
+ const e = n({ ...t, name: "ui-filter" });
6
+ return /* @__PURE__ */ r(
7
+ "svg",
8
+ {
9
+ width: "1em",
10
+ height: "1em",
11
+ viewBox: "0 0 48 48",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ ref: o,
15
+ ...e,
16
+ strokeWidth: "4",
17
+ children: /* @__PURE__ */ r(
18
+ "path",
19
+ {
20
+ d: "M30 42V22.549a1 1 0 0 1 .463-.844l10.074-6.41A1 1 0 0 0 41 14.45V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6.451a1 1 0 0 0 .463.844l10.074 6.41a1 1 0 0 1 .463.844V37",
21
+ strokeLinecap: "butt"
22
+ }
23
+ )
24
+ }
25
+ );
26
+ });
27
+ export {
28
+ m as I
29
+ };
@@ -0,0 +1,29 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { u as n } from "./B45v5S9k.js";
4
+ const p = i.forwardRef(function(r, t) {
5
+ const e = n({ ...r, name: "ui-link" });
6
+ return /* @__PURE__ */ o(
7
+ "svg",
8
+ {
9
+ width: "1em",
10
+ height: "1em",
11
+ viewBox: "0 0 48 48",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ ref: t,
15
+ ...e,
16
+ strokeWidth: "4",
17
+ children: /* @__PURE__ */ o(
18
+ "path",
19
+ {
20
+ d: "m14.1 25.414-4.95 4.95a6 6 0 0 0 8.486 8.485l8.485-8.485a6 6 0 0 0 0-8.485m7.779.707 4.95-4.95a6 6 0 1 0-8.486-8.485l-8.485 8.485a6 6 0 0 0 0 8.485",
21
+ strokeLinecap: "butt"
22
+ }
23
+ )
24
+ }
25
+ );
26
+ });
27
+ export {
28
+ p as I
29
+ };
@@ -0,0 +1,29 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { u as i } from "./B45v5S9k.js";
4
+ const c = m.forwardRef(function(t, o) {
5
+ const r = i({ ...t, name: "ui-delete" });
6
+ return /* @__PURE__ */ e(
7
+ "svg",
8
+ {
9
+ width: "1em",
10
+ height: "1em",
11
+ viewBox: "0 0 48 48",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ ref: o,
15
+ ...r,
16
+ strokeWidth: "4",
17
+ children: /* @__PURE__ */ e(
18
+ "path",
19
+ {
20
+ d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16m-12 7v15m8-15v15",
21
+ strokeLinecap: "butt"
22
+ }
23
+ )
24
+ }
25
+ );
26
+ });
27
+ export {
28
+ c as I
29
+ };