@unicom-cloud/ui 0.8.112 → 0.8.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +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 +16 -50
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +14 -50
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Flex.js +15 -51
- 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 +16 -51
- package/List.js +1 -1
- package/Loading.js +14 -50
- package/Marquee.js +23 -46
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +13 -49
- package/Notification.js +1 -1
- 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 +14 -51
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +12 -13
- package/Segmented.js +15 -50
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +15 -51
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +17 -53
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +2 -2
- package/anchor/Link.js +1 -1
- package/app/App.js +2 -2
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +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/{0BhDjhcd.js → 3t4FwEoB.js} +1 -1
- package/chunk/{KPBMJlOB.js → BHAu6wbC.js} +1 -1
- package/chunk/{DhAvt6tJ.js → Bcl7dWlJ.js} +2 -2
- package/chunk/{CrOzsnI0.js → Bl3hZtxi.js} +1 -1
- package/chunk/{BfVlSL8A.js → Bzx5BueA.js} +3 -3
- package/chunk/CVMFAeSw.js +39 -0
- package/chunk/{C1vY8016.js → CYDaUML7.js} +77 -108
- package/chunk/{CYssV-zz.js → CbXCgtzv.js} +65 -99
- package/chunk/ClNkxEcR.js +154 -0
- package/chunk/{DfUcAhyT.js → CwLSam2p.js} +2 -2
- package/chunk/Cy26_CKq.js +33 -0
- package/chunk/{BiZSULcr.js → D0dVE1v1.js} +317 -350
- package/chunk/{CtCFA4ht.js → DA5AMZwY.js} +3 -3
- package/chunk/{DfbO4QTS.js → DB0hUIM1.js} +1 -1
- package/chunk/{DMv8Hn4u.js → De8RLlOK.js} +1 -1
- package/chunk/{C3kH2ES3.js → DrYaod6k.js} +1 -1
- package/chunk/{CylbdYce.js → DzlfiVe2.js} +1 -1
- package/chunk/gJsdBcpG.js +10 -0
- package/chunk/{Cx92e1S8.js → yWKJUe_w.js} +3 -3
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +22 -66
- package/countdown/index.js +41 -75
- 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 +46 -82
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/flex/index.js +37 -71
- package/form/Form.js +2 -2
- package/form/FormItem.js +1 -1
- package/form/index.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +6 -6
- package/hooks/useId.js +1 -1
- package/hooks/useResizeObserver.js +7 -50
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +17 -52
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +379 -378
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- 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-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/liquid-fill/index.js +56 -91
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +26 -62
- package/marquee/index.js +70 -93
- package/marquee-/index.js +73 -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 +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +2 -2
- package/notice/index.js +13 -49
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +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 +26 -63
- 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 +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/rich-text/index.js +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 +118 -153
- 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 +1 -1
- package/slider/index.js +1 -1
- package/space/index.js +23 -59
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +2 -2
- package/splitter/Splitter.js +2 -2
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +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 +80 -116
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +3 -3
- package/tree-select/index.js +1 -1
- package/trigger/index.js +1 -1
- package/types/common/hooks/src/use-theme/index.d.ts +2 -2
- package/types/common/hooks/useStateWithPromise.d.ts +1 -1
- package/types/common/utils/dom.d.ts +12 -0
- package/types/pc/carousel/interface.d.ts +2 -2
- package/types/pc/color-picker/Panel.d.ts +1 -1
- package/types/pc/date-picker/RangePicker.d.ts +1 -1
- package/types/pc/index.d.ts +1 -1
- package/types/pc/list/interface.d.ts +2 -2
- package/types/pc/menu/context.d.ts +1 -1
- 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/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 +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/date.js +1 -0
- package/utils/index.js +70 -70
- 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/DsuIQH0F.js +0 -200
- 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/common/utils/validate.d.ts +0 -1
- package/types/pc/rich-text/delta/AttributeMap.d.ts +0 -10
- package/types/pc/rich-text/delta/Op.d.ts +0 -11
- package/types/pc/rich-text/delta/OpIterator.d.ts +0 -13
- package/types/pc/rich-text/delta/index.d.ts +0 -45
- package/types/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
|
@@ -2,8 +2,8 @@ import { jsx as f, jsxs as K } from "react/jsx-runtime";
|
|
|
2
2
|
import se from "lodash/isFunction";
|
|
3
3
|
import ye from "lodash/isPlainObject";
|
|
4
4
|
import q, { useContext as te, useRef as U, useState as ve, useEffect as B, useMemo as ne, useCallback as at, useImperativeHandle as st } from "react";
|
|
5
|
-
import { a as Te, I as de } from "./
|
|
6
|
-
import { u as ct } from "./
|
|
5
|
+
import { a as Te, I as de } from "./CYDaUML7.js";
|
|
6
|
+
import { u as ct } from "./gJsdBcpG.js";
|
|
7
7
|
import { u as lt } from "./FgWHhRFz.js";
|
|
8
8
|
import { u as dt } from "./2vdCeheu.js";
|
|
9
9
|
import L from "@unicom-cloud/utils/class-name";
|
|
@@ -19,7 +19,7 @@ import { setTransformStyle as mt } from "../utils/style.js";
|
|
|
19
19
|
import Ye from "@unicom-cloud/icons/IconUiDown";
|
|
20
20
|
import je from "lodash/isNull";
|
|
21
21
|
import bt from "../dropdown/index.js";
|
|
22
|
-
import { M as We } from "./
|
|
22
|
+
import { M as We } from "./Bzx5BueA.js";
|
|
23
23
|
import gt from "lodash/isEqualWith";
|
|
24
24
|
import vt from "../utils/throttleByRaf.js";
|
|
25
25
|
import Ee from "@unicom-cloud/icons/IconUiLeft";
|
|
@@ -3,7 +3,7 @@ import ln from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import sn from "lodash/isFunction";
|
|
4
4
|
import { forwardRef as Me, useState as w, useImperativeHandle as an, useRef as h, useContext as cn, useCallback as un, useEffect as ee } from "react";
|
|
5
5
|
import ve from "../button/index.js";
|
|
6
|
-
import { b as we, e as dn, a as fn, I as mn } from "./
|
|
6
|
+
import { b as we, e as dn, a as fn, I as mn } from "./CYDaUML7.js";
|
|
7
7
|
import { u as pn } from "./oopARUrq.js";
|
|
8
8
|
import { u as Cn } from "./FgWHhRFz.js";
|
|
9
9
|
import { u as gn } from "./2vdCeheu.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as x, Fragment as H } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isFunction";
|
|
3
3
|
import L from "lodash/isNil";
|
|
4
4
|
import Q, { createContext as S, useContext as y, useRef as q } from "react";
|
|
5
|
-
import { a as B, I as J } from "./
|
|
5
|
+
import { a as B, I as J } from "./CYDaUML7.js";
|
|
6
6
|
import { u as E } from "./FgWHhRFz.js";
|
|
7
7
|
import { u as j } from "./2vdCeheu.js";
|
|
8
8
|
import R from "@unicom-cloud/utils/class-name";
|
|
@@ -4,7 +4,7 @@ import W from "@unicom-cloud/icons/IconUiMinus";
|
|
|
4
4
|
import B from "lodash/isFunction";
|
|
5
5
|
import q from "lodash/isNil";
|
|
6
6
|
import V, { createContext as J, useState as K, useContext as P, useCallback as M, useRef as Q, useEffect as X } from "react";
|
|
7
|
-
import { a as I, I as Y } from "./
|
|
7
|
+
import { a as I, I as Y } from "./CYDaUML7.js";
|
|
8
8
|
import { u as Z } from "./FgWHhRFz.js";
|
|
9
9
|
import { u as S } from "./2vdCeheu.js";
|
|
10
10
|
import w from "@unicom-cloud/utils/class-name";
|
|
@@ -4,7 +4,7 @@ import K from "@unicom-cloud/icons/IconUiLeft";
|
|
|
4
4
|
import Q from "@unicom-cloud/icons/IconUiRight";
|
|
5
5
|
import W from "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import Y, { useContext as Z, useState as I, useEffect as _ } from "react";
|
|
7
|
-
import { a as ee } from "./
|
|
7
|
+
import { a as ee } from "./CYDaUML7.js";
|
|
8
8
|
import d from "@unicom-cloud/utils/class-name";
|
|
9
9
|
function z(a) {
|
|
10
10
|
const u = Y.useRef();
|
|
@@ -9,9 +9,9 @@ import j from "lodash/isFunction";
|
|
|
9
9
|
import ae from "lodash/isPlainObject";
|
|
10
10
|
import G from "lodash/isString";
|
|
11
11
|
import ze, { useRef as U, useState as ne, useCallback as se, useEffect as Q, forwardRef as Ke, useContext as qe, useImperativeHandle as Je } from "react";
|
|
12
|
-
import { a as Ge } from "./
|
|
12
|
+
import { a as Ge } from "./CYDaUML7.js";
|
|
13
13
|
import { u as de } from "./BJeTDXdz.js";
|
|
14
|
-
import { u as Qe } from "./
|
|
14
|
+
import { u as Qe } from "./gJsdBcpG.js";
|
|
15
15
|
import { u as Xe } from "./FgWHhRFz.js";
|
|
16
16
|
import { u as ke } from "./2vdCeheu.js";
|
|
17
17
|
import { u as te } from "./DfChiMIE.js";
|
|
@@ -24,7 +24,7 @@ import fe from "lodash/isEqualWith";
|
|
|
24
24
|
import "./DsaQZE4X.js";
|
|
25
25
|
import Y from "lodash/get";
|
|
26
26
|
import { b as rt } from "./-PX9OR3r.js";
|
|
27
|
-
import { C as we } from "./
|
|
27
|
+
import { C as we } from "./DrYaod6k.js";
|
|
28
28
|
import { u as it } from "./oopARUrq.js";
|
|
29
29
|
import { b as _e, o as oe } from "./d1c9z8T1.js";
|
|
30
30
|
import Oe from "../virtual-list/VirtualList.js";
|
package/collapse/Collapse.js
CHANGED
|
@@ -3,7 +3,7 @@ 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/CYDaUML7.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";
|
package/collapse/Item.js
CHANGED
|
@@ -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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.js";
|
|
5
|
+
import { R as C } from "../chunk/De8RLlOK.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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/CYDaUML7.js";
|
|
2
|
+
import { C as f, a as i, c as s } from "../chunk/CYDaUML7.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/CYDaUML7.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/CYDaUML7.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";
|
|
17
|
+
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
18
|
+
import "lodash/isNumber";
|
|
19
|
+
import "lodash/merge";
|
|
20
|
+
import "../chunk/d1c9z8T1.js";
|
|
59
21
|
import "../chunk/RjJoagzL.js";
|
|
60
|
-
import { u as
|
|
22
|
+
import { u as b } from "../chunk/FgWHhRFz.js";
|
|
23
|
+
import "../chunk/CXrVhA6-.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/CYDaUML7.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/CYDaUML7.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/3t4FwEoB.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/3t4FwEoB.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/CYDaUML7.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";
|