@unicom-cloud/ui 0.8.109 → 0.8.111
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 +19 -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/{B9YvSTvI.js → BlflTd2i.js} +695 -856
- 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/{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/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 +123 -129
- 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 +470 -470
- 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/index.js +119 -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/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/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/input/Button.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isPlainObject";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../button/index.js";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/BcEZk8pT.js";
|
|
6
6
|
import "../chunk/2vdCeheu.js";
|
|
7
7
|
import "@unicom-cloud/utils/class-name";
|
|
8
8
|
import { InputButton as f } from "./Input.js";
|
package/input/Group.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as u } from "react";
|
|
3
|
-
import { a as x } from "../chunk/
|
|
3
|
+
import { a as x } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import N from "@unicom-cloud/utils/class-name";
|
|
5
5
|
const d = f.forwardRef((s, o) => {
|
|
6
6
|
const { getPrefixCls: r, rtl: a } = u(x), { className: e, style: c, children: m, compact: p, ...l } = s, t = r?.("input-group"), n = N(
|
package/input/Input.js
CHANGED
|
@@ -3,7 +3,7 @@ import He from "lodash/isNil";
|
|
|
3
3
|
import te from "lodash/isPlainObject";
|
|
4
4
|
import _e from "lodash/isString";
|
|
5
5
|
import fe, { useContext as se, useState as oe, useRef as ne, useMemo as ce, useImperativeHandle as $e, useCallback as Ke, useEffect as ye, forwardRef as Ge } from "react";
|
|
6
|
-
import { a as ae, I as je } from "../chunk/
|
|
6
|
+
import { a as ae, I as je } from "../chunk/BcEZk8pT.js";
|
|
7
7
|
import { u as Le } from "../chunk/FgWHhRFz.js";
|
|
8
8
|
import { u as de } from "../chunk/2vdCeheu.js";
|
|
9
9
|
import A from "@unicom-cloud/utils/class-name";
|
|
@@ -22,12 +22,12 @@ import { getDecimal as re } from "../input-number/decimal.js";
|
|
|
22
22
|
import nt from "../input-number/useSelectionRange.js";
|
|
23
23
|
import rt from "@unicom-cloud/icons/IconUiEye";
|
|
24
24
|
import ot from "@unicom-cloud/icons/IconUiEyeInvisible";
|
|
25
|
-
import { u as st } from "../chunk/
|
|
25
|
+
import { u as st } from "../chunk/Bvxzb1wd.js";
|
|
26
26
|
import at from "@unicom-cloud/icons/IconUiLoading";
|
|
27
27
|
import Re from "@unicom-cloud/icons/IconUiSearch";
|
|
28
28
|
import ze from "../input-tag/InputTag.js";
|
|
29
29
|
import it from "@unicom-cloud/icons/IconUiClose";
|
|
30
|
-
import { u as lt } from "../chunk/
|
|
30
|
+
import { u as lt } from "../chunk/CylJZkp8.js";
|
|
31
31
|
import "../chunk/DsaQZE4X.js";
|
|
32
32
|
import ut from "./autoSizeTextAreaHeight.js";
|
|
33
33
|
import ct from "./useComposition.js";
|
package/input/InputElement.js
CHANGED
|
@@ -3,8 +3,8 @@ import Y from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import Z from "lodash/isArray";
|
|
4
4
|
import _ from "lodash/isFunction";
|
|
5
5
|
import ee, { useState as te, useRef as b, useImperativeHandle as oe, useEffect as L } from "react";
|
|
6
|
-
import { u as re } from "../chunk/
|
|
7
|
-
import { I as ne } from "../chunk/
|
|
6
|
+
import { u as re } from "../chunk/Bvxzb1wd.js";
|
|
7
|
+
import { I as ne } from "../chunk/BcEZk8pT.js";
|
|
8
8
|
import O from "@unicom-cloud/utils/class-name";
|
|
9
9
|
import { f as ie } from "../chunk/CftuXmo_.js";
|
|
10
10
|
import "../chunk/DsaQZE4X.js";
|
package/input/Password.js
CHANGED
|
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@unicom-cloud/icons/IconUiEye";
|
|
3
3
|
import "@unicom-cloud/icons/IconUiEyeInvisible";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
6
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/BcEZk8pT.js";
|
|
6
|
+
import "../chunk/Bvxzb1wd.js";
|
|
7
7
|
import "../chunk/2vdCeheu.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
package/input/Search.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiLoading";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiSearch";
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/BcEZk8pT.js";
|
|
7
7
|
import "../chunk/2vdCeheu.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
package/input/Textarea.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
5
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/BcEZk8pT.js";
|
|
5
|
+
import "../chunk/CylJZkp8.js";
|
|
6
6
|
import "../chunk/2vdCeheu.js";
|
|
7
7
|
import "@unicom-cloud/utils/class-name";
|
|
8
8
|
import "../chunk/DsaQZE4X.js";
|
package/input-number/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import "@unicom-cloud/icons/IconUiPlus";
|
|
|
5
5
|
import "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import "lodash/isNumber";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/BcEZk8pT.js";
|
|
9
9
|
import "../chunk/FgWHhRFz.js";
|
|
10
10
|
import { InputNumber as I } from "../input/Input.js";
|
|
11
11
|
import "@unicom-cloud/utils/class-name";
|
package/input-tag/InputTag.js
CHANGED
|
@@ -3,7 +3,7 @@ import Ue from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import { b as Ge } from "../chunk/BJ9_azwQ.js";
|
|
4
4
|
import de from "lodash/isArray";
|
|
5
5
|
import me, { useContext as qe, useRef as $, useState as Xe, useImperativeHandle as Ye, useMemo as Je, useEffect as Qe } from "react";
|
|
6
|
-
import { a as Ze, I as eo } from "../chunk/
|
|
6
|
+
import { a as Ze, I as eo } from "../chunk/BcEZk8pT.js";
|
|
7
7
|
import oo from "../draggable/index.js";
|
|
8
8
|
import { u as to } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import { u as ie } from "../chunk/2vdCeheu.js";
|
package/layout/Content.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f, useContext as i } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
3
|
+
import { a as l } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import p from "@unicom-cloud/utils/class-name";
|
|
5
5
|
function C(t, o) {
|
|
6
6
|
const { className: s, children: e, ...n } = t, { getPrefixCls: a } = i(l), r = a?.("layout-content"), m = p(r, s);
|
package/layout/Footer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as l } from "react";
|
|
3
|
-
import { a as i } from "../chunk/
|
|
3
|
+
import { a as i } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import p from "@unicom-cloud/utils/class-name";
|
|
5
5
|
function u(o, t) {
|
|
6
6
|
const { className: e, children: s, ...r } = o, { getPrefixCls: a } = l(i), m = a?.("layout-footer"), n = p(m, e);
|
package/layout/Header.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f, useContext as l } from "react";
|
|
3
|
-
import { a as i } from "../chunk/
|
|
3
|
+
import { a as i } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import d from "@unicom-cloud/utils/class-name";
|
|
5
5
|
function p(e, a) {
|
|
6
6
|
const { getPrefixCls: s } = l(i), { className: o, children: r, ...t } = e, m = s?.("layout-header"), n = d(m, o);
|
package/layout/Sider.js
CHANGED
|
@@ -4,7 +4,7 @@ import _ from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import K from "lodash/isArray";
|
|
5
5
|
import C from "lodash/isNumber";
|
|
6
6
|
import { createContext as X, forwardRef as Y, useContext as Z, useState as ee, useRef as B, useEffect as I, useMemo as re } from "react";
|
|
7
|
-
import { a as oe } from "../chunk/
|
|
7
|
+
import { a as oe } from "../chunk/BcEZk8pT.js";
|
|
8
8
|
import { u as te } from "../chunk/2vdCeheu.js";
|
|
9
9
|
import ie from "../resize-box/index.js";
|
|
10
10
|
import M from "@unicom-cloud/utils/class-name";
|
package/layout/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import m from "lodash/get";
|
|
3
3
|
import i, { forwardRef as N, useContext as _, useState as F } from "react";
|
|
4
|
-
import { a as H } from "../chunk/
|
|
4
|
+
import { a as H } from "../chunk/BcEZk8pT.js";
|
|
5
5
|
import { u as P } from "../chunk/FgWHhRFz.js";
|
|
6
6
|
import R from "@unicom-cloud/utils/class-name";
|
|
7
7
|
import h from "./Content.js";
|
package/link/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as b, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import g from "@unicom-cloud/icons/IconUiLink";
|
|
3
3
|
import { forwardRef as v, useContext as y } from "react";
|
|
4
|
-
import { a as N } from "../chunk/
|
|
5
|
-
import { u as L } from "../chunk/
|
|
4
|
+
import { a as N } from "../chunk/BcEZk8pT.js";
|
|
5
|
+
import { u as L } from "../chunk/Bvxzb1wd.js";
|
|
6
6
|
import { u as P } from "../chunk/FgWHhRFz.js";
|
|
7
7
|
import w from "@unicom-cloud/utils/class-name";
|
|
8
8
|
const K = {
|
package/liquid-fill/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as nt, useRef as $, useState as V, useEffect as D } from "react";
|
|
3
|
-
import { a as st } from "../chunk/
|
|
3
|
+
import { a as st } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
5
|
import "../chunk/CdXR6dj7.js";
|
|
6
6
|
import "@unicom-cloud/utils/js-cookie";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "lodash/debounce";
|
|
9
9
|
import { u as mt } from "../chunk/DfChiMIE.js";
|
|
10
|
-
import "../chunk/BTLlOOe9.js";
|
|
11
10
|
import "@unicom-cloud/utils/screenfull";
|
|
11
|
+
import "../chunk/BDgzrqDN.js";
|
|
12
12
|
import "lodash/throttle";
|
|
13
13
|
import "@unicom-cloud/utils/constant/platform";
|
|
14
14
|
import "lodash/isPlainObject";
|
|
@@ -19,13 +19,9 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
19
19
|
import "lodash/isNumber";
|
|
20
20
|
import "lodash/merge";
|
|
21
21
|
import "../chunk/d1c9z8T1.js";
|
|
22
|
-
import "../chunk/RjJoagzL.js";
|
|
23
|
-
import { u as lt } from "../chunk/FgWHhRFz.js";
|
|
24
|
-
import "../chunk/CXrVhA6-.js";
|
|
25
|
-
import "@unicom-cloud/utils/constant";
|
|
26
22
|
import "@unicom-cloud/utils/date";
|
|
27
23
|
import "@unicom-cloud/utils/case-name";
|
|
28
|
-
import
|
|
24
|
+
import lt from "@unicom-cloud/utils/class-name";
|
|
29
25
|
import "@unicom-cloud/utils/constant/ui";
|
|
30
26
|
import "@unicom-cloud/utils/clipboard-copy";
|
|
31
27
|
import "../chunk/DS_deHpN.js";
|
|
@@ -48,17 +44,23 @@ import "lodash/startCase";
|
|
|
48
44
|
import "lodash/uniq";
|
|
49
45
|
import "lodash/upperFirst";
|
|
50
46
|
import "@unicom-cloud/utils/math";
|
|
47
|
+
import "@unicom-cloud/utils/mitt";
|
|
48
|
+
import "@unicom-cloud/utils/pinyin";
|
|
51
49
|
import "../chunk/BJ9_azwQ.js";
|
|
52
|
-
import "../
|
|
50
|
+
import "../chunk/CXrVhA6-.js";
|
|
53
51
|
import "@unicom-cloud/utils/file/saveAs";
|
|
52
|
+
import "@unicom-cloud/utils/constant/ui.js";
|
|
54
53
|
import "@unicom-cloud/utils/tinycolor";
|
|
55
54
|
import "@unicom-cloud/utils/ui-color";
|
|
56
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
57
55
|
import "react-is";
|
|
58
56
|
import "@unicom-cloud/utils/tree";
|
|
59
|
-
import { isNumber as
|
|
57
|
+
import { isNumber as ct } from "@unicom-cloud/utils/is";
|
|
60
58
|
import { v4 as A } from "uuid";
|
|
61
59
|
import "../chunk/hc_ufgVf.js";
|
|
60
|
+
import "../chunk/RjJoagzL.js";
|
|
61
|
+
import { u as pt } from "../chunk/FgWHhRFz.js";
|
|
62
|
+
import "@unicom-cloud/utils/constant";
|
|
63
|
+
import "../utils/responsiveObserve.js";
|
|
62
64
|
const dt = {
|
|
63
65
|
value: 0.5,
|
|
64
66
|
size: 200,
|
|
@@ -76,8 +78,8 @@ const dt = {
|
|
|
76
78
|
decimalPlaces: 0,
|
|
77
79
|
percentFontScale: 0.5,
|
|
78
80
|
waveSpeedVariation: 0.5
|
|
79
|
-
},
|
|
80
|
-
const { getPrefixCls: I, componentConfig: _ } = nt(st), i = I?.("liquid-fill"), H =
|
|
81
|
+
}, be = (E) => {
|
|
82
|
+
const { getPrefixCls: I, componentConfig: _ } = nt(st), i = I?.("liquid-fill"), H = pt(
|
|
81
83
|
E,
|
|
82
84
|
dt,
|
|
83
85
|
_?.LiquidFill
|
|
@@ -166,7 +168,7 @@ const dt = {
|
|
|
166
168
|
}), [B]), /* @__PURE__ */ a(
|
|
167
169
|
"div",
|
|
168
170
|
{
|
|
169
|
-
className:
|
|
171
|
+
className: lt(i, Y),
|
|
170
172
|
style: {
|
|
171
173
|
width: n,
|
|
172
174
|
height: n,
|
|
@@ -239,7 +241,7 @@ const dt = {
|
|
|
239
241
|
"tspan",
|
|
240
242
|
{
|
|
241
243
|
style: {
|
|
242
|
-
fontSize: `calc(${
|
|
244
|
+
fontSize: `calc(${ct(h) ? h + "px" : h} * ${tt})`
|
|
243
245
|
},
|
|
244
246
|
className: `${i}-text-tspan`,
|
|
245
247
|
alignmentBaseline: "middle",
|
|
@@ -257,5 +259,5 @@ const dt = {
|
|
|
257
259
|
);
|
|
258
260
|
};
|
|
259
261
|
export {
|
|
260
|
-
|
|
262
|
+
be as default
|
|
261
263
|
};
|
package/list/Item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import m, { useContext as L } from "react";
|
|
3
|
-
import { a as M } from "../chunk/
|
|
3
|
+
import { a as M } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import { u as P } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import R from "@unicom-cloud/utils/class-name";
|
|
6
6
|
import p from "./Meta.js";
|
package/list/Meta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as N } from "react";
|
|
3
|
-
import { a as C } from "../chunk/
|
|
3
|
+
import { a as C } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import h from "@unicom-cloud/utils/class-name";
|
|
5
5
|
function v(r, n) {
|
|
6
6
|
const { getPrefixCls: c } = N(C), { className: l, avatar: i, title: s, description: e, ...m } = r, t = `${c?.("list")}-item-meta`, d = !!i, f = !!(s || e);
|
package/list/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as N, Fragment as Rt } from "react/jsx-runtime";
|
|
|
2
2
|
import Y, { useContext as jt, useRef as h, useState as j, useImperativeHandle as xt, useCallback as Dt, createElement as Ft } from "react";
|
|
3
3
|
import Mt from "lodash/isArray";
|
|
4
4
|
import At from "lodash/throttle";
|
|
5
|
-
import { a as Ht } from "../chunk/
|
|
5
|
+
import { a as Ht } from "../chunk/BcEZk8pT.js";
|
|
6
6
|
import { u as Tt } from "../chunk/FgWHhRFz.js";
|
|
7
7
|
import Bt from "../pagination/Pagination.js";
|
|
8
8
|
import J from "../row-col/index.js";
|
package/loading/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d, useContext as g, useMemo as u } from "react";
|
|
3
|
-
import { a as A } from "../chunk/
|
|
3
|
+
import { a as A } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
5
|
import "../chunk/CdXR6dj7.js";
|
|
6
6
|
import "@unicom-cloud/utils/js-cookie";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "lodash/debounce";
|
|
9
|
-
import "../chunk/BTLlOOe9.js";
|
|
10
9
|
import "@unicom-cloud/utils/screenfull";
|
|
10
|
+
import "../chunk/BDgzrqDN.js";
|
|
11
11
|
import "lodash/throttle";
|
|
12
12
|
import "@unicom-cloud/utils/constant/platform";
|
|
13
13
|
import "lodash/isPlainObject";
|
|
@@ -18,20 +18,56 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
18
18
|
import "lodash/isNumber";
|
|
19
19
|
import "lodash/merge";
|
|
20
20
|
import "../chunk/d1c9z8T1.js";
|
|
21
|
-
import "
|
|
22
|
-
import
|
|
21
|
+
import "@unicom-cloud/utils/date";
|
|
22
|
+
import "@unicom-cloud/utils/case-name";
|
|
23
|
+
import E from "@unicom-cloud/utils/class-name";
|
|
24
|
+
import "@unicom-cloud/utils/constant/ui";
|
|
25
|
+
import "@unicom-cloud/utils/clipboard-copy";
|
|
26
|
+
import "../chunk/DS_deHpN.js";
|
|
27
|
+
import "@unicom-cloud/utils/file/fileToURL";
|
|
28
|
+
import "lodash/escapeRegExp";
|
|
29
|
+
import "lodash/isArray";
|
|
30
|
+
import "lodash/isString";
|
|
31
|
+
import "lodash/isFunction";
|
|
32
|
+
import "lodash/camelCase";
|
|
33
|
+
import "lodash/capitalize";
|
|
34
|
+
import "lodash/cloneDeep";
|
|
35
|
+
import "lodash/get";
|
|
36
|
+
import "lodash/has";
|
|
37
|
+
import "lodash/kebabCase";
|
|
38
|
+
import "lodash/mergeWith";
|
|
39
|
+
import "lodash/set";
|
|
40
|
+
import "lodash/setWith";
|
|
41
|
+
import "lodash/snakeCase";
|
|
42
|
+
import "lodash/startCase";
|
|
43
|
+
import "lodash/uniq";
|
|
44
|
+
import "lodash/upperFirst";
|
|
45
|
+
import "@unicom-cloud/utils/math";
|
|
46
|
+
import "@unicom-cloud/utils/mitt";
|
|
47
|
+
import "@unicom-cloud/utils/pinyin";
|
|
48
|
+
import "../chunk/BJ9_azwQ.js";
|
|
23
49
|
import "../chunk/CXrVhA6-.js";
|
|
50
|
+
import "@unicom-cloud/utils/file/saveAs";
|
|
51
|
+
import "@unicom-cloud/utils/constant/ui.js";
|
|
52
|
+
import "@unicom-cloud/utils/tinycolor";
|
|
53
|
+
import "@unicom-cloud/utils/ui-color";
|
|
54
|
+
import "react-is";
|
|
55
|
+
import "@unicom-cloud/utils/tree";
|
|
56
|
+
import "@unicom-cloud/utils/is";
|
|
57
|
+
import "uuid";
|
|
58
|
+
import "../chunk/hc_ufgVf.js";
|
|
59
|
+
import "../chunk/RjJoagzL.js";
|
|
60
|
+
import { u as I } from "../chunk/FgWHhRFz.js";
|
|
24
61
|
import "@unicom-cloud/utils/constant";
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
const { getPrefixCls: c, componentConfig: l, rtl: a } = g(A), f = E(
|
|
62
|
+
const v = ["#FF5F57", "#FEBC2E", "#28C840"], i = 50, o = i / 2, S = 4, t = 7, e = 12, T = "0.7s", w = "0.5 0 0.5 1;0.5 0 0.5 1", D = (n, M) => {
|
|
63
|
+
const { getPrefixCls: c, componentConfig: l, rtl: a } = g(A), f = I(
|
|
28
64
|
n,
|
|
29
65
|
{},
|
|
30
66
|
l?.Loading
|
|
31
|
-
), { colors: r = v, style: x, className: $, ...O } = f,
|
|
67
|
+
), { colors: r = v, style: x, className: $, ...O } = f, s = c?.("mentions"), C = u(
|
|
32
68
|
() => [
|
|
33
69
|
{
|
|
34
|
-
cx: o -
|
|
70
|
+
cx: o - e,
|
|
35
71
|
fill: r[0],
|
|
36
72
|
values: `${o + t};${o};${o + t}`
|
|
37
73
|
},
|
|
@@ -41,35 +77,35 @@ const v = ["#FF5F57", "#FEBC2E", "#28C840"], i = 50, o = i / 2, S = 4, t = 7, p
|
|
|
41
77
|
values: `${o - t};${o};${o - t}`
|
|
42
78
|
},
|
|
43
79
|
{
|
|
44
|
-
cx: o +
|
|
80
|
+
cx: o + e,
|
|
45
81
|
fill: r[2],
|
|
46
82
|
values: `${o + t};${o};${o + t}`
|
|
47
83
|
}
|
|
48
84
|
],
|
|
49
85
|
[r]
|
|
50
86
|
);
|
|
51
|
-
return /* @__PURE__ */
|
|
87
|
+
return /* @__PURE__ */ p(
|
|
52
88
|
"svg",
|
|
53
89
|
{
|
|
54
90
|
style: { ...x },
|
|
55
|
-
className:
|
|
91
|
+
className: E(`${s}`, !!a && `${s}-rtl`, $),
|
|
56
92
|
xmlns: "http://www.w3.org/2000/svg",
|
|
57
93
|
width: `${i}px`,
|
|
58
94
|
height: `${i}px`,
|
|
59
95
|
viewBox: `0 0 ${i} ${i}`,
|
|
60
96
|
preserveAspectRatio: "xMidYMid",
|
|
61
|
-
children: C.map((
|
|
97
|
+
children: C.map((m, N) => /* @__PURE__ */ p(
|
|
62
98
|
"circle",
|
|
63
99
|
{
|
|
64
|
-
cx:
|
|
100
|
+
cx: m.cx,
|
|
65
101
|
cy: o,
|
|
66
102
|
r: S,
|
|
67
|
-
fill:
|
|
68
|
-
children: /* @__PURE__ */
|
|
103
|
+
fill: m.fill,
|
|
104
|
+
children: /* @__PURE__ */ p(
|
|
69
105
|
"animate",
|
|
70
106
|
{
|
|
71
107
|
attributeName: "cy",
|
|
72
|
-
values:
|
|
108
|
+
values: m.values,
|
|
73
109
|
dur: T,
|
|
74
110
|
calcMode: "spline",
|
|
75
111
|
keySplines: w,
|
package/marquee/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as s, Fragment as rt, jsxs as H } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as it, useContext as ot, useState as C, useRef as j, useCallback as A, useEffect as O, useMemo as h, Fragment as nt, Children as B } from "react";
|
|
3
|
-
import { a as at } from "../chunk/
|
|
3
|
+
import { a as at } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
5
|
import "../chunk/CdXR6dj7.js";
|
|
6
6
|
import "@unicom-cloud/utils/js-cookie";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "lodash/debounce";
|
|
9
|
-
import "../chunk/BTLlOOe9.js";
|
|
10
9
|
import "@unicom-cloud/utils/screenfull";
|
|
10
|
+
import "../chunk/BDgzrqDN.js";
|
|
11
11
|
import "lodash/throttle";
|
|
12
12
|
import "@unicom-cloud/utils/constant/platform";
|
|
13
13
|
import "lodash/isPlainObject";
|
|
@@ -18,13 +18,9 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
18
18
|
import "lodash/isNumber";
|
|
19
19
|
import st from "lodash/merge";
|
|
20
20
|
import "../chunk/d1c9z8T1.js";
|
|
21
|
-
import "../chunk/RjJoagzL.js";
|
|
22
|
-
import { u as mt } from "../chunk/FgWHhRFz.js";
|
|
23
|
-
import "../chunk/CXrVhA6-.js";
|
|
24
|
-
import "@unicom-cloud/utils/constant";
|
|
25
21
|
import "@unicom-cloud/utils/date";
|
|
26
22
|
import "@unicom-cloud/utils/case-name";
|
|
27
|
-
import
|
|
23
|
+
import mt from "@unicom-cloud/utils/class-name";
|
|
28
24
|
import "@unicom-cloud/utils/constant/ui";
|
|
29
25
|
import "@unicom-cloud/utils/clipboard-copy";
|
|
30
26
|
import "../chunk/DS_deHpN.js";
|
|
@@ -47,18 +43,24 @@ import "lodash/startCase";
|
|
|
47
43
|
import "lodash/uniq";
|
|
48
44
|
import "lodash/upperFirst";
|
|
49
45
|
import "@unicom-cloud/utils/math";
|
|
46
|
+
import "@unicom-cloud/utils/mitt";
|
|
47
|
+
import "@unicom-cloud/utils/pinyin";
|
|
50
48
|
import "../chunk/BJ9_azwQ.js";
|
|
51
|
-
import
|
|
52
|
-
import "../
|
|
49
|
+
import "../chunk/CXrVhA6-.js";
|
|
50
|
+
import { r as lt } from "../chunk/B8W1N4er.js";
|
|
53
51
|
import "@unicom-cloud/utils/file/saveAs";
|
|
52
|
+
import "@unicom-cloud/utils/constant/ui.js";
|
|
54
53
|
import "@unicom-cloud/utils/tinycolor";
|
|
55
54
|
import "@unicom-cloud/utils/ui-color";
|
|
56
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
57
55
|
import "react-is";
|
|
58
56
|
import "@unicom-cloud/utils/tree";
|
|
59
|
-
import { isPlainObject as
|
|
57
|
+
import { isPlainObject as pt } from "@unicom-cloud/utils/is";
|
|
60
58
|
import "uuid";
|
|
61
59
|
import "../chunk/hc_ufgVf.js";
|
|
60
|
+
import "../chunk/RjJoagzL.js";
|
|
61
|
+
import { u as ct } from "../chunk/FgWHhRFz.js";
|
|
62
|
+
import "@unicom-cloud/utils/constant";
|
|
63
|
+
import "../utils/responsiveObserve.js";
|
|
62
64
|
const o = {
|
|
63
65
|
autoFill: !1,
|
|
64
66
|
play: !0,
|
|
@@ -69,9 +71,9 @@ const o = {
|
|
|
69
71
|
delay: 0.0227,
|
|
70
72
|
// 设置非 0 为了解决 onAnimationEnd={onFinish} 立即被调用的问题
|
|
71
73
|
loop: 0
|
|
72
|
-
},
|
|
74
|
+
}, qe = it(
|
|
73
75
|
function(E, I) {
|
|
74
|
-
const { getPrefixCls: z, componentConfig: V } = ot(at), i = z?.("marquee"), t = z?.("marquee-var"), _ =
|
|
76
|
+
const { getPrefixCls: z, componentConfig: V } = ot(at), i = z?.("marquee"), t = z?.("marquee-var"), _ = ct(
|
|
75
77
|
E,
|
|
76
78
|
o,
|
|
77
79
|
V?.Marquee
|
|
@@ -93,7 +95,7 @@ const o = {
|
|
|
93
95
|
children: g
|
|
94
96
|
} = _, L = e === "left" || e === "right";
|
|
95
97
|
let r = G;
|
|
96
|
-
r === !0 && (r = {}),
|
|
98
|
+
r === !0 && (r = {}), pt(r) && (r = st(
|
|
97
99
|
{ size: L ? 50 : 20, color: "#fff" },
|
|
98
100
|
r
|
|
99
101
|
));
|
|
@@ -109,7 +111,7 @@ const o = {
|
|
|
109
111
|
O(() => {
|
|
110
112
|
if (!N) return;
|
|
111
113
|
d();
|
|
112
|
-
const n =
|
|
114
|
+
const n = lt(
|
|
113
115
|
[l.current, u.current],
|
|
114
116
|
d
|
|
115
117
|
);
|
|
@@ -166,7 +168,7 @@ const o = {
|
|
|
166
168
|
{
|
|
167
169
|
ref: l,
|
|
168
170
|
style: Z,
|
|
169
|
-
className:
|
|
171
|
+
className: mt(i, `${i}-${e}`, D),
|
|
170
172
|
children: [
|
|
171
173
|
!!r && /* @__PURE__ */ s("div", { style: tt, className: `${i}-overlay` }),
|
|
172
174
|
/* @__PURE__ */ H(
|
|
@@ -204,5 +206,5 @@ const o = {
|
|
|
204
206
|
}
|
|
205
207
|
);
|
|
206
208
|
export {
|
|
207
|
-
|
|
209
|
+
qe as default
|
|
208
210
|
};
|
package/marquee-/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as z, jsx as l, Fragment as x } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as V, useRef as C, useState as u, useEffect as F } from "react";
|
|
3
|
-
import { a as Z } from "../chunk/
|
|
3
|
+
import { a as Z } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
5
|
import "../chunk/CdXR6dj7.js";
|
|
6
6
|
import "@unicom-cloud/utils/js-cookie";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "lodash/debounce";
|
|
9
|
-
import "../chunk/BTLlOOe9.js";
|
|
10
9
|
import "@unicom-cloud/utils/screenfull";
|
|
10
|
+
import "../chunk/BDgzrqDN.js";
|
|
11
11
|
import "lodash/throttle";
|
|
12
12
|
import "@unicom-cloud/utils/constant/platform";
|
|
13
13
|
import "lodash/isPlainObject";
|
|
@@ -18,13 +18,9 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
18
18
|
import "lodash/isNumber";
|
|
19
19
|
import _ from "lodash/merge";
|
|
20
20
|
import "../chunk/d1c9z8T1.js";
|
|
21
|
-
import "../chunk/RjJoagzL.js";
|
|
22
|
-
import { u as tt } from "../chunk/FgWHhRFz.js";
|
|
23
|
-
import "../chunk/CXrVhA6-.js";
|
|
24
|
-
import "@unicom-cloud/utils/constant";
|
|
25
21
|
import "@unicom-cloud/utils/date";
|
|
26
22
|
import "@unicom-cloud/utils/case-name";
|
|
27
|
-
import
|
|
23
|
+
import tt from "@unicom-cloud/utils/class-name";
|
|
28
24
|
import "@unicom-cloud/utils/constant/ui";
|
|
29
25
|
import "@unicom-cloud/utils/clipboard-copy";
|
|
30
26
|
import "../chunk/DS_deHpN.js";
|
|
@@ -47,25 +43,31 @@ import "lodash/startCase";
|
|
|
47
43
|
import "lodash/uniq";
|
|
48
44
|
import "lodash/upperFirst";
|
|
49
45
|
import "@unicom-cloud/utils/math";
|
|
46
|
+
import "@unicom-cloud/utils/mitt";
|
|
47
|
+
import "@unicom-cloud/utils/pinyin";
|
|
50
48
|
import "../chunk/BJ9_azwQ.js";
|
|
51
|
-
import
|
|
52
|
-
import "../
|
|
49
|
+
import "../chunk/CXrVhA6-.js";
|
|
50
|
+
import { r as et } from "../chunk/B8W1N4er.js";
|
|
53
51
|
import "@unicom-cloud/utils/file/saveAs";
|
|
52
|
+
import "@unicom-cloud/utils/constant/ui.js";
|
|
54
53
|
import "@unicom-cloud/utils/tinycolor";
|
|
55
54
|
import "@unicom-cloud/utils/ui-color";
|
|
56
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
57
55
|
import "react-is";
|
|
58
56
|
import "@unicom-cloud/utils/tree";
|
|
59
57
|
import { isPlainObject as q } from "@unicom-cloud/utils/is";
|
|
60
58
|
import "uuid";
|
|
61
59
|
import "../chunk/hc_ufgVf.js";
|
|
60
|
+
import "../chunk/RjJoagzL.js";
|
|
61
|
+
import { u as rt } from "../chunk/FgWHhRFz.js";
|
|
62
|
+
import "@unicom-cloud/utils/constant";
|
|
63
|
+
import "../utils/responsiveObserve.js";
|
|
62
64
|
const ot = {
|
|
63
65
|
speed: 50,
|
|
64
66
|
direction: "left",
|
|
65
67
|
pauseOnHover: !1,
|
|
66
68
|
loop: 0
|
|
67
|
-
},
|
|
68
|
-
const { getPrefixCls: L, componentConfig: D } = V(Z), s = L?.("marquee"), E =
|
|
69
|
+
}, ue = (R) => {
|
|
70
|
+
const { getPrefixCls: L, componentConfig: D } = V(Z), s = L?.("marquee"), E = rt(
|
|
69
71
|
R,
|
|
70
72
|
ot,
|
|
71
73
|
D?.Marquee
|
|
@@ -99,7 +101,7 @@ const ot = {
|
|
|
99
101
|
F(() => {
|
|
100
102
|
const r = g.current;
|
|
101
103
|
if (!r) return;
|
|
102
|
-
const t =
|
|
104
|
+
const t = et([r], O);
|
|
103
105
|
return () => t();
|
|
104
106
|
}, []), F(() => {
|
|
105
107
|
O(), v(0);
|
|
@@ -189,7 +191,7 @@ const ot = {
|
|
|
189
191
|
{
|
|
190
192
|
ref: g,
|
|
191
193
|
style: W,
|
|
192
|
-
className:
|
|
194
|
+
className: tt(
|
|
193
195
|
s,
|
|
194
196
|
`${s}-${m}`,
|
|
195
197
|
j
|
|
@@ -257,5 +259,5 @@ const ot = {
|
|
|
257
259
|
);
|
|
258
260
|
};
|
|
259
261
|
export {
|
|
260
|
-
|
|
262
|
+
ue as default
|
|
261
263
|
};
|
package/mentions/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as M, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import q, { useContext as z, useRef as h, useState as G, useEffect as J } from "react";
|
|
3
|
-
import { a as Q } from "../chunk/
|
|
3
|
+
import { a as Q } from "../chunk/BcEZk8pT.js";
|
|
4
4
|
import { u as X } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import { u as Y } from "../chunk/2vdCeheu.js";
|
|
6
6
|
import Z from "../input/Input.js";
|