@unicom-cloud/ui 0.8.66 → 0.8.67

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 (357) hide show
  1. package/Affix.js +79 -79
  2. package/Alert.js +46 -46
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +74 -74
  5. package/Avatar.js +36 -36
  6. package/BackTop.js +35 -35
  7. package/Badge.js +55 -55
  8. package/Breadcrumb.js +42 -42
  9. package/Button.js +24 -24
  10. package/Calendar.js +230 -230
  11. package/Card.js +18 -18
  12. package/Carousel.js +165 -165
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +26 -26
  17. package/Comment.js +18 -18
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +28 -27
  20. package/DatePicker.js +872 -871
  21. package/Descriptions.js +34 -34
  22. package/Divider.js +19 -19
  23. package/Draggable.js +27 -26
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +110 -110
  26. package/Empty.js +3 -3
  27. package/Form.js +984 -945
  28. package/Grid.js +34 -34
  29. package/Icon.js +16 -16
  30. package/IconHover.js +2 -2
  31. package/Image.js +2 -2
  32. package/Input.js +7 -6
  33. package/InputNumber.js +6 -6
  34. package/InputTag.js +1 -1
  35. package/Layout.js +24 -24
  36. package/Link.js +30 -30
  37. package/List.js +95 -95
  38. package/Mentions.js +85 -84
  39. package/Menu.js +2 -2
  40. package/Message.js +7 -6
  41. package/Modal.js +1 -1
  42. package/Notice.js +14 -3
  43. package/Notification.js +9 -7
  44. package/OverflowEllipsis.js +64 -62
  45. package/PageHeader.js +73 -73
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +60 -60
  49. package/Popover.js +31 -31
  50. package/Portal.js +23 -31
  51. package/Progress.js +22 -22
  52. package/Radio.js +2 -2
  53. package/Rate.js +24 -24
  54. package/ResizeBox.js +274 -271
  55. package/Result.js +3 -3
  56. package/Select.js +4 -4
  57. package/SelectView.js +257 -238
  58. package/Skeleton.js +46 -46
  59. package/Slider.js +286 -283
  60. package/Space.js +28 -28
  61. package/SpeechSynthesis.js +62 -55
  62. package/Spin.js +23 -23
  63. package/Statistic.js +80 -80
  64. package/Steps.js +67 -67
  65. package/Switch.js +47 -47
  66. package/Table.js +1445 -1380
  67. package/Tabs.js +5 -5
  68. package/Tag.js +45 -45
  69. package/TimePicker.js +154 -154
  70. package/Timeline.js +2 -2
  71. package/Tooltip.js +80 -79
  72. package/Transfer.js +103 -102
  73. package/Tree.js +3 -2
  74. package/TreeSelect.js +2 -2
  75. package/Trigger.js +699 -772
  76. package/Typography.js +756 -6
  77. package/Upload.js +2 -2
  78. package/VerificationCode.js +1 -1
  79. package/Version.js +1 -1
  80. package/VirtualList.js +1 -1
  81. package/Watermark.js +1 -1
  82. package/chunk/{BHgJ5Y3T.js → -UuKKT0Z.js} +29 -29
  83. package/chunk/{B8QV6E2b.js → AwZqeapI.js} +5 -5
  84. package/chunk/B5gK1Idp.js +19 -0
  85. package/chunk/B7FlazNB.js +24 -0
  86. package/chunk/{DTBtQQ2H.js → BBvWDeuZ.js} +67 -67
  87. package/chunk/BCftTxEy.js +626 -0
  88. package/chunk/{CZOP_ZHJ.js → BGny4zSb.js} +60 -60
  89. package/chunk/BHF15Dog.js +98 -0
  90. package/chunk/BJQ5UNa-.js +1585 -0
  91. package/chunk/BP9sYyk9.js +8 -0
  92. package/chunk/BUdtVdnv.js +38 -0
  93. package/chunk/BVQlOzTS.js +11 -0
  94. package/chunk/B__a_gb_.js +519 -0
  95. package/chunk/BbEYToV1.js +10 -0
  96. package/chunk/BbdDQAnm.js +15 -0
  97. package/chunk/BdUcgWdu.js +11 -0
  98. package/chunk/BfbXSG70.js +26 -0
  99. package/chunk/BndfNLK4.js +186 -0
  100. package/chunk/BoMCZV6K.js +1098 -0
  101. package/chunk/Br0B6y1T.js +18 -0
  102. package/chunk/BrOW642m.js +130 -0
  103. package/chunk/BxUs8_Cr.js +9 -0
  104. package/chunk/{CcV4wQB1.js → C42LIMP9.js} +244 -242
  105. package/chunk/C4YkFMzC.js +778 -0
  106. package/chunk/{Bh23P4l7.js → C9Wcraj7.js} +21 -21
  107. package/chunk/{4-gvEY5y.js → CANgSlh3.js} +10 -10
  108. package/chunk/CJ_o9tZM.js +5 -0
  109. package/chunk/{DNAigumg.js → CK5m7rLl.js} +36 -36
  110. package/chunk/{CANaGbGR.js → CKNyIitu.js} +57 -56
  111. package/chunk/CLiqJm_T.js +10 -0
  112. package/chunk/{BnSVm1YC.js → CNmmhbCn.js} +32 -32
  113. package/chunk/{BFipyA67.js → CP0odX99.js} +51 -51
  114. package/chunk/CPT-OZH2.js +14 -0
  115. package/chunk/CVSF8p0O.js +698 -0
  116. package/chunk/C_agcwLN.js +31 -0
  117. package/chunk/{jhQQCFMn.js → C_gJWGGh.js} +201 -201
  118. package/chunk/{Bc7t9jkb.js → CaasmWg_.js} +11 -11
  119. package/chunk/Ce1j9KTi.js +6 -0
  120. package/chunk/{D_-UD4vO.js → Cf5QNhkG.js} +18 -18
  121. package/chunk/CkNSv2U7.js +56 -0
  122. package/chunk/Cp2f70gB.js +9 -0
  123. package/chunk/CpegYjdC.js +16 -0
  124. package/chunk/CucI3KZr.js +20 -0
  125. package/chunk/CwoFBTYz.js +11 -0
  126. package/chunk/D2KPqPhV.js +17 -0
  127. package/chunk/D7NyvE5f.js +17 -0
  128. package/chunk/D8oTPQ2H.js +384 -0
  129. package/chunk/{CLBavO5c.js → DC1iHEiy.js} +87 -87
  130. package/chunk/{DnvO8A0Z.js → DFrfrmfK.js} +120 -119
  131. package/chunk/DGTIZ_0O.js +6 -0
  132. package/chunk/DJfpiZn_.js +25 -0
  133. package/chunk/DKr2_PYd.js +34 -0
  134. package/chunk/DNUz6zgo.js +11 -0
  135. package/chunk/DRtM649q.js +11 -0
  136. package/chunk/DS_mUWn6.js +41 -0
  137. package/chunk/DU6bs_19.js +10 -0
  138. package/chunk/DWdbwz22.js +10 -0
  139. package/chunk/DcveZuqd.js +6 -0
  140. package/chunk/DdVFknul.js +24 -0
  141. package/chunk/DgRfikwe.js +16 -0
  142. package/chunk/{znkyQ-HR.js → DkyR2EfG.js} +66 -66
  143. package/chunk/{DUeHQKtx.js → DleQ5HwG.js} +42 -42
  144. package/chunk/DnrZEnQ_.js +27 -0
  145. package/chunk/DsRSHWtX.js +1025 -0
  146. package/chunk/Dz5BdmXo.js +270 -0
  147. package/chunk/EANe01DF.js +1030 -0
  148. package/chunk/{CwhPMMWy.js → Ey4YJCkX.js} +7 -7
  149. package/chunk/GoNx5R4F.js +873 -0
  150. package/chunk/HDUQku8d.js +20 -0
  151. package/chunk/HrAP__Hi.js +25 -0
  152. package/chunk/JPPo5nY_.js +9 -0
  153. package/chunk/{Du-bw6qA.js → SLWP34OR.js} +90 -85
  154. package/chunk/VVKtwaGf.js +278 -0
  155. package/chunk/WPNpLxSI.js +16 -0
  156. package/chunk/{CPvvjMwZ.js → WpO_DsK4.js} +49 -48
  157. package/chunk/fdU3ang6.js +14 -0
  158. package/chunk/{DQAot004.js → fkclKOAL.js} +298 -292
  159. package/chunk/flvYlqx3.js +22 -0
  160. package/chunk/kTDayEpF.js +288 -0
  161. package/chunk/{CssIjN1g.js → pZoNQ75H.js} +31 -31
  162. package/chunk/qFf1w_Jq.js +8 -0
  163. package/chunk/{CHnFKgbk.js → w-kM1L5W.js} +155 -155
  164. package/hooks/index.js +53 -49
  165. package/hooks/useComputedState.js +2 -10
  166. package/hooks/useCreate.js +2 -7
  167. package/hooks/useForceUpdate.js +2 -7
  168. package/hooks/useId.js +2 -10
  169. package/hooks/useInView.js +2 -30
  170. package/hooks/useIntersectionObserver.js +2 -23
  171. package/hooks/useInterval.js +2 -17
  172. package/hooks/useIsFirstRender.js +2 -9
  173. package/hooks/useIsomorphicLayoutEffect.js +2 -5
  174. package/hooks/useKeyboardEvent.js +2 -16
  175. package/hooks/useMedia.js +2 -15
  176. package/hooks/useMergeProps.js +2 -18
  177. package/hooks/useMergeValue.js +2 -19
  178. package/hooks/useOnlineStatus.js +4 -0
  179. package/hooks/useOverflowHidden.js +2 -25
  180. package/hooks/useOverrideRef.js +2 -13
  181. package/hooks/usePersistCallback.js +2 -13
  182. package/hooks/usePrefersColorSchemeDark.js +4 -0
  183. package/hooks/usePrevious.js +2 -9
  184. package/hooks/useRefs.js +2 -9
  185. package/hooks/useResizeObserver.js +2 -15
  186. package/hooks/useStateCallback.js +2 -15
  187. package/hooks/useStateWithPromise.js +2 -24
  188. package/hooks/useUpdateEffect.js +2 -9
  189. package/hooks/useVerificationCode.js +73 -0
  190. package/hooks/useWatch.js +2 -10
  191. package/hooks/{use-watermark.js → useWatermark.js} +27 -26
  192. package/hooks/useWindowSize.js +2 -20
  193. package/index.js +571 -584
  194. package/locale/en-US.js +4 -2
  195. package/locale/interface.js +1 -4
  196. package/locale/ja-JP.js +3 -1
  197. package/locale/tr-TR.js +1 -1
  198. package/locale/zh-CN.js +3 -1
  199. package/locale/zh-HK.js +3 -1
  200. package/locale/zh-TW.js +3 -1
  201. package/package.json +1 -1
  202. package/style.css +1 -1
  203. package/types/anchor/util.d.ts +1 -1
  204. package/types/button/index.d.ts +2 -2
  205. package/types/color-picker/hooks/useColorPicker.d.ts +2 -2
  206. package/types/form/Control-old.d.ts +56 -0
  207. package/types/form/Control.d.ts +6 -54
  208. package/types/form/FormItem.d.ts +1 -1
  209. package/types/form/store.d.ts +0 -1
  210. package/types/hooks/index.d.ts +2 -0
  211. package/types/hooks/useComputedState.d.ts +1 -4
  212. package/types/hooks/useCreate.d.ts +1 -2
  213. package/types/hooks/useForceUpdate.d.ts +1 -2
  214. package/types/hooks/useId.d.ts +1 -2
  215. package/types/hooks/useInView.d.ts +1 -11
  216. package/types/hooks/useIntersectionObserver.d.ts +1 -7
  217. package/types/hooks/useInterval.d.ts +1 -2
  218. package/types/hooks/useIsFirstRender.d.ts +1 -2
  219. package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
  220. package/types/hooks/useKeyboardEvent.d.ts +1 -8
  221. package/types/hooks/useMedia.d.ts +1 -2
  222. package/types/hooks/useMergeProps.d.ts +1 -5
  223. package/types/hooks/useMergeValue.d.ts +1 -6
  224. package/types/hooks/useOnlineStatus.d.ts +1 -0
  225. package/types/hooks/useOverflowHidden.d.ts +1 -5
  226. package/types/hooks/useOverrideRef.d.ts +1 -6
  227. package/types/hooks/usePersistCallback.d.ts +1 -2
  228. package/types/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  229. package/types/hooks/usePrevious.d.ts +1 -3
  230. package/types/hooks/useRefs.d.ts +1 -2
  231. package/types/hooks/useResizeObserver.d.ts +1 -6
  232. package/types/hooks/useStateCallback.d.ts +1 -5
  233. package/types/hooks/useStateWithPromise.d.ts +1 -2
  234. package/types/hooks/useUpdateEffect.d.ts +1 -3
  235. package/types/hooks/useWatch.d.ts +1 -3
  236. package/types/hooks/useWindowSize.d.ts +1 -5
  237. package/types/image/interface.d.ts +1 -0
  238. package/types/index.d.ts +157 -86
  239. package/types/input/Input.d.ts +1 -1
  240. package/types/input/Textarea.d.ts +2 -2
  241. package/types/locale/en-US.d.ts +2 -0
  242. package/types/locale/interface.d.ts +1 -2
  243. package/types/locale/ja-JP.d.ts +2 -0
  244. package/types/locale/zh-CN.d.ts +2 -0
  245. package/types/locale/zh-HK.d.ts +2 -0
  246. package/types/locale/zh-TW.d.ts +2 -0
  247. package/types/menu/context.d.ts +1 -1
  248. package/types/message/index.d.ts +14 -14
  249. package/types/message/interface.d.ts +2 -0
  250. package/types/modal/config.d.ts +0 -1
  251. package/types/modal/interface.d.ts +0 -1
  252. package/types/notice/index.d.ts +2 -27
  253. package/types/notification/index.d.ts +15 -16
  254. package/types/notification/interface.d.ts +2 -0
  255. package/types/notification/withNotification.d.ts +2 -0
  256. package/types/select/util.d.ts +1 -2
  257. package/types/select-view/interface.d.ts +2 -1
  258. package/types/speech-synthesis/index.d.ts +1 -1
  259. package/types/table/constant.d.ts +2 -0
  260. package/types/table/hook/useThResizable.d.ts +7 -0
  261. package/types/table/index.d.ts +10 -1
  262. package/types/table/style/index.d.ts +1 -0
  263. package/types/table/th-resizable/index.d.ts +2 -0
  264. package/types/table/thead/Column.d.ts +1 -2
  265. package/types/tree/Tree.d.ts +12 -67
  266. package/types/tree-select/Select.d.ts +2 -2
  267. package/types/trigger/index.d.ts +2 -120
  268. package/types/trigger/interface.d.ts +2 -1
  269. package/types/utils/CSSTransition.d.ts +2 -3
  270. package/types/utils/caseName.d.ts +1 -1
  271. package/types/utils/className.d.ts +1 -1
  272. package/types/utils/constant.d.ts +2 -2
  273. package/types/utils/copy.d.ts +1 -1
  274. package/types/utils/dayjs.d.ts +1 -21
  275. package/types/utils/dom.d.ts +1 -6
  276. package/types/utils/fileToURL.d.ts +1 -1
  277. package/types/utils/fillNBSP.d.ts +1 -1
  278. package/types/utils/getHighlightText.d.ts +1 -5
  279. package/types/utils/getHotkeyHandler.d.ts +1 -8
  280. package/types/utils/getStringLength.d.ts +1 -1
  281. package/types/utils/include.d.ts +1 -1
  282. package/types/utils/index.d.ts +3 -4
  283. package/types/utils/is.d.ts +1 -16
  284. package/types/utils/keyboardCode.d.ts +3 -0
  285. package/types/utils/lodash.d.ts +1 -17
  286. package/types/utils/mergeProps.d.ts +1 -1
  287. package/types/utils/mergedToString.d.ts +1 -1
  288. package/types/utils/omit.d.ts +1 -1
  289. package/types/utils/pad.d.ts +1 -2
  290. package/types/utils/pick.d.ts +2 -4
  291. package/types/utils/reactDOM.d.ts +1 -7
  292. package/types/utils/resizeObserverEffect.d.ts +2 -0
  293. package/types/utils/saveAs.d.ts +1 -1
  294. package/types/utils/screenfull.d.ts +2 -0
  295. package/types/utils/scrollIntoView.d.ts +1 -2
  296. package/types/utils/style.d.ts +1 -3
  297. package/types/utils/throttleByRaf.d.ts +1 -5
  298. package/types/utils/throttleByRaf2.d.ts +1 -0
  299. package/types/utils/warning.d.ts +1 -2
  300. package/types/version/index.d.ts +1 -1
  301. package/utils/CSSTransition.js +2 -6
  302. package/utils/className.js +2 -2
  303. package/utils/constant.js +8 -9
  304. package/utils/contextHolder.js +1 -1
  305. package/utils/copy.js +1 -1
  306. package/utils/dayjs.js +14 -173
  307. package/utils/dom.js +33 -29
  308. package/utils/fillNBSP.js +2 -4
  309. package/utils/getHighlightText.js +2 -38
  310. package/utils/getHotkeyHandler.js +2 -25
  311. package/utils/getStringLength.js +2 -7
  312. package/utils/include.js +2 -7
  313. package/utils/index.js +237 -240
  314. package/utils/is.js +116 -156
  315. package/utils/keyboardCode.js +27 -0
  316. package/utils/mergeProps.js +2 -9
  317. package/utils/mergedToString.js +2 -13
  318. package/utils/omit.js +2 -9
  319. package/utils/pad.js +12 -12
  320. package/utils/pick.js +4 -15
  321. package/utils/reactDOM.js +3 -54
  322. package/utils/resizeObserverEffect.js +4 -0
  323. package/utils/saveAs.js +1 -1
  324. package/utils/screenfull.js +4 -0
  325. package/utils/scrollIntoView.js +2 -21
  326. package/utils/style.js +12 -11
  327. package/utils/throttleByRaf.js +13 -12
  328. package/utils/throttleByRaf2.js +5 -0
  329. package/utils/warning.js +5 -4
  330. package/NotificationBase.js +0 -53
  331. package/chunk/-zpSUpGE.js +0 -1501
  332. package/chunk/BAWsPQBM.js +0 -11
  333. package/chunk/BIT0j3HT.js +0 -269
  334. package/chunk/BbLKnaNO.js +0 -871
  335. package/chunk/Bfhv56O2.js +0 -638
  336. package/chunk/C2lIz2F9.js +0 -60
  337. package/chunk/C6QWSzsM.js +0 -376
  338. package/chunk/CVkHTbic.js +0 -995
  339. package/chunk/CeGEvXby.js +0 -278
  340. package/chunk/D3NFxdmG.js +0 -518
  341. package/chunk/DApXtulb.js +0 -1102
  342. package/chunk/DPByB1ab.js +0 -698
  343. package/chunk/DV1Ab_cG.js +0 -284
  344. package/chunk/dBnNCOIU.js +0 -778
  345. package/chunk/it8qlDZ3.js +0 -1032
  346. package/chunk/l0sNRNKZ.js +0 -1
  347. package/chunk/te_43YrB.js +0 -776
  348. package/hooks/use-verification-code.js +0 -73
  349. package/types/notification-base/index.d.ts +0 -15
  350. package/types/notification-base/style/index.d.ts +0 -2
  351. package/types/trigger/Portal.d.ts +0 -7
  352. package/types/utils/keyCode.d.ts +0 -45
  353. package/types/utils/raf.d.ts +0 -3
  354. package/types/utils/throttleByRafV2.d.ts +0 -5
  355. package/utils/keyCode.js +0 -12
  356. package/utils/raf.js +0 -19
  357. package/utils/throttleByRafV2.js +0 -16
