@unicom-cloud/ui 0.8.119 → 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 -8
- package/List.js +11 -12
- package/Loading.js +8 -26
- package/Marquee.js +96 -168
- 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 +43 -44
- package/alert/index.js +33 -33
- package/anchor/Anchor.js +93 -95
- package/anchor/Link.js +28 -29
- 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 +69 -70
- package/avatar/Avatar.js +16 -17
- package/avatar/Group.js +25 -26
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/back-top/index.js +30 -30
- package/badge/Count.js +15 -15
- package/badge/index.js +55 -56
- package/breadcrumb/Item.js +23 -24
- package/breadcrumb/index.js +18 -18
- package/button/Group.js +8 -8
- package/button/index.js +25 -26
- 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 +43 -44
- package/card/Grid.js +13 -13
- package/card/Meta.js +16 -16
- package/card/index.js +28 -28
- package/carousel/Arrow.js +18 -18
- package/carousel/Indicator.js +17 -17
- package/carousel/index.js +54 -55
- package/cascader/Cascader.js +59 -60
- 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 +65 -66
- package/checkbox/Group.js +50 -51
- package/checkbox/GroupBlock.js +18 -18
- package/checkbox/IconCheck.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/useCheckbox.js +4 -5
- package/collapse/Collapse.js +51 -52
- package/collapse/Item.js +41 -50
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +20 -20
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Mode.js +6 -7
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +17 -18
- 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 +81 -82
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +19 -20
- package/comment/index.js +24 -25
- 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 +23 -24
- package/countdown/index.js +46 -63
- package/countdown/utils.js +2 -2
- package/date-picker/Picker.js +107 -109
- package/date-picker/RangePicker.js +118 -119
- 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 +24 -25
- package/date-picker/panel/Header.js +13 -14
- package/date-picker/panel/Shortcut.js +14 -15
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +62 -63
- package/date-picker/panel/month/index.js +30 -30
- package/date-picker/panel/quarter/index.js +31 -31
- package/date-picker/panel/range/index.js +22 -23
- package/date-picker/panel/week/index.js +11 -11
- package/date-picker/panel/year/index.js +25 -25
- package/date-picker/utils.js +25 -26
- package/descriptions/index.js +54 -55
- package/details/index.js +72 -90
- package/development/index.js +12 -14
- package/divider/index.js +31 -31
- package/draggable/Item.js +2 -2
- package/draggable/index.js +10 -10
- package/drawer/Drawer.js +39 -40
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +18 -18
- package/dropdown/index.js +67 -68
- package/empty/index.js +14 -20
- package/flex/index.js +30 -49
- package/form/Control.js +59 -60
- package/form/Form.js +41 -42
- package/form/FormItem.js +25 -26
- package/form/FormLabel.js +22 -23
- package/form/FormList.js +19 -20
- package/form/FormProvider.js +1 -1
- package/form/context.js +7 -6
- 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 +10 -11
- package/form/store.js +10 -11
- package/form/utils.js +19 -20
- package/grid/Grid.js +39 -40
- package/grid/Item.js +16 -17
- 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 +15 -15
- package/icons/file/index.js +11 -12
- package/icons/file.js +5 -6
- package/icons.js +1 -1
- package/image/Image.js +77 -78
- package/image/ImageFooter.js +10 -10
- package/image/ImagePreview.js +88 -106
- package/image/ImagePreviewArrow.js +6 -6
- 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 +29 -30
- package/input/Group.js +11 -11
- package/input/Input.js +69 -70
- package/input/InputElement.js +65 -66
- package/input/Number.js +1 -1
- package/input/Password.js +28 -28
- package/input/Search.js +34 -35
- package/input/Tag.js +1 -1
- package/input/Textarea.js +107 -102
- 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 +37 -38
- package/input-number/useSelectionRange.js +12 -13
- package/input-number/utils.js +30 -31
- package/input-tag/InputTag.js +170 -177
- package/input-tag/index.js +1 -1
- package/layout/Content.js +7 -7
- package/layout/Footer.js +7 -7
- package/layout/Header.js +7 -7
- package/layout/Sider.js +42 -43
- package/layout/index.js +34 -35
- package/link/index.js +29 -29
- package/liquid-fill/index.js +62 -63
- package/list/Item.js +18 -18
- package/list/Meta.js +9 -9
- package/list/index.js +52 -53
- package/loading/index.js +38 -56
- 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 +93 -165
- package/mentions/index.js +41 -41
- 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 +68 -69
- 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 +20 -20
- 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 +61 -62
- 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 +81 -99
- package/notification/index.js +47 -54
- package/notification/useNotification.js +44 -83
- package/notification/withNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +16 -17
- package/overflow-ellipsis/index.js +41 -41
- package/package.json +1 -1
- package/page-header/index.js +41 -42
- package/pagination/PageItem.js +21 -21
- 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 +29 -30
- 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 +78 -79
- 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 +64 -65
- 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 +34 -34
- 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 +50 -57
- package/table/ColGroup.js +13 -14
- package/table/Table.js +365 -362
- 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 +12 -13
- package/table/tbody/index.js +28 -29
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +14 -15
- package/table/thead/Column.js +64 -65
- 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 +83 -84
- package/time-picker/RangePicker.js +11 -12
- package/time-picker/TimeColumn.js +24 -24
- package/time-picker/TimePicker.js +61 -62
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/utils.js +8 -8
- package/timeline/Item.js +28 -28
- package/timeline/Timeline.js +19 -19
- package/timeline/index.js +1 -1
- package/tooltip/index.js +41 -42
- 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 +74 -75
- 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 +126 -133
- package/types/config-provider/interface.d.ts +2 -1
- 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 +1 -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/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/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 +25 -26
- package/upload/constant.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +32 -33
- package/upload/list/TextItem.js +12 -13
- 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/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/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/popover/index.js
CHANGED
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
/* 2025-11-
|
|
2
|
-
import { jsxs as j, jsx as
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
|
+
import { jsxs as j, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as O, useContext as R } from "react";
|
|
4
4
|
import "../config-provider/ConfigProvider.js";
|
|
5
|
-
import S from "
|
|
5
|
+
import S from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
6
6
|
import T from "../tooltip/index.js";
|
|
7
|
-
import w from "@unicom-cloud/utils/
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
const W = {
|
|
7
|
+
import w from "@unicom-cloud/ui-common/utils/className";
|
|
8
|
+
import { isFunction as m, isEmptyReactNode as a, isString as F } from "@unicom-cloud/ui-common/utils/is";
|
|
9
|
+
import H from "../config-provider/context.js";
|
|
10
|
+
const M = {
|
|
12
11
|
position: "top",
|
|
13
12
|
trigger: "hover",
|
|
14
13
|
unmountOnExit: !0
|
|
15
14
|
};
|
|
16
|
-
function
|
|
17
|
-
const { getPrefixCls: d, componentConfig: f, rtl: g } = R(
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
function W(c, u) {
|
|
16
|
+
const { getPrefixCls: d, componentConfig: f, rtl: g } = R(H), p = S(
|
|
17
|
+
c,
|
|
18
|
+
M,
|
|
20
19
|
f?.Popover
|
|
21
20
|
), {
|
|
22
21
|
style: C,
|
|
23
22
|
className: h,
|
|
24
|
-
children:
|
|
23
|
+
children: t,
|
|
25
24
|
position: v,
|
|
26
25
|
getPopupContainer: x,
|
|
27
26
|
trigger: P,
|
|
28
|
-
defaultPopupVisible:
|
|
29
|
-
popupVisible:
|
|
27
|
+
defaultPopupVisible: N,
|
|
28
|
+
popupVisible: b,
|
|
30
29
|
triggerProps: n,
|
|
31
30
|
unmountOnExit: V,
|
|
32
31
|
onVisibleChange: y,
|
|
33
32
|
content: i,
|
|
34
33
|
title: r,
|
|
35
34
|
...$
|
|
36
|
-
} = p, o = d?.("popover"), s =
|
|
35
|
+
} = p, o = d?.("popover"), s = m(r) ? r() : r, l = m(i) ? i() : i, E = a(s, !0) && a(l, !0) ? null : /* @__PURE__ */ j(
|
|
37
36
|
"div",
|
|
38
37
|
{
|
|
39
38
|
className: w(`${o}-inner`, {
|
|
40
39
|
[`${o}-inner-rtl`]: g
|
|
41
40
|
}),
|
|
42
41
|
children: [
|
|
43
|
-
s ? /* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
42
|
+
s ? /* @__PURE__ */ e("div", { className: `${o}-title`, children: s }) : null,
|
|
43
|
+
/* @__PURE__ */ e("div", { className: `${o}-inner-content`, children: l })
|
|
45
44
|
]
|
|
46
45
|
}
|
|
47
46
|
);
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ e(
|
|
49
48
|
T,
|
|
50
49
|
{
|
|
51
50
|
...$,
|
|
@@ -63,18 +62,18 @@ function k(a, u) {
|
|
|
63
62
|
popupHoverStay: !0,
|
|
64
63
|
unmountOnExit: V,
|
|
65
64
|
triggerProps: n,
|
|
66
|
-
defaultPopupVisible:
|
|
65
|
+
defaultPopupVisible: N,
|
|
67
66
|
onVisibleChange: y || (n ? n.onVisibleChange : void 0),
|
|
68
67
|
childrenPrefix: o,
|
|
69
|
-
..."popupVisible" in p ? { popupVisible:
|
|
70
|
-
children:
|
|
68
|
+
..."popupVisible" in p ? { popupVisible: b } : {},
|
|
69
|
+
children: F(t) ? /* @__PURE__ */ e("span", { children: t }) : t
|
|
71
70
|
}
|
|
72
71
|
);
|
|
73
72
|
}
|
|
74
|
-
const
|
|
75
|
-
|
|
73
|
+
const k = O(
|
|
74
|
+
W
|
|
76
75
|
);
|
|
77
|
-
|
|
76
|
+
k.displayName = "Popover";
|
|
78
77
|
export {
|
|
79
|
-
|
|
78
|
+
k as default
|
|
80
79
|
};
|
package/portal/Portal.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
2
|
import o, { useEffect as a, useImperativeHandle as n } from "react";
|
|
3
|
-
import { createPortal as
|
|
4
|
-
import
|
|
5
|
-
function
|
|
6
|
-
const r =
|
|
3
|
+
import { createPortal as c } from "react-dom";
|
|
4
|
+
import f from "@unicom-cloud/ui-common/hooks/use-force-update";
|
|
5
|
+
function u(e, t) {
|
|
6
|
+
const r = f();
|
|
7
7
|
return a(() => (setTimeout(() => {
|
|
8
8
|
r();
|
|
9
9
|
}, 0), () => {
|
|
10
|
-
}), []), n(
|
|
10
|
+
}), []), n(t, () => ({})), c(e.children, e.getContainer?.() || document.body);
|
|
11
11
|
}
|
|
12
|
-
const l = o.forwardRef(
|
|
12
|
+
const l = o.forwardRef(u);
|
|
13
13
|
export {
|
|
14
14
|
l as default
|
|
15
15
|
};
|
package/portal/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
2
|
import { jsx as e, jsxs as p } from "react/jsx-runtime";
|
|
3
3
|
import w from "@unicom-cloud/icons/IconUiCheck";
|
|
4
4
|
import W from "@unicom-cloud/icons/IconUiExclamation";
|
|
5
|
-
import { useCallback as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import C from "@unicom-cloud/utils/
|
|
9
|
-
import "
|
|
10
|
-
import { isPlainObject as I, isFunction as S } from "@unicom-cloud/utils/is";
|
|
5
|
+
import { useCallback as I } from "react";
|
|
6
|
+
import T from "@unicom-cloud/ui-common/hooks/use-id";
|
|
7
|
+
import b from "../tooltip/index.js";
|
|
8
|
+
import C from "@unicom-cloud/ui-common/utils/className";
|
|
9
|
+
import { isPlainObject as j, isFunction as S } from "@unicom-cloud/ui-common/utils/is";
|
|
11
10
|
const G = {
|
|
12
11
|
mini: 4,
|
|
13
12
|
small: 3,
|
|
@@ -18,7 +17,7 @@ const G = {
|
|
|
18
17
|
small: 48,
|
|
19
18
|
default: 64,
|
|
20
19
|
large: 80
|
|
21
|
-
},
|
|
20
|
+
}, L = (t) => {
|
|
22
21
|
const {
|
|
23
22
|
size: s,
|
|
24
23
|
percent: o = 0,
|
|
@@ -27,7 +26,7 @@ const G = {
|
|
|
27
26
|
inlineText: u,
|
|
28
27
|
status: x,
|
|
29
28
|
formatText: c
|
|
30
|
-
} = t, $ =
|
|
29
|
+
} = t, $ = j(t.color), r = t.width || P[s], l = t.strokeWidth || (s === "mini" ? r / 2 : G[s]), m = (r - l) / 2, k = Math.PI * 2 * m, n = r / 2, i = `${h}-circle`, N = `${i}-svg`, g = I(
|
|
31
30
|
(a) => {
|
|
32
31
|
if (S(c))
|
|
33
32
|
return c(o);
|
|
@@ -41,7 +40,7 @@ const G = {
|
|
|
41
40
|
}
|
|
42
41
|
},
|
|
43
42
|
[c, o]
|
|
44
|
-
), v =
|
|
43
|
+
), v = T(`${h}-linear-gradient`), y = $ ? `url(#${v})` : t.color;
|
|
45
44
|
let d = /* @__PURE__ */ p(
|
|
46
45
|
"div",
|
|
47
46
|
{
|
|
@@ -59,10 +58,10 @@ const G = {
|
|
|
59
58
|
{
|
|
60
59
|
className: `${i}-mask`,
|
|
61
60
|
fill: "none",
|
|
62
|
-
cx:
|
|
63
|
-
cy:
|
|
61
|
+
cx: n,
|
|
62
|
+
cy: n,
|
|
64
63
|
r: m,
|
|
65
|
-
strokeWidth: t.pathStrokeWidth || (s === "mini" ?
|
|
64
|
+
strokeWidth: t.pathStrokeWidth || (s === "mini" ? l : Math.max(2, l - 2)),
|
|
66
65
|
style: {
|
|
67
66
|
stroke: t.pathStrokeColor
|
|
68
67
|
}
|
|
@@ -73,10 +72,10 @@ const G = {
|
|
|
73
72
|
{
|
|
74
73
|
className: `${i}-path`,
|
|
75
74
|
fill: "none",
|
|
76
|
-
cx:
|
|
77
|
-
cy:
|
|
75
|
+
cx: n,
|
|
76
|
+
cy: n,
|
|
78
77
|
r: m,
|
|
79
|
-
strokeWidth:
|
|
78
|
+
strokeWidth: l,
|
|
80
79
|
style: {
|
|
81
80
|
stroke: y,
|
|
82
81
|
strokeDasharray: k,
|
|
@@ -98,7 +97,7 @@ const G = {
|
|
|
98
97
|
}
|
|
99
98
|
);
|
|
100
99
|
return s === "mini" && x === "success" && t.type === "circle" && (d = /* @__PURE__ */ e("div", { className: `${i}-wrapper`, style: { width: r, height: r }, children: /* @__PURE__ */ e(w, { style: { fontSize: r - 2, color: y } }) })), s === "mini" && f ? /* @__PURE__ */ e(
|
|
101
|
-
|
|
100
|
+
b,
|
|
102
101
|
{
|
|
103
102
|
content: /* @__PURE__ */ e(
|
|
104
103
|
"div",
|
|
@@ -114,5 +113,5 @@ const G = {
|
|
|
114
113
|
) : d;
|
|
115
114
|
};
|
|
116
115
|
export {
|
|
117
|
-
|
|
116
|
+
L as default
|
|
118
117
|
};
|
package/progress/LineProgess.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/* 2025-11-
|
|
2
|
-
import { jsxs as c, jsx as
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
|
+
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import C from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
4
|
-
import { useCallback as
|
|
5
|
-
import u from "@unicom-cloud/utils/
|
|
6
|
-
import "
|
|
7
|
-
import { isFunction as N, isPlainObject as y } from "@unicom-cloud/utils/is";
|
|
4
|
+
import { useCallback as N } from "react";
|
|
5
|
+
import u from "@unicom-cloud/ui-common/utils/className";
|
|
6
|
+
import { isFunction as j, isPlainObject as y } from "@unicom-cloud/ui-common/utils/is";
|
|
8
7
|
const m = (t, a) => {
|
|
9
8
|
if (y(t)) {
|
|
10
|
-
const
|
|
9
|
+
const n = Object.keys(t).map((e) => `${t[e]} ${e}`).join(","), o = a ? { backgroundSize: `${1e4 / a}%` } : {};
|
|
11
10
|
return {
|
|
12
|
-
backgroundImage: `linear-gradient(to right, ${
|
|
11
|
+
backgroundImage: `linear-gradient(to right, ${n})`,
|
|
13
12
|
...o
|
|
14
13
|
};
|
|
15
14
|
}
|
|
@@ -21,11 +20,11 @@ const m = (t, a) => {
|
|
|
21
20
|
default: 4,
|
|
22
21
|
large: 8
|
|
23
22
|
};
|
|
24
|
-
function
|
|
23
|
+
function O(t) {
|
|
25
24
|
const {
|
|
26
25
|
// textInside,
|
|
27
26
|
type: a,
|
|
28
|
-
prefixCls:
|
|
27
|
+
prefixCls: n,
|
|
29
28
|
buffer: o,
|
|
30
29
|
percent: e,
|
|
31
30
|
color: d,
|
|
@@ -34,18 +33,18 @@ function S(t) {
|
|
|
34
33
|
formatText: l,
|
|
35
34
|
trailColor: h,
|
|
36
35
|
showText: g = !0,
|
|
37
|
-
inlineText:
|
|
38
|
-
size:
|
|
36
|
+
inlineText: x = !1,
|
|
37
|
+
size: p = "default",
|
|
39
38
|
status: i = "normal"
|
|
40
|
-
} = t, b = t.strokeWidth || T[
|
|
41
|
-
if (
|
|
39
|
+
} = t, b = t.strokeWidth || T[p], r = `${n}-${a}`, k = b, v = i === "success" || i === "error" || e >= 100, w = N(() => {
|
|
40
|
+
if (j(l))
|
|
42
41
|
return l(e);
|
|
43
42
|
switch (i) {
|
|
44
43
|
case "error":
|
|
45
44
|
return /* @__PURE__ */ c("span", { children: [
|
|
46
45
|
e,
|
|
47
46
|
"% ",
|
|
48
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ s(C, {})
|
|
49
48
|
] });
|
|
50
49
|
default:
|
|
51
50
|
return `${e}%`;
|
|
@@ -62,7 +61,7 @@ function S(t) {
|
|
|
62
61
|
"aria-valuenow": e,
|
|
63
62
|
style: { height: k, backgroundColor: h },
|
|
64
63
|
children: [
|
|
65
|
-
o && !v && /* @__PURE__ */
|
|
64
|
+
o && !v && /* @__PURE__ */ s(
|
|
66
65
|
"div",
|
|
67
66
|
{
|
|
68
67
|
className: `${r}-inner-buffer`,
|
|
@@ -72,7 +71,7 @@ function S(t) {
|
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
),
|
|
75
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ s(
|
|
76
75
|
"div",
|
|
77
76
|
{
|
|
78
77
|
className: u(`${r}-inner`, {
|
|
@@ -87,12 +86,12 @@ function S(t) {
|
|
|
87
86
|
]
|
|
88
87
|
}
|
|
89
88
|
),
|
|
90
|
-
g && /* @__PURE__ */
|
|
89
|
+
g && /* @__PURE__ */ s(
|
|
91
90
|
"div",
|
|
92
91
|
{
|
|
93
92
|
className: u(`${r}-text`, {
|
|
94
93
|
[`${r}-text-with-icon`]: i,
|
|
95
|
-
[`${r}-text-inline`]:
|
|
94
|
+
[`${r}-text-inline`]: x
|
|
96
95
|
}),
|
|
97
96
|
children: w()
|
|
98
97
|
}
|
|
@@ -100,5 +99,5 @@ function S(t) {
|
|
|
100
99
|
] });
|
|
101
100
|
}
|
|
102
101
|
export {
|
|
103
|
-
|
|
102
|
+
O as default
|
|
104
103
|
};
|
package/progress/StepProgress.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
2
|
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import g from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
4
4
|
import { useCallback as C } from "react";
|
|
5
|
-
import c from "@unicom-cloud/utils/
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
const W = (r) => {
|
|
5
|
+
import c from "@unicom-cloud/ui-common/utils/className";
|
|
6
|
+
import { isFunction as N } from "@unicom-cloud/ui-common/utils/is";
|
|
7
|
+
const F = (r) => {
|
|
9
8
|
const {
|
|
10
9
|
prefixCls: m,
|
|
11
10
|
percent: t,
|
|
12
11
|
color: u,
|
|
13
12
|
type: d,
|
|
14
|
-
formatText:
|
|
13
|
+
formatText: a,
|
|
15
14
|
trailColor: f,
|
|
16
|
-
showText:
|
|
17
|
-
inlineText:
|
|
18
|
-
size:
|
|
19
|
-
status:
|
|
20
|
-
} = r, $ = r.strokeWidth || (
|
|
21
|
-
if (
|
|
22
|
-
return
|
|
23
|
-
switch (
|
|
15
|
+
showText: x = !0,
|
|
16
|
+
inlineText: h = !1,
|
|
17
|
+
size: p = "default",
|
|
18
|
+
status: i = "normal"
|
|
19
|
+
} = r, $ = r.strokeWidth || (p === "small" ? 8 : 4), e = `${m}-${d}`, v = $, w = C(() => {
|
|
20
|
+
if (N(a))
|
|
21
|
+
return a(t);
|
|
22
|
+
switch (i) {
|
|
24
23
|
case "error":
|
|
25
24
|
return /* @__PURE__ */ n("span", { children: [
|
|
26
25
|
t,
|
|
@@ -30,7 +29,7 @@ const W = (r) => {
|
|
|
30
29
|
default:
|
|
31
30
|
return `${t}%`;
|
|
32
31
|
}
|
|
33
|
-
}, [
|
|
32
|
+
}, [a, t, i]);
|
|
34
33
|
return /* @__PURE__ */ n("div", { className: `${e}-wrapper`, children: [
|
|
35
34
|
/* @__PURE__ */ s(
|
|
36
35
|
"div",
|
|
@@ -41,7 +40,7 @@ const W = (r) => {
|
|
|
41
40
|
"aria-valuemax": 100,
|
|
42
41
|
"aria-valuenow": t,
|
|
43
42
|
style: { height: v },
|
|
44
|
-
children: [...new Array(r.steps)].map((
|
|
43
|
+
children: [...new Array(r.steps)].map((k, o) => {
|
|
45
44
|
const l = t > 100 / r.steps * o;
|
|
46
45
|
return /* @__PURE__ */ s(
|
|
47
46
|
"div",
|
|
@@ -58,12 +57,12 @@ const W = (r) => {
|
|
|
58
57
|
})
|
|
59
58
|
}
|
|
60
59
|
),
|
|
61
|
-
|
|
60
|
+
x && /* @__PURE__ */ s(
|
|
62
61
|
"div",
|
|
63
62
|
{
|
|
64
63
|
className: c(`${e}-text`, {
|
|
65
|
-
[`${e}-text-with-icon`]:
|
|
66
|
-
[`${e}-text-inline`]:
|
|
64
|
+
[`${e}-text-with-icon`]: i,
|
|
65
|
+
[`${e}-text-inline`]: h
|
|
67
66
|
}),
|
|
68
67
|
children: w()
|
|
69
68
|
}
|
|
@@ -71,6 +70,6 @@ const W = (r) => {
|
|
|
71
70
|
] });
|
|
72
71
|
};
|
|
73
72
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
F as StepProgress,
|
|
74
|
+
F as default
|
|
76
75
|
};
|
package/progress/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* 2025-11-
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { forwardRef as
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
|
+
import { jsxs as w, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as y, useContext as $ } from "react";
|
|
4
4
|
import "../config-provider/ConfigProvider.js";
|
|
5
|
-
import k from "
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import k from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
6
|
+
import N from "@unicom-cloud/ui-common/utils/className";
|
|
7
|
+
import S from "@unicom-cloud/ui-common/utils/omit";
|
|
8
8
|
import m from "./CircleProgress.js";
|
|
9
|
-
import
|
|
9
|
+
import T from "./LineProgess.js";
|
|
10
10
|
import { StepProgress as W } from "./StepProgress.js";
|
|
11
11
|
import b from "../config-provider/context.js";
|
|
12
12
|
const j = {
|
|
@@ -23,30 +23,30 @@ function z(a, f) {
|
|
|
23
23
|
h?.Progress
|
|
24
24
|
), {
|
|
25
25
|
className: u,
|
|
26
|
-
style:
|
|
27
|
-
size:
|
|
26
|
+
style: g,
|
|
27
|
+
size: l,
|
|
28
28
|
width: s,
|
|
29
29
|
strokeWidth: p,
|
|
30
|
-
steps:
|
|
30
|
+
steps: C,
|
|
31
31
|
percent: x,
|
|
32
|
-
...
|
|
33
|
-
} = t,
|
|
34
|
-
return
|
|
32
|
+
...P
|
|
33
|
+
} = t, e = C && t.type !== "circle" ? "steps" : t.type, r = c?.("progress"), o = "status" in t ? t.status : x >= 100 ? "success" : "normal", n = { width: s };
|
|
34
|
+
return l === "mini" && e === "line" && (n.width = s || 16, n.height = s || 16), /* @__PURE__ */ w(
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
37
|
ref: f,
|
|
38
|
-
className:
|
|
38
|
+
className: N(
|
|
39
39
|
r,
|
|
40
|
-
`${r}-${
|
|
41
|
-
`${r}-${
|
|
40
|
+
`${r}-${e}`,
|
|
41
|
+
`${r}-${l}`,
|
|
42
42
|
{
|
|
43
|
-
[`${r}-is-${
|
|
43
|
+
[`${r}-is-${o}`]: o !== "normal",
|
|
44
44
|
[`${r}-rtl`]: d
|
|
45
45
|
},
|
|
46
46
|
u
|
|
47
47
|
),
|
|
48
|
-
style: { ...
|
|
49
|
-
...
|
|
48
|
+
style: { ...n, ...g },
|
|
49
|
+
...S(P, [
|
|
50
50
|
"type",
|
|
51
51
|
"animation",
|
|
52
52
|
"status",
|
|
@@ -59,26 +59,26 @@ function z(a, f) {
|
|
|
59
59
|
"bufferColor"
|
|
60
60
|
]),
|
|
61
61
|
children: [
|
|
62
|
-
|
|
62
|
+
e === "steps" && /* @__PURE__ */ i(
|
|
63
63
|
W,
|
|
64
64
|
{
|
|
65
65
|
...t,
|
|
66
|
-
type:
|
|
67
|
-
status:
|
|
66
|
+
type: e,
|
|
67
|
+
status: o,
|
|
68
68
|
prefixCls: r
|
|
69
69
|
}
|
|
70
70
|
),
|
|
71
|
-
|
|
71
|
+
e === "circle" && /* @__PURE__ */ i(
|
|
72
72
|
m,
|
|
73
73
|
{
|
|
74
74
|
width: t.width,
|
|
75
75
|
...t,
|
|
76
76
|
pathStrokeColor: t.trailColor,
|
|
77
|
-
status:
|
|
77
|
+
status: o,
|
|
78
78
|
prefixCls: r
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
|
-
|
|
81
|
+
e === "line" && (l === "mini" ? /* @__PURE__ */ i(
|
|
82
82
|
m,
|
|
83
83
|
{
|
|
84
84
|
pathStrokeColor: t.trailColor,
|
|
@@ -87,14 +87,14 @@ function z(a, f) {
|
|
|
87
87
|
width: s || 16,
|
|
88
88
|
strokeWidth: p || 4,
|
|
89
89
|
prefixCls: r,
|
|
90
|
-
status:
|
|
90
|
+
status: o
|
|
91
91
|
}
|
|
92
|
-
) : /* @__PURE__ */ i(
|
|
92
|
+
) : /* @__PURE__ */ i(T, { ...t, status: o, prefixCls: r }))
|
|
93
93
|
]
|
|
94
94
|
}
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
|
-
const R =
|
|
97
|
+
const R = y(z);
|
|
98
98
|
R.displayName = "Progress";
|
|
99
99
|
export {
|
|
100
100
|
R as default
|
package/qr-code/index.js
CHANGED
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as z } from "react";
|
|
4
4
|
import "../config-provider/ConfigProvider.js";
|
|
5
|
-
import "
|
|
6
|
-
import "@unicom-cloud/utils/is";
|
|
7
|
-
import "@unicom-cloud/utils/constant/platform";
|
|
8
|
-
import "../dist/ui-common/hooks/utils/isDev.js";
|
|
9
|
-
import "@unicom-cloud/utils/js-cookie";
|
|
10
|
-
import "dayjs";
|
|
11
|
-
import "lodash/debounce";
|
|
12
|
-
import "@unicom-cloud/utils/screenfull";
|
|
13
|
-
import "../dist/ui-common/hooks/use-request/src/plugins/useAutoRunPlugin.js";
|
|
14
|
-
import "lodash/castArray";
|
|
15
|
-
import "../dist/ui-common/hooks/use-request/src/utils/subscribeReVisible.js";
|
|
16
|
-
import "../dist/ui-common/hooks/use-request/src/utils/subscribeFocus.js";
|
|
17
|
-
import "lodash/throttle";
|
|
18
|
-
import "../dist/ui-common/hooks/use-text-selection/index.js";
|
|
19
|
-
import "@unicom-cloud/utils/query-string";
|
|
20
|
-
import "react-router";
|
|
21
|
-
import "../dist/ui-common/hooks/use-intersection-observer/index.js";
|
|
5
|
+
import { useMergeProps as P } from "@unicom-cloud/ui-common/hooks";
|
|
6
|
+
import "@unicom-cloud/ui-common/utils/is";
|
|
22
7
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
23
|
-
import
|
|
24
|
-
import "../dist/ui-common/utils/reactDOM.js";
|
|
25
|
-
import "react-is";
|
|
26
|
-
import "@unicom-cloud/utils/constant";
|
|
8
|
+
import "@unicom-cloud/ui-common/hooks/use-merge-value";
|
|
27
9
|
import "lodash/merge";
|
|
28
|
-
import "@unicom-cloud/utils/dom
|
|
29
|
-
import Q from "@unicom-cloud/utils/
|
|
10
|
+
import "@unicom-cloud/ui-common/utils/dom";
|
|
11
|
+
import Q from "@unicom-cloud/ui-common/utils/className";
|
|
30
12
|
import { QRCodeCanvas as R, QRCodeSVG as S } from "./src/index.js";
|
|
31
|
-
import { default as
|
|
13
|
+
import { default as I } from "./src/qrcodegen.js";
|
|
32
14
|
import h from "../config-provider/context.js";
|
|
33
15
|
const N = {
|
|
34
16
|
renderAs: "svg",
|
|
@@ -39,43 +21,43 @@ const N = {
|
|
|
39
21
|
bgColor: "var(--pqb-color-bg-2, #ffffff)",
|
|
40
22
|
marginSize: 0,
|
|
41
23
|
value: "二维码组件"
|
|
42
|
-
},
|
|
43
|
-
const { getPrefixCls:
|
|
44
|
-
|
|
24
|
+
}, E = (m) => {
|
|
25
|
+
const { getPrefixCls: n, componentConfig: p } = z(h), a = P(
|
|
26
|
+
m,
|
|
45
27
|
N,
|
|
46
|
-
|
|
28
|
+
p?.QRCode
|
|
47
29
|
), {
|
|
48
30
|
value: l,
|
|
49
31
|
renderAs: e,
|
|
50
32
|
size: o,
|
|
51
33
|
bordered: t,
|
|
52
|
-
errorLevel:
|
|
34
|
+
errorLevel: d,
|
|
53
35
|
fgColor: c,
|
|
54
36
|
bgColor: f,
|
|
55
|
-
marginSize:
|
|
56
|
-
imageSettings:
|
|
37
|
+
marginSize: g = 0,
|
|
38
|
+
imageSettings: C,
|
|
57
39
|
className: v,
|
|
58
40
|
style: u,
|
|
59
41
|
...b
|
|
60
|
-
} =
|
|
61
|
-
const
|
|
42
|
+
} = a, s = n?.("qrcode"), x = o - (t ? 12 : 0), q = () => {
|
|
43
|
+
const i = {
|
|
62
44
|
value: l,
|
|
63
45
|
size: x,
|
|
64
|
-
level:
|
|
46
|
+
level: d,
|
|
65
47
|
fgColor: c,
|
|
66
48
|
bgColor: f,
|
|
67
|
-
marginSize:
|
|
68
|
-
imageSettings:
|
|
49
|
+
marginSize: g,
|
|
50
|
+
imageSettings: C,
|
|
69
51
|
...b
|
|
70
52
|
};
|
|
71
|
-
return e === "canvas" ? /* @__PURE__ */ r(R, { ...
|
|
53
|
+
return e === "canvas" ? /* @__PURE__ */ r(R, { ...i }) : /* @__PURE__ */ r(S, { ...i });
|
|
72
54
|
};
|
|
73
55
|
return /* @__PURE__ */ r(
|
|
74
56
|
"div",
|
|
75
57
|
{
|
|
76
58
|
className: Q(
|
|
77
|
-
|
|
78
|
-
t && `${
|
|
59
|
+
s,
|
|
60
|
+
t && `${s}-bordered`,
|
|
79
61
|
v,
|
|
80
62
|
`qrcode-${e}`
|
|
81
63
|
),
|
|
@@ -89,6 +71,6 @@ const N = {
|
|
|
89
71
|
);
|
|
90
72
|
};
|
|
91
73
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
74
|
+
E as default,
|
|
75
|
+
I as qrcodegen
|
|
94
76
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
QR Code generator library (TypeScript)
|
|
2
|
+
|
|
3
|
+
Copyright (c) Project Nayuki.
|
|
4
|
+
https://www.nayuki.io/page/qr-code-generator-library
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
7
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
8
|
+
the Software without restriction, including without limitation the rights to
|
|
9
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
10
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
11
|
+
subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
18
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
19
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
20
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
21
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/qr-code/src/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-14 09:11:22 */
|
|
2
2
|
import { jsx as M, jsxs as T, Fragment as X } from "react/jsx-runtime";
|
|
3
3
|
import p from "react";
|
|
4
|
-
import "
|
|
4
|
+
import { isFunction as Y, isArray as J } from "@unicom-cloud/ui-common/utils/is";
|
|
5
5
|
import L from "./qrcodegen.js";
|
|
6
|
-
import { isFunction as Y, isArray as J } from "@unicom-cloud/utils/is";
|
|
7
6
|
const K = {
|
|
8
7
|
L: L.QrCode.Ecc.LOW,
|
|
9
8
|
M: L.QrCode.Ecc.MEDIUM,
|
package/qr-code/src/qrcodegen.js
CHANGED