@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
package/details/index.js
CHANGED
|
@@ -1,70 +1,34 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import b from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
3
3
|
import j from "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
4
4
|
import T from "@unicom-cloud/icons/IconUiDown";
|
|
5
5
|
import M from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
6
6
|
import f from "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
7
7
|
import { forwardRef as R, useContext as _, useState as q, useEffect as z } from "react";
|
|
8
|
-
import { a as A } from "../chunk/
|
|
8
|
+
import { a as A } from "../chunk/DstheLSK.js";
|
|
9
9
|
import "../chunk/DsaQZE4X.js";
|
|
10
|
-
import "@unicom-cloud/utils/date";
|
|
11
|
-
import "@unicom-cloud/utils/case-name";
|
|
12
|
-
import d from "@unicom-cloud/utils/class-name";
|
|
13
|
-
import "@unicom-cloud/utils/constant/ui";
|
|
14
|
-
import "@unicom-cloud/utils/clipboard-copy";
|
|
15
|
-
import "../chunk/DS_deHpN.js";
|
|
16
|
-
import "../chunk/d1c9z8T1.js";
|
|
17
|
-
import "@unicom-cloud/utils/emitter";
|
|
18
|
-
import "@unicom-cloud/utils/file/fileToURL";
|
|
19
|
-
import "lodash/escapeRegExp";
|
|
20
|
-
import "lodash/isArray";
|
|
21
|
-
import "lodash/isNumber";
|
|
22
|
-
import "lodash/isString";
|
|
23
|
-
import "lodash/isFunction";
|
|
24
|
-
import "lodash/throttle";
|
|
25
|
-
import "lodash/camelCase";
|
|
26
|
-
import "lodash/capitalize";
|
|
27
|
-
import "lodash/cloneDeep";
|
|
28
|
-
import "lodash/debounce";
|
|
29
|
-
import "lodash/get";
|
|
30
|
-
import "lodash/has";
|
|
31
|
-
import "lodash/kebabCase";
|
|
32
|
-
import "lodash/merge";
|
|
33
|
-
import "lodash/mergeWith";
|
|
34
|
-
import "lodash/set";
|
|
35
|
-
import "lodash/setWith";
|
|
36
|
-
import "lodash/snakeCase";
|
|
37
|
-
import "lodash/startCase";
|
|
38
|
-
import "lodash/uniq";
|
|
39
|
-
import "lodash/upperFirst";
|
|
40
|
-
import "@unicom-cloud/utils/math";
|
|
41
|
-
import "lodash/isPlainObject";
|
|
42
|
-
import "@unicom-cloud/utils/pinyin";
|
|
43
|
-
import "../chunk/BJ9_azwQ.js";
|
|
44
|
-
import "../chunk/CXrVhA6-.js";
|
|
45
|
-
import "@unicom-cloud/utils/file/saveAs";
|
|
46
|
-
import "@unicom-cloud/utils/screenfull";
|
|
47
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
48
|
-
import "@unicom-cloud/utils/tinycolor";
|
|
49
|
-
import "@unicom-cloud/utils/ui-color";
|
|
50
|
-
import "react-is";
|
|
51
|
-
import "@unicom-cloud/utils/tree";
|
|
52
|
-
import "@unicom-cloud/utils/is";
|
|
53
|
-
import "uuid";
|
|
54
|
-
import "../chunk/hc_ufgVf.js";
|
|
55
|
-
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
56
10
|
import "@unicom-cloud/utils/constant/platform";
|
|
57
11
|
import "../chunk/CdXR6dj7.js";
|
|
58
12
|
import "@unicom-cloud/utils/js-cookie";
|
|
59
13
|
import "dayjs";
|
|
14
|
+
import "lodash/debounce";
|
|
60
15
|
import { u as B } from "../chunk/DfChiMIE.js";
|
|
61
|
-
import "
|
|
16
|
+
import "@unicom-cloud/utils/screenfull";
|
|
17
|
+
import "../chunk/ClNkxEcR.js";
|
|
18
|
+
import "lodash/throttle";
|
|
19
|
+
import "lodash/isPlainObject";
|
|
62
20
|
import "@unicom-cloud/utils/query-string";
|
|
63
21
|
import "react-router";
|
|
64
22
|
import "lodash/isEqualWith";
|
|
65
|
-
import "
|
|
23
|
+
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
24
|
+
import "lodash/isNumber";
|
|
25
|
+
import "lodash/merge";
|
|
26
|
+
import "../chunk/BcdTSJks.js";
|
|
27
|
+
import "../chunk/CEAeR6xB.js";
|
|
66
28
|
import { u as G } from "../chunk/FgWHhRFz.js";
|
|
29
|
+
import "../chunk/exc7v_Hl.js";
|
|
67
30
|
import "@unicom-cloud/utils/constant";
|
|
31
|
+
import d from "@unicom-cloud/utils/class-name";
|
|
68
32
|
const H = {
|
|
69
33
|
type: "default"
|
|
70
34
|
};
|
|
@@ -76,52 +40,52 @@ function J(u, C) {
|
|
|
76
40
|
), {
|
|
77
41
|
style: h,
|
|
78
42
|
className: x,
|
|
79
|
-
type:
|
|
80
|
-
title:
|
|
81
|
-
content:
|
|
43
|
+
type: s = "default",
|
|
44
|
+
title: l,
|
|
45
|
+
content: a,
|
|
82
46
|
icon: y,
|
|
83
47
|
banner: D,
|
|
84
|
-
open:
|
|
48
|
+
open: t,
|
|
85
49
|
defaultOpen: I,
|
|
86
50
|
onOpen: U,
|
|
87
51
|
onClose: w,
|
|
88
52
|
...F
|
|
89
|
-
} = v, o = N?.("details"), [k,
|
|
90
|
-
default: /* @__PURE__ */
|
|
91
|
-
info: /* @__PURE__ */
|
|
92
|
-
success: /* @__PURE__ */
|
|
93
|
-
warning: /* @__PURE__ */
|
|
94
|
-
error: /* @__PURE__ */
|
|
95
|
-
}[
|
|
53
|
+
} = v, o = N?.("details"), [k, m] = q({ open: !!I }), i = t === void 0 ? k.open : t, p = y || {
|
|
54
|
+
default: /* @__PURE__ */ e(f, {}),
|
|
55
|
+
info: /* @__PURE__ */ e(f, {}),
|
|
56
|
+
success: /* @__PURE__ */ e(b, {}),
|
|
57
|
+
warning: /* @__PURE__ */ e(M, {}),
|
|
58
|
+
error: /* @__PURE__ */ e(j, {})
|
|
59
|
+
}[s], E = d(
|
|
96
60
|
o,
|
|
97
|
-
`${o}-${
|
|
61
|
+
`${o}-${s}`,
|
|
98
62
|
{
|
|
99
63
|
[`${o}-banner`]: D,
|
|
100
64
|
[`${o}-rtl`]: g
|
|
101
65
|
},
|
|
102
66
|
x
|
|
103
67
|
);
|
|
104
|
-
B(() => (
|
|
105
|
-
}), [
|
|
106
|
-
if (
|
|
107
|
-
return
|
|
108
|
-
const
|
|
109
|
-
return
|
|
68
|
+
B(() => (i ? U?.() : w?.(), () => {
|
|
69
|
+
}), [i]), z(() => {
|
|
70
|
+
if (t !== void 0)
|
|
71
|
+
return m((r) => {
|
|
72
|
+
const n = { ...r };
|
|
73
|
+
return n.open = t, n;
|
|
110
74
|
}), () => {
|
|
111
75
|
};
|
|
112
|
-
}, [
|
|
113
|
-
const O = (
|
|
114
|
-
if (
|
|
115
|
-
|
|
76
|
+
}, [t]);
|
|
77
|
+
const O = (r) => {
|
|
78
|
+
if (t !== void 0) {
|
|
79
|
+
r.preventDefault();
|
|
116
80
|
return;
|
|
117
81
|
}
|
|
118
|
-
const
|
|
119
|
-
|
|
82
|
+
const n = r.target;
|
|
83
|
+
m((S) => ({
|
|
120
84
|
...S,
|
|
121
|
-
open:
|
|
85
|
+
open: n.open
|
|
122
86
|
}));
|
|
123
|
-
}, P = (
|
|
124
|
-
|
|
87
|
+
}, P = (r) => {
|
|
88
|
+
t !== void 0 && r.preventDefault();
|
|
125
89
|
};
|
|
126
90
|
return /* @__PURE__ */ c(
|
|
127
91
|
"details",
|
|
@@ -130,7 +94,7 @@ function J(u, C) {
|
|
|
130
94
|
style: h,
|
|
131
95
|
className: E,
|
|
132
96
|
role: "details",
|
|
133
|
-
open:
|
|
97
|
+
open: i,
|
|
134
98
|
onToggle: O,
|
|
135
99
|
...F,
|
|
136
100
|
children: [
|
|
@@ -140,21 +104,21 @@ function J(u, C) {
|
|
|
140
104
|
className: `${o}-summary-wrapper`,
|
|
141
105
|
onClick: P,
|
|
142
106
|
children: [
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
/* @__PURE__ */
|
|
107
|
+
p && /* @__PURE__ */ e("div", { className: `${o}-icon`, children: p }),
|
|
108
|
+
l && /* @__PURE__ */ e("div", { className: `${o}-title`, children: l }),
|
|
109
|
+
/* @__PURE__ */ e(
|
|
146
110
|
T,
|
|
147
111
|
{
|
|
148
112
|
className: d(
|
|
149
113
|
`${o}-collapse-icon`,
|
|
150
|
-
|
|
114
|
+
i && `${o}-collapse-icon-open`
|
|
151
115
|
)
|
|
152
116
|
}
|
|
153
117
|
)
|
|
154
118
|
]
|
|
155
119
|
}
|
|
156
120
|
),
|
|
157
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ e("div", { className: `${o}-content-wrapper`, children: a && /* @__PURE__ */ e("div", { className: `${o}-content`, children: a }) })
|
|
158
122
|
]
|
|
159
123
|
}
|
|
160
124
|
);
|
package/development/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import e from "@unicom-cloud/utils/class-name";
|
|
|
3
3
|
import { forwardRef as c, useMemo as x, useContext as b, useEffect as g, useImperativeHandle as $ } from "react";
|
|
4
4
|
import D from "@unicom-cloud/icons/IconFluentFlatHourglassNotDone";
|
|
5
5
|
import { UI_COMMON_PREFIX as I } from "@unicom-cloud/utils/constant/ui";
|
|
6
|
-
import { a as M } from "../chunk/
|
|
6
|
+
import { a as M } from "../chunk/DstheLSK.js";
|
|
7
7
|
const F = (s, t) => {
|
|
8
8
|
const {
|
|
9
9
|
url: l,
|
package/divider/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f, useContext as D, useMemo as g } from "react";
|
|
3
|
-
import { a as P } from "../chunk/
|
|
3
|
+
import { a as P } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { u as S } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import w from "@unicom-cloud/utils/class-name";
|
|
6
6
|
const z = {
|
package/draggable/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import u, { useContext as I, useState as C } from "react";
|
|
3
|
-
import { a as h } from "../chunk/
|
|
3
|
+
import { a as h } from "../chunk/DstheLSK.js";
|
|
4
4
|
import D from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import N from "./Item.js";
|
|
6
6
|
function R(l) {
|
package/drawer/Drawer.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as x, Fragment as pe, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import me from "@unicom-cloud/icons/IconUiClose";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { a as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import { P as
|
|
11
|
-
import
|
|
12
|
-
import { a as
|
|
13
|
-
import { Esc as
|
|
14
|
-
import { o as
|
|
15
|
-
import { f as
|
|
16
|
-
const
|
|
3
|
+
import O from "lodash/isFunction";
|
|
4
|
+
import ue, { useContext as fe, useRef as B, useState as c, useCallback as he, useImperativeHandle as Ce, useEffect as D } from "react";
|
|
5
|
+
import R from "../button/index.js";
|
|
6
|
+
import { a as xe, I as ye, b as S } from "../chunk/DstheLSK.js";
|
|
7
|
+
import { u as Ne } from "../chunk/FgWHhRFz.js";
|
|
8
|
+
import { u as ge } from "../chunk/BqWBaRtM.js";
|
|
9
|
+
import ke from "../portal/index.js";
|
|
10
|
+
import { P as T } from "../chunk/DQ8_XXrH.js";
|
|
11
|
+
import y from "@unicom-cloud/utils/class-name";
|
|
12
|
+
import { a as be, c as we } from "../chunk/BcdTSJks.js";
|
|
13
|
+
import { Esc as ve } from "@unicom-cloud/utils/constant/keyboardCode";
|
|
14
|
+
import { o as Ie } from "../chunk/BKKEev13.js";
|
|
15
|
+
import { f as Pe } from "../chunk/exc7v_Hl.js";
|
|
16
|
+
const $e = {
|
|
17
17
|
placement: "right",
|
|
18
18
|
width: 250,
|
|
19
19
|
height: 250,
|
|
@@ -24,87 +24,83 @@ const Oe = {
|
|
|
24
24
|
mountOnEnter: !0,
|
|
25
25
|
getPopupContainer: () => document.body
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
const d =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
function Ee(z, F) {
|
|
28
|
+
const d = fe(xe), { locale: N, getPrefixCls: j, componentConfig: H, rtl: Z } = d, o = Ne(
|
|
29
|
+
z,
|
|
30
|
+
$e,
|
|
31
|
+
H?.Drawer
|
|
32
32
|
), {
|
|
33
|
-
style:
|
|
34
|
-
className:
|
|
35
|
-
children:
|
|
36
|
-
wrapClassName:
|
|
37
|
-
maskStyle:
|
|
38
|
-
headerStyle:
|
|
39
|
-
bodyStyle:
|
|
33
|
+
style: L,
|
|
34
|
+
className: M,
|
|
35
|
+
children: W,
|
|
36
|
+
wrapClassName: q,
|
|
37
|
+
maskStyle: G,
|
|
38
|
+
headerStyle: K,
|
|
39
|
+
bodyStyle: U,
|
|
40
40
|
title: p,
|
|
41
41
|
footer: i,
|
|
42
|
-
okText:
|
|
43
|
-
cancelText:
|
|
44
|
-
width:
|
|
45
|
-
height:
|
|
42
|
+
okText: _,
|
|
43
|
+
cancelText: A,
|
|
44
|
+
width: J,
|
|
45
|
+
height: Q,
|
|
46
46
|
placement: a,
|
|
47
47
|
mask: m,
|
|
48
48
|
visible: r,
|
|
49
|
-
closable:
|
|
50
|
-
maskClosable:
|
|
51
|
-
confirmLoading:
|
|
49
|
+
closable: V,
|
|
50
|
+
maskClosable: X,
|
|
51
|
+
confirmLoading: Y,
|
|
52
52
|
mountOnEnter: u,
|
|
53
53
|
unmountOnExit: g,
|
|
54
|
-
afterOpen:
|
|
55
|
-
afterClose:
|
|
54
|
+
afterOpen: ee,
|
|
55
|
+
afterClose: ne,
|
|
56
56
|
getPopupContainer: f,
|
|
57
|
-
escToExit:
|
|
57
|
+
escToExit: te,
|
|
58
58
|
getChildrenPopupContainer: k,
|
|
59
|
-
okButtonProps:
|
|
60
|
-
cancelButtonProps:
|
|
61
|
-
zIndex:
|
|
62
|
-
closeIcon:
|
|
59
|
+
okButtonProps: oe,
|
|
60
|
+
cancelButtonProps: re,
|
|
61
|
+
zIndex: b,
|
|
62
|
+
closeIcon: w,
|
|
63
63
|
okButton: l,
|
|
64
|
-
...
|
|
65
|
-
} = o, s =
|
|
64
|
+
...se
|
|
65
|
+
} = o, s = B(null), v = B(null), [Be, ie] = c(!1), [h, le] = c(), t = j?.("drawer"), [I, C] = c(!1), [De, P] = c(!1), $ = /* @__PURE__ */ x(pe, { children: [
|
|
66
66
|
o.cancelButton?.visible !== !1 && /* @__PURE__ */ n(
|
|
67
|
-
|
|
67
|
+
R,
|
|
68
68
|
{
|
|
69
69
|
onClick: o.onCancel,
|
|
70
|
-
...
|
|
70
|
+
...re,
|
|
71
71
|
...o.cancelButton?.props,
|
|
72
|
-
children: o.cancelButton?.props?.children || o.cancelButton?.label || o.cancelButton?.text ||
|
|
72
|
+
children: o.cancelButton?.props?.children || o.cancelButton?.label || o.cancelButton?.text || A || N?.Drawer.cancelText
|
|
73
73
|
}
|
|
74
74
|
),
|
|
75
75
|
l?.visible !== !1 && /* @__PURE__ */ n(
|
|
76
|
-
|
|
76
|
+
R,
|
|
77
77
|
{
|
|
78
78
|
type: "primary",
|
|
79
|
-
loading:
|
|
79
|
+
loading: Y,
|
|
80
80
|
onClick: o.onOk,
|
|
81
|
-
...
|
|
81
|
+
...oe,
|
|
82
82
|
...l?.props,
|
|
83
|
-
children: l?.props?.children || l?.label || l?.text ||
|
|
83
|
+
children: l?.props?.children || l?.label || l?.text || _ || N?.Drawer.okText
|
|
84
84
|
}
|
|
85
85
|
)
|
|
86
|
-
] }),
|
|
86
|
+
] }), E = he(() => {
|
|
87
87
|
const e = f?.();
|
|
88
|
-
return
|
|
89
|
-
}, [f]), ae =
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
ke(x, { hidden: (r || P) && m }), ye(z, () => s.current), B(() => {
|
|
95
|
-
r && o.getPopupContainer && ie(!0);
|
|
96
|
-
}, []), B(() => {
|
|
97
|
-
r && Ie(document.body, s.current) && s.current?.focus?.();
|
|
88
|
+
return Pe(e) || document.body;
|
|
89
|
+
}, [f]), ae = !be && E() === document.body;
|
|
90
|
+
ge(E, { hidden: (r || I) && m }), Ce(F, () => s.current), D(() => {
|
|
91
|
+
r && O(o.getPopupContainer) && ie(!0);
|
|
92
|
+
}, []), D(() => {
|
|
93
|
+
r && we(document.body, s.current) && s.current?.focus?.();
|
|
98
94
|
}, [r]);
|
|
99
95
|
const ce = () => {
|
|
100
96
|
if (r && h === void 0 && s.current) {
|
|
101
97
|
const e = +window.getComputedStyle(s.current, null)?.zIndex;
|
|
102
98
|
isNaN(e) || le(e + 1);
|
|
103
99
|
}
|
|
104
|
-
}, de = /* @__PURE__ */
|
|
105
|
-
p !== null && /* @__PURE__ */ n("div", { className: `${t}-header`, style:
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
}, de = /* @__PURE__ */ x("div", { className: `${t}-scroll`, tabIndex: -1, children: [
|
|
101
|
+
p !== null && /* @__PURE__ */ n("div", { className: `${t}-header`, style: K, children: /* @__PURE__ */ n("div", { className: `${t}-header-title`, children: p }) }),
|
|
102
|
+
V && (w !== void 0 ? /* @__PURE__ */ n("span", { onClick: o.onCancel, className: `${t}-close-icon`, children: w }) : /* @__PURE__ */ n(
|
|
103
|
+
ye,
|
|
108
104
|
{
|
|
109
105
|
onClick: o.onCancel,
|
|
110
106
|
className: `${t}-close-icon`,
|
|
@@ -115,53 +111,53 @@ function Be(T, z) {
|
|
|
115
111
|
"div",
|
|
116
112
|
{
|
|
117
113
|
ref: (e) => {
|
|
118
|
-
|
|
114
|
+
v.current = e, ce();
|
|
119
115
|
},
|
|
120
|
-
style:
|
|
121
|
-
className:
|
|
116
|
+
style: U,
|
|
117
|
+
className: y(`${t}-content`, {
|
|
122
118
|
[`${t}-content-nofooter`]: i === null,
|
|
123
119
|
[`${t}-content-noheader`]: p === null
|
|
124
120
|
}),
|
|
125
121
|
children: /* @__PURE__ */ n(
|
|
126
|
-
|
|
122
|
+
S,
|
|
127
123
|
{
|
|
128
124
|
...d,
|
|
129
125
|
childrenName: "Drawer",
|
|
130
126
|
zIndex: h || 1050,
|
|
131
|
-
getPopupContainer: (e) => typeof k == "function" ? k(e) :
|
|
132
|
-
children:
|
|
127
|
+
getPopupContainer: (e) => typeof k == "function" ? k(e) : v.current,
|
|
128
|
+
children: W
|
|
133
129
|
}
|
|
134
130
|
)
|
|
135
131
|
}
|
|
136
132
|
),
|
|
137
|
-
i !== null && /* @__PURE__ */ n("div", { className: `${t}-footer`, children:
|
|
133
|
+
i !== null && /* @__PURE__ */ n("div", { className: `${t}-footer`, children: O(i) ? i($) : i || $ })
|
|
138
134
|
] });
|
|
139
135
|
return /* @__PURE__ */ n(
|
|
140
|
-
|
|
136
|
+
ke,
|
|
141
137
|
{
|
|
142
138
|
forceRender: !u,
|
|
143
139
|
visible: r,
|
|
144
140
|
getContainer: f,
|
|
145
|
-
children: /* @__PURE__ */
|
|
141
|
+
children: /* @__PURE__ */ x(
|
|
146
142
|
"div",
|
|
147
143
|
{
|
|
148
|
-
|
|
144
|
+
...Ie(se, ["onCancel", "onOk"]),
|
|
149
145
|
ref: s,
|
|
150
146
|
onKeyDown: (e) => {
|
|
151
|
-
e.key ===
|
|
147
|
+
e.key === ve.key && te && r && o.onCancel?.(e);
|
|
152
148
|
},
|
|
153
|
-
className:
|
|
149
|
+
className: y(
|
|
154
150
|
`${t}-wrapper`,
|
|
155
151
|
{
|
|
156
152
|
[`${t}-no-mask`]: !m,
|
|
157
153
|
[`${t}-wrapper-hide`]: !r
|
|
158
154
|
},
|
|
159
|
-
|
|
155
|
+
q
|
|
160
156
|
),
|
|
161
|
-
style: ae ? { position: "fixed", zIndex:
|
|
157
|
+
style: ae ? { position: "fixed", zIndex: b } : { zIndex: b || "inherit", position: "absolute" },
|
|
162
158
|
children: [
|
|
163
159
|
m ? /* @__PURE__ */ n(
|
|
164
|
-
|
|
160
|
+
T,
|
|
165
161
|
{
|
|
166
162
|
in: r,
|
|
167
163
|
appear: !0,
|
|
@@ -173,16 +169,16 @@ function Be(T, z) {
|
|
|
173
169
|
"div",
|
|
174
170
|
{
|
|
175
171
|
className: `${t}-mask`,
|
|
176
|
-
style:
|
|
172
|
+
style: G,
|
|
177
173
|
onClick: (e) => {
|
|
178
|
-
!
|
|
174
|
+
!I && X && o.onCancel?.(e);
|
|
179
175
|
}
|
|
180
176
|
}
|
|
181
177
|
)
|
|
182
178
|
}
|
|
183
179
|
) : null,
|
|
184
180
|
/* @__PURE__ */ n(
|
|
185
|
-
|
|
181
|
+
T,
|
|
186
182
|
{
|
|
187
183
|
in: r,
|
|
188
184
|
appear: !0,
|
|
@@ -199,25 +195,25 @@ function Be(T, z) {
|
|
|
199
195
|
e && (e.parentNode.style.display = "block", C(!1));
|
|
200
196
|
},
|
|
201
197
|
onEntered: () => {
|
|
202
|
-
|
|
198
|
+
P(!0), ee?.();
|
|
203
199
|
},
|
|
204
200
|
onExit: () => {
|
|
205
|
-
|
|
201
|
+
P(!1), C(!0);
|
|
206
202
|
},
|
|
207
203
|
onExited: (e) => {
|
|
208
|
-
e && (C(!1), e.parentNode.style.display = "",
|
|
204
|
+
e && (C(!1), e.parentNode.style.display = "", ne?.());
|
|
209
205
|
},
|
|
210
206
|
children: /* @__PURE__ */ n(
|
|
211
207
|
"div",
|
|
212
208
|
{
|
|
213
|
-
className:
|
|
209
|
+
className: y(t, M, { [`${t}-rtl`]: Z }),
|
|
214
210
|
style: Object.assign(
|
|
215
|
-
a === "left" || a === "right" ? { width:
|
|
211
|
+
a === "left" || a === "right" ? { width: J } : { height: Q },
|
|
216
212
|
{ [a]: 0 },
|
|
217
|
-
|
|
213
|
+
L
|
|
218
214
|
),
|
|
219
215
|
children: /* @__PURE__ */ n("div", { className: `${t}-inner`, children: /* @__PURE__ */ n(
|
|
220
|
-
|
|
216
|
+
S,
|
|
221
217
|
{
|
|
222
218
|
...d,
|
|
223
219
|
childrenName: "Drawer",
|
|
@@ -235,8 +231,8 @@ function Be(T, z) {
|
|
|
235
231
|
}
|
|
236
232
|
);
|
|
237
233
|
}
|
|
238
|
-
const
|
|
239
|
-
|
|
234
|
+
const Oe = ue.forwardRef(Ee);
|
|
235
|
+
Oe.displayName = "Drawer";
|
|
240
236
|
export {
|
|
241
|
-
|
|
237
|
+
Oe as default
|
|
242
238
|
};
|
package/dropdown/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMore";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import { DropdownButton as f } from "./index.js";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/DstheLSK.js";
|
|
7
7
|
import "../chunk/FgWHhRFz.js";
|
|
8
8
|
import "../chunk/ClqoGc3r.js";
|
|
9
9
|
export {
|
package/dropdown/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as q } from "react/jsx-runtime";
|
|
2
2
|
import v from "lodash/get";
|
|
3
3
|
import s, { forwardRef as H, useContext as $, useRef as I } from "react";
|
|
4
|
-
import { a as A } from "../chunk/
|
|
4
|
+
import { a as A } from "../chunk/DstheLSK.js";
|
|
5
5
|
import { u as j } from "../chunk/FgWHhRFz.js";
|
|
6
6
|
import { u as J } from "../chunk/2vdCeheu.js";
|
|
7
7
|
import K, { EventsByTriggerNeed as S } from "../trigger/index.js";
|
|
@@ -9,7 +9,7 @@ import T from "@unicom-cloud/utils/class-name";
|
|
|
9
9
|
import { s as W } from "../chunk/DsaQZE4X.js";
|
|
10
10
|
import { o as X } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { a as U, p as Y } from "../chunk/ClqoGc3r.js";
|
|
12
|
-
import { f as Z } from "../chunk/
|
|
12
|
+
import { f as Z } from "../chunk/exc7v_Hl.js";
|
|
13
13
|
import z from "@unicom-cloud/icons/IconUiMore";
|
|
14
14
|
import M from "../button/index.js";
|
|
15
15
|
const oo = {
|