@@ -1,47 +1,47 @@
1
1
  import { jsx as i, jsxs as _, Fragment as Je } from "react/jsx-runtime";
2
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 { d as A } from "./-zpSUpGE.js";
4
- import { useMergeProps as Fe } from "../hooks/useMergeProps.js";
5
- import { useMergeValue as le } from "../hooks/useMergeValue.js";
6
- import { y as q } from "./BAWsPQBM.js";
7
- import { pickDataAttributes as _e } from "../utils/pick.js";
3
+ import { a as A } from "./BJQ5UNa-.js";
4
+ import { c as Fe } from "./B5gK1Idp.js";
5
+ import { R as le } from "./HDUQku8d.js";
6
+ import { m as q } from "./JPPo5nY_.js";
7
+ import { r as _e } from "./D7NyvE5f.js";
8
8
  import Le from "@unicom-cloud/icons/IconUiLeft";
9
9
  import Te from "@unicom-cloud/icons/IconUiMore";
10
10
  import Ue from "@unicom-cloud/icons/IconUiRight";
11
- import { useKeyboardEvent as pe } from "../hooks/useKeyboardEvent.js";
11
+ import { h as fe } from "./D2KPqPhV.js";
12
12
  import Be from "lodash/isFunction";
13
13
  import Ke from "lodash/isPlainObject";
