@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.
- package/Affix.js +36 -36
- package/Alert.js +41 -45
- package/Anchor.js +1 -1
- package/AutoComplete.js +40 -40
- package/Avatar.js +36 -36
- package/BackTop.js +26 -26
- package/Badge.js +43 -43
- package/Breadcrumb.js +17 -17
- package/Button.js +42 -42
- package/Calendar.js +54 -56
- package/Card.js +28 -28
- package/Carousel.js +42 -43
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +11 -580
- package/Comment.js +14 -14
- package/ConfigProvider.js +2 -2
- package/Copy.js +26 -26
- package/DatePicker.js +661 -670
- package/Descriptions.js +53 -53
- package/Divider.js +15 -15
- package/Draggable.js +16 -16
- package/Drawer.js +1 -1
- package/Dropdown.js +10 -10
- package/Empty.js +3 -3
- package/Form.js +10 -1410
- package/Grid.js +49 -49
- package/Icon.js +10 -10
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +7 -7
- package/InputTag.js +1 -1
- package/Layout.js +34 -34
- package/Link.js +26 -26
- package/List.js +39 -39
- package/Mentions.js +17 -17
- package/Menu.js +1 -1
- package/Message.js +3 -3
- package/Modal.js +1 -1
- package/Notice.js +4 -10
- package/Notification.js +3 -3
- package/OverflowEllipsis.js +18 -18
- package/PageHeader.js +26 -27
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +15 -15
- package/Popover.js +22 -22
- package/Progress.js +18 -18
- package/Radio.js +2 -2
- package/Rate.js +40 -43
- package/ResizeBox.js +191 -192
- package/Result.js +17 -17
- package/Select.js +1 -1
- package/SelectView.js +56 -56
- package/Skeleton.js +35 -35
- package/Slider.js +81 -81
- package/Space.js +27 -27
- package/SpeechSynthesis.js +29 -32
- package/Spin.js +15 -15
- package/Statistic.js +54 -54
- package/Steps.js +44 -44
- package/Switch.js +39 -38
- package/Table.js +488 -488
- package/Tabs.js +1 -1
- package/Tag.js +13 -14
- package/TimePicker.js +68 -68
- package/Timeline.js +1 -1
- package/Tooltip.js +27 -28
- package/Transfer.js +29 -30
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +53 -52
- package/Typography.js +2 -737
- package/Upload.js +1 -1
- package/VerificationCode.js +1 -1
- package/Version.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/1mEO29GP.js +23 -0
- package/chunk/5pZ3ayqs.js +29 -0
- package/chunk/9Gh1afjL.js +23 -0
- package/chunk/B1S1OEw6.js +29 -0
- package/chunk/B45v5S9k.js +209 -0
- package/chunk/B6fn5y_s.js +23 -0
- package/chunk/B9PsJar0.js +118 -0
- package/chunk/BA02BFUV.js +41 -0
- package/chunk/BCk8e9fj.js +29 -0
- package/chunk/BHK9zpXn.js +207 -0
- package/chunk/BHLTzWzi.js +29 -0
- package/chunk/BK1FKNAX.js +41 -0
- package/chunk/BM6dpkeM.js +32 -0
- package/chunk/{BC0PujUD.js → BMvZCjSU.js} +118 -120
- package/chunk/{DQ3uFRJD.js → BP7xX86Q.js} +223 -202
- package/chunk/BWx1cVT_.js +66 -0
- package/chunk/BbI3gqVr.js +23 -0
- package/chunk/{CIc4yo9k.js → BbYzi8M0.js} +46 -46
- package/chunk/Be7oeWU8.js +34 -0
- package/chunk/BeM2hfks.js +88 -0
- package/chunk/BkHxm4sv.js +41 -0
- package/chunk/{BUQBof6z.js → Bl-ODC57.js} +206 -207
- package/chunk/BlKc_pDZ.js +678 -0
- package/chunk/{BzqZZHGK.js → Bny52uiG.js} +48 -48
- package/chunk/{PuuHmqnW.js → BpwDupra.js} +238 -238
- package/chunk/BqxwlITu.js +52 -0
- package/chunk/BuEC_zcc.js +278 -0
- package/chunk/{CqcZfQQ4.js → Bv8ZRDFt.js} +80 -80
- package/chunk/{DZGcv_9A.js → C-w9pFY-.js} +32 -32
- package/chunk/C2fspJbE.js +23 -0
- package/chunk/C7Okdv4u.js +34 -0
- package/chunk/C95ipQ6b.js +41 -0
- package/chunk/{BzMYgxgO.js → CF3Telny.js} +26 -26
- package/chunk/CPl52AZh.js +206 -0
- package/chunk/CR4u270n.js +284 -0
- package/chunk/CXNW5Y2a.js +23 -0
- package/chunk/Cb_oWoGj.js +40 -0
- package/chunk/CcX2pBUh.js +46 -0
- package/chunk/{BdJcAQ0Q.js → CggcswbO.js} +18 -18
- package/chunk/CkAOsst1.js +73 -0
- package/chunk/{CTSIr-Pr.js → CwXmtKib.js} +89 -101
- package/chunk/{C3I_L73_.js → CwjaGytU.js} +39 -40
- package/chunk/{RRWbBHK-.js → D5p8q9Pa.js} +221 -221
- package/chunk/{DTgc2wl4.js → D6RTBH4C.js} +36 -36
- package/chunk/D6mVoX-C.js +116 -0
- package/chunk/D9TqtOhq.js +40 -0
- package/chunk/{CZ8iz63Z.js → DBJ8d0o0.js} +210 -217
- package/chunk/{RL1SNlng.js → DDda6s72.js} +16 -16
- package/chunk/{BH5fVprw.js → DJmWXheU.js} +9 -9
- package/chunk/{Niaq_og8.js → DMWMrXg1.js} +220 -226
- package/chunk/DPvnQJ-H.js +52 -0
- package/chunk/DQXq1QT0.js +58 -0
- package/chunk/DUxWiN2U.js +1465 -0
- package/chunk/DYZzQ2uT.js +29 -0
- package/chunk/{CK0H_Yi4.js → DafaH1Qt.js} +140 -138
- package/chunk/{ShWkfsJd.js → DalIRWr7.js} +21 -21
- package/chunk/Dbk4DVhB.js +855 -0
- package/chunk/{CzTYWtfa.js → Dg2DmtzA.js} +31 -30
- package/chunk/DhLbnw3R.js +29 -0
- package/chunk/{BmtF7P8U.js → DkIjpuBZ.js} +170 -170
- package/chunk/Do1aMgY3.js +12 -0
- package/chunk/Dtnux4qL.js +38 -0
- package/chunk/{DbtCtriE.js → DxNRWF67.js} +30 -31
- package/chunk/HlP8inLK.js +1796 -0
- package/chunk/Lk60-jkf.js +1098 -0
- package/chunk/V_IcWDFx.js +49 -0
- package/chunk/{DG7VgAhL.js → WkB0MERB.js} +107 -108
- package/chunk/{Dki1RB5p.js → aM2ePYrq.js} +154 -155
- package/chunk/bsawGxt8.js +32 -0
- package/chunk/cUuQh7L_.js +46 -0
- package/chunk/fqgc8r6C.js +29 -0
- package/chunk/m_kOQCiU.js +29 -0
- package/chunk/sl8s35SK.js +29 -0
- package/hooks/index.js +52 -246
- package/hooks/useForceUpdate.js +6 -6
- package/hooks/useIntersectionObserver.js +12 -10
- package/hooks/useKeyboardEvent.js +7 -7
- package/hooks/useMedia.js +9 -12
- package/hooks/useMergeValue.js +10 -8
- package/hooks/useResizeObserver.js +16 -0
- package/hooks/useUpdateEffect.js +7 -9
- package/hooks/useWindowSize.js +16 -20
- package/icons.js +6003 -0
- package/index.js +377 -472
- package/locale/en-US.js +20 -6
- package/locale/ja-JP.js +4 -2
- package/locale/ko-KR.js +2 -2
- package/locale/pt-BR.js +3 -3
- package/locale/pt-PT.js +3 -3
- package/locale/tr-TR.js +11 -3
- package/locale/zh-CN.js +6 -0
- package/locale/zh-HK.js +2 -0
- package/locale/zh-TW.js +2 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/anchor/util.d.ts +1 -0
- package/types/button/index.d.ts +2 -2
- package/types/color-picker/colors.d.ts +1 -1
- package/types/date-picker/util.d.ts +1 -1
- package/types/hooks/index.d.ts +3 -101
- package/types/hooks/useForceUpdate.d.ts +1 -2
- package/types/hooks/useIntersectionObserver.d.ts +1 -1
- package/types/hooks/useKeyboardEvent.d.ts +2 -2
- package/types/hooks/useMergeProps.d.ts +1 -1
- package/types/hooks/useResizeObserver.d.ts +5 -0
- package/types/hooks/useUpdateEffect.d.ts +2 -3
- package/types/hooks/useWindowSize.d.ts +1 -1
- package/types/icons.d.ts +4 -0
- package/types/index.d.ts +12 -2
- package/types/locale/en-US.d.ts +4 -0
- package/types/locale/interface.d.ts +2 -0
- package/types/locale/ja-JP.d.ts +4 -0
- package/types/locale/zh-CN.d.ts +4 -0
- package/types/locale/zh-HK.d.ts +4 -0
- package/types/locale/zh-TW.d.ts +4 -0
- package/types/version/index.d.ts +1 -1
- package/utils/CSSTransition.js +1 -1
- package/utils/className.js +2 -3
- package/utils/contextHolder.js +2 -2
- package/utils/copy.js +2 -3
- package/utils/is.js +127 -90
- package/utils/reactDOM.js +17 -15
- package/utils/responsiveObserve.js +16 -16
- package/utils/saveAs.js +2 -3
- package/chunk/BdYAMaw9.js +0 -6
- package/chunk/DdtfPvgk.js +0 -272
- package/chunk/I4RV9SKZ.js +0 -135
- package/chunk/TXCrI0jN.js +0 -20
- package/chunk/i1A7W8Qt.js +0 -277
- package/chunk/xPzFRQJn.js +0 -740
- package/hooks/useAsync.js +0 -13
- package/hooks/useAsyncFn.js +0 -15
- package/hooks/useAsyncRetry.js +0 -17
- package/hooks/useAudio.js +0 -5
- package/hooks/useBeforeUnload.js +0 -18
- package/hooks/useBoolean.js +0 -4
- package/hooks/useClickAway.js +0 -22
- package/hooks/useCopyToClipboard.js +0 -51
- package/hooks/useCounter.js +0 -45
- package/hooks/useCreation.js +0 -17
- package/hooks/useCustomCompareEffect.js +0 -15
- package/hooks/useDebounce.js +0 -9
- package/hooks/useDefault.js +0 -10
- package/hooks/useDrop.js +0 -44
- package/hooks/useDropArea.js +0 -45
- package/hooks/useEffectOnce.js +0 -7
- package/hooks/useEffectState.js +0 -9
- package/hooks/useEnsuredForwardedRef.js +0 -17
- package/hooks/useError.js +0 -13
- package/hooks/useEvent.js +0 -13
- package/hooks/useEventListener.js +0 -39
- package/hooks/useFavicon.js +0 -16
- package/hooks/useFirstMountState.js +0 -8
- package/hooks/useFullscreen.js +0 -39
- package/hooks/useGeolocation.js +0 -38
- package/hooks/useGetSet.js +0 -18
- package/hooks/useGetSetState.js +0 -12
- package/hooks/useHash.js +0 -26
- package/hooks/useHover.js +0 -16
- package/hooks/useHoverDirty.js +0 -17
- package/hooks/useIdle.js +0 -34
- package/hooks/useIntersection.js +0 -19
- package/hooks/useIsomorphicLayoutEffect2.js +0 -6
- package/hooks/useKey.js +0 -16
- package/hooks/useKeyPress.js +0 -13
- package/hooks/useKeyPressEvent.js +0 -11
- package/hooks/useLatest.js +0 -8
- package/hooks/useLifecycles.js +0 -9
- package/hooks/useList.js +0 -67
- package/hooks/useLocalStorage.js +0 -42
- package/hooks/useLocation.js +0 -51
- package/hooks/useLockBodyScroll.js +0 -55
- package/hooks/useLogger.js +0 -10
- package/hooks/useLongPress.js +0 -24
- package/hooks/useMap.js +0 -31
- package/hooks/useMeasure.js +0 -34
- package/hooks/useMeasureDirty.js +0 -24
- package/hooks/useMediaDevices.js +0 -26
- package/hooks/useMediatedState.js +0 -14
- package/hooks/useMethods.js +0 -14
- package/hooks/useMotion.js +0 -56
- package/hooks/useMount.js +0 -9
- package/hooks/useMountedState.js +0 -10
- package/hooks/useMouse.js +0 -44
- package/hooks/useMouseHovered.js +0 -9
- package/hooks/useMouseWheel.js +0 -14
- package/hooks/useMultiStateValidator.js +0 -19
- package/hooks/useNetworkState.js +0 -31
- package/hooks/useNumber.js +0 -4
- package/hooks/useObservable.js +0 -12
- package/hooks/useOrientation.js +0 -30
- package/hooks/usePageLeave.js +0 -19
- package/hooks/usePermission.js +0 -19
- package/hooks/usePinchZoom.js +0 -40
- package/hooks/usePreviousDistinct.js +0 -10
- package/hooks/usePromise.js +0 -19
- package/hooks/useQueue.js +0 -25
- package/hooks/useRaf.js +0 -24
- package/hooks/useRafLoop.js +0 -24
- package/hooks/useRafState.js +0 -15
- package/hooks/useReactive.js +0 -21
- package/hooks/useRendersCount.js +0 -7
- package/hooks/useScroll.js +0 -27
- package/hooks/useScrolling.js +0 -23
- package/hooks/useSearchParam.js +0 -18
- package/hooks/useSessionStorage.js +0 -29
- package/hooks/useSet.js +0 -15
- package/hooks/useSetState.js +0 -16
- package/hooks/useSize.js +0 -58
- package/hooks/useSlider.js +0 -48
- package/hooks/useSpeech.js +0 -45
- package/hooks/useStartTyping.js +0 -30
- package/hooks/useStateList.js +0 -37
- package/hooks/useStateValidator.js +0 -17
- package/hooks/useStateWithHistory.js +0 -46
- package/hooks/useSyncState.js +0 -14
- package/hooks/useThrottle.js +0 -21
- package/hooks/useThrottleFn.js +0 -21
- package/hooks/useTimeout.js +0 -17
- package/hooks/useTimeoutFn.js +0 -16
- package/hooks/useTitle.js +0 -18
- package/hooks/useToggle.js +0 -5
- package/hooks/useTween.js +0 -11
- package/hooks/useUnmount.js +0 -9
- package/hooks/useUnmountPromise.js +0 -20
- package/hooks/useUpdate.js +0 -10
- package/hooks/useUpdateTimeout.js +0 -9
- package/hooks/useUpsert.js +0 -16
- package/hooks/useVibrate.js +0 -21
- package/hooks/useVideo.js +0 -5
- package/hooks/useWindowScroll.js +0 -29
- package/types/hooks/component/UseKey.d.ts +0 -2
- package/types/hooks/factory/createBreakpoint.d.ts +0 -4
- package/types/hooks/factory/createGlobalState.d.ts +0 -7
- package/types/hooks/factory/createHTMLMediaHook.d.ts +0 -33
- package/types/hooks/factory/createMemo.d.ts +0 -2
- package/types/hooks/factory/createReducer.d.ts +0 -8
- package/types/hooks/factory/createReducerContext.d.ts +0 -5
- package/types/hooks/factory/createRenderProp.d.ts +0 -1
- package/types/hooks/factory/createRouter.d.ts +0 -7
- package/types/hooks/factory/createStateContext.d.ts +0 -5
- package/types/hooks/misc/hookState.d.ts +0 -8
- package/types/hooks/misc/parseTimeRanges.d.ts +0 -4
- package/types/hooks/misc/types.d.ts +0 -2
- package/types/hooks/misc/util.d.ts +0 -5
- package/types/hooks/useAsync.d.ts +0 -20
- package/types/hooks/useAsyncFn.d.ts +0 -23
- package/types/hooks/useAsyncRetry.d.ts +0 -27
- package/types/hooks/useAudio.d.ts +0 -11
- package/types/hooks/useBeforeUnload.d.ts +0 -2
- package/types/hooks/useBoolean.d.ts +0 -2
- package/types/hooks/useClickAway.d.ts +0 -3
- package/types/hooks/useCopyToClipboard.d.ts +0 -7
- package/types/hooks/useCounter.d.ts +0 -9
- package/types/hooks/useCreation.d.ts +0 -2
- package/types/hooks/useCustomCompareEffect.d.ts +0 -4
- package/types/hooks/useDebounce.d.ts +0 -3
- package/types/hooks/useDefault.d.ts +0 -2
- package/types/hooks/useDrop.d.ts +0 -17
- package/types/hooks/useDropArea.d.ts +0 -18
- package/types/hooks/useEffectOnce.d.ts +0 -3
- package/types/hooks/useEffectState.d.ts +0 -2
- package/types/hooks/useEnsuredForwardedRef.d.ts +0 -3
- package/types/hooks/useError.d.ts +0 -2
- package/types/hooks/useEvent.d.ts +0 -13
- package/types/hooks/useEventListener.d.ts +0 -2
- package/types/hooks/useFavicon.d.ts +0 -2
- package/types/hooks/useFirstMountState.d.ts +0 -1
- package/types/hooks/useFullscreen.d.ts +0 -10
- package/types/hooks/useGeolocation.d.ts +0 -21
- package/types/hooks/useGetSet.d.ts +0 -3
- package/types/hooks/useGetSetState.d.ts +0 -2
- package/types/hooks/useHash.d.ts +0 -2
- package/types/hooks/useHover.d.ts +0 -4
- package/types/hooks/useHoverDirty.d.ts +0 -3
- package/types/hooks/useIdle.d.ts +0 -2
- package/types/hooks/useIntersection.d.ts +0 -3
- package/types/hooks/useIsomorphicLayoutEffect2.d.ts +0 -3
- package/types/hooks/useKey.d.ts +0 -12
- package/types/hooks/useKeyPress.d.ts +0 -3
- package/types/hooks/useKeyPressEvent.d.ts +0 -3
- package/types/hooks/useLatest.d.ts +0 -4
- package/types/hooks/useLifecycles.d.ts +0 -2
- package/types/hooks/useList.d.ts +0 -18
- package/types/hooks/useLocalStorage.d.ts +0 -10
- package/types/hooks/useLocation.d.ts +0 -16
- package/types/hooks/useLockBodyScroll.d.ts +0 -8
- package/types/hooks/useLogger.d.ts +0 -2
- package/types/hooks/useLongPress.d.ts +0 -12
- package/types/hooks/useMap.d.ts +0 -11
- package/types/hooks/useMeasure.d.ts +0 -9
- package/types/hooks/useMeasureDirty.d.ts +0 -11
- package/types/hooks/useMediaDevices.d.ts +0 -2
- package/types/hooks/useMediatedState.d.ts +0 -9
- package/types/hooks/useMethods.d.ts +0 -8
- package/types/hooks/useMotion.d.ts +0 -20
- package/types/hooks/useMount.d.ts +0 -2
- package/types/hooks/useMountedState.d.ts +0 -1
- package/types/hooks/useMouse.d.ts +0 -13
- package/types/hooks/useMouseHovered.d.ts +0 -8
- package/types/hooks/useMouseWheel.d.ts +0 -2
- package/types/hooks/useMultiStateValidator.d.ts +0 -9
- package/types/hooks/useNetworkState.d.ts +0 -22
- package/types/hooks/useNumber.d.ts +0 -2
- package/types/hooks/useObservable.d.ts +0 -8
- package/types/hooks/useOrientation.d.ts +0 -6
- package/types/hooks/usePageLeave.d.ts +0 -2
- package/types/hooks/usePermission.d.ts +0 -16
- package/types/hooks/usePinchZoom.d.ts +0 -18
- package/types/hooks/usePreviousDistinct.d.ts +0 -2
- package/types/hooks/usePromise.d.ts +0 -3
- package/types/hooks/useQueue.d.ts +0 -9
- package/types/hooks/useRaf.d.ts +0 -2
- package/types/hooks/useRafLoop.d.ts +0 -2
- package/types/hooks/useRafState.d.ts +0 -3
- package/types/hooks/useReactive.d.ts +0 -2
- package/types/hooks/useRendersCount.d.ts +0 -1
- package/types/hooks/useScroll.d.ts +0 -7
- package/types/hooks/useScrolling.d.ts +0 -3
- package/types/hooks/useSearchParam.d.ts +0 -3
- package/types/hooks/useSessionStorage.d.ts +0 -2
- package/types/hooks/useSet.d.ts +0 -11
- package/types/hooks/useSetState.d.ts +0 -2
- package/types/hooks/useSize.d.ts +0 -8
- package/types/hooks/useSlider.d.ts +0 -15
- package/types/hooks/useSpeech.d.ts +0 -16
- package/types/hooks/useStartTyping.d.ts +0 -2
- package/types/hooks/useStateList.d.ts +0 -9
- package/types/hooks/useStateValidator.d.ts +0 -8
- package/types/hooks/useStateWithHistory.d.ts +0 -18
- package/types/hooks/useSyncState.d.ts +0 -3
- package/types/hooks/useThrottle.d.ts +0 -2
- package/types/hooks/useThrottleFn.d.ts +0 -2
- package/types/hooks/useTimeout.d.ts +0 -2
- package/types/hooks/useTimeoutFn.d.ts +0 -2
- package/types/hooks/useTitle.d.ts +0 -6
- package/types/hooks/useToggle.d.ts +0 -2
- package/types/hooks/useTween.d.ts +0 -3
- package/types/hooks/useUnmount.d.ts +0 -2
- package/types/hooks/useUnmountPromise.d.ts +0 -3
- package/types/hooks/useUpdate.d.ts +0 -2
- package/types/hooks/useUpdateTimeout.d.ts +0 -2
- package/types/hooks/useUpsert.d.ts +0 -6
- package/types/hooks/useVibrate.d.ts +0 -4
- package/types/hooks/useVideo.d.ts +0 -11
- package/types/hooks/useWindowScroll.d.ts +0 -6
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = "#{field} is not a #{type} type", t = {
|
|
2
|
+
required: "#{field} is required",
|
|
3
|
+
type: {
|
|
4
|
+
ip: e,
|
|
5
|
+
email: e,
|
|
6
|
+
url: e,
|
|
7
|
+
string: e,
|
|
8
|
+
number: e,
|
|
9
|
+
array: e,
|
|
10
|
+
object: e,
|
|
11
|
+
boolean: e
|
|
12
|
+
},
|
|
13
|
+
number: {
|
|
14
|
+
min: "`#{value}` is not greater than `#{min}`",
|
|
15
|
+
max: "`#{value}` is not less than `#{max}`",
|
|
16
|
+
equal: "`#{value}` is not equal to `#{equal}`",
|
|
17
|
+
range: "`#{value}` is not in range `#{min} ~ #{max}`",
|
|
18
|
+
positive: "`#{value}` is not a positive number",
|
|
19
|
+
negative: "`#{value}` is not a negative number"
|
|
20
|
+
},
|
|
21
|
+
string: {
|
|
22
|
+
maxLength: "#{field} cannot be longer than #{maxLength} characters",
|
|
23
|
+
minLength: "#{field} must be at least #{minLength} characters",
|
|
24
|
+
length: "#{field} must be exactly #{length} characters",
|
|
25
|
+
match: "`#{value}` does not match pattern #{pattern}",
|
|
26
|
+
uppercase: "`#{value}` must be all uppercase",
|
|
27
|
+
lowercase: "`#{value}` must be all lowercased"
|
|
28
|
+
},
|
|
29
|
+
array: {
|
|
30
|
+
length: "#{field} must be exactly #{length} in length",
|
|
31
|
+
minLength: "#{field} cannot be less than #{minLength} in length",
|
|
32
|
+
maxLength: "#{field} cannot be greater than #{maxLength} in length",
|
|
33
|
+
includes: "#{field} is not includes #{includes}",
|
|
34
|
+
deepEqual: "#{field} is not deep equal with #{deepEqual}",
|
|
35
|
+
empty: "#{field} is not an empty array"
|
|
36
|
+
},
|
|
37
|
+
object: {
|
|
38
|
+
deepEqual: "#{field} is not deep equal to expected value",
|
|
39
|
+
hasKeys: "#{field} does not contain required fields",
|
|
40
|
+
empty: "`#{field} is not an empty object"
|
|
41
|
+
},
|
|
42
|
+
boolean: {
|
|
43
|
+
true: "Expect true but got `#{value}`",
|
|
44
|
+
false: "Expect false but got `#{value}`"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
t
|
|
49
|
+
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsx as a, jsxs as _, Fragment as Je } from "react/jsx-runtime";
|
|
2
|
-
import W, { useContext as O, useState as Oe, useRef as
|
|
3
|
-
import {
|
|
2
|
+
import W, { useContext as O, useState as Oe, useRef as me, useEffect as te, forwardRef as Ae, createElement as J } from "react";
|
|
3
|
+
import { b as A } from "./DUxWiN2U.js";
|
|
4
4
|
import Fe from "../hooks/useMergeProps.js";
|
|
5
5
|
import le from "../hooks/useMergeValue.js";
|
|
6
|
-
import q from "
|
|
6
|
+
import { y as q } from "./Do1aMgY3.js";
|
|
7
7
|
import { pickDataAttributes as _e } from "../utils/pick.js";
|
|
8
|
-
import Le from "
|
|
9
|
-
import
|
|
10
|
-
import Ue from "@unicom-cloud/icons/IconUiRight";
|
|
8
|
+
import { I as Le, a as Te } from "./D9TqtOhq.js";
|
|
9
|
+
import { I as Ue } from "./BK1FKNAX.js";
|
|
11
10
|
import pe from "../hooks/useKeyboardEvent.js";
|
|
12
11
|
import Be from "lodash/isFunction";
|
|
13
12
|
import Ke from "lodash/isPlainObject";
|
|
14
13
|
import ce from "lodash/isUndefined";
|
|
15
|
-
import { I as Ve } from "./
|
|
16
|
-
import { S as fe } from "./
|
|
14
|
+
import { I as Ve } from "./Bl-ODC57.js";
|
|
15
|
+
import { S as fe } from "./BpwDupra.js";
|
|
17
16
|
var E = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(E || {});
|
|
18
17
|
function De(e) {
|
|
19
18
|
var M, h, t;
|
|
@@ -23,10 +22,10 @@ function De(e) {
|
|
|
23
22
|
rootPrefixCls: u,
|
|
24
23
|
pageItemStyle: C,
|
|
25
24
|
activePageItemStyle: r,
|
|
26
|
-
itemRender:
|
|
27
|
-
} = e,
|
|
28
|
-
let
|
|
29
|
-
P && (
|
|
25
|
+
itemRender: y
|
|
26
|
+
} = e, $ = `${u}-item`, P = f === i, g = q($, P ? `${$}-active` : "");
|
|
27
|
+
let m = C;
|
|
28
|
+
P && (m = { ...m, ...r });
|
|
30
29
|
const k = P ? { "aria-current": !0 } : {}, v = (s) => {
|
|
31
30
|
const { pageNum: l, onClick: S, disabled: d } = e;
|
|
32
31
|
s.currentTarget.dataset.active !== "true" && (s.stopPropagation(), d || S == null || S(l));
|
|
@@ -34,31 +33,31 @@ function De(e) {
|
|
|
34
33
|
return /* @__PURE__ */ a(
|
|
35
34
|
"li",
|
|
36
35
|
{
|
|
37
|
-
style:
|
|
38
|
-
className:
|
|
36
|
+
style: m,
|
|
37
|
+
className: g,
|
|
39
38
|
onClick: v,
|
|
40
39
|
tabIndex: e.disabled ? -1 : 0,
|
|
41
40
|
"aria-label": (t = (h = (M = n == null ? void 0 : n.Pagination) == null ? void 0 : M.currentPage) == null ? void 0 : h.replace) == null ? void 0 : t.call(h, "{0}", i),
|
|
42
41
|
...o({ onPressEnter: v }),
|
|
43
42
|
...k,
|
|
44
|
-
children:
|
|
43
|
+
children: y ? y(i, "page", i) : i
|
|
45
44
|
}
|
|
46
45
|
);
|
|
47
46
|
}
|
|
48
47
|
function ne(e, n) {
|
|
49
48
|
switch (e) {
|
|
50
49
|
case "prev":
|
|
51
|
-
return n && n.prev ? n.prev : /* @__PURE__ */ a(
|
|
50
|
+
return n && n.prev ? n.prev : /* @__PURE__ */ a(Te, {});
|
|
52
51
|
case "next":
|
|
53
|
-
return n && n.next ? n.next : /* @__PURE__ */ a(
|
|
52
|
+
return n && n.next ? n.next : /* @__PURE__ */ a(Le, {});
|
|
54
53
|
case "more":
|
|
55
|
-
return n && n.more ? n.more : /* @__PURE__ */ a(
|
|
54
|
+
return n && n.more ? n.more : /* @__PURE__ */ a(Ue, {});
|
|
56
55
|
default:
|
|
57
56
|
return null;
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
const Z = (e) => {
|
|
61
|
-
var t, s, l, S, d,
|
|
60
|
+
var t, s, l, S, d, b;
|
|
62
61
|
const { locale: n } = O(A), {
|
|
63
62
|
rootPrefixCls: o,
|
|
64
63
|
current: i,
|
|
@@ -66,20 +65,20 @@ const Z = (e) => {
|
|
|
66
65
|
jumpPage: u,
|
|
67
66
|
icons: C,
|
|
68
67
|
disabled: r,
|
|
69
|
-
pageItemStyle:
|
|
70
|
-
itemRender:
|
|
71
|
-
} = e, P = f > 0 ? 1 : 0,
|
|
68
|
+
pageItemStyle: y,
|
|
69
|
+
itemRender: $
|
|
70
|
+
} = e, P = f > 0 ? 1 : 0, g = Math.min(f, Math.max(P, i + u)), m = `${o}-item ${o}-item-jumper`, k = q(m), v = () => {
|
|
72
71
|
var L;
|
|
73
|
-
!r && ((L = e.onClick) == null || L.call(e,
|
|
74
|
-
}, M = ne("more", C), h = u > 0 ? (l = (s = (t = n == null ? void 0 : n.Pagination) == null ? void 0 : t.nextSomePages) == null ? void 0 : s.replace) == null ? void 0 : l.call(s, "{0}", u) : (
|
|
72
|
+
!r && ((L = e.onClick) == null || L.call(e, g));
|
|
73
|
+
}, M = ne("more", C), h = u > 0 ? (l = (s = (t = n == null ? void 0 : n.Pagination) == null ? void 0 : t.nextSomePages) == null ? void 0 : s.replace) == null ? void 0 : l.call(s, "{0}", u) : (b = (d = (S = n == null ? void 0 : n.Pagination) == null ? void 0 : S.prevSomePages) == null ? void 0 : d.replace) == null ? void 0 : b.call(d, "{0}", -u);
|
|
75
74
|
return /* @__PURE__ */ a(
|
|
76
75
|
"li",
|
|
77
76
|
{
|
|
78
|
-
style:
|
|
77
|
+
style: y,
|
|
79
78
|
className: k,
|
|
80
79
|
onClick: v,
|
|
81
80
|
"aria-label": h,
|
|
82
|
-
children:
|
|
81
|
+
children: $ ? $(void 0, "more", M) : M
|
|
83
82
|
}
|
|
84
83
|
);
|
|
85
84
|
}, D = (e) => {
|
|
@@ -88,21 +87,21 @@ const Z = (e) => {
|
|
|
88
87
|
current: u,
|
|
89
88
|
allPages: C,
|
|
90
89
|
type: r,
|
|
91
|
-
icons:
|
|
92
|
-
disabled:
|
|
90
|
+
icons: y,
|
|
91
|
+
disabled: $,
|
|
93
92
|
pageItemStyle: P,
|
|
94
|
-
itemRender:
|
|
95
|
-
} = e,
|
|
93
|
+
itemRender: g
|
|
94
|
+
} = e, m = `${f}-item`, [k, v] = o ? ["next", "prev"] : ["prev", "next"], M = ne(r === 0 ? k : v, y);
|
|
96
95
|
let h = !1;
|
|
97
96
|
C === 0 ? h = !0 : r === 0 ? h = u <= 1 : h = u === C;
|
|
98
|
-
const t =
|
|
97
|
+
const t = $ || h;
|
|
99
98
|
let s = u + (r === 0 ? -1 : 1);
|
|
100
99
|
s = Math.max(0, Math.min(C, s));
|
|
101
|
-
const l = r === 0 ? "prev" : "next", S = q(
|
|
102
|
-
[`${
|
|
100
|
+
const l = r === 0 ? "prev" : "next", S = q(m, `${m}-${l}`, {
|
|
101
|
+
[`${m}-disabled`]: t
|
|
103
102
|
}), d = () => {
|
|
104
|
-
var
|
|
105
|
-
t || (
|
|
103
|
+
var b;
|
|
104
|
+
t || (b = e.onClick) == null || b.call(e, s);
|
|
106
105
|
};
|
|
107
106
|
return /* @__PURE__ */ a(
|
|
108
107
|
"li",
|
|
@@ -115,13 +114,13 @@ const Z = (e) => {
|
|
|
115
114
|
...i({
|
|
116
115
|
onPressEnter: d
|
|
117
116
|
}),
|
|
118
|
-
children:
|
|
117
|
+
children: g ? g(void 0, l, M) : M
|
|
119
118
|
}
|
|
120
119
|
);
|
|
121
120
|
}, G = W.memo(De);
|
|
122
121
|
function ue(e) {
|
|
123
122
|
var h, t;
|
|
124
|
-
const n = e.simple ? e.current : void 0, { locale: o } = O(A), [i, f] = Oe(n), u =
|
|
123
|
+
const n = e.simple ? e.current : void 0, { locale: o } = O(A), [i, f] = Oe(n), u = me();
|
|
125
124
|
te(() => {
|
|
126
125
|
e.simple && f(e.current);
|
|
127
126
|
}, [e.simple, e.current]);
|
|
@@ -136,17 +135,17 @@ function ue(e) {
|
|
|
136
135
|
d || f(void 0);
|
|
137
136
|
return;
|
|
138
137
|
}
|
|
139
|
-
let
|
|
140
|
-
|
|
141
|
-
},
|
|
138
|
+
let b = isNaN(Number(i)) ? S : Number(i);
|
|
139
|
+
b < 1 ? b = 1 : b > l && (b = l), f(d ? b : void 0), Be(s) && s(b);
|
|
140
|
+
}, y = () => {
|
|
142
141
|
const s = u.current.dom;
|
|
143
142
|
String(i) && s && s.setSelectionRange(0, String(i).length);
|
|
144
|
-
}, { rootPrefixCls:
|
|
143
|
+
}, { rootPrefixCls: $, totalPages: P, simple: g, size: m, disabled: k } = e, v = `${$}-jumper`, M = {
|
|
145
144
|
showJumper: !0,
|
|
146
|
-
...Ke(
|
|
145
|
+
...Ke(g) ? g : {}
|
|
147
146
|
};
|
|
148
147
|
return /* @__PURE__ */ _("div", { className: `${v}`, children: [
|
|
149
|
-
!
|
|
148
|
+
!g && /* @__PURE__ */ a("span", { className: `${v}-text-goto`, children: (h = o == null ? void 0 : o.Pagination) == null ? void 0 : h.goto }),
|
|
150
149
|
M.showJumper ? /* @__PURE__ */ a(
|
|
151
150
|
Ve,
|
|
152
151
|
{
|
|
@@ -154,16 +153,16 @@ function ue(e) {
|
|
|
154
153
|
ref: (s) => u.current = s,
|
|
155
154
|
className: `${v}-input`,
|
|
156
155
|
value: ce(i) ? void 0 : i.toString(),
|
|
157
|
-
size:
|
|
156
|
+
size: m,
|
|
158
157
|
disabled: k || !P,
|
|
159
158
|
onChange: C,
|
|
160
159
|
onPressEnter: r,
|
|
161
|
-
onFocus:
|
|
160
|
+
onFocus: y,
|
|
162
161
|
onBlur: r
|
|
163
162
|
}
|
|
164
163
|
) : /* @__PURE__ */ a("span", { children: i }),
|
|
165
|
-
!
|
|
166
|
-
|
|
164
|
+
!g && /* @__PURE__ */ a("span", { className: `${v}-text-goto-suffix`, children: (t = o == null ? void 0 : o.Pagination) == null ? void 0 : t.page }),
|
|
165
|
+
g && /* @__PURE__ */ _(Je, { children: [
|
|
167
166
|
/* @__PURE__ */ a("span", { className: `${v}-separator`, children: "/" }),
|
|
168
167
|
/* @__PURE__ */ a("span", { children: P })
|
|
169
168
|
] })
|
|
@@ -173,14 +172,14 @@ const Ge = () => {
|
|
|
173
172
|
}, We = fe.Option, qe = [10, 20, 30, 40, 50];
|
|
174
173
|
function He(e) {
|
|
175
174
|
var P;
|
|
176
|
-
const n =
|
|
175
|
+
const n = me(null), { locale: o } = O(A), {
|
|
177
176
|
onPageSizeChange: i = Ge,
|
|
178
177
|
rootPrefixCls: f,
|
|
179
178
|
sizeOptions: u = qe,
|
|
180
179
|
pageSize: C = 10,
|
|
181
180
|
size: r,
|
|
182
|
-
selectProps:
|
|
183
|
-
disabled:
|
|
181
|
+
selectProps: y,
|
|
182
|
+
disabled: $
|
|
184
183
|
} = e;
|
|
185
184
|
return /* @__PURE__ */ a(
|
|
186
185
|
"div",
|
|
@@ -192,16 +191,16 @@ function He(e) {
|
|
|
192
191
|
fe,
|
|
193
192
|
{
|
|
194
193
|
value: u.indexOf(C) !== -1 ? C : u[0],
|
|
195
|
-
onChange: (
|
|
196
|
-
i(
|
|
194
|
+
onChange: (g) => {
|
|
195
|
+
i(g);
|
|
197
196
|
},
|
|
198
197
|
size: r,
|
|
199
198
|
getPopupContainer: () => n.current,
|
|
200
|
-
disabled:
|
|
201
|
-
|
|
202
|
-
children: u.map((
|
|
203
|
-
var
|
|
204
|
-
return /* @__PURE__ */ a(We, { value:
|
|
199
|
+
disabled: $,
|
|
200
|
+
...y,
|
|
201
|
+
children: u.map((g) => {
|
|
202
|
+
var m;
|
|
203
|
+
return /* @__PURE__ */ a(We, { value: g, children: `${g} ${(m = o == null ? void 0 : o.Pagination) == null ? void 0 : m.countPerPage}` }, g);
|
|
205
204
|
})
|
|
206
205
|
}
|
|
207
206
|
)
|
|
@@ -216,7 +215,7 @@ function Ye(e, n) {
|
|
|
216
215
|
const i = Math.floor(n / 2) - 1, f = Math.max(e, 0);
|
|
217
216
|
return Math.min(f, i);
|
|
218
217
|
}
|
|
219
|
-
function
|
|
218
|
+
function ge(e) {
|
|
220
219
|
return e && e.length ? e[0] : de;
|
|
221
220
|
}
|
|
222
221
|
const Ze = {
|
|
@@ -237,11 +236,11 @@ function et(e, n) {
|
|
|
237
236
|
Ze,
|
|
238
237
|
u == null ? void 0 : u.Pagination
|
|
239
238
|
), {
|
|
240
|
-
total:
|
|
241
|
-
pageSize:
|
|
239
|
+
total: y,
|
|
240
|
+
pageSize: $,
|
|
242
241
|
current: P,
|
|
243
|
-
showMore:
|
|
244
|
-
sizeOptions:
|
|
242
|
+
showMore: g,
|
|
243
|
+
sizeOptions: m,
|
|
245
244
|
pageSizeChangeResetCurrent: k,
|
|
246
245
|
defaultCurrent: v,
|
|
247
246
|
defaultPageSize: M,
|
|
@@ -251,36 +250,36 @@ function et(e, n) {
|
|
|
251
250
|
defaultValue: v,
|
|
252
251
|
value: P
|
|
253
252
|
}), [l, S] = le(
|
|
254
|
-
|
|
253
|
+
ge(m),
|
|
255
254
|
{
|
|
256
255
|
defaultValue: M,
|
|
257
|
-
value:
|
|
256
|
+
value: $
|
|
258
257
|
}
|
|
259
|
-
), d =
|
|
258
|
+
), d = y, b = !!g;
|
|
260
259
|
P && !r.onChange && console.warn(
|
|
261
260
|
"Warning: you have provide current prop for pagination but without onChange handler , this will cause no-change when you change page. "
|
|
262
261
|
);
|
|
263
|
-
function L(c,
|
|
264
|
-
const p = ee(c,
|
|
262
|
+
function L(c, z) {
|
|
263
|
+
const p = ee(c, z);
|
|
265
264
|
return t > p ? p : t;
|
|
266
265
|
}
|
|
267
266
|
te(() => {
|
|
268
|
-
if (
|
|
269
|
-
const
|
|
270
|
-
"pageSize" in r || S(
|
|
267
|
+
if (m && !m.includes(l)) {
|
|
268
|
+
const z = ge(m);
|
|
269
|
+
"pageSize" in r || S(z);
|
|
271
270
|
}
|
|
272
|
-
}, [
|
|
271
|
+
}, [m]), te(() => {
|
|
273
272
|
const c = L(l, d);
|
|
274
273
|
c !== t && !("current" in r) && s(c);
|
|
275
274
|
}, [d, t, l]);
|
|
276
|
-
const re = (c = t,
|
|
275
|
+
const re = (c = t, z = l) => {
|
|
277
276
|
const { onChange: p } = r;
|
|
278
|
-
p == null || p(c,
|
|
277
|
+
p == null || p(c, z);
|
|
279
278
|
}, Pe = (c) => {
|
|
280
|
-
const { onPageSizeChange:
|
|
279
|
+
const { onPageSizeChange: z } = r, p = ee(c, d), N = {
|
|
281
280
|
pageSize: c
|
|
282
281
|
};
|
|
283
|
-
k ?
|
|
282
|
+
k ? N.current = 1 : N.current = t > p ? p : t, "pageSize" in r || S(N.pageSize), !("current" in r) && t !== N.current && s(N.current), z == null || z(c, N.current), re(k ? 1 : N.current, c);
|
|
284
283
|
}, H = (c) => {
|
|
285
284
|
"current" in r || s(c), re(c);
|
|
286
285
|
}, {
|
|
@@ -290,16 +289,16 @@ function et(e, n) {
|
|
|
290
289
|
activePageItemStyle: ve,
|
|
291
290
|
showTotal: T,
|
|
292
291
|
sizeCanChange: Se,
|
|
293
|
-
sizeOptions:
|
|
292
|
+
sizeOptions: be,
|
|
294
293
|
simple: U,
|
|
295
|
-
mini:
|
|
294
|
+
mini: ze,
|
|
296
295
|
showJumper: Q,
|
|
297
|
-
selectProps:
|
|
298
|
-
icons:
|
|
296
|
+
selectProps: Ne,
|
|
297
|
+
icons: ye,
|
|
299
298
|
disabled: F,
|
|
300
|
-
itemRender:
|
|
301
|
-
hideOnSinglePage:
|
|
302
|
-
} = r,
|
|
299
|
+
itemRender: $e,
|
|
300
|
+
hideOnSinglePage: Ie
|
|
301
|
+
} = r, we = r.size || i, x = o("pagination"), B = ze ? "mini" : we, Me = q(
|
|
303
302
|
x,
|
|
304
303
|
`${x}-size-${B}`,
|
|
305
304
|
{
|
|
@@ -310,20 +309,20 @@ function et(e, n) {
|
|
|
310
309
|
he
|
|
311
310
|
);
|
|
312
311
|
let X;
|
|
313
|
-
const
|
|
314
|
-
if (
|
|
312
|
+
const I = [], w = ee(l, d), R = Ye(r.bufferSize, w);
|
|
313
|
+
if (Ie && w <= 1)
|
|
315
314
|
return null;
|
|
316
315
|
const j = {
|
|
317
316
|
onClick: H,
|
|
318
317
|
rootPrefixCls: x,
|
|
319
318
|
simple: U,
|
|
320
319
|
current: t,
|
|
321
|
-
allPages:
|
|
322
|
-
icons:
|
|
320
|
+
allPages: w,
|
|
321
|
+
icons: ye,
|
|
323
322
|
disabled: F,
|
|
324
323
|
pageItemStyle: Ce,
|
|
325
324
|
activePageItemStyle: ve,
|
|
326
|
-
itemRender:
|
|
325
|
+
itemRender: $e
|
|
327
326
|
};
|
|
328
327
|
if (U) {
|
|
329
328
|
const c = `${x}-item-simple`;
|
|
@@ -334,7 +333,7 @@ function et(e, n) {
|
|
|
334
333
|
{
|
|
335
334
|
disabled: F,
|
|
336
335
|
rootPrefixCls: x,
|
|
337
|
-
totalPages:
|
|
336
|
+
totalPages: w,
|
|
338
337
|
current: t,
|
|
339
338
|
onPageChange: H,
|
|
340
339
|
simple: {
|
|
@@ -346,18 +345,18 @@ function et(e, n) {
|
|
|
346
345
|
/* @__PURE__ */ a(D, { ...j, type: E.next }, "next")
|
|
347
346
|
] });
|
|
348
347
|
} else {
|
|
349
|
-
const c = 3 + R,
|
|
348
|
+
const c = 3 + R, z = w - 2 - R;
|
|
350
349
|
if (
|
|
351
350
|
// beginPage(1 page) + bufferSize * 2 + endPage(1 page) + ...(2 pages)
|
|
352
|
-
|
|
351
|
+
w <= 4 + R * 2 || t === c && t === z
|
|
353
352
|
)
|
|
354
|
-
for (let p = 1; p <=
|
|
355
|
-
|
|
353
|
+
for (let p = 1; p <= w; p++)
|
|
354
|
+
I.push(/* @__PURE__ */ J(G, { ...j, key: p, pageNum: p }));
|
|
356
355
|
else {
|
|
357
|
-
let p = 1,
|
|
358
|
-
t > c && t <
|
|
359
|
-
for (let V = p; V <=
|
|
360
|
-
|
|
356
|
+
let p = 1, N = w, se = !0, oe = !0;
|
|
357
|
+
t > c && t < z ? (N = t + R, p = t - R) : t <= c ? (se = !1, p = 1, N = Math.max(c, R + t)) : t >= z && (oe = !1, N = w, p = Math.min(z, t - R));
|
|
358
|
+
for (let V = p; V <= N; V++)
|
|
359
|
+
I.push(/* @__PURE__ */ a(G, { pageNum: V, ...j }, V));
|
|
361
360
|
const je = /* @__PURE__ */ J(
|
|
362
361
|
Z,
|
|
363
362
|
{
|
|
@@ -370,28 +369,28 @@ function et(e, n) {
|
|
|
370
369
|
Z,
|
|
371
370
|
{
|
|
372
371
|
...j,
|
|
373
|
-
key:
|
|
372
|
+
key: N + 1,
|
|
374
373
|
type: E.next,
|
|
375
374
|
jumpPage: R * 2 + 1
|
|
376
375
|
}
|
|
377
|
-
), Re = /* @__PURE__ */ a(G, { pageNum: 1, ...j }, 1), Ee = /* @__PURE__ */ J(G, { ...j, key:
|
|
378
|
-
se && (
|
|
376
|
+
), Re = /* @__PURE__ */ a(G, { pageNum: 1, ...j }, 1), Ee = /* @__PURE__ */ J(G, { ...j, key: w, pageNum: w });
|
|
377
|
+
se && (I[0] = W.cloneElement(I[0], {
|
|
379
378
|
className: `${x}-item-after-pre`
|
|
380
|
-
}),
|
|
381
|
-
|
|
379
|
+
}), I.unshift(je), I.unshift(Re)), oe && (I[I.length - 1] = W.cloneElement(
|
|
380
|
+
I[I.length - 1],
|
|
382
381
|
{
|
|
383
382
|
className: `${x}-item-before-next`
|
|
384
383
|
}
|
|
385
|
-
),
|
|
384
|
+
), I.push(ke), I.push(Ee));
|
|
386
385
|
}
|
|
387
386
|
X = /* @__PURE__ */ _("ul", { className: `${x}-list`, children: [
|
|
388
387
|
/* @__PURE__ */ J(D, { ...j, key: "previous", type: E.previous }),
|
|
389
|
-
|
|
390
|
-
|
|
388
|
+
I,
|
|
389
|
+
b && /* @__PURE__ */ J(
|
|
391
390
|
Z,
|
|
392
391
|
{
|
|
393
392
|
...j,
|
|
394
|
-
key:
|
|
393
|
+
key: w + 1,
|
|
395
394
|
type: E.next,
|
|
396
395
|
jumpPage: R * 2 + 1
|
|
397
396
|
}
|
|
@@ -416,11 +415,11 @@ function et(e, n) {
|
|
|
416
415
|
disabled: F,
|
|
417
416
|
rootPrefixCls: x,
|
|
418
417
|
sizeCanChange: Se,
|
|
419
|
-
sizeOptions:
|
|
418
|
+
sizeOptions: be,
|
|
420
419
|
onPageSizeChange: Pe,
|
|
421
420
|
pageSize: l,
|
|
422
421
|
size: B,
|
|
423
|
-
selectProps:
|
|
422
|
+
selectProps: Ne
|
|
424
423
|
}
|
|
425
424
|
),
|
|
426
425
|
!U && Q && /* @__PURE__ */ a(
|
|
@@ -428,7 +427,7 @@ function et(e, n) {
|
|
|
428
427
|
{
|
|
429
428
|
disabled: F,
|
|
430
429
|
rootPrefixCls: x,
|
|
431
|
-
totalPages:
|
|
430
|
+
totalPages: w,
|
|
432
431
|
current: t,
|
|
433
432
|
onPageChange: H,
|
|
434
433
|
size: B
|