@unicom-cloud/ui 0.8.54 → 0.8.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/{RRWbBHK-.js → B2Bp3i5u.js} +221 -221
- 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/{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/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/CilQ012k.js +1796 -0
- package/chunk/CkAOsst1.js +73 -0
- package/chunk/CnY8SvgY.js +126 -0
- package/chunk/{CTSIr-Pr.js → CwXmtKib.js} +89 -101
- package/chunk/{C3I_L73_.js → CwjaGytU.js} +39 -40
- package/chunk/{DTgc2wl4.js → D6RTBH4C.js} +36 -36
- package/chunk/D6mVoX-C.js +116 -0
- package/chunk/D9TqtOhq.js +40 -0
- package/chunk/{qSJXQ1qu.js → DBJ8d0o0.js} +183 -189
- package/chunk/{RL1SNlng.js → DDda6s72.js} +16 -16
- package/chunk/{BH5fVprw.js → DJmWXheU.js} +9 -9
- package/chunk/DPvnQJ-H.js +52 -0
- package/chunk/DQXq1QT0.js +58 -0
- package/chunk/DRJO1GfY.js +855 -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/{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/{Niaq_og8.js → Dw4SJ4o1.js} +219 -225
- package/chunk/{DbtCtriE.js → DxNRWF67.js} +30 -31
- package/chunk/JnyGFb5j.js +284 -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/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/chunk/{Dki1RB5p.js → t51ig1FZ.js} +154 -155
- package/chunk/{BC0PujUD.js → yvbAFxtk.js} +119 -121
- 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/modal/config.d.ts +1 -1
- 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/utils/scrollIntoView.js +1 -1
- package/chunk/BdYAMaw9.js +0 -6
- package/chunk/CiZVOdJ3.js +0 -122
- 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
package/types/anchor/util.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export declare function findNode(dom: HTMLElement | Document, selector: string):
|
|
|
2
2
|
export declare function slide(el: HTMLElement, top: number, cb: Function): void;
|
|
3
3
|
export declare function getContainer(targetContainer?: string | HTMLElement | Window): HTMLElement | Window | null;
|
|
4
4
|
export declare function getContainerElement(scrollContainer: HTMLElement | Window): HTMLElement;
|
|
5
|
+
export declare function getScrollParent(element: any): any;
|
package/types/button/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import Group from './Group';
|
|
|
3
3
|
import type { ButtonProps } from './interface';
|
|
4
4
|
declare const ForwardRefButton: React.ForwardRefExoticComponent<Partial<{
|
|
5
5
|
htmlType?: "button" | "submit" | "reset";
|
|
6
|
-
} & import("./interface").BaseButtonProps & Omit<React.ButtonHTMLAttributes<any>, "
|
|
6
|
+
} & import("./interface").BaseButtonProps & Omit<React.ButtonHTMLAttributes<any>, "className" | "type" | "onClick"> & {
|
|
7
7
|
href: string;
|
|
8
8
|
target?: string;
|
|
9
9
|
anchorProps?: React.HTMLProps<HTMLAnchorElement>;
|
|
10
|
-
} & Omit<React.AnchorHTMLAttributes<any>, "
|
|
10
|
+
} & Omit<React.AnchorHTMLAttributes<any>, "className" | "type" | "onClick">> & React.RefAttributes<unknown>>;
|
|
11
11
|
declare const ButtonComponent: typeof ForwardRefButton & {
|
|
12
12
|
__PQB_BUTTON: boolean;
|
|
13
13
|
Group: typeof Group;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const colors: FlatArray<boolean | string[], 0 |
|
|
1
|
+
export declare const colors: FlatArray<boolean | string[], 0 | 1 | -1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20>[];
|
|
2
2
|
export default colors;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
|
2
2
|
export declare function isTimeArrayChange(prevTime: Dayjs[], nextTime: Dayjs[]): boolean;
|
|
3
|
-
export declare function getAvailableDayjsLength(value: any):
|
|
3
|
+
export declare function getAvailableDayjsLength(value: any): 1 | 0 | 2;
|
|
4
4
|
export declare function isDisabledDate(cellDate: any, disabledDate: any, mode: any): boolean;
|
|
5
5
|
type WeekStartType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
6
|
export declare function getDefaultWeekStart(dayjsLocale: string): WeekStartType;
|
package/types/hooks/index.d.ts
CHANGED
|
@@ -1,124 +1,26 @@
|
|
|
1
1
|
export { default as useVerificationCode } from "./use-verification-code";
|
|
2
2
|
export { default as useWatermark } from "./use-watermark";
|
|
3
|
-
export { default as useAsync } from "./useAsync";
|
|
4
|
-
export { default as useAsyncFn } from "./useAsyncFn";
|
|
5
|
-
export { default as useAsyncRetry } from "./useAsyncRetry";
|
|
6
|
-
export { default as useAudio } from "./useAudio";
|
|
7
|
-
export { default as useBeforeUnload } from "./useBeforeUnload";
|
|
8
|
-
export { default as useBoolean } from "./useBoolean";
|
|
9
|
-
export { default as useClickAway } from "./useClickAway";
|
|
10
3
|
export { default as useComputedState } from "./useComputedState";
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as useCounter } from "./useCounter";
|
|
13
|
-
export { default as useCreation } from "./useCreation";
|
|
14
|
-
export { default as useCustomCompareEffect } from "./useCustomCompareEffect";
|
|
15
|
-
export { default as useDebounce } from "./useDebounce";
|
|
16
|
-
export { default as useDefault } from "./useDefault";
|
|
17
|
-
export { default as useDrop } from "./useDrop";
|
|
18
|
-
export { default as useDropArea } from "./useDropArea";
|
|
19
|
-
export { default as useEffectOnce } from "./useEffectOnce";
|
|
20
|
-
export { default as useEffectState } from "./useEffectState";
|
|
21
|
-
export { default as useEnsuredForwardedRef } from "./useEnsuredForwardedRef";
|
|
22
|
-
export { default as useError } from "./useError";
|
|
23
|
-
export { default as useEvent } from "./useEvent";
|
|
24
|
-
export { default as useEventListener } from "./useEventListener";
|
|
25
|
-
export { default as useFavicon } from "./useFavicon";
|
|
26
|
-
export { default as useFirstMountState } from "./useFirstMountState";
|
|
4
|
+
export { default as useCreate } from "./useCreate";
|
|
27
5
|
export { default as useForceUpdate } from "./useForceUpdate";
|
|
28
|
-
export { default as useFullscreen } from "./useFullscreen";
|
|
29
|
-
export { default as useGeolocation } from "./useGeolocation";
|
|
30
|
-
export { default as useGetSet } from "./useGetSet";
|
|
31
|
-
export { default as useGetSetState } from "./useGetSetState";
|
|
32
|
-
export { default as useHash } from "./useHash";
|
|
33
|
-
export { default as useHover } from "./useHover";
|
|
34
|
-
export { default as useHoverDirty } from "./useHoverDirty";
|
|
35
6
|
export { default as useId } from "./useId";
|
|
36
|
-
export { default as useIdle } from "./useIdle";
|
|
37
|
-
export { default as useInView } from "./useInView";
|
|
38
|
-
export { default as useIntersection } from "./useIntersection";
|
|
39
7
|
export { default as useIntersectionObserver } from "./useIntersectionObserver";
|
|
40
8
|
export { default as useInterval } from "./useInterval";
|
|
9
|
+
export { default as useInView } from "./useInView";
|
|
41
10
|
export { default as useIsFirstRender } from "./useIsFirstRender";
|
|
42
11
|
export { default as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect";
|
|
43
|
-
export { default as useKey } from "./useKey";
|
|
44
|
-
export { default as useKeyPress } from "./useKeyPress";
|
|
45
|
-
export { default as useKeyPressEvent } from "./useKeyPressEvent";
|
|
46
12
|
export { default as useKeyboardEvent } from "./useKeyboardEvent";
|
|
47
|
-
export { default as useLatest } from "./useLatest";
|
|
48
|
-
export { default as useLifecycles } from "./useLifecycles";
|
|
49
|
-
export { default as useList } from "./useList";
|
|
50
|
-
export { default as useLocalStorage } from "./useLocalStorage";
|
|
51
|
-
export { default as useLocation } from "./useLocation";
|
|
52
|
-
export { default as useLockBodyScroll } from "./useLockBodyScroll";
|
|
53
|
-
export { default as useLogger } from "./useLogger";
|
|
54
|
-
export { default as useLongPress } from "./useLongPress";
|
|
55
|
-
export { default as useMap } from "./useMap";
|
|
56
|
-
export { default as useMeasure } from "./useMeasure";
|
|
57
|
-
export { default as useMeasureDirty } from "./useMeasureDirty";
|
|
58
13
|
export { default as useMedia } from "./useMedia";
|
|
59
|
-
export { default as useMediaDevices } from "./useMediaDevices";
|
|
60
|
-
export { default as useMediatedState } from "./useMediatedState";
|
|
61
14
|
export { default as useMergeProps } from "./useMergeProps";
|
|
62
15
|
export { default as useMergeValue } from "./useMergeValue";
|
|
63
|
-
export { default as useMethods } from "./useMethods";
|
|
64
|
-
export { default as useMotion } from "./useMotion";
|
|
65
|
-
export { default as useMount } from "./useMount";
|
|
66
|
-
export { default as useMountedState } from "./useMountedState";
|
|
67
|
-
export { default as useMouse } from "./useMouse";
|
|
68
|
-
export { default as useMouseHovered } from "./useMouseHovered";
|
|
69
|
-
export { default as useMouseWheel } from "./useMouseWheel";
|
|
70
|
-
export { default as useMultiStateValidator } from "./useMultiStateValidator";
|
|
71
|
-
export { default as useNetworkState } from "./useNetworkState";
|
|
72
|
-
export { default as useNumber } from "./useNumber";
|
|
73
|
-
export { default as useObservable } from "./useObservable";
|
|
74
|
-
export { default as useOrientation } from "./useOrientation";
|
|
75
16
|
export { default as useOverflowHidden } from "./useOverflowHidden";
|
|
76
17
|
export { default as useOverrideRef } from "./useOverrideRef";
|
|
77
|
-
export { default as usePageLeave } from "./usePageLeave";
|
|
78
|
-
export { default as usePermission } from "./usePermission";
|
|
79
18
|
export { default as usePersistCallback } from "./usePersistCallback";
|
|
80
|
-
export { default as usePinchZoom } from "./usePinchZoom";
|
|
81
19
|
export { default as usePrevious } from "./usePrevious";
|
|
82
|
-
export { default as usePreviousDistinct } from "./usePreviousDistinct";
|
|
83
|
-
export { default as usePromise } from "./usePromise";
|
|
84
|
-
export { default as useQueue } from "./useQueue";
|
|
85
|
-
export { default as useRaf } from "./useRaf";
|
|
86
|
-
export { default as useRafLoop } from "./useRafLoop";
|
|
87
|
-
export { default as useRafState } from "./useRafState";
|
|
88
|
-
export { default as useReactive } from "./useReactive";
|
|
89
20
|
export { default as useRefs } from "./useRefs";
|
|
90
|
-
export { default as
|
|
91
|
-
export { default as useScroll } from "./useScroll";
|
|
92
|
-
export { default as useScrolling } from "./useScrolling";
|
|
93
|
-
export { default as useSearchParam } from "./useSearchParam";
|
|
94
|
-
export { default as useSessionStorage } from "./useSessionStorage";
|
|
95
|
-
export { default as useSet } from "./useSet";
|
|
96
|
-
export { default as useSetState } from "./useSetState";
|
|
97
|
-
export { default as useSize } from "./useSize";
|
|
98
|
-
export { default as useSlider } from "./useSlider";
|
|
99
|
-
export { default as useSpeech } from "./useSpeech";
|
|
100
|
-
export { default as useStartTyping } from "./useStartTyping";
|
|
21
|
+
export { default as useResizeObserver } from "./useResizeObserver";
|
|
101
22
|
export { default as useStateCallback } from "./useStateCallback";
|
|
102
|
-
export { default as useStateList } from "./useStateList";
|
|
103
|
-
export { default as useStateValidator } from "./useStateValidator";
|
|
104
|
-
export { default as useStateWithHistory } from "./useStateWithHistory";
|
|
105
23
|
export { default as useStateWithPromise } from "./useStateWithPromise";
|
|
106
|
-
export { default as useSyncState } from "./useSyncState";
|
|
107
|
-
export { default as useThrottle } from "./useThrottle";
|
|
108
|
-
export { default as useThrottleFn } from "./useThrottleFn";
|
|
109
|
-
export { default as useTimeout } from "./useTimeout";
|
|
110
|
-
export { default as useTimeoutFn } from "./useTimeoutFn";
|
|
111
|
-
export { default as useTitle } from "./useTitle";
|
|
112
|
-
export { default as useToggle } from "./useToggle";
|
|
113
|
-
export { default as useTween } from "./useTween";
|
|
114
|
-
export { default as useUnmount } from "./useUnmount";
|
|
115
|
-
export { default as useUnmountPromise } from "./useUnmountPromise";
|
|
116
|
-
export { default as useUpdate } from "./useUpdate";
|
|
117
24
|
export { default as useUpdateEffect } from "./useUpdateEffect";
|
|
118
|
-
export { default as useUpdateTimeout } from "./useUpdateTimeout";
|
|
119
|
-
export { default as useUpsert } from "./useUpsert";
|
|
120
|
-
export { default as useVibrate } from "./useVibrate";
|
|
121
|
-
export { default as useVideo } from "./useVideo";
|
|
122
25
|
export { default as useWatch } from "./useWatch";
|
|
123
|
-
export { default as useWindowScroll } from "./useWindowScroll";
|
|
124
26
|
export { default as useWindowSize } from "./useWindowSize";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default useForceUpdate;
|
|
2
|
-
declare function useForceUpdate(): () => void;
|
|
1
|
+
export default function useForceUpdate(): import("react").DispatchWithoutAction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const supportIntersectionObserver: boolean;
|
|
2
|
-
declare function useIntersectionObserver(callback:
|
|
2
|
+
declare function useIntersectionObserver(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): {
|
|
3
3
|
observer: IntersectionObserver | undefined;
|
|
4
4
|
cor: (elem: Element) => void;
|
|
5
5
|
dor: () => void;
|
|
@@ -2,7 +2,7 @@ import { KeyboardEventHandler } from 'react';
|
|
|
2
2
|
type CallBackEventType = 'onPressEnter' | 'onArrowUp' | 'onArrowLeft' | 'onArrowRight' | 'onArrowDown';
|
|
3
3
|
export default function useKeyboardEvent(props?: {
|
|
4
4
|
onKeyDown?: KeyboardEventHandler;
|
|
5
|
-
}): (callbacks: { [key in CallBackEventType]?: (
|
|
6
|
-
onKeyDown
|
|
5
|
+
}): (callbacks: { [key in CallBackEventType]?: (e: any) => void; }) => {
|
|
6
|
+
onKeyDown(e: any): void;
|
|
7
7
|
};
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type MergePropsOptions = {
|
|
2
2
|
_ignorePropsFromGlobal?: boolean;
|
|
3
3
|
};
|
|
4
|
-
export default function useMergeProps<PropsType>(componentProps: PropsType & MergePropsOptions, defaultProps: Partial<PropsType
|
|
4
|
+
export default function useMergeProps<PropsType>(componentProps: PropsType & MergePropsOptions, defaultProps: Partial<PropsType>, globalComponentConfig: Partial<PropsType>): PropsType;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export default useUpdateEffect;
|
|
1
|
+
import { DependencyList } from 'react';
|
|
2
|
+
export default function useUpdateEffect(fn: () => void, deps?: DependencyList): void;
|
package/types/icons.d.ts
ADDED
package/types/index.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
export { default as computeScrollIntoView } from "@unicom-cloud/compute-scroll-into-view";
|
|
2
2
|
export { default as scrollIntoViewIfNeeded } from "@unicom-cloud/scroll-into-view-if-needed";
|
|
3
|
+
export { default as caseName } from "@unicom-cloud/utils/case-name";
|
|
4
|
+
export { default as className } from "@unicom-cloud/utils/class-name";
|
|
5
|
+
export { default as clipboardCopy } from "@unicom-cloud/utils/clipboard-copy";
|
|
6
|
+
export { default as saveAs } from "@unicom-cloud/utils/file/saveAs";
|
|
7
|
+
export { default as math } from "@unicom-cloud/utils/math";
|
|
8
|
+
export { default as screenfull } from "@unicom-cloud/utils/screenfull";
|
|
9
|
+
export { default as validate } from "@unicom-cloud/utils/validate";
|
|
10
|
+
export * from "@unicom-cloud/utils/is";
|
|
3
11
|
export * from "./hooks";
|
|
4
12
|
export * from "./utils/is";
|
|
5
|
-
export { default as className } from "./utils/className";
|
|
6
13
|
export { default as Affix } from "./affix";
|
|
7
14
|
export { default as Alert } from "./alert";
|
|
8
15
|
export { default as Anchor } from "./anchor";
|
|
@@ -81,5 +88,8 @@ export { default as Upload } from "./upload";
|
|
|
81
88
|
export { default as VerificationCode } from "./verification-code";
|
|
82
89
|
export { default as Version } from "./version";
|
|
83
90
|
export { default as Watermark } from "./watermark";
|
|
84
|
-
export { CSSTransition, SwitchTransition, Transition, TransitionGroup } from "@unicom-cloud/react-transition-group";
|
|
91
|
+
export { CSSTransition, default as ReactTransitionGroup, ReplaceTransition, SwitchTransition, Transition, TransitionGroup } from "@unicom-cloud/react-transition-group";
|
|
92
|
+
export { default as TinyColor, convertDecimalToHex, convertHexToDecimal, hslToRgb, hsvToRgb, numberInputToObject, parseIntFromHex, rgbToHex, rgbToHsl, rgbToHsv, rgbToRgb, rgbaToArgbHex, rgbaToHex } from "@unicom-cloud/utils/tinycolor";
|
|
93
|
+
export { default as Tween, easing } from "@unicom-cloud/utils/tween";
|
|
94
|
+
export { default as UiColor, colorPresets, colors, generate, generateDark, getRgbArrayString, grayPresets, palette, paletteDark } from "@unicom-cloud/utils/ui-color";
|
|
85
95
|
export { ConfigConsumer, ConfigContext, default as ConfigProvider } from "./config-provider";
|
package/types/locale/en-US.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare const _default: {
|
|
|
6
6
|
formatYear: string;
|
|
7
7
|
formatMonth: string;
|
|
8
8
|
monthBeforeYear: boolean;
|
|
9
|
+
monthFormat: string;
|
|
10
|
+
yearFormat: string;
|
|
9
11
|
today: string;
|
|
10
12
|
view: {
|
|
11
13
|
month: string;
|
|
@@ -71,6 +73,8 @@ declare const _default: {
|
|
|
71
73
|
formatYear: string;
|
|
72
74
|
formatMonth: string;
|
|
73
75
|
monthBeforeYear: boolean;
|
|
76
|
+
monthFormat: string;
|
|
77
|
+
yearFormat: string;
|
|
74
78
|
today: string;
|
|
75
79
|
view: {
|
|
76
80
|
month: string;
|
package/types/locale/ja-JP.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare const _default: {
|
|
|
6
6
|
formatYear: string;
|
|
7
7
|
formatMonth: string;
|
|
8
8
|
monthBeforeYear: boolean;
|
|
9
|
+
monthFormat: string;
|
|
10
|
+
yearFormat: string;
|
|
9
11
|
today: string;
|
|
10
12
|
view: {
|
|
11
13
|
month: string;
|
|
@@ -71,6 +73,8 @@ declare const _default: {
|
|
|
71
73
|
formatYear: string;
|
|
72
74
|
formatMonth: string;
|
|
73
75
|
monthBeforeYear: boolean;
|
|
76
|
+
monthFormat: string;
|
|
77
|
+
yearFormat: string;
|
|
74
78
|
today: string;
|
|
75
79
|
view: {
|
|
76
80
|
month: string;
|
package/types/locale/zh-CN.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare const _default: {
|
|
|
6
6
|
formatYear: string;
|
|
7
7
|
formatMonth: string;
|
|
8
8
|
monthBeforeYear: boolean;
|
|
9
|
+
monthFormat: string;
|
|
10
|
+
yearFormat: string;
|
|
9
11
|
today: string;
|
|
10
12
|
view: {
|
|
11
13
|
month: string;
|
|
@@ -71,6 +73,8 @@ declare const _default: {
|
|
|
71
73
|
formatYear: string;
|
|
72
74
|
formatMonth: string;
|
|
73
75
|
monthBeforeYear: boolean;
|
|
76
|
+
monthFormat: string;
|
|
77
|
+
yearFormat: string;
|
|
74
78
|
today: string;
|
|
75
79
|
view: {
|
|
76
80
|
month: string;
|
package/types/locale/zh-HK.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare const _default: {
|
|
|
6
6
|
formatYear: string;
|
|
7
7
|
formatMonth: string;
|
|
8
8
|
monthBeforeYear: boolean;
|
|
9
|
+
yearFormat: string;
|
|
10
|
+
monthFormat: string;
|
|
9
11
|
today: string;
|
|
10
12
|
view: {
|
|
11
13
|
month: string;
|
|
@@ -71,6 +73,8 @@ declare const _default: {
|
|
|
71
73
|
formatYear: string;
|
|
72
74
|
formatMonth: string;
|
|
73
75
|
monthBeforeYear: boolean;
|
|
76
|
+
yearFormat: string;
|
|
77
|
+
monthFormat: string;
|
|
74
78
|
today: string;
|
|
75
79
|
view: {
|
|
76
80
|
month: string;
|
package/types/locale/zh-TW.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare const _default: {
|
|
|
6
6
|
formatYear: string;
|
|
7
7
|
formatMonth: string;
|
|
8
8
|
monthBeforeYear: boolean;
|
|
9
|
+
yearFormat: string;
|
|
10
|
+
monthFormat: string;
|
|
9
11
|
today: string;
|
|
10
12
|
view: {
|
|
11
13
|
month: string;
|
|
@@ -71,6 +73,8 @@ declare const _default: {
|
|
|
71
73
|
formatYear: string;
|
|
72
74
|
formatMonth: string;
|
|
73
75
|
monthBeforeYear: boolean;
|
|
76
|
+
yearFormat: string;
|
|
77
|
+
monthFormat: string;
|
|
74
78
|
today: string;
|
|
75
79
|
view: {
|
|
76
80
|
month: string;
|
package/types/modal/config.d.ts
CHANGED
|
@@ -8,4 +8,4 @@ export type ModalConfigType = {
|
|
|
8
8
|
export declare const setModalConfig: (config: ModalConfigType) => void;
|
|
9
9
|
export declare const getModalConfig: () => ModalConfigType;
|
|
10
10
|
export declare const destroyList: Array<Function>;
|
|
11
|
-
export declare const showList: Array<
|
|
11
|
+
export declare const showList: Array<HTMLElement>;
|
package/types/version/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.
|
|
1
|
+
export declare const version = "2.64.0";
|
|
2
2
|
export default version;
|
package/utils/CSSTransition.js
CHANGED
package/utils/className.js
CHANGED
package/utils/contextHolder.js
CHANGED
package/utils/copy.js
CHANGED
package/utils/is.js
CHANGED
|
@@ -1,105 +1,142 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { K as D, t as L, r as h, V as k, z as v, G as B, H as P, _ as Y, Y as I, Q as V, f as j, Z as q } from "../chunk/BeM2hfks.js";
|
|
2
|
+
import { isValidElement as i } from "react";
|
|
3
|
+
import u from "react-dom";
|
|
4
|
+
import { isForwardRef as p, ForwardRef as s, Memo as m } from "react-is";
|
|
5
|
+
import y from "lodash/isPlainObject";
|
|
6
|
+
import { default as U } from "lodash/isPlainObject";
|
|
7
|
+
import { default as G } from "lodash/isArguments";
|
|
8
|
+
import { default as K } from "lodash/isArray";
|
|
9
|
+
import { default as Z } from "lodash/isArrayBuffer";
|
|
10
|
+
import { default as rr } from "lodash/isArrayLike";
|
|
11
|
+
import { default as er } from "lodash/isArrayLikeObject";
|
|
12
|
+
import { default as sr } from "lodash/isBoolean";
|
|
13
|
+
import { default as fr } from "lodash/isBuffer";
|
|
14
|
+
import { default as ur } from "lodash/isDate";
|
|
15
|
+
import { default as lr } from "lodash/isElement";
|
|
16
|
+
import { default as dr } from "lodash/isEmpty";
|
|
17
|
+
import { default as yr } from "lodash/isEqual";
|
|
18
|
+
import { default as cr } from "lodash/isEqualWith";
|
|
19
|
+
import { default as $r } from "lodash/isError";
|
|
20
|
+
import { default as Sr } from "lodash/isFinite";
|
|
21
|
+
import { default as Nr } from "lodash/isFunction";
|
|
22
|
+
import { default as Or } from "lodash/isInteger";
|
|
23
|
+
import { default as Cr } from "lodash/isLength";
|
|
24
|
+
import { default as _r } from "lodash/isMap";
|
|
25
|
+
import { default as Fr } from "lodash/isMatch";
|
|
26
|
+
import { default as Wr } from "lodash/isMatchWith";
|
|
27
|
+
import { default as Lr } from "lodash/isNaN";
|
|
28
|
+
import { default as kr } from "lodash/isNative";
|
|
29
|
+
import { default as Br } from "lodash/isNil";
|
|
30
|
+
import { default as Yr } from "lodash/isNull";
|
|
31
|
+
import { default as Vr } from "lodash/isNumber";
|
|
32
|
+
import { default as qr } from "lodash/isObject";
|
|
33
|
+
import { default as Ur } from "lodash/isObjectLike";
|
|
34
|
+
import { default as Gr } from "lodash/isRegExp";
|
|
35
|
+
import { default as Kr } from "lodash/isSafeInteger";
|
|
36
|
+
import { default as Zr } from "lodash/isSet";
|
|
37
|
+
import { default as rt } from "lodash/isString";
|
|
38
|
+
import { default as et } from "lodash/isSymbol";
|
|
39
|
+
import { default as st } from "lodash/isTypedArray";
|
|
40
|
+
import { default as ft } from "lodash/isUndefined";
|
|
41
|
+
import { default as ut } from "lodash/isWeakMap";
|
|
42
|
+
import { default as lt } from "lodash/isWeakSet";
|
|
43
|
+
function O(r) {
|
|
7
44
|
return r == null;
|
|
8
45
|
}
|
|
9
|
-
function
|
|
10
|
-
return r == null || r === !1 || typeof r == "string" && (
|
|
46
|
+
function T(r, t) {
|
|
47
|
+
return r == null || r === !1 || typeof r == "string" && (t ? r.trim() === "" : r === "");
|
|
11
48
|
}
|
|
12
|
-
function
|
|
49
|
+
function C(r) {
|
|
13
50
|
return r || r === 0;
|
|
14
51
|
}
|
|
15
|
-
function
|
|
52
|
+
function M(r) {
|
|
16
53
|
return r === window;
|
|
17
54
|
}
|
|
18
|
-
function
|
|
19
|
-
return
|
|
55
|
+
function _(r) {
|
|
56
|
+
return y(r) && "$y" in r && "$M" in r && "$D" in r && "$d" in r && "$H" in r && "$m" in r && "$s" in r;
|
|
20
57
|
}
|
|
21
|
-
const
|
|
22
|
-
var
|
|
23
|
-
return
|
|
24
|
-
},
|
|
25
|
-
var
|
|
26
|
-
const
|
|
27
|
-
var
|
|
28
|
-
const
|
|
29
|
-
if (!
|
|
30
|
-
return
|
|
31
|
-
const
|
|
58
|
+
const l = (r) => r && i(r) && typeof r.type == "function", x = (r) => {
|
|
59
|
+
var t;
|
|
60
|
+
return l(r) && !!((t = r.type.prototype) != null && t.isReactComponent);
|
|
61
|
+
}, c = (r) => i(r) && typeof r.type == "string";
|
|
62
|
+
var a;
|
|
63
|
+
const g = Number((a = u.version) == null ? void 0 : a.split(".")[0]) > 17;
|
|
64
|
+
var f;
|
|
65
|
+
const E = Number((f = u.version) == null ? void 0 : f.split(".")[0]) > 18, $ = (r) => {
|
|
66
|
+
if (!E)
|
|
67
|
+
return p(r);
|
|
68
|
+
const t = Symbol.for("react.element"), n = Symbol.for("react.transitional.element"), d = Symbol.for("react.forward_ref");
|
|
32
69
|
if (typeof r == "object" && r !== null) {
|
|
33
|
-
const
|
|
34
|
-
if (
|
|
35
|
-
const
|
|
36
|
-
return (
|
|
70
|
+
const e = r.$$typeof;
|
|
71
|
+
if (e === t || e === n) {
|
|
72
|
+
const o = r.type;
|
|
73
|
+
return (o && o.$$typeof) === d;
|
|
37
74
|
}
|
|
38
75
|
}
|
|
39
76
|
return !1;
|
|
40
|
-
},
|
|
41
|
-
var
|
|
42
|
-
return r ?
|
|
77
|
+
}, F = (r) => {
|
|
78
|
+
var t;
|
|
79
|
+
return r ? c(r) || $(r) || p(r) || r.$$typeof === s ? !0 : r.$$typeof === m ? ((t = r.type) == null ? void 0 : t.$$typeof) === s : l(r) ? x(r) : !1 : !1;
|
|
43
80
|
};
|
|
44
81
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
82
|
+
G as isArguments,
|
|
83
|
+
K as isArray,
|
|
84
|
+
Z as isArrayBuffer,
|
|
85
|
+
rr as isArrayLike,
|
|
86
|
+
er as isArrayLikeObject,
|
|
87
|
+
D as isBlob,
|
|
88
|
+
sr as isBoolean,
|
|
89
|
+
fr as isBuffer,
|
|
90
|
+
x as isClassComponent,
|
|
91
|
+
L as isColor,
|
|
92
|
+
h as isColor2,
|
|
93
|
+
c as isDOMElement,
|
|
94
|
+
ur as isDate,
|
|
95
|
+
_ as isDayjs,
|
|
96
|
+
lr as isElement,
|
|
97
|
+
dr as isEmpty,
|
|
98
|
+
k as isEmptyArray,
|
|
99
|
+
v as isEmptyObject,
|
|
100
|
+
T as isEmptyReactNode,
|
|
101
|
+
B as isEmptyValue,
|
|
102
|
+
yr as isEqual,
|
|
103
|
+
cr as isEqualWith,
|
|
104
|
+
$r as isError,
|
|
105
|
+
C as isExist,
|
|
106
|
+
P as isFile,
|
|
107
|
+
Sr as isFinite,
|
|
108
|
+
Nr as isFunction,
|
|
109
|
+
Or as isInteger,
|
|
110
|
+
Y as isJSON,
|
|
111
|
+
Cr as isLength,
|
|
112
|
+
_r as isMap,
|
|
113
|
+
Fr as isMatch,
|
|
114
|
+
Wr as isMatchWith,
|
|
115
|
+
Lr as isNaN,
|
|
116
|
+
kr as isNative,
|
|
117
|
+
Br as isNil,
|
|
118
|
+
Yr as isNull,
|
|
119
|
+
O as isNullOrUndefined,
|
|
120
|
+
Vr as isNumber,
|
|
121
|
+
qr as isObject,
|
|
122
|
+
Ur as isObjectLike,
|
|
123
|
+
U as isPlainObject,
|
|
124
|
+
g as isReact18,
|
|
125
|
+
E as isReact19,
|
|
126
|
+
l as isReactComponent,
|
|
127
|
+
I as isReadableByteStreamControllerSupported,
|
|
128
|
+
V as isReadableStream,
|
|
129
|
+
j as isReadableStreamSupported,
|
|
130
|
+
q as isReadableStreamSymbolAsyncIteratorSupported,
|
|
131
|
+
Gr as isRegExp,
|
|
132
|
+
Kr as isSafeInteger,
|
|
133
|
+
Zr as isSet,
|
|
134
|
+
rt as isString,
|
|
135
|
+
et as isSymbol,
|
|
136
|
+
st as isTypedArray,
|
|
137
|
+
ft as isUndefined,
|
|
138
|
+
ut as isWeakMap,
|
|
139
|
+
lt as isWeakSet,
|
|
140
|
+
M as isWindow,
|
|
141
|
+
F as supportRef
|
|
105
142
|
};
|