@unicom-cloud/ui 0.8.152 → 0.8.154
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/.virtual/_rolldown/runtime.js +1 -1
- package/.vite/manifest.json +39 -5
- package/affix/Affix.js +1 -1
- package/affix/index.js +1 -1
- package/alert/Alert.js +3 -3
- 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 +3 -3
- package/back-top/index.js +1 -1
- package/badge/Badge.js +3 -3
- package/badge/Count.js +3 -3
- package/badge/index.js +1 -1
- package/badge/utils.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 +1 -1
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Calendar.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 +1 -1
- package/calendar/hook/useCellClassName.js +1 -1
- package/calendar/index.js +1 -1
- package/card/Card.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/Carousel.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 +3 -3
- 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 +3 -3
- package/collapse/context.js +1 -1
- package/collapse/index.js +1 -1
- package/color-picker/ColorPicker.js +2 -2
- 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 +1 -1
- package/color-picker/colors.d.ts +1 -1
- package/color-picker/colors.js +1 -1
- package/color-picker/hooks/useColorPicker.js +1 -1
- package/color-picker/hooks/useControlBlock.js +1 -1
- package/color-picker/index.js +1 -1
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +2 -2
- package/comment/Comment.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +1 -1
- package/config-provider/initUI.js +1 -1
- package/config-provider/useConfigProvider.js +1 -1
- package/constant/index.js +1 -1
- package/copy/Copy.js +1 -1
- package/copy/index.js +1 -1
- package/countdown/Countdown.js +1 -1
- package/countdown/index.js +1 -1
- package/countdown/utils.js +1 -1
- package/date-picker/DatePicker.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/Descriptions.js +1 -1
- package/descriptions/index.js +1 -1
- package/details/Details.js +1 -1
- package/details/index.js +1 -1
- package/development/Development.js +1 -1
- package/development/index.js +1 -1
- package/divider/Divider.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/Draggable.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/index.js +1 -1
- package/draw/Draw.d.ts +0 -1
- package/draw/Draw.js +14 -14
- package/draw/constant.js +1 -1
- package/draw/index.js +1 -1
- package/drawer/Drawer.js +72 -67
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/Dropdown.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/Empty.js +1 -1
- package/empty/index.js +1 -1
- package/flex/Flex.js +1 -1
- package/flex/index.js +1 -1
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormControl.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/FormItemTip.js +3 -3
- package/form/FormLabel.js +1 -1
- package/form/FormLabelSymbol.js +1 -1
- package/form/FormList.js +1 -1
- package/form/FormProvider.js +1 -1
- package/form/constant.js +1 -1
- package/form/context.js +1 -1
- 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/GlobalProvider.js +1 -1
- package/global-provider/context.js +1 -1
- package/global-provider/index.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/utils.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/use-breakpoint/index.js +1 -1
- 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 +1 -1
- 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/useUnmountOnExit.js +1 -1
- package/icon/Icon.js +1 -1
- package/icon/addIconFromCdn.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/IconHover.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file/File.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons.js +1 -1
- package/image/Image.js +1 -1
- package/image/ImageFooter.js +1 -1
- package/image/ImagePreview.js +3 -3
- 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.d.ts +2 -2
- package/index.js +813 -788
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- 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 +1 -1
- package/input/autoSizeTextareaHeight.js +1 -1
- package/input/index.js +2 -2
- package/input/useComposition.js +1 -1
- package/input/utils.js +1 -1
- package/input-number/InputNumber.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 +1 -1
- package/input-tag/constant.js +1 -1
- package/input-tag/hook/useComputeAutoWidthDelay.js +1 -1
- 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/Layout.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/context.js +1 -1
- package/layout/index.js +1 -1
- package/link/Link.js +1 -1
- package/link/index.js +1 -1
- package/liquid-fill/LiquidFill.js +1 -1
- package/liquid-fill/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/List.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/Loading.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/Marquee.js +1 -1
- package/marquee/index.js +1 -1
- package/mask/Mask.js +21 -18
- package/mask/index.js +1 -1
- package/mask/interface.d.ts +1 -0
- package/masonry/Masonry.js +1 -1
- 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/Mentions.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 +1 -1
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +1 -1
- package/menu/OverflowWrap.js +1 -1
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/sub-menu/Inline.js +3 -3
- 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 +4 -5
- package/message/index.js +5 -5
- package/message/interface.d.ts +3 -3
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +1 -1
- package/modal/Modal.js +136 -134
- 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/Notice.js +1 -1
- package/notice/index.js +1 -1
- package/notification/Notification.js +3 -3
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +1 -1
- package/overflow-ellipsis/OverflowEllipsis.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/PageHeader.js +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 +1 -1
- 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/Popconfirm.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/Progress.js +1 -1
- package/progress/StepProgress.js +1 -1
- package/progress/index.js +1 -1
- package/qr-code/QRCode.js +1 -1
- package/qr-code/index.d.ts +1 -0
- package/qr-code/index.js +2 -2
- package/qr-code/src/index.js +44 -44
- package/qr-code/src/qrcodegen.d.ts +1 -65
- package/qr-code/src/qrcodegen.js +726 -938
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/context.js +1 -1
- package/radio/index.js +1 -1
- package/rate/Rate.js +1 -1
- package/rate/index.js +1 -1
- package/resize-box/ResizeBox.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/Result.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.d.ts +19 -3
- package/rich-text/index.js +13 -2
- 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 +102 -102
- package/rich-text/lib/core/emitter.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 +1 -1
- package/rich-text/lib/core/selection.js +80 -80
- 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 +132 -132
- 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 +18 -18
- 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 +1 -1
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/segmented/Segmented.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 +152 -150
- package/select-view/SelectView.js +1 -1
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Skeleton.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/Slider.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 +1 -1
- package/slider/utils.js +1 -1
- package/space/Space.js +1 -1
- package/space/index.js +1 -1
- package/speech-synthesis/SpeechSynthesis.js +1 -1
- package/speech-synthesis/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/Spin.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.d.ts +1 -5
- package/splitter/Panel.js +4 -3
- package/splitter/SplitBar.js +1 -1
- package/splitter/Splitter.js +2 -2
- 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/Statistic.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/steps/Step.js +1 -1
- package/steps/Steps.js +1 -1
- package/steps/index.js +1 -1
- package/style/animation/fade.less +4 -4
- package/style/animation/slide.less +20 -20
- package/style/animation/zoom.less +12 -12
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/switch/Switch.js +1 -1
- package/switch/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +281 -270
- 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/interface.d.ts +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/DataRecordRenderer.js +1 -1
- package/table/tbody/Td.js +68 -78
- 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.d.ts +0 -2
- package/table/utils.js +12 -18
- 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/Tag.js +1 -1
- package/tag/index.js +1 -1
- package/tag/utils.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/Timer.js +1 -1
- package/timer/index.js +1 -1
- package/tooltip/Tooltip.js +1 -1
- package/tooltip/index.js +1 -1
- package/tour/Tour.js +1 -1
- package/tour/index.js +1 -1
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -1
- package/transfer/Transfer.js +1 -1
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- package/tree/Context2.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/TreeSelect.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/Trigger.js +6 -6
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.js +1 -1
- package/trigger/utils.js +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 +1 -1
- 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.d.ts +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 +1 -1
- 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/getScrollBarHeight.d.ts +3 -0
- package/utils/getScrollBarHeight.js +7 -0
- package/utils/getScrollBarSize.d.ts +3 -0
- package/utils/getScrollBarSize.js +7 -0
- package/utils/getScrollBarWidth.d.ts +3 -0
- package/utils/getScrollBarWidth.js +7 -0
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.d.ts +3 -0
- package/utils/index.js +235 -228
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.d.ts +1 -1
- package/utils/is.js +9 -8
- 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 +1 -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 +1 -1
- 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 +1 -1
- package/verification-code/index.js +1 -1
- package/version/index.js +11 -14
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- 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 +1 -1
- package/watermark/index.js +1 -1
package/utils/index.js
CHANGED
|
@@ -1,165 +1,171 @@
|
|
|
1
|
-
/* 潘启宝 2026-03
|
|
1
|
+
/* 潘启宝 2026-04-03 14:07:06 星期五 */
|
|
2
2
|
import { __exportAll as ee } from "../.virtual/_rolldown/runtime.js";
|
|
3
|
-
import { is32Bit as te, isAllChinese as ne, isArguments as re, isArray as e, isArrayAndNotEmpty as t, isArrayBuffer as n, isArrayEmpty as r, isArrayLike as i, isArrayLikeObject as a, isAscii as o, isAsyncFunction as s, isBase64 as c, isBigInt as l, isBlob as u, isBoolean as d, isBuffer as f, isChinese as p, isColorValue as m, isDataURI as h, isDate as g, isDayjs as _, isElement as v, isElementByInstanceof as y, isEmail as b, isEmpty as x, isEmptyArray as S, isEmptyObject as C, isEmptyReactNode as w, isEmptyValue as T, isEqual as E, isEqualWith as D, isError as O, isEventTarget as k, isExist as A, isFile as j, isFinite as M, isFullWidth as N, isFunction as P, isHSL as F, isHalfWidth as I, isHash as L, isHexColor as R, isIMEI as z, isIP as B, isIPRange as V, isIdentityCard as H, isInteger as U, isJSON as W, isJSON_String as G, isJWT as K, isLength as q, isMACAddress as J, isMD5 as Y, isMap as X, isMatch as ie, isMatchWith as ae, isMimeType as oe, isMobilePhone as se, isMobilePhoneLocales as ce, isNaN as le, isNative as ue, isNil as de, isNull as fe, isNullOrUndefined as pe, isNumber as me, isNumberOrString as he, isObject as ge, isObjectLike as _e, isPlainObject as ve, isPort as ye, isPromise as be, isReact18 as xe, isReact19 as Se, isReactClassComponent as Ce, isReactComponent as we, isReactComponentAndNotFragment as Te, isReadableStream as Ee, isRegExp as De, isRgbColor as Oe, isSafeInteger as ke, isScrollElement as Ae, isSemVer as je, isServerRendering as Me, isSet as Ne, isSlug as Pe, isSparseArray as Fe, isString as Ie, isStringOrNumber as Le, isStrongPassword as Re, isSymbol as ze, isTypedArray as Be, isURL as Ve, isUUID as He, isUndefined as Ue,
|
|
4
|
-
import { uuid as
|
|
5
|
-
import
|
|
6
|
-
import { keyboardCode as
|
|
7
|
-
import { callbackOriginRef as
|
|
8
|
-
import { callOrReturn as
|
|
9
|
-
import { caseName as
|
|
3
|
+
import { is32Bit as te, isAllChinese as ne, isArguments as re, isArray as e, isArrayAndNotEmpty as t, isArrayBuffer as n, isArrayEmpty as r, isArrayLike as i, isArrayLikeObject as a, isAscii as o, isAsyncFunction as s, isBase64 as c, isBigInt as l, isBlob as u, isBoolean as d, isBuffer as f, isChinese as p, isColorValue as m, isDataURI as h, isDate as g, isDayjs as _, isElement as v, isElementByInstanceof as y, isEmail as b, isEmpty as x, isEmptyArray as S, isEmptyObject as C, isEmptyReactNode as w, isEmptyValue as T, isEqual as E, isEqualWith as D, isError as O, isEventTarget as k, isExist as A, isFile as j, isFinite as M, isFullWidth as N, isFunction as P, isHSL as F, isHalfWidth as I, isHash as L, isHexColor as R, isIMEI as z, isIP as B, isIPRange as V, isIdentityCard as H, isInteger as U, isJSON as W, isJSON_String as G, isJWT as K, isLength as q, isMACAddress as J, isMD5 as Y, isMap as X, isMatch as ie, isMatchWith as ae, isMimeType as oe, isMobilePhone as se, isMobilePhoneLocales as ce, isNaN as le, isNative as ue, isNil as de, isNull as fe, isNullOrUndefined as pe, isNumber as me, isNumberOrString as he, isObject as ge, isObjectLike as _e, isPlainObject as ve, isPort as ye, isPromise as be, isReact18 as xe, isReact19 as Se, isReactClassComponent as Ce, isReactComponent as we, isReactComponentAndNotFragment as Te, isReadableStream as Ee, isRegExp as De, isRgbColor as Oe, isSafeInteger as ke, isScrollElement as Ae, isSemVer as je, isServerRendering as Me, isSet as Ne, isSlug as Pe, isSparseArray as Fe, isString as Ie, isStringOrNumber as Le, isStrongPassword as Re, isSymbol as ze, isTypedArray as Be, isURL as Ve, isUUID as He, isUndefined as Ue, isUndefinedOrNull as We, isVariableWidth as Ge, isWeakMap as Ke, isWeakSet as qe, isWindow as Je, is_exports as Ye } from "./is.js";
|
|
4
|
+
import { uuid as Xe, uuidv4 as Ze } from "./uuid.js";
|
|
5
|
+
import Qe, { responsiveArray as $e, responsiveMap as et } from "./responsiveObserve.js";
|
|
6
|
+
import { keyboardCode as tt } from "./keyboardCode.js";
|
|
7
|
+
import { callbackOriginRef as nt } from "./callbackOriginRef.js";
|
|
8
|
+
import { callOrReturn as rt } from "./callOrReturn.js";
|
|
9
|
+
import { caseName as it } from "./caseName.js";
|
|
10
10
|
import { className as Z } from "./className.js";
|
|
11
|
-
import { pick as
|
|
12
|
-
import { NOOP as
|
|
13
|
-
import { PqbValidator as
|
|
14
|
-
import { canUseDOM as
|
|
15
|
-
import { EMITTER_EVENT as
|
|
16
|
-
import
|
|
17
|
-
import { ContextHolderElement as
|
|
11
|
+
import { pick as at, pickDataAttributes as ot } from "./pick.js";
|
|
12
|
+
import { NOOP as st, UI_PC_KEY as ct, UI_PC_THEME_DARK_CLASS_NAME as lt, newArray as ut, pickTriggerPropsFromRest as dt } from "./constant.js";
|
|
13
|
+
import { PqbValidator as ft, Validator as pt, ValidatorArray as mt, ValidatorBase as ht, ValidatorBoolean as gt, ValidatorCustom as _t, ValidatorNumber as vt, ValidatorObject as yt, ValidatorSchema as bt, ValidatorString as xt, ValidatorType as St, validatorLocale as Ct } from "./validate.js";
|
|
14
|
+
import { canUseDOM as wt, contains as Tt, forceReflow as Et, getBodyContainer as Dt, getElementCoordinates as Ot, getScrollElements as kt, off as At, on as jt, parentContainsChildren as Mt, reflow as Nt } from "./dom.js";
|
|
15
|
+
import { EMITTER_EVENT as Pt, Emitter as Ft, emitter as It } from "./emitter.js";
|
|
16
|
+
import Lt, { removeDarkTheme as Rt } from "./setDarkTheme.js";
|
|
17
|
+
import { ContextHolderElement as zt } from "./contextHolder.js";
|
|
18
18
|
import { clipboardCopy as Q } from "./copy.js";
|
|
19
|
-
import { convertTime as
|
|
20
|
-
import { dayjs as
|
|
21
|
-
import { fileRead as
|
|
22
|
-
import { fileToDataURL as
|
|
23
|
-
import { fillNBSP as
|
|
24
|
-
import { findRootElement as
|
|
19
|
+
import { convertTime as Bt, convertToDurationBasedOnTimeUnits as Vt, dateFormat as Ht, dayjsFormat as Ut } from "./date.js";
|
|
20
|
+
import { dayjs as Wt, dayjs_formatValue as Gt, dayjs_getDayjsValue as Kt, dayjs_getFormatFromArray as qt, dayjs_getNow as Jt, dayjs_getRealTime as $, dayjs_getSortedDayjsArray as Yt, dayjs_getTimeFormat as Xt, dayjs_getValueWithTime as Zt, dayjs_isDayjsArrayChange as Qt, dayjs_isDayjsChange as $t, dayjs_isValidTimeString as en, dayjs_methods as tn, dayjs_timezoneToOffset as nn, dayjs_toLocal as rn, dayjs_toTimezone as an } from "./dayjs.js";
|
|
21
|
+
import { fileRead as on } from "./fileRead.js";
|
|
22
|
+
import { fileToDataURL as sn } from "./fileToDataURL.js";
|
|
23
|
+
import { fillNBSP as cn } from "./fillNBSP.js";
|
|
24
|
+
import { findRootElement as ln } from "./findRootElement.js";
|
|
25
25
|
import "./findScrollParent.js";
|
|
26
|
-
import { getHighlightText as
|
|
27
|
-
import { getHotkeyHandler as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
26
|
+
import { getHighlightText as un } from "./getHighlightText.js";
|
|
27
|
+
import { getHotkeyHandler as dn } from "./getHotkeyHandler.js";
|
|
28
|
+
import { getScrollBarHeight as fn } from "./getScrollBarHeight.js";
|
|
29
|
+
import { getScrollBarSize as pn } from "./getScrollBarSize.js";
|
|
30
|
+
import { getScrollBarWidth as mn } from "./getScrollBarWidth.js";
|
|
31
|
+
import { getStringLength as hn } from "./getStringLength.js";
|
|
32
|
+
import { include as gn } from "./include.js";
|
|
30
33
|
import "./intersectionObserver.js";
|
|
31
|
-
import { assign as
|
|
32
|
-
import { div as
|
|
33
|
-
import { mergedToString as
|
|
34
|
-
import { mergeProps as
|
|
34
|
+
import { assign as _n, assignIn as vn, at as yn, camelCase as bn, capitalize as xn, castArray as Sn, chain as Cn, chunk as wn, clone as Tn, cloneDeep as En, cloneDeepWith as Dn, cloneWith as On, compact as kn, curry as An, debounce as jn, defaultTo as Mn, defaults as Nn, defaultsDeep as Pn, difference as Fn, escape as In, findKey as Ln, flattenDeep as Rn, flow as zn, get as Bn, groupBy as Vn, has as Hn, intersection as Un, invert as Wn, invertBy as Gn, kebabCase as Kn, mean as qn, memoize as Jn, merge as Yn, mergeWith as Xn, orderBy as Zn, partition as Qn, pullAll as $n, result as er, sample as tr, sampleSize as nr, set as rr, setWith as ir, shuffle as ar, snakeCase as or, sortBy as sr, startCase as cr, throttle as lr, toPath as ur, truncate as dr, union as fr, uniq as pr, uniqueId as mr, unset as hr, update as gr, updateWith as _r, upperCase as vr, upperFirst as yr, without as br, xor as xr, zip as Sr } from "./lodash.js";
|
|
35
|
+
import { div as Cr, math as wr, minus as Tr, plus as Er, times as Dr } from "./math.js";
|
|
36
|
+
import { mergedToString as Or } from "./mergedToString.js";
|
|
37
|
+
import { mergeProps as kr } from "./mergeProps.js";
|
|
35
38
|
import "./mutationObserver.js";
|
|
36
|
-
import { COMPONENT_NAMES as
|
|
37
|
-
import { omit as
|
|
38
|
-
import { padEnd as
|
|
39
|
-
import { pinyin as
|
|
40
|
-
import { composeRef as
|
|
39
|
+
import { COMPONENT_NAMES as Ar } from "./names.js";
|
|
40
|
+
import { omit as jr } from "./omit.js";
|
|
41
|
+
import { padEnd as Mr, padStart as Nr } from "./pad.js";
|
|
42
|
+
import { pinyin as Pr } from "./pinyin.js";
|
|
43
|
+
import { composeRef as Fr, fillRef as Ir, getNodeRef as Lr, getReactElementRef as Rr, supportNodeRef as zr, supportRef as Br, useComposeRef as Vr } from "./ref.js";
|
|
41
44
|
import "./resizeObserver.js";
|
|
42
|
-
import { saveAs as
|
|
43
|
-
import { screenfull as
|
|
44
|
-
import { scrollIntoViewIfNeeded as
|
|
45
|
-
import { setCreateRoot as
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import { HYPHEN as
|
|
49
|
-
import { fixedWidth as
|
|
50
|
-
import { throttleByRaf as
|
|
51
|
-
import { toArray as
|
|
52
|
-
import { findNodeBy as
|
|
53
|
-
import { Tween as
|
|
54
|
-
import { warning as
|
|
45
|
+
import { saveAs as Hr } from "./saveAs.js";
|
|
46
|
+
import { screenfull as Ur } from "./screenfull.js";
|
|
47
|
+
import { scrollIntoViewIfNeeded as Wr } from "./scrollIntoViewIfNeeded.js";
|
|
48
|
+
import { setCreateRoot as Gr } from "./setCreateRoot.js";
|
|
49
|
+
import Kr from "./setPrimaryColor.js";
|
|
50
|
+
import qr from "./setTheme.js";
|
|
51
|
+
import { HYPHEN as Jr, replaceEmptyWithHyphen as Yr } from "./string.js";
|
|
52
|
+
import { fixedWidth as Xr, getStyle as Zr, setTransformStyle as Qr } from "./style.js";
|
|
53
|
+
import { throttleByRaf as $r } from "./throttleByRaf.js";
|
|
54
|
+
import { toArray as ei } from "./toArray.js";
|
|
55
|
+
import { findNodeBy as ti, getChildWithParentBy as ni, getItemBy as ri, getItemByID as ii, getLabelFromDictionaryByValue as ai, searchTree as oi, tree as si } from "./tree.js";
|
|
56
|
+
import { Tween as ci, easing as li } from "./tween.js";
|
|
57
|
+
import { warning as ui } from "./warning.js";
|
|
55
58
|
export * from "@unicom-cloud/ui-common/utils/lodash";
|
|
56
59
|
//#region components/pc/utils/index.ts
|
|
57
|
-
var
|
|
58
|
-
COMPONENT_NAMES: () =>
|
|
59
|
-
ContextHolderElement: () =>
|
|
60
|
-
EMITTER_EVENT: () =>
|
|
61
|
-
Emitter: () =>
|
|
62
|
-
HYPHEN: () =>
|
|
63
|
-
NOOP: () =>
|
|
64
|
-
PqbValidator: () =>
|
|
65
|
-
Tween: () =>
|
|
66
|
-
UI_PC_KEY: () =>
|
|
67
|
-
UI_PC_THEME_DARK_CLASS_NAME: () =>
|
|
68
|
-
Validator: () =>
|
|
69
|
-
ValidatorArray: () =>
|
|
70
|
-
ValidatorBase: () =>
|
|
71
|
-
ValidatorBoolean: () =>
|
|
72
|
-
ValidatorCustom: () =>
|
|
73
|
-
ValidatorNumber: () =>
|
|
74
|
-
ValidatorObject: () =>
|
|
75
|
-
ValidatorSchema: () =>
|
|
76
|
-
ValidatorString: () =>
|
|
77
|
-
ValidatorType: () =>
|
|
78
|
-
assign: () =>
|
|
79
|
-
assignIn: () =>
|
|
80
|
-
at: () =>
|
|
81
|
-
callOrReturn: () =>
|
|
82
|
-
callbackOriginRef: () =>
|
|
83
|
-
camelCase: () =>
|
|
84
|
-
canUseDOM: () =>
|
|
85
|
-
capitalize: () =>
|
|
86
|
-
caseName: () =>
|
|
87
|
-
castArray: () =>
|
|
88
|
-
chain: () =>
|
|
89
|
-
chunk: () =>
|
|
60
|
+
var di = /* @__PURE__ */ ee({
|
|
61
|
+
COMPONENT_NAMES: () => Ar,
|
|
62
|
+
ContextHolderElement: () => zt,
|
|
63
|
+
EMITTER_EVENT: () => Pt,
|
|
64
|
+
Emitter: () => Ft,
|
|
65
|
+
HYPHEN: () => Jr,
|
|
66
|
+
NOOP: () => st,
|
|
67
|
+
PqbValidator: () => ft,
|
|
68
|
+
Tween: () => ci,
|
|
69
|
+
UI_PC_KEY: () => ct,
|
|
70
|
+
UI_PC_THEME_DARK_CLASS_NAME: () => lt,
|
|
71
|
+
Validator: () => pt,
|
|
72
|
+
ValidatorArray: () => mt,
|
|
73
|
+
ValidatorBase: () => ht,
|
|
74
|
+
ValidatorBoolean: () => gt,
|
|
75
|
+
ValidatorCustom: () => _t,
|
|
76
|
+
ValidatorNumber: () => vt,
|
|
77
|
+
ValidatorObject: () => yt,
|
|
78
|
+
ValidatorSchema: () => bt,
|
|
79
|
+
ValidatorString: () => xt,
|
|
80
|
+
ValidatorType: () => St,
|
|
81
|
+
assign: () => _n,
|
|
82
|
+
assignIn: () => vn,
|
|
83
|
+
at: () => yn,
|
|
84
|
+
callOrReturn: () => rt,
|
|
85
|
+
callbackOriginRef: () => nt,
|
|
86
|
+
camelCase: () => bn,
|
|
87
|
+
canUseDOM: () => wt,
|
|
88
|
+
capitalize: () => xn,
|
|
89
|
+
caseName: () => it,
|
|
90
|
+
castArray: () => Sn,
|
|
91
|
+
chain: () => Cn,
|
|
92
|
+
chunk: () => wn,
|
|
90
93
|
className: () => Z,
|
|
91
94
|
clipboardCopy: () => Q,
|
|
92
|
-
clone: () =>
|
|
93
|
-
cloneDeep: () =>
|
|
94
|
-
cloneDeepWith: () =>
|
|
95
|
-
cloneWith: () =>
|
|
96
|
-
compact: () =>
|
|
97
|
-
composeRef: () =>
|
|
98
|
-
contains: () =>
|
|
99
|
-
convertTime: () =>
|
|
100
|
-
convertToDurationBasedOnTimeUnits: () =>
|
|
95
|
+
clone: () => Tn,
|
|
96
|
+
cloneDeep: () => En,
|
|
97
|
+
cloneDeepWith: () => Dn,
|
|
98
|
+
cloneWith: () => On,
|
|
99
|
+
compact: () => kn,
|
|
100
|
+
composeRef: () => Fr,
|
|
101
|
+
contains: () => Tt,
|
|
102
|
+
convertTime: () => Bt,
|
|
103
|
+
convertToDurationBasedOnTimeUnits: () => Vt,
|
|
101
104
|
copy: () => Q,
|
|
102
105
|
cs: () => Z,
|
|
103
|
-
curry: () =>
|
|
104
|
-
dateFormat: () =>
|
|
105
|
-
dayjs: () =>
|
|
106
|
-
dayjsFormat: () =>
|
|
107
|
-
dayjs_formatValue: () =>
|
|
108
|
-
dayjs_getDayjsValue: () =>
|
|
109
|
-
dayjs_getFormatFromArray: () =>
|
|
110
|
-
dayjs_getNow: () =>
|
|
111
|
-
dayjs_getRealTime: () =>
|
|
112
|
-
dayjs_getSortedDayjsArray: () =>
|
|
113
|
-
dayjs_getTimeFormat: () =>
|
|
114
|
-
dayjs_getValueWithTime: () =>
|
|
115
|
-
dayjs_isDayjsArrayChange: () =>
|
|
116
|
-
dayjs_isDayjsChange: () =>
|
|
117
|
-
dayjs_isValidTimeString: () =>
|
|
118
|
-
dayjs_methods: () =>
|
|
119
|
-
dayjs_timezoneToOffset: () =>
|
|
120
|
-
dayjs_toLocal: () =>
|
|
121
|
-
dayjs_toTimezone: () =>
|
|
122
|
-
debounce: () =>
|
|
123
|
-
defaultTo: () =>
|
|
124
|
-
defaults: () =>
|
|
125
|
-
defaultsDeep: () =>
|
|
126
|
-
difference: () =>
|
|
127
|
-
div: () =>
|
|
128
|
-
easing: () =>
|
|
129
|
-
emitter: () =>
|
|
130
|
-
escape: () =>
|
|
131
|
-
fileRead: () =>
|
|
132
|
-
fileToDataURL: () =>
|
|
133
|
-
fillNBSP: () =>
|
|
134
|
-
fillRef: () =>
|
|
135
|
-
findKey: () =>
|
|
136
|
-
findNodeBy: () =>
|
|
137
|
-
findRootElement: () =>
|
|
138
|
-
fixedWidth: () =>
|
|
139
|
-
flattenDeep: () =>
|
|
140
|
-
flow: () =>
|
|
141
|
-
forceReflow: () =>
|
|
142
|
-
get: () =>
|
|
143
|
-
getBodyContainer: () =>
|
|
144
|
-
getChildWithParentBy: () =>
|
|
145
|
-
getElementCoordinates: () =>
|
|
146
|
-
getHighlightText: () =>
|
|
147
|
-
getHotkeyHandler: () =>
|
|
148
|
-
getItemBy: () =>
|
|
149
|
-
getItemByID: () =>
|
|
150
|
-
getLabelFromDictionaryByValue: () =>
|
|
151
|
-
getNodeRef: () =>
|
|
152
|
-
getReactElementRef: () =>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
106
|
+
curry: () => An,
|
|
107
|
+
dateFormat: () => Ht,
|
|
108
|
+
dayjs: () => Wt,
|
|
109
|
+
dayjsFormat: () => Ut,
|
|
110
|
+
dayjs_formatValue: () => Gt,
|
|
111
|
+
dayjs_getDayjsValue: () => Kt,
|
|
112
|
+
dayjs_getFormatFromArray: () => qt,
|
|
113
|
+
dayjs_getNow: () => Jt,
|
|
114
|
+
dayjs_getRealTime: () => $,
|
|
115
|
+
dayjs_getSortedDayjsArray: () => Yt,
|
|
116
|
+
dayjs_getTimeFormat: () => Xt,
|
|
117
|
+
dayjs_getValueWithTime: () => Zt,
|
|
118
|
+
dayjs_isDayjsArrayChange: () => Qt,
|
|
119
|
+
dayjs_isDayjsChange: () => $t,
|
|
120
|
+
dayjs_isValidTimeString: () => en,
|
|
121
|
+
dayjs_methods: () => tn,
|
|
122
|
+
dayjs_timezoneToOffset: () => nn,
|
|
123
|
+
dayjs_toLocal: () => rn,
|
|
124
|
+
dayjs_toTimezone: () => an,
|
|
125
|
+
debounce: () => jn,
|
|
126
|
+
defaultTo: () => Mn,
|
|
127
|
+
defaults: () => Nn,
|
|
128
|
+
defaultsDeep: () => Pn,
|
|
129
|
+
difference: () => Fn,
|
|
130
|
+
div: () => Cr,
|
|
131
|
+
easing: () => li,
|
|
132
|
+
emitter: () => It,
|
|
133
|
+
escape: () => In,
|
|
134
|
+
fileRead: () => on,
|
|
135
|
+
fileToDataURL: () => sn,
|
|
136
|
+
fillNBSP: () => cn,
|
|
137
|
+
fillRef: () => Ir,
|
|
138
|
+
findKey: () => Ln,
|
|
139
|
+
findNodeBy: () => ti,
|
|
140
|
+
findRootElement: () => ln,
|
|
141
|
+
fixedWidth: () => Xr,
|
|
142
|
+
flattenDeep: () => Rn,
|
|
143
|
+
flow: () => zn,
|
|
144
|
+
forceReflow: () => Et,
|
|
145
|
+
get: () => Bn,
|
|
146
|
+
getBodyContainer: () => Dt,
|
|
147
|
+
getChildWithParentBy: () => ni,
|
|
148
|
+
getElementCoordinates: () => Ot,
|
|
149
|
+
getHighlightText: () => un,
|
|
150
|
+
getHotkeyHandler: () => dn,
|
|
151
|
+
getItemBy: () => ri,
|
|
152
|
+
getItemByID: () => ii,
|
|
153
|
+
getLabelFromDictionaryByValue: () => ai,
|
|
154
|
+
getNodeRef: () => Lr,
|
|
155
|
+
getReactElementRef: () => Rr,
|
|
156
|
+
getScrollBarHeight: () => fn,
|
|
157
|
+
getScrollBarSize: () => pn,
|
|
158
|
+
getScrollBarWidth: () => mn,
|
|
159
|
+
getScrollElements: () => kt,
|
|
160
|
+
getStringLength: () => hn,
|
|
161
|
+
getStyle: () => Zr,
|
|
162
|
+
groupBy: () => Vn,
|
|
163
|
+
has: () => Hn,
|
|
164
|
+
include: () => gn,
|
|
165
|
+
intersection: () => Un,
|
|
166
|
+
invert: () => Wn,
|
|
167
|
+
invertBy: () => Gn,
|
|
168
|
+
is: () => Ye,
|
|
163
169
|
is32Bit: () => te,
|
|
164
170
|
isAllChinese: () => ne,
|
|
165
171
|
isArguments: () => re,
|
|
@@ -254,85 +260,86 @@ var si = /* @__PURE__ */ ee({
|
|
|
254
260
|
isURL: () => Ve,
|
|
255
261
|
isUUID: () => He,
|
|
256
262
|
isUndefined: () => Ue,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
263
|
+
isUndefinedOrNull: () => We,
|
|
264
|
+
isVariableWidth: () => Ge,
|
|
265
|
+
isWeakMap: () => Ke,
|
|
266
|
+
isWeakSet: () => qe,
|
|
267
|
+
isWindow: () => Je,
|
|
268
|
+
kebabCase: () => Kn,
|
|
269
|
+
keyboardCode: () => tt,
|
|
270
|
+
math: () => wr,
|
|
271
|
+
mean: () => qn,
|
|
272
|
+
memoize: () => Jn,
|
|
273
|
+
merge: () => Yn,
|
|
274
|
+
mergeProps: () => kr,
|
|
275
|
+
mergeWith: () => Xn,
|
|
276
|
+
mergedToString: () => Or,
|
|
277
|
+
minus: () => Tr,
|
|
278
|
+
newArray: () => ut,
|
|
279
|
+
off: () => At,
|
|
280
|
+
omit: () => jr,
|
|
281
|
+
on: () => jt,
|
|
282
|
+
orderBy: () => Zn,
|
|
283
|
+
padEnd: () => Mr,
|
|
284
|
+
padStart: () => Nr,
|
|
285
|
+
parentContainsChildren: () => Mt,
|
|
286
|
+
partition: () => Qn,
|
|
287
|
+
pick: () => at,
|
|
288
|
+
pickDataAttributes: () => ot,
|
|
289
|
+
pickTriggerPropsFromRest: () => dt,
|
|
290
|
+
pinyin: () => Pr,
|
|
291
|
+
plus: () => Er,
|
|
292
|
+
pullAll: () => $n,
|
|
293
|
+
reflow: () => Nt,
|
|
294
|
+
removeDarkTheme: () => Rt,
|
|
295
|
+
replaceEmptyWithHyphen: () => Yr,
|
|
296
|
+
responsiveArray: () => $e,
|
|
297
|
+
responsiveMap: () => et,
|
|
298
|
+
responsiveObserve: () => Qe,
|
|
299
|
+
result: () => er,
|
|
300
|
+
sample: () => tr,
|
|
301
|
+
sampleSize: () => nr,
|
|
302
|
+
saveAs: () => Hr,
|
|
303
|
+
screenfull: () => Ur,
|
|
304
|
+
scrollIntoViewIfNeeded: () => Wr,
|
|
305
|
+
searchTree: () => oi,
|
|
306
|
+
set: () => rr,
|
|
307
|
+
setCreateRoot: () => Gr,
|
|
308
|
+
setDarkTheme: () => Lt,
|
|
309
|
+
setPrimaryColor: () => Kr,
|
|
310
|
+
setTheme: () => qr,
|
|
311
|
+
setTransformStyle: () => Qr,
|
|
312
|
+
setWith: () => ir,
|
|
313
|
+
shuffle: () => ar,
|
|
314
|
+
snakeCase: () => or,
|
|
315
|
+
sortBy: () => sr,
|
|
316
|
+
startCase: () => cr,
|
|
317
|
+
supportNodeRef: () => zr,
|
|
318
|
+
supportRef: () => Br,
|
|
319
|
+
throttle: () => lr,
|
|
320
|
+
throttleByRaf: () => $r,
|
|
321
|
+
times: () => Dr,
|
|
322
|
+
toArray: () => ei,
|
|
323
|
+
toPath: () => ur,
|
|
324
|
+
tree: () => si,
|
|
325
|
+
truncate: () => dr,
|
|
326
|
+
union: () => fr,
|
|
327
|
+
uniq: () => pr,
|
|
328
|
+
uniqueId: () => mr,
|
|
329
|
+
unset: () => hr,
|
|
330
|
+
update: () => gr,
|
|
331
|
+
updateWith: () => _r,
|
|
332
|
+
upperCase: () => vr,
|
|
333
|
+
upperFirst: () => yr,
|
|
334
|
+
useComposeRef: () => Vr,
|
|
335
|
+
uuid: () => Xe,
|
|
336
|
+
uuidv4: () => Ze,
|
|
337
|
+
validatorLocale: () => Ct,
|
|
338
|
+
warning: () => ui,
|
|
339
|
+
without: () => br,
|
|
340
|
+
xor: () => xr,
|
|
341
|
+
zip: () => Sr
|
|
335
342
|
});
|
|
336
343
|
//#endregion
|
|
337
|
-
export {
|
|
344
|
+
export { Ar as COMPONENT_NAMES, zt as ContextHolderElement, Pt as EMITTER_EVENT, Ft as Emitter, Jr as HYPHEN, st as NOOP, ft as PqbValidator, ci as Tween, ct as UI_PC_KEY, lt as UI_PC_THEME_DARK_CLASS_NAME, pt as Validator, mt as ValidatorArray, ht as ValidatorBase, gt as ValidatorBoolean, _t as ValidatorCustom, vt as ValidatorNumber, yt as ValidatorObject, bt as ValidatorSchema, xt as ValidatorString, St as ValidatorType, _n as assign, vn as assignIn, yn as at, rt as callOrReturn, nt as callbackOriginRef, bn as camelCase, wt as canUseDOM, xn as capitalize, it as caseName, Sn as castArray, Cn as chain, wn as chunk, Z as className, Z as cs, Q as clipboardCopy, Q as copy, Tn as clone, En as cloneDeep, Dn as cloneDeepWith, On as cloneWith, kn as compact, Fr as composeRef, Tt as contains, Bt as convertTime, Vt as convertToDurationBasedOnTimeUnits, An as curry, Ht as dateFormat, Wt as dayjs, Ut as dayjsFormat, Gt as dayjs_formatValue, Kt as dayjs_getDayjsValue, qt as dayjs_getFormatFromArray, Jt as dayjs_getNow, $ as dayjs_getRealTime, Yt as dayjs_getSortedDayjsArray, Xt as dayjs_getTimeFormat, Zt as dayjs_getValueWithTime, Qt as dayjs_isDayjsArrayChange, $t as dayjs_isDayjsChange, en as dayjs_isValidTimeString, tn as dayjs_methods, nn as dayjs_timezoneToOffset, rn as dayjs_toLocal, an as dayjs_toTimezone, jn as debounce, Mn as defaultTo, Nn as defaults, Pn as defaultsDeep, Fn as difference, Cr as div, li as easing, It as emitter, In as escape, on as fileRead, sn as fileToDataURL, cn as fillNBSP, Ir as fillRef, Ln as findKey, ti as findNodeBy, ln as findRootElement, Xr as fixedWidth, Rn as flattenDeep, zn as flow, Et as forceReflow, Bn as get, Dt as getBodyContainer, ni as getChildWithParentBy, Ot as getElementCoordinates, un as getHighlightText, dn as getHotkeyHandler, ri as getItemBy, ii as getItemByID, ai as getLabelFromDictionaryByValue, Lr as getNodeRef, Rr as getReactElementRef, fn as getScrollBarHeight, pn as getScrollBarSize, mn as getScrollBarWidth, kt as getScrollElements, hn as getStringLength, Zr as getStyle, Vn as groupBy, Hn as has, gn as include, Un as intersection, Wn as invert, Gn as invertBy, Ye as is, te as is32Bit, ne as isAllChinese, re as isArguments, e as isArray, t as isArrayAndNotEmpty, n as isArrayBuffer, r as isArrayEmpty, i as isArrayLike, a as isArrayLikeObject, o as isAscii, s as isAsyncFunction, c as isBase64, l as isBigInt, u as isBlob, d as isBoolean, f as isBuffer, p as isChinese, m as isColorValue, h as isDataURI, g as isDate, _ as isDayjs, v as isElement, y as isElementByInstanceof, b as isEmail, x as isEmpty, S as isEmptyArray, C as isEmptyObject, w as isEmptyReactNode, T as isEmptyValue, E as isEqual, D as isEqualWith, O as isError, k as isEventTarget, A as isExist, j as isFile, M as isFinite, N as isFullWidth, P as isFunction, F as isHSL, I as isHalfWidth, L as isHash, R as isHexColor, z as isIMEI, B as isIP, V as isIPRange, H as isIdentityCard, U as isInteger, W as isJSON, G as isJSON_String, K as isJWT, q as isLength, J as isMACAddress, Y as isMD5, X as isMap, ie as isMatch, ae as isMatchWith, oe as isMimeType, se as isMobilePhone, ce as isMobilePhoneLocales, le as isNaN, ue as isNative, de as isNil, fe as isNull, pe as isNullOrUndefined, me as isNumber, he as isNumberOrString, ge as isObject, _e as isObjectLike, ve as isPlainObject, ye as isPort, be as isPromise, xe as isReact18, Se as isReact19, Ce as isReactClassComponent, we as isReactComponent, Te as isReactComponentAndNotFragment, Ee as isReadableStream, De as isRegExp, Oe as isRgbColor, ke as isSafeInteger, Ae as isScrollElement, je as isSemVer, Me as isServerRendering, Ne as isSet, Pe as isSlug, Fe as isSparseArray, Ie as isString, Le as isStringOrNumber, Re as isStrongPassword, ze as isSymbol, Be as isTypedArray, Ve as isURL, He as isUUID, Ue as isUndefined, We as isUndefinedOrNull, Ge as isVariableWidth, Ke as isWeakMap, qe as isWeakSet, Je as isWindow, Kn as kebabCase, tt as keyboardCode, wr as math, qn as mean, Jn as memoize, Yn as merge, kr as mergeProps, Xn as mergeWith, Or as mergedToString, Tr as minus, ut as newArray, At as off, jr as omit, jt as on, Zn as orderBy, Mr as padEnd, Nr as padStart, Mt as parentContainsChildren, Qn as partition, at as pick, ot as pickDataAttributes, dt as pickTriggerPropsFromRest, Pr as pinyin, Er as plus, $n as pullAll, Nt as reflow, Rt as removeDarkTheme, Yr as replaceEmptyWithHyphen, $e as responsiveArray, et as responsiveMap, Qe as responsiveObserve, er as result, tr as sample, nr as sampleSize, Hr as saveAs, Ur as screenfull, Wr as scrollIntoViewIfNeeded, oi as searchTree, rr as set, Gr as setCreateRoot, Lt as setDarkTheme, Kr as setPrimaryColor, qr as setTheme, Qr as setTransformStyle, ir as setWith, ar as shuffle, or as snakeCase, sr as sortBy, cr as startCase, zr as supportNodeRef, Br as supportRef, lr as throttle, $r as throttleByRaf, Dr as times, ei as toArray, ur as toPath, si as tree, dr as truncate, fr as union, pr as uniq, mr as uniqueId, hr as unset, gr as update, _r as updateWith, vr as upperCase, yr as upperFirst, Vr as useComposeRef, di as utils_exports, Xe as uuid, Ze as uuidv4, Ct as validatorLocale, ui as warning, br as without, xr as xor, Sr as zip };
|
|
338
345
|
/* 独立思考,明辨是非 */
|
package/utils/is.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { is32Bit, isAllChinese, isArguments, isArray, isArrayAndNotEmpty, isArrayBuffer, isArrayEmpty, isArrayLike, isArrayLikeObject, isAscii, isAsyncFunction, isBase64, isBigInt, isBlob, isBoolean, isBuffer, isChinese, isColorValue, isDataURI, isDate, isDayjs, isElement, isElementByInstanceof, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyReactNode, isEmptyValue, isEqual, isEqualWith, isError, isEventTarget, isExist, isFile, isFinite, isFullWidth, isFunction, isHalfWidth, isHash, isHexColor, isHSL, isIdentityCard, isIMEI, isInteger, isIP, isIPRange, isJSON, isJSON_String, isJWT, isLength, isMACAddress, isMap, isMatch, isMatchWith, isMD5, isMimeType, isMobilePhone, isMobilePhoneLocales, isNaN, isNative, isNil, isNull, isNullOrUndefined, isNumber, isNumberOrString, isObject, isObjectLike, isPlainObject, isPort, isPromise, isReact18, isReact19, isReactClassComponent, isReactComponent, isReactComponentAndNotFragment, isReadableStream, isRegExp, isRgbColor, isSafeInteger, isScrollElement, isSemVer, isServerRendering, isSet, isSlug, isSparseArray, isString, isStringOrNumber, isStrongPassword, isSymbol, isTypedArray, isUndefined, isURL, isUUID, isVariableWidth, isWeakMap, isWeakSet, isWindow, } from '@unicom-cloud/ui-common/utils/is';
|
|
1
|
+
export { is32Bit, isAllChinese, isArguments, isArray, isArrayAndNotEmpty, isArrayBuffer, isArrayEmpty, isArrayLike, isArrayLikeObject, isAscii, isAsyncFunction, isBase64, isBigInt, isBlob, isBoolean, isBuffer, isChinese, isColorValue, isDataURI, isDate, isDayjs, isElement, isElementByInstanceof, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyReactNode, isEmptyValue, isEqual, isEqualWith, isError, isEventTarget, isExist, isFile, isFinite, isFullWidth, isFunction, isHalfWidth, isHash, isHexColor, isHSL, isIdentityCard, isIMEI, isInteger, isIP, isIPRange, isJSON, isJSON_String, isJWT, isLength, isMACAddress, isMap, isMatch, isMatchWith, isMD5, isMimeType, isMobilePhone, isMobilePhoneLocales, isNaN, isNative, isNil, isNull, isNullOrUndefined, isNumber, isNumberOrString, isObject, isObjectLike, isPlainObject, isPort, isPromise, isReact18, isReact19, isReactClassComponent, isReactComponent, isReactComponentAndNotFragment, isReadableStream, isRegExp, isRgbColor, isSafeInteger, isScrollElement, isSemVer, isServerRendering, isSet, isSlug, isSparseArray, isString, isStringOrNumber, isStrongPassword, isSymbol, isTypedArray, isUndefined, isUndefinedOrNull, isURL, isUUID, isVariableWidth, isWeakMap, isWeakSet, isWindow, } from '@unicom-cloud/ui-common/utils/is';
|
package/utils/is.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* 潘启宝 2026-03
|
|
1
|
+
/* 潘启宝 2026-04-03 14:07:06 星期五 */
|
|
2
2
|
import { __exportAll as ee } from "../.virtual/_rolldown/runtime.js";
|
|
3
|
-
import { is32Bit as e, isAllChinese as t, isArguments as n, isArray as r, isArrayAndNotEmpty as i, isArrayBuffer as a, isArrayEmpty as o, isArrayLike as s, isArrayLikeObject as c, isAscii as l, isAsyncFunction as u, isBase64 as d, isBigInt as f, isBlob as p, isBoolean as m, isBuffer as h, isChinese as g, isColorValue as _, isDataURI as v, isDate as y, isDayjs as b, isElement as x, isElementByInstanceof as S, isEmail as C, isEmpty as w, isEmptyArray as T, isEmptyObject as E, isEmptyReactNode as D, isEmptyValue as O, isEqual as k, isEqualWith as A, isError as j, isEventTarget as M, isExist as N, isFile as P, isFinite as F, isFullWidth as I, isFunction as L, isHSL as R, isHalfWidth as z, isHash as B, isHexColor as V, isIMEI as H, isIP as U, isIPRange as W, isIdentityCard as G, isInteger as K, isJSON as q, isJSON_String as J, isJWT as Y, isLength as X, isMACAddress as Z, isMD5 as te, isMap as Q, isMatch as $, isMatchWith as ne, isMimeType as re, isMobilePhone as ie, isMobilePhoneLocales as ae, isNaN as oe, isNative as se, isNil as ce, isNull as le, isNullOrUndefined as ue, isNumber as de, isNumberOrString as fe, isObject as pe, isObjectLike as me, isPlainObject as he, isPort as ge, isPromise as _e, isReact18 as ve, isReact19 as ye, isReactClassComponent as be, isReactComponent as xe, isReactComponentAndNotFragment as Se, isReadableStream as Ce, isRegExp as we, isRgbColor as Te, isSafeInteger as Ee, isScrollElement as De, isSemVer as Oe, isServerRendering as ke, isSet as Ae, isSlug as je, isSparseArray as Me, isString as Ne, isStringOrNumber as Pe, isStrongPassword as Fe, isSymbol as Ie, isTypedArray as Le, isURL as Re, isUUID as ze, isUndefined as Be,
|
|
3
|
+
import { is32Bit as e, isAllChinese as t, isArguments as n, isArray as r, isArrayAndNotEmpty as i, isArrayBuffer as a, isArrayEmpty as o, isArrayLike as s, isArrayLikeObject as c, isAscii as l, isAsyncFunction as u, isBase64 as d, isBigInt as f, isBlob as p, isBoolean as m, isBuffer as h, isChinese as g, isColorValue as _, isDataURI as v, isDate as y, isDayjs as b, isElement as x, isElementByInstanceof as S, isEmail as C, isEmpty as w, isEmptyArray as T, isEmptyObject as E, isEmptyReactNode as D, isEmptyValue as O, isEqual as k, isEqualWith as A, isError as j, isEventTarget as M, isExist as N, isFile as P, isFinite as F, isFullWidth as I, isFunction as L, isHSL as R, isHalfWidth as z, isHash as B, isHexColor as V, isIMEI as H, isIP as U, isIPRange as W, isIdentityCard as G, isInteger as K, isJSON as q, isJSON_String as J, isJWT as Y, isLength as X, isMACAddress as Z, isMD5 as te, isMap as Q, isMatch as $, isMatchWith as ne, isMimeType as re, isMobilePhone as ie, isMobilePhoneLocales as ae, isNaN as oe, isNative as se, isNil as ce, isNull as le, isNullOrUndefined as ue, isNumber as de, isNumberOrString as fe, isObject as pe, isObjectLike as me, isPlainObject as he, isPort as ge, isPromise as _e, isReact18 as ve, isReact19 as ye, isReactClassComponent as be, isReactComponent as xe, isReactComponentAndNotFragment as Se, isReadableStream as Ce, isRegExp as we, isRgbColor as Te, isSafeInteger as Ee, isScrollElement as De, isSemVer as Oe, isServerRendering as ke, isSet as Ae, isSlug as je, isSparseArray as Me, isString as Ne, isStringOrNumber as Pe, isStrongPassword as Fe, isSymbol as Ie, isTypedArray as Le, isURL as Re, isUUID as ze, isUndefined as Be, isUndefinedOrNull as Ve, isVariableWidth as He, isWeakMap as Ue, isWeakSet as We, isWindow as Ge } from "@unicom-cloud/ui-common/utils/is";
|
|
4
4
|
//#region components/pc/utils/is.ts
|
|
5
|
-
var
|
|
5
|
+
var Ke = /* @__PURE__ */ ee({
|
|
6
6
|
is32Bit: () => e,
|
|
7
7
|
isAllChinese: () => t,
|
|
8
8
|
isArguments: () => n,
|
|
@@ -97,11 +97,12 @@ var Ge = /* @__PURE__ */ ee({
|
|
|
97
97
|
isURL: () => Re,
|
|
98
98
|
isUUID: () => ze,
|
|
99
99
|
isUndefined: () => Be,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
isUndefinedOrNull: () => Ve,
|
|
101
|
+
isVariableWidth: () => He,
|
|
102
|
+
isWeakMap: () => Ue,
|
|
103
|
+
isWeakSet: () => We,
|
|
104
|
+
isWindow: () => Ge
|
|
104
105
|
});
|
|
105
106
|
//#endregion
|
|
106
|
-
export { e as is32Bit, t as isAllChinese, n as isArguments, r as isArray, i as isArrayAndNotEmpty, a as isArrayBuffer, o as isArrayEmpty, s as isArrayLike, c as isArrayLikeObject, l as isAscii, u as isAsyncFunction, d as isBase64, f as isBigInt, p as isBlob, m as isBoolean, h as isBuffer, g as isChinese, _ as isColorValue, v as isDataURI, y as isDate, b as isDayjs, x as isElement, S as isElementByInstanceof, C as isEmail, w as isEmpty, T as isEmptyArray, E as isEmptyObject, D as isEmptyReactNode, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFile, F as isFinite, I as isFullWidth, L as isFunction, R as isHSL, z as isHalfWidth, B as isHash, V as isHexColor, H as isIMEI, U as isIP, W as isIPRange, G as isIdentityCard, K as isInteger, q as isJSON, J as isJSON_String, Y as isJWT, X as isLength, Z as isMACAddress, te as isMD5, Q as isMap, $ as isMatch, ne as isMatchWith, re as isMimeType, ie as isMobilePhone, ae as isMobilePhoneLocales, oe as isNaN, se as isNative, ce as isNil, le as isNull, ue as isNullOrUndefined, de as isNumber, fe as isNumberOrString, pe as isObject, me as isObjectLike, he as isPlainObject, ge as isPort, _e as isPromise, ve as isReact18, ye as isReact19, be as isReactClassComponent, xe as isReactComponent, Se as isReactComponentAndNotFragment, Ce as isReadableStream, we as isRegExp, Te as isRgbColor, Ee as isSafeInteger, De as isScrollElement, Oe as isSemVer, ke as isServerRendering, Ae as isSet, je as isSlug, Me as isSparseArray, Ne as isString, Pe as isStringOrNumber, Fe as isStrongPassword, Ie as isSymbol, Le as isTypedArray, Re as isURL, ze as isUUID, Be as isUndefined, Ve as
|
|
107
|
+
export { e as is32Bit, t as isAllChinese, n as isArguments, r as isArray, i as isArrayAndNotEmpty, a as isArrayBuffer, o as isArrayEmpty, s as isArrayLike, c as isArrayLikeObject, l as isAscii, u as isAsyncFunction, d as isBase64, f as isBigInt, p as isBlob, m as isBoolean, h as isBuffer, g as isChinese, _ as isColorValue, v as isDataURI, y as isDate, b as isDayjs, x as isElement, S as isElementByInstanceof, C as isEmail, w as isEmpty, T as isEmptyArray, E as isEmptyObject, D as isEmptyReactNode, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFile, F as isFinite, I as isFullWidth, L as isFunction, R as isHSL, z as isHalfWidth, B as isHash, V as isHexColor, H as isIMEI, U as isIP, W as isIPRange, G as isIdentityCard, K as isInteger, q as isJSON, J as isJSON_String, Y as isJWT, X as isLength, Z as isMACAddress, te as isMD5, Q as isMap, $ as isMatch, ne as isMatchWith, re as isMimeType, ie as isMobilePhone, ae as isMobilePhoneLocales, oe as isNaN, se as isNative, ce as isNil, le as isNull, ue as isNullOrUndefined, de as isNumber, fe as isNumberOrString, pe as isObject, me as isObjectLike, he as isPlainObject, ge as isPort, _e as isPromise, ve as isReact18, ye as isReact19, be as isReactClassComponent, xe as isReactComponent, Se as isReactComponentAndNotFragment, Ce as isReadableStream, we as isRegExp, Te as isRgbColor, Ee as isSafeInteger, De as isScrollElement, Oe as isSemVer, ke as isServerRendering, Ae as isSet, je as isSlug, Me as isSparseArray, Ne as isString, Pe as isStringOrNumber, Fe as isStrongPassword, Ie as isSymbol, Le as isTypedArray, Re as isURL, ze as isUUID, Be as isUndefined, Ve as isUndefinedOrNull, He as isVariableWidth, Ue as isWeakMap, We as isWeakSet, Ge as isWindow, Ke as is_exports };
|
|
107
108
|
/* 独立思考,明辨是非 */
|
package/utils/keyboardCode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-03
|
|
1
|
+
/* 潘启宝 2026-04-03 14:07:06 星期五 */
|
|
2
2
|
import * as e from "@unicom-cloud/utils/constant/keyboardCode";
|
|
3
3
|
import { Alt as t, AltLeft as n, AltRight as r, ArrowDown as i, ArrowLeft as a, ArrowRight as o, ArrowUp as s, Backspace as c, CapsLock as l, Control as u, ControlLeft as d, ControlRight as f, Enter as p, Esc as m, Escape as h, Meta as g, MetaLeft as _, MetaRight as v, Shift as y, ShiftLeft as b, ShiftRight as x, Space as S, Tab as C } from "@unicom-cloud/utils/constant/keyboardCode";
|
|
4
4
|
export * from "@unicom-cloud/utils/constant/keyboardCode";
|
package/utils/lodash.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-03
|
|
1
|
+
/* 潘启宝 2026-04-03 14:07:06 星期五 */
|
|
2
2
|
import "../.virtual/_rolldown/runtime.js";
|
|
3
3
|
import { assign as e, assignIn as t, at as n, camelCase as r, capitalize as i, castArray as a, chain as o, chunk as s, clone as c, cloneDeep as l, cloneDeepWith as u, cloneWith as d, compact as f, curry as p, debounce as m, defaultTo as h, defaults as g, defaultsDeep as _, difference as v, escape as y, findKey as b, flattenDeep as x, flow as S, get as C, groupBy as w, has as T, intersection as E, invert as D, invertBy as O, kebabCase as k, mean as A, memoize as j, merge as M, mergeWith as N, orderBy as P, partition as F, pullAll as I, result as L, sample as R, sampleSize as z, set as B, setWith as V, shuffle as H, snakeCase as U, sortBy as W, startCase as G, throttle as K, toPath as q, truncate as J, union as Y, uniq as X, uniqueId as Z, unset as Q, update as $, updateWith as ee, upperCase as te, upperFirst as ne, without as re, xor as ie, zip as ae } from "@unicom-cloud/ui-common/utils/lodash";
|
|
4
4
|
export * from "@unicom-cloud/ui-common/utils/lodash";
|
package/utils/math.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-03
|
|
1
|
+
/* 潘启宝 2026-04-03 14:07:06 星期五 */
|
|
2
2
|
import e, { div as t, minus as n, plus as r, times as i, default as a } from "@unicom-cloud/utils/math";
|
|
3
3
|
export { a as default, t as div, e as math, n as minus, r as plus, i as times };
|
|
4
4
|
/* 独立思考,明辨是非 */
|
package/utils/mergeProps.js
CHANGED