14
14
  import ce from "lodash/isUndefined";
15
- import { I as Ve } from "./CcV4wQB1.js";
16
- import { S as fe } from "./dBnNCOIU.js";
17
- var R = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(R || {});
15
+ import { I as Ve } from "./C42LIMP9.js";
16
+ import { S as pe } from "./C4YkFMzC.js";
17
+ var E = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(E || {});
18
18
  function De(e) {
19
- var M, h, t;
20
- const { locale: n } = O(A), s = pe(), {
19
+ var j, h, t;
20
+ const { locale: n } = O(A), o = fe(), {
21
21
  pageNum: a,
22
- current: f,
22
+ current: p,
23
23
  rootPrefixCls: u,
24
24
  pageItemStyle: C,
25
25
  activePageItemStyle: r,
26
- itemRender: y
27
- } = e, $ = `${u}-item`, P = f === a, m = q($, P ? `${$}-active` : "");
26
+ itemRender: $
27
+ } = e, y = `${u}-item`, P = p === a, m = q(y, P ? `${y}-active` : "");
28
28
  let g = C;
29
29
  P && (g = { ...g, ...r });
30
- const k = P ? { "aria-current": !0 } : {}, v = (o) => {
31
- const { pageNum: l, onClick: S, disabled: d } = e;
32
- o.currentTarget.dataset.active !== "true" && (o.stopPropagation(), d || S == null || S(l));
30
+ const R = P ? { "aria-current": !0 } : {}, S = (s) => {
31
+ const { pageNum: l, onClick: v, disabled: d } = e;
32
+ s.currentTarget.dataset.active !== "true" && (s.stopPropagation(), d || v == null || v(l));
33
33
  };
34
34
  return /* @__PURE__ */ i(
35
35
  "li",
36
36
  {
37
37
  style: g,
38
38
  className: m,
39
- onClick: v,
39
+ onClick: S,
40
40
  tabIndex: e.disabled ? -1 : 0,
41
- "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}", a),
42
- ...s({ onPressEnter: v }),
43
- ...k,
44
- children: y ? y(a, "page", a) : a
41
+ "aria-label": (t = (h = (j = n == null ? void 0 : n.Pagination) == null ? void 0 : j.currentPage) == null ? void 0 : h.replace) == null ? void 0 : t.call(h, "{0}", a),
42
+ ...o({ onPressEnter: S }),
43
+ ...R,
44
+ children: $ ? $(a, "page", a) : a
45
45
  }
46
46
  );
47
47
  }
