@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.
- package/Affix.js +79 -79
- package/Alert.js +46 -46
- package/Anchor.js +1 -1
- package/AutoComplete.js +74 -74
- package/Avatar.js +36 -36
- package/BackTop.js +35 -35
- package/Badge.js +55 -55
- package/Breadcrumb.js +42 -42
- package/Button.js +24 -24
- package/Calendar.js +230 -230
- package/Card.js +18 -18
- package/Carousel.js +165 -165
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +26 -26
- package/Comment.js +18 -18
- package/ConfigProvider.js +2 -2
- package/Copy.js +28 -27
- package/DatePicker.js +872 -871
- package/Descriptions.js +34 -34
- package/Divider.js +19 -19
- package/Draggable.js +27 -26
- package/Drawer.js +1 -1
- package/Dropdown.js +110 -110
- package/Empty.js +3 -3
- package/Form.js +984 -945
- package/Grid.js +34 -34
- package/Icon.js +16 -16
- package/IconHover.js +2 -2
- package/Image.js +2 -2
- package/Input.js +7 -6
- package/InputNumber.js +6 -6
- package/InputTag.js +1 -1
- package/Layout.js +24 -24
- package/Link.js +30 -30
- package/List.js +95 -95
- package/Mentions.js +85 -84
- package/Menu.js +2 -2
- package/Message.js +7 -6
- package/Modal.js +1 -1
- package/Notice.js +14 -3
- package/Notification.js +9 -7
- package/OverflowEllipsis.js +64 -62
- package/PageHeader.js +73 -73
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +60 -60
- package/Popover.js +31 -31
- package/Portal.js +23 -31
- package/Progress.js +22 -22
- package/Radio.js +2 -2
- package/Rate.js +24 -24
- package/ResizeBox.js +274 -271
- package/Result.js +3 -3
- package/Select.js +4 -4
- package/SelectView.js +257 -238
- package/Skeleton.js +46 -46
- package/Slider.js +286 -283
- package/Space.js +28 -28
- package/SpeechSynthesis.js +62 -55
- package/Spin.js +23 -23
- package/Statistic.js +80 -80
- package/Steps.js +67 -67
- package/Switch.js +47 -47
- package/Table.js +1445 -1380
- package/Tabs.js +5 -5
- package/Tag.js +45 -45
- package/TimePicker.js +154 -154
- package/Timeline.js +2 -2
- package/Tooltip.js +80 -79
- package/Transfer.js +103 -102
- package/Tree.js +3 -2
- package/TreeSelect.js +2 -2
- package/Trigger.js +699 -772
- package/Typography.js +756 -6
- package/Upload.js +2 -2
- package/VerificationCode.js +1 -1
- package/Version.js +1 -1
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{BHgJ5Y3T.js → -UuKKT0Z.js} +29 -29
- package/chunk/{B8QV6E2b.js → AwZqeapI.js} +5 -5
- package/chunk/B5gK1Idp.js +19 -0
- package/chunk/B7FlazNB.js +24 -0
- package/chunk/{DTBtQQ2H.js → BBvWDeuZ.js} +67 -67
- package/chunk/BCftTxEy.js +626 -0
- package/chunk/{CZOP_ZHJ.js → BGny4zSb.js} +60 -60
- package/chunk/BHF15Dog.js +98 -0
- package/chunk/BJQ5UNa-.js +1585 -0
- package/chunk/BP9sYyk9.js +8 -0
- package/chunk/BUdtVdnv.js +38 -0
- package/chunk/BVQlOzTS.js +11 -0
- package/chunk/B__a_gb_.js +519 -0
- package/chunk/BbEYToV1.js +10 -0
- package/chunk/BbdDQAnm.js +15 -0
- package/chunk/BdUcgWdu.js +11 -0
- package/chunk/BfbXSG70.js +26 -0
- package/chunk/BndfNLK4.js +186 -0
- package/chunk/BoMCZV6K.js +1098 -0
- package/chunk/Br0B6y1T.js +18 -0
- package/chunk/BrOW642m.js +130 -0
- package/chunk/BxUs8_Cr.js +9 -0
- package/chunk/{CcV4wQB1.js → C42LIMP9.js} +244 -242
- package/chunk/C4YkFMzC.js +778 -0
- package/chunk/{Bh23P4l7.js → C9Wcraj7.js} +21 -21
- package/chunk/{4-gvEY5y.js → CANgSlh3.js} +10 -10
- package/chunk/CJ_o9tZM.js +5 -0
- package/chunk/{DNAigumg.js → CK5m7rLl.js} +36 -36
- package/chunk/{CANaGbGR.js → CKNyIitu.js} +57 -56
- package/chunk/CLiqJm_T.js +10 -0
- package/chunk/{BnSVm1YC.js → CNmmhbCn.js} +32 -32
- package/chunk/{BFipyA67.js → CP0odX99.js} +51 -51
- package/chunk/CPT-OZH2.js +14 -0
- package/chunk/CVSF8p0O.js +698 -0
- package/chunk/C_agcwLN.js +31 -0
- package/chunk/{jhQQCFMn.js → C_gJWGGh.js} +201 -201
- package/chunk/{Bc7t9jkb.js → CaasmWg_.js} +11 -11
- package/chunk/Ce1j9KTi.js +6 -0
- package/chunk/{D_-UD4vO.js → Cf5QNhkG.js} +18 -18
- package/chunk/CkNSv2U7.js +56 -0
- package/chunk/Cp2f70gB.js +9 -0
- package/chunk/CpegYjdC.js +16 -0
- package/chunk/CucI3KZr.js +20 -0
- package/chunk/CwoFBTYz.js +11 -0
- package/chunk/D2KPqPhV.js +17 -0
- package/chunk/D7NyvE5f.js +17 -0
- package/chunk/D8oTPQ2H.js +384 -0
- package/chunk/{CLBavO5c.js → DC1iHEiy.js} +87 -87
- package/chunk/{DnvO8A0Z.js → DFrfrmfK.js} +120 -119
- package/chunk/DGTIZ_0O.js +6 -0
- package/chunk/DJfpiZn_.js +25 -0
- package/chunk/DKr2_PYd.js +34 -0
- package/chunk/DNUz6zgo.js +11 -0
- package/chunk/DRtM649q.js +11 -0
- package/chunk/DS_mUWn6.js +41 -0
- package/chunk/DU6bs_19.js +10 -0
- package/chunk/DWdbwz22.js +10 -0
- package/chunk/DcveZuqd.js +6 -0
- package/chunk/DdVFknul.js +24 -0
- package/chunk/DgRfikwe.js +16 -0
- package/chunk/{znkyQ-HR.js → DkyR2EfG.js} +66 -66
- package/chunk/{DUeHQKtx.js → DleQ5HwG.js} +42 -42
- package/chunk/DnrZEnQ_.js +27 -0
- package/chunk/DsRSHWtX.js +1025 -0
- package/chunk/Dz5BdmXo.js +270 -0
- package/chunk/EANe01DF.js +1030 -0
- package/chunk/{CwhPMMWy.js → Ey4YJCkX.js} +7 -7
- package/chunk/GoNx5R4F.js +873 -0
- package/chunk/HDUQku8d.js +20 -0
- package/chunk/HrAP__Hi.js +25 -0
- package/chunk/JPPo5nY_.js +9 -0
- package/chunk/{Du-bw6qA.js → SLWP34OR.js} +90 -85
- package/chunk/VVKtwaGf.js +278 -0
- package/chunk/WPNpLxSI.js +16 -0
- package/chunk/{CPvvjMwZ.js → WpO_DsK4.js} +49 -48
- package/chunk/fdU3ang6.js +14 -0
- package/chunk/{DQAot004.js → fkclKOAL.js} +298 -292
- package/chunk/flvYlqx3.js +22 -0
- package/chunk/kTDayEpF.js +288 -0
- package/chunk/{CssIjN1g.js → pZoNQ75H.js} +31 -31
- package/chunk/qFf1w_Jq.js +8 -0
- package/chunk/{CHnFKgbk.js → w-kM1L5W.js} +155 -155
- package/hooks/index.js +53 -49
- package/hooks/useComputedState.js +2 -10
- package/hooks/useCreate.js +2 -7
- package/hooks/useForceUpdate.js +2 -7
- package/hooks/useId.js +2 -10
- package/hooks/useInView.js +2 -30
- package/hooks/useIntersectionObserver.js +2 -23
- package/hooks/useInterval.js +2 -17
- package/hooks/useIsFirstRender.js +2 -9
- package/hooks/useIsomorphicLayoutEffect.js +2 -5
- package/hooks/useKeyboardEvent.js +2 -16
- package/hooks/useMedia.js +2 -15
- package/hooks/useMergeProps.js +2 -18
- package/hooks/useMergeValue.js +2 -19
- package/hooks/useOnlineStatus.js +4 -0
- package/hooks/useOverflowHidden.js +2 -25
- package/hooks/useOverrideRef.js +2 -13
- package/hooks/usePersistCallback.js +2 -13
- package/hooks/usePrefersColorSchemeDark.js +4 -0
- package/hooks/usePrevious.js +2 -9
- package/hooks/useRefs.js +2 -9
- package/hooks/useResizeObserver.js +2 -15
- package/hooks/useStateCallback.js +2 -15
- package/hooks/useStateWithPromise.js +2 -24
- package/hooks/useUpdateEffect.js +2 -9
- package/hooks/useVerificationCode.js +73 -0
- package/hooks/useWatch.js +2 -10
- package/hooks/{use-watermark.js → useWatermark.js} +27 -26
- package/hooks/useWindowSize.js +2 -20
- package/index.js +571 -584
- package/locale/en-US.js +4 -2
- package/locale/interface.js +1 -4
- package/locale/ja-JP.js +3 -1
- package/locale/tr-TR.js +1 -1
- package/locale/zh-CN.js +3 -1
- package/locale/zh-HK.js +3 -1
- package/locale/zh-TW.js +3 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/anchor/util.d.ts +1 -1
- package/types/button/index.d.ts +2 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +2 -2
- package/types/form/Control-old.d.ts +56 -0
- package/types/form/Control.d.ts +6 -54
- package/types/form/FormItem.d.ts +1 -1
- package/types/form/store.d.ts +0 -1
- package/types/hooks/index.d.ts +2 -0
- package/types/hooks/useComputedState.d.ts +1 -4
- package/types/hooks/useCreate.d.ts +1 -2
- package/types/hooks/useForceUpdate.d.ts +1 -2
- package/types/hooks/useId.d.ts +1 -2
- package/types/hooks/useInView.d.ts +1 -11
- package/types/hooks/useIntersectionObserver.d.ts +1 -7
- package/types/hooks/useInterval.d.ts +1 -2
- package/types/hooks/useIsFirstRender.d.ts +1 -2
- package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
- package/types/hooks/useKeyboardEvent.d.ts +1 -8
- package/types/hooks/useMedia.d.ts +1 -2
- package/types/hooks/useMergeProps.d.ts +1 -5
- package/types/hooks/useMergeValue.d.ts +1 -6
- package/types/hooks/useOnlineStatus.d.ts +1 -0
- package/types/hooks/useOverflowHidden.d.ts +1 -5
- package/types/hooks/useOverrideRef.d.ts +1 -6
- package/types/hooks/usePersistCallback.d.ts +1 -2
- package/types/hooks/usePrefersColorSchemeDark.d.ts +1 -0
- package/types/hooks/usePrevious.d.ts +1 -3
- package/types/hooks/useRefs.d.ts +1 -2
- package/types/hooks/useResizeObserver.d.ts +1 -6
- package/types/hooks/useStateCallback.d.ts +1 -5
- package/types/hooks/useStateWithPromise.d.ts +1 -2
- package/types/hooks/useUpdateEffect.d.ts +1 -3
- package/types/hooks/useWatch.d.ts +1 -3
- package/types/hooks/useWindowSize.d.ts +1 -5
- package/types/image/interface.d.ts +1 -0
- package/types/index.d.ts +157 -86
- package/types/input/Input.d.ts +1 -1
- package/types/input/Textarea.d.ts +2 -2
- package/types/locale/en-US.d.ts +2 -0
- package/types/locale/interface.d.ts +1 -2
- package/types/locale/ja-JP.d.ts +2 -0
- package/types/locale/zh-CN.d.ts +2 -0
- package/types/locale/zh-HK.d.ts +2 -0
- package/types/locale/zh-TW.d.ts +2 -0
- package/types/menu/context.d.ts +1 -1
- package/types/message/index.d.ts +14 -14
- package/types/message/interface.d.ts +2 -0
- package/types/modal/config.d.ts +0 -1
- package/types/modal/interface.d.ts +0 -1
- package/types/notice/index.d.ts +2 -27
- package/types/notification/index.d.ts +15 -16
- package/types/notification/interface.d.ts +2 -0
- package/types/notification/withNotification.d.ts +2 -0
- package/types/select/util.d.ts +1 -2
- package/types/select-view/interface.d.ts +2 -1
- package/types/speech-synthesis/index.d.ts +1 -1
- package/types/table/constant.d.ts +2 -0
- package/types/table/hook/useThResizable.d.ts +7 -0
- package/types/table/index.d.ts +10 -1
- package/types/table/style/index.d.ts +1 -0
- package/types/table/th-resizable/index.d.ts +2 -0
- package/types/table/thead/Column.d.ts +1 -2
- package/types/tree/Tree.d.ts +12 -67
- package/types/tree-select/Select.d.ts +2 -2
- package/types/trigger/index.d.ts +2 -120
- package/types/trigger/interface.d.ts +2 -1
- package/types/utils/CSSTransition.d.ts +2 -3
- package/types/utils/caseName.d.ts +1 -1
- package/types/utils/className.d.ts +1 -1
- package/types/utils/constant.d.ts +2 -2
- package/types/utils/copy.d.ts +1 -1
- package/types/utils/dayjs.d.ts +1 -21
- package/types/utils/dom.d.ts +1 -6
- package/types/utils/fileToURL.d.ts +1 -1
- package/types/utils/fillNBSP.d.ts +1 -1
- package/types/utils/getHighlightText.d.ts +1 -5
- package/types/utils/getHotkeyHandler.d.ts +1 -8
- package/types/utils/getStringLength.d.ts +1 -1
- package/types/utils/include.d.ts +1 -1
- package/types/utils/index.d.ts +3 -4
- package/types/utils/is.d.ts +1 -16
- package/types/utils/keyboardCode.d.ts +3 -0
- package/types/utils/lodash.d.ts +1 -17
- package/types/utils/mergeProps.d.ts +1 -1
- package/types/utils/mergedToString.d.ts +1 -1
- package/types/utils/omit.d.ts +1 -1
- package/types/utils/pad.d.ts +1 -2
- package/types/utils/pick.d.ts +2 -4
- package/types/utils/reactDOM.d.ts +1 -7
- package/types/utils/resizeObserverEffect.d.ts +2 -0
- package/types/utils/saveAs.d.ts +1 -1
- package/types/utils/screenfull.d.ts +2 -0
- package/types/utils/scrollIntoView.d.ts +1 -2
- package/types/utils/style.d.ts +1 -3
- package/types/utils/throttleByRaf.d.ts +1 -5
- package/types/utils/throttleByRaf2.d.ts +1 -0
- package/types/utils/warning.d.ts +1 -2
- package/types/version/index.d.ts +1 -1
- package/utils/CSSTransition.js +2 -6
- package/utils/className.js +2 -2
- package/utils/constant.js +8 -9
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/dayjs.js +14 -173
- package/utils/dom.js +33 -29
- package/utils/fillNBSP.js +2 -4
- package/utils/getHighlightText.js +2 -38
- package/utils/getHotkeyHandler.js +2 -25
- package/utils/getStringLength.js +2 -7
- package/utils/include.js +2 -7
- package/utils/index.js +237 -240
- package/utils/is.js +116 -156
- package/utils/keyboardCode.js +27 -0
- package/utils/mergeProps.js +2 -9
- package/utils/mergedToString.js +2 -13
- package/utils/omit.js +2 -9
- package/utils/pad.js +12 -12
- package/utils/pick.js +4 -15
- package/utils/reactDOM.js +3 -54
- package/utils/resizeObserverEffect.js +4 -0
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +4 -0
- package/utils/scrollIntoView.js +2 -21
- package/utils/style.js +12 -11
- package/utils/throttleByRaf.js +13 -12
- package/utils/throttleByRaf2.js +5 -0
- package/utils/warning.js +5 -4
- package/NotificationBase.js +0 -53
- package/chunk/-zpSUpGE.js +0 -1501
- package/chunk/BAWsPQBM.js +0 -11
- package/chunk/BIT0j3HT.js +0 -269
- package/chunk/BbLKnaNO.js +0 -871
- package/chunk/Bfhv56O2.js +0 -638
- package/chunk/C2lIz2F9.js +0 -60
- package/chunk/C6QWSzsM.js +0 -376
- package/chunk/CVkHTbic.js +0 -995
- package/chunk/CeGEvXby.js +0 -278
- package/chunk/D3NFxdmG.js +0 -518
- package/chunk/DApXtulb.js +0 -1102
- package/chunk/DPByB1ab.js +0 -698
- package/chunk/DV1Ab_cG.js +0 -284
- package/chunk/dBnNCOIU.js +0 -778
- package/chunk/it8qlDZ3.js +0 -1032
- package/chunk/l0sNRNKZ.js +0 -1
- package/chunk/te_43YrB.js +0 -776
- package/hooks/use-verification-code.js +0 -73
- package/types/notification-base/index.d.ts +0 -15
- package/types/notification-base/style/index.d.ts +0 -2
- package/types/trigger/Portal.d.ts +0 -7
- package/types/utils/keyCode.d.ts +0 -45
- package/types/utils/raf.d.ts +0 -3
- package/types/utils/throttleByRafV2.d.ts +0 -5
- package/utils/keyCode.js +0 -12
- package/utils/raf.js +0 -19
- 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 {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
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 {
|
|
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 "./
|
|
16
|
-
import { S as
|
|
17
|
-
var
|
|
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
|
|
20
|
-
const { locale: n } = O(A),
|
|
19
|
+
var j, h, t;
|
|
20
|
+
const { locale: n } = O(A), o = fe(), {
|
|
21
21
|
pageNum: a,
|
|
22
|
-
current:
|
|
22
|
+
current: p,
|
|
23
23
|
rootPrefixCls: u,
|
|
24
24
|
pageItemStyle: C,
|
|
25
25
|
activePageItemStyle: r,
|
|
26
|
-
itemRender:
|
|
27
|
-
} = e,
|
|
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
|
|
31
|
-
const { pageNum: l, onClick:
|
|
32
|
-
|
|
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:
|
|
39
|
+
onClick: S,
|
|
40
40
|
tabIndex: e.disabled ? -1 : 0,
|
|
41
|
-
"aria-label": (t = (h = (
|
|
42
|
-
...
|
|
43
|
-
...
|
|
44
|
-
children:
|
|
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,
|
|
61
|
+
var t, s, l, v, d, z;
|
|
62
62
|
const { locale: n } = O(A), {
|
|
63
|
-
rootPrefixCls:
|
|
63
|
+
rootPrefixCls: o,
|
|
64
64
|
current: a,
|
|
65
|
-
allPages:
|
|
65
|
+
allPages: p,
|
|
66
66
|
jumpPage: u,
|
|
67
67
|
icons: C,
|
|
68
68
|
disabled: r,
|
|
69
|
-
pageItemStyle:
|
|
70
|
-
itemRender:
|
|
71
|
-
} = e, P =
|
|
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
|
-
},
|
|
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:
|
|
79
|
-
className:
|
|
80
|
-
onClick:
|
|
78
|
+
style: $,
|
|
79
|
+
className: R,
|
|
80
|
+
onClick: S,
|
|
81
81
|
"aria-label": h,
|
|
82
|
-
children:
|
|
82
|
+
children: y ? y(void 0, "more", j) : j
|
|
83
83
|
}
|
|
84
84
|
);
|
|
85
85
|
}, D = (e) => {
|
|
86
|
-
const { locale: n, rtl:
|
|
87
|
-
rootPrefixCls:
|
|
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:
|
|
92
|
-
disabled:
|
|
91
|
+
icons: $,
|
|
92
|
+
disabled: y,
|
|
93
93
|
pageItemStyle: P,
|
|
94
94
|
itemRender: m
|
|
95
|
-
} = e, g = `${
|
|
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 =
|
|
99
|
-
let
|
|
100
|
-
|
|
101
|
-
const l = r === 0 ? "prev" : "next",
|
|
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
|
|
105
|
-
t || (
|
|
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:
|
|
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,
|
|
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:
|
|
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 &&
|
|
126
|
+
e.simple && p(e.current);
|
|
127
127
|
}, [e.simple, e.current]);
|
|
128
|
-
const C = (
|
|
129
|
-
const l = parseInt(
|
|
130
|
-
|
|
128
|
+
const C = (s) => {
|
|
129
|
+
const l = parseInt(s, 10);
|
|
130
|
+
p(isNaN(l) ? void 0 : l);
|
|
131
131
|
}, r = () => {
|
|
132
|
-
const { onPageChange:
|
|
132
|
+
const { onPageChange: s, totalPages: l, current: v, simple: d } = e;
|
|
133
133
|
if (ce(a))
|
|
134
134
|
return;
|
|
135
|
-
if (a ===
|
|
136
|
-
d ||
|
|
135
|
+
if (a === v) {
|
|
136
|
+
d || p(void 0);
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
|
-
let
|
|
140
|
-
|
|
141
|
-
},
|
|
142
|
-
const
|
|
143
|
-
String(a) &&
|
|
144
|
-
}, { rootPrefixCls:
|
|
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: `${
|
|
149
|
-
!m && /* @__PURE__ */ i("span", { className: `${
|
|
150
|
-
|
|
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: (
|
|
155
|
-
className: `${
|
|
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:
|
|
158
|
+
disabled: R || !P,
|
|
159
159
|
onChange: C,
|
|
160
160
|
onPressEnter: r,
|
|
161
|
-
onFocus:
|
|
161
|
+
onFocus: $,
|
|
162
162
|
onBlur: r
|
|
163
163
|
}
|
|
164
164
|
) : /* @__PURE__ */ i("span", { children: a }),
|
|
165
|
-
!m && /* @__PURE__ */ i("span", { className: `${
|
|
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: `${
|
|
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 =
|
|
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:
|
|
176
|
+
const n = ge(null), { locale: o } = O(A), {
|
|
177
177
|
onPageSizeChange: a = Ge,
|
|
178
|
-
rootPrefixCls:
|
|
178
|
+
rootPrefixCls: p,
|
|
179
179
|
sizeOptions: u = qe,
|
|
180
180
|
pageSize: C = 10,
|
|
181
181
|
size: r,
|
|
182
|
-
selectProps:
|
|
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: `${
|
|
190
|
-
"aria-label": (P =
|
|
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
|
-
|
|
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
|
-
|
|
200
|
+
disabled: y,
|
|
201
|
+
...$,
|
|
202
202
|
children: u.map((m) => {
|
|
203
203
|
var g;
|
|
204
|
-
return /* @__PURE__ */ i(We, { value: m, children: `${m} ${(g =
|
|
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,
|
|
217
|
-
return Math.min(
|
|
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:
|
|
230
|
+
getPrefixCls: o,
|
|
231
231
|
size: a,
|
|
232
|
-
locale:
|
|
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:
|
|
241
|
-
pageSize:
|
|
240
|
+
total: $,
|
|
241
|
+
pageSize: y,
|
|
242
242
|
current: P,
|
|
243
243
|
showMore: m,
|
|
244
244
|
sizeOptions: g,
|
|
245
|
-
pageSizeChangeResetCurrent:
|
|
246
|
-
defaultCurrent:
|
|
247
|
-
defaultPageSize:
|
|
245
|
+
pageSizeChangeResetCurrent: R,
|
|
246
|
+
defaultCurrent: S,
|
|
247
|
+
defaultPageSize: j,
|
|
248
248
|
pageOption: h = {}
|
|
249
249
|
// 潘启宝添加
|
|
250
|
-
} = r, [t,
|
|
251
|
-
defaultValue:
|
|
250
|
+
} = r, [t, s] = le(Xe, {
|
|
251
|
+
defaultValue: S,
|
|
252
252
|
value: P
|
|
253
|
-
}), [l,
|
|
253
|
+
}), [l, v] = le(
|
|
254
254
|
me(g),
|
|
255
255
|
{
|
|
256
|
-
defaultValue:
|
|
257
|
-
value:
|
|
256
|
+
defaultValue: j,
|
|
257
|
+
value: y
|
|
258
258
|
}
|
|
259
|
-
), d =
|
|
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,
|
|
264
|
-
const
|
|
265
|
-
return 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
|
|
270
|
-
"pageSize" in r ||
|
|
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) &&
|
|
274
|
+
c !== t && !("current" in r) && s(c);
|
|
275
275
|
}, [d, t, l]);
|
|
276
|
-
const re = (c = t,
|
|
277
|
-
const { onChange:
|
|
278
|
-
|
|
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:
|
|
280
|
+
const { onPageSizeChange: N } = r, f = ee(c, d), b = {
|
|
281
281
|
pageSize: c
|
|
282
282
|
};
|
|
283
|
-
|
|
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 ||
|
|
285
|
+
"current" in r || s(c), re(c);
|
|
286
286
|
}, {
|
|
287
287
|
className: he,
|
|
288
288
|
style: xe,
|
|
289
289
|
pageItemStyle: Ce,
|
|
290
|
-
activePageItemStyle:
|
|
290
|
+
activePageItemStyle: Se,
|
|
291
291
|
showTotal: T,
|
|
292
|
-
sizeCanChange:
|
|
293
|
-
sizeOptions:
|
|
292
|
+
sizeCanChange: ve,
|
|
293
|
+
sizeOptions: ze,
|
|
294
294
|
simple: U,
|
|
295
|
-
mini:
|
|
295
|
+
mini: Ne,
|
|
296
296
|
showJumper: Q,
|
|
297
|
-
selectProps:
|
|
298
|
-
icons:
|
|
297
|
+
selectProps: be,
|
|
298
|
+
icons: $e,
|
|
299
299
|
disabled: F,
|
|
300
|
-
itemRender:
|
|
300
|
+
itemRender: ye,
|
|
301
301
|
hideOnSinglePage: we
|
|
302
|
-
} = r, Ie = r.size || a, x =
|
|
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),
|
|
313
|
+
const w = [], I = ee(l, d), k = Ye(r.bufferSize, I);
|
|
314
314
|
if (we && I <= 1)
|
|
315
315
|
return null;
|
|
316
|
-
const
|
|
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:
|
|
322
|
+
icons: $e,
|
|
323
323
|
disabled: F,
|
|
324
324
|
pageItemStyle: Ce,
|
|
325
|
-
activePageItemStyle:
|
|
326
|
-
itemRender:
|
|
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, { ...
|
|
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, { ...
|
|
346
|
+
/* @__PURE__ */ i(D, { ...M, type: E.next }, "next")
|
|
347
347
|
] });
|
|
348
348
|
} else {
|
|
349
|
-
const c = 3 +
|
|
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 +
|
|
352
|
+
I <= 4 + k * 2 || t === c && t === N
|
|
353
353
|
)
|
|
354
|
-
for (let
|
|
355
|
-
w.push(/* @__PURE__ */ J(G, { ...
|
|
354
|
+
for (let f = 1; f <= I; f++)
|
|
355
|
+
w.push(/* @__PURE__ */ J(G, { ...M, key: f, pageNum: f }));
|
|
356
356
|
else {
|
|
357
|
-
let
|
|
358
|
-
t > c && t <
|
|
359
|
-
for (let V =
|
|
360
|
-
w.push(/* @__PURE__ */ i(G, { pageNum: V, ...
|
|
361
|
-
const
|
|
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
|
-
...
|
|
365
|
-
key:
|
|
366
|
-
type:
|
|
367
|
-
jumpPage: -(
|
|
364
|
+
...M,
|
|
365
|
+
key: f - 1,
|
|
366
|
+
type: E.previous,
|
|
367
|
+
jumpPage: -(k * 2 + 1)
|
|
368
368
|
}
|
|
369
|
-
),
|
|
369
|
+
), Re = /* @__PURE__ */ J(
|
|
370
370
|
Z,
|
|
371
371
|
{
|
|
372
|
-
...
|
|
373
|
-
key:
|
|
374
|
-
type:
|
|
375
|
-
jumpPage:
|
|
372
|
+
...M,
|
|
373
|
+
key: b + 1,
|
|
374
|
+
type: E.next,
|
|
375
|
+
jumpPage: k * 2 + 1
|
|
376
376
|
}
|
|
377
|
-
),
|
|
378
|
-
|
|
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(
|
|
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(
|
|
385
|
+
), w.push(Re), w.push(Ee));
|
|
386
386
|
}
|
|
387
387
|
X = /* @__PURE__ */ _("ul", { className: `${x}-list`, children: [
|
|
388
|
-
/* @__PURE__ */ J(D, { ...
|
|
388
|
+
/* @__PURE__ */ J(D, { ...M, key: "previous", type: E.previous }),
|
|
389
389
|
w,
|
|
390
|
-
|
|
390
|
+
z && /* @__PURE__ */ J(
|
|
391
391
|
Z,
|
|
392
392
|
{
|
|
393
|
-
...
|
|
393
|
+
...M,
|
|
394
394
|
key: I + 1,
|
|
395
|
-
type:
|
|
396
|
-
jumpPage:
|
|
395
|
+
type: E.next,
|
|
396
|
+
jumpPage: k * 2 + 1
|
|
397
397
|
}
|
|
398
398
|
),
|
|
399
|
-
/* @__PURE__ */ i(D, { ...
|
|
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 =
|
|
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:
|
|
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:
|
|
419
|
-
sizeOptions:
|
|
418
|
+
sizeCanChange: ve,
|
|
419
|
+
sizeOptions: ze,
|
|
420
420
|
onPageSizeChange: Pe,
|
|
421
421
|
pageSize: l,
|
|
422
422
|
size: B,
|
|
423
|
-
selectProps:
|
|
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 "./
|
|
2
|
-
import { useWatermark as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
F as
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
G as
|
|
48
|
-
N as
|
|
49
|
-
T as
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
ee as useWatch,
|
|
56
|
+
t as useWatermark,
|
|
57
|
+
oe as useWindowSize
|
|
54
58
|
};
|