@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/Upload.js CHANGED
@@ -1,4 +1,4 @@
1
- import { U as o } from "./chunk/Niaq_og8.js";
1
+ import { U as o } from "./chunk/DMWMrXg1.js";
2
2
  export {
3
3
  o as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { V as a } from "./chunk/ShWkfsJd.js";
1
+ import { V as a } from "./chunk/DalIRWr7.js";
2
2
  export {
3
3
  a as default
4
4
  };
package/Version.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "2.63.3";
1
+ const e = "2.64.0";
2
2
  export {
3
3
  e as default,
4
4
  e as version
package/Watermark.js CHANGED
@@ -1,4 +1,4 @@
1
- import { W as r } from "./chunk/RL1SNlng.js";
1
+ import { W as r } from "./chunk/DDda6s72.js";
2
2
  export {
3
3
  r as default
4
4
  };
@@ -0,0 +1,23 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import n from "react";
3
+ import { u as i } from "./B45v5S9k.js";
4
+ const a = n.forwardRef(function(r, t) {
5
+ const e = i({ ...r, name: "ui-down" });
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("path", { d: "M39.6 17.443 24.043 33 8.487 17.443", strokeLinecap: "butt" })
18
+ }
19
+ );
20
+ });
21
+ export {
22
+ a as I
23
+ };
@@ -0,0 +1,29 @@
1
+ function s(o, e, r) {
2
+ const n = new XMLHttpRequest();
3
+ n.open("GET", o), n.responseType = "blob", n.onload = function() {
4
+ i(n.response, e);
5
+ }, n.onerror = function() {
6
+ console.error("无法下载文件");
7
+ }, n.send();
8
+ }
9
+ function c(o) {
10
+ const e = new XMLHttpRequest();
11
+ e.open("HEAD", o, !1);
12
+ try {
13
+ e.send();
14
+ } catch (r) {
15
+ console.error(r);
16
+ }
17
+ return e.status >= 200 && e.status <= 299;
18
+ }
19
+ function i(o, e, r) {
20
+ const n = window.URL || window.webkitURL, t = document.createElementNS("http://www.w3.org/1999/xhtml", "a");
21
+ e || (e = o.name || "download"), t.download = e, t.rel = "noopener", typeof o == "string" ? (t.href = o, t.origin !== location.origin ? c(t.href) ? s(o, e) : (t.target = "_blank", t.dispatchEvent(new MouseEvent("click"))) : t.dispatchEvent(new MouseEvent("click"))) : (t.href = n.createObjectURL(o), setTimeout(() => {
22
+ t.dispatchEvent(new MouseEvent("click"));
23
+ }, 0), setTimeout(() => {
24
+ n.revokeObjectURL(t.href);
25
+ }, 4e4));
26
+ }
27
+ export {
28
+ i
29
+ };
@@ -0,0 +1,23 @@
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-minus" });
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("path", { d: "M5 24h38", strokeLinecap: "butt" })
18
+ }
19
+ );
20
+ });
21
+ export {
22
+ p as I
23
+ };
@@ -0,0 +1,29 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import { u as i } from "./B45v5S9k.js";
4
+ const p = c.forwardRef(function(r, e) {
5
+ const t = i({ ...r, name: "ui-clock-circle" });
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: e,
15
+ ...t,
16
+ strokeWidth: "4",
17
+ children: /* @__PURE__ */ o(
18
+ "path",
19
+ {
20
+ d: "M24 14v10h9.5m8.5 0c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z",
21
+ strokeLinecap: "butt"
22
+ }
23
+ )
24
+ }
25
+ );
26
+ });
27
+ export {
28
+ p as I
29
+ };
@@ -0,0 +1,209 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import l, { useContext as h } from "react";
3
+ import { y as u } from "./Do1aMgY3.js";
4
+ const a = l.createContext({
5
+ prefixCls: "pqb"
6
+ });
7
+ a.displayName = "PqbIconContext";
8
+ function r(i) {
9
+ const o = h(a), { prefixCls: e = "pqb" } = o ?? {}, { className: n, name: c, spin: s, ...d } = i ?? {};
10
+ return {
11
+ "aria-hidden": !0,
12
+ focusable: !1,
13
+ ...d,
14
+ className: u([
15
+ `${e}-icon`,
16
+ c && `${e}-icon-${c}`,
17
+ s && `${e}-icon-loading`,
18
+ n
19
+ ])
20
+ };
21
+ }
22
+ const k = l.forwardRef(function(o, e) {
23
+ const n = r({ ...o, name: "ui-check-circle-fill" });
24
+ return /* @__PURE__ */ t(
25
+ "svg",
26
+ {
27
+ width: "1em",
28
+ height: "1em",
29
+ viewBox: "0 0 48 48",
30
+ fill: "none",
31
+ stroke: "currentColor",
32
+ ref: e,
33
+ ...n,
34
+ strokeWidth: "4",
35
+ children: /* @__PURE__ */ t(
36
+ "path",
37
+ {
38
+ d: "M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20m10.207-24.379a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0L22 26.172l-4.878-4.88a1 1 0 0 0-1.415 0l-1.414 1.415a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414 0z",
39
+ fill: "currentColor",
40
+ stroke: "none",
41
+ fillRule: "evenodd",
42
+ clipRule: "evenodd",
43
+ strokeWidth: "none",
44
+ strokeLinecap: "butt"
45
+ }
46
+ )
47
+ }
48
+ );
49
+ }), v = l.forwardRef(function(o, e) {
50
+ const n = r({ ...o, name: "ui-close" });
51
+ return /* @__PURE__ */ t(
52
+ "svg",
53
+ {
54
+ width: "1em",
55
+ height: "1em",
56
+ viewBox: "0 0 48 48",
57
+ fill: "none",
58
+ stroke: "currentColor",
59
+ ref: e,
60
+ ...n,
61
+ strokeWidth: "4",
62
+ children: /* @__PURE__ */ t(
63
+ "path",
64
+ {
65
+ d: "M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142",
66
+ strokeLinecap: "butt"
67
+ }
68
+ )
69
+ }
70
+ );
71
+ }), C = l.forwardRef(function(o, e) {
72
+ const n = r({ ...o, name: "ui-close-circle-fill" });
73
+ return /* @__PURE__ */ t(
74
+ "svg",
75
+ {
76
+ width: "1em",
77
+ height: "1em",
78
+ viewBox: "0 0 48 48",
79
+ fill: "none",
80
+ stroke: "currentColor",
81
+ ref: e,
82
+ ...n,
83
+ strokeWidth: "4",
84
+ children: /* @__PURE__ */ t(
85
+ "path",
86
+ {
87
+ d: "M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20m4.955-27.771-4.95 4.95-4.95-4.95a1 1 0 0 0-1.414 0l-1.414 1.414a1 1 0 0 0 0 1.414l4.95 4.95-4.95 4.95a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-4.95-4.95 4.95-4.95a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0",
88
+ fill: "currentColor",
89
+ stroke: "none",
90
+ fillRule: "evenodd",
91
+ clipRule: "evenodd",
92
+ strokeWidth: "none",
93
+ strokeLinecap: "butt"
94
+ }
95
+ )
96
+ }
97
+ );
98
+ }), w = l.forwardRef(
99
+ function(o, e) {
100
+ const n = r({ ...o, name: "ui-exclamation-circle-fill" });
101
+ return /* @__PURE__ */ t(
102
+ "svg",
103
+ {
104
+ width: "1em",
105
+ height: "1em",
106
+ viewBox: "0 0 48 48",
107
+ fill: "none",
108
+ stroke: "currentColor",
109
+ ref: e,
110
+ ...n,
111
+ strokeWidth: "4",
112
+ children: /* @__PURE__ */ t(
113
+ "path",
114
+ {
115
+ d: "M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20m-2-11a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1zm4-18a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",
116
+ fill: "currentColor",
117
+ stroke: "none",
118
+ fillRule: "evenodd",
119
+ clipRule: "evenodd",
120
+ strokeWidth: "none",
121
+ strokeLinecap: "butt"
122
+ }
123
+ )
124
+ }
125
+ );
126
+ }
127
+ ), g = l.forwardRef(function(o, e) {
128
+ const n = r({ ...o, name: "ui-info-circle-fill" });
129
+ return /* @__PURE__ */ t(
130
+ "svg",
131
+ {
132
+ width: "1em",
133
+ height: "1em",
134
+ viewBox: "0 0 48 48",
135
+ fill: "none",
136
+ stroke: "currentColor",
137
+ ref: e,
138
+ ...n,
139
+ strokeWidth: "4",
140
+ children: /* @__PURE__ */ t(
141
+ "path",
142
+ {
143
+ d: "M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20m2-30a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1zm0 17h1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-8a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1z",
144
+ fill: "currentColor",
145
+ stroke: "none",
146
+ fillRule: "evenodd",
147
+ clipRule: "evenodd",
148
+ strokeWidth: "none",
149
+ strokeLinecap: "butt"
150
+ }
151
+ )
152
+ }
153
+ );
154
+ }), x = l.forwardRef(function(o, e) {
155
+ const n = r({ ...o, name: "ui-loading" });
156
+ return /* @__PURE__ */ t(
157
+ "svg",
158
+ {
159
+ width: "1em",
160
+ height: "1em",
161
+ viewBox: "0 0 48 48",
162
+ fill: "none",
163
+ stroke: "currentColor",
164
+ ref: e,
165
+ ...n,
166
+ strokeWidth: "4",
167
+ children: /* @__PURE__ */ t(
168
+ "path",
169
+ {
170
+ d: "M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6",
171
+ strokeLinecap: "butt"
172
+ }
173
+ )
174
+ }
175
+ );
176
+ }), I = l.forwardRef(function(o, e) {
177
+ const n = r({ ...o, name: "ui-empty" });
178
+ return /* @__PURE__ */ t(
179
+ "svg",
180
+ {
181
+ width: "1em",
182
+ height: "1em",
183
+ viewBox: "0 0 48 48",
184
+ fill: "none",
185
+ stroke: "currentColor",
186
+ ref: e,
187
+ ...n,
188
+ strokeWidth: "4",
189
+ children: /* @__PURE__ */ t(
190
+ "path",
191
+ {
192
+ d: "M24 5v6m7 1 4-4m-18 4-4-4m28.5 22H28s-1 3-4 3-4-3-4-3H6.5M40 41H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z",
193
+ strokeLinecap: "butt"
194
+ }
195
+ )
196
+ }
197
+ );
198
+ });
199
+ export {
200
+ v as I,
201
+ C as a,
202
+ w as b,
203
+ k as c,
204
+ g as d,
205
+ x as e,
206
+ I as f,
207
+ a as g,
208
+ r as u
209
+ };
@@ -0,0 +1,23 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { u as s } from "./B45v5S9k.js";
4
+ const p = i.forwardRef(function(r, t) {
5
+ const e = s({ ...r, name: "ui-plus" });
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("path", { d: "M5 24h38M24 5v38", strokeLinecap: "butt" })
18
+ }
19
+ );
20
+ });
21
+ export {
22
+ p as I
23
+ };
@@ -0,0 +1,118 @@
1
+ import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
+ import r from "react";
3
+ import { u as i } from "./B45v5S9k.js";
4
+ const d = r.forwardRef(function(o, t) {
5
+ const n = i({ ...o, name: "ui-mute" });
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: t,
15
+ ...n,
16
+ strokeWidth: "4",
17
+ children: /* @__PURE__ */ e(
18
+ "path",
19
+ {
20
+ d: "m19 11.5 4.833-4.35a.1.1 0 0 1 .167.075V17m-14-1H7.1a.1.1 0 0 0-.1.1v15.8a.1.1 0 0 0 .1.1H14l9.833 8.85a.1.1 0 0 0 .167-.075V31m6.071-14.071C32.535 19.393 34 23 32.799 26m2.929-14.728C41.508 17.052 42.5 25 39.123 32M6.5 6.5l35 35",
21
+ strokeLinecap: "butt"
22
+ }
23
+ )
24
+ }
25
+ );
26
+ }), h = r.forwardRef(function(o, t) {
27
+ const n = i({ ...o, name: "ui-pause-circle-fill" });
28
+ return /* @__PURE__ */ e(
29
+ "svg",
30
+ {
31
+ width: "1em",
32
+ height: "1em",
33
+ viewBox: "0 0 48 48",
34
+ fill: "none",
35
+ stroke: "currentColor",
36
+ ref: t,
37
+ ...n,
38
+ strokeWidth: "4",
39
+ children: /* @__PURE__ */ e(
40
+ "path",
41
+ {
42
+ d: "M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20m-6-27a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V18a1 1 0 0 0-1-1zm9 0a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V18a1 1 0 0 0-1-1z",
43
+ fill: "currentColor",
44
+ stroke: "none",
45
+ fillRule: "evenodd",
46
+ clipRule: "evenodd",
47
+ strokeWidth: "none",
48
+ strokeLinecap: "butt"
49
+ }
50
+ )
51
+ }
52
+ );
53
+ }), m = r.forwardRef(function(o, t) {
54
+ const n = i({ ...o, name: "ui-play-circle-fill" });
55
+ return /* @__PURE__ */ e(
56
+ "svg",
57
+ {
58
+ width: "1em",
59
+ height: "1em",
60
+ viewBox: "0 0 48 48",
61
+ fill: "none",
62
+ stroke: "currentColor",
63
+ ref: t,
64
+ ...n,
65
+ strokeWidth: "4",
66
+ children: /* @__PURE__ */ e(
67
+ "path",
68
+ {
69
+ d: "M44 24c0 11.046-8.954 20-20 20S4 35.046 4 24 12.954 4 24 4s20 8.954 20 20m-23.662-7.783C19.302 15.605 18 16.36 18 17.575v12.85c0 1.214 1.302 1.97 2.338 1.358l10.89-6.425c1.03-.607 1.03-2.11 0-2.716z",
70
+ fill: "currentColor",
71
+ stroke: "none",
72
+ fillRule: "evenodd",
73
+ clipRule: "evenodd",
74
+ strokeWidth: "none",
75
+ strokeLinecap: "butt"
76
+ }
77
+ )
78
+ }
79
+ );
80
+ }), f = r.forwardRef(function(o, t) {
81
+ const n = i({ ...o, name: "ui-sound" });
82
+ return /* @__PURE__ */ c(
83
+ "svg",
84
+ {
85
+ width: "1em",
86
+ height: "1em",
87
+ viewBox: "0 0 48 48",
88
+ fill: "none",
89
+ stroke: "currentColor",
90
+ ref: t,
91
+ ...n,
92
+ strokeWidth: "4",
93
+ children: [
94
+ /* @__PURE__ */ e(
95
+ "path",
96
+ {
97
+ d: "m14 16 10-9v34l-10-9H6V16z",
98
+ strokeLinecap: "butt",
99
+ strokeLinejoin: "round"
100
+ }
101
+ ),
102
+ /* @__PURE__ */ e(
103
+ "path",
104
+ {
105
+ d: "M31.071 16.929c3.906 3.905 3.906 10.237 0 14.142m5.657-19.799c7.029 7.03 7.029 18.426 0 25.456",
106
+ strokeLinecap: "butt"
107
+ }
108
+ )
109
+ ]
110
+ }
111
+ );
112
+ });
113
+ export {
114
+ d as I,
115
+ f as a,
116
+ h as b,
117
+ m as c
118
+ };
@@ -0,0 +1,41 @@
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { u as n } from "./B45v5S9k.js";
4
+ const z = m.forwardRef(function(t, r) {
5
+ const v = n({ ...t, name: "ui-drag-dot" });
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: r,
15
+ ...v,
16
+ strokeWidth: "4",
17
+ children: [
18
+ /* @__PURE__ */ o(
19
+ "path",
20
+ {
21
+ d: "M40 17v2h-2v-2zm-15 0v2h-2v-2zm-15 0v2H8v-2zm30 12v2h-2v-2zm-15 0v2h-2v-2zm-15 0v2H8v-2z",
22
+ fill: "currentColor",
23
+ stroke: "none",
24
+ strokeWidth: "none",
25
+ strokeLinecap: "butt"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ o(
29
+ "path",
30
+ {
31
+ d: "M40 17v2h-2v-2zm-15 0v2h-2v-2zm-15 0v2H8v-2zm30 12v2h-2v-2zm-15 0v2h-2v-2zm-15 0v2H8v-2z",
32
+ strokeLinecap: "butt"
33
+ }
34
+ )
35
+ ]
36
+ }
37
+ );
38
+ });
39
+ export {
40
+ z as I
41
+ };
@@ -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 m = i.forwardRef(function(r, t) {
5
+ const e = n({ ...r, name: "ui-copy" });
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: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z",
21
+ strokeLinecap: "butt"
22
+ }
23
+ )
24
+ }
25
+ );
26
+ });
27
+ export {
28
+ m as I
29
+ };