@@ -58,138 +58,138 @@ function ne(e, n) {
58
58
  }
59
59
  }
60
60
  const Z = (e) => {
61
- var t, o, l, S, d, b;
61
+ var t, s, l, v, d, z;
62
62
  const { locale: n } = O(A), {
63
- rootPrefixCls: s,
63
+ rootPrefixCls: o,
64
64
  current: a,
65
- allPages: f,
65
+ allPages: p,
66
66
  jumpPage: u,
67
67
  icons: C,
68
68
  disabled: r,
69
- pageItemStyle: y,
70
- itemRender: $
71
- } = e, P = f > 0 ? 1 : 0, m = Math.min(f, Math.max(P, a + u)), g = `${s}-item ${s}-item-jumper`, k = q(g), v = () => {
69
+ pageItemStyle: $,
70
+ itemRender: y
71
+ } = e, P = p > 0 ? 1 : 0, m = Math.min(p, Math.max(P, a + u)), g = `${o}-item ${o}-item-jumper`, R = q(g), S = () => {
72
72
  var L;
73
73
  !r && ((L = e.onClick) == null || L.call(e, m));
74
- }, M = ne("more", C), h = u > 0 ? (l = (o = (t = n == null ? void 0 : n.Pagination) == null ? void 0 : t.nextSomePages) == null ? void 0 : o.replace) == null ? void 0 : l.call(o, "{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);
74
+ }, j = 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) : (z = (d = (v = n == null ? void 0 : n.Pagination) == null ? void 0 : v.prevSomePages) == null ? void 0 : d.replace) == null ? void 0 : z.call(d, "{0}", -u);
75
75
  return /* @__PURE__ */ i(
76
76
  "li",
77
77
  {
78
- style: y,
79
- className: k,
80
- onClick: v,
78
+ style: $,
79
+ className: R,
80
+ onClick: S,
81
81
  "aria-label": h,
82
- children: $ ? $(void 0, "more", M) : M
82
+ children: y ? y(void 0, "more", j) : j
83
83
  }
84
84
  );
