@unicom-cloud/ui 0.8.111 → 0.8.113
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 +3 -3
- package/Alert.js +1 -1
- package/AutoComplete.js +1 -1
- package/BackTop.js +1 -1
- 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 +2 -2
- 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 +3 -47
- package/Countdown.js +9 -43
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +7 -43
- 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 +8 -44
- package/Form.js +1 -1
- 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 +1 -1
- package/LiquidFill.js +9 -44
- package/List.js +1 -1
- package/Loading.js +7 -43
- package/Marquee.js +10 -33
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +6 -42
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +7 -44
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +12 -13
- package/Segmented.js +8 -43
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +8 -44
- 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 +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +10 -46
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +2 -2
- package/affix/index.js +3 -3
- 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 +1 -1
- 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 +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +2 -2
- 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/{Y_GQsZUt.js → 3t4FwEoB.js} +1 -1
- package/chunk/{Lyh0cz3R.js → BHAu6wbC.js} +1 -1
- package/chunk/{CgN4U7Ou.js → Bcl7dWlJ.js} +2 -2
- package/chunk/Bl3hZtxi.js +51 -0
- package/chunk/{n1tirBXA.js → Bzx5BueA.js} +4 -4
- package/chunk/CAA93JLq.js +6 -0
- package/chunk/{B8W1N4er.js → CHQ8c547.js} +11 -10
- package/chunk/CVMFAeSw.js +39 -0
- package/chunk/{BcEZk8pT.js → CYDaUML7.js} +73 -104
- package/chunk/{Dbw0YUY1.js → CbXCgtzv.js} +48 -82
- package/chunk/{BDgzrqDN.js → ClNkxEcR.js} +5 -5
- package/chunk/{BlflTd2i.js → CwLSam2p.js} +433 -470
- package/chunk/Cy26_CKq.js +33 -0
- package/chunk/D0dVE1v1.js +1839 -0
- package/chunk/{CFyN9Eio.js → DA5AMZwY.js} +4 -4
- package/chunk/{DSqW_efI.js → DB0hUIM1.js} +152 -156
- package/chunk/{BUNoUPLs.js → De8RLlOK.js} +1 -1
- package/chunk/{qsVvkBLU.js → DrYaod6k.js} +1 -1
- package/chunk/{BeHcDey_.js → DzlfiVe2.js} +1 -1
- package/chunk/gJsdBcpG.js +10 -0
- package/chunk/{BnUWOu3_.js → yWKJUe_w.js} +3 -3
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/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 +22 -66
- package/countdown/index.js +34 -68
- 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 +39 -75
- 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 +30 -64
- package/form/Form.js +2 -2
- package/form/FormItem.js +1 -1
- package/form/index.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +81 -81
- package/hooks/useId.js +1 -1
- package/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/hooks/useResizeObserver.js +15 -2
- package/hooks/useStateWithPromise.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 +2 -2
- package/image/ImagePreview.js +10 -45
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +215 -215
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +2 -2
- package/input/InputElement.js +2 -2
- package/input/Password.js +1 -1
- 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 +1 -1
- package/liquid-fill/index.js +49 -84
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +19 -55
- package/marquee/index.js +58 -81
- package/marquee-/index.js +60 -83
- package/mentions/index.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +2 -2
- package/notice/index.js +6 -42
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +2 -2
- package/overflow-ellipsis/index.js +2 -2
- package/package.json +1 -1
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/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 +1 -1
- package/progress/index.js +1 -1
- package/qr-code/index.js +19 -56
- 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 +2 -2
- 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/index.js +6333 -78
- package/rich-text/lib/diff/index.d.ts +21 -0
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +71 -74
- package/row-col/Row.js +1 -1
- package/segmented/index.js +111 -146
- package/select/Option.js +44 -41
- package/select/Select.js +11 -13
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +1 -1
- package/space/index.js +16 -52
- 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 +3 -3
- 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 +18 -7
- package/table/index.js +77 -120
- 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 +1 -1
- 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 +71 -107
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- 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 +3 -3
- package/tree-select/index.js +1 -1
- package/trigger/index.js +2 -2
- package/types/common/hooks/src/use-size/index.d.ts +1 -1
- package/types/common/hooks/src/utils/isBrowser.d.ts +1 -1
- package/types/common/hooks/useResizeObserver.d.ts +1 -5
- package/types/common/hooks/useStateWithPromise.d.ts +1 -1
- package/types/common/hooks/useWindowSize.d.ts +1 -1
- package/types/common/utils/dom.d.ts +12 -0
- package/types/common/utils/emitter.d.ts +1 -0
- package/types/pc/carousel/interface.d.ts +2 -2
- package/types/pc/color-picker/Panel.d.ts +1 -1
- package/types/pc/date-picker/RangePicker.d.ts +1 -1
- package/types/pc/index.d.ts +2 -2
- package/types/pc/list/interface.d.ts +2 -2
- package/types/pc/rich-text/index.d.ts +7 -4
- package/types/pc/rich-text/interface.d.ts +3 -2
- package/types/pc/rich-text/{blots → lib/blots}/scroll.d.ts +2 -8
- package/types/pc/rich-text/{core → lib/core}/editor.d.ts +1 -1
- package/types/pc/rich-text/{core → lib/core}/emitter.d.ts +2 -3
- package/types/pc/rich-text/{core → lib/core}/rich.d.ts +14 -51
- package/types/pc/rich-text/{core → lib/core}/selection.d.ts +2 -8
- package/types/pc/rich-text/{core → lib/core}/theme.d.ts +3 -0
- package/types/pc/rich-text/{core.d.ts → lib/core.d.ts} +1 -1
- package/types/pc/rich-text/lib/delta/AttributeMap.d.ts +15 -0
- package/types/pc/rich-text/lib/delta/Op.d.ts +13 -0
- package/types/pc/rich-text/lib/delta/OpIterator.d.ts +14 -0
- package/types/pc/rich-text/lib/delta/index.d.ts +53 -0
- package/types/pc/rich-text/lib/diff/index.d.ts +40 -0
- package/types/pc/rich-text/{formats → lib/formats}/bold.d.ts +1 -1
- package/types/pc/rich-text/{formats → lib/formats}/font.d.ts +1 -1
- package/types/pc/rich-text/lib/formats/hr.d.ts +5 -0
- package/types/pc/rich-text/lib/formats/image-resize/index.d.ts +27 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/BaseModule.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/DisplaySize.d.ts +5 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/Resize.d.ts +13 -0
- package/types/pc/rich-text/lib/formats/image-resize/options.d.ts +7 -0
- package/types/pc/rich-text/lib/formats/liOl.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/liUl.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/lineHeight.d.ts +3 -0
- package/types/pc/rich-text/{formats → lib/formats}/list.d.ts +1 -0
- package/types/pc/rich-text/{formats → lib/formats}/table.d.ts +3 -3
- package/types/pc/rich-text/{modules → lib/modules}/clipboard.d.ts +2 -2
- package/types/pc/rich-text/{modules → lib/modules}/history.d.ts +1 -1
- package/types/pc/rich-text/{modules → lib/modules}/keyboard.d.ts +1 -1
- package/types/pc/rich-text/{modules → lib/modules}/syntax.d.ts +2 -2
- package/types/pc/rich-text/{modules → lib/modules}/tableEmbed.d.ts +3 -3
- package/types/pc/rich-text/{modules → lib/modules}/toolbar.d.ts +1 -1
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/attributor.d.ts +3 -3
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/style.d.ts +2 -2
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/parent.d.ts +2 -4
- package/types/pc/rich-text/{themes → lib/themes}/base.d.ts +3 -0
- package/types/pc/rich-text/{themes/snow.d.ts → lib/themes/pqb.d.ts} +2 -2
- package/types/pc/rich-text/{ui → lib/ui}/icons.d.ts +5 -1
- package/types/pc/rich-text/{ui → lib/ui}/picker.d.ts +1 -0
- package/types/pc/rich-text/{ui → lib/ui}/tooltip.d.ts +2 -0
- package/types/pc/tabs/hook/useDomSize.d.ts +2 -2
- package/types/pc/tabs/hook/useHeaderScroll.d.ts +2 -2
- package/types/pc/tree-select/hook/useStateValue.d.ts +2 -2
- package/types/pc/utils/date.d.ts +1 -0
- package/types/pc/utils/emitter.d.ts +1 -0
- package/types/pc/utils/index.d.ts +2 -2
- package/typography/Base.js +2 -2
- package/typography/Ellipsis.js +70 -114
- package/typography/Operations.js +29 -74
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/date.js +1 -0
- package/utils/emitter.js +5 -0
- package/utils/index.js +70 -70
- package/utils/resizeObserver.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +218 -217
- package/watermark/Watermark.js +1 -1
- package/chunk/BDMqvmVH.js +0 -4239
- package/chunk/BG6j6Ct7.js +0 -30
- package/chunk/BGJspFG9.js +0 -56
- package/chunk/B_c0gPsX.js +0 -83
- package/chunk/COsRZOz1.js +0 -1813
- package/chunk/CylJZkp8.js +0 -6
- package/chunk/Di5KBCVQ.js +0 -4
- package/chunk/cW_5U6dL.js +0 -28
- package/rich-text/core.js +0 -11
- package/rich-text/rich.js +0 -1877
- package/types/common/utils/index.d.ts +0 -47
- package/types/common/utils/keyboardCode.d.ts +0 -4
- package/types/common/utils/math.d.ts +0 -1
- package/types/common/utils/mitt.d.ts +0 -1
- package/types/common/utils/reactTransitionGroup.d.ts +0 -1
- package/types/common/utils/uuid.d.ts +0 -1
- package/types/common/utils/validate.d.ts +0 -1
- package/types/pc/rich-text/delta/AttributeMap.d.ts +0 -10
- package/types/pc/rich-text/delta/Op.d.ts +0 -11
- package/types/pc/rich-text/delta/OpIterator.d.ts +0 -13
- package/types/pc/rich-text/delta/index.d.ts +0 -45
- package/types/pc/rich-text/themes/bubble.d.ts +0 -18
- package/types/pc/utils/mitt.d.ts +0 -1
- package/utils/mitt.js +0 -5
- package/types/common/hooks/src/utils/{index.d.ts → is.d.ts} +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/block.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/break.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/container.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/cursor.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/embed.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/inline.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/text.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/composition.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/instances.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/logger.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/module.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/utils/createRegistryWithFormats.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/utils/scrollRectIntoView.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/align.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/background.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/blockquote.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/code.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/color.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/direction.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/formula.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/header.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/image.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/indent.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/italic.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/link.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/script.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/size.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/strike.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/underline.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/video.d.ts +0 -0
- package/types/pc/rich-text/{rich.d.ts → lib/index.d.ts} +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/input.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/index.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/table.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/uiNode.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/uploader.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/class.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/store.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/blot.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/container.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/leaf.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/shadow.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/block.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/embed.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/inline.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/scroll.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/text.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-list.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-node.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/error.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/index.d.ts +1 -1
- /package/types/pc/rich-text/{parchment → lib/parchment}/registry.d.ts +0 -0
- /package/types/pc/rich-text/{parchment → lib/parchment}/scope.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/color-picker.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/icon-picker.d.ts +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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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";
|
|
@@ -27,7 +27,7 @@ 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/CAA93JLq.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
|
@@ -4,12 +4,12 @@ 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
6
|
import { u as re } from "../chunk/Bvxzb1wd.js";
|
|
7
|
-
import { I as ne } from "../chunk/
|
|
7
|
+
import { I as ne } from "../chunk/CYDaUML7.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";
|
|
11
11
|
import { o as ae } from "../chunk/BKKEev13.js";
|
|
12
|
-
import { r as se } from "../chunk/
|
|
12
|
+
import { r as se } from "../chunk/CHQ8c547.js";
|
|
13
13
|
import le from "./useComposition.js";
|
|
14
14
|
import { isPlainObject as p } from "@unicom-cloud/utils/is";
|
|
15
15
|
const ue = 2, ce = (o) => {
|
package/input/Password.js
CHANGED
|
@@ -2,7 +2,7 @@ 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/
|
|
5
|
+
import "../chunk/CYDaUML7.js";
|
|
6
6
|
import "../chunk/Bvxzb1wd.js";
|
|
7
7
|
import "../chunk/2vdCeheu.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
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/CYDaUML7.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/CYDaUML7.js";
|
|
5
|
+
import "../chunk/CAA93JLq.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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,7 +1,7 @@
|
|
|
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/
|
|
4
|
+
import { a as N } from "../chunk/CYDaUML7.js";
|
|
5
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";
|
package/liquid-fill/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { a as
|
|
2
|
+
import { useContext as ne, useRef as $, useState as V, useEffect as D } from "react";
|
|
3
|
+
import { a as se } from "../chunk/CYDaUML7.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
|
+
import "@unicom-cloud/utils/constant/platform";
|
|
5
6
|
import "../chunk/CdXR6dj7.js";
|
|
6
7
|
import "@unicom-cloud/utils/js-cookie";
|
|
7
8
|
import "dayjs";
|
|
8
9
|
import "lodash/debounce";
|
|
9
|
-
import { u as
|
|
10
|
+
import { u as le } from "../chunk/DfChiMIE.js";
|
|
10
11
|
import "@unicom-cloud/utils/screenfull";
|
|
11
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/ClNkxEcR.js";
|
|
12
13
|
import "lodash/throttle";
|
|
13
|
-
import "@unicom-cloud/utils/constant/platform";
|
|
14
14
|
import "lodash/isPlainObject";
|
|
15
15
|
import "@unicom-cloud/utils/query-string";
|
|
16
16
|
import "react-router";
|
|
@@ -19,49 +19,14 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
19
19
|
import "lodash/isNumber";
|
|
20
20
|
import "lodash/merge";
|
|
21
21
|
import "../chunk/d1c9z8T1.js";
|
|
22
|
-
import "@unicom-cloud/utils/date";
|
|
23
|
-
import "@unicom-cloud/utils/case-name";
|
|
24
|
-
import lt from "@unicom-cloud/utils/class-name";
|
|
25
|
-
import "@unicom-cloud/utils/constant/ui";
|
|
26
|
-
import "@unicom-cloud/utils/clipboard-copy";
|
|
27
|
-
import "../chunk/DS_deHpN.js";
|
|
28
|
-
import "@unicom-cloud/utils/file/fileToURL";
|
|
29
|
-
import "lodash/escapeRegExp";
|
|
30
|
-
import "lodash/isArray";
|
|
31
|
-
import "lodash/isString";
|
|
32
|
-
import "lodash/isFunction";
|
|
33
|
-
import "lodash/camelCase";
|
|
34
|
-
import "lodash/capitalize";
|
|
35
|
-
import "lodash/cloneDeep";
|
|
36
|
-
import "lodash/get";
|
|
37
|
-
import "lodash/has";
|
|
38
|
-
import "lodash/kebabCase";
|
|
39
|
-
import "lodash/mergeWith";
|
|
40
|
-
import "lodash/set";
|
|
41
|
-
import "lodash/setWith";
|
|
42
|
-
import "lodash/snakeCase";
|
|
43
|
-
import "lodash/startCase";
|
|
44
|
-
import "lodash/uniq";
|
|
45
|
-
import "lodash/upperFirst";
|
|
46
|
-
import "@unicom-cloud/utils/math";
|
|
47
|
-
import "@unicom-cloud/utils/mitt";
|
|
48
|
-
import "@unicom-cloud/utils/pinyin";
|
|
49
|
-
import "../chunk/BJ9_azwQ.js";
|
|
50
|
-
import "../chunk/CXrVhA6-.js";
|
|
51
|
-
import "@unicom-cloud/utils/file/saveAs";
|
|
52
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
53
|
-
import "@unicom-cloud/utils/tinycolor";
|
|
54
|
-
import "@unicom-cloud/utils/ui-color";
|
|
55
|
-
import "react-is";
|
|
56
|
-
import "@unicom-cloud/utils/tree";
|
|
57
|
-
import { isNumber as ct } from "@unicom-cloud/utils/is";
|
|
58
|
-
import { v4 as A } from "uuid";
|
|
59
|
-
import "../chunk/hc_ufgVf.js";
|
|
60
22
|
import "../chunk/RjJoagzL.js";
|
|
61
|
-
import { u as
|
|
23
|
+
import { u as ce } from "../chunk/FgWHhRFz.js";
|
|
24
|
+
import "../chunk/CXrVhA6-.js";
|
|
62
25
|
import "@unicom-cloud/utils/constant";
|
|
63
|
-
import "
|
|
64
|
-
|
|
26
|
+
import me from "@unicom-cloud/utils/class-name";
|
|
27
|
+
import { v4 as A } from "uuid";
|
|
28
|
+
import { isNumber as pe } from "@unicom-cloud/utils/is";
|
|
29
|
+
const de = {
|
|
65
30
|
value: 0.5,
|
|
66
31
|
size: 200,
|
|
67
32
|
waveColor: "rgb(var(--pqb-blue-6))",
|
|
@@ -78,10 +43,10 @@ const dt = {
|
|
|
78
43
|
decimalPlaces: 0,
|
|
79
44
|
percentFontScale: 0.5,
|
|
80
45
|
waveSpeedVariation: 0.5
|
|
81
|
-
},
|
|
82
|
-
const { getPrefixCls: I, componentConfig: _ } =
|
|
46
|
+
}, Ve = (E) => {
|
|
47
|
+
const { getPrefixCls: I, componentConfig: _ } = ne(se), i = I?.("liquid-fill"), H = ce(
|
|
83
48
|
E,
|
|
84
|
-
|
|
49
|
+
de,
|
|
85
50
|
_?.LiquidFill
|
|
86
51
|
), {
|
|
87
52
|
style: U,
|
|
@@ -94,7 +59,7 @@ const dt = {
|
|
|
94
59
|
textColor: J,
|
|
95
60
|
showPercent: K,
|
|
96
61
|
duration: y,
|
|
97
|
-
waveCount:
|
|
62
|
+
waveCount: m,
|
|
98
63
|
waveAmplitude: Q,
|
|
99
64
|
borderColor: G,
|
|
100
65
|
borderWidth: v,
|
|
@@ -102,7 +67,7 @@ const dt = {
|
|
|
102
67
|
outerBorderWidth: g,
|
|
103
68
|
borderGap: X,
|
|
104
69
|
decimalPlaces: Z,
|
|
105
|
-
percentFontScale:
|
|
70
|
+
percentFontScale: ee,
|
|
106
71
|
waveSpeedVariation: B
|
|
107
72
|
} = H, d = $({
|
|
108
73
|
clipPath: A(),
|
|
@@ -111,64 +76,64 @@ const dt = {
|
|
|
111
76
|
// 波浪渐变ID
|
|
112
77
|
bgGradient: A()
|
|
113
78
|
// 背景渐变ID
|
|
114
|
-
}).current,
|
|
79
|
+
}).current, te = $(null), t = $({
|
|
115
80
|
fill: 0,
|
|
116
81
|
// 填充动画ID
|
|
117
82
|
wave: 0,
|
|
118
83
|
// 波浪动画ID
|
|
119
84
|
startTime: 0
|
|
120
85
|
// 动画开始时间
|
|
121
|
-
}).current, [C, M] = V(0), [
|
|
122
|
-
if (typeof
|
|
123
|
-
const { from: s, to:
|
|
86
|
+
}).current, [C, M] = V(0), [re, z] = V([]), S = n / 2 - g / 2, k = S - g / 2 - X - v / 2, l = k - v / 2, r = n / 2, R = l * 2, oe = R * (C / 100) + v / 2, T = (o, e) => {
|
|
87
|
+
if (typeof e == "string") return null;
|
|
88
|
+
const { from: s, to: c, direction: p = "vertical" } = e;
|
|
124
89
|
return /* @__PURE__ */ x("linearGradient", { id: o, x1: "0%", y1: "0%", x2: p === "horizontal" ? "100%" : "0%", y2: p === "horizontal" ? "0%" : "100%", children: [
|
|
125
90
|
/* @__PURE__ */ a("stop", { offset: "0%", stopColor: s }),
|
|
126
|
-
/* @__PURE__ */ a("stop", { offset: "100%", stopColor:
|
|
91
|
+
/* @__PURE__ */ a("stop", { offset: "100%", stopColor: c })
|
|
127
92
|
] });
|
|
128
|
-
}, L = (o,
|
|
129
|
-
const
|
|
93
|
+
}, L = (o, e) => typeof o == "string" ? o : `url(#${e})`, ie = (o, e, s) => {
|
|
94
|
+
const c = [], w = r - l, j = r + l;
|
|
130
95
|
for (let u = 0; u <= 30; u++) {
|
|
131
96
|
const f = w + u / 30 * R, P = Math.min(
|
|
132
|
-
r +
|
|
133
|
-
o * Math.sin((f - w) *
|
|
134
|
-
r +
|
|
97
|
+
r + l - oe + // 这里原来是减去 waterHeight,现在直接使用 waterHeight
|
|
98
|
+
o * Math.sin((f - w) * e + s),
|
|
99
|
+
r + l
|
|
135
100
|
);
|
|
136
|
-
|
|
101
|
+
c.push([f, P]);
|
|
137
102
|
}
|
|
138
|
-
return
|
|
139
|
-
},
|
|
140
|
-
const s = Q * (
|
|
103
|
+
return c.push([j, r + l]), c.push([w, r + l]), c.map(([u, f], P) => `${P === 0 ? "M" : "L"}${u} ${f}`).join(" ");
|
|
104
|
+
}, ae = () => Array.from({ length: m }).map((o, e) => {
|
|
105
|
+
const s = Q * (m - e) / m, c = 0.02 * (e + 1), p = re[e] || 0;
|
|
141
106
|
return /* @__PURE__ */ a(
|
|
142
107
|
"path",
|
|
143
108
|
{
|
|
144
109
|
className: `${i}-path`,
|
|
145
|
-
d:
|
|
110
|
+
d: ie(s, c, p),
|
|
146
111
|
fill: L(N, d.waveGradient),
|
|
147
|
-
fillOpacity: 0.3 + 0.7 /
|
|
112
|
+
fillOpacity: 0.3 + 0.7 / m * e
|
|
148
113
|
},
|
|
149
|
-
|
|
114
|
+
e
|
|
150
115
|
);
|
|
151
116
|
}), b = () => {
|
|
152
117
|
z(
|
|
153
118
|
(o) => o.map(
|
|
154
|
-
(
|
|
119
|
+
(e, s) => e + 0.02 * (s + 1) * (1 + B * Math.random())
|
|
155
120
|
)
|
|
156
|
-
), C < 100 && (
|
|
121
|
+
), C < 100 && (t.wave = requestAnimationFrame(b));
|
|
157
122
|
}, O = (o) => {
|
|
158
|
-
|
|
159
|
-
const
|
|
160
|
-
M(s),
|
|
123
|
+
t.startTime || (t.startTime = o);
|
|
124
|
+
const e = o - t.startTime, s = Math.min(e / y, 1) * F * 100;
|
|
125
|
+
M(s), e < y && (t.fill = requestAnimationFrame(O));
|
|
161
126
|
};
|
|
162
127
|
return D(() => {
|
|
163
|
-
z(Array.from({ length:
|
|
164
|
-
}, [
|
|
165
|
-
cancelAnimationFrame(
|
|
166
|
-
}), [F, y,
|
|
167
|
-
cancelAnimationFrame(
|
|
128
|
+
z(Array.from({ length: m }, (o, e) => e * Math.PI));
|
|
129
|
+
}, [m]), D(() => (cancelAnimationFrame(t.fill), cancelAnimationFrame(t.wave), t.startTime = 0, M(0), t.fill = requestAnimationFrame(O), t.wave = requestAnimationFrame(b), () => {
|
|
130
|
+
cancelAnimationFrame(t.fill), cancelAnimationFrame(t.wave);
|
|
131
|
+
}), [F, y, m]), le(() => (cancelAnimationFrame(t.wave), t.wave = requestAnimationFrame(b), () => {
|
|
132
|
+
cancelAnimationFrame(t.wave);
|
|
168
133
|
}), [B]), /* @__PURE__ */ a(
|
|
169
134
|
"div",
|
|
170
135
|
{
|
|
171
|
-
className:
|
|
136
|
+
className: me(i, Y),
|
|
172
137
|
style: {
|
|
173
138
|
width: n,
|
|
174
139
|
height: n,
|
|
@@ -178,7 +143,7 @@ const dt = {
|
|
|
178
143
|
"svg",
|
|
179
144
|
{
|
|
180
145
|
className: `${i}-svg`,
|
|
181
|
-
ref:
|
|
146
|
+
ref: te,
|
|
182
147
|
width: n,
|
|
183
148
|
height: n,
|
|
184
149
|
viewBox: `0 0 ${n} ${n}`,
|
|
@@ -193,7 +158,7 @@ const dt = {
|
|
|
193
158
|
className: `${i}-clipPath-circle`,
|
|
194
159
|
cx: r,
|
|
195
160
|
cy: r,
|
|
196
|
-
r:
|
|
161
|
+
r: l
|
|
197
162
|
}
|
|
198
163
|
) })
|
|
199
164
|
] }),
|
|
@@ -222,7 +187,7 @@ const dt = {
|
|
|
222
187
|
strokeWidth: v
|
|
223
188
|
}
|
|
224
189
|
),
|
|
225
|
-
/* @__PURE__ */ a("g", { className: `${i}-g`, clipPath: `url(#${d.clipPath})`, children:
|
|
190
|
+
/* @__PURE__ */ a("g", { className: `${i}-g`, clipPath: `url(#${d.clipPath})`, children: ae() }),
|
|
226
191
|
K && /* @__PURE__ */ x(
|
|
227
192
|
"text",
|
|
228
193
|
{
|
|
@@ -241,7 +206,7 @@ const dt = {
|
|
|
241
206
|
"tspan",
|
|
242
207
|
{
|
|
243
208
|
style: {
|
|
244
|
-
fontSize: `calc(${
|
|
209
|
+
fontSize: `calc(${pe(h) ? h + "px" : h} * ${ee})`
|
|
245
210
|
},
|
|
246
211
|
className: `${i}-text-tspan`,
|
|
247
212
|
alignmentBaseline: "middle",
|
|
@@ -259,5 +224,5 @@ const dt = {
|
|
|
259
224
|
);
|
|
260
225
|
};
|
|
261
226
|
export {
|
|
262
|
-
|
|
227
|
+
Ve as default
|
|
263
228
|
};
|
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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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,15 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } 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/CYDaUML7.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
|
+
import "@unicom-cloud/utils/constant/platform";
|
|
5
6
|
import "../chunk/CdXR6dj7.js";
|
|
6
7
|
import "@unicom-cloud/utils/js-cookie";
|
|
7
8
|
import "dayjs";
|
|
8
9
|
import "lodash/debounce";
|
|
9
10
|
import "@unicom-cloud/utils/screenfull";
|
|
10
|
-
import "../chunk/
|
|
11
|
+
import "../chunk/ClNkxEcR.js";
|
|
11
12
|
import "lodash/throttle";
|
|
12
|
-
import "@unicom-cloud/utils/constant/platform";
|
|
13
13
|
import "lodash/isPlainObject";
|
|
14
14
|
import "@unicom-cloud/utils/query-string";
|
|
15
15
|
import "react-router";
|
|
@@ -18,56 +18,20 @@ import "@unicom-cloud/utils/constant/keyboardCode";
|
|
|
18
18
|
import "lodash/isNumber";
|
|
19
19
|
import "lodash/merge";
|
|
20
20
|
import "../chunk/d1c9z8T1.js";
|
|
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";
|
|
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
21
|
import "../chunk/RjJoagzL.js";
|
|
60
|
-
import { u as
|
|
22
|
+
import { u as E } from "../chunk/FgWHhRFz.js";
|
|
23
|
+
import "../chunk/CXrVhA6-.js";
|
|
61
24
|
import "@unicom-cloud/utils/constant";
|
|
62
|
-
|
|
63
|
-
|
|
25
|
+
import I from "@unicom-cloud/utils/class-name";
|
|
26
|
+
const v = ["#FF5F57", "#FEBC2E", "#28C840"], i = 50, o = i / 2, S = 4, t = 7, p = 12, T = "0.7s", w = "0.5 0 0.5 1;0.5 0 0.5 1", D = (n, M) => {
|
|
27
|
+
const { getPrefixCls: c, componentConfig: l, rtl: a } = g(A), f = E(
|
|
64
28
|
n,
|
|
65
29
|
{},
|
|
66
30
|
l?.Loading
|
|
67
|
-
), { colors: r = v, style: x, className: $, ...O } = f,
|
|
31
|
+
), { colors: r = v, style: x, className: $, ...O } = f, m = c?.("mentions"), C = u(
|
|
68
32
|
() => [
|
|
69
33
|
{
|
|
70
|
-
cx: o -
|
|
34
|
+
cx: o - p,
|
|
71
35
|
fill: r[0],
|
|
72
36
|
values: `${o + t};${o};${o + t}`
|
|
73
37
|
},
|
|
@@ -77,35 +41,35 @@ const v = ["#FF5F57", "#FEBC2E", "#28C840"], i = 50, o = i / 2, S = 4, t = 7, e
|
|
|
77
41
|
values: `${o - t};${o};${o - t}`
|
|
78
42
|
},
|
|
79
43
|
{
|
|
80
|
-
cx: o +
|
|
44
|
+
cx: o + p,
|
|
81
45
|
fill: r[2],
|
|
82
46
|
values: `${o + t};${o};${o + t}`
|
|
83
47
|
}
|
|
84
48
|
],
|
|
85
49
|
[r]
|
|
86
50
|
);
|
|
87
|
-
return /* @__PURE__ */
|
|
51
|
+
return /* @__PURE__ */ e(
|
|
88
52
|
"svg",
|
|
89
53
|
{
|
|
90
54
|
style: { ...x },
|
|
91
|
-
className:
|
|
55
|
+
className: I(`${m}`, !!a && `${m}-rtl`, $),
|
|
92
56
|
xmlns: "http://www.w3.org/2000/svg",
|
|
93
57
|
width: `${i}px`,
|
|
94
58
|
height: `${i}px`,
|
|
95
59
|
viewBox: `0 0 ${i} ${i}`,
|
|
96
60
|
preserveAspectRatio: "xMidYMid",
|
|
97
|
-
children: C.map((
|
|
61
|
+
children: C.map((s, N) => /* @__PURE__ */ e(
|
|
98
62
|
"circle",
|
|
99
63
|
{
|
|
100
|
-
cx:
|
|
64
|
+
cx: s.cx,
|
|
101
65
|
cy: o,
|
|
102
66
|
r: S,
|
|
103
|
-
fill:
|
|
104
|
-
children: /* @__PURE__ */
|
|
67
|
+
fill: s.fill,
|
|
68
|
+
children: /* @__PURE__ */ e(
|
|
105
69
|
"animate",
|
|
106
70
|
{
|
|
107
71
|
attributeName: "cy",
|
|
108
|
-
values:
|
|
72
|
+
values: s.values,
|
|
109
73
|
dur: T,
|
|
110
74
|
calcMode: "spline",
|
|
111
75
|
keySplines: w,
|