@unicom-cloud/ui 0.8.112 → 0.8.114
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 +2 -2
- package/AutoComplete.js +1 -1
- package/BackTop.js +3 -3
- package/Badge.js +2 -2
- 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 +3 -47
- package/Countdown.js +17 -51
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +15 -51
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +2 -2
- package/Empty.js +1 -1
- package/Flex.js +16 -52
- 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 +17 -52
- package/List.js +1 -1
- package/Loading.js +15 -51
- package/Marquee.js +24 -46
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +14 -50
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +16 -53
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +2 -2
- package/Result.js +1 -1
- package/RichText.js +12 -13
- package/Segmented.js +16 -51
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +16 -52
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +18 -54
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +2 -2
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +3 -3
- 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 +3 -3
- package/badge/Count.js +1 -1
- package/badge/index.js +2 -2
- 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 +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/{BiZSULcr.js → BGb_jT2S.js} +640 -672
- package/chunk/{C6A94b7f.js → BcWPf1id.js} +1 -1
- package/chunk/BcdTSJks.js +48 -0
- package/chunk/{CrOzsnI0.js → Bl3hZtxi.js} +1 -1
- package/chunk/{RjJoagzL.js → CEAeR6xB.js} +1 -1
- package/chunk/{Cx92e1S8.js → CKojyqln.js} +5 -5
- package/chunk/{C3kH2ES3.js → CRgtPpMG.js} +1 -1
- package/chunk/CVMFAeSw.js +39 -0
- package/chunk/{0BhDjhcd.js → CVjWKHBo.js} +1 -1
- package/chunk/{DfbO4QTS.js → CYPFoLks.js} +4 -4
- package/chunk/{BfVlSL8A.js → Ch4iApRQ.js} +4 -4
- package/chunk/ClNkxEcR.js +154 -0
- package/chunk/{CYssV-zz.js → Cs9GrNJa.js} +66 -100
- package/chunk/{DfUcAhyT.js → CwLSam2p.js} +2 -2
- package/chunk/CxbF1opI.js +231 -0
- package/chunk/Cy26_CKq.js +33 -0
- package/chunk/{CRdegvoa.js → D3F0iWPu.js} +1 -1
- package/chunk/{CylbdYce.js → D6I1_o6O.js} +1 -1
- package/chunk/{CtCFA4ht.js → DPDyV8yt.js} +4 -4
- package/chunk/{B--6x-RL.js → DQ8_XXrH.js} +1 -1
- package/chunk/{hc_ufgVf.js → DmHIX8hU.js} +166 -121
- package/chunk/{C1vY8016.js → DstheLSK.js} +79 -110
- package/chunk/{KPBMJlOB.js → HFPyZ48d.js} +37 -35
- package/chunk/{DhAvt6tJ.js → efH9HX0H.js} +3 -3
- package/chunk/exc7v_Hl.js +53 -0
- package/chunk/gJsdBcpG.js +10 -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 +22 -66
- package/countdown/index.js +42 -76
- 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 +47 -83
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +89 -93
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +1 -1
- package/flex/index.js +38 -72
- package/form/Control.js +115 -103
- package/form/Form.js +2 -2
- package/form/FormItem.js +2 -2
- package/form/index.js +1 -1
- package/form/promisify.js +10 -19
- package/form/store.js +3 -3
- package/form/util.js +62 -52
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +9 -9
- package/hooks/useId.js +1 -1
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useResizeObserver.js +7 -50
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useWatermark.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/addFromIconFontCn.js +1 -1
- package/icon/index.js +2 -2
- package/icon-hover/index.js +1 -1
- package/icons/file.js +1 -1
- package/image/Image.js +3 -3
- package/image/ImagePreview.js +18 -53
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +703 -690
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +2 -2
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/autoSizeTextAreaHeight.js +29 -20
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +2 -2
- 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 +57 -92
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +27 -63
- package/locale/en-US.js +5 -3
- package/locale/tr-TR.js +5 -3
- package/marquee/index.js +71 -93
- package/marquee-/index.js +74 -96
- package/mentions/index.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +2 -2
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +5 -5
- package/modal/index.js +2 -2
- package/notice/index.js +14 -50
- package/notification/index.js +2 -2
- 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 +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/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 +1243 -92
- 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 +2 -2
- package/resize-box/index.js +2 -2
- package/result/index.js +1 -1
- package/rich-text/index.js +6332 -77
- package/rich-text/lib/diff/index.d.ts +21 -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 +126 -161
- package/select/Option.js +44 -41
- package/select/Select.js +10 -12
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +2 -2
- package/slider/index.js +2 -2
- package/space/index.js +24 -60
- 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 +2 -2
- package/table/Table.js +14 -53
- 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 +81 -117
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- 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/getPopupStyle.js +1 -1
- package/trigger/index.js +145 -145
- package/types/common/hooks/src/use-theme/index.d.ts +2 -2
- package/types/common/hooks/useStateWithPromise.d.ts +1 -1
- package/types/common/hooks/useWindowSize.d.ts +4 -4
- package/types/common/utils/dom.d.ts +13 -1
- package/types/common/utils/lodash.d.ts +2 -1
- package/types/common/utils/reactDOM.d.ts +10 -1
- package/types/common/utils/validate.d.ts +2 -1
- 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/form/interface.d.ts +6 -1
- package/types/pc/form/promisify.d.ts +5 -0
- package/types/pc/form/store.d.ts +1 -1
- package/types/pc/form/util.d.ts +1 -1
- package/types/pc/index.d.ts +1 -1
- package/types/pc/input/autoSizeTextAreaHeight.d.ts +4 -2
- package/types/pc/list/interface.d.ts +2 -2
- package/types/pc/menu/context.d.ts +1 -1
- package/types/pc/qr-code/examples/demo.d.ts +1 -0
- package/types/pc/qr-code/examples/download.d.ts +2 -0
- package/types/pc/qr-code/examples/full.d.ts +2 -0
- package/types/pc/qr-code/examples/image.d.ts +2 -0
- package/types/pc/qr-code/index.d.ts +2 -0
- package/types/pc/qr-code/src/index.d.ts +116 -0
- package/types/pc/qr-code/src/qrcodegen.d.ts +95 -0
- package/types/pc/qr-code/src/qrcodegen2.d.ts +325 -0
- 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/{core → lib/core}/editor.d.ts +1 -1
- package/types/pc/rich-text/{core → lib/core}/rich.d.ts +3 -7
- package/types/pc/rich-text/{core → lib/core}/selection.d.ts +1 -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/{ui → lib/ui}/icons.d.ts +5 -1
- package/types/pc/rich-text/{ui → lib/ui}/picker.d.ts +1 -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/index.d.ts +2 -2
- package/types/pc/utils/validate.d.ts +1 -1
- package/typography/Base.js +1 -1
- 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/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +2 -2
- package/upload/Uploader.js +1 -1
- package/upload/request_.js +1972 -41
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/date.js +1 -0
- package/utils/dom.js +1 -1
- package/utils/index.js +248 -236
- package/utils/lodash.js +33 -32
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/validate.js +15 -5
- 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/BCmfDFV4.js +0 -4237
- package/chunk/BG6j6Ct7.js +0 -30
- package/chunk/C5CbL5ku.js +0 -56
- package/chunk/CXrVhA6-.js +0 -54
- package/chunk/DMv8Hn4u.js +0 -231
- package/chunk/DsuIQH0F.js +0 -200
- package/chunk/d1c9z8T1.js +0 -49
- package/chunk/vP3qfmKM.js +0 -84
- package/rich-text/core.js +0 -11
- package/rich-text/rich.js +0 -1347
- 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/reactTransitionGroup.d.ts +0 -1
- package/types/common/utils/uuid.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/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}/scroll.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}/emitter.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}/theme.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/parent.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/{themes → lib/themes}/base.d.ts +0 -0
- /package/types/pc/rich-text/{themes → lib/themes}/pqb.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/types/pc/rich-text/{ui → lib/ui}/tooltip.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Block from '../blots/block.js';
|
|
2
|
+
import type Scroll from '../blots/scroll.js';
|
|
3
|
+
declare class ListItem extends Block {
|
|
4
|
+
static create(value: string): HTMLElement;
|
|
5
|
+
static formats(domNode: HTMLElement): string;
|
|
6
|
+
static register(): void;
|
|
7
|
+
constructor(scroll: Scroll, domNode: HTMLElement);
|
|
8
|
+
format(name: string, value: string): void;
|
|
9
|
+
}
|
|
10
|
+
export { ListItem as default };
|
|
@@ -2,6 +2,7 @@ import Block from '../blots/block.js';
|
|
|
2
2
|
import Container from '../blots/container.js';
|
|
3
3
|
import type Scroll from '../blots/scroll.js';
|
|
4
4
|
declare class ListContainer extends Container {
|
|
5
|
+
static create(value: string): HTMLElement;
|
|
5
6
|
}
|
|
6
7
|
declare class ListItem extends Block {
|
|
7
8
|
static create(value: string): HTMLElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Block from '../blots/block.js';
|
|
2
2
|
import Container from '../blots/container.js';
|
|
3
|
-
import type { LinkedList } from '../parchment';
|
|
3
|
+
import type { LinkedList } from '../parchment/index.js';
|
|
4
4
|
declare class TableCell extends Block {
|
|
5
5
|
static blotName: string;
|
|
6
6
|
static tagName: string;
|
|
@@ -11,7 +11,7 @@ declare class TableCell extends Block {
|
|
|
11
11
|
format(name: string, value: string): void;
|
|
12
12
|
row(): TableRow;
|
|
13
13
|
rowOffset(): number;
|
|
14
|
-
table(): import("../parchment").Parent;
|
|
14
|
+
table(): import("../parchment/index.js").Parent;
|
|
15
15
|
}
|
|
16
16
|
declare class TableRow extends Container {
|
|
17
17
|
static blotName: string;
|
|
@@ -23,7 +23,7 @@ declare class TableRow extends Container {
|
|
|
23
23
|
[key: string]: any;
|
|
24
24
|
}): void;
|
|
25
25
|
rowOffset(): number;
|
|
26
|
-
table(): import("../parchment").Parent;
|
|
26
|
+
table(): import("../parchment/index.js").Parent;
|
|
27
27
|
}
|
|
28
28
|
declare class TableBody extends Container {
|
|
29
29
|
static blotName: string;
|
|
@@ -2,8 +2,8 @@ import type { EmitterSource } from '../core/emitter.js';
|
|
|
2
2
|
import Module from '../core/module.js';
|
|
3
3
|
import Rich from '../core/rich.js';
|
|
4
4
|
import type { Range } from '../core/selection.js';
|
|
5
|
-
import Delta from '../delta';
|
|
6
|
-
import type { ScrollBlot } from '../parchment';
|
|
5
|
+
import Delta from '../delta/index.js';
|
|
6
|
+
import type { ScrollBlot } from '../parchment/index.js';
|
|
7
7
|
type Selector = string | Node['TEXT_NODE'] | Node['ELEMENT_NODE'];
|
|
8
8
|
type Matcher = (node: Node, delta: Delta, scroll: ScrollBlot) => Delta;
|
|
9
9
|
interface ClipboardOptions {
|
|
@@ -2,7 +2,7 @@ import type Scroll from '../blots/scroll.js';
|
|
|
2
2
|
import Module from '../core/module.js';
|
|
3
3
|
import Rich from '../core/rich.js';
|
|
4
4
|
import type { Range } from '../core/selection.js';
|
|
5
|
-
import type Delta from '../delta';
|
|
5
|
+
import type Delta from '../delta/index.js';
|
|
6
6
|
export interface HistoryOptions {
|
|
7
7
|
userOnly: boolean;
|
|
8
8
|
delay: number;
|
|
@@ -2,7 +2,7 @@ import type { BlockEmbed } from '../blots/block.js';
|
|
|
2
2
|
import Module from '../core/module.js';
|
|
3
3
|
import Rich from '../core/rich.js';
|
|
4
4
|
import type { Range } from '../core/selection.js';
|
|
5
|
-
import type { BlockBlot } from '../parchment';
|
|
5
|
+
import type { BlockBlot } from '../parchment/index.js';
|
|
6
6
|
declare const SHORTKEY: string;
|
|
7
7
|
export interface Context {
|
|
8
8
|
collapsed: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Inline from '../blots/inline.js';
|
|
2
2
|
import Module from '../core/module.js';
|
|
3
3
|
import Rich from '../core/rich.js';
|
|
4
|
-
import Delta from '../delta';
|
|
4
|
+
import Delta from '../delta/index.js';
|
|
5
5
|
import CodeBlock, { CodeBlockContainer } from '../formats/code.js';
|
|
6
|
-
import type { Blot, ScrollBlot } from '../parchment';
|
|
6
|
+
import type { Blot, ScrollBlot } from '../parchment/index.js';
|
|
7
7
|
declare class CodeToken extends Inline {
|
|
8
8
|
static formats(node: Element, scroll: ScrollBlot): any;
|
|
9
9
|
constructor(scroll: ScrollBlot, domNode: Node, value: unknown);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Module from '../core/module.js';
|
|
2
|
-
import type {
|
|
3
|
-
import Delta from '../delta';
|
|
2
|
+
import type { OpProps } from '../delta/index.js';
|
|
3
|
+
import Delta from '../delta/index.js';
|
|
4
4
|
export type CellData = {
|
|
5
5
|
content?: Delta['ops'];
|
|
6
6
|
attributes?: Record<string, unknown>;
|
|
7
7
|
};
|
|
8
|
-
export type TableRowColumnOp = Omit<
|
|
8
|
+
export type TableRowColumnOp = Omit<OpProps, 'insert'> & {
|
|
9
9
|
insert?: {
|
|
10
10
|
id: string;
|
|
11
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Module from '../core/module.js';
|
|
2
2
|
import Rich from '../core/rich.js';
|
|
3
3
|
import type { Range } from '../core/selection.js';
|
|
4
|
-
type Handler = (this: Toolbar, value: any) => void;
|
|
4
|
+
type Handler = (this: Toolbar, value: any, e?: PointerEvent) => void;
|
|
5
5
|
export type ToolbarConfig = Array<string[] | Array<string | Record<string, unknown>>>;
|
|
6
6
|
export interface ToolbarProps {
|
|
7
7
|
container?: HTMLElement | ToolbarConfig | null;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import Scope from '../scope.js';
|
|
2
2
|
export interface AttributorOptions {
|
|
3
3
|
scope?: Scope;
|
|
4
|
-
whitelist?: string[];
|
|
4
|
+
whitelist?: string[] | number[];
|
|
5
5
|
}
|
|
6
6
|
export default class Attributor {
|
|
7
7
|
readonly attrName: string;
|
|
8
8
|
readonly keyName: string;
|
|
9
9
|
static keys(node: HTMLElement): string[];
|
|
10
10
|
scope: Scope;
|
|
11
|
-
whitelist: string[] | undefined;
|
|
11
|
+
whitelist: string[] | number[] | undefined;
|
|
12
12
|
constructor(attrName: string, keyName: string, options?: AttributorOptions);
|
|
13
13
|
add(node: HTMLElement, value: any): boolean;
|
|
14
|
-
canAdd(_node: HTMLElement, value:
|
|
14
|
+
canAdd(_node: HTMLElement, value: unknown): boolean;
|
|
15
15
|
remove(node: HTMLElement): void;
|
|
16
16
|
value(node: HTMLElement): any;
|
|
17
17
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Attributor from './attributor.js';
|
|
2
2
|
declare class StyleAttributor extends Attributor {
|
|
3
3
|
static keys(node: HTMLElement): string[];
|
|
4
|
-
add(node: HTMLElement, value:
|
|
4
|
+
add(node: HTMLElement, value: unknown): boolean;
|
|
5
5
|
remove(node: HTMLElement): void;
|
|
6
|
-
value(node: HTMLElement):
|
|
6
|
+
value(node: HTMLElement): unknown;
|
|
7
7
|
}
|
|
8
8
|
export default StyleAttributor;
|
|
@@ -34,7 +34,6 @@ declare const _default: {
|
|
|
34
34
|
link: any;
|
|
35
35
|
list: {
|
|
36
36
|
bullet: any;
|
|
37
|
-
check: any;
|
|
38
37
|
ordered: any;
|
|
39
38
|
};
|
|
40
39
|
script: {
|
|
@@ -47,5 +46,10 @@ declare const _default: {
|
|
|
47
46
|
video: any;
|
|
48
47
|
redo: any;
|
|
49
48
|
undo: any;
|
|
49
|
+
hr: any;
|
|
50
|
+
fullscreen: {
|
|
51
|
+
'': any;
|
|
52
|
+
exit: any;
|
|
53
|
+
};
|
|
50
54
|
};
|
|
51
55
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type ReturnType = {
|
|
3
3
|
height: number;
|
|
4
4
|
width: number;
|
|
5
5
|
domRect?: DOMRect;
|
|
6
6
|
};
|
|
7
7
|
declare function DomSize<T extends HTMLElement>(): [
|
|
8
|
-
|
|
8
|
+
React.RefObject<T>,
|
|
9
9
|
ReturnType,
|
|
10
10
|
React.Dispatch<React.SetStateAction<ReturnType>>
|
|
11
11
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare function useHeaderScroll<T extends HTMLElement>(props: {
|
|
3
|
-
headerWrapperRef:
|
|
3
|
+
headerWrapperRef: React.RefObject<T | undefined>;
|
|
4
4
|
headerOffset: number;
|
|
5
5
|
align: 'left' | 'right';
|
|
6
6
|
direction: 'horizontal' | 'vertical' | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LabelValue, TreeSelectProps } from '../../tree-select/interface';
|
|
3
3
|
import { NodeProps } from '../../tree/interface';
|
|
4
4
|
import { KeyCacheType } from './useKeyCache';
|
|
@@ -11,7 +11,7 @@ export interface TreeSelectState {
|
|
|
11
11
|
searchKeys: string[];
|
|
12
12
|
}
|
|
13
13
|
export declare const parseValue: (v: valueType, key2nodeProps: any, valueMap?: LabelValue[]) => LabelValue[];
|
|
14
|
-
declare const useStateValue: (props: TreeSelectProps, key2nodeProps: KeyCacheType, indeterminateKeys:
|
|
14
|
+
declare const useStateValue: (props: TreeSelectProps, key2nodeProps: KeyCacheType, indeterminateKeys: React.RefObject<string[]>) => [LabelValue[], (v: LabelValue[], extra: {
|
|
15
15
|
trigger?: NodeProps;
|
|
16
16
|
checked?: boolean;
|
|
17
17
|
selected?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@unicom-cloud/utils/date";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export * from '@unicom-cloud/utils/date';
|
|
2
1
|
export * from './caseName';
|
|
3
2
|
export * from './className';
|
|
4
3
|
export * from './constant';
|
|
5
4
|
export * from './contextHolder';
|
|
6
5
|
export * from './copy';
|
|
6
|
+
export * from './date';
|
|
7
7
|
export * from './dayjs';
|
|
8
8
|
export * from './dom';
|
|
9
|
+
export * from './emitter';
|
|
9
10
|
export * from './fileToURL';
|
|
10
11
|
export * from './fillNBSP';
|
|
11
12
|
export * from './findScrollParent';
|
|
@@ -19,7 +20,6 @@ export * from './lodash';
|
|
|
19
20
|
export * from './math';
|
|
20
21
|
export * from './mergedToString';
|
|
21
22
|
export * from './mergeProps';
|
|
22
|
-
export * from './emitter';
|
|
23
23
|
export * from './mutationObserver';
|
|
24
24
|
export * from './names';
|
|
25
25
|
export * from './omit';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '../../common/utils/validate';
|
package/typography/Base.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p, jsxs as ne, Fragment as ie } from "react/jsx-runtime";
|
|
2
2
|
import re from "lodash/merge";
|
|
3
3
|
import _, { forwardRef as le, useContext as pe, useRef as ae, useState as W, useEffect as ce, useImperativeHandle as me } from "react";
|
|
4
|
-
import { a as de } from "../chunk/
|
|
4
|
+
import { a as de } from "../chunk/DstheLSK.js";
|
|
5
5
|
import { u as fe } from "../chunk/2vdCeheu.js";
|
|
6
6
|
import { u as ue } from "../chunk/DfChiMIE.js";
|
|
7
7
|
import he from "../popover/index.js";
|
package/typography/Ellipsis.js
CHANGED
|
@@ -1,220 +1,176 @@
|
|
|
1
1
|
import { jsxs as g, Fragment as K, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Q, useContext as U, useRef as v, useState as R, useMemo as V, useEffect as S, useCallback as X } from "react";
|
|
3
|
-
import { a as Y } from "../chunk/
|
|
3
|
+
import { a as Y } from "../chunk/DstheLSK.js";
|
|
4
4
|
import Z from "../copy/index.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import
|
|
8
|
-
import "@unicom-cloud/utils/
|
|
9
|
-
import "
|
|
10
|
-
import n from "@unicom-cloud/utils/class-name";
|
|
11
|
-
import "@unicom-cloud/utils/constant/ui";
|
|
12
|
-
import "@unicom-cloud/utils/clipboard-copy";
|
|
13
|
-
import "../chunk/DS_deHpN.js";
|
|
14
|
-
import { a as ot } from "../chunk/d1c9z8T1.js";
|
|
15
|
-
import "@unicom-cloud/utils/file/fileToURL";
|
|
16
|
-
import "lodash/escapeRegExp";
|
|
17
|
-
import "lodash/isArray";
|
|
18
|
-
import "lodash/isNumber";
|
|
19
|
-
import "lodash/isString";
|
|
20
|
-
import "lodash/isFunction";
|
|
21
|
-
import "lodash/throttle";
|
|
5
|
+
import { u as ee } from "../chunk/FgWHhRFz.js";
|
|
6
|
+
import { u as te } from "../chunk/2vdCeheu.js";
|
|
7
|
+
import re from "../tooltip/index.js";
|
|
8
|
+
import s from "@unicom-cloud/utils/class-name";
|
|
9
|
+
import { a as oe } from "../chunk/BcdTSJks.js";
|
|
22
10
|
import "../chunk/DsaQZE4X.js";
|
|
23
|
-
import "
|
|
24
|
-
import "
|
|
25
|
-
import "
|
|
26
|
-
import "
|
|
27
|
-
|
|
28
|
-
import "lodash/has";
|
|
29
|
-
import "lodash/kebabCase";
|
|
30
|
-
import "lodash/merge";
|
|
31
|
-
import "lodash/mergeWith";
|
|
32
|
-
import "lodash/set";
|
|
33
|
-
import "lodash/setWith";
|
|
34
|
-
import "lodash/snakeCase";
|
|
35
|
-
import "lodash/startCase";
|
|
36
|
-
import "lodash/uniq";
|
|
37
|
-
import "lodash/upperFirst";
|
|
38
|
-
import "@unicom-cloud/utils/math";
|
|
39
|
-
import { m as it } from "../chunk/B5RFT17G.js";
|
|
40
|
-
import "@unicom-cloud/utils/emitter";
|
|
41
|
-
import "@unicom-cloud/utils/pinyin";
|
|
42
|
-
import "../chunk/BJ9_azwQ.js";
|
|
43
|
-
import "../chunk/CXrVhA6-.js";
|
|
44
|
-
import { r as nt } from "../chunk/CHQ8c547.js";
|
|
45
|
-
import "../utils/responsiveObserve.js";
|
|
46
|
-
import "@unicom-cloud/utils/file/saveAs";
|
|
47
|
-
import "@unicom-cloud/utils/screenfull";
|
|
48
|
-
import "@unicom-cloud/utils/tinycolor";
|
|
49
|
-
import "@unicom-cloud/utils/ui-color";
|
|
50
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
51
|
-
import "lodash/isPlainObject";
|
|
52
|
-
import st from "../utils/throttleByRaf.js";
|
|
53
|
-
import "react-is";
|
|
54
|
-
import "@unicom-cloud/utils/tree";
|
|
55
|
-
import { isPlainObject as b, isFunction as lt } from "@unicom-cloud/utils/is";
|
|
56
|
-
import "uuid";
|
|
57
|
-
import "../chunk/hc_ufgVf.js";
|
|
58
|
-
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
59
|
-
const pt = {
|
|
11
|
+
import { m as ne } from "../chunk/B5RFT17G.js";
|
|
12
|
+
import { r as se } from "../chunk/CHQ8c547.js";
|
|
13
|
+
import ie from "../utils/throttleByRaf.js";
|
|
14
|
+
import { isPlainObject as b, isFunction as le } from "@unicom-cloud/utils/is";
|
|
15
|
+
const ae = {
|
|
60
16
|
rows: 1,
|
|
61
17
|
expandable: !0,
|
|
62
18
|
defaultExpanded: !1
|
|
63
|
-
},
|
|
64
|
-
const C = U(Y), N =
|
|
19
|
+
}, ce = (j, fe) => {
|
|
20
|
+
const C = U(Y), N = ee(
|
|
65
21
|
j,
|
|
66
|
-
|
|
22
|
+
ae,
|
|
67
23
|
C.componentConfig?.TypographyEllipsis
|
|
68
24
|
), {
|
|
69
25
|
className: A,
|
|
70
26
|
style: L,
|
|
71
27
|
rows: l,
|
|
72
28
|
disabled: w,
|
|
73
|
-
showTooltip:
|
|
29
|
+
showTooltip: p,
|
|
74
30
|
children: y,
|
|
75
31
|
// 潘启宝修改
|
|
76
|
-
expandable:
|
|
32
|
+
expandable: m,
|
|
77
33
|
expandRender: P,
|
|
78
34
|
onExpand: W,
|
|
79
35
|
onEllipsis: k,
|
|
80
|
-
copyable:
|
|
36
|
+
copyable: u
|
|
81
37
|
// 潘启宝添加
|
|
82
|
-
} = N, { locale: B } = C, D =
|
|
38
|
+
} = N, { locale: B } = C, D = oe ? !1 : /^((?!chrome|android).)*safari/i.test(navigator?.userAgent ?? ""), F = v(null), i = v(null), [O, H] = R(""), [_, E] = R(!1), a = v(null), c = v(null), [t, T] = te(!1, {
|
|
83
39
|
defaultValue: N.defaultExpanded,
|
|
84
40
|
value: N.expanded
|
|
85
|
-
}), [
|
|
41
|
+
}), [n, M] = R(!1), x = V(() => b(m) ? !m.single && l === 1 : l === 1, [l, m]), h = V(() => b(p) ? {
|
|
86
42
|
tooltip: !0,
|
|
87
|
-
tooltipProps:
|
|
43
|
+
tooltipProps: p
|
|
88
44
|
} : {
|
|
89
|
-
tooltip: !!
|
|
90
|
-
tooltipProps:
|
|
91
|
-
}, [
|
|
45
|
+
tooltip: !!p,
|
|
46
|
+
tooltipProps: p
|
|
47
|
+
}, [p]);
|
|
92
48
|
S(() => {
|
|
93
|
-
if (
|
|
94
|
-
const o =
|
|
49
|
+
if (i.current) {
|
|
50
|
+
const o = i.current.textContent;
|
|
95
51
|
o && H(o);
|
|
96
52
|
}
|
|
97
|
-
}, [y,
|
|
98
|
-
const
|
|
99
|
-
!!
|
|
53
|
+
}, [y, i]);
|
|
54
|
+
const e = C.getPrefixCls?.("ellipsis"), d = /* @__PURE__ */ g(K, { children: [
|
|
55
|
+
!!u && // 潘启宝添加
|
|
100
56
|
/* @__PURE__ */ r(
|
|
101
57
|
Z,
|
|
102
58
|
{
|
|
103
|
-
...b(
|
|
59
|
+
...b(u) ? u : {},
|
|
104
60
|
text: () => {
|
|
105
|
-
let
|
|
106
|
-
return
|
|
61
|
+
let f = (b(u) ? u : {}).text;
|
|
62
|
+
return le(f) && (f = f()), f || (f = ne(y)), f;
|
|
107
63
|
},
|
|
108
|
-
className: `${
|
|
64
|
+
className: `${e}-action-text-copy`
|
|
109
65
|
}
|
|
110
66
|
),
|
|
111
67
|
y
|
|
112
|
-
] }), q = () => P ? P(
|
|
68
|
+
] }), q = () => P ? P(t) : /* @__PURE__ */ r("span", { className: `${e}-action-text`, children: t ? B?.Typography?.fold : B?.Typography?.unfold }), $ = () => m && n ? /* @__PURE__ */ r(
|
|
113
69
|
"div",
|
|
114
70
|
{
|
|
115
|
-
className:
|
|
116
|
-
[`${
|
|
71
|
+
className: s(`${e}-action`, {
|
|
72
|
+
[`${e}-action-collapsed`]: !t
|
|
117
73
|
}),
|
|
118
74
|
onClick: (o) => {
|
|
119
|
-
|
|
75
|
+
t ? (T(!1), W?.(!1, o)) : (T(!0), E(!1), W?.(!0, o));
|
|
120
76
|
},
|
|
121
77
|
children: q()
|
|
122
78
|
}
|
|
123
79
|
) : null, G = X(
|
|
124
|
-
|
|
125
|
-
|
|
80
|
+
ie(() => {
|
|
81
|
+
c.current && a.current && ((x ? c.current.offsetWidth > a.current.offsetWidth : c.current.offsetHeight > a.current.offsetHeight) ? n === !1 && (M(!0), k?.(!0)) : n === !0 && (M(!1), k?.(!1)));
|
|
126
82
|
}),
|
|
127
|
-
[
|
|
83
|
+
[n, x]
|
|
128
84
|
);
|
|
129
85
|
S(() => {
|
|
130
|
-
const o =
|
|
131
|
-
[
|
|
86
|
+
const o = se(
|
|
87
|
+
[a.current, c.current],
|
|
132
88
|
G
|
|
133
89
|
);
|
|
134
90
|
return () => {
|
|
135
91
|
o();
|
|
136
92
|
};
|
|
137
|
-
}, [
|
|
93
|
+
}, [a.current, c.current]);
|
|
138
94
|
const I = () => w ? null : /* @__PURE__ */ r(
|
|
139
95
|
"div",
|
|
140
96
|
{
|
|
141
|
-
className: x ?
|
|
142
|
-
`${
|
|
143
|
-
`${
|
|
144
|
-
`${
|
|
97
|
+
className: x ? s(`${e}-content-mirror`, `${e}-single`) : s(
|
|
98
|
+
`${e}-content-mirror`,
|
|
99
|
+
`${e}-multiple`,
|
|
100
|
+
`${e}-collapsed`
|
|
145
101
|
),
|
|
146
102
|
style: {
|
|
147
103
|
WebkitBoxOrient: "vertical",
|
|
148
104
|
MozBoxOrient: "vertical",
|
|
149
105
|
WebkitLineClamp: l
|
|
150
106
|
},
|
|
151
|
-
ref:
|
|
152
|
-
children: /* @__PURE__ */ r("span", { ref:
|
|
107
|
+
ref: a,
|
|
108
|
+
children: /* @__PURE__ */ r("span", { ref: c, className: `${e}-text`, children: d })
|
|
153
109
|
}
|
|
154
|
-
), z = () => x ? /* @__PURE__ */ r("div", { className:
|
|
110
|
+
), z = () => x ? /* @__PURE__ */ r("div", { className: s(`${e}-content`, `${e}-single`), children: /* @__PURE__ */ r("span", { ref: i, className: `${e}-text`, children: d }) }) : D ? /* @__PURE__ */ g(
|
|
155
111
|
"div",
|
|
156
112
|
{
|
|
157
|
-
className:
|
|
158
|
-
title: !h.tooltip &&
|
|
113
|
+
className: s(`${e}-content`, `${e}-multiple`),
|
|
114
|
+
title: !h.tooltip && n && !t ? O : void 0,
|
|
159
115
|
children: [
|
|
160
|
-
!
|
|
116
|
+
!t && $(),
|
|
161
117
|
/* @__PURE__ */ r(
|
|
162
118
|
"span",
|
|
163
119
|
{
|
|
164
|
-
ref:
|
|
165
|
-
className:
|
|
166
|
-
[`${
|
|
120
|
+
ref: i,
|
|
121
|
+
className: s(`${e}-text`, {
|
|
122
|
+
[`${e}-collapsed`]: !t
|
|
167
123
|
}),
|
|
168
124
|
style: {
|
|
169
125
|
WebkitBoxOrient: "vertical",
|
|
170
126
|
MozBoxOrient: "vertical",
|
|
171
127
|
WebkitLineClamp: l
|
|
172
128
|
},
|
|
173
|
-
children:
|
|
129
|
+
children: d
|
|
174
130
|
}
|
|
175
131
|
),
|
|
176
|
-
|
|
132
|
+
t && $()
|
|
177
133
|
]
|
|
178
134
|
}
|
|
179
135
|
) : /* @__PURE__ */ g(
|
|
180
136
|
"div",
|
|
181
137
|
{
|
|
182
|
-
className:
|
|
183
|
-
[`${
|
|
138
|
+
className: s(`${e}-content`, `${e}-multiple`, {
|
|
139
|
+
[`${e}-collapsed`]: !t
|
|
184
140
|
}),
|
|
185
141
|
style: {
|
|
186
142
|
WebkitBoxOrient: "vertical",
|
|
187
143
|
MozBoxOrient: "vertical",
|
|
188
144
|
WebkitLineClamp: l
|
|
189
145
|
},
|
|
190
|
-
title: !h.tooltip &&
|
|
146
|
+
title: !h.tooltip && n && !t ? O : void 0,
|
|
191
147
|
children: [
|
|
192
|
-
!
|
|
193
|
-
/* @__PURE__ */ r("span", { ref:
|
|
194
|
-
|
|
148
|
+
!t && $(),
|
|
149
|
+
/* @__PURE__ */ r("span", { ref: i, className: `${e}-text`, children: d }),
|
|
150
|
+
t && $()
|
|
195
151
|
]
|
|
196
152
|
}
|
|
197
|
-
), J = () => w ? /* @__PURE__ */ r("div", { className: `${
|
|
198
|
-
|
|
153
|
+
), J = () => w ? /* @__PURE__ */ r("div", { className: `${e}-content`, children: /* @__PURE__ */ r("span", { ref: i, className: `${e}-text`, children: d }) }) : h.tooltip ? /* @__PURE__ */ r(
|
|
154
|
+
re,
|
|
199
155
|
{
|
|
200
156
|
content: O,
|
|
201
157
|
popupVisible: _,
|
|
202
|
-
disabled: !
|
|
158
|
+
disabled: !n || t,
|
|
203
159
|
triggerProps: {
|
|
204
160
|
mouseEnterDelay: 100
|
|
205
161
|
},
|
|
206
162
|
onVisibleChange: (o) => {
|
|
207
|
-
o ?
|
|
163
|
+
o ? n && !t && E(!0) : E(!1);
|
|
208
164
|
},
|
|
209
165
|
...h.tooltipProps,
|
|
210
166
|
children: z()
|
|
211
167
|
}
|
|
212
168
|
) : z();
|
|
213
|
-
return /* @__PURE__ */ g("div", { ref: F, className:
|
|
169
|
+
return /* @__PURE__ */ g("div", { ref: F, className: s(e, A), style: L, children: [
|
|
214
170
|
I(),
|
|
215
171
|
J()
|
|
216
172
|
] });
|
|
217
|
-
},
|
|
173
|
+
}, Ee = Q(ce);
|
|
218
174
|
export {
|
|
219
|
-
|
|
175
|
+
Ee as default
|
|
220
176
|
};
|