85
85
  }, D = (e) => {
86
- const { locale: n, rtl: s } = O(A), a = pe(), {
87
- rootPrefixCls: f,
86
+ const { locale: n, rtl: o } = O(A), a = fe(), {
87
+ rootPrefixCls: p,
88
88
  current: u,
89
89
  allPages: C,
90
90
  type: r,
91
- icons: y,
92
- disabled: $,
91
+ icons: $,
92
+ disabled: y,
93
93
  pageItemStyle: P,
94
94
  itemRender: m
95
- } = e, g = `${f}-item`, [k, v] = s ? ["next", "prev"] : ["prev", "next"], M = ne(r === 0 ? k : v, y);
95
+ } = e, g = `${p}-item`, [R, S] = o ? ["next", "prev"] : ["prev", "next"], j = ne(r === 0 ? R : S, $);
96
96
  let h = !1;
97
97
  C === 0 ? h = !0 : r === 0 ? h = u <= 1 : h = u === C;
98
- const t = $ || h;
99
- let o = u + (r === 0 ? -1 : 1);
100
- o = Math.max(0, Math.min(C, o));
101
- const l = r === 0 ? "prev" : "next", S = q(g, `${g}-${l}`, {
98
+ const t = y || h;
99
+ let s = u + (r === 0 ? -1 : 1);
100
+ s = Math.max(0, Math.min(C, s));
101
+ const l = r === 0 ? "prev" : "next", v = q(g, `${g}-${l}`, {
102
102
  [`${g}-disabled`]: t
103
103
  }), d = () => {
104
- var b;
105
- t || (b = e.onClick) == null || b.call(e, o);
104
+ var z;
105
+ t || (z = e.onClick) == null || z.call(e, s);
106
106
  };
107
107
  return /* @__PURE__ */ i(
108
108
  "li",
109
109
  {
110
110
  style: P,
111
- className: S,
111
+ className: v,
112
112
  onClick: d,
113
113
  tabIndex: t ? -1 : 0,
114
114
  "aria-label": n.Pagination[l],
115
115
  ...a({
116
116
  onPressEnter: d
117
117
  }),
118
- children: m ? m(void 0, l, M) : M
118
+ children: m ? m(void 0, l, j) : j
119
119
  }
120
120
  );
121
121
  }, G = W.memo(De);
122
122
  function ue(e) {
123
123
  var h, t;
124
- const n = e.simple ? e.current : void 0, { locale: s } = O(A), [a, f] = Oe(n), u = ge();
124
+ const n = e.simple ? e.current : void 0, { locale: o } = O(A), [a, p] = Oe(n), u = ge();
125
125
  te(() => {
126
- e.simple && f(e.current);
126
+ e.simple && p(e.current);
127
127
  }, [e.simple, e.current]);
128
- const C = (o) => {
129
- const l = parseInt(o, 10);
130
- f(isNaN(l) ? void 0 : l);
128
+ const C = (s) => {
129
+ const l = parseInt(s, 10);
130
+ p(isNaN(l) ? void 0 : l);
131
131
  }, r = () => {
132
- const { onPageChange: o, totalPages: l, current: S, simple: d } = e;
132
+ const { onPageChange: s, totalPages: l, current: v, simple: d } = e;
133
133
  if (ce(a))
134
134
  return;
135
- if (a === S) {
136
- d || f(void 0);
135
+ if (a === v) {
136
+ d || p(void 0);
137
137
  return;
138
138
  }
139
- let b = isNaN(Number(a)) ? S : Number(a);
140
- b < 1 ? b = 1 : b > l && (b = l), f(d ? b : void 0), Be(o) && o(b);
141
- }, y = () => {
142
- const o = u.current.dom;
143
- String(a) && o && o.setSelectionRange(0, String(a).length);
144
- }, { rootPrefixCls: $, totalPages: P, simple: m, size: g, disabled: k } = e, v = `${$}-jumper`, M = {
139
+ let z = isNaN(Number(a)) ? v : Number(a);
140
+ z < 1 ? z = 1 : z > l && (z = l), p(d ? z : void 0), Be(s) && s(z);
141
+ }, $ = () => {
142
+ const s = u.current.dom;
143
+ String(a) && s && s.setSelectionRange(0, String(a).length);
144
+ }, { rootPrefixCls: y, totalPages: P, simple: m, size: g, disabled: R } = e, S = `${y}-jumper`, j = {
145
145
  showJumper: !0,
146
146
  ...Ke(m) ? m : {}
147
147
  };
148
- return /* @__PURE__ */ _("div", { className: `${v}`, children: [
149
- !m && /* @__PURE__ */ i("span", { className: `${v}-text-goto`, children: (h = s == null ? void 0 : s.Pagination) == null ? void 0 : h.goto }),
150
- M.showJumper ? /* @__PURE__ */ i(
148
+ return /* @__PURE__ */ _("div", { className: `${S}`, children: [
149
+ !m && /* @__PURE__ */ i("span", { className: `${S}-text-goto`, children: (h = o == null ? void 0 : o.Pagination) == null ? void 0 : h.goto }),
150
+ j.showJumper ? /* @__PURE__ */ i(
151
151
  Ve,
152
152
  {
153
153
  _ignorePropsFromGlobal: !0,
154
- ref: (o) => u.current = o,
155
- className: `${v}-input`,
154
+ ref: (s) => u.current = s,
155
+ className: `${S}-input`,
156
156
  value: ce(a) ? void 0 : a.toString(),
157
157
  size: g,
158
- disabled: k || !P,
158
+ disabled: R || !P,
159
159
  onChange: C,
160
160
  onPressEnter: r,
161
- onFocus: y,
161
+ onFocus: $,
162
162
  onBlur: r
163
163
  }
164
164
  ) : /* @__PURE__ */ i("span", { children: a }),
165
- !m && /* @__PURE__ */ i("span", { className: `${v}-text-goto-suffix`, children: (t = s == null ? void 0 : s.Pagination) == null ? void 0 : t.page }),
165
+ !m && /* @__PURE__ */ i("span", { className: `${S}-text-goto-suffix`, children: (t = o == null ? void 0 : o.Pagination) == null ? void 0 : t.page }),
166
166
  m && /* @__PURE__ */ _(Je, { children: [
167
- /* @__PURE__ */ i("span", { className: `${v}-separator`, children: "/" }),
167
+ /* @__PURE__ */ i("span", { className: `${S}-separator`, children: "/" }),
168
168
  /* @__PURE__ */ i("span", { children: P })
169
169
  ] })
170
170
  ] });
171
171
  }
172
172
  const Ge = () => {
173
- }, We = fe.Option, qe = [10, 20, 30, 40, 50];
173
+ }, We = pe.Option, qe = [10, 20, 30, 40, 50];
174
174
  function He(e) {
175
175
  var P;
176
- const n = ge(null), { locale: s } = O(A), {
176
+ const n = ge(null), { locale: o } = O(A), {
177
177
  onPageSizeChange: a = Ge,
178
- rootPrefixCls: f,
178
+ rootPrefixCls: p,
179
179
  sizeOptions: u = qe,
180
180
  pageSize: C = 10,
181
181
  size: r,
182
- selectProps: y,
183
- disabled: $
182
+ selectProps: $,
183
+ disabled: y
184
184
  } = e;
185
185
  return /* @__PURE__ */ i(
186
186
  "div",
187
187
  {
188
188
  ref: n,
189
- className: `${f}-option`,
190
- "aria-label": (P = s == null ? void 0 : s.Pagination) == null ? void 0 : P.pageSize,
189
+ className: `${p}-option`,
190
+ "aria-label": (P = o == null ? void 0 : o.Pagination) == null ? void 0 : P.pageSize,
191
191
  children: /* @__PURE__ */ i(
192
- fe,
192
+ pe,
193
193
  {
194
194
  value: u.indexOf(C) !== -1 ? C : u[0],
195
195
  onChange: (m) => {
@@ -197,11 +197,11 @@ function He(e) {
197
197
  },
198
198
  size: r,
199
199
  getPopupContainer: () => n.current,
200
- disabled: $,
201
- ...y,
200
+ disabled: y,
201
+ ...$,
202
202
  children: u.map((m) => {
203
203
  var g;
204
- return /* @__PURE__ */ i(We, { value: m, children: `${m} ${(g = s == null ? void 0 : s.Pagination) == null ? void 0 : g.countPerPage}` }, m);
204
+ return /* @__PURE__ */ i(We, { value: m, children: `${m} ${(g = o == null ? void 0 : o.Pagination) == null ? void 0 : g.countPerPage}` }, m);
205
205
  })
206
206
  }
207
207
  )
@@ -213,8 +213,8 @@ function ee(e = de, n) {
213
213
  return Math.ceil(n / e);
214
214
  }
215
215
  function Ye(e, n) {
216
- const a = Math.floor(n / 2) - 1, f = Math.max(e, 0);
217
- return Math.min(f, a);
216
+ const a = Math.floor(n / 2) - 1, p = Math.max(e, 0);
217
+ return Math.min(p, a);
218
218
  }
219
219
  function me(e) {
220
220
  return e && e.length ? e[0] : de;
@@ -227,9 +227,9 @@ const Ze = {
227
227
  function et(e, n) {
228
228
  var ie, K, ae;
229
229
  const {
230
- getPrefixCls: s,
230
+ getPrefixCls: o,
231
231
  size: a,
232
- locale: f,
232
+ locale: p,
233
233
  componentConfig: u,
234
234
  rtl: C
235
235
  } = O(A), r = Fe(
@@ -237,69 +237,69 @@ function et(e, n) {
237
237
  Ze,
238
238
  u == null ? void 0 : u.Pagination
239
239
  ), {
240
- total: y,
241
- pageSize: $,
240
+ total: $,
241
+ pageSize: y,
242
242
  current: P,
243
243
  showMore: m,
244
244
  sizeOptions: g,
245
- pageSizeChangeResetCurrent: k,
246
- defaultCurrent: v,
247
- defaultPageSize: M,
245
+ pageSizeChangeResetCurrent: R,
246
+ defaultCurrent: S,
247
+ defaultPageSize: j,
248
248
  pageOption: h = {}
249
249
  // 潘启宝添加
250
- } = r, [t, o] = le(Xe, {
251
- defaultValue: v,
250
+ } = r, [t, s] = le(Xe, {
251
+ defaultValue: S,
252
252
  value: P
253
- }), [l, S] = le(
253
+ }), [l, v] = le(
254
254
  me(g),
255
255
  {
256
- defaultValue: M,
257
- value: $
256
+ defaultValue: j,
257
+ value: y
258
258
  }
259
- ), d = y, b = !!m;
259
+ ), d = $, z = !!m;
260
260
  P && !r.onChange && console.warn(
261
261
  "Warning: you have provide current prop for pagination but without onChange handler , this will cause no-change when you change page. "
262
262
  );
263
- function L(c, z) {
264
- const p = ee(c, z);
265
- return t > p ? p : t;
263
+ function L(c, N) {
264
+ const f = ee(c, N);
265
+ return t > f ? f : t;
266
266
  }
267
267
  te(() => {
268
268
  if (g && !g.includes(l)) {
269
- const z = me(g);
270
- "pageSize" in r || S(z);
269
+ const N = me(g);
270
+ "pageSize" in r || v(N);
271
271
  }
272
272
  }, [g]), te(() => {
273
273
  const c = L(l, d);
274
- c !== t && !("current" in r) && o(c);
274
+ c !== t && !("current" in r) && s(c);
275
275
  }, [d, t, l]);
276
- const re = (c = t, z = l) => {
277
- const { onChange: p } = r;
278
- p == null || p(c, z);
276
+ const re = (c = t, N = l) => {
277
+ const { onChange: f } = r;
278
+ f == null || f(c, N);
279
279
  }, Pe = (c) => {
280
- const { onPageSizeChange: z } = r, p = ee(c, d), N = {
280
+ const { onPageSizeChange: N } = r, f = ee(c, d), b = {
281
281
  pageSize: c
282
282
  };
283
- k ? N.current = 1 : N.current = t > p ? p : t, "pageSize" in r || S(N.pageSize), !("current" in r) && t !== N.current && o(N.current), z == null || z(c, N.current), re(k ? 1 : N.current, c);
283
+ R ? b.current = 1 : b.current = t > f ? f : t, "pageSize" in r || v(b.pageSize), !("current" in r) && t !== b.current && s(b.current), N == null || N(c, b.current), re(R ? 1 : b.current, c);
284
284
  }, H = (c) => {
285
- "current" in r || o(c), re(c);
285
+ "current" in r || s(c), re(c);
286
286
  }, {
287
287
  className: he,
288
288
  style: xe,
289
289
  pageItemStyle: Ce,
290
- activePageItemStyle: ve,
290
+ activePageItemStyle: Se,
291
291
  showTotal: T,
292
- sizeCanChange: Se,
293
- sizeOptions: be,
292
+ sizeCanChange: ve,
293
+ sizeOptions: ze,
294
294
  simple: U,
295
- mini: ze,
295
+ mini: Ne,
296
296
  showJumper: Q,
297
- selectProps: Ne,
298
- icons: ye,
297
+ selectProps: be,
298
+ icons: $e,
299
299
  disabled: F,
300
- itemRender: $e,
300
+ itemRender: ye,
301
301
  hideOnSinglePage: we
302
- } = r, Ie = r.size || a, x = s("pagination"), B = ze ? "mini" : Ie, Me = q(
302
+ } = r, Ie = r.size || a, x = o("pagination"), B = Ne ? "mini" : Ie, je = q(
303
303
  x,
304
304
  `${x}-size-${B}`,
305
305
  {
@@ -310,25 +310,25 @@ function et(e, n) {
310
310
  he
311
311
  );
312
312
  let X;
313
- const w = [], I = ee(l, d), E = Ye(r.bufferSize, I);
313
+ const w = [], I = ee(l, d), k = Ye(r.bufferSize, I);
314
314
  if (we && I <= 1)
315
315
  return null;
316
- const j = {
316
+ const M = {
317
317
  onClick: H,
318
318
  rootPrefixCls: x,
319
319
  simple: U,
320
320
  current: t,
321
321
  allPages: I,
322
- icons: ye,
322
+ icons: $e,
323
323
  disabled: F,
324
324
  pageItemStyle: Ce,
325
- activePageItemStyle: ve,
326
- itemRender: $e
325
+ activePageItemStyle: Se,
326
+ itemRender: ye
327
327
  };
328
328
  if (U) {
329
329
  const c = `${x}-item-simple`;
330
330
  X = /* @__PURE__ */ _("ul", { className: `${x}-list`, children: [
331
- /* @__PURE__ */ i(D, { ...j, type: R.previous }, "previous"),
331
+ /* @__PURE__ */ i(D, { ...M, type: E.previous }, "previous"),
332
332
  /* @__PURE__ */ i("li", { className: `${c}-pager`, children: /* @__PURE__ */ i(
333
333
  ue,
334
334
  {
@@ -343,68 +343,68 @@ function et(e, n) {
343
343
  size: B
344
344
  }
345
345
  ) }),
346
- /* @__PURE__ */ i(D, { ...j, type: R.next }, "next")
346
+ /* @__PURE__ */ i(D, { ...M, type: E.next }, "next")
347
347
  ] });
348
348
  } else {
349
- const c = 3 + E, z = I - 2 - E;
349
+ const c = 3 + k, N = I - 2 - k;
350
350
  if (
351
351
  // beginPage(1 page) + bufferSize * 2 + endPage(1 page) + ...(2 pages)
352
- I <= 4 + E * 2 || t === c && t === z
352
+ I <= 4 + k * 2 || t === c && t === N
353
353
  )
354
- for (let p = 1; p <= I; p++)
355
- w.push(/* @__PURE__ */ J(G, { ...j, key: p, pageNum: p }));
354
+ for (let f = 1; f <= I; f++)
355
+ w.push(/* @__PURE__ */ J(G, { ...M, key: f, pageNum: f }));
356
356
  else {
357
- let p = 1, N = I, oe = !0, se = !0;
358
- t > c && t < z ? (N = t + E, p = t - E) : t <= c ? (oe = !1, p = 1, N = Math.max(c, E + t)) : t >= z && (se = !1, N = I, p = Math.min(z, t - E));
359
- for (let V = p; V <= N; V++)
360
- w.push(/* @__PURE__ */ i(G, { pageNum: V, ...j }, V));
361
- const je = /* @__PURE__ */ J(
357
+ let f = 1, b = I, se = !0, oe = !0;
358
+ t > c && t < N ? (b = t + k, f = t - k) : t <= c ? (se = !1, f = 1, b = Math.max(c, k + t)) : t >= N && (oe = !1, b = I, f = Math.min(N, t - k));
359
+ for (let V = f; V <= b; V++)
360
+ w.push(/* @__PURE__ */ i(G, { pageNum: V, ...M }, V));
361
+ const Me = /* @__PURE__ */ J(
362
362
  Z,
363
363
  {
364
- ...j,
365
- key: p - 1,
366
- type: R.previous,
367
- jumpPage: -(E * 2 + 1)
364
+ ...M,
365
+ key: f - 1,
366
+ type: E.previous,
367
+ jumpPage: -(k * 2 + 1)
368
368
  }
369
- ), ke = /* @__PURE__ */ J(
369
+ ), Re = /* @__PURE__ */ J(
370
370
  Z,
371
371
  {
372
- ...j,
373
- key: N + 1,
374
- type: R.next,
375
- jumpPage: E * 2 + 1
372
+ ...M,
373
+ key: b + 1,
374
+ type: E.next,
375
+ jumpPage: k * 2 + 1
376
376
  }
377
- ), Ee = /* @__PURE__ */ i(G, { pageNum: 1, ...j }, 1), Re = /* @__PURE__ */ J(G, { ...j, key: I, pageNum: I });
378
- oe && (w[0] = W.cloneElement(w[0], {
377
+ ), ke = /* @__PURE__ */ i(G, { pageNum: 1, ...M }, 1), Ee = /* @__PURE__ */ J(G, { ...M, key: I, pageNum: I });
378
+ se && (w[0] = W.cloneElement(w[0], {
379
379
  className: `${x}-item-after-pre`
380
- }), w.unshift(je), w.unshift(Ee)), se && (w[w.length - 1] = W.cloneElement(
380
+ }), w.unshift(Me), w.unshift(ke)), oe && (w[w.length - 1] = W.cloneElement(
381
381
  w[w.length - 1],
382
382
  {
383
383
  className: `${x}-item-before-next`
384
384
  }
385
- ), w.push(ke), w.push(Re));
385
+ ), w.push(Re), w.push(Ee));
386
386
  }
387
387
  X = /* @__PURE__ */ _("ul", { className: `${x}-list`, children: [
388
- /* @__PURE__ */ J(D, { ...j, key: "previous", type: R.previous }),
388
+ /* @__PURE__ */ J(D, { ...M, key: "previous", type: E.previous }),
389
389
  w,
390
- b && /* @__PURE__ */ J(
390
+ z && /* @__PURE__ */ J(
391
391
  Z,
392
392
  {
393
- ...j,
393
+ ...M,
394
394
  key: I + 1,
395
- type: R.next,
396
- jumpPage: E * 2 + 1
395
+ type: E.next,
396
+ jumpPage: k * 2 + 1
397
397
  }
398
398
  ),
399
- /* @__PURE__ */ i(D, { ...j, type: R.next }, "next")
399
+ /* @__PURE__ */ i(D, { ...M, type: E.next }, "next")
400
400
  ] });
401
401
  }
402
402
  let Y = null;
403
- return typeof T == "boolean" && T && (Y = /* @__PURE__ */ i("div", { className: `${x}-total-text`, children: (ae = (K = (ie = f == null ? void 0 : f.Pagination) == null ? void 0 : ie.total) == null ? void 0 : K.replace) == null ? void 0 : ae.call(K, "{0}", d) })), typeof T == "function" && (Y = /* @__PURE__ */ i("div", { className: `${x}-total-text`, children: T(d, [(t - 1) * l + 1, t * l]) })), /* @__PURE__ */ _(
403
+ return typeof T == "boolean" && T && (Y = /* @__PURE__ */ i("div", { className: `${x}-total-text`, children: (ae = (K = (ie = p == null ? void 0 : p.Pagination) == null ? void 0 : ie.total) == null ? void 0 : K.replace) == null ? void 0 : ae.call(K, "{0}", d) })), typeof T == "function" && (Y = /* @__PURE__ */ i("div", { className: `${x}-total-text`, children: T(d, [(t - 1) * l + 1, t * l]) })), /* @__PURE__ */ _(
404
404
  "div",
405
405
  {
406
406
  ..._e(r),
407
- className: Me,
407
+ className: je,
408
408
  style: xe,
409
409
  ref: n,
410
410
  children: [
@@ -415,12 +415,12 @@ function et(e, n) {
415
415
  {
416
416
  disabled: F,
417
417
  rootPrefixCls: x,
418
- sizeCanChange: Se,
419
- sizeOptions: be,
418
+ sizeCanChange: ve,
419
+ sizeOptions: ze,
420
420
  onPageSizeChange: Pe,
421
421
  pageSize: l,
422
422
  size: B,
423
- selectProps: Ne
423
+ selectProps: be
424
424
  }
425
425
  ),
426
426
  !U && Q && /* @__PURE__ */ i(
package/hooks/index.js CHANGED
@@ -1,54 +1,58 @@
1
- import { useVerificationCode as o } from "./use-verification-code.js";
2
- import { useWatermark as s } from "./use-watermark.js";
3
- import { useComputedState as p } from "./useComputedState.js";
4
- import { useCreate as u } from "./useCreate.js";
5
- import { useForceUpdate as a } from "./useForceUpdate.js";
6
- import { useId as d } from "./useId.js";
7
- import { useIntersectionObserver as n } from "./useIntersectionObserver.js";
8
- import { useInterval as v } from "./useInterval.js";
9
- import { useInView as b } from "./useInView.js";
10
- import { useIsFirstRender as O } from "./useIsFirstRender.js";
11
- import { useIsomorphicLayoutEffect as R } from "./useIsomorphicLayoutEffect.js";
12
- import { useKeyboardEvent as W } from "./useKeyboardEvent.js";
13
- import { useMedia as k } from "./useMedia.js";
14
- import { useMergeProps as E } from "./useMergeProps.js";
15
- import { useMergeValue as V } from "./useMergeValue.js";
16
- import { useOverflowHidden as y } from "./useOverflowHidden.js";
17
- import { useOverrideRef as F } from "./useOverrideRef.js";
18
- import { usePersistCallback as H } from "./usePersistCallback.js";
19
- import { usePrevious as L } from "./usePrevious.js";
20
- import { useRefs as q } from "./useRefs.js";
21
- import { useResizeObserver as B } from "./useResizeObserver.js";
22
- import { useStateCallback as G } from "./useStateCallback.js";
23
- import { useStateWithPromise as N } from "./useStateWithPromise.js";
24
- import { useUpdateEffect as T } from "./useUpdateEffect.js";
25
- import { useWatch as Y } from "./useWatch.js";
26
- import { useWindowSize as _ } from "./useWindowSize.js";
1
+ import { useVerificationCode as o } from "./useVerificationCode.js";
2
+ import { useWatermark as t } from "./useWatermark.js";
3
+ import { r as f } from "../chunk/CwoFBTYz.js";
4
+ import { f as m } from "../chunk/qFf1w_Jq.js";
5
+ import { c as x } from "../chunk/BP9sYyk9.js";
6
+ import { a as c } from "../chunk/DRtM649q.js";
7
+ import { O as n } from "../chunk/HrAP__Hi.js";
8
+ import { o as v } from "../chunk/Br0B6y1T.js";
9
+ import { E as I } from "../chunk/C_agcwLN.js";
10
+ import { u as R } from "../chunk/CLiqJm_T.js";
11
+ import { s as b } from "../chunk/DcveZuqd.js";
12
+ import { h as P } from "../chunk/D2KPqPhV.js";
13
+ import { u as E } from "../chunk/CpegYjdC.js";
14
+ import { c as w } from "../chunk/B5gK1Idp.js";
15
+ import { R as M } from "../chunk/HDUQku8d.js";
16
+ import { r as g } from "../chunk/CucI3KZr.js";
17
+ import { y as F } from "../chunk/BfbXSG70.js";
18
+ import { R as D } from "../chunk/CPT-OZH2.js";
19
+ import { a as K } from "../chunk/fdU3ang6.js";
20
+ import { m as j } from "../chunk/B7FlazNB.js";
21
+ import { n as A } from "../chunk/DU6bs_19.js";
22
+ import { c as G } from "../chunk/DWdbwz22.js";
23
+ import { o as N } from "../chunk/WPNpLxSI.js";
24
+ import { i as T } from "../chunk/DgRfikwe.js";
25
+ import { i as Y } from "../chunk/DJfpiZn_.js";
26
+ import { c as _ } from "../chunk/BbEYToV1.js";
27
+ import { c as ee } from "../chunk/BVQlOzTS.js";
28
+ import { l as oe } from "../chunk/DKr2_PYd.js";
27
29
  export {
28
- p as useComputedState,
29
- u as useCreate,
30
- a as useForceUpdate,
31
- d as useId,
32
- b as useInView,
30
+ f as useComputedState,
31
+ m as useCreate,
32
+ x as useForceUpdate,
33
+ c as useId,
34
+ I as useInView,
33
35
  n as useIntersectionObserver,
34
36
  v as useInterval,
35
- O as useIsFirstRender,
36
- R as useIsomorphicLayoutEffect,
37
- W as useKeyboardEvent,
38
- k as useMedia,
39
- E as useMergeProps,
40
- V as useMergeValue,
41
- y as useOverflowHidden,
42
- F as useOverrideRef,
43
- H as usePersistCallback,
44
- L as usePrevious,
45
- q as useRefs,
46
- B as useResizeObserver,
47
- G as useStateCallback,
48
- N as useStateWithPromise,
49
- T as useUpdateEffect,
37
+ R as useIsFirstRender,
38
+ b as useIsomorphicLayoutEffect,
39
+ P as useKeyboardEvent,
40
+ E as useMedia,
41
+ w as useMergeProps,
42
+ M as useMergeValue,
43
+ g as useOnlineStatus,
44
+ F as useOverflowHidden,
45
+ D as useOverrideRef,
46
+ K as usePersistCallback,
47
+ j as usePrefersColorSchemeDark,
48
+ A as usePrevious,
49
+ G as useRefs,
50
+ N as useResizeObserver,
51
+ T as useStateCallback,
52
+ Y as useStateWithPromise,
53
+ _ as useUpdateEffect,
50
54
  o as useVerificationCode,
51
- Y as useWatch,
52
- s as useWatermark,
53
- _ as useWindowSize
55
+ ee as useWatch,
56
+ t as useWatermark,
57
+ oe as useWindowSize
54
58
  };