@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,53 @@
|
|
|
1
|
+
import { Component as a } from "react";
|
|
2
|
+
import s, { findDOMNode as n } from "react-dom";
|
|
3
|
+
import u from "react-dom/client";
|
|
4
|
+
import { g as i, f as d } from "./DsaQZE4X.js";
|
|
5
|
+
import p from "../utils/warning.js";
|
|
6
|
+
import { isFunction as o } from "@unicom-cloud/utils/is";
|
|
7
|
+
const R = s;
|
|
8
|
+
let c;
|
|
9
|
+
try {
|
|
10
|
+
c = R.createRoot || u.createRoot;
|
|
11
|
+
} catch (r) {
|
|
12
|
+
console.error(r);
|
|
13
|
+
}
|
|
14
|
+
let f;
|
|
15
|
+
function l(r) {
|
|
16
|
+
const e = r.constructor;
|
|
17
|
+
if (!o(e)) return !1;
|
|
18
|
+
f ||= /* @__PURE__ */ new WeakSet();
|
|
19
|
+
const t = f.has(e);
|
|
20
|
+
return f.add(e), t;
|
|
21
|
+
}
|
|
22
|
+
function h(r, e) {
|
|
23
|
+
if (!r) return null;
|
|
24
|
+
if (r instanceof Element)
|
|
25
|
+
return r;
|
|
26
|
+
if (r.dom instanceof Element)
|
|
27
|
+
return r.dom;
|
|
28
|
+
if (r.current instanceof Element)
|
|
29
|
+
return r.current;
|
|
30
|
+
if (i) {
|
|
31
|
+
const t = r.props?.ref;
|
|
32
|
+
if (t && "current" in t && t.current instanceof Element)
|
|
33
|
+
return t.current;
|
|
34
|
+
}
|
|
35
|
+
return o(r.getRootDOMNode) ? r.getRootDOMNode() : r instanceof a && o(n) ? n(r) : e && (p(
|
|
36
|
+
d && !l(e),
|
|
37
|
+
"Element does not define the `getRootDOMNode` method causing a call to React.findDOMNode. but findDOMNode is deprecated in StrictMode. Please check the code logic",
|
|
38
|
+
{ element: r, instance: e }
|
|
39
|
+
), o(n)) ? n(e) : null;
|
|
40
|
+
}
|
|
41
|
+
function E(r, e) {
|
|
42
|
+
if (!r) return;
|
|
43
|
+
let t;
|
|
44
|
+
i ? t = r?.props?.ref ?? r?.ref : t = r?.ref, t && (o(t) ? t(e) : "current" in t && (t.current = e));
|
|
45
|
+
}
|
|
46
|
+
function k(r) {
|
|
47
|
+
c = r;
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
E as c,
|
|
51
|
+
h as f,
|
|
52
|
+
k as s
|
|
53
|
+
};
|
package/collapse/Collapse.js
CHANGED
|
@@ -3,14 +3,14 @@ import j from "@unicom-cloud/icons/IconUiCaretLeft";
|
|
|
3
3
|
import A from "@unicom-cloud/icons/IconUiCaretRight";
|
|
4
4
|
import F from "lodash/isFunction";
|
|
5
5
|
import L, { useContext as R, useRef as k, createContext as U } from "react";
|
|
6
|
-
import { a as M, I as V } from "../chunk/
|
|
6
|
+
import { a as M, I as V } from "../chunk/DstheLSK.js";
|
|
7
7
|
import { u as S } from "../chunk/FgWHhRFz.js";
|
|
8
8
|
import { u as q } from "../chunk/2vdCeheu.js";
|
|
9
9
|
import p from "@unicom-cloud/utils/class-name";
|
|
10
10
|
import { o as D } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { u as G } from "../chunk/BJ9_azwQ.js";
|
|
12
12
|
import { u as J } from "../chunk/Bvxzb1wd.js";
|
|
13
|
-
import { o as Q, b as W } from "../chunk/
|
|
13
|
+
import { o as Q, b as W } from "../chunk/BcdTSJks.js";
|
|
14
14
|
function X(d, h) {
|
|
15
15
|
const { getPrefixCls: m } = R(M), n = R(z), I = J(), {
|
|
16
16
|
children: s,
|
package/collapse/Item.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/DstheLSK.js";
|
|
5
5
|
import "../chunk/Bvxzb1wd.js";
|
|
6
6
|
import "@unicom-cloud/utils/class-name";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/BcdTSJks.js";
|
|
8
8
|
import { CollapseItem as f } from "./Collapse.js";
|
|
9
9
|
export {
|
|
10
10
|
f as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as v } from "react";
|
|
3
|
-
import { a as $ } from "../chunk/
|
|
3
|
+
import { a as $ } from "../chunk/DstheLSK.js";
|
|
4
4
|
import g from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import { u as y } from "../chunk/CQPG8hFg.js";
|
|
6
6
|
const A = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i } from "react";
|
|
3
|
-
import { a as p } from "../chunk/
|
|
3
|
+
import { a as p } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { InputNumber as s } from "../input/Input.js";
|
|
5
5
|
const l = ({ value: o, onChange: t }) => {
|
|
6
6
|
const { getPrefixCls: n } = i(p), r = n?.("color-picker");
|
package/color-picker/InputHex.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as C, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import c from "@unicom-cloud/utils/tinycolor";
|
|
3
3
|
import { useContext as v, useState as I, useEffect as j } from "react";
|
|
4
|
-
import { a as D } from "../chunk/
|
|
4
|
+
import { a as D } from "../chunk/DstheLSK.js";
|
|
5
5
|
import m from "../input/Input.js";
|
|
6
6
|
import { InputAlpha as H } from "./InputAlpha.js";
|
|
7
7
|
const E = ({
|
package/color-picker/InputRgb.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as h, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import x from "@unicom-cloud/utils/tinycolor";
|
|
3
3
|
import { useContext as f } from "react";
|
|
4
|
-
import { a as b } from "../chunk/
|
|
4
|
+
import { a as b } from "../chunk/DstheLSK.js";
|
|
5
5
|
import I, { InputNumber as m } from "../input/Input.js";
|
|
6
6
|
import { InputAlpha as d } from "./InputAlpha.js";
|
|
7
7
|
const A = ({
|
package/color-picker/Palette.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import C from "@unicom-cloud/utils/tinycolor";
|
|
3
3
|
import { useContext as d, useMemo as h } from "react";
|
|
4
|
-
import { a as g } from "../chunk/
|
|
4
|
+
import { a as g } from "../chunk/DstheLSK.js";
|
|
5
5
|
import { u as x } from "../chunk/CQPG8hFg.js";
|
|
6
6
|
const R = ({ color: l, onChange: c }) => {
|
|
7
7
|
const { getPrefixCls: a } = d(g), e = a?.("color-picker"), { h: r, s: t, v: n } = l.hsv, { blockRef: i, handlerRef: f, onMouseDown: m } = x({
|
package/color-picker/Panel.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import d from "@unicom-cloud/utils/tinycolor";
|
|
3
3
|
import { useContext as ir, useState as ar, useMemo as sr } from "react";
|
|
4
|
-
import { a as dr } from "../chunk/
|
|
5
|
-
import { R as C } from "../chunk/
|
|
4
|
+
import { a as dr } from "../chunk/DstheLSK.js";
|
|
5
|
+
import { R as C } from "../chunk/CxbF1opI.js";
|
|
6
6
|
import mr from "../select/Select.js";
|
|
7
7
|
import E from "../tooltip/index.js";
|
|
8
8
|
import ur from "@unicom-cloud/utils/class-name";
|
package/color-picker/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import J from "lodash/isArray";
|
|
|
3
3
|
import re from "lodash/isFunction";
|
|
4
4
|
import te from "lodash/isNil";
|
|
5
5
|
import ne, { useState as A, useRef as L, useMemo as j, useCallback as Q, useEffect as q, useContext as ie } from "react";
|
|
6
|
-
import { a as se } from "../chunk/
|
|
6
|
+
import { a as se } from "../chunk/DstheLSK.js";
|
|
7
7
|
import ae from "../copy/index.js";
|
|
8
8
|
import { u as le } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import ce from "../trigger/index.js";
|
package/comment/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import h from "lodash/isPlainObject";
|
|
3
3
|
import N from "lodash/isString";
|
|
4
4
|
import { forwardRef as u, useContext as v } from "react";
|
|
5
|
-
import { a as C } from "../chunk/
|
|
5
|
+
import { a as C } from "../chunk/DstheLSK.js";
|
|
6
6
|
import { u as x } from "../chunk/FgWHhRFz.js";
|
|
7
7
|
import c from "@unicom-cloud/utils/class-name";
|
|
8
8
|
import { a as P } from "../chunk/ClqoGc3r.js";
|
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/context";
|
|
|
3
3
|
import "@unicom-cloud/utils/constant/ui";
|
|
4
4
|
import "lodash/merge";
|
|
5
5
|
import "react";
|
|
6
|
-
import { C, a as n, c as g, b as u } from "../chunk/
|
|
6
|
+
import { C, a as n, c as g, b as u } from "../chunk/DstheLSK.js";
|
|
7
7
|
import "../chunk/BE7UY3my.js";
|
|
8
8
|
import "../chunk/FgWHhRFz.js";
|
|
9
9
|
import "../modal/config.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/utils/constant/ui";
|
|
3
3
|
import "react";
|
|
4
|
-
import { c as m, a as e } from "../chunk/
|
|
4
|
+
import { c as m, a as e } from "../chunk/DstheLSK.js";
|
|
5
5
|
import "../locale/zh-CN.js";
|
|
6
6
|
export {
|
|
7
7
|
m as ConfigProviderDefaultProps,
|
package/config-provider/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "../chunk/
|
|
2
|
-
import { C as f, a as i, c as s } from "../chunk/
|
|
1
|
+
import { b as r } from "../chunk/DstheLSK.js";
|
|
2
|
+
import { C as f, a as i, c as s } from "../chunk/DstheLSK.js";
|
|
3
3
|
export {
|
|
4
4
|
f as ConfigConsumer,
|
|
5
5
|
i as ConfigContext,
|
package/copy/index.js
CHANGED
|
@@ -1,101 +1,57 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import g from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
3
3
|
import T from "@unicom-cloud/icons/IconUiCopy";
|
|
4
4
|
import { useContext as h, useState as b, useRef as P, useEffect as w } from "react";
|
|
5
|
-
import { a as E } from "../chunk/
|
|
5
|
+
import { a as E } from "../chunk/DstheLSK.js";
|
|
6
6
|
import { u as N } from "../chunk/Bvxzb1wd.js";
|
|
7
7
|
import k from "../tooltip/index.js";
|
|
8
|
-
import "@unicom-cloud/utils/date";
|
|
9
|
-
import "@unicom-cloud/utils/case-name";
|
|
10
8
|
import I from "@unicom-cloud/utils/class-name";
|
|
11
|
-
import "@unicom-cloud/utils/constant/ui";
|
|
12
9
|
import j from "@unicom-cloud/utils/clipboard-copy";
|
|
13
|
-
import "../chunk/DS_deHpN.js";
|
|
14
|
-
import "../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";
|
|
22
10
|
import "../chunk/DsaQZE4X.js";
|
|
23
|
-
import "lodash/camelCase";
|
|
24
|
-
import "lodash/capitalize";
|
|
25
|
-
import "lodash/cloneDeep";
|
|
26
|
-
import "lodash/debounce";
|
|
27
|
-
import "lodash/get";
|
|
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
11
|
import { m as v } 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 "../utils/responsiveObserve.js";
|
|
45
|
-
import "@unicom-cloud/utils/file/saveAs";
|
|
46
|
-
import "@unicom-cloud/utils/screenfull";
|
|
47
|
-
import "@unicom-cloud/utils/tinycolor";
|
|
48
|
-
import "@unicom-cloud/utils/ui-color";
|
|
49
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
50
|
-
import "lodash/isPlainObject";
|
|
51
|
-
import "react-is";
|
|
52
|
-
import "@unicom-cloud/utils/tree";
|
|
53
12
|
import { isFunction as F } from "@unicom-cloud/utils/is";
|
|
54
|
-
import "uuid";
|
|
55
|
-
import "../chunk/hc_ufgVf.js";
|
|
56
|
-
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
57
13
|
function S(o) {
|
|
58
|
-
const { children:
|
|
59
|
-
|
|
60
|
-
|
|
14
|
+
const { children: s } = o, u = N(), C = h(E), { getPrefixCls: d, locale: l, rtl: y } = C, n = d?.("copy"), [e, m] = b(!1), i = P(-1), r = o.tooltips || [
|
|
15
|
+
l?.Typography?.copy,
|
|
16
|
+
l?.Typography?.copied
|
|
61
17
|
];
|
|
62
|
-
let
|
|
63
|
-
o.icon !== null && o.icon !== !1 && (
|
|
64
|
-
function
|
|
65
|
-
if (
|
|
18
|
+
let a = null;
|
|
19
|
+
o.icon !== null && o.icon !== !1 && (a = e ? /* @__PURE__ */ c(g, {}) : o.icon || /* @__PURE__ */ c(T, {}));
|
|
20
|
+
function f(p) {
|
|
21
|
+
if (p.stopPropagation(), e)
|
|
66
22
|
return;
|
|
67
23
|
let t = o.text;
|
|
68
|
-
F(t) && (t = t()), t || (t = v(
|
|
69
|
-
|
|
24
|
+
F(t) && (t = t()), t || (t = v(s)), j(t), m(!0), o.onCopy?.(t, p), i.current = window.setTimeout(() => {
|
|
25
|
+
m(!1);
|
|
70
26
|
}, 3e3);
|
|
71
27
|
}
|
|
72
28
|
return w(() => () => {
|
|
73
|
-
clearTimeout(
|
|
74
|
-
}, []), /* @__PURE__ */
|
|
29
|
+
clearTimeout(i.current), i.current = -1;
|
|
30
|
+
}, []), /* @__PURE__ */ c(
|
|
75
31
|
k,
|
|
76
32
|
{
|
|
77
|
-
content:
|
|
33
|
+
content: e ? r[1] : r[0],
|
|
78
34
|
getPopupContainer: () => window.document.body,
|
|
79
35
|
...o.tooltipProps,
|
|
80
36
|
children: /* @__PURE__ */ x(
|
|
81
37
|
"span",
|
|
82
38
|
{
|
|
83
39
|
className: I(
|
|
84
|
-
|
|
85
|
-
!!y && `${
|
|
86
|
-
!!
|
|
40
|
+
n,
|
|
41
|
+
!!y && `${n}-rtl`,
|
|
42
|
+
!!e && `${n}-copied`,
|
|
87
43
|
o.className
|
|
88
44
|
),
|
|
89
45
|
role: "button",
|
|
90
|
-
"aria-label":
|
|
46
|
+
"aria-label": r[0],
|
|
91
47
|
tabIndex: 0,
|
|
92
|
-
onClick:
|
|
48
|
+
onClick: f,
|
|
93
49
|
...u({
|
|
94
|
-
onPressEnter:
|
|
50
|
+
onPressEnter: f
|
|
95
51
|
}),
|
|
96
52
|
children: [
|
|
97
|
-
|
|
98
|
-
|
|
53
|
+
s,
|
|
54
|
+
a
|
|
99
55
|
]
|
|
100
56
|
}
|
|
101
57
|
)
|
package/countdown/index.js
CHANGED
|
@@ -1,68 +1,34 @@
|
|
|
1
|
-
import { jsxs as _, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as _, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import a from "dayjs";
|
|
3
3
|
import { forwardRef as A, useContext as E, useRef as H, useState as M, useEffect as x } from "react";
|
|
4
|
-
import { a as O } from "../chunk/
|
|
4
|
+
import { a as O } from "../chunk/DstheLSK.js";
|
|
5
5
|
import "../chunk/DsaQZE4X.js";
|
|
6
|
-
import "@unicom-cloud/utils/date";
|
|
7
|
-
import "@unicom-cloud/utils/case-name";
|
|
8
|
-
import p from "@unicom-cloud/utils/class-name";
|
|
9
|
-
import "@unicom-cloud/utils/constant/ui";
|
|
10
|
-
import "@unicom-cloud/utils/clipboard-copy";
|
|
11
|
-
import { h as b, g as k } from "../chunk/DS_deHpN.js";
|
|
12
|
-
import "../chunk/d1c9z8T1.js";
|
|
13
|
-
import "@unicom-cloud/utils/emitter";
|
|
14
|
-
import "@unicom-cloud/utils/file/fileToURL";
|
|
15
|
-
import "lodash/escapeRegExp";
|
|
16
|
-
import "lodash/isArray";
|
|
17
|
-
import "lodash/isNumber";
|
|
18
|
-
import "lodash/isString";
|
|
19
|
-
import "lodash/isFunction";
|
|
20
|
-
import "lodash/throttle";
|
|
21
|
-
import "lodash/camelCase";
|
|
22
|
-
import "lodash/capitalize";
|
|
23
|
-
import "lodash/cloneDeep";
|
|
24
|
-
import "lodash/debounce";
|
|
25
|
-
import "lodash/get";
|
|
26
|
-
import "lodash/has";
|
|
27
|
-
import "lodash/kebabCase";
|
|
28
|
-
import "lodash/merge";
|
|
29
|
-
import "lodash/mergeWith";
|
|
30
|
-
import "lodash/set";
|
|
31
|
-
import "lodash/setWith";
|
|
32
|
-
import "lodash/snakeCase";
|
|
33
|
-
import "lodash/startCase";
|
|
34
|
-
import "lodash/uniq";
|
|
35
|
-
import "lodash/upperFirst";
|
|
36
|
-
import "@unicom-cloud/utils/math";
|
|
37
|
-
import "lodash/isPlainObject";
|
|
38
|
-
import "@unicom-cloud/utils/pinyin";
|
|
39
|
-
import "../chunk/BJ9_azwQ.js";
|
|
40
|
-
import "../chunk/CXrVhA6-.js";
|
|
41
|
-
import "@unicom-cloud/utils/file/saveAs";
|
|
42
|
-
import "@unicom-cloud/utils/screenfull";
|
|
43
|
-
import "@unicom-cloud/utils/constant/ui.js";
|
|
44
|
-
import "@unicom-cloud/utils/tinycolor";
|
|
45
|
-
import "@unicom-cloud/utils/ui-color";
|
|
46
|
-
import "react-is";
|
|
47
|
-
import "@unicom-cloud/utils/tree";
|
|
48
|
-
import { isFunction as y } from "@unicom-cloud/utils/is";
|
|
49
|
-
import "uuid";
|
|
50
|
-
import "../chunk/hc_ufgVf.js";
|
|
51
|
-
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
52
6
|
import "@unicom-cloud/utils/constant/platform";
|
|
53
7
|
import "../chunk/CdXR6dj7.js";
|
|
54
8
|
import "@unicom-cloud/utils/js-cookie";
|
|
55
|
-
import "
|
|
9
|
+
import "lodash/debounce";
|
|
10
|
+
import "@unicom-cloud/utils/screenfull";
|
|
11
|
+
import "../chunk/ClNkxEcR.js";
|
|
12
|
+
import "lodash/throttle";
|
|
13
|
+
import "lodash/isPlainObject";
|
|
56
14
|
import "@unicom-cloud/utils/query-string";
|
|
57
15
|
import "react-router";
|
|
58
16
|
import "lodash/isEqualWith";
|
|
59
|
-
import "
|
|
60
|
-
import
|
|
17
|
+
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
18
|
+
import "lodash/isNumber";
|
|
19
|
+
import "lodash/merge";
|
|
20
|
+
import "../chunk/BcdTSJks.js";
|
|
21
|
+
import "../chunk/CEAeR6xB.js";
|
|
22
|
+
import { u as b } from "../chunk/FgWHhRFz.js";
|
|
23
|
+
import "../chunk/exc7v_Hl.js";
|
|
61
24
|
import "@unicom-cloud/utils/constant";
|
|
62
|
-
import { PREFIX_CLASS_STATISTIC as
|
|
25
|
+
import { PREFIX_CLASS_STATISTIC as k } from "../statistic/interface.js";
|
|
26
|
+
import m from "@unicom-cloud/utils/class-name";
|
|
27
|
+
import { h as L, g as X } from "../chunk/DS_deHpN.js";
|
|
63
28
|
import { getDateString as q } from "./util.js";
|
|
29
|
+
import { isFunction as y } from "@unicom-cloud/utils/is";
|
|
64
30
|
function z(N, S) {
|
|
65
|
-
const { getPrefixCls:
|
|
31
|
+
const { getPrefixCls: f, componentConfig: $, rtl: u } = E(O), h = b(
|
|
66
32
|
N,
|
|
67
33
|
{
|
|
68
34
|
noStyle: !1,
|
|
@@ -72,7 +38,7 @@ function z(N, S) {
|
|
|
72
38
|
), {
|
|
73
39
|
style: D,
|
|
74
40
|
className: P,
|
|
75
|
-
title:
|
|
41
|
+
title: p,
|
|
76
42
|
styleValue: T,
|
|
77
43
|
value: j,
|
|
78
44
|
format: c = "HH:mm:ss",
|
|
@@ -81,61 +47,61 @@ function z(N, S) {
|
|
|
81
47
|
loop: I,
|
|
82
48
|
renderFormat: C,
|
|
83
49
|
onFinish: v
|
|
84
|
-
} = h, t = !F &&
|
|
85
|
-
function i() {
|
|
86
|
-
const m = l().valueOf() + l(j).valueOf(), n = b(m, c) || l();
|
|
87
|
-
return () => n.diff(k());
|
|
88
|
-
}
|
|
50
|
+
} = h, t = !F && f?.(k), o = f?.("countdown"), r = H(null), [w, R] = M(e()());
|
|
89
51
|
function e() {
|
|
52
|
+
const i = a().valueOf() + a(j).valueOf(), s = L(i, c) || a();
|
|
53
|
+
return () => s.diff(X());
|
|
54
|
+
}
|
|
55
|
+
function n() {
|
|
90
56
|
r.current === null || (window.clearInterval(r.current), r.current = null);
|
|
91
57
|
}
|
|
92
58
|
function V() {
|
|
93
|
-
let
|
|
59
|
+
let i = e();
|
|
94
60
|
r.current = window.setInterval(() => {
|
|
95
|
-
const
|
|
96
|
-
|
|
61
|
+
const s = i();
|
|
62
|
+
s <= 0 && (I ? i = e() : n(), y(v) && v()), R(s);
|
|
97
63
|
}, 1e3 / 30);
|
|
98
64
|
}
|
|
99
65
|
const g = q(Math.max(w, 0), c);
|
|
100
|
-
return x(() => (d && r.current === null &&
|
|
101
|
-
|
|
66
|
+
return x(() => (d && r.current === null && e()() > 0 ? V() : n(), () => {
|
|
67
|
+
n();
|
|
102
68
|
}), [d]), x(() => () => {
|
|
103
|
-
|
|
69
|
+
n();
|
|
104
70
|
}, []), /* @__PURE__ */ _(
|
|
105
71
|
"div",
|
|
106
72
|
{
|
|
107
73
|
ref: S,
|
|
108
74
|
style: D,
|
|
109
|
-
className:
|
|
75
|
+
className: m(
|
|
110
76
|
!!t && t,
|
|
111
|
-
{ [`${t}-rtl`]: !!t &&
|
|
77
|
+
{ [`${t}-rtl`]: !!t && u },
|
|
112
78
|
o,
|
|
113
|
-
{ [`${o}-rtl`]:
|
|
79
|
+
{ [`${o}-rtl`]: u },
|
|
114
80
|
P
|
|
115
81
|
),
|
|
116
82
|
children: [
|
|
117
|
-
|
|
83
|
+
p && /* @__PURE__ */ l(
|
|
118
84
|
"div",
|
|
119
85
|
{
|
|
120
|
-
className:
|
|
86
|
+
className: m(
|
|
121
87
|
!!t && `${t}-title`,
|
|
122
88
|
`${o}-title`
|
|
123
89
|
),
|
|
124
|
-
children:
|
|
90
|
+
children: p
|
|
125
91
|
}
|
|
126
92
|
),
|
|
127
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ l(
|
|
128
94
|
"div",
|
|
129
95
|
{
|
|
130
|
-
className:
|
|
96
|
+
className: m(
|
|
131
97
|
!!t && `${t}-content`,
|
|
132
98
|
`${o}-content`
|
|
133
99
|
),
|
|
134
|
-
children: /* @__PURE__ */
|
|
100
|
+
children: /* @__PURE__ */ l(
|
|
135
101
|
"div",
|
|
136
102
|
{
|
|
137
103
|
style: T,
|
|
138
|
-
className:
|
|
104
|
+
className: m(
|
|
139
105
|
!!t && `${t}-value`,
|
|
140
106
|
`${o}-value`
|
|
141
107
|
),
|
package/date-picker/Picker.js
CHANGED
|
@@ -6,7 +6,7 @@ import xe from "lodash/isArray";
|
|
|
6
6
|
import Yo from "lodash/isPlainObject";
|
|
7
7
|
import ko from "lodash/isUndefined";
|
|
8
8
|
import Do, { forwardRef as xo, useContext as No, useRef as oe, useImperativeHandle as To, useState as p, useEffect as jo } from "react";
|
|
9
|
-
import { a as Lo } from "../chunk/
|
|
9
|
+
import { a as Lo } from "../chunk/DstheLSK.js";
|
|
10
10
|
import { u as Ho } from "../chunk/FgWHhRFz.js";
|
|
11
11
|
import { u as Ne } from "../chunk/8w-ItYb1.js";
|
|
12
12
|
import { u as Mo } from "../chunk/DfChiMIE.js";
|
|
@@ -6,7 +6,7 @@ import "lodash/isArray";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/isUndefined";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/DstheLSK.js";
|
|
10
10
|
import "../chunk/FgWHhRFz.js";
|
|
11
11
|
import "../chunk/8w-ItYb1.js";
|
|
12
12
|
import "../chunk/DfChiMIE.js";
|
|
@@ -17,7 +17,7 @@ import "../chunk/DS_deHpN.js";
|
|
|
17
17
|
import "../chunk/ClqoGc3r.js";
|
|
18
18
|
import "./context.js";
|
|
19
19
|
import "../chunk/yXI2bb8U.js";
|
|
20
|
-
import { P as q } from "../chunk/
|
|
20
|
+
import { P as q } from "../chunk/CVjWKHBo.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/date-picker/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s, useRef as m, useImperativeHandle as n } from "react";
|
|
3
3
|
import d from "./Picker.js";
|
|
4
|
-
import { P as u, M as p, D as f, Q as l, W as D, Y as y } from "../chunk/
|
|
4
|
+
import { P as u, M as p, D as f, Q as l, W as D, Y as y } from "../chunk/CVjWKHBo.js";
|
|
5
5
|
function r(o, c) {
|
|
6
6
|
function t(k, P) {
|
|
7
7
|
const i = m(void 0);
|
package/descriptions/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import C from "lodash/isArray";
|
|
|
3
3
|
import V from "lodash/isNumber";
|
|
4
4
|
import q from "lodash/isPlainObject";
|
|
5
5
|
import { useContext as B, useState as G, useRef as J, useEffect as K, Fragment as x } from "react";
|
|
6
|
-
import { a as Q } from "../chunk/
|
|
6
|
+
import { a as Q } from "../chunk/DstheLSK.js";
|
|
7
7
|
import { u as U } from "../chunk/FgWHhRFz.js";
|
|
8
8
|
import W from "@unicom-cloud/utils/class-name";
|
|
9
9
|
import { responsiveObserve as P, responsiveArray as k } from "../utils/responsiveObserve.js";
|