@unicom-cloud/ui 0.8.109 → 0.8.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +2 -2
- package/Alert.js +1 -1
- package/AutoComplete.js +1 -1
- package/BackTop.js +2 -2
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +6 -4
- package/Countdown.js +42 -8
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +42 -6
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Flex.js +43 -7
- package/Form.js +21 -16
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +2 -2
- package/LiquidFill.js +12 -10
- package/List.js +1 -1
- package/Loading.js +42 -6
- package/Marquee.js +12 -10
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +3 -3
- package/Modal.js +1 -1
- package/Notice.js +41 -5
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +2 -2
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +12 -10
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +76 -0
- package/Segmented.js +42 -7
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +43 -7
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +2 -2
- package/Tooltip.js +1 -1
- package/Tour.js +13 -11
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/affix/index.js +2 -2
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +2 -2
- package/anchor/Link.js +1 -1
- package/app/App.js +2 -2
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +2 -2
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +3 -3
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +2 -2
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/BDMqvmVH.js +4239 -0
- package/chunk/BDgzrqDN.js +154 -0
- package/chunk/BG6j6Ct7.js +30 -0
- package/chunk/BGJspFG9.js +56 -0
- package/chunk/BO_5qdS_.js +13 -0
- package/chunk/{DblEjsQ8.js → BUNoUPLs.js} +1 -1
- package/chunk/B_c0gPsX.js +83 -0
- package/chunk/BcEZk8pT.js +837 -0
- package/chunk/{DGSfSsAY.js → BeHcDey_.js} +1 -1
- package/chunk/{Bm3gJPkz.js → BnUWOu3_.js} +5 -5
- package/chunk/Bvxzb1wd.js +16 -0
- package/chunk/{DryCfcSV.js → CFyN9Eio.js} +4 -4
- package/chunk/CN7NKv_2.js +11 -0
- package/chunk/COc48wzV.js +64 -0
- package/chunk/{BDKb_-wj.js → COsRZOz1.js} +4 -4
- package/chunk/CT7ury1Z.js +13 -0
- package/chunk/Ca6eMq_Y.js +8 -0
- package/chunk/{p9jiLDTk.js → CgN4U7Ou.js} +2 -2
- package/chunk/{Bg3uJGPu.js → CsqGBZv1.js} +1 -1
- package/chunk/CylJZkp8.js +6 -0
- package/chunk/{9WWq1a0I.js → DSqW_efI.js} +1 -1
- package/chunk/{Bz3KT4sO.js → Dbw0YUY1.js} +81 -47
- package/chunk/Dh-zFF65.js +15 -0
- package/chunk/Di5KBCVQ.js +4 -0
- package/chunk/{DjPTURUf.js → Lyh0cz3R.js} +3 -3
- package/chunk/{DgWzb7M5.js → Y_GQsZUt.js} +1 -1
- package/chunk/{BfBHo0RR.js → n1tirBXA.js} +7 -7
- package/chunk/{DYc9a7tm.js → qsVvkBLU.js} +1 -1
- package/chunk/zFFM4RBT.js +2100 -0
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.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/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.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 +2 -2
- package/copy/index.js +10 -8
- package/countdown/index.js +67 -33
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/details/index.js +74 -38
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/flex/index.js +63 -29
- package/form/Form.js +3 -3
- package/form/FormItem.js +1 -1
- package/form/index.js +85 -77
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +128 -133
- package/hooks/useCreation.js +4 -0
- package/hooks/useId.js +1 -1
- package/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/hooks/useKeyboardEvent.js +1 -1
- package/hooks/useMedia.js +1 -1
- package/hooks/usePersistCallback.js +1 -1
- package/hooks/useRefs.js +1 -1
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useWatch.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file.js +1 -1
- package/image/Image.js +3 -3
- package/image/ImagePreview.js +44 -9
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +718 -717
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +3 -3
- package/input/InputElement.js +2 -2
- package/input/Password.js +2 -2
- package/input/Search.js +1 -1
- package/input/Textarea.js +2 -2
- package/input-number/index.js +1 -1
- package/input-number/useSelectionRange.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +2 -2
- package/liquid-fill/index.js +17 -15
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +54 -18
- package/marquee/index.js +19 -17
- package/marquee-/index.js +17 -15
- package/mentions/index.js +1 -1
- package/menu/Menu.js +4 -4
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +3 -3
- package/message/useMessage.js +4 -3
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +2 -2
- package/notice/index.js +41 -5
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +120 -81
- package/pagination/PageItem.js +2 -2
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/CircleProgress.js +2 -2
- package/progress/index.js +1 -1
- package/qr-code/index.js +15 -13
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +2 -2
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/rich-text/constant.js +5 -0
- package/rich-text/core.js +11 -0
- package/rich-text/eventemitter/index.d.ts +135 -0
- package/rich-text/index.js +182 -0
- package/rich-text/interface.js +1 -0
- package/rich-text/rich.js +1877 -0
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +1 -1
- package/segmented/index.js +145 -110
- package/select/Option.js +1 -1
- package/select/Select.js +235 -227
- package/select-view/Core.js +2 -2
- package/skeleton/index.js +1 -1
- package/slider/Button.js +2 -2
- package/slider/index.js +1 -1
- package/space/index.js +51 -15
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +2 -2
- package/splitter/Splitter.js +2 -2
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +3 -3
- package/table/index.js +41 -39
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +2 -2
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/tour/index.js +20 -18
- package/transfer/Item.js +3 -3
- package/transfer/List.js +3 -3
- package/transfer/index.js +1 -1
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +4 -4
- package/tree-select/index.js +1 -1
- package/trigger/index.js +1 -1
- package/types/common/hooks/src/index.d.ts +1 -5
- package/types/common/hooks/src/use-url-state/index.d.ts +1 -1
- package/types/common/hooks/useId.d.ts +1 -1
- package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
- package/types/common/hooks/useKeyboardEvent.d.ts +1 -1
- package/types/common/hooks/{useListenResize.d.ts → useListenWindowResize.d.ts} +4 -6
- package/types/common/hooks/useWatch.d.ts +1 -1
- package/types/common/hooks/useWindowSize.d.ts +2 -2
- package/types/common/utils/index.d.ts +47 -0
- package/types/common/utils/keyboardCode.d.ts +4 -0
- package/types/common/utils/math.d.ts +1 -0
- package/types/common/utils/mitt.d.ts +1 -0
- package/types/common/utils/pinyin.d.ts +1 -0
- package/types/common/utils/reactTransitionGroup.d.ts +1 -0
- package/types/common/utils/uuid.d.ts +1 -0
- package/types/common/utils/validate.d.ts +1 -0
- package/types/pc/config-provider/interface.d.ts +2 -0
- package/types/pc/date-picker/RangePicker.d.ts +1 -1
- package/types/pc/form/index.d.ts +6 -1
- package/types/pc/hooks/index.d.ts +2 -2
- package/types/pc/hooks/useCreation.d.ts +1 -0
- package/types/pc/hooks/useListenWindowResize.d.ts +1 -0
- package/types/pc/index.d.ts +2 -0
- package/types/pc/message/index.d.ts +1 -0
- package/types/pc/message/interface.d.ts +2 -2
- package/types/pc/page-header/interface.d.ts +3 -0
- package/types/pc/rich-text/blots/block.d.ts +34 -0
- package/types/pc/rich-text/blots/break.d.ts +8 -0
- package/types/pc/rich-text/blots/container.d.ts +4 -0
- package/types/pc/rich-text/blots/cursor.d.ts +26 -0
- package/types/pc/rich-text/blots/embed.d.ts +18 -0
- package/types/pc/rich-text/blots/inline.d.ts +12 -0
- package/types/pc/rich-text/blots/scroll.d.ts +49 -0
- package/types/pc/rich-text/blots/text.d.ts +5 -0
- package/types/pc/rich-text/constant.d.ts +1 -0
- package/types/pc/rich-text/core/composition.d.ts +12 -0
- package/types/pc/rich-text/core/editor.d.ts +28 -0
- package/types/pc/rich-text/core/emitter.d.ts +37 -0
- package/types/pc/rich-text/core/instances.d.ts +3 -0
- package/types/pc/rich-text/core/logger.d.ts +7 -0
- package/types/pc/rich-text/core/module.d.ts +8 -0
- package/types/pc/rich-text/core/rich.d.ts +217 -0
- package/types/pc/rich-text/core/selection.d.ts +74 -0
- package/types/pc/rich-text/core/theme.d.ts +32 -0
- package/types/pc/rich-text/core/utils/createRegistryWithFormats.d.ts +5 -0
- package/types/pc/rich-text/core/utils/scrollRectIntoView.d.ts +11 -0
- package/types/pc/rich-text/core.d.ts +7 -0
- package/types/pc/rich-text/delta/AttributeMap.d.ts +10 -0
- package/types/pc/rich-text/delta/Op.d.ts +11 -0
- package/types/pc/rich-text/delta/OpIterator.d.ts +13 -0
- package/types/pc/rich-text/delta/index.d.ts +45 -0
- package/types/pc/rich-text/eventemitter/index.d.ts +101 -0
- package/types/pc/rich-text/formats/align.d.ts +5 -0
- package/types/pc/rich-text/formats/background.d.ts +5 -0
- package/types/pc/rich-text/formats/blockquote.d.ts +6 -0
- package/types/pc/rich-text/formats/bold.d.ts +11 -0
- package/types/pc/rich-text/formats/code.d.ts +15 -0
- package/types/pc/rich-text/formats/color.d.ts +7 -0
- package/types/pc/rich-text/formats/direction.d.ts +5 -0
- package/types/pc/rich-text/formats/font.d.ts +7 -0
- package/types/pc/rich-text/formats/formula.d.ts +10 -0
- package/types/pc/rich-text/formats/header.d.ts +7 -0
- package/types/pc/rich-text/formats/image.d.ts +13 -0
- package/types/pc/rich-text/formats/indent.d.ts +8 -0
- package/types/pc/rich-text/formats/italic.d.ts +6 -0
- package/types/pc/rich-text/formats/link.d.ts +13 -0
- package/types/pc/rich-text/formats/list.d.ts +13 -0
- package/types/pc/rich-text/formats/script.d.ts +8 -0
- package/types/pc/rich-text/formats/size.d.ts +4 -0
- package/types/pc/rich-text/formats/strike.d.ts +6 -0
- package/types/pc/rich-text/formats/table.d.ts +45 -0
- package/types/pc/rich-text/formats/underline.d.ts +6 -0
- package/types/pc/rich-text/formats/video.d.ts +14 -0
- package/types/pc/rich-text/index.d.ts +6 -0
- package/types/pc/rich-text/interface.d.ts +17 -0
- package/types/pc/rich-text/modules/clipboard.d.ts +43 -0
- package/types/pc/rich-text/modules/history.d.ts +36 -0
- package/types/pc/rich-text/modules/input.d.ts +10 -0
- package/types/pc/rich-text/modules/keyboard.d.ts +58 -0
- package/types/pc/rich-text/modules/normalizeExternalHTML/index.d.ts +2 -0
- package/types/pc/rich-text/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +1 -0
- package/types/pc/rich-text/modules/normalizeExternalHTML/normalizers/msWord.d.ts +1 -0
- package/types/pc/rich-text/modules/syntax.d.ts +50 -0
- package/types/pc/rich-text/modules/table.d.ts +20 -0
- package/types/pc/rich-text/modules/tableEmbed.d.ts +27 -0
- package/types/pc/rich-text/modules/toolbar.d.ts +24 -0
- package/types/pc/rich-text/modules/uiNode.d.ts +19 -0
- package/types/pc/rich-text/modules/uploader.d.ts +15 -0
- package/types/pc/rich-text/parchment/attributor/attributor.d.ts +17 -0
- package/types/pc/rich-text/parchment/attributor/class.d.ts +8 -0
- package/types/pc/rich-text/parchment/attributor/store.d.ts +15 -0
- package/types/pc/rich-text/parchment/attributor/style.d.ts +8 -0
- package/types/pc/rich-text/parchment/blot/abstract/blot.d.ts +115 -0
- package/types/pc/rich-text/parchment/blot/abstract/container.d.ts +18 -0
- package/types/pc/rich-text/parchment/blot/abstract/leaf.d.ts +29 -0
- package/types/pc/rich-text/parchment/blot/abstract/parent.d.ts +50 -0
- package/types/pc/rich-text/parchment/blot/abstract/shadow.d.ts +37 -0
- package/types/pc/rich-text/parchment/blot/block.d.ts +25 -0
- package/types/pc/rich-text/parchment/blot/embed.d.ts +11 -0
- package/types/pc/rich-text/parchment/blot/inline.d.ts +28 -0
- package/types/pc/rich-text/parchment/blot/scroll.d.ts +34 -0
- package/types/pc/rich-text/parchment/blot/text.d.ts +26 -0
- package/types/pc/rich-text/parchment/collection/linked-list.d.ts +21 -0
- package/types/pc/rich-text/parchment/collection/linked-node.d.ts +6 -0
- package/types/pc/rich-text/parchment/error.d.ts +6 -0
- package/types/pc/rich-text/parchment/index.d.ts +21 -0
- package/types/pc/rich-text/parchment/registry.d.ts +21 -0
- package/types/pc/rich-text/parchment/scope.d.ts +14 -0
- package/types/pc/rich-text/rich.d.ts +5 -0
- package/types/pc/rich-text/themes/base.d.ts +35 -0
- package/types/pc/rich-text/themes/bubble.d.ts +18 -0
- package/types/pc/rich-text/themes/snow.d.ts +9 -0
- package/types/pc/rich-text/ui/color-picker.d.ts +7 -0
- package/types/pc/rich-text/ui/icon-picker.d.ts +7 -0
- package/types/pc/rich-text/ui/icons.d.ts +51 -0
- package/types/pc/rich-text/ui/picker.d.ts +16 -0
- package/types/pc/rich-text/ui/tooltip.d.ts +12 -0
- package/types/pc/select/interface.d.ts +4 -0
- package/types/pc/utils/index.d.ts +2 -0
- package/types/pc/utils/mitt.d.ts +1 -0
- package/types/pc/utils/names.d.ts +107 -91
- package/types/pc/utils/pinyin.d.ts +1 -0
- package/types/pc/version/index.d.ts +1 -1
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +5 -3
- package/typography/Operations.js +6 -4
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +2 -2
- package/upload/Upload.js +2 -2
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +167 -163
- package/utils/mitt.js +5 -0
- package/utils/names.js +12 -2
- package/utils/pinyin.js +5 -0
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +2 -2
- package/watermark/Watermark.js +1 -1
- package/chunk/5_U1CBIu.js +0 -8
- package/chunk/B9YvSTvI.js +0 -2321
- package/chunk/BLOlsa0k.js +0 -11
- package/chunk/BTLlOOe9.js +0 -189
- package/chunk/C6Aw3qIJ.js +0 -16
- package/chunk/CMl7m9nA.js +0 -6
- package/chunk/COqvRD0G.js +0 -11
- package/chunk/DXlwLh0Y.js +0 -806
- package/chunk/DlSv5Vu0.js +0 -16
- package/chunk/DmDh7NRL.js +0 -14
- package/chunk/Duezix3m.js +0 -25
- package/chunk/siEVY1s5.js +0 -33
- package/hooks/useCreate.js +0 -4
- package/types/common/hooks/src/use-dynamic-list/index.d.ts +0 -18
- package/types/common/hooks/src/use-event-emitter/index.d.ts +0 -11
- package/types/common/hooks/src/use-map/index.d.ts +0 -8
- package/types/common/hooks/src/use-set/index.d.ts +0 -6
- package/types/common/hooks/useCreate.d.ts +0 -2
- package/types/pc/hooks/useCreate.d.ts +0 -1
- package/types/pc/hooks/useListenResize.d.ts +0 -1
- /package/hooks/{useListenResize.js → useListenWindowResize.js} +0 -0
package/switch/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import R from "@unicom-cloud/icons/IconUiLoading";
|
|
|
3
3
|
import { h as q } from "../chunk/BJ9_azwQ.js";
|
|
4
4
|
import A from "lodash/isArray";
|
|
5
5
|
import { forwardRef as B, useContext as L, useState as M } from "react";
|
|
6
|
-
import { a as O } from "../chunk/
|
|
6
|
+
import { a as O } from "../chunk/BcEZk8pT.js";
|
|
7
7
|
import { u as Q } from "../chunk/FgWHhRFz.js";
|
|
8
8
|
import { P as f } from "../chunk/B--6x-RL.js";
|
|
9
9
|
import U from "@unicom-cloud/utils/class-name";
|
package/table/Table.js
CHANGED
|
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/debounce";
|
|
3
3
|
import "lodash/throttle";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
6
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/BcEZk8pT.js";
|
|
6
|
+
import "../chunk/CylJZkp8.js";
|
|
7
7
|
import "../chunk/FgWHhRFz.js";
|
|
8
8
|
import "../chunk/DfChiMIE.js";
|
|
9
9
|
import "../pagination/Pagination.js";
|
|
@@ -15,7 +15,7 @@ import "../chunk/ClqoGc3r.js";
|
|
|
15
15
|
import "../chunk/B8W1N4er.js";
|
|
16
16
|
import "./ColGroup.js";
|
|
17
17
|
import "./context.js";
|
|
18
|
-
import { T as n } from "../chunk/
|
|
18
|
+
import { T as n } from "../chunk/COsRZOz1.js";
|
|
19
19
|
import "./util.js";
|
|
20
20
|
import "@unicom-cloud/utils/is";
|
|
21
21
|
export {
|
package/table/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as $, T as v } from "../chunk/
|
|
2
|
-
import { u as
|
|
1
|
+
import { S as $, T as v } from "../chunk/COsRZOz1.js";
|
|
2
|
+
import { u as Kt, a as Vt, b as Wt, c as Zt, d as te, e as ee, f as oe } from "../chunk/COsRZOz1.js";
|
|
3
3
|
import { defaultComponent as B } from "./constant.js";
|
|
4
4
|
import x, { useRef as g, useContext as R, useEffect as w, useState as O } from "react";
|
|
5
5
|
import "@unicom-cloud/utils/date";
|
|
6
6
|
import "@unicom-cloud/utils/case-name";
|
|
7
7
|
import M from "@unicom-cloud/utils/class-name";
|
|
8
8
|
import "@unicom-cloud/utils/constant/ui";
|
|
9
|
-
import { a as k } from "../chunk/
|
|
9
|
+
import { a as k } from "../chunk/BcEZk8pT.js";
|
|
10
10
|
import "@unicom-cloud/utils/clipboard-copy";
|
|
11
11
|
import "../chunk/DS_deHpN.js";
|
|
12
12
|
import { o as E, b as P } from "../chunk/d1c9z8T1.js";
|
|
@@ -36,6 +36,8 @@ import "lodash/uniq";
|
|
|
36
36
|
import "lodash/upperFirst";
|
|
37
37
|
import "@unicom-cloud/utils/math";
|
|
38
38
|
import "lodash/isPlainObject";
|
|
39
|
+
import "@unicom-cloud/utils/mitt";
|
|
40
|
+
import "@unicom-cloud/utils/pinyin";
|
|
39
41
|
import "../chunk/BJ9_azwQ.js";
|
|
40
42
|
import "../chunk/CXrVhA6-.js";
|
|
41
43
|
import "../utils/responsiveObserve.js";
|
|
@@ -53,25 +55,25 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
53
55
|
import { o as q } from "../chunk/BKKEev13.js";
|
|
54
56
|
function F(l) {
|
|
55
57
|
let {
|
|
56
|
-
className:
|
|
57
|
-
children:
|
|
58
|
+
className: i,
|
|
59
|
+
children: t,
|
|
58
60
|
column: p,
|
|
59
61
|
onResize: f,
|
|
60
62
|
...h
|
|
61
63
|
} = l;
|
|
62
|
-
const a = B.header.th,
|
|
64
|
+
const a = B.header.th, e = g(null), d = g(null), s = g({}), { getPrefixCls: m } = R(k), o = m?.("table-th-resizable");
|
|
63
65
|
function r(c) {
|
|
64
|
-
|
|
66
|
+
s.current.boundingClientRect = e.current.getBoundingClientRect(), s.current.pageX = c?.pageX ?? 0, S(), b();
|
|
65
67
|
}
|
|
66
68
|
function u(c) {
|
|
67
69
|
S();
|
|
68
70
|
}
|
|
69
71
|
function C(c) {
|
|
70
|
-
let T =
|
|
72
|
+
let T = s.current.boundingClientRect.width + ((c?.pageX ?? 0) - s.current.pageX);
|
|
71
73
|
T < 0 || (I(p) && (p.width = T), f?.({
|
|
72
74
|
column: p,
|
|
73
75
|
width: T,
|
|
74
|
-
widthOrigin:
|
|
76
|
+
widthOrigin: s.current.boundingClientRect.width
|
|
75
77
|
}));
|
|
76
78
|
}
|
|
77
79
|
function b(c) {
|
|
@@ -80,12 +82,12 @@ function F(l) {
|
|
|
80
82
|
function S(c) {
|
|
81
83
|
E(document, "mousemove", C), E(document, "mouseup", u);
|
|
82
84
|
}
|
|
83
|
-
|
|
85
|
+
i = M(i, o), w(() => (r(), C(), u(), () => {
|
|
84
86
|
S();
|
|
85
87
|
}), []);
|
|
86
|
-
let n =
|
|
88
|
+
let n = t;
|
|
87
89
|
return D(f) && (n = /* @__PURE__ */ X(j, { children: [
|
|
88
|
-
|
|
90
|
+
t,
|
|
89
91
|
/* @__PURE__ */ y(
|
|
90
92
|
"div",
|
|
91
93
|
{
|
|
@@ -94,13 +96,13 @@ function F(l) {
|
|
|
94
96
|
onMouseDown: r
|
|
95
97
|
}
|
|
96
98
|
)
|
|
97
|
-
] })), /* @__PURE__ */ y(a, { ref:
|
|
99
|
+
] })), /* @__PURE__ */ y(a, { ref: e, ...h, className: i, children: n });
|
|
98
100
|
}
|
|
99
|
-
function
|
|
100
|
-
const { columns:
|
|
101
|
-
function h(
|
|
101
|
+
function Yt(l = {}, i = []) {
|
|
102
|
+
const { columns: t } = l ?? {}, [p, f] = O(a(t));
|
|
103
|
+
function h(e, d) {
|
|
102
104
|
return {
|
|
103
|
-
column:
|
|
105
|
+
column: e,
|
|
104
106
|
onResize(m) {
|
|
105
107
|
const { column: o = {}, width: r } = m ?? {};
|
|
106
108
|
f((u) => {
|
|
@@ -110,40 +112,40 @@ function He(l = {}, s = []) {
|
|
|
110
112
|
}
|
|
111
113
|
};
|
|
112
114
|
}
|
|
113
|
-
function a(
|
|
114
|
-
return U(
|
|
115
|
+
function a(e) {
|
|
116
|
+
return U(e) ? e.map((d, s, m) => {
|
|
115
117
|
const o = d;
|
|
116
|
-
return
|
|
117
|
-
}) :
|
|
118
|
+
return s < m.length - 1 && d.resizable !== !1 && !d.fixed && (o.onHeaderCell = h), o;
|
|
119
|
+
}) : e;
|
|
118
120
|
}
|
|
119
|
-
return w(() => (f(a(
|
|
120
|
-
}), [...
|
|
121
|
+
return w(() => (f(a(t)), () => {
|
|
122
|
+
}), [...i]), w(() => () => {
|
|
121
123
|
}, []), {
|
|
122
124
|
columns: p,
|
|
123
|
-
setColumns(
|
|
124
|
-
return f(a(
|
|
125
|
+
setColumns(e) {
|
|
126
|
+
return f(a(e));
|
|
125
127
|
},
|
|
126
128
|
ThResizable: F
|
|
127
129
|
};
|
|
128
130
|
}
|
|
129
131
|
function z(l) {
|
|
130
|
-
const { children:
|
|
131
|
-
return /* @__PURE__ */ y("td", { ...q(
|
|
132
|
+
const { children: i, ...t } = l;
|
|
133
|
+
return /* @__PURE__ */ y("td", { ...q(t, ["$$PqbTableSummaryCell"]), children: i });
|
|
132
134
|
}
|
|
133
135
|
z.__PQB_TABLE_SUMMARY_CELL__ = !0;
|
|
134
136
|
function H(l) {
|
|
135
|
-
const { rtl:
|
|
137
|
+
const { rtl: i } = R(k), { columns: t, stickyOffsets: p, stickyClassNames: f, prefixCls: h } = R($), { children: a, ...e } = l, d = x.Children.map(
|
|
136
138
|
a,
|
|
137
139
|
(m) => m.props.colSpan || 1
|
|
138
|
-
),
|
|
139
|
-
const r = m, u = L(r, "type.__PQB_TABLE_SUMMARY_CELL__") || L(r, "props.$$PqbTableSummaryCell"), C = r?.props?.style, b = r?.props?.className, n = d.slice(0, o).reduce((T, A) => T + A, 0), c =
|
|
140
|
+
), s = x.Children.map(a, (m, o) => {
|
|
141
|
+
const r = m, u = L(r, "type.__PQB_TABLE_SUMMARY_CELL__") || L(r, "props.$$PqbTableSummaryCell"), C = r?.props?.style, b = r?.props?.className, n = d.slice(0, o).reduce((T, A) => T + A, 0), c = t[n].fixed === "left" ? { [i ? "right" : "left"]: p[n] } : t[n].fixed === "right" ? { [i ? "left" : "right"]: p[n] } : {}, N = t[n].fixed === "left" || t[n].fixed === "right" ? f[n] : "";
|
|
140
142
|
return u ? x.cloneElement(r, {
|
|
141
143
|
...r.props,
|
|
142
144
|
className: M(`${h}-td`, N, b),
|
|
143
145
|
style: { ...C, ...c }
|
|
144
146
|
}) : m;
|
|
145
147
|
});
|
|
146
|
-
return /* @__PURE__ */ y("tr", { ...
|
|
148
|
+
return /* @__PURE__ */ y("tr", { ...e, children: s });
|
|
147
149
|
}
|
|
148
150
|
function _(l) {
|
|
149
151
|
return l.children;
|
|
@@ -158,12 +160,12 @@ export {
|
|
|
158
160
|
H as TableSummaryRow,
|
|
159
161
|
Q as default,
|
|
160
162
|
B as tableDefaultComponent,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
163
|
+
Kt as useTableColumns,
|
|
164
|
+
Vt as useTableComponent,
|
|
165
|
+
Wt as useTableExpand,
|
|
166
|
+
Zt as useTableRowSelection,
|
|
167
|
+
te as useTableSorter,
|
|
168
|
+
ee as useTableStickyClassNames,
|
|
169
|
+
oe as useTableStickyOffsets,
|
|
170
|
+
Yt as useTableThResizable
|
|
169
171
|
};
|
package/tabs/Tab.js
CHANGED
|
@@ -2,13 +2,13 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isFunction";
|
|
3
3
|
import "lodash/isPlainObject";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
6
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/BcEZk8pT.js";
|
|
6
|
+
import "../chunk/BGJspFG9.js";
|
|
7
7
|
import "../chunk/FgWHhRFz.js";
|
|
8
8
|
import "../chunk/2vdCeheu.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
|
-
import { a as d, T as l } from "../chunk/
|
|
11
|
+
import { a as d, T as l } from "../chunk/CFyN9Eio.js";
|
|
12
12
|
import { default as u, default as x } from "./TabPane.js";
|
|
13
13
|
export {
|
|
14
14
|
u as TabPane,
|
package/tabs/TabContent.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/BcEZk8pT.js";
|
|
4
4
|
import "@unicom-cloud/utils/class-name";
|
|
5
|
-
import { b as a } from "../chunk/
|
|
5
|
+
import { b as a } from "../chunk/CFyN9Eio.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
package/tabs/TabPane.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import d, { useRef as p, useContext as b } from "react";
|
|
3
|
-
import { a as x } from "../chunk/
|
|
3
|
+
import { a as x } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import C from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import { o as N } from "../chunk/BKKEev13.js";
|
|
6
6
|
function P(a, s) {
|
package/tabs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as e } from "../chunk/
|
|
2
|
-
import { a as s } from "../chunk/
|
|
1
|
+
import { T as e } from "../chunk/CFyN9Eio.js";
|
|
2
|
+
import { a as s } from "../chunk/CFyN9Eio.js";
|
|
3
3
|
import { default as f, default as T } from "./TabPane.js";
|
|
4
4
|
export {
|
|
5
5
|
f as TabPane,
|
package/tag/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import B from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import D from "@unicom-cloud/icons/IconUiLoading";
|
|
4
4
|
import g from "lodash/isPlainObject";
|
|
5
5
|
import { forwardRef as J, useContext as Q, useState as b } from "react";
|
|
6
|
-
import { a as W, I as X } from "../chunk/
|
|
7
|
-
import { u as Y } from "../chunk/
|
|
6
|
+
import { a as W, I as X } from "../chunk/BcEZk8pT.js";
|
|
7
|
+
import { u as Y } from "../chunk/Bvxzb1wd.js";
|
|
8
8
|
import { u as Z } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import ee from "../popconfirm/index.js";
|
|
10
10
|
import oe from "@unicom-cloud/utils/class-name";
|
package/time-picker/Picker.js
CHANGED
|
@@ -3,7 +3,7 @@ import ke from "@unicom-cloud/icons/IconUiClockCircle";
|
|
|
3
3
|
import { isDayjs as Ie } from "dayjs";
|
|
4
4
|
import l from "lodash/isArray";
|
|
5
5
|
import xe, { useContext as ye, useState as v, useRef as Te } from "react";
|
|
6
|
-
import { a as De } from "../chunk/
|
|
6
|
+
import { a as De } from "../chunk/BcEZk8pT.js";
|
|
7
7
|
import { u as Se } from "../chunk/FgWHhRFz.js";
|
|
8
8
|
import { u as J } from "../chunk/8w-ItYb1.js";
|
|
9
9
|
import { u as je } from "../chunk/DfChiMIE.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as R, Fragment as pe, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as Q, useCallback as W } from "react";
|
|
3
3
|
import X from "../button/index.js";
|
|
4
|
-
import { a as he } from "../chunk/
|
|
4
|
+
import { a as he } from "../chunk/BcEZk8pT.js";
|
|
5
5
|
import xe from "@unicom-cloud/utils/class-name";
|
|
6
6
|
import { h as $e, g as Y, d as $, b as Z } from "../chunk/DS_deHpN.js";
|
|
7
7
|
import { padStart as m } from "../utils/pad.js";
|
package/timeline/Item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import P, { useContext as S, useRef as z, useEffect as F } from "react";
|
|
3
|
-
import { a as W } from "../chunk/
|
|
3
|
+
import { a as W } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import { u as j } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import u from "@unicom-cloud/utils/class-name";
|
|
6
6
|
const D = {
|
package/timeline/Timeline.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as R } from "react";
|
|
3
|
-
import { a as w } from "../chunk/
|
|
3
|
+
import { a as w } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import { u as z } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import j from "../spin/index.js";
|
|
6
6
|
import C from "@unicom-cloud/utils/class-name";
|
package/tooltip/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import F from "@unicom-cloud/utils/tinycolor";
|
|
3
3
|
import I from "lodash/isFunction";
|
|
4
4
|
import { forwardRef as S, useContext as j, useRef as z, useImperativeHandle as B, useMemo as W } from "react";
|
|
5
|
-
import { a as q } from "../chunk/
|
|
5
|
+
import { a as q } from "../chunk/BcEZk8pT.js";
|
|
6
6
|
import { u as G } from "../chunk/FgWHhRFz.js";
|
|
7
7
|
import J, { EventsByTriggerNeed as K } from "../trigger/index.js";
|
|
8
8
|
import d from "@unicom-cloud/utils/class-name";
|
package/tour/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import lt from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import { useContext as ct, useState as C, useRef as F, useEffect as h } from "react";
|
|
4
4
|
import { createPortal as mt } from "react-dom";
|
|
5
5
|
import D from "../button/index.js";
|
|
6
|
-
import { a as at, I as ft } from "../chunk/
|
|
6
|
+
import { a as at, I as ft } from "../chunk/BcEZk8pT.js";
|
|
7
7
|
import "../chunk/DsaQZE4X.js";
|
|
8
8
|
import "../chunk/CdXR6dj7.js";
|
|
9
9
|
import "@unicom-cloud/utils/js-cookie";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "lodash/debounce";
|
|
12
|
-
import "../chunk/BTLlOOe9.js";
|
|
13
12
|
import "@unicom-cloud/utils/screenfull";
|
|
13
|
+
import "../chunk/BDgzrqDN.js";
|
|
14
14
|
import "lodash/throttle";
|
|
15
15
|
import "@unicom-cloud/utils/constant/platform";
|
|
16
16
|
import "lodash/isPlainObject";
|
|
@@ -21,11 +21,6 @@ import { Escape as dt, ArrowRight as ht, ArrowLeft as ut } from "@unicom-cloud/u
|
|
|
21
21
|
import "lodash/isNumber";
|
|
22
22
|
import "lodash/merge";
|
|
23
23
|
import { b as gt, o as wt } from "../chunk/d1c9z8T1.js";
|
|
24
|
-
import "../chunk/RjJoagzL.js";
|
|
25
|
-
import { u as bt } from "../chunk/FgWHhRFz.js";
|
|
26
|
-
import "../chunk/CXrVhA6-.js";
|
|
27
|
-
import "@unicom-cloud/utils/constant";
|
|
28
|
-
import R from "../space/index.js";
|
|
29
24
|
import "@unicom-cloud/utils/date";
|
|
30
25
|
import "@unicom-cloud/utils/case-name";
|
|
31
26
|
import u from "@unicom-cloud/utils/class-name";
|
|
@@ -36,7 +31,7 @@ import "@unicom-cloud/utils/file/fileToURL";
|
|
|
36
31
|
import "lodash/escapeRegExp";
|
|
37
32
|
import "lodash/isArray";
|
|
38
33
|
import "lodash/isString";
|
|
39
|
-
import { i as
|
|
34
|
+
import { i as bt } from "../chunk/DEpQcf8m.js";
|
|
40
35
|
import "lodash/camelCase";
|
|
41
36
|
import "lodash/capitalize";
|
|
42
37
|
import "lodash/cloneDeep";
|
|
@@ -51,19 +46,26 @@ import "lodash/startCase";
|
|
|
51
46
|
import "lodash/uniq";
|
|
52
47
|
import "lodash/upperFirst";
|
|
53
48
|
import "@unicom-cloud/utils/math";
|
|
54
|
-
import
|
|
49
|
+
import "@unicom-cloud/utils/mitt";
|
|
50
|
+
import { m as vt } from "../chunk/C0pqKVwu.js";
|
|
51
|
+
import "@unicom-cloud/utils/pinyin";
|
|
55
52
|
import "../chunk/BJ9_azwQ.js";
|
|
56
|
-
import
|
|
57
|
-
import "../
|
|
53
|
+
import "../chunk/CXrVhA6-.js";
|
|
54
|
+
import { r as yt } from "../chunk/B8W1N4er.js";
|
|
58
55
|
import "@unicom-cloud/utils/file/saveAs";
|
|
56
|
+
import "@unicom-cloud/utils/constant/ui.js";
|
|
59
57
|
import "@unicom-cloud/utils/tinycolor";
|
|
60
58
|
import "@unicom-cloud/utils/ui-color";
|
|
61
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
62
59
|
import "react-is";
|
|
63
60
|
import "@unicom-cloud/utils/tree";
|
|
64
61
|
import "@unicom-cloud/utils/is";
|
|
65
62
|
import "uuid";
|
|
66
63
|
import "../chunk/hc_ufgVf.js";
|
|
64
|
+
import "../chunk/RjJoagzL.js";
|
|
65
|
+
import { u as $t } from "../chunk/FgWHhRFz.js";
|
|
66
|
+
import "@unicom-cloud/utils/constant";
|
|
67
|
+
import R from "../space/index.js";
|
|
68
|
+
import "../utils/responsiveObserve.js";
|
|
67
69
|
const xt = {
|
|
68
70
|
steps: [],
|
|
69
71
|
open: !1,
|
|
@@ -76,8 +78,8 @@ const xt = {
|
|
|
76
78
|
zIndex: 1e3,
|
|
77
79
|
current: 0
|
|
78
80
|
};
|
|
79
|
-
function
|
|
80
|
-
const { getPrefixCls: X, componentConfig: Y, rtl: kt } = ct(at), K =
|
|
81
|
+
function Ae(L) {
|
|
82
|
+
const { getPrefixCls: X, componentConfig: Y, rtl: kt } = ct(at), K = $t(
|
|
81
83
|
L,
|
|
82
84
|
xt,
|
|
83
85
|
Y?.Tour
|
|
@@ -184,11 +186,11 @@ function Te(L) {
|
|
|
184
186
|
wt(window, "keydown", t);
|
|
185
187
|
};
|
|
186
188
|
}, [f, r, n.length]), h(() => {
|
|
187
|
-
const t =
|
|
189
|
+
const t = yt([document.body, p], () => {
|
|
188
190
|
b();
|
|
189
|
-
}), i =
|
|
191
|
+
}), i = bt([p], () => {
|
|
190
192
|
b();
|
|
191
|
-
}), m =
|
|
193
|
+
}), m = vt([p], () => {
|
|
192
194
|
b();
|
|
193
195
|
});
|
|
194
196
|
return () => {
|
|
@@ -308,5 +310,5 @@ function Te(L) {
|
|
|
308
310
|
);
|
|
309
311
|
}
|
|
310
312
|
export {
|
|
311
|
-
|
|
313
|
+
Ae as default
|
|
312
314
|
};
|
package/transfer/Item.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsxs as C, jsx as a, Fragment as B } from "react/jsx-runtime";
|
|
|
2
2
|
import F from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import H from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
4
4
|
import { useRef as y, useState as m, useEffect as I } from "react";
|
|
5
|
-
import { C as V } from "../chunk/
|
|
6
|
-
import { u as q } from "../chunk/
|
|
7
|
-
import { I as z } from "../chunk/
|
|
5
|
+
import { C as V } from "../chunk/qsVvkBLU.js";
|
|
6
|
+
import { u as q } from "../chunk/Bvxzb1wd.js";
|
|
7
|
+
import { I as z } from "../chunk/BcEZk8pT.js";
|
|
8
8
|
import A from "@unicom-cloud/utils/class-name";
|
|
9
9
|
function te(N) {
|
|
10
10
|
const {
|
package/transfer/List.js
CHANGED
|
@@ -4,9 +4,9 @@ import le from "@unicom-cloud/icons/IconUiSearch";
|
|
|
4
4
|
import E from "lodash/isPlainObject";
|
|
5
5
|
import ie, { useContext as de, useState as S, useEffect as me } from "react";
|
|
6
6
|
import he from "../button/index.js";
|
|
7
|
-
import { C as K } from "../chunk/
|
|
8
|
-
import { a as fe, I as pe } from "../chunk/
|
|
9
|
-
import { u as ue } from "../chunk/
|
|
7
|
+
import { C as K } from "../chunk/qsVvkBLU.js";
|
|
8
|
+
import { a as fe, I as pe } from "../chunk/BcEZk8pT.js";
|
|
9
|
+
import { u as ue } from "../chunk/Bvxzb1wd.js";
|
|
10
10
|
import ge from "../input/Input.js";
|
|
11
11
|
import Ce from "../list/index.js";
|
|
12
12
|
import Ie from "@unicom-cloud/utils/class-name";
|
package/transfer/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import Z from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import ee from "lodash/isPlainObject";
|
|
5
5
|
import te, { useContext as se, useMemo as V } from "react";
|
|
6
6
|
import re from "../button/index.js";
|
|
7
|
-
import { a as ae } from "../chunk/
|
|
7
|
+
import { a as ae } from "../chunk/BcEZk8pT.js";
|
|
8
8
|
import { u as oe } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import { u as w } from "../chunk/2vdCeheu.js";
|
|
10
10
|
import A from "@unicom-cloud/utils/class-name";
|
package/tree/Animation.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "lodash/isNumber";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/BcEZk8pT.js";
|
|
5
5
|
import "../chunk/B--6x-RL.js";
|
|
6
6
|
import "../virtual-list/VirtualList.js";
|
|
7
7
|
import "./Context.js";
|
|
8
|
-
import { a as d } from "../chunk/
|
|
8
|
+
import { a as d } from "../chunk/CgN4U7Ou.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
package/tree/Node.js
CHANGED
|
@@ -5,11 +5,11 @@ import "@unicom-cloud/icons/IconUiFile";
|
|
|
5
5
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
6
6
|
import "lodash/isFunction";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../chunk/
|
|
9
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/qsVvkBLU.js";
|
|
9
|
+
import "../chunk/BcEZk8pT.js";
|
|
10
10
|
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "../utils/throttleByRaf.js";
|
|
12
|
-
import { T } from "../chunk/
|
|
12
|
+
import { T } from "../chunk/CgN4U7Ou.js";
|
|
13
13
|
import "./Context.js";
|
|
14
14
|
export {
|
|
15
15
|
T as default
|
package/tree/NodeList.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as L } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as g, useRef as y, useMemo as p, useImperativeHandle as M, createElement as N } from "react";
|
|
3
3
|
import { s as R } from "../chunk/DE-83rKc.js";
|
|
4
4
|
import V from "../virtual-list/VirtualList.js";
|
|
5
|
-
import { T as D } from "../chunk/
|
|
5
|
+
import { T as D } from "../chunk/CgN4U7Ou.js";
|
|
6
6
|
function b(r) {
|
|
7
7
|
return r.key || r._key;
|
|
8
8
|
}
|
package/tree/Tree.js
CHANGED
|
@@ -5,12 +5,12 @@ import j from "lodash/has";
|
|
|
5
5
|
import Te from "lodash/isArray";
|
|
6
6
|
import Pe from "lodash/isEqualWith";
|
|
7
7
|
import Ae from "lodash/isFunction";
|
|
8
|
-
import { a as Dt } from "../chunk/
|
|
8
|
+
import { a as Dt } from "../chunk/BcEZk8pT.js";
|
|
9
9
|
import { u as Et } from "../chunk/FgWHhRFz.js";
|
|
10
10
|
import Ie from "@unicom-cloud/utils/class-name";
|
|
11
11
|
import { a as Lt } from "../chunk/ClqoGc3r.js";
|
|
12
12
|
import { TreeContext as vt } from "./Context.js";
|
|
13
|
-
import { T as Me } from "../chunk/
|
|
13
|
+
import { T as Me } from "../chunk/CgN4U7Ou.js";
|
|
14
14
|
import wt from "./NodeList.js";
|
|
15
15
|
import { getTreeDataFromTreeChildren as Ot, getCheckedKeysByInitKeys as Tt, getAllCheckedKeysByCheck as Pt } from "./util.js";
|
|
16
16
|
const $e = {
|
package/tree/index.js
CHANGED
package/tree-select/Select.js
CHANGED
|
@@ -5,8 +5,8 @@ import B from "lodash/isArray";
|
|
|
5
5
|
import D from "lodash/isFunction";
|
|
6
6
|
import Ve from "lodash/isNil";
|
|
7
7
|
import { useContext as se, useRef as S, useState as z, useCallback as O, forwardRef as ve, useEffect as ne, useMemo as Pe, useImperativeHandle as Ie } from "react";
|
|
8
|
-
import { a as ce } from "../chunk/
|
|
9
|
-
import { u as Ke } from "../chunk/
|
|
8
|
+
import { a as ce } from "../chunk/BcEZk8pT.js";
|
|
9
|
+
import { u as Ke } from "../chunk/BGJspFG9.js";
|
|
10
10
|
import { u as Oe } from "../chunk/oopARUrq.js";
|
|
11
11
|
import { u as _e } from "../chunk/FgWHhRFz.js";
|
|
12
12
|
import { u as le } from "../chunk/2vdCeheu.js";
|
|
@@ -26,7 +26,7 @@ import xe from "lodash/isPlainObject";
|
|
|
26
26
|
import Ae from "lodash/isUndefined";
|
|
27
27
|
import { normalizeValueToArray as N } from "./util.js";
|
|
28
28
|
import { u as Ne } from "../chunk/8w-ItYb1.js";
|
|
29
|
-
import { T as vt } from "../chunk/
|
|
29
|
+
import { T as vt } from "../chunk/CgN4U7Ou.js";
|
|
30
30
|
const ie = (r, c, l) => {
|
|
31
31
|
const u = {};
|
|
32
32
|
let f = 0;
|
|
@@ -179,7 +179,7 @@ const je = {
|
|
|
179
179
|
e,
|
|
180
180
|
i,
|
|
181
181
|
b
|
|
182
|
-
), T = e.multiple || e.treeCheckable, I = l?.("tree-select"), $ = p && !D(e.onSearch), Q = Ke(`${I}-popup
|
|
182
|
+
), T = e.multiple || e.treeCheckable, I = l?.("tree-select"), $ = p && !D(e.onSearch), Q = Ke(`${I}-popup`), X = (t) => {
|
|
183
183
|
t !== P && (ue(t), e.onVisibleChange?.(t));
|
|
184
184
|
}, M = (t, s) => {
|
|
185
185
|
(t !== w.current || s !== G.current) && (fe(t), w.current = t, G.current = s, me?.(t, s));
|
package/tree-select/index.js
CHANGED
package/trigger/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import xe from "lodash/isArray";
|
|
|
4
4
|
import D from "lodash/isFunction";
|
|
5
5
|
import { forwardRef as io, useContext as so, useRef as L, useState as uo, Children as Me, useCallback as Se, cloneElement as Oe, useImperativeHandle as co, useLayoutEffect as lo, useEffect as g, Fragment as ao } from "react";
|
|
6
6
|
import { createPortal as po } from "react-dom";
|
|
7
|
-
import { a as fo } from "../chunk/
|
|
7
|
+
import { a as fo } from "../chunk/BcEZk8pT.js";
|
|
8
8
|
import R from "@unicom-cloud/utils/class-name";
|
|
9
9
|
import { b as G, o as J, g as mo, i as go, c as ve } from "../chunk/d1c9z8T1.js";
|
|
10
10
|
import { s as yo } from "../chunk/DsaQZE4X.js";
|
|
@@ -15,8 +15,6 @@ import useDeepCompareLayoutEffect from './use-deep-compare-layout-effect';
|
|
|
15
15
|
import useDocumentVisibility from './use-document-visibility';
|
|
16
16
|
import useDrag from './use-drag';
|
|
17
17
|
import useDrop from './use-drop';
|
|
18
|
-
import useDynamicList from './use-dynamic-list';
|
|
19
|
-
import useEventEmitter from './use-event-emitter';
|
|
20
18
|
import useEventListener from './use-event-listener';
|
|
21
19
|
import useEventTarget from './use-event-target';
|
|
22
20
|
import useExternal from './use-external';
|
|
@@ -35,7 +33,6 @@ import useLatest from './use-latest';
|
|
|
35
33
|
import useLocalStorageState from './use-local-storage-state';
|
|
36
34
|
import useLockFn from './use-lock-fn';
|
|
37
35
|
import useLongPress from './use-long-press';
|
|
38
|
-
import useMap from './use-map';
|
|
39
36
|
import useMemoizedFn from './use-memoized-fn';
|
|
40
37
|
import useMount from './use-mount';
|
|
41
38
|
import useMouse from './use-mouse';
|
|
@@ -54,7 +51,6 @@ import useSafeState from './use-safe-state';
|
|
|
54
51
|
import useScroll from './use-scroll';
|
|
55
52
|
import useSelections from './use-selections';
|
|
56
53
|
import useSessionStorageState from './use-session-storage-state';
|
|
57
|
-
import useSet from './use-set';
|
|
58
54
|
import useSetState from './use-set-state';
|
|
59
55
|
import useSize from './use-size';
|
|
60
56
|
import useTextSelection from './use-text-selection';
|
|
@@ -75,4 +71,4 @@ import useUrlState from './use-url-state';
|
|
|
75
71
|
import useVirtualList from './use-virtual-list';
|
|
76
72
|
import useWebSocket from './use-web-socket';
|
|
77
73
|
import useWhyDidYouUpdate from './use-why-did-you-update';
|
|
78
|
-
export { clearCache, configResponsive, createUpdateEffect, useAsyncEffect, useBoolean, useClickAway, useControllableValue, useCookieState, useCountDown, useCounter, useCreation, useDebounce, useDebounceEffect, useDebounceFn, useDeepCompareEffect, useDeepCompareLayoutEffect, useDocumentVisibility, useDrag, useDrop,
|
|
74
|
+
export { clearCache, configResponsive, createUpdateEffect, useAsyncEffect, useBoolean, useClickAway, useControllableValue, useCookieState, useCountDown, useCounter, useCreation, useDebounce, useDebounceEffect, useDebounceFn, useDeepCompareEffect, useDeepCompareLayoutEffect, useDocumentVisibility, useDrag, useDrop, useEventListener, useEventTarget, useExternal, useFavicon, useFocusWithin, useFullscreen, useGetState, useHistoryTravel, useHover, useInfiniteScroll, useInterval, useInViewport, useIsomorphicLayoutEffect, useKeyPress, useLatest, useLocalStorageState, useLockFn, useLongPress, useMemoizedFn, useMount, useMouse, useMutationObserver, useNetwork, usePagination, usePrevious, useRafInterval, useRafState, useRafTimeout, useReactive, useRequest, useResetState, useResponsive, useSafeState, useScroll, useSelections, useSessionStorageState, useSetState, useSize, useTextSelection, useTheme, useThrottle, useThrottleEffect, useThrottleFn, useTimeout, useTitle, useToggle, useTrackedEffect, useUnmount, useUnmountedRef, useUpdate, useUpdateEffect, useUpdateLayoutEffect, useUrlState, useVirtualList, useWebSocket, useWhyDidYouUpdate, };
|
|
@@ -6,5 +6,5 @@ export interface Options {
|
|
|
6
6
|
stringifyOptions?: StringifyOptions;
|
|
7
7
|
}
|
|
8
8
|
type UrlState = Record<string, any>;
|
|
9
|
-
declare const useUrlState: <S extends UrlState = UrlState>(
|
|
9
|
+
declare const useUrlState: <S extends UrlState = UrlState>(baseState?: S | (() => S), options?: Options) => readonly [Partial<{ [key in keyof S]: Required<S>[key] extends any[] ? string[] : string; }>, (this: unknown, s: React.SetStateAction<Partial<{ [key in keyof S]: Required<S>[key] extends any[] ? string[] : string; }>>) => void];
|
|
10
10
|
export default useUrlState;
|
|
@@ -2,7 +2,7 @@ import { KeyboardEventHandler } from 'react';
|
|
|
2
2
|
type CallBackEventType = 'onPressEnter' | 'onArrowUp' | 'onArrowLeft' | 'onArrowRight' | 'onArrowDown';
|
|
3
3
|
declare function useKeyboardEvent(props?: {
|
|
4
4
|
onKeyDown?: KeyboardEventHandler;
|
|
5
|
-
}): (callbacks: { [key in CallBackEventType]?: (e: any) => void; }) => {
|
|
5
|
+
}): (callbacks: { [key in CallBackEventType]?: (e: any, key: any) => void; }) => {
|
|
6
6
|
onKeyDown(e: any): void;
|
|
7
7
|
};
|
|
8
8
|
export default useKeyboardEvent;
|