@unicom-cloud/ui 0.8.147 → 0.8.148
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 +1 -1
- package/Alert.js +1 -1
- package/Anchor.js +1 -1
- package/App.js +1 -1
- package/AutoComplete.js +1 -1
- package/Avatar.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +1 -1
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Constant.js +1 -1
- package/Copy.js +1 -1
- package/Countdown.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +2 -2
- package/Details.js +1 -1
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Draw.js +6 -0
- package/Drawer.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Flex.js +1 -1
- package/Form.js +1 -1
- package/GlobalProvider.js +11 -0
- package/Grid.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +1 -1
- package/InputTag.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/LiquidFill.js +1 -1
- package/List.js +1 -1
- package/Loading.js +1 -1
- package/Marquee.js +1 -1
- package/Mask.js +1 -1
- package/Masonry.js +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Portal.js +1 -1
- package/Progress.js +1 -1
- package/Progress2.js +1 -1
- package/QrCode.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +1 -1
- package/RowCol.js +1 -1
- package/Segmented.js +1 -1
- package/Select.js +1 -1
- package/SelectView.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/SpeechSynthesis.js +1 -1
- package/Spin.js +1 -1
- package/Splitter.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/SuspenseFallbackTest.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/TimePicker.js +1 -1
- package/Timeline.js +1 -1
- package/Timer.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/Typography.js +1 -1
- package/Upload.js +1 -1
- package/VerificationCode.js +3 -3
- package/VirtualList.js +1 -1
- package/Watermark.js +5 -5
- package/affix/Affix.js +1 -1
- package/affix/index.js +1 -1
- package/alert/Alert.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/anchor/context.js +1 -1
- package/anchor/index.js +1 -1
- package/anchor/utils.js +1 -1
- 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/AutoComplete.js +1 -1
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/back-top/BackTop.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/Badge.js +1 -1
- package/badge/Count.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/context.js +1 -1
- package/breadcrumb/index.js +1 -1
- package/button/Button.js +8 -8
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Lunar.js +1 -1
- package/calendar/Month.js +1 -1
- package/calendar/WeekList.js +1 -1
- package/calendar/Year.js +1 -1
- package/calendar/header/Panel.js +1 -1
- package/calendar/header/index.js +2 -2
- package/calendar/hook/useCellClassName.js +1 -1
- package/calendar/index.js +1 -1
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +1 -1
- package/cascader/base/node.js +1 -1
- package/cascader/base/store.js +1 -1
- package/cascader/hook/useRefCurrent.js +1 -1
- package/cascader/index.js +1 -1
- package/cascader/panel/List.js +1 -1
- package/cascader/panel/Option.js +1 -1
- package/cascader/panel/Search.js +1 -1
- package/cascader/utils.js +1 -1
- package/checkbox/Checkbox.js +1 -1
- package/checkbox/Group.js +1 -1
- package/checkbox/GroupBlock.js +1 -1
- package/checkbox/context.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/useCheckbox.js +1 -1
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +2 -2
- package/collapse/context.js +1 -1
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- 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 +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +57 -55
- package/color-picker/colors.js +1 -1
- package/color-picker/hooks/useColorPicker.js +48 -48
- package/color-picker/hooks/useControlBlock.js +1 -1
- package/color-picker/index.js +124 -120
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +33 -33
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +15 -13
- package/config-provider/context.js +9 -8
- package/config-provider/index.js +1 -1
- package/config-provider/initUI.js +18 -0
- package/config-provider/useConfigProvider.js +33 -28
- package/constant/index.js +1 -1
- package/copy/index.js +1 -1
- package/countdown/index.js +1 -1
- package/countdown/utils.js +1 -1
- package/date-picker/DatePickerRange.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/context.js +1 -1
- package/date-picker/hook/useCellClassName.js +1 -1
- package/date-picker/index.js +1 -1
- package/date-picker/panel/Body.js +1 -1
- package/date-picker/panel/Footer.js +1 -1
- package/date-picker/panel/Header.js +1 -1
- package/date-picker/panel/Shortcut.js +1 -1
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +1 -1
- package/date-picker/panel/month/index.js +1 -1
- package/date-picker/panel/quarter/index.js +1 -1
- package/date-picker/panel/range/index.js +1 -1
- package/date-picker/panel/week/index.js +1 -1
- package/date-picker/panel/year/index.js +1 -1
- package/date-picker/utils.js +1 -1
- package/descriptions/index.js +3 -3
- package/details/index.js +1 -1
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/index.js +1 -1
- package/draw/Draw.js +47 -0
- package/draw/constant.js +1 -0
- package/draw/index.js +6 -0
- package/drawer/Drawer.js +204 -198
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/flex/index.js +1 -1
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/FormItemTip.js +1 -1
- package/form/FormLabel.js +1 -1
- package/form/FormList.js +1 -1
- package/form/FormProvider.js +1 -1
- package/form/context.js +9 -8
- package/form/hook/useForm.js +1 -1
- package/form/hook/useFormContext.js +1 -1
- package/form/hook/useFormState.js +1 -1
- package/form/hook/useWatch.js +1 -1
- package/form/index.js +1 -1
- package/form/interface.js +1 -1
- package/form/promisify.js +1 -1
- package/form/store.js +1 -1
- package/form/utils.js +1 -1
- package/global-provider/context.js +6 -0
- package/global-provider/index.js +20 -0
- package/grid/Grid.js +2 -2
- package/grid/Item.js +2 -2
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/utils.js +1 -1
- package/hooks/index.js +21 -21
- package/hooks/use-breakpoint/index.js +2 -2
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-event/index.js +1 -1
- package/hooks/use-event-listener/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-fullscreen/index.js +1 -1
- package/hooks/use-id/index.js +1 -1
- package/hooks/use-in-view/index.js +1 -1
- package/hooks/use-intersection-observer/index.js +1 -1
- package/hooks/use-intersection-observers/index.js +1 -1
- package/hooks/use-interval/index.js +1 -1
- package/hooks/use-is-first-render/index.js +1 -1
- package/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/hooks/use-keyboard-event/index.js +1 -1
- package/hooks/use-latest/index.js +1 -1
- package/hooks/use-listen-window-resize/index.js +1 -1
- package/hooks/use-media/index.js +1 -1
- package/hooks/use-merge-props/index.js +1 -1
- package/hooks/use-merge-value/index.js +1 -1
- package/hooks/use-move/index.js +1 -1
- package/hooks/use-mutation-observers/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-refs/index.js +1 -1
- package/hooks/use-resize-observer/index.js +1 -1
- package/hooks/use-resize-observers/index.js +1 -1
- package/hooks/use-responsive-state/index.js +2 -2
- package/hooks/use-set-state/index.js +1 -1
- package/hooks/use-state-callback/index.js +1 -1
- package/hooks/use-state-with-promise/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-update-layout-effect/index.js +1 -1
- package/hooks/use-verification-code/index.js +1 -1
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-watermark/index.js +1 -1
- package/hooks/use-watermark/utils.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/useBreakpoint.js +1 -1
- package/hooks/useComputedState.js +1 -1
- package/hooks/useCreate.js +1 -1
- package/hooks/useCreation.js +1 -1
- package/hooks/useEvent.js +1 -1
- package/hooks/useEventListener.js +1 -1
- package/hooks/useForceUpdate.js +1 -1
- package/hooks/useFullscreen.js +1 -1
- package/hooks/useId.js +1 -1
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useIntersectionObservers.js +1 -1
- package/hooks/useInterval.js +1 -1
- package/hooks/useIsFirstRender.js +1 -1
- package/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/hooks/useKeyboardEvent.js +1 -1
- package/hooks/useLatest.js +1 -1
- package/hooks/useListenWindowResize.js +1 -1
- package/hooks/useMedia.js +1 -1
- package/hooks/useMergeProps.js +1 -1
- package/hooks/useMergeValue.js +1 -1
- package/hooks/useMove.js +1 -1
- package/hooks/useMutationObservers.js +1 -1
- package/hooks/useOnlineStatus.js +1 -1
- package/hooks/useOverflowHidden.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/usePersistCallback.js +1 -1
- package/hooks/usePrefersColorSchemeDark.js +1 -1
- package/hooks/usePrevious.js +1 -1
- package/hooks/useRefs.js +1 -1
- package/hooks/useResizeObserver.js +1 -1
- package/hooks/useResizeObservers.js +1 -1
- package/hooks/useResponsiveState.js +2 -2
- package/hooks/useSetState.js +1 -1
- package/hooks/useStateCallback.js +1 -1
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useUnmountOnExit.js +1 -1
- package/hooks/useUpdateEffect.js +1 -1
- package/hooks/useUpdateLayoutEffect.js +1 -1
- package/hooks/useVerificationCode.js +2 -2
- package/hooks/useWatch.js +1 -1
- package/hooks/useWatermark.js +3 -3
- package/hooks/useWindowSize.js +1 -1
- package/icon/Icon.js +1 -1
- package/icon/addIconFromCdn.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons/file.js +1 -1
- package/icons.js +1 -1
- package/image/Image.js +1 -1
- package/image/ImageFooter.js +1 -1
- package/image/ImagePreview.js +1 -1
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +1 -1
- package/image/context.js +1 -1
- package/image/index.js +1 -1
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +1 -1
- package/image/utils/hook/useImageStatus.js +1 -1
- package/image/utils/hook/useShowFooter.js +1 -1
- package/index.js +723 -715
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +65 -61
- package/input/Number.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Tag.js +1 -1
- package/input/Textarea.js +113 -111
- package/input/autoSizeTextareaHeight.js +1 -1
- package/input/index.js +1 -1
- package/input/useComposition.js +1 -1
- package/input/utils.js +1 -1
- package/input-number/decimal.js +1 -1
- package/input-number/index.js +1 -1
- package/input-number/useSelectionRange.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +39 -37
- package/input-tag/index.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +54 -54
- package/layout/context.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/liquid-fill/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/mask/Mask.js +65 -50
- package/mask/index.js +1 -1
- package/masonry/Masonry.js +2 -2
- package/masonry/MasonryItem.js +1 -1
- package/masonry/hooks/useDelay.js +1 -1
- package/masonry/hooks/useGutter.js +1 -1
- package/masonry/hooks/usePositions.js +1 -1
- package/masonry/hooks/useRefs.js +1 -1
- package/masonry/index.js +1 -1
- package/mentions/index.js +1 -1
- package/mentions/utils.js +1 -1
- package/menu/Indent.js +1 -1
- package/menu/Item.js +34 -34
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +66 -61
- package/menu/OverflowWrap.js +1 -1
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/sub-menu/Inline.js +1 -1
- package/menu/sub-menu/Pop.js +1 -1
- package/menu/sub-menu/index.js +1 -1
- package/menu/utils.js +1 -1
- package/message/Message.js +36 -36
- package/message/index.js +1 -1
- package/message/useMessage.js +2 -2
- package/modal/Confirm.js +66 -61
- package/modal/Modal.js +227 -221
- package/modal/config.js +1 -1
- package/modal/index.js +1 -1
- package/modal/use-modal/Hook.js +33 -31
- package/modal/use-modal/index.js +52 -47
- package/notice/Notice.js +53 -52
- package/notice/index.js +1 -1
- package/notification/Notification.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +2 -2
- package/notification/withNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +2 -2
- package/pagination/Pagination.js +1 -1
- package/pagination/index.js +1 -1
- package/pagination/interface.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/picker/index.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/Popover.js +1 -1
- package/popover/index.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/index.js +1 -1
- package/progress/CircleProgress.js +1 -1
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +1 -1
- package/progress/index.js +1 -1
- package/progress2/index.js +1 -1
- package/qr-code/QRCode.js +1 -1
- package/qr-code/index.js +1 -1
- package/qr-code/src/index.js +1 -1
- package/qr-code/src/qrcodegen.js +1 -1
- package/radio/Group.js +99 -96
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/index.js +1 -1
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/index.js +1 -1
- package/rich-text/RichText.js +1 -1
- package/rich-text/Toolbar.js +1 -1
- package/rich-text/constant.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/lib/blots/block.js +1 -1
- package/rich-text/lib/blots/break.js +1 -1
- package/rich-text/lib/blots/container.js +1 -1
- package/rich-text/lib/blots/cursor.js +1 -1
- package/rich-text/lib/blots/embed.js +1 -1
- package/rich-text/lib/blots/inline.js +1 -1
- package/rich-text/lib/blots/scroll.js +1 -1
- package/rich-text/lib/blots/text.js +1 -1
- package/rich-text/lib/core/composition.js +1 -1
- package/rich-text/lib/core/editor.js +1 -1
- package/rich-text/lib/core/emitter.js +13 -12
- 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 +1 -1
- package/rich-text/lib/core/selection.js +1 -1
- package/rich-text/lib/core/theme.js +1 -1
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +1 -1
- package/rich-text/lib/core/utils/scrollRectIntoView.js +1 -1
- package/rich-text/lib/delta/AttributeMap.js +1 -1
- package/rich-text/lib/delta/Op.js +1 -1
- package/rich-text/lib/delta/OpIterator.js +1 -1
- package/rich-text/lib/delta/index.js +1 -1
- package/rich-text/lib/diff/index.js +1 -1
- package/rich-text/lib/formats/align.js +1 -1
- package/rich-text/lib/formats/background.js +1 -1
- 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 +1 -1
- package/rich-text/lib/formats/direction.js +1 -1
- package/rich-text/lib/formats/emoji.js +1 -1
- package/rich-text/lib/formats/font.js +1 -1
- package/rich-text/lib/formats/formula.js +1 -1
- package/rich-text/lib/formats/header.js +1 -1
- package/rich-text/lib/formats/hr.js +1 -1
- package/rich-text/lib/formats/image.js +1 -1
- package/rich-text/lib/formats/indent.js +1 -1
- package/rich-text/lib/formats/italic.js +1 -1
- package/rich-text/lib/formats/lineHeight.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/rich-text/lib/modules/history.js +1 -1
- package/rich-text/lib/modules/image-resize/index.js +1 -1
- package/rich-text/lib/modules/image-resize/modules/Base.js +1 -1
- package/rich-text/lib/modules/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/lib/modules/image-resize/modules/Resize.js +1 -1
- package/rich-text/lib/modules/image-resize/options.js +1 -1
- package/rich-text/lib/modules/input.js +1 -1
- package/rich-text/lib/modules/keyboard.js +1 -1
- 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/table.js +1 -1
- package/rich-text/lib/modules/toolbar.js +1 -1
- package/rich-text/lib/modules/uiNode.js +1 -1
- package/rich-text/lib/modules/uploader.js +1 -1
- package/rich-text/lib/parchment/attributor/attributor.js +1 -1
- 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 +1 -1
- package/rich-text/lib/parchment/blot/abstract/shadow.js +1 -1
- package/rich-text/lib/parchment/blot/block.js +1 -1
- package/rich-text/lib/parchment/blot/embed.js +1 -1
- package/rich-text/lib/parchment/blot/inline.js +1 -1
- 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 +1 -1
- package/rich-text/lib/parchment/scope.js +1 -1
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +2 -2
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/segmented/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/OptionGroup.js +1 -1
- package/select/Select.js +1 -1
- package/select/index.js +1 -1
- package/select/utils.js +1 -1
- package/select-view/Core.js +1 -1
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Text.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/Dot.js +1 -1
- package/slider/Input.js +1 -1
- package/slider/Mark.js +1 -1
- package/slider/Tick.js +1 -1
- package/slider/hook/useInterval.js +1 -1
- package/slider/hook/useLegalValue.js +1 -1
- package/slider/index.js +2 -2
- package/slider/utils.js +1 -1
- package/space/index.js +1 -1
- package/speech-synthesis/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/hooks/useItems.js +1 -1
- package/splitter/hooks/useResizable.js +1 -1
- package/splitter/hooks/useResize.js +1 -1
- package/splitter/hooks/useSizes.js +1 -1
- package/splitter/index.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/steps/Step.js +2 -2
- package/steps/index.js +1 -1
- package/style/variables.css +3 -3
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/switch/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +1 -1
- package/table/constant.js +1 -1
- package/table/context.js +1 -1
- package/table/hook/useColumns.js +1 -1
- package/table/hook/useComponent.js +1 -1
- package/table/hook/useExpand.js +1 -1
- package/table/hook/useRowSelection.js +1 -1
- package/table/hook/useSorter.js +1 -1
- package/table/hook/useStickyClassNames.js +1 -1
- package/table/hook/useStickyOffsets.js +1 -1
- package/table/hook/useThResizable.js +1 -1
- package/table/index.js +1 -1
- package/table/summary/Cell.js +1 -1
- package/table/summary/Row.js +1 -1
- package/table/summary/context.js +1 -1
- package/table/summary/index.js +1 -1
- package/table/tbody/Td.js +119 -121
- package/table/tbody/Tr.js +1 -1
- package/table/tbody/index.js +1 -1
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +1 -1
- package/table/thead/Column.js +1 -1
- package/table/thead/index.js +1 -1
- package/table/utils.js +1 -1
- package/tabs/TabContent.js +1 -1
- package/tabs/TabPane.js +1 -1
- package/tabs/Tabs.js +1 -1
- package/tabs/context.js +1 -1
- package/tabs/hook/useDomSize.js +1 -1
- package/tabs/hook/useHeaderScroll.js +1 -1
- package/tabs/index.js +1 -1
- package/tabs/tab-header/DropdownIcon.js +1 -1
- package/tabs/tab-header/TabInk.js +1 -1
- package/tabs/tab-header/TabNavIcon.js +1 -1
- package/tabs/tab-header/TabTitle.js +1 -1
- package/tabs/tab-header/index.js +1 -1
- package/tabs/utils.js +1 -1
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimeColumn.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/time-picker/TimePickerRange.js +1 -1
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/utils.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/index.js +1 -1
- package/timer/index.js +1 -1
- package/tooltip/Tooltip.js +74 -78
- package/tooltip/index.js +1 -1
- package/tour/index.js +1 -1
- package/transfer/Item.js +1 -1
- package/transfer/List.js +4 -4
- package/transfer/index.js +1 -1
- package/tree/Animation.js +1 -1
- package/tree/Node.js +1 -1
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +1 -1
- package/tree/context.js +1 -1
- package/tree/index.js +1 -1
- package/tree/utils.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +1 -1
- package/tree-select/hook/useKeyCache.js +1 -1
- package/tree-select/hook/useStateValue.js +1 -1
- package/tree-select/hook/useTreeData.js +1 -1
- package/tree-select/index.js +1 -1
- package/tree-select/interface.js +1 -1
- package/tree-select/utils.js +1 -1
- package/trigger/getPopupStyle.js +84 -83
- package/trigger/index.js +287 -286
- package/types/button/interface.d.ts +1 -1
- package/types/color-picker/Panel.d.ts +2 -0
- package/types/config-provider/context.d.ts +1 -0
- package/types/config-provider/initUI.d.ts +3 -0
- package/types/config-provider/interface.d.ts +6 -0
- package/types/draw/Draw.d.ts +6 -0
- package/types/draw/constant.d.ts +0 -0
- package/types/draw/index.d.ts +4 -0
- package/types/draw/interface.d.ts +8 -0
- package/types/drawer/interface.d.ts +5 -4
- package/types/global-provider/context.d.ts +3 -0
- package/types/global-provider/index.d.ts +11 -0
- package/types/global-provider/interface.d.ts +4 -0
- package/types/index.d.ts +2 -0
- package/types/interface.d.ts +1 -1
- package/types/mask/interface.d.ts +1 -0
- package/types/menu/context.d.ts +1 -1
- package/types/menu/interface.d.ts +1 -1
- package/types/modal/Confirm.d.ts +1 -1
- package/types/modal/interface.d.ts +11 -13
- package/types/modal/use-modal/Hook.d.ts +1 -1
- package/types/radio/interface.d.ts +2 -2
- package/types/rich-text/lib/core/emitter.d.ts +1 -1
- package/types/table/interface.d.ts +3 -4
- package/types/trigger/interface.d.ts +7 -0
- package/types/utils/emitter.d.ts +7 -1
- package/types/utils/names.d.ts +6 -0
- package/types/utils/setDarkTheme.d.ts +2 -2
- package/types/utils/setTheme.d.ts +1 -1
- package/typography/Base.js +1 -1
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +1 -1
- package/typography/Operations.js +1 -1
- package/typography/Paragraph.js +1 -1
- package/typography/Text.js +1 -1
- package/typography/Title.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +1 -1
- package/typography/useCssEllipsis.js +1 -1
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +126 -116
- package/upload/Uploader.js +1 -1
- package/upload/constant.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +1 -1
- package/upload/list/TextItem.js +1 -1
- package/upload/list/UploadProgress.js +1 -1
- package/upload/list/index.js +1 -1
- package/upload/list/utils.js +1 -1
- package/upload/request.js +1 -1
- package/upload/utils.js +1 -1
- package/utils/callOrReturn.js +1 -1
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/constant.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/emitter.js +11 -4
- package/utils/fileRead.js +1 -1
- package/utils/fileToDataURL.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/findRootElement.js +1 -1
- package/utils/findScrollParent.js +1 -1
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.js +264 -261
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/mutationObserver.js +1 -1
- package/utils/names.js +7 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -1
- package/utils/react19Adapter.js +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/responsiveObserve.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/setCreateRoot.js +1 -1
- package/utils/setDarkTheme.js +6 -6
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/string.js +1 -1
- package/utils/style.js +1 -1
- package/utils/throttleByRaf.js +1 -1
- package/utils/throttleByRaf2.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -1
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.js +1 -1
- package/utils/warning.js +1 -1
- package/verification-code/VerificationCode.js +2 -2
- package/verification-code/index.js +4 -4
- package/version/index.js +2 -2
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +5 -5
- package/virtual-list/constant.js +1 -1
- package/virtual-list/hook/useCacheChildrenNodes.js +1 -1
- package/virtual-list/hook/useComputeVirtualItemHeight.js +1 -1
- package/virtual-list/index.js +1 -1
- package/virtual-list/utils/algorithm.js +1 -1
- package/virtual-list/utils/item.js +1 -1
- package/watermark/Watermark.js +2 -2
- package/watermark/index.js +2 -2
- package/types/masonry/demo/basic.d.ts +0 -3
- package/types/masonry/demo/dynamic.d.ts +0 -3
- package/types/masonry/demo/image.d.ts +0 -2
- package/types/masonry/demo/responsive.d.ts +0 -3
package/utils/index.js
CHANGED
|
@@ -1,109 +1,112 @@
|
|
|
1
|
-
/* 2026-
|
|
1
|
+
/* 2026-02-26 14:47:16 */
|
|
2
2
|
import { default as m } from "@unicom-cloud/ui-common/utils/callbackOriginRef";
|
|
3
3
|
import { callOrReturn as n } from "@unicom-cloud/utils/function";
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as p } from "@unicom-cloud/ui-common/utils/caseName";
|
|
5
5
|
import { default as y, default as c } from "@unicom-cloud/ui-common/utils/className";
|
|
6
6
|
import { newArray as g, pickTriggerPropsFromRest as h } from "./constant.js";
|
|
7
|
-
import { ContextHolderElement as
|
|
8
|
-
import { default as S, default as
|
|
9
|
-
import { convertTime as
|
|
10
|
-
import { dayjs_formatValue as D, dayjs_getDayjsValue as V, dayjs_getFormatFromArray as I, dayjs_getNow as P, dayjs_getRealTime as O, dayjs_getSortedDayjsArray as v, dayjs_getTimeFormat as W, dayjs_getValueWithTime as
|
|
7
|
+
import { ContextHolderElement as C } from "./contextHolder.js";
|
|
8
|
+
import { default as S, default as T } from "@unicom-cloud/ui-common/utils/copy";
|
|
9
|
+
import { convertTime as A, convertToDurationBasedOnTimeUnits as N, dateFormat as _, dayjsFormat as b } from "@unicom-cloud/utils/date";
|
|
10
|
+
import { dayjs_formatValue as D, dayjs_getDayjsValue as V, dayjs_getFormatFromArray as I, dayjs_getNow as P, dayjs_getRealTime as O, dayjs_getSortedDayjsArray as v, dayjs_getTimeFormat as W, dayjs_getValueWithTime as M, dayjs_isDayjsArrayChange as k, dayjs_isDayjsChange as F, dayjs_isValidTimeString as L, dayjs_methods as H, dayjs_timezoneToOffset as w, dayjs_toLocal as U, dayjs_toTimezone as z } from "./dayjs.js";
|
|
11
11
|
import { canUseDOM as J, contains as K, forceReflow as Y, getBodyContainer as G, getElementCoordinates as Q, getScrollElements as X, off as Z, on as $, parentContainsChildren as ee, reflow as te } from "@unicom-cloud/ui-common/utils/dom";
|
|
12
|
-
import {
|
|
13
|
-
import { fileRead as
|
|
14
|
-
import { fileToDataURL as
|
|
15
|
-
import { default as
|
|
12
|
+
import { EMITTER_EVENT as ae, emitter as oe } from "./emitter.js";
|
|
13
|
+
import { fileRead as ie } from "@unicom-cloud/utils/file/fileRead";
|
|
14
|
+
import { fileToDataURL as me } from "@unicom-cloud/utils/file/fileToDataURL";
|
|
15
|
+
import { default as ne } from "@unicom-cloud/ui-common/utils/fillNBSP";
|
|
16
16
|
import { default as pe } from "@unicom-cloud/ui-common/utils/findRootElement";
|
|
17
17
|
import "@unicom-cloud/ui-common/utils/findScrollParent";
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
18
|
+
import { default as ye } from "@unicom-cloud/ui-common/utils/getHighlightText";
|
|
19
|
+
import { default as xe } from "@unicom-cloud/ui-common/utils/getHotkeyHandler";
|
|
20
|
+
import { default as he } from "@unicom-cloud/ui-common/utils/getStringLength";
|
|
21
21
|
import { default as Ce } from "@unicom-cloud/ui-common/utils/include";
|
|
22
22
|
import "@unicom-cloud/ui-common/utils/intersectionObserver";
|
|
23
23
|
import * as r from "./is.js";
|
|
24
24
|
export * from "@unicom-cloud/ui-common/utils/lodash";
|
|
25
|
-
import { assign as
|
|
26
|
-
import { div as
|
|
27
|
-
import { default as
|
|
25
|
+
import { assign as Te, assignIn as je, at as Ae, camelCase as Ne, capitalize as _e, castArray as be, chain as Be, chunk as De, clone as Ve, cloneDeep as Ie, cloneDeepWith as Pe, cloneWith as Oe, compact as ve, curry as We, debounce as Me, defaultTo as ke, defaults as Fe, defaultsDeep as Le, difference as He, escape as we, findKey as Ue, flattenDeep as ze, flow as qe, get as Je, groupBy as Ke, has as Ye, intersection as Ge, invert as Qe, invertBy as Xe, kebabCase as Ze, mean as $e, memoize as et, merge as tt, mergeWith as rt, orderBy as at, partition as ot, pullAll as st, result as it, sample as lt, sampleSize as mt, set as ft, setWith as nt, shuffle as dt, snakeCase as pt, sortBy as ut, startCase as yt, throttle as ct, toPath as xt, truncate as gt, union as ht, uniq as Et, uniqueId as Ct, unset as Rt, update as St, updateWith as Tt, upperCase as jt, upperFirst as At, without as Nt, xor as _t, zip as bt } from "@unicom-cloud/ui-common/utils/lodash";
|
|
26
|
+
import { div as Dt, default as Vt, minus as It, plus as Pt, times as Ot } from "@unicom-cloud/utils/math";
|
|
27
|
+
import { default as Wt } from "@unicom-cloud/ui-common/utils/mergedToString";
|
|
28
28
|
import { default as kt } from "@unicom-cloud/ui-common/utils/mergeProps";
|
|
29
29
|
import "@unicom-cloud/ui-common/utils/mutationObserver";
|
|
30
|
-
import { COMPONENT_NAMES as
|
|
31
|
-
import { default as
|
|
32
|
-
import { padEnd as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { composeRef as
|
|
30
|
+
import { COMPONENT_NAMES as Lt } from "./names.js";
|
|
31
|
+
import { default as wt } from "@unicom-cloud/ui-common/utils/omit";
|
|
32
|
+
import { padEnd as zt, padStart as qt } from "@unicom-cloud/ui-common/utils/pad";
|
|
33
|
+
import { default as Kt, pickDataAttributes as Yt } from "@unicom-cloud/ui-common/utils/pick";
|
|
34
|
+
import { default as Qt } from "@unicom-cloud/ui-common/utils/pinyin";
|
|
35
|
+
import { composeRef as Zt, fillRef as $t, getNodeRef as er, getReactElementRef as tr, supportNodeRef as rr, supportRef as ar, useComposeRef as or } from "@unicom-cloud/ui-common/utils/ref";
|
|
36
36
|
import "@unicom-cloud/ui-common/utils/resizeObserver";
|
|
37
|
-
import { responsiveArray as
|
|
38
|
-
import { default as
|
|
37
|
+
import { responsiveArray as ir, responsiveMap as lr, default as mr } from "./responsiveObserve.js";
|
|
38
|
+
import { default as nr } from "@unicom-cloud/ui-common/utils/saveAs";
|
|
39
39
|
import { default as pr } from "@unicom-cloud/ui-common/utils/screenfull";
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { removeDarkTheme as
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
40
|
+
import { default as yr } from "@unicom-cloud/ui-common/utils/scrollIntoViewIfNeeded";
|
|
41
|
+
import { default as xr } from "@unicom-cloud/ui-common/utils/setCreateRoot";
|
|
42
|
+
import { removeDarkTheme as hr, default as Er } from "./setDarkTheme.js";
|
|
43
|
+
import { default as Rr } from "./setPrimaryColor.js";
|
|
44
|
+
import { default as Tr } from "./setTheme.js";
|
|
45
45
|
import { HYPHEN as Ar } from "@unicom-cloud/utils/constant/string";
|
|
46
|
-
import { replaceEmptyWithHyphen as
|
|
47
|
-
import { fixedWidth as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { findNodeBy as
|
|
51
|
-
import { Tween as
|
|
52
|
-
import { v4 as
|
|
53
|
-
import { PqbValidator as
|
|
54
|
-
import { default as
|
|
46
|
+
import { replaceEmptyWithHyphen as _r } from "@unicom-cloud/ui-common/utils/string";
|
|
47
|
+
import { fixedWidth as Br, getStyle as Dr, setTransformStyle as Vr } from "@unicom-cloud/ui-common/utils/style";
|
|
48
|
+
import { default as Pr } from "@unicom-cloud/ui-common/utils/throttleByRaf";
|
|
49
|
+
import { default as vr } from "@unicom-cloud/ui-common/utils/toArray";
|
|
50
|
+
import { findNodeBy as Mr, getChildWithParentBy as kr, getItemBy as Fr, getItemByID as Lr, getLabelFromDictionaryByValue as Hr, searchTree as wr, default as Ur } from "@unicom-cloud/utils/tree";
|
|
51
|
+
import { Tween as qr, easing as Jr } from "@unicom-cloud/ui-common/utils/tween";
|
|
52
|
+
import { v4 as Yr, v4 as Gr } from "uuid";
|
|
53
|
+
import { PqbValidator as Xr, Validator as Zr, ValidatorArray as $r, ValidatorBase as ea, ValidatorBoolean as ta, ValidatorCustom as ra, ValidatorNumber as aa, ValidatorObject as oa, ValidatorSchema as sa, ValidatorString as ia, ValidatorType as la, validatorLocale as ma } from "@unicom-cloud/utils/validate";
|
|
54
|
+
import { default as na } from "@unicom-cloud/ui-common/utils/warning";
|
|
55
55
|
import * as s from "@unicom-cloud/utils/constant/keyboardCode";
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
56
|
+
import { default as pa } from "@unicom-cloud/ui-common/utils/emitter";
|
|
57
|
+
import { NOOP as ya, UI_PC_KEY as ca, UI_PC_THEME_DARK_CLASS_NAME as xa } from "@unicom-cloud/ui-common/utils/constant";
|
|
58
|
+
import { default as ha } from "dayjs";
|
|
59
|
+
import { is32Bit as Ca, isAllChinese as Ra, isArguments as Sa, isArray as Ta, isArrayBuffer as ja, isArrayLike as Aa, isArrayLikeObject as Na, isAscii as _a, isAsyncFunction as ba, isBase64 as Ba, isBigInt as Da, isBlob as Va, isBoolean as Ia, isBuffer as Pa, isChinese as Oa, isColorValue as va, isDataURI as Wa, isDate as Ma, isDayjs as ka, isElement as Fa, isElementByInstanceof as La, isEmail as Ha, isEmpty as wa, isEmptyArray as Ua, isEmptyObject as za, isEmptyReactNode as qa, isEmptyValue as Ja, isEqual as Ka, isEqualWith as Ya, isError as Ga, isEventTarget as Qa, isExist as Xa, isFile as Za, isFinite as $a, isFullWidth as eo, isFunction as to, isHSL as ro, isHalfWidth as ao, isHash as oo, isHexColor as so, isIMEI as io, isIP as lo, isIPRange as mo, isIdentityCard as fo, isInteger as no, isJSON as po, isJSON_String as uo, isJWT as yo, isLength as co, isMACAddress as xo, isMD5 as go, isMap as ho, isMatch as Eo, isMatchWith as Co, isMimeType as Ro, isMobilePhone as So, isMobilePhoneLocales as To, isNaN as jo, isNative as Ao, isNil as No, isNull as _o, isNullOrUndefined as bo, isNumber as Bo, isObject as Do, isObjectLike as Vo, isPlainObject as Io, isPort as Po, isPromise as Oo, isReact18 as vo, isReact19 as Wo, isReactClassComponent as Mo, isReactComponent as ko, isReactComponentAndNotFragment as Fo, isReadableStream as Lo, isRegExp as Ho, isRgbColor as wo, isSafeInteger as Uo, isScrollElement as zo, isSemVer as qo, isServerRendering as Jo, isSet as Ko, isSlug as Yo, isString as Go, isStrongPassword as Qo, isSymbol as Xo, isTypedArray as Zo, isURL as $o, isUUID as es, isUndefined as ts, isVariableWidth as rs, isWeakMap as as, isWeakSet as os, isWindow as ss } from "@unicom-cloud/ui-common/utils/is";
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
Lt as COMPONENT_NAMES,
|
|
62
|
+
C as ContextHolderElement,
|
|
63
|
+
ae as EMITTER_EVENT,
|
|
64
|
+
pa as Emitter,
|
|
62
65
|
Ar as HYPHEN,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
66
|
+
ya as NOOP,
|
|
67
|
+
Xr as PqbValidator,
|
|
68
|
+
qr as Tween,
|
|
69
|
+
ca as UI_PC_KEY,
|
|
70
|
+
xa as UI_PC_THEME_DARK_CLASS_NAME,
|
|
71
|
+
Zr as Validator,
|
|
72
|
+
$r as ValidatorArray,
|
|
73
|
+
ea as ValidatorBase,
|
|
74
|
+
ta as ValidatorBoolean,
|
|
75
|
+
ra as ValidatorCustom,
|
|
76
|
+
aa as ValidatorNumber,
|
|
77
|
+
oa as ValidatorObject,
|
|
78
|
+
sa as ValidatorSchema,
|
|
79
|
+
ia as ValidatorString,
|
|
80
|
+
la as ValidatorType,
|
|
81
|
+
Te as assign,
|
|
79
82
|
je as assignIn,
|
|
80
83
|
Ae as at,
|
|
81
84
|
n as callOrReturn,
|
|
82
85
|
m as callbackOriginRef,
|
|
83
|
-
|
|
86
|
+
Ne as camelCase,
|
|
84
87
|
J as canUseDOM,
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
_e as capitalize,
|
|
89
|
+
p as caseName,
|
|
87
90
|
be as castArray,
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
Be as chain,
|
|
92
|
+
De as chunk,
|
|
90
93
|
y as className,
|
|
91
94
|
S as clipboardCopy,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
Ve as clone,
|
|
96
|
+
Ie as cloneDeep,
|
|
97
|
+
Pe as cloneDeepWith,
|
|
98
|
+
Oe as cloneWith,
|
|
99
|
+
ve as compact,
|
|
100
|
+
Zt as composeRef,
|
|
98
101
|
K as contains,
|
|
99
|
-
|
|
102
|
+
A as convertTime,
|
|
100
103
|
N as convertToDurationBasedOnTimeUnits,
|
|
101
|
-
|
|
104
|
+
T as copy,
|
|
102
105
|
c as cs,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
We as curry,
|
|
107
|
+
_ as dateFormat,
|
|
108
|
+
ha as dayjs,
|
|
109
|
+
b as dayjsFormat,
|
|
107
110
|
D as dayjs_formatValue,
|
|
108
111
|
V as dayjs_getDayjsValue,
|
|
109
112
|
I as dayjs_getFormatFromArray,
|
|
@@ -111,220 +114,220 @@ export {
|
|
|
111
114
|
O as dayjs_getRealTime,
|
|
112
115
|
v as dayjs_getSortedDayjsArray,
|
|
113
116
|
W as dayjs_getTimeFormat,
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
M as dayjs_getValueWithTime,
|
|
118
|
+
k as dayjs_isDayjsArrayChange,
|
|
116
119
|
F as dayjs_isDayjsChange,
|
|
117
120
|
L as dayjs_isValidTimeString,
|
|
118
121
|
H as dayjs_methods,
|
|
119
122
|
w as dayjs_timezoneToOffset,
|
|
120
123
|
U as dayjs_toLocal,
|
|
121
124
|
z as dayjs_toTimezone,
|
|
122
|
-
|
|
125
|
+
Me as debounce,
|
|
123
126
|
ke as defaultTo,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
127
|
+
Fe as defaults,
|
|
128
|
+
Le as defaultsDeep,
|
|
129
|
+
He as difference,
|
|
130
|
+
Dt as div,
|
|
131
|
+
Jr as easing,
|
|
132
|
+
oe as emitter,
|
|
133
|
+
we as escape,
|
|
134
|
+
ie as fileRead,
|
|
135
|
+
me as fileToDataURL,
|
|
136
|
+
ne as fillNBSP,
|
|
137
|
+
$t as fillRef,
|
|
138
|
+
Ue as findKey,
|
|
139
|
+
Mr as findNodeBy,
|
|
137
140
|
pe as findRootElement,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
Br as fixedWidth,
|
|
142
|
+
ze as flattenDeep,
|
|
143
|
+
qe as flow,
|
|
141
144
|
Y as forceReflow,
|
|
142
|
-
|
|
145
|
+
Je as get,
|
|
143
146
|
G as getBodyContainer,
|
|
144
147
|
kr as getChildWithParentBy,
|
|
145
148
|
Q as getElementCoordinates,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
ye as getHighlightText,
|
|
150
|
+
xe as getHotkeyHandler,
|
|
151
|
+
Fr as getItemBy,
|
|
152
|
+
Lr as getItemByID,
|
|
153
|
+
Hr as getLabelFromDictionaryByValue,
|
|
154
|
+
er as getNodeRef,
|
|
155
|
+
tr as getReactElementRef,
|
|
153
156
|
X as getScrollElements,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
he as getStringLength,
|
|
158
|
+
Dr as getStyle,
|
|
159
|
+
Ke as groupBy,
|
|
160
|
+
Ye as has,
|
|
158
161
|
Ce as include,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
+
Ge as intersection,
|
|
163
|
+
Qe as invert,
|
|
164
|
+
Xe as invertBy,
|
|
162
165
|
r as is,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
166
|
+
Ca as is32Bit,
|
|
167
|
+
Ra as isAllChinese,
|
|
168
|
+
Sa as isArguments,
|
|
169
|
+
Ta as isArray,
|
|
170
|
+
ja as isArrayBuffer,
|
|
171
|
+
Aa as isArrayLike,
|
|
172
|
+
Na as isArrayLikeObject,
|
|
173
|
+
_a as isAscii,
|
|
174
|
+
ba as isAsyncFunction,
|
|
175
|
+
Ba as isBase64,
|
|
176
|
+
Da as isBigInt,
|
|
177
|
+
Va as isBlob,
|
|
178
|
+
Ia as isBoolean,
|
|
179
|
+
Pa as isBuffer,
|
|
180
|
+
Oa as isChinese,
|
|
181
|
+
va as isColorValue,
|
|
182
|
+
Wa as isDataURI,
|
|
183
|
+
Ma as isDate,
|
|
184
|
+
ka as isDayjs,
|
|
185
|
+
Fa as isElement,
|
|
186
|
+
La as isElementByInstanceof,
|
|
187
|
+
Ha as isEmail,
|
|
188
|
+
wa as isEmpty,
|
|
189
|
+
Ua as isEmptyArray,
|
|
190
|
+
za as isEmptyObject,
|
|
191
|
+
qa as isEmptyReactNode,
|
|
192
|
+
Ja as isEmptyValue,
|
|
193
|
+
Ka as isEqual,
|
|
194
|
+
Ya as isEqualWith,
|
|
195
|
+
Ga as isError,
|
|
196
|
+
Qa as isEventTarget,
|
|
197
|
+
Xa as isExist,
|
|
198
|
+
Za as isFile,
|
|
199
|
+
$a as isFinite,
|
|
200
|
+
eo as isFullWidth,
|
|
201
|
+
to as isFunction,
|
|
202
|
+
ro as isHSL,
|
|
203
|
+
ao as isHalfWidth,
|
|
204
|
+
oo as isHash,
|
|
205
|
+
so as isHexColor,
|
|
206
|
+
io as isIMEI,
|
|
207
|
+
lo as isIP,
|
|
208
|
+
mo as isIPRange,
|
|
209
|
+
fo as isIdentityCard,
|
|
210
|
+
no as isInteger,
|
|
211
|
+
po as isJSON,
|
|
212
|
+
uo as isJSON_String,
|
|
213
|
+
yo as isJWT,
|
|
214
|
+
co as isLength,
|
|
215
|
+
xo as isMACAddress,
|
|
216
|
+
go as isMD5,
|
|
217
|
+
ho as isMap,
|
|
218
|
+
Eo as isMatch,
|
|
219
|
+
Co as isMatchWith,
|
|
220
|
+
Ro as isMimeType,
|
|
221
|
+
So as isMobilePhone,
|
|
222
|
+
To as isMobilePhoneLocales,
|
|
223
|
+
jo as isNaN,
|
|
224
|
+
Ao as isNative,
|
|
225
|
+
No as isNil,
|
|
226
|
+
_o as isNull,
|
|
227
|
+
bo as isNullOrUndefined,
|
|
228
|
+
Bo as isNumber,
|
|
229
|
+
Do as isObject,
|
|
230
|
+
Vo as isObjectLike,
|
|
231
|
+
Io as isPlainObject,
|
|
232
|
+
Po as isPort,
|
|
233
|
+
Oo as isPromise,
|
|
234
|
+
vo as isReact18,
|
|
235
|
+
Wo as isReact19,
|
|
236
|
+
Mo as isReactClassComponent,
|
|
237
|
+
ko as isReactComponent,
|
|
238
|
+
Fo as isReactComponentAndNotFragment,
|
|
239
|
+
Lo as isReadableStream,
|
|
240
|
+
Ho as isRegExp,
|
|
241
|
+
wo as isRgbColor,
|
|
242
|
+
Uo as isSafeInteger,
|
|
243
|
+
zo as isScrollElement,
|
|
244
|
+
qo as isSemVer,
|
|
245
|
+
Jo as isServerRendering,
|
|
246
|
+
Ko as isSet,
|
|
247
|
+
Yo as isSlug,
|
|
248
|
+
Go as isString,
|
|
249
|
+
Qo as isStrongPassword,
|
|
250
|
+
Xo as isSymbol,
|
|
251
|
+
Zo as isTypedArray,
|
|
252
|
+
$o as isURL,
|
|
253
|
+
es as isUUID,
|
|
254
|
+
ts as isUndefined,
|
|
255
|
+
rs as isVariableWidth,
|
|
256
|
+
as as isWeakMap,
|
|
257
|
+
os as isWeakSet,
|
|
258
|
+
ss as isWindow,
|
|
259
|
+
Ze as kebabCase,
|
|
257
260
|
s as keyboardCode,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
261
|
+
Vt as math,
|
|
262
|
+
$e as mean,
|
|
263
|
+
et as memoize,
|
|
264
|
+
tt as merge,
|
|
262
265
|
kt as mergeProps,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
+
rt as mergeWith,
|
|
267
|
+
Wt as mergedToString,
|
|
268
|
+
It as minus,
|
|
266
269
|
g as newArray,
|
|
267
270
|
Z as off,
|
|
268
|
-
|
|
271
|
+
wt as omit,
|
|
269
272
|
$ as on,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
+
at as orderBy,
|
|
274
|
+
zt as padEnd,
|
|
275
|
+
qt as padStart,
|
|
273
276
|
ee as parentContainsChildren,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
+
ot as partition,
|
|
278
|
+
Kt as pick,
|
|
279
|
+
Yt as pickDataAttributes,
|
|
277
280
|
h as pickTriggerPropsFromRest,
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
+
Qt as pinyin,
|
|
282
|
+
Pt as plus,
|
|
283
|
+
st as pullAll,
|
|
281
284
|
te as reflow,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
285
|
+
hr as removeDarkTheme,
|
|
286
|
+
_r as replaceEmptyWithHyphen,
|
|
287
|
+
ir as responsiveArray,
|
|
288
|
+
lr as responsiveMap,
|
|
289
|
+
mr as responsiveObserve,
|
|
290
|
+
it as result,
|
|
291
|
+
lt as sample,
|
|
292
|
+
mt as sampleSize,
|
|
293
|
+
nr as saveAs,
|
|
291
294
|
pr as screenfull,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
yr as scrollIntoViewIfNeeded,
|
|
296
|
+
wr as searchTree,
|
|
297
|
+
ft as set,
|
|
298
|
+
xr as setCreateRoot,
|
|
299
|
+
Er as setDarkTheme,
|
|
297
300
|
Rr as setPrimaryColor,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
301
|
+
Tr as setTheme,
|
|
302
|
+
Vr as setTransformStyle,
|
|
303
|
+
nt as setWith,
|
|
304
|
+
dt as shuffle,
|
|
302
305
|
pt as snakeCase,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
306
|
+
ut as sortBy,
|
|
307
|
+
yt as startCase,
|
|
308
|
+
rr as supportNodeRef,
|
|
309
|
+
ar as supportRef,
|
|
310
|
+
ct as throttle,
|
|
311
|
+
Pr as throttleByRaf,
|
|
312
|
+
Ot as times,
|
|
313
|
+
vr as toArray,
|
|
314
|
+
xt as toPath,
|
|
315
|
+
Ur as tree,
|
|
316
|
+
gt as truncate,
|
|
317
|
+
ht as union,
|
|
318
|
+
Et as uniq,
|
|
316
319
|
Ct as uniqueId,
|
|
317
320
|
Rt as unset,
|
|
318
|
-
|
|
319
|
-
|
|
321
|
+
St as update,
|
|
322
|
+
Tt as updateWith,
|
|
320
323
|
jt as upperCase,
|
|
321
324
|
At as upperFirst,
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
325
|
+
or as useComposeRef,
|
|
326
|
+
Yr as uuid,
|
|
327
|
+
Gr as uuidv4,
|
|
328
|
+
ma as validatorLocale,
|
|
329
|
+
na as warning,
|
|
330
|
+
Nt as without,
|
|
331
|
+
_t as xor,
|
|
329
332
|
bt as zip
|
|
330
333
|
};
|
package/utils/is.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2026-
|
|
1
|
+
/* 2026-02-26 14:47:16 */
|
|
2
2
|
import { is32Bit as e, isAllChinese as t, isArguments as a, isArray as r, isArrayBuffer as n, isArrayLike as l, isArrayLikeObject as o, isAscii as m, isAsyncFunction as c, isBase64 as d, isBigInt as y, isBlob as E, isBoolean as g, isBuffer as S, isChinese as p, isColorValue as u, isDataURI as b, isDate as h, isDayjs as A, isElement as R, isElementByInstanceof as C, isEmail as I, isEmpty as N, isEmptyArray as f, isEmptyObject as M, isEmptyReactNode as W, isEmptyValue as B, isEqual as O, isEqualWith as P, isError as L, isEventTarget as j, isExist as F, isFile as U, isFinite as k, isFullWidth as D, isFunction as x, isHSL as H, isHalfWidth as T, isHash as V, isHexColor as v, isIMEI as J, isIP as q, isIPRange as w, isIdentityCard as _, isInteger as z, isJSON as G, isJSON_String as K, isJWT as Q, isLength as X, isMACAddress as Y, isMD5 as Z, isMap as $, isMatch as ii, isMatchWith as si, isMimeType as ei, isMobilePhone as ti, isMobilePhoneLocales as ai, isNaN as ri, isNative as ni, isNil as li, isNull as oi, isNullOrUndefined as mi, isNumber as ci, isObject as di, isObjectLike as yi, isPlainObject as Ei, isPort as gi, isPromise as Si, isReact18 as pi, isReact19 as ui, isReactClassComponent as bi, isReactComponent as hi, isReactComponentAndNotFragment as Ai, isReadableStream as Ri, isRegExp as Ci, isRgbColor as Ii, isSafeInteger as Ni, isScrollElement as fi, isSemVer as Mi, isServerRendering as Wi, isSet as Bi, isSlug as Oi, isString as Pi, isStrongPassword as Li, isSymbol as ji, isTypedArray as Fi, isURL as Ui, isUUID as ki, isUndefined as Di, isVariableWidth as xi, isWeakMap as Hi, isWeakSet as Ti, isWindow as Vi } from "@unicom-cloud/ui-common/utils/is";
|
|
3
3
|
export {
|
|
4
4
|
e as is32Bit,
|
package/utils/keyboardCode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2026-
|
|
1
|
+
/* 2026-02-26 14:47:16 */
|
|
2
2
|
import * as t from "@unicom-cloud/utils/constant/keyboardCode";
|
|
3
3
|
export * from "@unicom-cloud/utils/constant/keyboardCode";
|
|
4
4
|
import { Alt as a, AltLeft as f, AltRight as p, ArrowDown as i, ArrowLeft as h, ArrowRight as l, ArrowUp as A, Backspace as c, CapsLock as s, Control as L, ControlLeft as g, ControlRight as n, Enter as w, Esc as C, Escape as R, Meta as m, MetaLeft as x, MetaRight as S, Shift as d, ShiftLeft as k, ShiftRight as E, Space as M, Tab as b } from "@unicom-cloud/utils/constant/keyboardCode";
|
package/utils/lodash.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2026-
|
|
1
|
+
/* 2026-02-26 14:47:16 */
|
|
2
2
|
export * from "@unicom-cloud/ui-common/utils/lodash";
|
|
3
3
|
import { assign as r, assignIn as i, at as n, camelCase as s, capitalize as o, castArray as p, chain as u, chunk as l, clone as c, cloneDeep as f, cloneDeepWith as h, cloneWith as m, compact as d, curry as y, debounce as g, defaultTo as C, defaults as W, defaultsDeep as z, difference as B, escape as D, findKey as b, flattenDeep as k, flow as x, get as q, groupBy as v, has as w, intersection as A, invert as I, invertBy as F, kebabCase as K, mean as P, memoize as S, merge as T, mergeWith as j, orderBy as E, partition as G, pullAll as H, result as J, sample as L, sampleSize as M, set as N, setWith as O, shuffle as Q, snakeCase as R, sortBy as U, startCase as V, throttle as X, toPath as Y, truncate as Z, union as _, uniq as $, uniqueId as ee, unset as te, update as ae, updateWith as re, upperCase as ie, upperFirst as ne, without as se, xor as oe, zip as pe } from "@unicom-cloud/ui-common/utils/lodash";
|
|
4
4
|
export {
|
package/utils/math.js
CHANGED