@unicom-cloud/ui 0.8.160 → 0.8.162
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 +198 -260
- package/affix/Affix.js +2 -3
- package/affix/index.d.ts +3 -0
- package/affix/index.js +2 -2
- package/alert/Alert.js +4 -5
- package/alert/index.d.ts +3 -0
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +5 -6
- package/anchor/Link.js +1 -2
- package/anchor/context.js +1 -1
- package/anchor/index.d.ts +4 -1
- package/anchor/index.js +2 -2
- package/anchor/utils.js +1 -1
- package/app/App.js +4 -5
- package/app/context.js +1 -1
- package/app/index.js +2 -2
- package/app/useApp.js +1 -1
- package/auto-complete/AutoComplete.js +6 -7
- package/auto-complete/index.d.ts +4 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +1 -2
- package/avatar/Group.js +1 -2
- package/avatar/context.js +1 -1
- package/avatar/index.d.ts +4 -1
- package/avatar/index.js +2 -2
- package/back-top/BackTop.js +5 -6
- package/back-top/index.d.ts +3 -0
- package/back-top/index.js +2 -2
- package/badge/Badge.js +3 -4
- package/badge/Count.js +6 -6
- package/badge/index.d.ts +4 -1
- package/badge/index.js +2 -2
- package/badge/utils.js +1 -1
- package/border-beam/BorderBeam.js +1 -2
- package/border-beam/index.d.ts +3 -0
- package/border-beam/index.js +2 -2
- package/breadcrumb/Breadcrumb.js +1 -2
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/context.js +1 -1
- package/breadcrumb/index.d.ts +4 -1
- package/breadcrumb/index.js +2 -2
- package/button/Button.js +1 -2
- package/button/Group.js +1 -2
- package/button/Toggle.js +1 -2
- package/button/index.d.ts +4 -1
- package/button/index.js +2 -2
- package/calendar/Calendar.js +1 -2
- 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.d.ts +4 -1
- package/calendar/index.js +2 -2
- package/card/Card.js +1 -2
- package/card/Grid.js +1 -2
- package/card/Meta.js +1 -2
- package/card/index.d.ts +4 -1
- package/card/index.js +2 -2
- package/carousel/Arrow.js +1 -2
- package/carousel/Carousel.js +1 -2
- package/carousel/Indicator.js +1 -2
- package/carousel/index.d.ts +3 -0
- package/carousel/index.js +2 -2
- package/cascader/Cascader.js +1 -2
- package/cascader/base/node.js +1 -1
- package/cascader/base/store.js +1 -1
- package/cascader/hook/useRefCurrent.js +1 -1
- package/cascader/index.d.ts +3 -0
- package/cascader/index.js +2 -2
- package/cascader/panel/List.js +97 -94
- package/cascader/panel/Option.d.ts +1 -0
- package/cascader/panel/Option.js +17 -19
- package/cascader/panel/Search.js +1 -1
- package/cascader/utils.js +1 -1
- package/checkbox/Checkbox.js +7 -8
- package/checkbox/Group.js +1 -2
- package/checkbox/GroupBlock.js +1 -2
- package/checkbox/context.js +1 -1
- package/checkbox/index.d.ts +4 -1
- package/checkbox/index.js +2 -2
- package/checkbox/useCheckbox.js +1 -1
- package/collapse/Collapse.js +1 -2
- package/collapse/Item.js +81 -80
- package/collapse/context.js +1 -1
- package/collapse/index.d.ts +4 -1
- package/collapse/index.js +2 -2
- package/collapse/utils.js +1 -1
- package/color-picker/ColorPicker.js +1 -2
- package/color-picker/ControlBar.d.ts +1 -1
- package/color-picker/ControlBar.js +1 -2
- package/color-picker/InputAlpha.d.ts +1 -1
- package/color-picker/InputAlpha.js +1 -2
- package/color-picker/InputHex.d.ts +1 -1
- package/color-picker/InputHex.js +1 -2
- package/color-picker/InputRgb.d.ts +1 -1
- package/color-picker/InputRgb.js +1 -2
- package/color-picker/Mode.js +1 -1
- package/color-picker/Palette.d.ts +1 -1
- package/color-picker/Palette.js +1 -2
- package/color-picker/Panel.d.ts +1 -1
- package/color-picker/Panel.js +74 -74
- 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.d.ts +22 -0
- package/color-picker/index.js +2 -2
- package/color-picker/interface.d.ts +2 -2
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +1 -1
- package/comment/Comment.js +1 -2
- package/comment/index.d.ts +3 -0
- package/comment/index.js +2 -2
- package/config-provider/ConfigProvider.js +8 -8
- package/config-provider/context.js +1 -1
- package/config-provider/index.d.ts +4 -1
- package/config-provider/index.js +2 -2
- package/config-provider/initUI.d.ts +3 -2
- package/config-provider/initUI.js +4 -4
- package/config-provider/interface.d.ts +4 -4
- package/config-provider/useConfigProvider.js +22 -19
- package/config-provider/utils.js +1 -1
- package/constant/index.js +1 -1
- package/copy/Copy.js +1 -2
- package/copy/index.d.ts +3 -0
- package/copy/index.js +2 -2
- package/countdown/Countdown.js +1 -2
- package/countdown/index.d.ts +3 -0
- package/countdown/index.js +2 -2
- package/countdown/utils.js +1 -1
- package/date-picker/DatePicker.js +1 -1
- package/date-picker/DatePickerRange.js +16 -17
- package/date-picker/Picker.js +241 -242
- package/date-picker/context.js +1 -1
- package/date-picker/hook/useCellClassName.js +1 -2
- package/date-picker/index.d.ts +4 -1
- package/date-picker/index.js +9 -3
- package/date-picker/panel/Body.js +1 -1
- package/date-picker/panel/Footer.js +1 -1
- package/date-picker/panel/Header.js +1 -2
- package/date-picker/panel/Shortcut.js +1 -1
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +1 -2
- package/date-picker/panel/month/index.js +5 -6
- package/date-picker/panel/quarter/index.js +1 -2
- package/date-picker/panel/range/index.js +1 -2
- package/date-picker/panel/week/index.js +1 -2
- package/date-picker/panel/year/index.js +1 -2
- package/date-picker/utils.js +1 -1
- package/descriptions/Descriptions.js +1 -2
- package/descriptions/index.d.ts +3 -0
- package/descriptions/index.js +2 -2
- package/details/Details.js +47 -50
- package/details/index.d.ts +3 -0
- package/details/index.js +2 -2
- package/development/Development.js +1 -2
- package/development/index.d.ts +3 -0
- package/development/index.js +2 -2
- package/divider/Divider.js +1 -2
- package/divider/index.d.ts +4 -1
- package/divider/index.js +2 -2
- package/draggable/Draggable.js +1 -2
- package/draggable/Item.js +1 -1
- package/draggable/index.d.ts +4 -1
- package/draggable/index.js +2 -2
- package/draw/Draw.js +3 -4
- package/draw/constant.js +1 -1
- package/draw/index.d.ts +4 -1
- package/draw/index.js +2 -2
- package/drawer/Drawer.js +64 -62
- package/drawer/index.d.ts +5 -0
- package/drawer/index.js +7 -3
- package/drawer/interface.d.ts +14 -3
- package/drawer/use-drawer/Hook.d.ts +7 -0
- package/drawer/use-drawer/Hook.js +44 -0
- package/drawer/use-drawer/index.d.ts +4 -0
- package/drawer/use-drawer/index.js +47 -0
- package/dropdown/Button.js +1 -2
- package/dropdown/Dropdown.js +6 -7
- package/dropdown/index.d.ts +4 -1
- package/dropdown/index.js +2 -2
- package/empty/Empty.js +1 -2
- package/empty/index.d.ts +3 -0
- package/empty/index.js +2 -2
- package/flex/Flex.js +1 -2
- package/flex/index.d.ts +4 -1
- package/flex/index.js +2 -2
- package/form/Control.js +11 -11
- package/form/Form.js +12 -12
- package/form/FormControl.js +40 -41
- package/form/FormItem.js +52 -53
- package/form/FormItemLabel.js +1 -2
- package/form/FormItemTip.js +3 -3
- package/form/FormLabelSymbol.js +1 -2
- package/form/FormList.js +11 -11
- 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 +8 -8
- package/form/hook/useFormState.js +7 -7
- package/form/hook/useWatch.js +8 -8
- package/form/index.d.ts +4 -1
- package/form/index.js +2 -2
- 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.d.ts +4 -1
- package/global-provider/index.js +2 -2
- package/grid/Grid.js +1 -2
- package/grid/Item.js +1 -2
- package/grid/context.js +1 -1
- package/grid/index.d.ts +8 -2
- package/grid/index.js +2 -2
- 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-controllable-value/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-effect-event/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-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-memoized-fn/index.js +1 -1
- package/hooks/use-merge-props/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 -2
- package/icon/addIconFromCdn.js +1 -1
- package/icon/index.js +2 -2
- package/icon-hover/IconHover.js +22 -23
- package/icon-hover/index.d.ts +3 -0
- package/icon-hover/index.js +2 -2
- package/icons/file/File.js +1 -2
- package/icons/file/index.js +1 -1
- package/icons/file/style/index.d.ts +2 -0
- package/icons.js +1 -1
- package/image/Image.js +55 -57
- package/image/ImageFooter.js +8 -8
- package/image/ImagePreview.js +26 -26
- package/image/ImagePreviewArrow.js +1 -2
- 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/{utils/hook → hook}/useImageStatus.js +2 -2
- package/image/{utils/hook → hook}/useShowFooter.d.ts +1 -1
- package/image/{utils/hook → hook}/useShowFooter.js +2 -2
- package/image/index.d.ts +4 -1
- package/image/index.js +2 -2
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +1 -1
- package/index.js +656 -698
- package/input/Button.js +1 -2
- package/input/Group.js +1 -2
- package/input/Input.js +1 -2
- package/input/InputComponent.js +14 -14
- package/input/Password.js +5 -6
- package/input/Search.js +5 -6
- package/input/Textarea.js +15 -16
- package/input/autoSizeTextareaHeight.js +37 -36
- package/input/constants.d.ts +1 -0
- package/input/constants.js +6 -0
- package/input/index.d.ts +10 -1
- package/input/index.js +6 -3
- package/input/useComposition.js +1 -1
- package/input/utils.js +1 -1
- package/input-number/InputNumber.js +6 -7
- package/input-number/decimal.js +1 -1
- package/input-number/index.d.ts +3 -0
- package/input-number/index.js +2 -2
- package/input-number/useSelectionRange.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +10 -11
- package/input-tag/constant.js +1 -1
- package/input-tag/hook/useComputeAutoWidthDelay.js +1 -1
- package/input-tag/index.d.ts +3 -0
- package/input-tag/index.js +2 -2
- package/layout/Content.js +1 -2
- package/layout/Footer.js +1 -2
- package/layout/Header.js +1 -2
- package/layout/Layout.js +1 -2
- package/layout/Sider.js +5 -6
- package/layout/context.js +1 -1
- package/layout/index.d.ts +4 -1
- package/layout/index.js +2 -2
- package/link/Link.js +1 -2
- package/link/index.d.ts +3 -0
- package/link/index.js +2 -2
- package/liquid-fill/LiquidFill.js +62 -62
- package/liquid-fill/index.d.ts +3 -0
- package/liquid-fill/index.js +2 -2
- package/liquid-fill/interface.d.ts +0 -4
- package/list/Item.js +1 -2
- package/list/List.d.ts +2 -9
- package/list/List.js +1 -3
- package/list/Meta.js +1 -2
- package/list/index.d.ts +14 -0
- package/list/index.js +2 -2
- package/loading/Loading.js +27 -27
- package/loading/index.d.ts +3 -0
- package/loading/index.js +2 -2
- 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 -2
- package/marquee/index.d.ts +3 -0
- package/marquee/index.js +2 -2
- package/mask/Mask.js +5 -6
- package/mask/constant.d.ts +2 -3
- package/mask/constant.js +6 -6
- package/mask/index.d.ts +3 -0
- package/mask/index.js +2 -2
- package/mask/interface.d.ts +1 -1
- package/masonry/Masonry.d.ts +3 -3
- package/masonry/Masonry.js +4 -8
- 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.d.ts +7 -4
- package/masonry/index.js +2 -2
- package/masonry/interface.d.ts +0 -4
- package/mentions/Mentions.js +1 -2
- package/mentions/index.d.ts +3 -0
- package/mentions/index.js +2 -2
- 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 -2
- package/menu/OverflowWrap.js +12 -12
- package/menu/context.js +1 -1
- package/menu/index.d.ts +4 -1
- package/menu/index.js +2 -2
- package/menu/sub-menu/Inline.js +6 -6
- package/menu/sub-menu/Pop.js +1 -2
- package/menu/sub-menu/index.js +1 -1
- package/menu/utils.js +1 -1
- package/message/Message.d.ts +3 -3
- package/message/Message.js +61 -61
- package/message/config.d.ts +3 -0
- package/message/config.js +15 -0
- package/message/constants.js +2 -3
- package/message/index.d.ts +7 -3
- package/message/index.js +8 -7
- package/message/interface.d.ts +3 -4
- package/message/useMessage.js +13 -13
- package/message/utils.d.ts +0 -0
- package/message/utils.js +2 -0
- package/modal/Modal.d.ts +3 -18
- package/modal/Modal.js +104 -96
- package/modal/config.d.ts +3 -5
- package/modal/config.js +4 -15
- package/modal/{Confirm.js → confirm.js} +39 -43
- package/modal/constants.d.ts +1 -0
- package/modal/constants.js +11 -0
- package/modal/index.d.ts +9 -2
- package/modal/index.js +11 -5
- package/modal/interface.d.ts +13 -2
- package/modal/use-modal/Hook.d.ts +1 -1
- package/modal/use-modal/Hook.js +27 -29
- package/modal/use-modal/index.js +40 -43
- package/modal/utils.d.ts +1 -0
- package/modal/utils.js +12 -0
- package/notice/Notice.js +33 -33
- package/notice/config.d.ts +3 -0
- package/notice/config.js +7 -0
- package/notice/constants.d.ts +1 -0
- package/notice/constants.js +10 -3
- package/notice/index.d.ts +6 -2
- package/notice/index.js +5 -4
- package/notice/interface.d.ts +3 -2
- package/notice/utils.js +1 -1
- package/notice/withNotice.d.ts +2 -1
- package/notice/withNotice.js +11 -11
- package/notification/Notification.d.ts +3 -16
- package/notification/Notification.js +84 -77
- package/notification/config.d.ts +4 -0
- package/notification/config.js +11 -0
- package/notification/constants.js +4 -11
- package/notification/index.d.ts +13 -0
- package/notification/index.js +9 -5
- package/notification/interface.d.ts +12 -0
- package/notification/useNotification.js +16 -16
- package/notification/utils.d.ts +0 -4
- package/notification/utils.js +1 -15
- package/overflow-ellipsis/OverflowEllipsis.js +1 -2
- package/overflow-ellipsis/OverflowItem.js +1 -2
- package/overflow-ellipsis/index.d.ts +3 -0
- package/overflow-ellipsis/index.js +2 -2
- package/package.json +1 -1
- package/page-header/PageHeader.js +5 -6
- package/page-header/index.d.ts +3 -0
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +1 -2
- package/pagination/PageJumper.js +1 -2
- package/pagination/PageOption.js +1 -2
- package/pagination/Pagination.js +1 -2
- package/pagination/index.d.ts +3 -0
- package/pagination/index.js +2 -2
- package/pagination/interface.js +1 -1
- package/picker/Input.js +8 -9
- package/picker/InputRange.js +14 -15
- package/picker/index.d.ts +4 -1
- package/picker/index.js +2 -2
- package/popconfirm/Popconfirm.js +1 -2
- package/popconfirm/index.d.ts +3 -0
- package/popconfirm/index.js +2 -2
- package/popover/Popover.js +1 -2
- package/popover/index.d.ts +3 -0
- package/popover/index.js +2 -2
- package/portal/Portal.js +1 -2
- package/portal/index.d.ts +3 -0
- package/portal/index.js +2 -2
- package/progress/CircleProgress.js +1 -1
- package/progress/LineProgess.js +1 -1
- package/progress/Progress.js +1 -2
- package/progress/StepProgress.js +1 -1
- package/progress/index.d.ts +7 -1
- package/progress/index.js +2 -2
- package/qr-code/QRCode.js +13 -13
- package/qr-code/index.d.ts +4 -1
- package/qr-code/index.js +2 -2
- package/qr-code/interface.d.ts +0 -1
- package/qr-code/src/index.js +1 -1
- package/qr-code/src/qrcodegen.js +1 -1
- package/radio/Group.js +1 -2
- package/radio/GroupBlock.js +1 -2
- package/radio/Radio.js +5 -6
- package/radio/context.js +1 -1
- package/radio/index.d.ts +4 -1
- package/radio/index.js +2 -2
- package/rate/Rate.js +5 -6
- package/rate/index.d.ts +3 -0
- package/rate/index.js +2 -2
- package/resize-box/ResizeBox.js +1 -2
- package/resize-box/ResizeTrigger.js +1 -2
- package/resize-box/Split.js +1 -2
- package/resize-box/SplitGroup.js +1 -2
- package/resize-box/index.d.ts +4 -1
- package/resize-box/index.js +2 -2
- package/result/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/Result.js +1 -2
- package/result/index.d.ts +3 -0
- package/result/index.js +2 -2
- package/rich-text/RichText.js +11 -11
- package/rich-text/Toolbar.js +165 -166
- package/rich-text/constant.js +1 -1
- package/rich-text/index.d.ts +4 -1
- package/rich-text/index.js +2 -5
- 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 +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 +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 -2
- package/row-col/Col.js +1 -2
- package/row-col/Row.js +1 -2
- package/row-col/context.js +1 -1
- package/row-col/index.d.ts +4 -1
- package/row-col/index.js +2 -2
- package/segmented/Segmented.js +81 -81
- package/segmented/index.d.ts +3 -0
- package/segmented/index.js +2 -2
- package/select/Option.js +1 -1
- package/select/OptionGroup.js +1 -1
- package/select/Select.js +13 -14
- package/select/index.d.ts +4 -1
- package/select/index.js +2 -2
- package/select/utils.js +1 -1
- package/select-view/Core.js +10 -11
- package/select-view/SelectView.js +1 -1
- package/select-view/index.d.ts +3 -0
- package/select-view/index.js +2 -2
- package/skeleton/Image.js +1 -1
- package/skeleton/Skeleton.js +1 -2
- package/skeleton/Text.js +1 -1
- package/skeleton/index.d.ts +4 -1
- package/skeleton/index.js +2 -2
- package/slider/Button.d.ts +1 -1
- package/slider/Button.js +1 -2
- package/slider/Dot.d.ts +2 -2
- package/slider/Dot.js +1 -1
- package/slider/Input.d.ts +1 -1
- package/slider/Input.js +1 -1
- package/slider/Mark.d.ts +4 -4
- package/slider/Mark.js +1 -1
- package/slider/Slider.js +5 -6
- package/slider/Tick.d.ts +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.d.ts +14 -0
- package/slider/index.js +2 -2
- package/slider/utils.js +1 -1
- package/space/Space.js +1 -2
- package/space/index.d.ts +4 -1
- package/space/index.js +2 -2
- package/speech-synthesis/SpeechSynthesis.js +1 -1
- package/speech-synthesis/index.d.ts +3 -0
- package/speech-synthesis/index.js +2 -2
- package/spin/DotLoading.js +1 -2
- package/spin/Spin.js +1 -2
- package/spin/index.d.ts +4 -1
- package/spin/index.js +2 -2
- package/splitter/Panel.js +1 -2
- package/splitter/SplitBar.js +1 -2
- package/splitter/Splitter.js +1 -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.d.ts +4 -1
- package/splitter/index.js +2 -2
- package/statistic/Statistic.js +1 -2
- package/statistic/index.d.ts +7 -1
- package/statistic/index.js +2 -2
- package/statistic/interface.js +1 -1
- package/steps/Step.js +1 -1
- package/steps/Steps.js +1 -2
- package/steps/index.d.ts +4 -1
- package/steps/index.js +2 -2
- package/steps/interface.d.ts +1 -1
- package/style/animation/fade.less +5 -5
- package/style/animation/slide.less +7 -7
- package/style/animation/zoom.less +28 -28
- package/style/global.less +3 -3
- package/style/index.less +3 -4
- package/style/normalize.less +2 -2
- package/style/override.less +0 -1
- package/style/token.less +1 -0
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/index.d.ts +6 -0
- package/suspense-fallback-test/index.js +2 -2
- package/switch/Switch.js +5 -6
- package/switch/index.d.ts +4 -1
- package/switch/index.js +2 -2
- package/table/ColGroup.js +1 -1
- package/table/Table.js +1 -2
- package/table/constant.js +1 -1
- package/table/context.d.ts +1 -2
- 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.d.ts +44 -0
- package/table/index.js +2 -2
- package/table/summary/Cell.js +1 -2
- package/table/summary/Row.js +1 -2
- package/table/summary/context.d.ts +1 -2
- 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 +1 -2
- package/table/tbody/Tr.js +1 -2
- package/table/tbody/index.js +1 -1
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +1 -2
- package/table/thead/Column.js +1 -2
- package/table/thead/index.js +1 -2
- package/table/utils.js +1 -1
- package/tabs/TabContent.js +1 -2
- package/tabs/TabPane.js +1 -2
- package/tabs/Tabs.js +1 -2
- package/tabs/context.js +1 -1
- package/tabs/hook/useDomSize.js +1 -1
- package/tabs/hook/useHeaderScroll.js +1 -1
- package/tabs/index.d.ts +4 -1
- package/tabs/index.js +2 -2
- package/tabs/tab-header/DropdownIcon.js +1 -1
- package/tabs/tab-header/TabInk.js +2 -2
- package/tabs/tab-header/TabNavIcon.js +1 -1
- package/tabs/tab-header/TabTitle.js +1 -1
- package/tabs/tab-header/index.js +12 -13
- package/tabs/utils.js +1 -1
- package/tag/Tag.js +1 -2
- package/tag/index.d.ts +3 -0
- package/tag/index.js +2 -2
- package/tag/utils.js +1 -1
- package/time-picker/Picker.js +19 -20
- package/time-picker/TimeColumn.js +1 -1
- package/time-picker/TimePicker.js +1 -2
- package/time-picker/TimePickerRange.js +7 -7
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +2 -2
- package/time-picker/utils.js +1 -1
- package/time-picker/withTimePicker.js +1 -1
- package/timeline/Item.js +1 -2
- package/timeline/Timeline.js +1 -2
- package/timeline/index.d.ts +4 -1
- package/timeline/index.js +2 -2
- package/timer/Timer.js +1 -2
- package/timer/index.d.ts +3 -0
- package/timer/index.js +2 -2
- package/toast/Toast.d.ts +5 -2
- package/toast/Toast.js +1 -1
- package/toast/index.d.ts +9 -3
- package/toast/index.js +2 -2
- package/tooltip/Tooltip.js +14 -16
- package/tooltip/index.d.ts +3 -0
- package/tooltip/index.js +2 -2
- package/tour/Tour.js +127 -195
- package/tour/index.d.ts +3 -0
- package/tour/index.js +2 -2
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -2
- package/transfer/Transfer.js +1 -2
- package/transfer/index.d.ts +3 -0
- package/transfer/index.js +2 -2
- package/transition/index.d.ts +1 -3
- package/transition/index.js +7 -5
- package/tree/Animation.d.ts +3 -3
- package/tree/Animation.js +87 -63
- package/tree/Node.js +103 -115
- package/tree/NodeList.js +46 -45
- package/tree/Tree.d.ts +1 -1
- package/tree/Tree.js +159 -158
- package/tree/context.js +1 -1
- package/tree/index.d.ts +42 -0
- package/tree/index.js +10 -12
- package/tree/interface.d.ts +1 -0
- package/tree/utils.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/TreeSelect.js +4 -5
- package/tree-select/hook/useKeyCache.js +1 -2
- package/tree-select/hook/useStateValue.js +1 -1
- package/tree-select/hook/useTreeData.js +1 -1
- package/tree-select/index.d.ts +4 -1
- package/tree-select/index.js +2 -2
- package/tree-select/utils.js +1 -1
- package/trigger/Trigger.js +17 -18
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.d.ts +3 -0
- package/trigger/index.js +2 -2
- package/trigger/utils.js +13 -13
- package/typography/Base.js +28 -29
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +2 -3
- package/typography/Operations.js +1 -1
- package/typography/Paragraph.js +1 -2
- package/typography/Text.js +1 -1
- package/typography/Title.js +1 -1
- package/typography/Typography.js +1 -2
- package/typography/index.d.ts +4 -1
- package/typography/index.js +2 -2
- package/typography/useCssEllipsis.js +1 -1
- package/typography/useEllipsis.js +2 -2
- package/upload/TriggerNode.js +1 -2
- package/upload/Upload.js +11 -12
- package/upload/Uploader.js +1 -2
- package/upload/constant.js +1 -1
- package/upload/index.d.ts +4 -1
- package/upload/index.js +2 -2
- package/upload/list/PictureItem.d.ts +1 -1
- package/upload/list/PictureItem.js +5 -5
- package/upload/list/TextItem.d.ts +1 -1
- package/upload/list/TextItem.js +7 -7
- package/upload/list/UploadProgress.js +1 -2
- package/upload/list/index.js +1 -2
- 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.d.ts +1 -1
- package/utils/contextHolder.js +2 -3
- package/utils/copy.js +1 -1
- package/utils/createGlobalConfigFunction.d.ts +5 -0
- package/utils/createGlobalConfigFunction.js +19 -0
- package/utils/css.d.ts +1 -0
- package/utils/css.js +10 -0
- 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/file.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.js +1 -1
- package/utils/getScrollBarSize.js +1 -1
- package/utils/getScrollBarWidth.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.d.ts +3 -2
- package/utils/index.js +190 -188
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +70 -4
- 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/object.js +1 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.d.ts +2 -1
- package/utils/pinyin.js +10 -3
- 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/throttleByRequestAnimationFrame.d.ts +1 -0
- package/utils/throttleByRequestAnimationFrame.js +4 -0
- package/utils/tinycolor.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 -2
- package/verification-code/index.d.ts +4 -1
- package/verification-code/index.js +2 -2
- package/version/index.js +8 -8
- package/virtual-list/Filler.d.ts +1 -1
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +171 -171
- 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.d.ts +10 -0
- package/virtual-list/index.js +2 -2
- package/virtual-list/utils/algorithm.js +1 -1
- package/virtual-list/utils/item.js +1 -1
- package/watermark/Watermark.js +1 -2
- package/watermark/index.d.ts +4 -1
- package/watermark/index.js +2 -2
- package/utils/throttleByRaf.d.ts +0 -1
- package/utils/throttleByRaf.js +0 -4
- package/utils/throttleByRaf2.d.ts +0 -1
- package/utils/throttleByRaf2.js +0 -4
- /package/image/{utils/hook → hook}/useImageStatus.d.ts +0 -0
- /package/modal/{Confirm.d.ts → confirm.d.ts} +0 -0
package/utils/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 潘启宝 2026-05-
|
|
2
|
-
import { __exportAll as ee, __reExport as
|
|
3
|
-
import { is32Bit as
|
|
1
|
+
/* 潘启宝 2026-05-26 15:50:14 星期二 山东省济南市 */
|
|
2
|
+
import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
|
|
3
|
+
import { is32Bit as te, isAllChinese as ne, isArguments as re, isArray as ie, isArrayAndNotEmpty as ae, isArrayBuffer as t, isArrayEmpty as n, isArrayLike as r, isArrayLikeObject as i, isAscii as a, isAsyncFunction as o, isBase64 as s, isBigInt as c, isBlob as l, isBoolean as u, isBuffer as d, isChinese as f, isColorValue as p, isColorValue_ as m, isDOM as h, isDataURI as g, isDate as _, isDayjs as v, isElement as y, isElementByInstanceof as b, isEmail as x, isEmpty as S, isEmptyArray as C, isEmptyObject as w, isEmptyReactNode as T, isEmptyValue as E, isEqual as D, isEqualWith as O, isError as k, isEventTarget as A, isExist as j, isFalse as M, isFile as N, isFinite as P, isFullWidth as F, isFunction as I, isHSL as L, isHTMLElement 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 oe, isLength as se, isMACAddress as ce, isMD5 as le, isMap as ue, isMatch as de, isMatchWith as fe, isMimeType as pe, isMobilePhone as me, isMobilePhoneLocales as he, isNaN as ge, isNative as _e, isNil as ve, isNonNullable as ye, isNull as be, isNullOrUndefined as xe, isNumber as Se, isNumberOrString as Ce, isObject as we, isObjectLike as Te, isPlainObject as Ee, isPort as De, isPresent as Oe, isPrimitive as ke, isPromise as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReadableStream as Ie, isRegExp as Le, isRgbColor as Re, isSVGElement as ze, isSafeInteger as Be, isScrollElement as Ve, isSemVer as He, isServerRendering as Ue, isSet as We, isSlug as Ge, isSparseArray as Ke, isString as qe, isStringAndExist as Je, isStringOrNumber as Ye, isStrongPassword as Xe, isSymbol as Ze, isThenable as Qe, isTrue as $e, isTypedArray as et, isURL as tt, isUUID as nt, isUndefined as rt, isUndefinedOrNull as it, isVariableWidth as at, isWeakMap as ot, isWeakSet as st, isWindow as ct, is_exports as Y } from "./is.js";
|
|
4
4
|
import { uuid as lt, uuidv4 as ut } from "./uuid.js";
|
|
5
5
|
import dt, { responsiveArray as ft, responsiveMap as pt } from "./responsiveObserve.js";
|
|
6
6
|
import { keyboardCode as mt } from "./keyboardCode.js";
|
|
@@ -13,53 +13,55 @@ import { NOOP as bt, UI_PC_KEY as xt, UI_PC_THEME_DARK_CLASS_NAME as St, newArra
|
|
|
13
13
|
import { COMPONENT_NAMES as Tt } from "./names.js";
|
|
14
14
|
import { PqbValidator as Et, Validator as Dt, ValidatorArray as Ot, ValidatorBase as kt, ValidatorBoolean as At, ValidatorCustom as jt, ValidatorNumber as Mt, ValidatorObject as Nt, ValidatorSchema as Pt, ValidatorString as Ft, ValidatorType as It, validatorLocale as Lt } from "./validate.js";
|
|
15
15
|
import { canUseDOM as Rt, contains as zt, forceReflow as Bt, getBodyContainer as Vt, getElementCoordinates as Ht, getScrollElements as Ut, off as Wt, on as Gt, parentContainsChildren as Kt, reflow as qt } from "./dom.js";
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { convertTime as tn, convertToDurationBasedOnTimeUnits as nn, dateFormat as rn, dayjsFormat as an } from "./date.js";
|
|
23
|
-
import { dayjs as on, dayjs_formatValue as sn, dayjs_getDayjsValue as cn, dayjs_getFormatFromArray as ln, dayjs_getNow as un, dayjs_getRealTime as dn, dayjs_getSortedDayjsArray as fn, dayjs_getTimeFormat as pn, dayjs_getValueWithTime as mn, dayjs_isDayjsArrayChange as hn, dayjs_isDayjsChange as gn, dayjs_isValidTimeString as _n, dayjs_methods as vn, dayjs_timezoneToOffset as yn, dayjs_toLocal as bn, dayjs_toTimezone as xn } from "./dayjs.js";
|
|
16
|
+
import { ContextHolderElement as Jt } from "./contextHolder.js";
|
|
17
|
+
import { clipboardCopy as Z } from "./copy.js";
|
|
18
|
+
import { css_exports as Yt } from "./css.js";
|
|
19
|
+
import { convertTime as Xt, convertToDurationBasedOnTimeUnits as Zt, dateFormat as Qt, dayjsFormat as $t } from "./date.js";
|
|
20
|
+
import { dayjs as en, dayjs_formatValue as tn, dayjs_getDayjsValue as nn, dayjs_getFormatFromArray as rn, dayjs_getNow as Q, dayjs_getRealTime as an, dayjs_getSortedDayjsArray as on, dayjs_getTimeFormat as sn, dayjs_getValueWithTime as cn, dayjs_isDayjsArrayChange as ln, dayjs_isDayjsChange as un, dayjs_isValidTimeString as dn, dayjs_methods as fn, dayjs_timezoneToOffset as pn, dayjs_toLocal as mn, dayjs_toTimezone as hn } from "./dayjs.js";
|
|
21
|
+
import { EMITTER_EVENT as gn, Emitter as _n, emitter as vn } from "./emitter.js";
|
|
24
22
|
import "./file.js";
|
|
25
|
-
import { fileRead as
|
|
26
|
-
import { fileToDataURL as
|
|
27
|
-
import { fillNBSP as
|
|
28
|
-
import { findRootElement as
|
|
23
|
+
import { fileRead as yn } from "./fileRead.js";
|
|
24
|
+
import { fileToDataURL as bn } from "./fileToDataURL.js";
|
|
25
|
+
import { fillNBSP as xn } from "./fillNBSP.js";
|
|
26
|
+
import { findRootElement as Sn } from "./findRootElement.js";
|
|
29
27
|
import "./findScrollParent.js";
|
|
30
|
-
import { getHighlightText as
|
|
31
|
-
import { getHotkeyHandler as
|
|
32
|
-
import { getScrollBarHeight as
|
|
33
|
-
import { getScrollBarSize as
|
|
34
|
-
import { getScrollBarWidth as
|
|
35
|
-
import { getStringLength as
|
|
36
|
-
import { include as
|
|
28
|
+
import { getHighlightText as Cn } from "./getHighlightText.js";
|
|
29
|
+
import { getHotkeyHandler as wn } from "./getHotkeyHandler.js";
|
|
30
|
+
import { getScrollBarHeight as Tn } from "./getScrollBarHeight.js";
|
|
31
|
+
import { getScrollBarSize as En } from "./getScrollBarSize.js";
|
|
32
|
+
import { getScrollBarWidth as Dn } from "./getScrollBarWidth.js";
|
|
33
|
+
import { getStringLength as On } from "./getStringLength.js";
|
|
34
|
+
import { include as kn } from "./include.js";
|
|
37
35
|
import "./intersectionObserver.js";
|
|
38
|
-
import { assign as
|
|
39
|
-
import { div as
|
|
40
|
-
import { mergedToString as
|
|
36
|
+
import { assign as An, assignIn as jn, at as Mn, camelCase as Nn, capitalize as Pn, castArray as Fn, chain as In, chunk as Ln, clone as Rn, cloneDeep as zn, cloneDeepWith as Bn, cloneWith as Vn, compact as Hn, curry as Un, debounce as Wn, defaultTo as Gn, defaults as Kn, defaultsDeep as qn, difference as Jn, escape as Yn, findKey as Xn, flattenDeep as Zn, flow as Qn, get as $n, groupBy as er, has as tr, intersection as nr, invert as rr, invertBy as ir, kebabCase as ar, lodash_exports as or, mean as sr, memoize as cr, merge as lr, mergeWith as ur, orderBy as dr, partition as fr, pullAll as pr, result as mr, sample as hr, sampleSize as gr, set as _r, setWith as vr, shuffle as yr, snakeCase as br, sortBy as xr, startCase as Sr, throttle as Cr, toPath as wr, truncate as Tr, union as Er, uniq as Dr, uniqueId as Or, unset as kr, update as Ar, updateWith as jr, upperCase as Mr, upperFirst as Nr, without as Pr, xor as Fr, zip as Ir } from "./lodash.js";
|
|
37
|
+
import { div as Lr, math as Rr, minus as zr, plus as Br, times as Vr } from "./math.js";
|
|
38
|
+
import { mergedToString as Hr } from "./mergedToString.js";
|
|
39
|
+
import { mergeProps as Ur } from "./mergeProps.js";
|
|
41
40
|
import "./mutationObserver.js";
|
|
42
|
-
import { object_exports as
|
|
41
|
+
import { object_exports as Wr } from "./object.js";
|
|
42
|
+
import { omit as Gr } from "./omit.js";
|
|
43
43
|
import { padEnd as Kr, padStart as qr } from "./pad.js";
|
|
44
|
-
import {
|
|
45
|
-
import { composeRef as Yr, fillRef as Xr, getNodeRef as Zr, getReactElementRef as Qr, supportNodeRef as $r, supportRef as ei, useComposeRef as ti } from "./ref.js";
|
|
44
|
+
import { composeRef as Jr, fillRef as Yr, getNodeRef as Xr, getReactElementRef as Zr, supportNodeRef as Qr, supportRef as $r, useComposeRef as ei } from "./ref.js";
|
|
46
45
|
import "./resizeObserver.js";
|
|
47
|
-
import { saveAs as
|
|
48
|
-
import { screenfull as
|
|
49
|
-
import { scrollIntoViewIfNeeded as
|
|
50
|
-
import { setCreateRoot as
|
|
51
|
-
import oi from "./
|
|
52
|
-
import si from "./
|
|
53
|
-
import
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
46
|
+
import { saveAs as ti } from "./saveAs.js";
|
|
47
|
+
import { screenfull as ni } from "./screenfull.js";
|
|
48
|
+
import { scrollIntoViewIfNeeded as ri } from "./scrollIntoViewIfNeeded.js";
|
|
49
|
+
import { setCreateRoot as ii } from "./setCreateRoot.js";
|
|
50
|
+
import ai, { removeDarkTheme as oi } from "./setDarkTheme.js";
|
|
51
|
+
import si from "./setPrimaryColor.js";
|
|
52
|
+
import ci from "./setTheme.js";
|
|
53
|
+
import { HYPHEN as li, replaceEmptyWithHyphen as ui } from "./string.js";
|
|
54
|
+
import { fixedWidth as di, getStyle as fi, setTransformStyle as pi } from "./style.js";
|
|
55
|
+
import { throttleByRequestAnimationFrame as mi } from "./throttleByRequestAnimationFrame.js";
|
|
56
|
+
import { tinycolor as hi } from "./tinycolor.js";
|
|
57
|
+
import { toArray as gi } from "./toArray.js";
|
|
58
|
+
import { findNodeBy as _i, getChildWithParentBy as vi, getItemBy as yi, getItemByID as bi, getLabelFromDictionaryByValue as xi, searchTree as Si, tree as Ci } from "./tree.js";
|
|
59
|
+
import { Tween as wi, easing as Ti } from "./tween.js";
|
|
60
|
+
import { warning as Ei } from "./warning.js";
|
|
61
|
+
import { pinyin_exports as Di } from "./pinyin.js";
|
|
61
62
|
export * from "@unicom-cloud/ui-common/utils/is";
|
|
62
63
|
export * from "@unicom-cloud/ui-common/utils/dom";
|
|
64
|
+
export * from "@unicom-cloud/ui-common/utils/css";
|
|
63
65
|
export * from "@unicom-cloud/utils/file";
|
|
64
66
|
export * from "@unicom-cloud/ui-common/utils/lodash";
|
|
65
67
|
export * from "@unicom-cloud/ui-common/utils/object";
|
|
@@ -67,13 +69,13 @@ export * from "@unicom-cloud/ui-common/utils/tinycolor";
|
|
|
67
69
|
//#region components/pc/utils/index.ts
|
|
68
70
|
var $ = /* @__PURE__ */ ee({
|
|
69
71
|
COMPONENT_NAMES: () => Tt,
|
|
70
|
-
ContextHolderElement: () =>
|
|
71
|
-
EMITTER_EVENT: () =>
|
|
72
|
-
Emitter: () =>
|
|
73
|
-
HYPHEN: () =>
|
|
72
|
+
ContextHolderElement: () => Jt,
|
|
73
|
+
EMITTER_EVENT: () => gn,
|
|
74
|
+
Emitter: () => _n,
|
|
75
|
+
HYPHEN: () => li,
|
|
74
76
|
NOOP: () => bt,
|
|
75
77
|
PqbValidator: () => Et,
|
|
76
|
-
Tween: () =>
|
|
78
|
+
Tween: () => wi,
|
|
77
79
|
UI_PC_KEY: () => xt,
|
|
78
80
|
UI_PC_THEME_DARK_CLASS_NAME: () => St,
|
|
79
81
|
Validator: () => Dt,
|
|
@@ -86,99 +88,99 @@ var $ = /* @__PURE__ */ ee({
|
|
|
86
88
|
ValidatorSchema: () => Pt,
|
|
87
89
|
ValidatorString: () => Ft,
|
|
88
90
|
ValidatorType: () => It,
|
|
89
|
-
assign: () =>
|
|
90
|
-
assignIn: () =>
|
|
91
|
-
at: () =>
|
|
91
|
+
assign: () => An,
|
|
92
|
+
assignIn: () => jn,
|
|
93
|
+
at: () => Mn,
|
|
92
94
|
callOrReturn: () => gt,
|
|
93
95
|
callbackOriginRef: () => ht,
|
|
94
|
-
camelCase: () =>
|
|
96
|
+
camelCase: () => Nn,
|
|
95
97
|
canUseDOM: () => Rt,
|
|
96
|
-
capitalize: () =>
|
|
98
|
+
capitalize: () => Pn,
|
|
97
99
|
caseName: () => _t,
|
|
98
|
-
castArray: () =>
|
|
99
|
-
chain: () =>
|
|
100
|
-
chunk: () =>
|
|
100
|
+
castArray: () => Fn,
|
|
101
|
+
chain: () => In,
|
|
102
|
+
chunk: () => Ln,
|
|
101
103
|
className: () => X,
|
|
102
|
-
clipboardCopy: () =>
|
|
103
|
-
clone: () =>
|
|
104
|
-
cloneDeep: () =>
|
|
105
|
-
cloneDeepWith: () =>
|
|
106
|
-
cloneWith: () =>
|
|
107
|
-
compact: () =>
|
|
108
|
-
composeRef: () =>
|
|
104
|
+
clipboardCopy: () => Z,
|
|
105
|
+
clone: () => Rn,
|
|
106
|
+
cloneDeep: () => zn,
|
|
107
|
+
cloneDeepWith: () => Bn,
|
|
108
|
+
cloneWith: () => Vn,
|
|
109
|
+
compact: () => Hn,
|
|
110
|
+
composeRef: () => Jr,
|
|
109
111
|
contains: () => zt,
|
|
110
|
-
convertTime: () =>
|
|
111
|
-
convertToDurationBasedOnTimeUnits: () =>
|
|
112
|
-
copy: () =>
|
|
112
|
+
convertTime: () => Xt,
|
|
113
|
+
convertToDurationBasedOnTimeUnits: () => Zt,
|
|
114
|
+
copy: () => Z,
|
|
113
115
|
cs: () => X,
|
|
114
|
-
curry: () =>
|
|
115
|
-
dateFormat: () =>
|
|
116
|
-
dayjs: () =>
|
|
117
|
-
dayjsFormat: () =>
|
|
118
|
-
dayjs_formatValue: () =>
|
|
119
|
-
dayjs_getDayjsValue: () =>
|
|
120
|
-
dayjs_getFormatFromArray: () =>
|
|
121
|
-
dayjs_getNow: () =>
|
|
122
|
-
dayjs_getRealTime: () =>
|
|
123
|
-
dayjs_getSortedDayjsArray: () =>
|
|
124
|
-
dayjs_getTimeFormat: () =>
|
|
125
|
-
dayjs_getValueWithTime: () =>
|
|
126
|
-
dayjs_isDayjsArrayChange: () =>
|
|
127
|
-
dayjs_isDayjsChange: () =>
|
|
128
|
-
dayjs_isValidTimeString: () =>
|
|
129
|
-
dayjs_methods: () =>
|
|
130
|
-
dayjs_timezoneToOffset: () =>
|
|
131
|
-
dayjs_toLocal: () =>
|
|
132
|
-
dayjs_toTimezone: () =>
|
|
133
|
-
debounce: () =>
|
|
134
|
-
defaultTo: () =>
|
|
135
|
-
defaults: () =>
|
|
136
|
-
defaultsDeep: () =>
|
|
137
|
-
difference: () =>
|
|
138
|
-
div: () =>
|
|
139
|
-
easing: () =>
|
|
140
|
-
emitter: () =>
|
|
141
|
-
escape: () =>
|
|
142
|
-
fileRead: () =>
|
|
143
|
-
fileToDataURL: () =>
|
|
144
|
-
fillNBSP: () =>
|
|
145
|
-
fillRef: () =>
|
|
146
|
-
findKey: () =>
|
|
147
|
-
findNodeBy: () =>
|
|
148
|
-
findRootElement: () =>
|
|
149
|
-
fixedWidth: () =>
|
|
150
|
-
flattenDeep: () =>
|
|
151
|
-
flow: () =>
|
|
116
|
+
curry: () => Un,
|
|
117
|
+
dateFormat: () => Qt,
|
|
118
|
+
dayjs: () => en,
|
|
119
|
+
dayjsFormat: () => $t,
|
|
120
|
+
dayjs_formatValue: () => tn,
|
|
121
|
+
dayjs_getDayjsValue: () => nn,
|
|
122
|
+
dayjs_getFormatFromArray: () => rn,
|
|
123
|
+
dayjs_getNow: () => Q,
|
|
124
|
+
dayjs_getRealTime: () => an,
|
|
125
|
+
dayjs_getSortedDayjsArray: () => on,
|
|
126
|
+
dayjs_getTimeFormat: () => sn,
|
|
127
|
+
dayjs_getValueWithTime: () => cn,
|
|
128
|
+
dayjs_isDayjsArrayChange: () => ln,
|
|
129
|
+
dayjs_isDayjsChange: () => un,
|
|
130
|
+
dayjs_isValidTimeString: () => dn,
|
|
131
|
+
dayjs_methods: () => fn,
|
|
132
|
+
dayjs_timezoneToOffset: () => pn,
|
|
133
|
+
dayjs_toLocal: () => mn,
|
|
134
|
+
dayjs_toTimezone: () => hn,
|
|
135
|
+
debounce: () => Wn,
|
|
136
|
+
defaultTo: () => Gn,
|
|
137
|
+
defaults: () => Kn,
|
|
138
|
+
defaultsDeep: () => qn,
|
|
139
|
+
difference: () => Jn,
|
|
140
|
+
div: () => Lr,
|
|
141
|
+
easing: () => Ti,
|
|
142
|
+
emitter: () => vn,
|
|
143
|
+
escape: () => Yn,
|
|
144
|
+
fileRead: () => yn,
|
|
145
|
+
fileToDataURL: () => bn,
|
|
146
|
+
fillNBSP: () => xn,
|
|
147
|
+
fillRef: () => Yr,
|
|
148
|
+
findKey: () => Xn,
|
|
149
|
+
findNodeBy: () => _i,
|
|
150
|
+
findRootElement: () => Sn,
|
|
151
|
+
fixedWidth: () => di,
|
|
152
|
+
flattenDeep: () => Zn,
|
|
153
|
+
flow: () => Qn,
|
|
152
154
|
forceReflow: () => Bt,
|
|
153
|
-
get: () =>
|
|
155
|
+
get: () => $n,
|
|
154
156
|
getBodyContainer: () => Vt,
|
|
155
|
-
getChildWithParentBy: () =>
|
|
157
|
+
getChildWithParentBy: () => vi,
|
|
156
158
|
getElementCoordinates: () => Ht,
|
|
157
|
-
getHighlightText: () =>
|
|
158
|
-
getHotkeyHandler: () =>
|
|
159
|
-
getItemBy: () =>
|
|
160
|
-
getItemByID: () =>
|
|
161
|
-
getLabelFromDictionaryByValue: () =>
|
|
162
|
-
getNodeRef: () =>
|
|
163
|
-
getReactElementRef: () =>
|
|
164
|
-
getScrollBarHeight: () =>
|
|
165
|
-
getScrollBarSize: () =>
|
|
166
|
-
getScrollBarWidth: () =>
|
|
159
|
+
getHighlightText: () => Cn,
|
|
160
|
+
getHotkeyHandler: () => wn,
|
|
161
|
+
getItemBy: () => yi,
|
|
162
|
+
getItemByID: () => bi,
|
|
163
|
+
getLabelFromDictionaryByValue: () => xi,
|
|
164
|
+
getNodeRef: () => Xr,
|
|
165
|
+
getReactElementRef: () => Zr,
|
|
166
|
+
getScrollBarHeight: () => Tn,
|
|
167
|
+
getScrollBarSize: () => En,
|
|
168
|
+
getScrollBarWidth: () => Dn,
|
|
167
169
|
getScrollElements: () => Ut,
|
|
168
|
-
getStringLength: () =>
|
|
169
|
-
getStyle: () =>
|
|
170
|
-
groupBy: () =>
|
|
171
|
-
has: () =>
|
|
172
|
-
include: () =>
|
|
173
|
-
intersection: () =>
|
|
174
|
-
invert: () =>
|
|
175
|
-
invertBy: () =>
|
|
170
|
+
getStringLength: () => On,
|
|
171
|
+
getStyle: () => fi,
|
|
172
|
+
groupBy: () => er,
|
|
173
|
+
has: () => tr,
|
|
174
|
+
include: () => kn,
|
|
175
|
+
intersection: () => nr,
|
|
176
|
+
invert: () => rr,
|
|
177
|
+
invertBy: () => ir,
|
|
176
178
|
is: () => Y,
|
|
177
|
-
is32Bit: () =>
|
|
178
|
-
isAllChinese: () =>
|
|
179
|
-
isArguments: () =>
|
|
180
|
-
isArray: () =>
|
|
181
|
-
isArrayAndNotEmpty: () =>
|
|
179
|
+
is32Bit: () => te,
|
|
180
|
+
isAllChinese: () => ne,
|
|
181
|
+
isArguments: () => re,
|
|
182
|
+
isArray: () => ie,
|
|
183
|
+
isArrayAndNotEmpty: () => ae,
|
|
182
184
|
isArrayBuffer: () => t,
|
|
183
185
|
isArrayEmpty: () => n,
|
|
184
186
|
isArrayLike: () => r,
|
|
@@ -284,83 +286,83 @@ var $ = /* @__PURE__ */ ee({
|
|
|
284
286
|
isWeakMap: () => ot,
|
|
285
287
|
isWeakSet: () => st,
|
|
286
288
|
isWindow: () => ct,
|
|
287
|
-
kebabCase: () =>
|
|
289
|
+
kebabCase: () => ar,
|
|
288
290
|
keyboardCode: () => mt,
|
|
289
|
-
math: () =>
|
|
290
|
-
mean: () =>
|
|
291
|
-
memoize: () =>
|
|
292
|
-
merge: () =>
|
|
293
|
-
mergeProps: () =>
|
|
294
|
-
mergeWith: () =>
|
|
295
|
-
mergedToString: () =>
|
|
296
|
-
minus: () =>
|
|
291
|
+
math: () => Rr,
|
|
292
|
+
mean: () => sr,
|
|
293
|
+
memoize: () => cr,
|
|
294
|
+
merge: () => lr,
|
|
295
|
+
mergeProps: () => Ur,
|
|
296
|
+
mergeWith: () => ur,
|
|
297
|
+
mergedToString: () => Hr,
|
|
298
|
+
minus: () => zr,
|
|
297
299
|
newArray: () => Ct,
|
|
298
300
|
off: () => Wt,
|
|
299
|
-
omit: () =>
|
|
301
|
+
omit: () => Gr,
|
|
300
302
|
on: () => Gt,
|
|
301
|
-
orderBy: () =>
|
|
303
|
+
orderBy: () => dr,
|
|
302
304
|
padEnd: () => Kr,
|
|
303
305
|
padStart: () => qr,
|
|
304
306
|
parentContainsChildren: () => Kt,
|
|
305
|
-
partition: () =>
|
|
307
|
+
partition: () => fr,
|
|
306
308
|
pick: () => vt,
|
|
307
309
|
pickDataAttributes: () => yt,
|
|
308
310
|
pickTriggerPropsFromRest: () => wt,
|
|
309
|
-
pinyin: () =>
|
|
310
|
-
plus: () =>
|
|
311
|
-
pullAll: () =>
|
|
311
|
+
pinyin: () => Di,
|
|
312
|
+
plus: () => Br,
|
|
313
|
+
pullAll: () => pr,
|
|
312
314
|
reflow: () => qt,
|
|
313
|
-
removeDarkTheme: () =>
|
|
314
|
-
replaceEmptyWithHyphen: () =>
|
|
315
|
+
removeDarkTheme: () => oi,
|
|
316
|
+
replaceEmptyWithHyphen: () => ui,
|
|
315
317
|
responsiveArray: () => ft,
|
|
316
318
|
responsiveMap: () => pt,
|
|
317
319
|
responsiveObserve: () => dt,
|
|
318
|
-
result: () =>
|
|
319
|
-
sample: () =>
|
|
320
|
-
sampleSize: () =>
|
|
321
|
-
saveAs: () =>
|
|
322
|
-
screenfull: () =>
|
|
323
|
-
scrollIntoViewIfNeeded: () =>
|
|
324
|
-
searchTree: () =>
|
|
325
|
-
set: () =>
|
|
326
|
-
setCreateRoot: () =>
|
|
327
|
-
setDarkTheme: () =>
|
|
328
|
-
setPrimaryColor: () =>
|
|
329
|
-
setTheme: () =>
|
|
330
|
-
setTransformStyle: () =>
|
|
331
|
-
setWith: () =>
|
|
332
|
-
shuffle: () =>
|
|
333
|
-
snakeCase: () =>
|
|
334
|
-
sortBy: () =>
|
|
335
|
-
startCase: () =>
|
|
336
|
-
supportNodeRef: () =>
|
|
337
|
-
supportRef: () =>
|
|
338
|
-
throttle: () =>
|
|
339
|
-
|
|
340
|
-
times: () =>
|
|
341
|
-
tinycolor: () =>
|
|
342
|
-
toArray: () =>
|
|
343
|
-
toPath: () =>
|
|
344
|
-
tree: () =>
|
|
345
|
-
truncate: () =>
|
|
346
|
-
union: () =>
|
|
347
|
-
uniq: () =>
|
|
348
|
-
uniqueId: () =>
|
|
349
|
-
unset: () =>
|
|
350
|
-
update: () =>
|
|
351
|
-
updateWith: () =>
|
|
352
|
-
upperCase: () =>
|
|
353
|
-
upperFirst: () =>
|
|
354
|
-
useComposeRef: () =>
|
|
320
|
+
result: () => mr,
|
|
321
|
+
sample: () => hr,
|
|
322
|
+
sampleSize: () => gr,
|
|
323
|
+
saveAs: () => ti,
|
|
324
|
+
screenfull: () => ni,
|
|
325
|
+
scrollIntoViewIfNeeded: () => ri,
|
|
326
|
+
searchTree: () => Si,
|
|
327
|
+
set: () => _r,
|
|
328
|
+
setCreateRoot: () => ii,
|
|
329
|
+
setDarkTheme: () => ai,
|
|
330
|
+
setPrimaryColor: () => si,
|
|
331
|
+
setTheme: () => ci,
|
|
332
|
+
setTransformStyle: () => pi,
|
|
333
|
+
setWith: () => vr,
|
|
334
|
+
shuffle: () => yr,
|
|
335
|
+
snakeCase: () => br,
|
|
336
|
+
sortBy: () => xr,
|
|
337
|
+
startCase: () => Sr,
|
|
338
|
+
supportNodeRef: () => Qr,
|
|
339
|
+
supportRef: () => $r,
|
|
340
|
+
throttle: () => Cr,
|
|
341
|
+
throttleByRequestAnimationFrame: () => mi,
|
|
342
|
+
times: () => Vr,
|
|
343
|
+
tinycolor: () => hi,
|
|
344
|
+
toArray: () => gi,
|
|
345
|
+
toPath: () => wr,
|
|
346
|
+
tree: () => Ci,
|
|
347
|
+
truncate: () => Tr,
|
|
348
|
+
union: () => Er,
|
|
349
|
+
uniq: () => Dr,
|
|
350
|
+
uniqueId: () => Or,
|
|
351
|
+
unset: () => kr,
|
|
352
|
+
update: () => Ar,
|
|
353
|
+
updateWith: () => jr,
|
|
354
|
+
upperCase: () => Mr,
|
|
355
|
+
upperFirst: () => Nr,
|
|
356
|
+
useComposeRef: () => ei,
|
|
355
357
|
uuid: () => lt,
|
|
356
358
|
uuidv4: () => ut,
|
|
357
359
|
validatorLocale: () => Lt,
|
|
358
|
-
warning: () =>
|
|
359
|
-
without: () =>
|
|
360
|
-
xor: () =>
|
|
361
|
-
zip: () =>
|
|
360
|
+
warning: () => Ei,
|
|
361
|
+
without: () => Pr,
|
|
362
|
+
xor: () => Fr,
|
|
363
|
+
zip: () => Ir
|
|
362
364
|
});
|
|
363
|
-
|
|
365
|
+
e($, Yt), e($, Y), e($, or), e($, Wr);
|
|
364
366
|
//#endregion
|
|
365
|
-
export { Tt as COMPONENT_NAMES,
|
|
367
|
+
export { Tt as COMPONENT_NAMES, Jt as ContextHolderElement, gn as EMITTER_EVENT, _n as Emitter, li as HYPHEN, bt as NOOP, Et as PqbValidator, wi as Tween, xt as UI_PC_KEY, St as UI_PC_THEME_DARK_CLASS_NAME, Dt as Validator, Ot as ValidatorArray, kt as ValidatorBase, At as ValidatorBoolean, jt as ValidatorCustom, Mt as ValidatorNumber, Nt as ValidatorObject, Pt as ValidatorSchema, Ft as ValidatorString, It as ValidatorType, An as assign, jn as assignIn, Mn as at, gt as callOrReturn, ht as callbackOriginRef, Nn as camelCase, Rt as canUseDOM, Pn as capitalize, _t as caseName, Fn as castArray, In as chain, Ln as chunk, X as className, X as cs, Z as clipboardCopy, Z as copy, Rn as clone, zn as cloneDeep, Bn as cloneDeepWith, Vn as cloneWith, Hn as compact, Jr as composeRef, zt as contains, Xt as convertTime, Zt as convertToDurationBasedOnTimeUnits, Un as curry, Qt as dateFormat, en as dayjs, $t as dayjsFormat, tn as dayjs_formatValue, nn as dayjs_getDayjsValue, rn as dayjs_getFormatFromArray, Q as dayjs_getNow, an as dayjs_getRealTime, on as dayjs_getSortedDayjsArray, sn as dayjs_getTimeFormat, cn as dayjs_getValueWithTime, ln as dayjs_isDayjsArrayChange, un as dayjs_isDayjsChange, dn as dayjs_isValidTimeString, fn as dayjs_methods, pn as dayjs_timezoneToOffset, mn as dayjs_toLocal, hn as dayjs_toTimezone, Wn as debounce, Gn as defaultTo, Kn as defaults, qn as defaultsDeep, Jn as difference, Lr as div, Ti as easing, vn as emitter, Yn as escape, yn as fileRead, bn as fileToDataURL, xn as fillNBSP, Yr as fillRef, Xn as findKey, _i as findNodeBy, Sn as findRootElement, di as fixedWidth, Zn as flattenDeep, Qn as flow, Bt as forceReflow, $n as get, Vt as getBodyContainer, vi as getChildWithParentBy, Ht as getElementCoordinates, Cn as getHighlightText, wn as getHotkeyHandler, yi as getItemBy, bi as getItemByID, xi as getLabelFromDictionaryByValue, Xr as getNodeRef, Zr as getReactElementRef, Tn as getScrollBarHeight, En as getScrollBarSize, Dn as getScrollBarWidth, Ut as getScrollElements, On as getStringLength, fi as getStyle, er as groupBy, tr as has, kn as include, nr as intersection, rr as invert, ir as invertBy, Y as is, te as is32Bit, ne as isAllChinese, re as isArguments, ie as isArray, ae as isArrayAndNotEmpty, t as isArrayBuffer, n as isArrayEmpty, r as isArrayLike, i as isArrayLikeObject, a as isAscii, o as isAsyncFunction, s as isBase64, c as isBigInt, l as isBlob, u as isBoolean, d as isBuffer, f as isChinese, p as isColorValue, m as isColorValue_, h as isDOM, g as isDataURI, _ as isDate, v as isDayjs, y as isElement, b as isElementByInstanceof, x as isEmail, S as isEmpty, C as isEmptyArray, w as isEmptyObject, T as isEmptyReactNode, E as isEmptyValue, D as isEqual, O as isEqualWith, k as isError, A as isEventTarget, j as isExist, M as isFalse, N as isFile, P as isFinite, F as isFullWidth, I as isFunction, L as isHSL, R as isHTMLElement, 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, oe as isJWT, se as isLength, ce as isMACAddress, le as isMD5, ue as isMap, de as isMatch, fe as isMatchWith, pe as isMimeType, me as isMobilePhone, he as isMobilePhoneLocales, ge as isNaN, _e as isNative, ve as isNil, ye as isNonNullable, be as isNull, xe as isNullOrUndefined, Se as isNumber, Ce as isNumberOrString, we as isObject, Te as isObjectLike, Ee as isPlainObject, De as isPort, Oe as isPresent, ke as isPrimitive, Ae as isPromise, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReadableStream, Le as isRegExp, Re as isRgbColor, ze as isSVGElement, Be as isSafeInteger, Ve as isScrollElement, He as isSemVer, Ue as isServerRendering, We as isSet, Ge as isSlug, Ke as isSparseArray, qe as isString, Je as isStringAndExist, Ye as isStringOrNumber, Xe as isStrongPassword, Ze as isSymbol, Qe as isThenable, $e as isTrue, et as isTypedArray, tt as isURL, nt as isUUID, rt as isUndefined, it as isUndefinedOrNull, at as isVariableWidth, ot as isWeakMap, st as isWeakSet, ct as isWindow, ar as kebabCase, mt as keyboardCode, Rr as math, sr as mean, cr as memoize, lr as merge, Ur as mergeProps, ur as mergeWith, Hr as mergedToString, zr as minus, Ct as newArray, Wt as off, Gr as omit, Gt as on, dr as orderBy, Kr as padEnd, qr as padStart, Kt as parentContainsChildren, fr as partition, vt as pick, yt as pickDataAttributes, wt as pickTriggerPropsFromRest, Di as pinyin, Br as plus, pr as pullAll, qt as reflow, oi as removeDarkTheme, ui as replaceEmptyWithHyphen, ft as responsiveArray, pt as responsiveMap, dt as responsiveObserve, mr as result, hr as sample, gr as sampleSize, ti as saveAs, ni as screenfull, ri as scrollIntoViewIfNeeded, Si as searchTree, _r as set, ii as setCreateRoot, ai as setDarkTheme, si as setPrimaryColor, ci as setTheme, pi as setTransformStyle, vr as setWith, yr as shuffle, br as snakeCase, xr as sortBy, Sr as startCase, Qr as supportNodeRef, $r as supportRef, Cr as throttle, mi as throttleByRequestAnimationFrame, Vr as times, hi as tinycolor, gi as toArray, wr as toPath, Ci as tree, Tr as truncate, Er as union, Dr as uniq, Or as uniqueId, kr as unset, Ar as update, jr as updateWith, Mr as upperCase, Nr as upperFirst, ei as useComposeRef, $ as utils_exports, lt as uuid, ut as uuidv4, Lt as validatorLocale, Ei as warning, Pr as without, Fr as xor, Ir as zip };
|
|
366
368
|
/* 独立思考,明辨是非 */
|
package/utils/is.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-05-
|
|
1
|
+
/* 潘启宝 2026-05-26 15:50:14 星期二 山东省济南市 */
|
|
2
2
|
import { __exportAll as ee, __reExport as te } from "../.virtual/_rolldown/runtime.js";
|
|
3
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 _, isColorValue_ as v, isDOM as y, isDataURI as b, isDate as x, isDayjs as S, isElement as C, isElementByInstanceof as w, isEmail as T, isEmpty as E, isEmptyArray as D, isEmptyObject as O, isEmptyReactNode as k, isEmptyValue as A, isEqual as j, isEqualWith as M, isError as N, isEventTarget as P, isExist as F, isFalse as I, isFile as L, isFinite as R, isFullWidth as z, isFunction as B, isHSL as V, isHTMLElement as H, isHalfWidth as U, isHash as W, isHexColor as G, isIMEI as K, isIP as q, isIPRange as J, isIdentityCard as Y, isInteger as X, isJSON as Z, isJSON_String as Q, isJWT as ne, isLength as re, isMACAddress as ie, isMD5 as ae, isMap as oe, isMatch as $, isMatchWith as se, isMimeType as ce, isMobilePhone as le, isMobilePhoneLocales as ue, isNaN as de, isNative as fe, isNil as pe, isNonNullable as me, isNull as he, isNullOrUndefined as ge, isNumber as _e, isNumberOrString as ve, isObject as ye, isObjectLike as be, isPlainObject as xe, isPort as Se, isPresent as Ce, isPrimitive as we, isPromise as Te, isReact18 as Ee, isReact19 as De, isReactClassComponent as Oe, isReactComponent as ke, isReactComponentAndNotFragment as Ae, isReadableStream as je, isRegExp as Me, isRgbColor as Ne, isSVGElement as Pe, isSafeInteger as Fe, isScrollElement as Ie, isSemVer as Le, isServerRendering as Re, isSet as ze, isSlug as Be, isSparseArray as Ve, isString as He, isStringAndExist as Ue, isStringOrNumber as We, isStrongPassword as Ge, isSymbol as Ke, isThenable as qe, isTrue as Je, isTypedArray as Ye, isURL as Xe, isUUID as Ze, isUndefined as Qe, isUndefinedOrNull as $e, isVariableWidth as et, isWeakMap as tt, isWeakSet as nt, isWindow as rt } from "@unicom-cloud/ui-common/utils/is";
|
|
4
4
|
export * from "@unicom-cloud/ui-common/utils/is";
|
package/utils/keyboardCode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-05-
|
|
1
|
+
/* 潘启宝 2026-05-26 15:50:14 星期二 山东省济南市 */
|
|
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,6 +1,72 @@
|
|
|
1
|
-
/* 潘启宝 2026-05-
|
|
2
|
-
import "../.virtual/_rolldown/runtime.js";
|
|
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
|
|
1
|
+
/* 潘启宝 2026-05-26 15:50:14 星期二 山东省济南市 */
|
|
2
|
+
import { __exportAll as ee, __reExport as te } from "../.virtual/_rolldown/runtime.js";
|
|
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 ne, invertBy as D, kebabCase as O, mean as k, memoize as A, merge as j, mergeWith as M, orderBy as N, partition as P, pullAll as F, result as I, sample as L, sampleSize as R, set as z, setWith as B, shuffle as V, snakeCase as H, sortBy as U, startCase as W, throttle as G, toPath as K, truncate as q, union as J, uniq as Y, uniqueId as X, unset as Z, update as Q, updateWith as $, upperCase as re, upperFirst as ie, without as ae, xor as oe, zip as se } from "@unicom-cloud/ui-common/utils/lodash";
|
|
4
4
|
export * from "@unicom-cloud/ui-common/utils/lodash";
|
|
5
|
-
|
|
5
|
+
//#region components/pc/utils/lodash.ts
|
|
6
|
+
var ce = /* @__PURE__ */ ee({
|
|
7
|
+
assign: () => e,
|
|
8
|
+
assignIn: () => t,
|
|
9
|
+
at: () => n,
|
|
10
|
+
camelCase: () => r,
|
|
11
|
+
capitalize: () => i,
|
|
12
|
+
castArray: () => a,
|
|
13
|
+
chain: () => o,
|
|
14
|
+
chunk: () => s,
|
|
15
|
+
clone: () => c,
|
|
16
|
+
cloneDeep: () => l,
|
|
17
|
+
cloneDeepWith: () => u,
|
|
18
|
+
cloneWith: () => d,
|
|
19
|
+
compact: () => f,
|
|
20
|
+
curry: () => p,
|
|
21
|
+
debounce: () => m,
|
|
22
|
+
defaultTo: () => h,
|
|
23
|
+
defaults: () => g,
|
|
24
|
+
defaultsDeep: () => _,
|
|
25
|
+
difference: () => v,
|
|
26
|
+
escape: () => y,
|
|
27
|
+
findKey: () => b,
|
|
28
|
+
flattenDeep: () => x,
|
|
29
|
+
flow: () => S,
|
|
30
|
+
get: () => C,
|
|
31
|
+
groupBy: () => w,
|
|
32
|
+
has: () => T,
|
|
33
|
+
intersection: () => E,
|
|
34
|
+
invert: () => ne,
|
|
35
|
+
invertBy: () => D,
|
|
36
|
+
kebabCase: () => O,
|
|
37
|
+
mean: () => k,
|
|
38
|
+
memoize: () => A,
|
|
39
|
+
merge: () => j,
|
|
40
|
+
mergeWith: () => M,
|
|
41
|
+
orderBy: () => N,
|
|
42
|
+
partition: () => P,
|
|
43
|
+
pullAll: () => F,
|
|
44
|
+
result: () => I,
|
|
45
|
+
sample: () => L,
|
|
46
|
+
sampleSize: () => R,
|
|
47
|
+
set: () => z,
|
|
48
|
+
setWith: () => B,
|
|
49
|
+
shuffle: () => V,
|
|
50
|
+
snakeCase: () => H,
|
|
51
|
+
sortBy: () => U,
|
|
52
|
+
startCase: () => W,
|
|
53
|
+
throttle: () => G,
|
|
54
|
+
toPath: () => K,
|
|
55
|
+
truncate: () => q,
|
|
56
|
+
union: () => J,
|
|
57
|
+
uniq: () => Y,
|
|
58
|
+
uniqueId: () => X,
|
|
59
|
+
unset: () => Z,
|
|
60
|
+
update: () => Q,
|
|
61
|
+
updateWith: () => $,
|
|
62
|
+
upperCase: () => re,
|
|
63
|
+
upperFirst: () => ie,
|
|
64
|
+
without: () => ae,
|
|
65
|
+
xor: () => oe,
|
|
66
|
+
zip: () => se
|
|
67
|
+
});
|
|
68
|
+
import * as le from "@unicom-cloud/ui-common/utils/lodash";
|
|
69
|
+
te(ce, le);
|
|
70
|
+
//#endregion
|
|
71
|
+
export { e as assign, t as assignIn, n as at, r as camelCase, i as capitalize, a as castArray, o as chain, s as chunk, c as clone, l as cloneDeep, u as cloneDeepWith, d as cloneWith, f as compact, p as curry, m as debounce, h as defaultTo, g as defaults, _ as defaultsDeep, v as difference, y as escape, b as findKey, x as flattenDeep, S as flow, C as get, w as groupBy, T as has, E as intersection, ne as invert, D as invertBy, O as kebabCase, ce as lodash_exports, k as mean, A as memoize, j as merge, M as mergeWith, N as orderBy, P as partition, F as pullAll, I as result, L as sample, R as sampleSize, z as set, B as setWith, V as shuffle, H as snakeCase, U as sortBy, W as startCase, G as throttle, K as toPath, q as truncate, J as union, Y as uniq, X as uniqueId, Z as unset, Q as update, $ as updateWith, re as upperCase, ie as upperFirst, ae as without, oe as xor, se as zip };
|
|
6
72
|
/* 独立思考,明辨是非 */
|
package/utils/math.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-05-
|
|
1
|
+
/* 潘启宝 2026-05-26 15:50:14 星期二 山东省济南市 */
|
|
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
package/utils/mergedToString.js
CHANGED
package/utils/names.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-05-
|
|
1
|
+
/* 潘启宝 2026-05-26 15:50:14 星期二 山东省济南市 */
|
|
2
2
|
import { BORDER_BEAM_COMPONENT_INFO as ee, DEVELOPMENT_COMPONENT_INFO as te, EMPTY_COMPONENT_INFO as ne, FLEX_COMPONENT_INFO as re, FLEX_VERTICAL_COMPONENT_INFO as ie, ICON_FILE_COMPONENT_INFO as ae, PROGRESS_COMPONENT_INFO as oe, SPACE_COMPONENT_INFO as se, SPACE_VERTICAL_COMPONENT_INFO as ce, SPEECH_SYNTHESIS_COMPONENT_INFO as le, SUSPENSE_FALLBACK_TEST_COMPONENT_INFO as ue, TIMER_COMPONENT_INFO as e, TRANSITION_CSS_COMPONENT_INFO as de, TRANSITION_GROUP_COMPONENT_INFO as fe, TRANSITION_STYLE_COMPONENT_INFO as pe } from "@unicom-cloud/ui-common/utils/names";
|
|
3
3
|
//#region components/pc/utils/names.ts
|
|
4
4
|
var t = {
|