@unicom-cloud/ui 0.8.118 → 0.8.120
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 +10 -11
- package/Alert.js +4 -4
- package/Anchor.js +1 -1
- package/App.js +1 -1
- package/AutoComplete.js +11 -12
- package/Avatar.js +1 -1
- package/BackTop.js +8 -8
- package/Badge.js +11 -12
- package/Breadcrumb.js +5 -5
- package/Button.js +10 -11
- package/Calendar.js +11 -12
- package/Card.js +3 -3
- package/Carousel.js +10 -11
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +18 -19
- package/Comment.js +7 -8
- package/ConfigProvider.js +1 -1
- package/Constant.js +1 -1
- package/Copy.js +8 -9
- package/Countdown.js +8 -25
- package/DatePicker.js +1 -1
- package/Descriptions.js +6 -7
- package/Details.js +9 -27
- package/Development.js +4 -6
- package/Divider.js +3 -3
- package/Draggable.js +2 -2
- package/Drawer.js +1 -1
- package/Dropdown.js +13 -14
- package/Empty.js +5 -11
- package/Flex.js +10 -29
- package/Form.js +1 -1
- package/Grid.js +1 -1
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +7 -8
- package/InputTag.js +1 -1
- package/Layout.js +15 -16
- package/Link.js +4 -4
- package/LiquidFill.js +7 -29
- package/List.js +11 -12
- package/Loading.js +8 -26
- package/Marquee.js +107 -175
- package/Mentions.js +4 -4
- package/Menu.js +1 -1
- package/Message.js +11 -18
- package/Modal.js +1 -1
- package/Notice.js +8 -26
- package/Notification.js +12 -19
- package/OverflowEllipsis.js +3 -3
- package/PageHeader.js +9 -10
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +7 -8
- package/Popover.js +6 -7
- package/Portal.js +1 -1
- package/Progress.js +4 -4
- package/QrCode.js +10 -28
- package/Radio.js +1 -1
- package/Rate.js +7 -8
- package/ResizeBox.js +13 -14
- package/Result.js +3 -3
- package/RichText.js +3 -3
- package/RowCol.js +1 -1
- package/Segmented.js +9 -28
- package/Select.js +1 -1
- package/SelectView.js +6 -7
- package/Skeleton.js +7 -8
- package/Slider.js +10 -11
- package/Space.js +10 -29
- package/SpeechSynthesis.js +4 -8
- package/Spin.js +4 -4
- package/Splitter.js +1 -1
- package/Statistic.js +10 -11
- package/Steps.js +10 -11
- package/SuspenseFallbackTest.js +2 -2
- package/Switch.js +9 -16
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +9 -10
- package/TimePicker.js +1 -1
- package/Timeline.js +1 -1
- package/Tooltip.js +7 -8
- package/Tour.js +11 -29
- package/Transfer.js +8 -9
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +14 -21
- package/Typography.js +1 -1
- package/Upload.js +1 -1
- package/VerificationCode.js +1 -1
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/affix/index.js +52 -48
- package/alert/index.js +47 -47
- package/anchor/Anchor.js +98 -95
- package/anchor/Link.js +33 -30
- package/anchor/context.js +1 -1
- package/anchor/index.js +1 -1
- package/anchor/utils.js +16 -17
- package/app/App.js +1 -1
- package/app/context.js +1 -1
- package/app/index.js +1 -1
- package/app/useApp.js +1 -1
- package/auto-complete/index.js +84 -81
- package/avatar/Avatar.js +26 -22
- package/avatar/Group.js +39 -35
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/back-top/index.js +31 -31
- package/badge/Count.js +15 -15
- package/badge/index.js +52 -48
- package/breadcrumb/Item.js +23 -24
- package/breadcrumb/index.js +40 -35
- package/button/Group.js +7 -7
- package/button/index.js +76 -76
- package/calendar/Lunar.js +27 -28
- package/calendar/Month.js +36 -37
- package/calendar/WeekList.js +1 -1
- package/calendar/Year.js +18 -19
- package/calendar/header/Panel.js +19 -20
- package/calendar/header/index.js +26 -27
- package/calendar/hook/useCellClassName.js +20 -21
- package/calendar/index.js +95 -95
- package/card/Grid.js +14 -14
- package/card/Meta.js +18 -18
- package/card/index.js +46 -40
- package/carousel/Arrow.js +19 -19
- package/carousel/Indicator.js +20 -20
- package/carousel/index.js +64 -60
- package/cascader/Cascader.js +66 -67
- package/cascader/base/node.js +19 -20
- package/cascader/base/store.js +14 -15
- package/cascader/hook/useRefCurrent.js +9 -9
- package/cascader/index.js +1 -1
- package/cascader/panel/List.js +72 -79
- package/cascader/panel/Option.js +1 -1
- package/cascader/panel/Search.js +51 -52
- package/cascader/utils.js +10 -11
- package/checkbox/Checkbox.js +64 -60
- package/checkbox/Group.js +50 -47
- package/checkbox/GroupBlock.js +26 -22
- package/checkbox/IconCheck.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/useCheckbox.js +4 -5
- package/collapse/Collapse.js +50 -46
- package/collapse/Item.js +46 -55
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +26 -26
- package/color-picker/InputAlpha.js +8 -8
- package/color-picker/InputHex.js +23 -23
- package/color-picker/InputRgb.js +11 -11
- package/color-picker/Mode.js +6 -7
- package/color-picker/Palette.js +6 -6
- package/color-picker/Panel.js +30 -27
- package/color-picker/colors.js +1 -1
- package/color-picker/hooks/useColorPicker.js +75 -76
- package/color-picker/hooks/useControlBlock.js +8 -9
- package/color-picker/index.js +84 -85
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +19 -20
- package/comment/index.js +37 -33
- package/config-provider/ConfigProvider.js +40 -40
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +1 -1
- package/constant/index.js +1 -1
- package/copy/index.js +29 -25
- package/countdown/index.js +63 -75
- package/countdown/utils.js +2 -2
- package/date-picker/Picker.js +161 -153
- package/date-picker/RangePicker.js +256 -244
- package/date-picker/context.js +1 -1
- package/date-picker/hook/useCellClassName.js +46 -47
- package/date-picker/index.js +1 -1
- package/date-picker/panel/Body.js +17 -15
- package/date-picker/panel/Footer.js +25 -23
- package/date-picker/panel/Header.js +71 -45
- package/date-picker/panel/Shortcut.js +14 -15
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +188 -157
- package/date-picker/panel/month/index.js +74 -63
- package/date-picker/panel/quarter/index.js +76 -65
- package/date-picker/panel/range/index.js +165 -152
- package/date-picker/panel/week/index.js +36 -23
- package/date-picker/panel/year/index.js +61 -50
- package/date-picker/utils.js +25 -26
- package/descriptions/index.js +79 -79
- package/details/index.js +75 -88
- package/development/index.js +16 -14
- package/divider/index.js +40 -36
- package/draggable/Item.js +2 -2
- package/draggable/index.js +15 -15
- package/drawer/Drawer.js +55 -56
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +31 -31
- package/dropdown/index.js +61 -62
- package/empty/index.js +18 -23
- package/flex/index.js +36 -50
- package/form/Control.js +59 -60
- package/form/Form.js +41 -42
- package/form/FormItem.js +79 -78
- package/form/FormLabel.js +65 -38
- package/form/FormList.js +19 -20
- package/form/FormProvider.js +1 -1
- package/form/context.js +21 -16
- package/form/hook/useContext.js +10 -10
- package/form/hook/useForm.js +1 -1
- package/form/hook/useState.js +12 -13
- package/form/hook/useWatch.js +10 -11
- package/form/index.js +1 -1
- package/form/interface.js +1 -1
- package/form/promisify.js +9 -10
- package/form/store.js +10 -11
- package/form/utils.js +19 -20
- package/grid/Grid.js +46 -42
- package/grid/Item.js +31 -27
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/utils.js +1 -1
- package/hooks/index.js +6 -199
- package/hooks/use-computed-state/index.js +2 -2
- package/hooks/use-create/index.js +2 -2
- package/hooks/use-creation/index.js +2 -2
- package/hooks/use-force-update/index.js +2 -2
- package/hooks/use-id/index.js +2 -2
- package/hooks/use-in-view/index.js +2 -2
- package/hooks/use-intersection-observer/index.js +2 -2
- package/hooks/use-interval/index.js +2 -2
- package/hooks/use-is-first-render/index.js +2 -2
- package/hooks/use-isomorphic-layout-effect/index.js +2 -2
- package/hooks/use-keyboard-event/index.js +2 -2
- package/hooks/use-listen-window-resize/index.js +2 -2
- package/hooks/use-media/index.js +2 -2
- package/hooks/use-merge-props/index.js +2 -2
- package/hooks/use-merge-value/index.js +2 -2
- package/hooks/use-online-status/index.js +2 -2
- package/hooks/use-overflow-hidden/index.js +2 -2
- package/hooks/use-override-ref/index.js +2 -2
- package/hooks/use-persist-callback/index.js +2 -2
- package/hooks/use-prefers-color-scheme-dark/index.js +2 -2
- package/hooks/use-previous/index.js +2 -2
- package/hooks/use-refs/index.js +2 -2
- package/hooks/use-resize-observer/index.js +2 -2
- package/hooks/use-responsive-state/index.js +8 -9
- package/hooks/use-state-callback/index.js +2 -2
- package/hooks/use-state-with-promise/index.js +2 -2
- package/hooks/use-update-effect/index.js +2 -2
- package/hooks/use-verification-code/index.js +15 -16
- package/hooks/use-watch/index.js +2 -2
- package/hooks/use-watermark/index.js +6 -7
- package/hooks/use-watermark/utils.js +1 -1
- package/hooks/use-window-size/index.js +2 -2
- package/hooks/useComputedState.js +2 -2
- package/hooks/useCreate.js +2 -2
- package/hooks/useCreation.js +2 -2
- package/hooks/useForceUpdate.js +2 -2
- package/hooks/useId.js +2 -2
- package/hooks/useInView.js +2 -2
- package/hooks/useIntersectionObserver.js +2 -2
- package/hooks/useInterval.js +2 -2
- package/hooks/useIsFirstRender.js +2 -2
- package/hooks/useIsomorphicLayoutEffect.js +2 -2
- package/hooks/useKeyboardEvent.js +2 -2
- package/hooks/useListenWindowResize.js +2 -2
- package/hooks/useMedia.js +2 -2
- package/hooks/useMergeProps.js +2 -2
- package/hooks/useMergeValue.js +2 -2
- package/hooks/useOnlineStatus.js +2 -2
- package/hooks/useOverflowHidden.js +2 -2
- package/hooks/useOverrideRef.js +2 -2
- package/hooks/usePersistCallback.js +2 -2
- package/hooks/usePrefersColorSchemeDark.js +2 -2
- package/hooks/usePrevious.js +2 -2
- package/hooks/useRefs.js +2 -2
- package/hooks/useResizeObserver.js +2 -2
- package/hooks/useResponsiveState.js +5 -6
- package/hooks/useStateCallback.js +2 -2
- package/hooks/useStateWithPromise.js +2 -2
- package/hooks/useUpdateEffect.js +2 -2
- package/hooks/useVerificationCode.js +6 -7
- package/hooks/useWatch.js +2 -2
- package/hooks/useWatermark.js +6 -7
- package/hooks/useWindowSize.js +2 -2
- package/icon/addFromIconFontCn.js +5 -6
- package/icon/index.js +10 -10
- package/icon-hover/index.js +18 -18
- package/icons/file/index.js +14 -14
- package/icons/file.js +5 -6
- package/icons.js +1 -1
- package/image/Image.js +78 -74
- package/image/ImageFooter.js +10 -10
- package/image/ImagePreview.js +121 -134
- package/image/ImagePreviewArrow.js +21 -21
- package/image/ImagePreviewGroup.js +35 -36
- package/image/ImagePreviewToolbar.js +8 -8
- package/image/TriggerForToolbar.js +8 -8
- package/image/index.js +1 -1
- package/image/previewGroupContext.js +1 -1
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +4 -5
- package/image/utils/hook/useImageStatus.js +1 -1
- package/image/utils/hook/useShowFooter.js +1 -1
- package/index.js +563 -906
- package/input/Button.js +37 -38
- package/input/Group.js +15 -11
- package/input/Input.js +98 -98
- package/input/InputElement.js +65 -66
- package/input/Number.js +1 -1
- package/input/Password.js +31 -31
- package/input/Search.js +42 -43
- package/input/Tag.js +1 -1
- package/input/Textarea.js +108 -99
- package/input/autoSizeTextAreaHeight.js +4 -5
- package/input/index.js +1 -1
- package/input/useComposition.js +1 -1
- package/input-number/decimal.js +7 -8
- package/input-number/index.js +45 -45
- package/input-number/useSelectionRange.js +12 -13
- package/input-number/utils.js +30 -31
- package/input-tag/InputTag.js +165 -172
- package/input-tag/index.js +1 -1
- package/layout/Content.js +9 -9
- package/layout/Footer.js +10 -10
- package/layout/Header.js +11 -11
- package/layout/Sider.js +33 -34
- package/layout/index.js +25 -22
- package/link/index.js +39 -34
- package/liquid-fill/index.js +82 -100
- package/list/Item.js +24 -20
- package/list/Meta.js +9 -9
- package/list/index.js +51 -51
- package/loading/index.js +39 -52
- package/locale/ar-EG.js +1 -1
- package/locale/de-DE.js +1 -1
- package/locale/default.js +1 -1
- package/locale/en-US.js +2 -2
- package/locale/es-ES.js +1 -1
- package/locale/fr-FR.js +1 -1
- package/locale/id-ID.js +1 -1
- package/locale/it-IT.js +1 -1
- package/locale/ja-JP.js +1 -1
- package/locale/ko-KR.js +1 -1
- package/locale/ms-MY.js +1 -1
- package/locale/pt-BR.js +1 -1
- package/locale/pt-PT.js +1 -1
- package/locale/ru-RU.js +1 -1
- package/locale/th-TH.js +1 -1
- package/locale/tr-TR.js +2 -2
- package/locale/vi-VN.js +1 -1
- package/locale/zh-CN.js +1 -1
- package/locale/zh-HK.js +1 -1
- package/locale/zh-TW.js +1 -1
- package/marquee/index.js +96 -164
- package/mentions/index.js +47 -42
- package/mentions/utils.js +8 -9
- package/menu/Indent.js +1 -1
- package/menu/Item.js +45 -46
- package/menu/ItemGroup.js +9 -9
- package/menu/Menu.js +71 -67
- package/menu/OverflowWrap.js +9 -9
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/sub-menu/Inline.js +34 -34
- package/menu/sub-menu/Pop.js +31 -31
- package/menu/sub-menu/index.js +5 -6
- package/menu/utils.js +16 -17
- package/message/index.js +57 -64
- package/message/useMessage.js +58 -97
- package/modal/Confirm.js +1 -1
- package/modal/Modal.js +63 -64
- package/modal/config.js +1 -1
- package/modal/index.js +1 -1
- package/modal/use-modal/Hook.js +1 -1
- package/modal/use-modal/index.js +1 -1
- package/notice/index.js +113 -130
- package/notification/index.js +47 -54
- package/notification/useNotification.js +44 -83
- package/notification/withNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +18 -19
- package/overflow-ellipsis/index.js +41 -41
- package/package.json +1 -1
- package/page-header/index.js +44 -40
- package/pagination/PageItem.js +57 -57
- package/pagination/PageJumper.js +8 -9
- package/pagination/PageOption.js +54 -93
- package/pagination/Pagination.js +41 -42
- package/pagination/index.js +1 -1
- package/pagination/interface.js +1 -1
- package/picker/Input.js +33 -34
- package/picker/InputRange.js +25 -26
- package/picker/index.js +1 -1
- package/popconfirm/index.js +34 -35
- package/popover/index.js +25 -26
- package/portal/Portal.js +7 -7
- package/portal/index.js +1 -1
- package/progress/CircleProgress.js +17 -18
- package/progress/LineProgess.js +19 -20
- package/progress/StepProgress.js +20 -21
- package/progress/index.js +28 -28
- package/qr-code/index.js +24 -42
- package/qr-code/src/LICENSE +21 -0
- package/qr-code/src/index.js +2 -3
- package/qr-code/src/qrcodegen.js +1 -1
- package/radio/Group.js +41 -42
- package/radio/GroupBlock.js +25 -25
- package/radio/Radio.js +44 -45
- package/radio/index.js +1 -1
- package/rate/index.js +54 -55
- package/resize-box/ResizeTrigger.js +37 -38
- package/resize-box/Split.js +34 -35
- package/resize-box/SplitGroup.js +13 -14
- package/resize-box/index.js +45 -46
- package/result/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/index.js +43 -43
- package/rich-text/constant.js +1 -1
- package/rich-text/index.js +28 -28
- package/rich-text/lib/LICENSE +31 -0
- package/rich-text/lib/assets/icons/align-center.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-justify.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-left.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-right.svg.js +1 -1
- package/rich-text/lib/assets/icons/background.svg.js +1 -1
- package/rich-text/lib/assets/icons/blockquote.svg.js +1 -1
- package/rich-text/lib/assets/icons/bold.svg.js +1 -1
- package/rich-text/lib/assets/icons/clean.svg.js +1 -1
- package/rich-text/lib/assets/icons/code.svg.js +1 -1
- package/rich-text/lib/assets/icons/color.svg.js +1 -1
- package/rich-text/lib/assets/icons/direction-ltr.svg.js +1 -1
- package/rich-text/lib/assets/icons/direction-rtl.svg.js +1 -1
- package/rich-text/lib/assets/icons/divider.svg.js +1 -1
- package/rich-text/lib/assets/icons/dropdown.svg.js +1 -1
- package/rich-text/lib/assets/icons/formula.svg.js +1 -1
- package/rich-text/lib/assets/icons/fullscreen-exit.svg.js +1 -1
- package/rich-text/lib/assets/icons/fullscreen.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-2.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-3.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-4.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-5.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-6.svg.js +1 -1
- package/rich-text/lib/assets/icons/header.svg.js +1 -1
- package/rich-text/lib/assets/icons/image.svg.js +1 -1
- package/rich-text/lib/assets/icons/indent.svg.js +1 -1
- package/rich-text/lib/assets/icons/italic.svg.js +1 -1
- package/rich-text/lib/assets/icons/link.svg.js +1 -1
- package/rich-text/lib/assets/icons/list-bullet.svg.js +1 -1
- package/rich-text/lib/assets/icons/list-ordered.svg.js +1 -1
- package/rich-text/lib/assets/icons/outdent.svg.js +1 -1
- package/rich-text/lib/assets/icons/redo.svg.js +1 -1
- package/rich-text/lib/assets/icons/strike.svg.js +1 -1
- package/rich-text/lib/assets/icons/subscript.svg.js +1 -1
- package/rich-text/lib/assets/icons/superscript.svg.js +1 -1
- package/rich-text/lib/assets/icons/table.svg.js +1 -1
- package/rich-text/lib/assets/icons/underline.svg.js +1 -1
- package/rich-text/lib/assets/icons/undo.svg.js +1 -1
- package/rich-text/lib/assets/icons/video.svg.js +1 -1
- package/rich-text/lib/blots/block.js +12 -13
- package/rich-text/lib/blots/break.js +2 -2
- package/rich-text/lib/blots/container.js +2 -2
- package/rich-text/lib/blots/cursor.js +2 -2
- package/rich-text/lib/blots/embed.js +2 -2
- package/rich-text/lib/blots/inline.js +2 -2
- package/rich-text/lib/blots/scroll.js +39 -40
- package/rich-text/lib/blots/text.js +2 -2
- package/rich-text/lib/core/composition.js +1 -1
- package/rich-text/lib/core/editor.js +33 -34
- package/rich-text/lib/core/emitter.js +1 -1
- package/rich-text/lib/core/instances.js +1 -1
- package/rich-text/lib/core/logger.js +1 -1
- package/rich-text/lib/core/module.js +1 -1
- package/rich-text/lib/core/rich.js +34 -35
- package/rich-text/lib/core/selection.js +10 -11
- package/rich-text/lib/core/theme.js +1 -1
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +2 -2
- package/rich-text/lib/core/utils/scrollRectIntoView.js +1 -1
- package/rich-text/lib/core.js +1 -1
- package/rich-text/lib/delta/AttributeMap.js +11 -12
- package/rich-text/lib/delta/LICENSE +28 -0
- package/rich-text/lib/delta/Op.js +4 -5
- package/rich-text/lib/delta/OpIterator.js +9 -10
- package/rich-text/lib/delta/index.js +2 -3
- package/rich-text/lib/diff/index.js +2 -3
- package/rich-text/lib/formats/align.js +1 -1
- package/rich-text/lib/formats/background.js +2 -2
- package/rich-text/lib/formats/blockquote.js +1 -1
- package/rich-text/lib/formats/bold.js +1 -1
- package/rich-text/lib/formats/code.js +1 -1
- package/rich-text/lib/formats/color.js +2 -2
- package/rich-text/lib/formats/direction.js +1 -1
- package/rich-text/lib/formats/font.js +2 -2
- package/rich-text/lib/formats/formula.js +6 -7
- package/rich-text/lib/formats/header.js +1 -1
- package/rich-text/lib/formats/hr.js +7 -8
- package/rich-text/lib/formats/image-resize/index.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/BaseModule.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/Resize.js +1 -1
- package/rich-text/lib/formats/image-resize/options.js +1 -1
- package/rich-text/lib/formats/image.js +7 -8
- package/rich-text/lib/formats/indent.js +9 -10
- package/rich-text/lib/formats/italic.js +1 -1
- package/rich-text/lib/formats/lineHeight.js +2 -2
- package/rich-text/lib/formats/link.js +1 -1
- package/rich-text/lib/formats/list.js +1 -1
- package/rich-text/lib/formats/script.js +1 -1
- package/rich-text/lib/formats/size.js +2 -2
- package/rich-text/lib/formats/strike.js +1 -1
- package/rich-text/lib/formats/table.js +1 -1
- package/rich-text/lib/formats/underline.js +1 -1
- package/rich-text/lib/formats/video.js +1 -1
- package/rich-text/lib/index.js +1 -1
- package/rich-text/lib/modules/clipboard.js +41 -42
- package/rich-text/lib/modules/history.js +8 -9
- package/rich-text/lib/modules/input.js +12 -13
- package/rich-text/lib/modules/keyboard.js +15 -16
- package/rich-text/lib/modules/normalizeExternalHTML/index.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +1 -1
- package/rich-text/lib/modules/syntax.js +16 -17
- package/rich-text/lib/modules/table.js +1 -1
- package/rich-text/lib/modules/toolbar.js +2 -3
- package/rich-text/lib/modules/uiNode.js +2 -2
- package/rich-text/lib/modules/uploader.js +1 -1
- package/rich-text/lib/parchment/LICENSE +30 -0
- package/rich-text/lib/parchment/attributor/attributor.js +4 -5
- package/rich-text/lib/parchment/attributor/class.js +1 -1
- package/rich-text/lib/parchment/attributor/store.js +1 -1
- package/rich-text/lib/parchment/attributor/style.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/container.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/leaf.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/parent.js +9 -10
- package/rich-text/lib/parchment/blot/abstract/shadow.js +14 -15
- package/rich-text/lib/parchment/blot/block.js +14 -15
- package/rich-text/lib/parchment/blot/embed.js +1 -1
- package/rich-text/lib/parchment/blot/inline.js +39 -40
- package/rich-text/lib/parchment/blot/scroll.js +1 -1
- package/rich-text/lib/parchment/blot/text.js +1 -1
- package/rich-text/lib/parchment/collection/linked-list.js +1 -1
- package/rich-text/lib/parchment/error.js +1 -1
- package/rich-text/lib/parchment/index.js +1 -1
- package/rich-text/lib/parchment/registry.js +2 -3
- package/rich-text/lib/parchment/scope.js +1 -1
- package/rich-text/lib/themes/base.js +14 -15
- package/rich-text/lib/themes/pqb.js +1 -1
- package/rich-text/lib/ui/color-picker.js +1 -1
- package/rich-text/lib/ui/icon-picker.js +1 -1
- package/rich-text/lib/ui/icons.js +1 -1
- package/rich-text/lib/ui/picker.js +1 -1
- package/rich-text/lib/ui/tooltip.js +1 -1
- package/row-col/Col-.js +55 -56
- package/row-col/Col.js +56 -57
- package/row-col/Row.js +30 -31
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/segmented/index.js +51 -70
- package/select/OptGroup.js +8 -8
- package/select/Option.js +23 -24
- package/select/Select.js +118 -119
- package/select/index.js +1 -1
- package/select/utils.js +64 -65
- package/select-view/Core.js +51 -52
- package/select-view/index.js +23 -24
- package/skeleton/Image.js +14 -14
- package/skeleton/Text.js +15 -16
- package/skeleton/index.js +23 -24
- package/slider/Button.js +70 -71
- package/slider/Dot.js +14 -15
- package/slider/Input.js +19 -19
- package/slider/Mark.js +11 -12
- package/slider/Tick.js +13 -13
- package/slider/hook/useInterval.js +23 -24
- package/slider/hook/useLegalValue.js +14 -15
- package/slider/index.js +75 -76
- package/slider/utils.js +1 -1
- package/space/index.js +30 -49
- package/speech-synthesis/index.js +7 -11
- package/spin/DotLoading.js +7 -8
- package/spin/index.js +50 -50
- package/splitter/Panel.js +16 -16
- package/splitter/SplitBar.js +21 -22
- package/splitter/Splitter.js +74 -75
- package/splitter/hooks/useEvent.js +1 -1
- package/splitter/hooks/useItems.js +7 -8
- package/splitter/hooks/useResizable.js +1 -1
- package/splitter/hooks/useResize.js +14 -15
- package/splitter/hooks/useSizes.js +11 -12
- package/splitter/index.js +1 -1
- package/statistic/index.js +27 -28
- package/statistic/interface.js +1 -1
- package/steps/Step.js +16 -16
- package/steps/index.js +32 -33
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +4 -3
- package/switch/index.js +46 -53
- package/table/ColGroup.js +13 -14
- package/table/Table.js +367 -363
- package/table/constant.js +1 -1
- package/table/context.js +1 -1
- package/table/hook/useColumns.js +25 -26
- package/table/hook/useComponent.js +20 -21
- package/table/hook/useExpand.js +14 -15
- package/table/hook/useRowSelection.js +23 -24
- package/table/hook/useSorter.js +43 -41
- package/table/hook/useStickyClassNames.js +7 -8
- package/table/hook/useStickyOffsets.js +1 -1
- package/table/hook/useThResizable.js +11 -12
- package/table/index.js +1 -1
- package/table/summary/Cell.js +7 -7
- package/table/summary/Row.js +3 -3
- package/table/summary/context.js +1 -1
- package/table/summary/index.js +1 -1
- package/table/tbody/Td.js +35 -36
- package/table/tbody/Tr.js +20 -21
- package/table/tbody/index.js +28 -29
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +18 -19
- package/table/thead/Column.js +76 -77
- package/table/thead/index.js +10 -11
- package/table/utils.js +26 -27
- package/tabs/Tab.js +39 -40
- package/tabs/TabContent.js +7 -7
- package/tabs/TabPane.js +12 -12
- package/tabs/hook/useDomSize.js +1 -1
- package/tabs/hook/useHeaderScroll.js +2 -2
- package/tabs/index.js +1 -1
- package/tabs/tab-header/DropdownIcon.js +9 -10
- package/tabs/tab-header/TabInk.js +18 -19
- package/tabs/tab-header/TabNavIcon.js +25 -26
- package/tabs/tab-header/TabTitle.js +18 -19
- package/tabs/tab-header/index.js +74 -75
- package/tabs/utils.js +1 -1
- package/tag/index.js +33 -34
- package/time-picker/Picker.js +100 -102
- package/time-picker/RangePicker.js +11 -12
- package/time-picker/TimeColumn.js +42 -58
- package/time-picker/TimePicker.js +94 -97
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/utils.js +15 -25
- package/timeline/Item.js +28 -28
- package/timeline/Timeline.js +19 -19
- package/timeline/index.js +1 -1
- package/tooltip/index.js +43 -44
- package/tour/index.js +81 -99
- package/transfer/Item.js +23 -23
- package/transfer/List.js +51 -52
- package/transfer/index.js +41 -42
- package/tree/Animation.js +13 -14
- package/tree/Context.js +1 -1
- package/tree/Node.js +13 -14
- package/tree/NodeList.js +22 -23
- package/tree/Tree.js +59 -60
- package/tree/index.js +1 -1
- package/tree/utils.js +1 -1
- package/tree-select/List.js +19 -20
- package/tree-select/Select.js +76 -77
- package/tree-select/hook/useKeyCache.js +28 -28
- package/tree-select/hook/useStateValue.js +29 -30
- package/tree-select/hook/useTreeData.js +10 -10
- package/tree-select/index.js +1 -1
- package/tree-select/interface.js +1 -1
- package/tree-select/utils.js +5 -6
- package/trigger/getPopupStyle.js +5 -6
- package/trigger/index.js +136 -143
- package/types/checkbox/Checkbox.d.ts +1 -1
- package/types/checkbox/interface.d.ts +3 -3
- package/types/config-provider/interface.d.ts +8 -2
- package/types/date-picker/index.d.ts +2 -2
- package/types/date-picker/interface.d.ts +16 -13
- package/types/date-picker/panel/Header.d.ts +2 -0
- package/types/date-picker/panel/date/index.d.ts +1 -1
- package/types/date-picker/panel/month/index.d.ts +3 -3
- package/types/date-picker/panel/quarter/index.d.ts +3 -3
- package/types/date-picker/panel/range/index.d.ts +3 -3
- package/types/date-picker/panel/week/index.d.ts +3 -3
- package/types/date-picker/panel/year/index.d.ts +3 -3
- package/types/development/interface.d.ts +1 -1
- package/types/empty/interface.d.ts +1 -1
- package/types/flex/interface.d.ts +1 -1
- package/types/form/interface.d.ts +2 -1
- package/types/hooks/index.d.ts +1 -2
- package/types/hooks/use-computed-state/index.d.ts +1 -2
- package/types/hooks/use-create/index.d.ts +1 -2
- package/types/hooks/use-creation/index.d.ts +1 -2
- package/types/hooks/use-force-update/index.d.ts +1 -2
- package/types/hooks/use-id/index.d.ts +1 -2
- package/types/hooks/use-in-view/index.d.ts +1 -2
- package/types/hooks/use-intersection-observer/index.d.ts +1 -2
- package/types/hooks/use-interval/index.d.ts +1 -2
- package/types/hooks/use-is-first-render/index.d.ts +1 -2
- package/types/hooks/use-isomorphic-layout-effect/index.d.ts +1 -2
- package/types/hooks/use-keyboard-event/index.d.ts +1 -2
- package/types/hooks/use-listen-window-resize/index.d.ts +1 -2
- package/types/hooks/use-media/index.d.ts +1 -2
- package/types/hooks/use-merge-props/index.d.ts +1 -2
- package/types/hooks/use-merge-value/index.d.ts +1 -2
- package/types/hooks/use-online-status/index.d.ts +1 -2
- package/types/hooks/use-overflow-hidden/index.d.ts +1 -2
- package/types/hooks/use-override-ref/index.d.ts +1 -2
- package/types/hooks/use-persist-callback/index.d.ts +1 -2
- package/types/hooks/use-prefers-color-scheme-dark/index.d.ts +1 -2
- package/types/hooks/use-previous/index.d.ts +1 -2
- package/types/hooks/use-refs/index.d.ts +1 -2
- package/types/hooks/use-resize-observer/index.d.ts +1 -2
- package/types/hooks/use-state-callback/index.d.ts +1 -2
- package/types/hooks/use-state-with-promise/index.d.ts +1 -2
- package/types/hooks/use-update-effect/index.d.ts +1 -2
- package/types/hooks/use-watch/index.d.ts +1 -2
- package/types/hooks/use-window-size/index.d.ts +1 -2
- package/types/icons/file/interface.d.ts +1 -1
- package/types/index.d.ts +2 -2
- package/types/input/Input.d.ts +1 -1
- package/types/select/interface.d.ts +1 -1
- package/types/space/interface.d.ts +1 -1
- package/types/speech-synthesis/interface.d.ts +1 -1
- package/types/suspense-fallback-test/index.d.ts +1 -1
- package/types/suspense-fallback-test/interface.d.ts +1 -1
- package/types/time-picker/RangePicker.d.ts +2 -2
- package/types/time-picker/TimeColumn.d.ts +0 -1
- package/types/time-picker/index.d.ts +3 -3
- package/types/time-picker/interface.d.ts +2 -8
- package/types/time-picker/utils.d.ts +0 -1
- package/types/utils/caseName.d.ts +1 -2
- package/types/utils/className.d.ts +1 -2
- package/types/utils/constant.d.ts +1 -2
- package/types/utils/copy.d.ts +1 -2
- package/types/utils/date.d.ts +0 -1
- package/types/utils/dayjs.d.ts +5 -5
- package/types/utils/dom.d.ts +1 -2
- package/types/utils/emitter.d.ts +1 -2
- package/types/utils/fileToURL.d.ts +1 -2
- package/types/utils/fillNBSP.d.ts +1 -2
- package/types/utils/findScrollParent.d.ts +1 -2
- package/types/utils/getHighlightText.d.ts +1 -2
- package/types/utils/getHotkeyHandler.d.ts +1 -2
- package/types/utils/getStringLength.d.ts +1 -2
- package/types/utils/include.d.ts +1 -2
- package/types/utils/index.d.ts +0 -1
- package/types/utils/intersectionObserver.d.ts +1 -2
- package/types/utils/is.d.ts +1 -2
- package/types/utils/keyboardCode.d.ts +0 -1
- package/types/utils/lodash.d.ts +1 -2
- package/types/utils/math.d.ts +0 -1
- package/types/utils/mergeProps.d.ts +1 -2
- package/types/utils/mergedToString.d.ts +1 -2
- package/types/utils/mutationObserver.d.ts +1 -2
- package/types/utils/omit.d.ts +1 -2
- package/types/utils/pad.d.ts +1 -2
- package/types/utils/pick.d.ts +1 -2
- package/types/utils/pinyin.d.ts +1 -2
- package/types/utils/react19Adapter.d.ts +1 -2
- package/types/utils/reactDOM.d.ts +1 -2
- package/types/utils/resizeObserver.d.ts +1 -2
- package/types/utils/saveAs.d.ts +1 -2
- package/types/utils/screenfull.d.ts +1 -2
- package/types/utils/scrollIntoViewIfNeeded.d.ts +1 -2
- package/types/utils/setDarkTheme.d.ts +0 -1
- package/types/utils/setPrimaryColor.d.ts +0 -1
- package/types/utils/setTheme.d.ts +0 -1
- package/types/utils/style.d.ts +1 -2
- package/types/utils/supportRef.d.ts +1 -2
- package/types/utils/throttleByRaf.d.ts +1 -2
- package/types/utils/throttleByRaf2.d.ts +1 -2
- package/types/utils/toArray.d.ts +1 -2
- package/types/utils/tree.d.ts +2 -3
- package/types/utils/tween.d.ts +1 -2
- package/types/utils/validate.d.ts +1 -2
- package/types/utils/warning.d.ts +1 -2
- package/types/version/index.d.ts +1 -1
- package/types/virtual-list/interface.d.ts +1 -1
- package/typography/Base.js +39 -40
- package/typography/EditContent.js +27 -27
- package/typography/Ellipsis.js +47 -48
- package/typography/Operations.js +27 -28
- package/typography/Paragraph.js +6 -6
- package/typography/Text.js +1 -1
- package/typography/Title.js +1 -1
- package/typography/Typography.js +8 -8
- package/typography/index.js +1 -1
- package/typography/useCssEllipsis.js +9 -10
- package/typography/useEllipsis.js +33 -34
- package/upload/TriggerNode.js +34 -34
- package/upload/Upload.js +45 -46
- package/upload/Uploader.js +35 -36
- package/upload/constant.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +35 -36
- package/upload/list/TextItem.js +13 -14
- package/upload/list/UploadProgress.js +10 -11
- package/upload/list/index.js +60 -67
- package/upload/request.js +4 -4
- package/upload/utils.js +6 -7
- package/utils/caseName.js +3 -3
- package/utils/className.js +5 -5
- package/utils/constant.js +7 -8
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +3 -3
- package/utils/date.js +1 -1
- package/utils/dayjs.js +43 -42
- package/utils/dom.js +2 -16
- package/utils/emitter.js +2 -2
- package/utils/fileToURL.js +3 -3
- package/utils/fillNBSP.js +5 -4
- package/utils/findScrollParent.js +4 -3
- package/utils/getHighlightText.js +5 -4
- package/utils/getHotkeyHandler.js +5 -4
- package/utils/getStringLength.js +5 -4
- package/utils/include.js +5 -4
- package/utils/index.js +180 -330
- package/utils/intersectionObserver.js +4 -3
- package/utils/is.js +47 -49
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +2 -121
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +5 -4
- package/utils/mergedToString.js +5 -4
- package/utils/mutationObserver.js +4 -3
- package/utils/names.js +1 -1
- package/utils/omit.js +5 -4
- package/utils/pad.js +2 -2
- package/utils/pick.js +5 -5
- package/utils/pinyin.js +2 -2
- package/utils/react19Adapter.js +2 -2
- package/utils/reactDOM.js +2 -2
- package/utils/resizeObserver.js +4 -3
- package/utils/responsiveObserve.js +8 -9
- package/utils/saveAs.js +3 -3
- package/utils/screenfull.js +5 -5
- package/utils/scrollIntoViewIfNeeded.js +7 -8
- package/utils/setDarkTheme.js +6 -6
- package/utils/setPrimaryColor.js +5 -5
- package/utils/setTheme.js +7 -7
- package/utils/style.js +2 -2
- package/utils/supportRef.js +2 -2
- package/utils/throttleByRaf.js +2 -2
- package/utils/throttleByRaf2.js +2 -2
- package/utils/toArray.js +5 -4
- package/utils/tree.js +4 -12
- package/utils/tween.js +4 -4
- package/utils/uuid.js +1 -1
- package/utils/validate.js +2 -18
- package/utils/warning.js +2 -2
- package/verification-code/VerificationCode.js +29 -30
- package/verification-code/index.js +1 -1
- package/version/index.js +2 -2
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +140 -141
- package/virtual-list/index.js +1 -1
- package/virtual-list/utils/algorithm.js +1 -1
- package/virtual-list/utils/item.js +25 -26
- package/watermark/Watermark.js +12 -12
- package/watermark/index.js +1 -1
- package/LICENSE +0 -21
- package/dist/ui-common/development/index.js +0 -48
- package/dist/ui-common/empty/index.js +0 -52
- package/dist/ui-common/flex/index.js +0 -76
- package/dist/ui-common/flex/interface.js +0 -10
- package/dist/ui-common/higher-order/with-speech-synthesis/index.js +0 -83
- package/dist/ui-common/hooks/create-deep-compare-effect/index.js +0 -10
- package/dist/ui-common/hooks/create-update-effect/index.js +0 -15
- package/dist/ui-common/hooks/create-use-storage-state/index.js +0 -79
- package/dist/ui-common/hooks/use-async-effect/index.js +0 -26
- package/dist/ui-common/hooks/use-boolean/index.js +0 -15
- package/dist/ui-common/hooks/use-click-away/index.js +0 -32
- package/dist/ui-common/hooks/use-computed-state/index.js +0 -12
- package/dist/ui-common/hooks/use-controllable-value/index.js +0 -27
- package/dist/ui-common/hooks/use-cookie-state/index.js +0 -21
- package/dist/ui-common/hooks/use-count-down/index.js +0 -37
- package/dist/ui-common/hooks/use-counter/index.js +0 -44
- package/dist/ui-common/hooks/use-create/index.js +0 -9
- package/dist/ui-common/hooks/use-creation/index.js +0 -14
- package/dist/ui-common/hooks/use-debounce/index.js +0 -14
- package/dist/ui-common/hooks/use-debounce-effect/index.js +0 -13
- package/dist/ui-common/hooks/use-debounce-fn/index.js +0 -31
- package/dist/ui-common/hooks/use-deep-compare-effect/index.js +0 -7
- package/dist/ui-common/hooks/use-deep-compare-layout-effect/index.js +0 -7
- package/dist/ui-common/hooks/use-document-visibility/index.js +0 -20
- package/dist/ui-common/hooks/use-drag/index.js +0 -47
- package/dist/ui-common/hooks/use-drop/index.js +0 -60
- package/dist/ui-common/hooks/use-event-listener/index.js +0 -37
- package/dist/ui-common/hooks/use-event-target/index.js +0 -21
- package/dist/ui-common/hooks/use-external/index.js +0 -65
- package/dist/ui-common/hooks/use-favicon/index.js +0 -18
- package/dist/ui-common/hooks/use-focus-within/index.js +0 -26
- package/dist/ui-common/hooks/use-fullscreen/index.js +0 -75
- package/dist/ui-common/hooks/use-get-state/index.js +0 -10
- package/dist/ui-common/hooks/use-history-travel/index.js +0 -79
- package/dist/ui-common/hooks/use-hover/index.js +0 -26
- package/dist/ui-common/hooks/use-id/index.js +0 -11
- package/dist/ui-common/hooks/use-in-view/index.js +0 -32
- package/dist/ui-common/hooks/use-in-viewport/index.js +0 -34
- package/dist/ui-common/hooks/use-infinite-scroll/index.js +0 -83
- package/dist/ui-common/hooks/use-intersection-observer/index.js +0 -25
- package/dist/ui-common/hooks/use-interval/index.js +0 -17
- package/dist/ui-common/hooks/use-is-first-render/index.js +0 -10
- package/dist/ui-common/hooks/use-isomorphic-layout-effect/index.js +0 -7
- package/dist/ui-common/hooks/use-key-press/index.js +0 -169
- package/dist/ui-common/hooks/use-keyboard-event/index.js +0 -17
- package/dist/ui-common/hooks/use-latest/index.js +0 -9
- package/dist/ui-common/hooks/use-listen-window-resize/index.js +0 -10
- package/dist/ui-common/hooks/use-local-storage-state/index.js +0 -9
- package/dist/ui-common/hooks/use-lock-fn/index.js +0 -23
- package/dist/ui-common/hooks/use-long-press/index.js +0 -59
- package/dist/ui-common/hooks/use-media/index.js +0 -16
- package/dist/ui-common/hooks/use-memoized-fn/index.js +0 -19
- package/dist/ui-common/hooks/use-merge-props/index.js +0 -18
- package/dist/ui-common/hooks/use-merge-value/index.js +0 -21
- package/dist/ui-common/hooks/use-mount/index.js +0 -13
- package/dist/ui-common/hooks/use-mouse/index.js +0 -50
- package/dist/ui-common/hooks/use-mutation-observer/index.js +0 -23
- package/dist/ui-common/hooks/use-network/index.js +0 -57
- package/dist/ui-common/hooks/use-online-status/index.js +0 -21
- package/dist/ui-common/hooks/use-overflow-hidden/index.js +0 -27
- package/dist/ui-common/hooks/use-override-ref/index.js +0 -15
- package/dist/ui-common/hooks/use-pagination/index.js +0 -49
- package/dist/ui-common/hooks/use-persist-callback/index.js +0 -9
- package/dist/ui-common/hooks/use-prefers-color-scheme-dark/index.js +0 -25
- package/dist/ui-common/hooks/use-previous/index.js +0 -10
- package/dist/ui-common/hooks/use-raf-interval/index.js +0 -36
- package/dist/ui-common/hooks/use-raf-state/index.js +0 -16
- package/dist/ui-common/hooks/use-raf-timeout/index.js +0 -35
- package/dist/ui-common/hooks/use-reactive/index.js +0 -38
- package/dist/ui-common/hooks/use-refs/index.js +0 -11
- package/dist/ui-common/hooks/use-request/src/Fetch.js +0 -93
- package/dist/ui-common/hooks/use-request/src/plugins/useAutoRunPlugin.js +0 -30
- package/dist/ui-common/hooks/use-request/src/plugins/useCachePlugin.js +0 -66
- package/dist/ui-common/hooks/use-request/src/plugins/useDebouncePlugin.js +0 -34
- package/dist/ui-common/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +0 -28
- package/dist/ui-common/hooks/use-request/src/plugins/usePollingPlugin.js +0 -37
- package/dist/ui-common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +0 -29
- package/dist/ui-common/hooks/use-request/src/plugins/useRetryPlugin.js +0 -28
- package/dist/ui-common/hooks/use-request/src/plugins/useThrottlePlugin.js +0 -31
- package/dist/ui-common/hooks/use-request/src/useRequest.js +0 -26
- package/dist/ui-common/hooks/use-request/src/useRequestImplement.js +0 -54
- package/dist/ui-common/hooks/use-request/src/utils/cache.js +0 -20
- package/dist/ui-common/hooks/use-request/src/utils/cachePromise.js +0 -10
- package/dist/ui-common/hooks/use-request/src/utils/cacheSubscribe.js +0 -11
- package/dist/ui-common/hooks/use-request/src/utils/isDocumentVisible.js +0 -8
- package/dist/ui-common/hooks/use-request/src/utils/isOnline.js +0 -8
- package/dist/ui-common/hooks/use-request/src/utils/limit.js +0 -12
- package/dist/ui-common/hooks/use-request/src/utils/subscribeFocus.js +0 -19
- package/dist/ui-common/hooks/use-request/src/utils/subscribeReVisible.js +0 -18
- package/dist/ui-common/hooks/use-reset-state/index.js +0 -18
- package/dist/ui-common/hooks/use-responsive/index.js +0 -47
- package/dist/ui-common/hooks/use-safe-state/index.js +0 -12
- package/dist/ui-common/hooks/use-scroll/index.js +0 -44
- package/dist/ui-common/hooks/use-selections/index.js +0 -58
- package/dist/ui-common/hooks/use-session-storage-state/index.js +0 -9
- package/dist/ui-common/hooks/use-set-state/index.js +0 -17
- package/dist/ui-common/hooks/use-size/index.js +0 -41
- package/dist/ui-common/hooks/use-state-callback/index.js +0 -16
- package/dist/ui-common/hooks/use-state-with-promise/index.js +0 -36
- package/dist/ui-common/hooks/use-text-selection/index.js +0 -56
- package/dist/ui-common/hooks/use-theme/index.js +0 -34
- package/dist/ui-common/hooks/use-throttle/index.js +0 -14
- package/dist/ui-common/hooks/use-throttle-effect/index.js +0 -13
- package/dist/ui-common/hooks/use-throttle-fn/index.js +0 -31
- package/dist/ui-common/hooks/use-timeout/index.js +0 -17
- package/dist/ui-common/hooks/use-title/index.js +0 -18
- package/dist/ui-common/hooks/use-toggle/index.js +0 -17
- package/dist/ui-common/hooks/use-tracked-effect/index.js +0 -12
- package/dist/ui-common/hooks/use-unmount/index.js +0 -21
- package/dist/ui-common/hooks/use-unmounted-ref/index.js +0 -11
- package/dist/ui-common/hooks/use-update/index.js +0 -9
- package/dist/ui-common/hooks/use-update-effect/index.js +0 -7
- package/dist/ui-common/hooks/use-update-layout-effect/index.js +0 -7
- package/dist/ui-common/hooks/use-url-state/index.js +0 -60
- package/dist/ui-common/hooks/use-virtual-list/index.js +0 -83
- package/dist/ui-common/hooks/use-watch/index.js +0 -14
- package/dist/ui-common/hooks/use-web-socket/index.js +0 -72
- package/dist/ui-common/hooks/use-why-did-you-update/index.js +0 -20
- package/dist/ui-common/hooks/use-window-size/index.js +0 -40
- package/dist/ui-common/hooks/utils/createEffectWithTarget.js +0 -23
- package/dist/ui-common/hooks/utils/depsAreSame.js +0 -12
- package/dist/ui-common/hooks/utils/depsEqual.js +0 -7
- package/dist/ui-common/hooks/utils/domTarget.js +0 -16
- package/dist/ui-common/hooks/utils/getDocumentOrShadow.js +0 -16
- package/dist/ui-common/hooks/utils/isDev.js +0 -5
- package/dist/ui-common/hooks/utils/rect.js +0 -19
- package/dist/ui-common/hooks/utils/useDeepCompareWithTarget.js +0 -11
- package/dist/ui-common/hooks/utils/useEffectWithTarget.js +0 -7
- package/dist/ui-common/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +0 -8
- package/dist/ui-common/hooks/utils/useLayoutEffectWithTarget.js +0 -7
- package/dist/ui-common/icons/file/index.js +0 -59
- package/dist/ui-common/space/index.js +0 -77
- package/dist/ui-common/suspense-fallback-test/index.js +0 -17
- package/dist/ui-common/transition-group/CSSTransition.js +0 -91
- package/dist/ui-common/transition-group/PqbCSSTransition.js +0 -36
- package/dist/ui-common/transition-group/ReplaceTransition.js +0 -34
- package/dist/ui-common/transition-group/SwitchTransition.js +0 -102
- package/dist/ui-common/transition-group/Transition.js +0 -188
- package/dist/ui-common/transition-group/TransitionGroup.js +0 -50
- package/dist/ui-common/transition-group/TransitionGroupContext.js +0 -6
- package/dist/ui-common/transition-group/utils/ChildMapping.js +0 -66
- package/dist/ui-common/utils/compute.js +0 -142
- package/dist/ui-common/utils/constant.js +0 -10
- package/dist/ui-common/utils/dayjs.js +0 -23
- package/dist/ui-common/utils/dom.js +0 -63
- package/dist/ui-common/utils/fillNBSP.js +0 -10
- package/dist/ui-common/utils/findScrollParent.js +0 -18
- package/dist/ui-common/utils/getHighlightText.js +0 -45
- package/dist/ui-common/utils/getHotkeyHandler.js +0 -29
- package/dist/ui-common/utils/getStringLength.js +0 -11
- package/dist/ui-common/utils/include.js +0 -11
- package/dist/ui-common/utils/intersectionObserver.js +0 -23
- package/dist/ui-common/utils/is.js +0 -98
- package/dist/ui-common/utils/mergeProps.js +0 -13
- package/dist/ui-common/utils/mergedToString.js +0 -16
- package/dist/ui-common/utils/mutationObserver.js +0 -21
- package/dist/ui-common/utils/omit.js +0 -13
- package/dist/ui-common/utils/pad.js +0 -19
- package/dist/ui-common/utils/pick.js +0 -19
- package/dist/ui-common/utils/react19Adapter.js +0 -4
- package/dist/ui-common/utils/reactDOM.js +0 -54
- package/dist/ui-common/utils/resizeObserver.js +0 -33
- package/dist/ui-common/utils/scrollIntoViewIfNeeded.js +0 -75
- package/dist/ui-common/utils/setDarkTheme.js +0 -28
- package/dist/ui-common/utils/setDir.js +0 -14
- package/dist/ui-common/utils/setPrimaryColor.js +0 -31
- package/dist/ui-common/utils/setTheme.js +0 -56
- package/dist/ui-common/utils/style.js +0 -40
- package/dist/ui-common/utils/supportRef.js +0 -10
- package/dist/ui-common/utils/throttleByRaf.js +0 -17
- package/dist/ui-common/utils/throttleByRaf2.js +0 -9
- package/dist/ui-common/utils/toArray.js +0 -15
- package/dist/ui-common/utils/warning.js +0 -12
- package/form/IconSymbol.js +0 -21
- package/types/_common/development/index.d.ts +0 -8
- package/types/_common/development/interface.d.ts +0 -22
- package/types/_common/empty/index.d.ts +0 -5
- package/types/_common/empty/interface.d.ts +0 -24
- package/types/_common/flex/index.d.ts +0 -8
- package/types/_common/flex/interface.d.ts +0 -73
- package/types/_common/higher-order/index.d.ts +0 -1
- package/types/_common/higher-order/with-speech-synthesis/index.d.ts +0 -7
- package/types/_common/higher-order/with-speech-synthesis/interface.d.ts +0 -13
- package/types/_common/hooks/create-deep-compare-effect/index.d.ts +0 -5
- package/types/_common/hooks/create-update-effect/index.d.ts +0 -4
- package/types/_common/hooks/create-use-storage-state/index.d.ts +0 -11
- package/types/_common/hooks/index.d.ts +0 -97
- package/types/_common/hooks/use-async-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-async-effect/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-async-effect/index.d.ts +0 -3
- package/types/_common/hooks/use-boolean/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-boolean/index.d.ts +0 -7
- package/types/_common/hooks/use-click-away/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-click-away/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-click-away/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-click-away/demo/demo4.d.ts +0 -1
- package/types/_common/hooks/use-click-away/demo/demo5.d.ts +0 -1
- package/types/_common/hooks/use-click-away/demo/demo6.d.ts +0 -1
- package/types/_common/hooks/use-click-away/index.d.ts +0 -4
- package/types/_common/hooks/use-computed-state/index.d.ts +0 -4
- package/types/_common/hooks/use-controllable-value/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-controllable-value/demo/demo2.d.ts +0 -2
- package/types/_common/hooks/use-controllable-value/demo/demo3.d.ts +0 -2
- package/types/_common/hooks/use-controllable-value/index.d.ts +0 -16
- package/types/_common/hooks/use-cookie-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-cookie-state/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-cookie-state/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-cookie-state/index.d.ts +0 -7
- package/types/_common/hooks/use-count-down/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-count-down/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-count-down/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-count-down/index.d.ts +0 -17
- package/types/_common/hooks/use-counter/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-counter/index.d.ts +0 -18
- package/types/_common/hooks/use-create/index.d.ts +0 -2
- package/types/_common/hooks/use-creation/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-creation/index.d.ts +0 -3
- package/types/_common/hooks/use-debounce/debounceOptions.d.ts +0 -6
- package/types/_common/hooks/use-debounce/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-debounce/index.d.ts +0 -3
- package/types/_common/hooks/use-debounce-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-debounce-effect/index.d.ts +0 -4
- package/types/_common/hooks/use-debounce-fn/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-debounce-fn/index.d.ts +0 -8
- package/types/_common/hooks/use-deep-compare-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-deep-compare-effect/index.d.ts +0 -3
- package/types/_common/hooks/use-deep-compare-layout-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-deep-compare-layout-effect/index.d.ts +0 -3
- package/types/_common/hooks/use-document-visibility/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-document-visibility/index.d.ts +0 -3
- package/types/_common/hooks/use-drag/index.d.ts +0 -13
- package/types/_common/hooks/use-drop/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-drop/demo/demo2.d.ts +0 -2
- package/types/_common/hooks/use-drop/index.d.ts +0 -15
- package/types/_common/hooks/use-event-listener/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-event-listener/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-event-listener/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-event-listener/index.d.ts +0 -17
- package/types/_common/hooks/use-event-target/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-event-target/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-event-target/index.d.ts +0 -14
- package/types/_common/hooks/use-external/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-external/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-external/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-external/index.d.ts +0 -20
- package/types/_common/hooks/use-favicon/demo/demo1.d.ts +0 -3
- package/types/_common/hooks/use-favicon/index.d.ts +0 -2
- package/types/_common/hooks/use-focus-within/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-focus-within/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-focus-within/index.d.ts +0 -7
- package/types/_common/hooks/use-force-update/index.d.ts +0 -16
- package/types/_common/hooks/use-fullscreen/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-fullscreen/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-fullscreen/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-fullscreen/demo/demo4.d.ts +0 -1
- package/types/_common/hooks/use-fullscreen/index.d.ts +0 -17
- package/types/_common/hooks/use-get-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-get-state/index.d.ts +0 -9
- package/types/_common/hooks/use-history-travel/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-history-travel/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-history-travel/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-history-travel/index.d.ts +0 -10
- package/types/_common/hooks/use-hover/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-hover/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-hover/index.d.ts +0 -8
- package/types/_common/hooks/use-id/index.d.ts +0 -6
- package/types/_common/hooks/use-in-view/index.d.ts +0 -11
- package/types/_common/hooks/use-in-viewport/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-in-viewport/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-in-viewport/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-in-viewport/index.d.ts +0 -10
- package/types/_common/hooks/use-infinite-scroll/demo/default.d.ts +0 -1
- package/types/_common/hooks/use-infinite-scroll/demo/mutate.d.ts +0 -1
- package/types/_common/hooks/use-infinite-scroll/demo/pagination.d.ts +0 -1
- package/types/_common/hooks/use-infinite-scroll/demo/reload.d.ts +0 -1
- package/types/_common/hooks/use-infinite-scroll/demo/scroll.d.ts +0 -1
- package/types/_common/hooks/use-infinite-scroll/demo/scrollTop.d.ts +0 -1
- package/types/_common/hooks/use-infinite-scroll/index.d.ts +0 -15
- package/types/_common/hooks/use-infinite-scroll/types.d.ts +0 -32
- package/types/_common/hooks/use-intersection-observer/index.d.ts +0 -7
- package/types/_common/hooks/use-interval/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-interval/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-interval/index.d.ts +0 -4
- package/types/_common/hooks/use-is-first-render/index.d.ts +0 -2
- package/types/_common/hooks/use-isomorphic-layout-effect/index.d.ts +0 -3
- package/types/_common/hooks/use-key-press/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo4.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo5.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo6.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo7.d.ts +0 -1
- package/types/_common/hooks/use-key-press/demo/demo8.d.ts +0 -1
- package/types/_common/hooks/use-key-press/index.d.ts +0 -14
- package/types/_common/hooks/use-keyboard-event/index.d.ts +0 -8
- package/types/_common/hooks/use-latest/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-latest/index.d.ts +0 -2
- package/types/_common/hooks/use-listen-window-resize/index.d.ts +0 -16
- package/types/_common/hooks/use-local-storage-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-local-storage-state/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-local-storage-state/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-local-storage-state/demo/demo4.d.ts +0 -1
- package/types/_common/hooks/use-local-storage-state/index.d.ts +0 -2
- package/types/_common/hooks/use-lock-fn/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-lock-fn/index.d.ts +0 -2
- package/types/_common/hooks/use-long-press/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-long-press/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-long-press/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-long-press/index.d.ts +0 -13
- package/types/_common/hooks/use-map/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-map/index.d.ts +0 -8
- package/types/_common/hooks/use-media/index.d.ts +0 -2
- package/types/_common/hooks/use-memoized-fn/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-memoized-fn/demo/demo2.d.ts +0 -2
- package/types/_common/hooks/use-memoized-fn/index.d.ts +0 -4
- package/types/_common/hooks/use-merge-props/index.d.ts +0 -5
- package/types/_common/hooks/use-merge-value/index.d.ts +0 -6
- package/types/_common/hooks/use-mount/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-mount/index.d.ts +0 -3
- package/types/_common/hooks/use-mouse/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-mouse/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-mouse/index.d.ts +0 -17
- package/types/_common/hooks/use-mutation-observer/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-mutation-observer/index.d.ts +0 -3
- package/types/_common/hooks/use-network/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-network/index.d.ts +0 -12
- package/types/_common/hooks/use-online-status/index.d.ts +0 -2
- package/types/_common/hooks/use-overflow-hidden/index.d.ts +0 -5
- package/types/_common/hooks/use-override-ref/index.d.ts +0 -3
- package/types/_common/hooks/use-pagination/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-pagination/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-pagination/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-pagination/demo/demo4.d.ts +0 -2
- package/types/_common/hooks/use-pagination/index.d.ts +0 -3
- package/types/_common/hooks/use-pagination/types.d.ts +0 -29
- package/types/_common/hooks/use-persist-callback/index.d.ts +0 -2
- package/types/_common/hooks/use-prefers-color-scheme-dark/index.d.ts +0 -2
- package/types/_common/hooks/use-previous/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-previous/index.d.ts +0 -3
- package/types/_common/hooks/use-raf-interval/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-raf-interval/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-raf-interval/index.d.ts +0 -4
- package/types/_common/hooks/use-raf-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-raf-state/index.d.ts +0 -7
- package/types/_common/hooks/use-raf-timeout/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-raf-timeout/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-raf-timeout/index.d.ts +0 -2
- package/types/_common/hooks/use-reactive/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-reactive/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-reactive/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-reactive/demo/demo4.d.ts +0 -1
- package/types/_common/hooks/use-reactive/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-reactive/index.d.ts +0 -2
- package/types/_common/hooks/use-ref-latest/index.d.ts +0 -2
- package/types/_common/hooks/use-refs/index.d.ts +0 -2
- package/types/_common/hooks/use-request/doc/basic/demo/cancel.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/default.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/lifeCycle.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/manual-run.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/manual-runAsync.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/mutate.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/params.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/basic/demo/refresh.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/cache/demo/cacheKey.d.ts +0 -2
- package/types/_common/hooks/use-request/doc/cache/demo/clearCache.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/cache/demo/params.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/cache/demo/setCache.d.ts +0 -2
- package/types/_common/hooks/use-request/doc/cache/demo/share.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/cache/demo/staleTime.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/debounce/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/index/demo/default.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/index/demo/manual.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/loadingDelay/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/polling/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/polling/demo/indexError.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/ready/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/ready/demo/indexManual.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/refreshDeps/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/refreshDeps/demo/indexAction.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/refreshOnWindowFocus/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/retry/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/doc/throttle/demo/index.d.ts +0 -1
- package/types/_common/hooks/use-request/index.d.ts +0 -4
- package/types/_common/hooks/use-request/src/Fetch.d.ts +0 -20
- package/types/_common/hooks/use-request/src/plugins/useAutoRunPlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/useCachePlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/useDebouncePlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/useLoadingDelayPlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/usePollingPlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/useRetryPlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/plugins/useThrottlePlugin.d.ts +0 -3
- package/types/_common/hooks/use-request/src/types.d.ts +0 -73
- package/types/_common/hooks/use-request/src/useRequest.d.ts +0 -3
- package/types/_common/hooks/use-request/src/useRequestImplement.d.ts +0 -3
- package/types/_common/hooks/use-request/src/utils/cache.d.ts +0 -14
- package/types/_common/hooks/use-request/src/utils/cachePromise.d.ts +0 -4
- package/types/_common/hooks/use-request/src/utils/cacheSubscribe.d.ts +0 -4
- package/types/_common/hooks/use-request/src/utils/isDocumentVisible.d.ts +0 -1
- package/types/_common/hooks/use-request/src/utils/isOnline.d.ts +0 -2
- package/types/_common/hooks/use-request/src/utils/limit.d.ts +0 -1
- package/types/_common/hooks/use-request/src/utils/subscribeFocus.d.ts +0 -3
- package/types/_common/hooks/use-request/src/utils/subscribeReVisible.d.ts +0 -3
- package/types/_common/hooks/use-reset-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-reset-state/index.d.ts +0 -4
- package/types/_common/hooks/use-resize-observer/index.d.ts +0 -2
- package/types/_common/hooks/use-responsive/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-responsive/index.d.ts +0 -5
- package/types/_common/hooks/use-safe-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-safe-state/index.d.ts +0 -7
- package/types/_common/hooks/use-scroll/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-scroll/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-scroll/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-scroll/index.d.ts +0 -9
- package/types/_common/hooks/use-selections/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-selections/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-selections/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-selections/index.d.ts +0 -21
- package/types/_common/hooks/use-session-storage-state/index.d.ts +0 -2
- package/types/_common/hooks/use-set/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-set/index.d.ts +0 -6
- package/types/_common/hooks/use-set-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-set-state/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-set-state/index.d.ts +0 -3
- package/types/_common/hooks/use-size/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-size/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-size/index.d.ts +0 -7
- package/types/_common/hooks/use-state-callback/index.d.ts +0 -5
- package/types/_common/hooks/use-state-with-promise/index.d.ts +0 -2
- package/types/_common/hooks/use-text-selection/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-text-selection/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-text-selection/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-text-selection/index.d.ts +0 -14
- package/types/_common/hooks/use-theme/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-theme/index.d.ts +0 -16
- package/types/_common/hooks/use-throttle/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-throttle/index.d.ts +0 -3
- package/types/_common/hooks/use-throttle/throttleOptions.d.ts +0 -5
- package/types/_common/hooks/use-throttle-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-throttle-effect/index.d.ts +0 -4
- package/types/_common/hooks/use-throttle-fn/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-throttle-fn/index.d.ts +0 -8
- package/types/_common/hooks/use-timeout/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-timeout/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-timeout/index.d.ts +0 -2
- package/types/_common/hooks/use-title/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-title/index.d.ts +0 -5
- package/types/_common/hooks/use-toggle/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-toggle/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-toggle/index.d.ts +0 -10
- package/types/_common/hooks/use-tracked-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-tracked-effect/index.d.ts +0 -4
- package/types/_common/hooks/use-unmount/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-unmount/index.d.ts +0 -2
- package/types/_common/hooks/use-unmounted-ref/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-unmounted-ref/index.d.ts +0 -2
- package/types/_common/hooks/use-update/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-update/index.d.ts +0 -2
- package/types/_common/hooks/use-update-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-update-effect/index.d.ts +0 -3
- package/types/_common/hooks/use-update-layout-effect/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-update-layout-effect/index.d.ts +0 -3
- package/types/_common/hooks/use-url-state/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-url-state/demo/demo2.d.ts +0 -1
- package/types/_common/hooks/use-url-state/demo/demo3.d.ts +0 -1
- package/types/_common/hooks/use-url-state/demo/demo4.d.ts +0 -1
- package/types/_common/hooks/use-url-state/index.d.ts +0 -10
- package/types/_common/hooks/use-virtual-list/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-virtual-list/demo/demo2.d.ts +0 -2
- package/types/_common/hooks/use-virtual-list/index.d.ts +0 -13
- package/types/_common/hooks/use-watch/index.d.ts +0 -3
- package/types/_common/hooks/use-web-socket/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-web-socket/index.d.ts +0 -26
- package/types/_common/hooks/use-why-did-you-update/demo/demo1.d.ts +0 -1
- package/types/_common/hooks/use-why-did-you-update/index.d.ts +0 -3
- package/types/_common/hooks/use-window-size/index.d.ts +0 -18
- package/types/_common/hooks/utils/createEffectWithTarget.d.ts +0 -4
- package/types/_common/hooks/utils/depsAreSame.d.ts +0 -3
- package/types/_common/hooks/utils/depsEqual.d.ts +0 -2
- package/types/_common/hooks/utils/domTarget.d.ts +0 -6
- package/types/_common/hooks/utils/getDocumentOrShadow.d.ts +0 -3
- package/types/_common/hooks/utils/index.d.ts +0 -2
- package/types/_common/hooks/utils/isAppleDevice.d.ts +0 -2
- package/types/_common/hooks/utils/isBrowser.d.ts +0 -2
- package/types/_common/hooks/utils/isDev.d.ts +0 -2
- package/types/_common/hooks/utils/rect.d.ts +0 -4
- package/types/_common/hooks/utils/useDeepCompareWithTarget.d.ts +0 -4
- package/types/_common/hooks/utils/useEffectWithTarget.d.ts +0 -2
- package/types/_common/hooks/utils/useIsomorphicLayoutEffectWithTarget.d.ts +0 -2
- package/types/_common/hooks/utils/useLayoutEffectWithTarget.d.ts +0 -2
- package/types/_common/icons/file/index.d.ts +0 -4
- package/types/_common/icons/file/interface.d.ts +0 -20
- package/types/_common/index.d.ts +0 -16
- package/types/_common/progress/index.d.ts +0 -437
- package/types/_common/space/index.d.ts +0 -7
- package/types/_common/space/interface.d.ts +0 -53
- package/types/_common/suspense-fallback-test/index.d.ts +0 -7
- package/types/_common/suspense-fallback-test/interface.d.ts +0 -1
- package/types/_common/transition-group/CSSTransition.d.ts +0 -98
- package/types/_common/transition-group/PqbCSSTransition.d.ts +0 -4
- package/types/_common/transition-group/ReplaceTransition.d.ts +0 -23
- package/types/_common/transition-group/SwitchTransition.d.ts +0 -88
- package/types/_common/transition-group/Transition.d.ts +0 -130
- package/types/_common/transition-group/TransitionGroup.d.ts +0 -31
- package/types/_common/transition-group/TransitionGroupContext.d.ts +0 -3
- package/types/_common/transition-group/index.d.ts +0 -10
- package/types/_common/transition-group/utils/ChildMapping.d.ts +0 -27
- package/types/_common/utils/caseName.d.ts +0 -2
- package/types/_common/utils/className.d.ts +0 -2
- package/types/_common/utils/compute.d.ts +0 -100
- package/types/_common/utils/constant.d.ts +0 -3
- package/types/_common/utils/copy.d.ts +0 -4
- package/types/_common/utils/date.d.ts +0 -2
- package/types/_common/utils/dayjs.d.ts +0 -3
- package/types/_common/utils/dom.d.ts +0 -27
- package/types/_common/utils/emitter.d.ts +0 -2
- package/types/_common/utils/fileToURL.d.ts +0 -2
- package/types/_common/utils/fillNBSP.d.ts +0 -3
- package/types/_common/utils/findScrollParent.d.ts +0 -2
- package/types/_common/utils/getHighlightText.d.ts +0 -7
- package/types/_common/utils/getHotkeyHandler.d.ts +0 -18
- package/types/_common/utils/getStringLength.d.ts +0 -3
- package/types/_common/utils/include.d.ts +0 -3
- package/types/_common/utils/index.d.ts +0 -46
- package/types/_common/utils/intersectionObserver.d.ts +0 -3
- package/types/_common/utils/is.d.ts +0 -10
- package/types/_common/utils/keyboardCode.d.ts +0 -5
- package/types/_common/utils/lodash.d.ts +0 -60
- package/types/_common/utils/math.d.ts +0 -2
- package/types/_common/utils/mergeProps.d.ts +0 -3
- package/types/_common/utils/mergedToString.d.ts +0 -4
- package/types/_common/utils/mutationObserver.d.ts +0 -3
- package/types/_common/utils/omit.d.ts +0 -3
- package/types/_common/utils/pad.d.ts +0 -2
- package/types/_common/utils/pick.d.ts +0 -6
- package/types/_common/utils/pinyin.d.ts +0 -2
- package/types/_common/utils/react19Adapter.d.ts +0 -1
- package/types/_common/utils/reactDOM.d.ts +0 -34
- package/types/_common/utils/resizeObserver.d.ts +0 -3
- package/types/_common/utils/saveAs.d.ts +0 -2
- package/types/_common/utils/screenfull.d.ts +0 -2
- package/types/_common/utils/scrollIntoViewIfNeeded.d.ts +0 -12
- package/types/_common/utils/setDarkTheme.d.ts +0 -4
- package/types/_common/utils/setDir.d.ts +0 -3
- package/types/_common/utils/setPrimaryColor.d.ts +0 -3
- package/types/_common/utils/setTheme.d.ts +0 -3
- package/types/_common/utils/style.d.ts +0 -3
- package/types/_common/utils/supportRef.d.ts +0 -3
- package/types/_common/utils/throttleByRaf.d.ts +0 -6
- package/types/_common/utils/throttleByRaf2.d.ts +0 -6
- package/types/_common/utils/tinycolor.d.ts +0 -3
- package/types/_common/utils/toArray.d.ts +0 -13
- package/types/_common/utils/tree.d.ts +0 -2
- package/types/_common/utils/tween.d.ts +0 -2
- package/types/_common/utils/uuid.d.ts +0 -1
- package/types/_common/utils/validate.d.ts +0 -2
- package/types/_common/utils/warning.d.ts +0 -3
- package/types/form/IconSymbol.d.ts +0 -4
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import l from "react";
|
|
4
|
-
import d from "./TransitionGroupContext.js";
|
|
5
|
-
import { getInitialChildMapping as a, getNextChildMapping as h, getChildMapping as c } from "./utils/ChildMapping.js";
|
|
6
|
-
const p = {
|
|
7
|
-
component: "div",
|
|
8
|
-
childFactory: (s) => s
|
|
9
|
-
};
|
|
10
|
-
class u extends l.Component {
|
|
11
|
-
constructor(e, n) {
|
|
12
|
-
super(e, n);
|
|
13
|
-
const t = this.handleExited.bind(this);
|
|
14
|
-
this.state = {
|
|
15
|
-
contextValue: { isMounting: !0 },
|
|
16
|
-
handleExited: t,
|
|
17
|
-
firstRender: !0
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
componentDidMount() {
|
|
21
|
-
this.mounted = !0, this.setState({
|
|
22
|
-
contextValue: { isMounting: !1 }
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
componentWillUnmount() {
|
|
26
|
-
this.mounted = !1;
|
|
27
|
-
}
|
|
28
|
-
static getDerivedStateFromProps(e, { children: n, handleExited: t, firstRender: i }) {
|
|
29
|
-
return {
|
|
30
|
-
children: i ? a(e, t) : h(e, n, t),
|
|
31
|
-
firstRender: !1
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
// element is `undefined` when user provided `refElement` prop
|
|
35
|
-
handleExited(e, n) {
|
|
36
|
-
const t = c(this.props.children);
|
|
37
|
-
e.key in t || (e.props.onExited && e.props.onExited(n), this.mounted && this.setState((i) => {
|
|
38
|
-
const r = { ...i.children };
|
|
39
|
-
return delete r[e.key], { children: r };
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
render() {
|
|
43
|
-
const { component: e, childFactory: n, ...t } = this.props, { contextValue: i } = this.state, r = Object.values(this.state.children).map(n);
|
|
44
|
-
return delete t.appear, delete t.enter, delete t.exit, e === null ? /* @__PURE__ */ o(d.Provider, { value: i, children: r }) : /* @__PURE__ */ o(d.Provider, { value: i, children: /* @__PURE__ */ o(e, { ...t, children: r }) });
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
u.defaultProps = p;
|
|
48
|
-
export {
|
|
49
|
-
u as default
|
|
50
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import { isValidElement as c, cloneElement as d, Children as s } from "react";
|
|
3
|
-
function g(n, t) {
|
|
4
|
-
let l = (e) => t && c(e) ? t(e) : e, u = /* @__PURE__ */ Object.create(null);
|
|
5
|
-
return n && s.map(n, (e) => e).forEach((e) => {
|
|
6
|
-
u[e.key] = l(e);
|
|
7
|
-
}), u;
|
|
8
|
-
}
|
|
9
|
-
function x(n, t) {
|
|
10
|
-
n = n || {}, t = t || {};
|
|
11
|
-
function l(r) {
|
|
12
|
-
return r in t ? t[r] : n[r];
|
|
13
|
-
}
|
|
14
|
-
let u = /* @__PURE__ */ Object.create(null), e = [];
|
|
15
|
-
for (let r in n)
|
|
16
|
-
r in t ? e.length && (u[r] = e, e = []) : e.push(r);
|
|
17
|
-
let i, o = {};
|
|
18
|
-
for (let r in t) {
|
|
19
|
-
if (u[r])
|
|
20
|
-
for (i = 0; i < u[r].length; i++) {
|
|
21
|
-
let a = u[r][i];
|
|
22
|
-
o[u[r][i]] = l(a);
|
|
23
|
-
}
|
|
24
|
-
o[r] = l(r);
|
|
25
|
-
}
|
|
26
|
-
for (i = 0; i < e.length; i++)
|
|
27
|
-
o[e[i]] = l(e[i]);
|
|
28
|
-
return o;
|
|
29
|
-
}
|
|
30
|
-
function p(n, t, l) {
|
|
31
|
-
return l[t] != null ? l[t] : n.props[t];
|
|
32
|
-
}
|
|
33
|
-
function b(n, t) {
|
|
34
|
-
return g(n.children, (l) => d(l, {
|
|
35
|
-
onExited: t.bind(null, l),
|
|
36
|
-
in: !0,
|
|
37
|
-
appear: p(l, "appear", n),
|
|
38
|
-
enter: p(l, "enter", n),
|
|
39
|
-
exit: p(l, "exit", n)
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
function m(n, t, l) {
|
|
43
|
-
let u = g(n.children), e = x(t, u);
|
|
44
|
-
return Object.keys(e).forEach((i) => {
|
|
45
|
-
let o = e[i];
|
|
46
|
-
if (!c(o)) return;
|
|
47
|
-
const r = i in t, a = i in u, f = t[i], h = c(f) && !f.props.in;
|
|
48
|
-
a && (!r || h) ? e[i] = d(o, {
|
|
49
|
-
onExited: l.bind(null, o),
|
|
50
|
-
in: !0,
|
|
51
|
-
exit: p(o, "exit", n),
|
|
52
|
-
enter: p(o, "enter", n)
|
|
53
|
-
}) : !a && r && !h ? e[i] = d(o, { in: !1 }) : a && r && c(f) && (e[i] = d(o, {
|
|
54
|
-
onExited: l.bind(null, o),
|
|
55
|
-
in: f.props.in,
|
|
56
|
-
exit: p(o, "exit", n),
|
|
57
|
-
enter: p(o, "enter", n)
|
|
58
|
-
}));
|
|
59
|
-
}), e;
|
|
60
|
-
}
|
|
61
|
-
export {
|
|
62
|
-
g as getChildMapping,
|
|
63
|
-
b as getInitialChildMapping,
|
|
64
|
-
m as getNextChildMapping,
|
|
65
|
-
x as mergeChildMappings
|
|
66
|
-
};
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import "./is.js";
|
|
3
|
-
import { isFunction as z, isElement as Q } from "@unicom-cloud/utils/is";
|
|
4
|
-
const k = (t, e) => !(e && t === "hidden" || t === "visible" || t === "clip"), _ = (t) => {
|
|
5
|
-
if (!t.ownerDocument || !t.ownerDocument.defaultView)
|
|
6
|
-
return null;
|
|
7
|
-
try {
|
|
8
|
-
return t.ownerDocument.defaultView.frameElement;
|
|
9
|
-
} catch {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
}, U = (t) => {
|
|
13
|
-
const e = _(t);
|
|
14
|
-
return e ? e.clientHeight < t.scrollHeight || e.clientWidth < t.scrollWidth : !1;
|
|
15
|
-
}, D = (t, e) => {
|
|
16
|
-
if (t.clientHeight < t.scrollHeight) {
|
|
17
|
-
const i = getComputedStyle(t);
|
|
18
|
-
if (k(i.overflowY, e) || k(i.overflowX, e) || U(t))
|
|
19
|
-
return !0;
|
|
20
|
-
}
|
|
21
|
-
if (t.clientWidth < t.scrollWidth) {
|
|
22
|
-
const i = getComputedStyle(t);
|
|
23
|
-
if (k(i.overflowX, e) || k(i.overflowY, e) || U(t))
|
|
24
|
-
return !0;
|
|
25
|
-
}
|
|
26
|
-
return !1;
|
|
27
|
-
}, L = (t, e, i, l, d, f, m, g) => f < t && m > e || f > t && m < e ? 0 : f <= t && g <= i || m >= e && g >= i ? f - t - l : m > e && g < i || f < t && g > i ? m - e + d : 0, tt = (t) => t.parentElement ? t.parentElement : t.getRootNode() instanceof ShadowRoot ? t.getRootNode().host : null, et = (t) => {
|
|
28
|
-
const e = window.getComputedStyle(t);
|
|
29
|
-
return {
|
|
30
|
-
top: parseFloat(e.scrollMarginTop) || 0,
|
|
31
|
-
right: parseFloat(e.scrollMarginRight) || 0,
|
|
32
|
-
bottom: parseFloat(e.scrollMarginBottom) || 0,
|
|
33
|
-
left: parseFloat(e.scrollMarginLeft) || 0
|
|
34
|
-
};
|
|
35
|
-
}, rt = (t, e) => {
|
|
36
|
-
if (typeof document > "u")
|
|
37
|
-
return [];
|
|
38
|
-
const {
|
|
39
|
-
scrollMode: i = "always",
|
|
40
|
-
block: l = "center",
|
|
41
|
-
inline: d = "nearest",
|
|
42
|
-
boundary: f = null,
|
|
43
|
-
skipOverflowHiddenElements: m = !1
|
|
44
|
-
} = e, g = z(f) ? f : (o) => o !== f;
|
|
45
|
-
if (!Q(t))
|
|
46
|
-
throw new TypeError("Invalid target");
|
|
47
|
-
const N = document.scrollingElement || document.documentElement, X = [];
|
|
48
|
-
let s = t;
|
|
49
|
-
for (; Q(s) && g(s); ) {
|
|
50
|
-
if (s = tt(s), s === N) {
|
|
51
|
-
X.push(s);
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
s === document.body && D(s) && !D(document.documentElement) || s && D(s, m) && X.push(s);
|
|
55
|
-
}
|
|
56
|
-
const u = window.visualViewport?.width ?? innerWidth, p = window.visualViewport?.height ?? innerHeight, { scrollX: w, scrollY: W } = window, Z = t.getBoundingClientRect(), {
|
|
57
|
-
height: b,
|
|
58
|
-
width: H,
|
|
59
|
-
top: M,
|
|
60
|
-
right: Y,
|
|
61
|
-
bottom: O,
|
|
62
|
-
left: y
|
|
63
|
-
} = Z, h = et(t);
|
|
64
|
-
let a = l === "start" || l === "nearest" ? M - h.top : l === "end" ? O + h.bottom : M + b / 2 - h.top + h.bottom, c = d === "center" ? y + H / 2 - h.left + h.right : d === "end" ? Y + h.right : y - h.left;
|
|
65
|
-
const P = [];
|
|
66
|
-
for (const o of X) {
|
|
67
|
-
const $ = o.getBoundingClientRect(), { height: E, width: v, top: F, right: j, bottom: q, left: R } = $;
|
|
68
|
-
if (i === "if-needed" && M >= 0 && y >= 0 && O <= p && Y <= u && (o === N && !D(o) || M >= F && O <= q && y >= R && Y <= j))
|
|
69
|
-
return P;
|
|
70
|
-
const S = getComputedStyle(o), C = parseInt(S.borderLeftWidth, 10) || 0, x = parseInt(S.borderTopWidth, 10) || 0, B = parseInt(S.borderRightWidth, 10) || 0, I = parseInt(S.borderBottomWidth, 10) || 0;
|
|
71
|
-
let n = 0, r = 0;
|
|
72
|
-
const T = "offsetWidth" in o ? o.offsetWidth - o.clientWidth - C - B : 0, V = "offsetHeight" in o ? o.offsetHeight - o.clientHeight - x - I : 0, A = "offsetWidth" in o && o.offsetWidth !== 0 ? v / o.offsetWidth : 1, G = "offsetHeight" in o && o.offsetHeight !== 0 ? E / o.offsetHeight : 1;
|
|
73
|
-
if (N === o)
|
|
74
|
-
l === "start" ? n = a : l === "end" ? n = a - p : l === "nearest" ? n = L(
|
|
75
|
-
W,
|
|
76
|
-
W + p,
|
|
77
|
-
p,
|
|
78
|
-
x,
|
|
79
|
-
I,
|
|
80
|
-
W + a,
|
|
81
|
-
W + a + b,
|
|
82
|
-
b
|
|
83
|
-
) : n = a - p / 2, d === "start" ? r = c : d === "center" ? r = c - u / 2 : d === "end" ? r = c - u : r = L(
|
|
84
|
-
w,
|
|
85
|
-
w + u,
|
|
86
|
-
u,
|
|
87
|
-
C,
|
|
88
|
-
B,
|
|
89
|
-
w + c,
|
|
90
|
-
w + c + H,
|
|
91
|
-
H
|
|
92
|
-
), n = Math.max(0, n + W), r = Math.max(0, r + w);
|
|
93
|
-
else {
|
|
94
|
-
l === "start" ? n = a - F - x : l === "end" ? n = a - q + I + V : l === "nearest" ? n = L(
|
|
95
|
-
F,
|
|
96
|
-
q,
|
|
97
|
-
E,
|
|
98
|
-
x,
|
|
99
|
-
I + V,
|
|
100
|
-
a,
|
|
101
|
-
a + b,
|
|
102
|
-
b
|
|
103
|
-
) : n = a - (F + E / 2) + V / 2, d === "start" ? r = c - R - C : d === "center" ? r = c - (R + v / 2) + T / 2 : d === "end" ? r = c - j + B + T : r = L(
|
|
104
|
-
R,
|
|
105
|
-
j,
|
|
106
|
-
v,
|
|
107
|
-
C,
|
|
108
|
-
B + T,
|
|
109
|
-
c,
|
|
110
|
-
c + H,
|
|
111
|
-
H
|
|
112
|
-
);
|
|
113
|
-
const { scrollLeft: J, scrollTop: K } = o;
|
|
114
|
-
n = Math.max(
|
|
115
|
-
0,
|
|
116
|
-
Math.min(
|
|
117
|
-
K + n / G,
|
|
118
|
-
o.scrollHeight - E / G + V
|
|
119
|
-
)
|
|
120
|
-
), r = Math.max(
|
|
121
|
-
0,
|
|
122
|
-
Math.min(
|
|
123
|
-
J + r / A,
|
|
124
|
-
o.scrollWidth - v / A + T
|
|
125
|
-
)
|
|
126
|
-
), a += K - n, c += J - r;
|
|
127
|
-
}
|
|
128
|
-
P.push({ el: o, top: n, left: r });
|
|
129
|
-
}
|
|
130
|
-
return P;
|
|
131
|
-
};
|
|
132
|
-
export {
|
|
133
|
-
L as alignNearest,
|
|
134
|
-
k as canOverflow,
|
|
135
|
-
rt as compute,
|
|
136
|
-
rt as default,
|
|
137
|
-
_ as getFrameElement,
|
|
138
|
-
tt as getParentElement,
|
|
139
|
-
et as getScrollMargins,
|
|
140
|
-
U as isHiddenByFrame,
|
|
141
|
-
D as isScrollable
|
|
142
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import { UI_PC_KEY as t, UI_PC_THEME_DARK_CLASS_NAME as n } from "@unicom-cloud/utils/constant/ui";
|
|
3
|
-
const E = window.document.documentElement, _ = () => {
|
|
4
|
-
};
|
|
5
|
-
export {
|
|
6
|
-
E as CSS_VARIABLE_ELEMENT,
|
|
7
|
-
_ as NOOP,
|
|
8
|
-
t as UI_PC_KEY,
|
|
9
|
-
n as UI_PC_THEME_DARK_CLASS_NAME
|
|
10
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import o from "dayjs";
|
|
3
|
-
import t from "dayjs/plugin/advancedFormat";
|
|
4
|
-
import r from "dayjs/plugin/customParseFormat";
|
|
5
|
-
import m from "dayjs/plugin/isBetween";
|
|
6
|
-
import e from "dayjs/plugin/quarterOfYear";
|
|
7
|
-
import d from "dayjs/plugin/timezone";
|
|
8
|
-
import f from "dayjs/plugin/utc";
|
|
9
|
-
import i from "dayjs/plugin/weekOfYear";
|
|
10
|
-
import n from "dayjs/plugin/weekYear";
|
|
11
|
-
o.extend(r);
|
|
12
|
-
o.extend(m);
|
|
13
|
-
o.extend(i);
|
|
14
|
-
o.extend(t);
|
|
15
|
-
o.extend(n);
|
|
16
|
-
o.extend(e);
|
|
17
|
-
o.extend(f);
|
|
18
|
-
o.extend(d);
|
|
19
|
-
const u = o;
|
|
20
|
-
export {
|
|
21
|
-
u as dayjs,
|
|
22
|
-
u as default
|
|
23
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import { default as E, default as g } from "@unicom-cloud/utils/dom-helpers/reflow";
|
|
3
|
-
import { isServerRendering as o } from "./is.js";
|
|
4
|
-
import { isEventTarget as s } from "@unicom-cloud/utils/is";
|
|
5
|
-
function a(t, n, e, r) {
|
|
6
|
-
o || s(t) && t.addEventListener(n, e, r || !1);
|
|
7
|
-
}
|
|
8
|
-
function u(t, n, e, r) {
|
|
9
|
-
o || s(t) && t.removeEventListener(n, e, r || !1);
|
|
10
|
-
}
|
|
11
|
-
function c(t, n) {
|
|
12
|
-
if (!t) return !1;
|
|
13
|
-
if (t.contains)
|
|
14
|
-
return t.contains(n);
|
|
15
|
-
let e = n;
|
|
16
|
-
for (; e; ) {
|
|
17
|
-
if (e === t)
|
|
18
|
-
return !0;
|
|
19
|
-
e = e.parentNode;
|
|
20
|
-
}
|
|
21
|
-
return !1;
|
|
22
|
-
}
|
|
23
|
-
function f(t) {
|
|
24
|
-
if (!(t instanceof HTMLElement) || [document.documentElement].includes(t))
|
|
25
|
-
return !1;
|
|
26
|
-
const n = window.getComputedStyle(t), e = ["auto", "scroll", "overlay"];
|
|
27
|
-
return t.scrollHeight > t.offsetHeight && e.includes(n.overflowY) || t.scrollWidth > t.offsetWidth && e.includes(n.overflowX);
|
|
28
|
-
}
|
|
29
|
-
function d(t, n = document.documentElement) {
|
|
30
|
-
const e = [];
|
|
31
|
-
let r = t;
|
|
32
|
-
for (; r && r !== n; )
|
|
33
|
-
f(r) && e.push(r), r = r.parentElement;
|
|
34
|
-
return e;
|
|
35
|
-
}
|
|
36
|
-
function m(t, n) {
|
|
37
|
-
if (!t || !n)
|
|
38
|
-
return !1;
|
|
39
|
-
if (t.contains)
|
|
40
|
-
return t.contains(n);
|
|
41
|
-
let e = n;
|
|
42
|
-
for (; e; ) {
|
|
43
|
-
if (t === e)
|
|
44
|
-
return !0;
|
|
45
|
-
e = e.parentNode;
|
|
46
|
-
}
|
|
47
|
-
return !1;
|
|
48
|
-
}
|
|
49
|
-
function p() {
|
|
50
|
-
return window.document.body;
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
c as contains,
|
|
54
|
-
E as forceReflow,
|
|
55
|
-
p as getBodyContainer,
|
|
56
|
-
d as getScrollElements,
|
|
57
|
-
f as isScrollElement,
|
|
58
|
-
o as isServerRendering,
|
|
59
|
-
u as off,
|
|
60
|
-
a as on,
|
|
61
|
-
m as parentContainsChildren,
|
|
62
|
-
g as reflow
|
|
63
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
function u(o, l = !1) {
|
|
3
|
-
if (!o) return document.documentElement;
|
|
4
|
-
const n = getComputedStyle(o), r = n.position === "absolute", i = l ? /(auto|scroll|hidden)/ : /(auto|scroll)/;
|
|
5
|
-
if (n.position === "fixed")
|
|
6
|
-
return document.documentElement;
|
|
7
|
-
for (let t = o; t = t.parentElement; ) {
|
|
8
|
-
const e = getComputedStyle(t);
|
|
9
|
-
if (!(r && e.position === "static") && (i.test(
|
|
10
|
-
e.overflow + e.overflowY + e.overflowX
|
|
11
|
-
) || t.scrollHeight > t.clientHeight))
|
|
12
|
-
return t;
|
|
13
|
-
}
|
|
14
|
-
return document.documentElement;
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
u as default
|
|
18
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import l from "lodash/escapeRegExp";
|
|
3
|
-
import { cloneElement as a, createElement as s } from "react";
|
|
4
|
-
import "./is.js";
|
|
5
|
-
import { isArray as p, isString as m } from "@unicom-cloud/utils/is";
|
|
6
|
-
function d({
|
|
7
|
-
nodeList: i,
|
|
8
|
-
pattern: t,
|
|
9
|
-
highlightClassName: n
|
|
10
|
-
}) {
|
|
11
|
-
if (!t)
|
|
12
|
-
return i;
|
|
13
|
-
const r = (e) => e && e.props && m(e.props.children) ? a(
|
|
14
|
-
e,
|
|
15
|
-
void 0,
|
|
16
|
-
s(h, {
|
|
17
|
-
text: e.props.children,
|
|
18
|
-
keyword: t,
|
|
19
|
-
highlightClassName: n
|
|
20
|
-
})
|
|
21
|
-
) : e;
|
|
22
|
-
return p(i) ? i.map((e) => r(e)) : r(i);
|
|
23
|
-
}
|
|
24
|
-
function h({
|
|
25
|
-
text: i,
|
|
26
|
-
keyword: t,
|
|
27
|
-
highlightClassName: n
|
|
28
|
-
}) {
|
|
29
|
-
if (!t)
|
|
30
|
-
return i;
|
|
31
|
-
t.length > 1e3 && (t = t.slice(0, 1e3));
|
|
32
|
-
const r = new RegExp(`(${l(t)})`, "i");
|
|
33
|
-
return i.split(r).map((e, o) => s(
|
|
34
|
-
"span",
|
|
35
|
-
{
|
|
36
|
-
key: o,
|
|
37
|
-
className: r.test(e) ? n : ""
|
|
38
|
-
},
|
|
39
|
-
e
|
|
40
|
-
));
|
|
41
|
-
}
|
|
42
|
-
export {
|
|
43
|
-
d as default,
|
|
44
|
-
d as getHighlightText
|
|
45
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import "./is.js";
|
|
3
|
-
import { isNumber as a, isString as r } from "@unicom-cloud/utils/is";
|
|
4
|
-
const s = (o) => JSON.stringify({
|
|
5
|
-
code: o.code,
|
|
6
|
-
ctrl: !!o.ctrl,
|
|
7
|
-
shift: !!o.shift,
|
|
8
|
-
alt: !!o.alt,
|
|
9
|
-
meta: !!o.meta
|
|
10
|
-
});
|
|
11
|
-
function f(o) {
|
|
12
|
-
const c = {};
|
|
13
|
-
return o.forEach((t, e) => {
|
|
14
|
-
e = a(e) || r(e) ? { code: e } : e, c[s(e)] = t;
|
|
15
|
-
}), (t) => {
|
|
16
|
-
const e = s({
|
|
17
|
-
code: t.code,
|
|
18
|
-
ctrl: !!t.ctrlKey,
|
|
19
|
-
shift: !!t.shiftKey,
|
|
20
|
-
alt: !!t.altKey,
|
|
21
|
-
meta: !!t.metaKey
|
|
22
|
-
}), i = c[e];
|
|
23
|
-
i && (t.stopPropagation(), i(t) === !1 && t.preventDefault());
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
f as default,
|
|
28
|
-
f as getHotkeyHandler
|
|
29
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import a from "lodash/throttle";
|
|
3
|
-
import "./is.js";
|
|
4
|
-
import { isFunction as f } from "@unicom-cloud/utils/is";
|
|
5
|
-
function m(c, n) {
|
|
6
|
-
const r = [].concat(c).filter(Boolean);
|
|
7
|
-
if (!(r.length && f(n))) return () => {
|
|
8
|
-
};
|
|
9
|
-
const o = a((...e) => {
|
|
10
|
-
n(...e);
|
|
11
|
-
}, 227), t = new IntersectionObserver(o);
|
|
12
|
-
return r.forEach((e, s, i) => {
|
|
13
|
-
t.observe(e);
|
|
14
|
-
}), () => {
|
|
15
|
-
r.forEach((e, s, i) => {
|
|
16
|
-
t.unobserve(e);
|
|
17
|
-
}), t.disconnect(), o.cancel();
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
m as default,
|
|
22
|
-
m as intersectionObserver
|
|
23
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import { isBrowser as m } from "@unicom-cloud/utils/constant/platform";
|
|
3
|
-
import { isString as n, isObjectLike as f, isFunction as l, isNullOrUndefined as c } from "@unicom-cloud/utils/is";
|
|
4
|
-
import { is32Bit as v, isArguments as w, isArray as x, isArrayBuffer as L, isArrayLike as M, isArrayLikeObject as W, isBlob as $, isBoolean as D, isBuffer as U, isColorValue as V, isDate as q, isElement as I, isEmpty as P, isEmptyArray as T, isEmptyObject as _, isEmptyValue as J, isEqual as z, isEqualWith as G, isError as H, isEventTarget as K, isExist as Q, isFile as X, isFinite as Y, isFunction as Z, isInteger as ee, isJSON as ie, isLength as se, isMap as te, isMatch as re, isMatchWith as oe, isNaN as ne, isNative as ae, isNil as me, isNull as fe, isNullOrUndefined as le, isNumber as ce, isObject as pe, isObjectLike as ue, isPlainObject as ye, isPromise as de, isReadableStream as Ee, isRegExp as be, isSafeInteger as Re, isSet as Se, isString as ge, isSymbol as Ne, isTypedArray as Oe, isUndefined as Fe, isWeakMap as je, isWeakSet as Ae, isWindow as he } from "@unicom-cloud/utils/is";
|
|
5
|
-
import { isDayjs as Be } from "dayjs";
|
|
6
|
-
import p, { isValidElement as a } from "react";
|
|
7
|
-
import u from "react-dom";
|
|
8
|
-
import { isForwardRef as y } from "react-is";
|
|
9
|
-
const O = !m, [F, d] = [18, 19].map((e, i, t) => {
|
|
10
|
-
const s = (p.version || u.version || "").match(/\d+/).toString();
|
|
11
|
-
return e <= parseFloat(s);
|
|
12
|
-
});
|
|
13
|
-
function j(e, i) {
|
|
14
|
-
return !!(c(e) || e === !1 || n(e) && (i ? e.trim() === "" : e === ""));
|
|
15
|
-
}
|
|
16
|
-
function E(e) {
|
|
17
|
-
return e && a(e) && l(e.type);
|
|
18
|
-
}
|
|
19
|
-
function A(e) {
|
|
20
|
-
return E(e) && !!e.type.prototype?.isReactComponent;
|
|
21
|
-
}
|
|
22
|
-
function h(e) {
|
|
23
|
-
return a(e) && n(e.type);
|
|
24
|
-
}
|
|
25
|
-
function k(e) {
|
|
26
|
-
if (!d) return y(e);
|
|
27
|
-
const i = Symbol.for("react.element"), t = Symbol.for("react.transitional.element"), s = Symbol.for("react.forward_ref");
|
|
28
|
-
if (f(e)) {
|
|
29
|
-
const r = e.$$typeof;
|
|
30
|
-
if (r === i || r === t) {
|
|
31
|
-
const o = e.type;
|
|
32
|
-
return (o && o.$$typeof) === s;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return !1;
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
v as is32Bit,
|
|
39
|
-
w as isArguments,
|
|
40
|
-
x as isArray,
|
|
41
|
-
L as isArrayBuffer,
|
|
42
|
-
M as isArrayLike,
|
|
43
|
-
W as isArrayLikeObject,
|
|
44
|
-
$ as isBlob,
|
|
45
|
-
D as isBoolean,
|
|
46
|
-
U as isBuffer,
|
|
47
|
-
A as isClassComponent,
|
|
48
|
-
V as isColorValue,
|
|
49
|
-
h as isDOMElement,
|
|
50
|
-
q as isDate,
|
|
51
|
-
Be as isDayjs,
|
|
52
|
-
I as isElement,
|
|
53
|
-
P as isEmpty,
|
|
54
|
-
T as isEmptyArray,
|
|
55
|
-
_ as isEmptyObject,
|
|
56
|
-
j as isEmptyReactNode,
|
|
57
|
-
J as isEmptyValue,
|
|
58
|
-
z as isEqual,
|
|
59
|
-
G as isEqualWith,
|
|
60
|
-
H as isError,
|
|
61
|
-
K as isEventTarget,
|
|
62
|
-
Q as isExist,
|
|
63
|
-
X as isFile,
|
|
64
|
-
Y as isFinite,
|
|
65
|
-
k as isForwardRefReact,
|
|
66
|
-
Z as isFunction,
|
|
67
|
-
ee as isInteger,
|
|
68
|
-
ie as isJSON,
|
|
69
|
-
se as isLength,
|
|
70
|
-
te as isMap,
|
|
71
|
-
re as isMatch,
|
|
72
|
-
oe as isMatchWith,
|
|
73
|
-
ne as isNaN,
|
|
74
|
-
ae as isNative,
|
|
75
|
-
me as isNil,
|
|
76
|
-
fe as isNull,
|
|
77
|
-
le as isNullOrUndefined,
|
|
78
|
-
ce as isNumber,
|
|
79
|
-
pe as isObject,
|
|
80
|
-
ue as isObjectLike,
|
|
81
|
-
ye as isPlainObject,
|
|
82
|
-
de as isPromise,
|
|
83
|
-
F as isReact18,
|
|
84
|
-
d as isReact19,
|
|
85
|
-
E as isReactComponent,
|
|
86
|
-
Ee as isReadableStream,
|
|
87
|
-
be as isRegExp,
|
|
88
|
-
Re as isSafeInteger,
|
|
89
|
-
O as isServerRendering,
|
|
90
|
-
Se as isSet,
|
|
91
|
-
ge as isString,
|
|
92
|
-
Ne as isSymbol,
|
|
93
|
-
Oe as isTypedArray,
|
|
94
|
-
Fe as isUndefined,
|
|
95
|
-
je as isWeakMap,
|
|
96
|
-
Ae as isWeakSet,
|
|
97
|
-
he as isWindow
|
|
98
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
function f(s, b, i, r) {
|
|
3
|
-
const c = b || {}, o = i || {}, a = s || {}, u = r ? new Set(r) : new Set(
|
|
4
|
-
Object.keys(a).concat(Object.keys(c)).concat(Object.keys(o))
|
|
5
|
-
), t = {};
|
|
6
|
-
return u.forEach((e) => {
|
|
7
|
-
a[e] !== void 0 ? t[e] = a[e] : e in o ? t[e] = o[e] : e in c && (t[e] = c[e]);
|
|
8
|
-
}), t;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
f as default,
|
|
12
|
-
f as mergeProps
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import c from "react";
|
|
3
|
-
import "./is.js";
|
|
4
|
-
import { isPlainObject as p, isString as e, isNumber as h } from "@unicom-cloud/utils/is";
|
|
5
|
-
const s = (n) => e(n) || h(n);
|
|
6
|
-
function l(n) {
|
|
7
|
-
const i = [""];
|
|
8
|
-
return p(n) && n.children && (n = n.children), c.Children.forEach(n, (o) => {
|
|
9
|
-
const r = i.length - 1, t = i[r];
|
|
10
|
-
s(o) && s(t) ? i[r] = `${t}${o}` : o && o.props && o.props.children && i.push(l(o.props.children));
|
|
11
|
-
}), i.join("");
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
l as default,
|
|
15
|
-
l as mergedToString
|
|
16
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/* 2025-11-04 14:07:05 */
|
|
2
|
-
import c from "lodash/throttle";
|
|
3
|
-
import "./is.js";
|
|
4
|
-
import { isFunction as s } from "@unicom-cloud/utils/is";
|
|
5
|
-
function m(i, r) {
|
|
6
|
-
const e = [].concat(i).filter(Boolean);
|
|
7
|
-
if (!(e.length && s(r))) return () => {
|
|
8
|
-
};
|
|
9
|
-
const o = c((...t) => {
|
|
10
|
-
r(...t);
|
|
11
|
-
}, 227), n = new MutationObserver(o);
|
|
12
|
-
return e.forEach((t, u, a) => {
|
|
13
|
-
n.observe(t, { attributes: !0, childList: !0, subtree: !0 });
|
|
14
|
-
}), () => {
|
|
15
|
-
n.disconnect(), o.cancel();
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
m as default,
|
|
20
|
-
m as mutationObserver
|
|
21
|
-
};
|