@unicom-cloud/ui 0.8.111 → 0.8.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +3 -3
- package/Alert.js +1 -1
- package/AutoComplete.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +3 -47
- package/Countdown.js +9 -43
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +7 -43
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Flex.js +8 -44
- package/Form.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/LiquidFill.js +9 -44
- package/List.js +1 -1
- package/Loading.js +7 -43
- package/Marquee.js +10 -33
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +6 -42
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +7 -44
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +12 -13
- package/Segmented.js +8 -43
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +8 -44
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +10 -46
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +2 -2
- package/affix/index.js +3 -3
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +2 -2
- package/anchor/Link.js +1 -1
- package/app/App.js +2 -2
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +2 -2
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/{Y_GQsZUt.js → 3t4FwEoB.js} +1 -1
- package/chunk/{Lyh0cz3R.js → BHAu6wbC.js} +1 -1
- package/chunk/{CgN4U7Ou.js → Bcl7dWlJ.js} +2 -2
- package/chunk/Bl3hZtxi.js +51 -0
- package/chunk/{n1tirBXA.js → Bzx5BueA.js} +4 -4
- package/chunk/CAA93JLq.js +6 -0
- package/chunk/{B8W1N4er.js → CHQ8c547.js} +11 -10
- package/chunk/CVMFAeSw.js +39 -0
- package/chunk/{BcEZk8pT.js → CYDaUML7.js} +73 -104
- package/chunk/{Dbw0YUY1.js → CbXCgtzv.js} +48 -82
- package/chunk/{BDgzrqDN.js → ClNkxEcR.js} +5 -5
- package/chunk/{BlflTd2i.js → CwLSam2p.js} +433 -470
- package/chunk/Cy26_CKq.js +33 -0
- package/chunk/D0dVE1v1.js +1839 -0
- package/chunk/{CFyN9Eio.js → DA5AMZwY.js} +4 -4
- package/chunk/{DSqW_efI.js → DB0hUIM1.js} +152 -156
- package/chunk/{BUNoUPLs.js → De8RLlOK.js} +1 -1
- package/chunk/{qsVvkBLU.js → DrYaod6k.js} +1 -1
- package/chunk/{BeHcDey_.js → DzlfiVe2.js} +1 -1
- package/chunk/gJsdBcpG.js +10 -0
- package/chunk/{BnUWOu3_.js → yWKJUe_w.js} +3 -3
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +22 -66
- package/countdown/index.js +34 -68
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/details/index.js +39 -75
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/flex/index.js +30 -64
- package/form/Form.js +2 -2
- package/form/FormItem.js +1 -1
- package/form/index.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +81 -81
- package/hooks/useId.js +1 -1
- package/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/hooks/useResizeObserver.js +15 -2
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +10 -45
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +215 -215
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +2 -2
- package/input/InputElement.js +2 -2
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +2 -2
- package/input-number/index.js +1 -1
- package/input-number/useSelectionRange.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/liquid-fill/index.js +49 -84
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +19 -55
- package/marquee/index.js +58 -81
- package/marquee-/index.js +60 -83
- package/mentions/index.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +2 -2
- package/notice/index.js +6 -42
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +2 -2
- package/overflow-ellipsis/index.js +2 -2
- package/package.json +1 -1
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/CircleProgress.js +1 -1
- package/progress/index.js +1 -1
- package/qr-code/index.js +19 -56
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +2 -2
- package/resize-box/Split.js +2 -2
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/rich-text/index.js +6333 -78
- package/rich-text/lib/diff/index.d.ts +21 -0
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +71 -74
- package/row-col/Row.js +1 -1
- package/segmented/index.js +111 -146
- package/select/Option.js +44 -41
- package/select/Select.js +11 -13
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +1 -1
- package/space/index.js +16 -52
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +2 -2
- package/splitter/Splitter.js +3 -3
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +18 -7
- package/table/index.js +77 -120
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/tour/index.js +71 -107
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +3 -3
- package/tree-select/index.js +1 -1
- package/trigger/index.js +2 -2
- package/types/common/hooks/src/use-size/index.d.ts +1 -1
- package/types/common/hooks/src/utils/isBrowser.d.ts +1 -1
- package/types/common/hooks/useResizeObserver.d.ts +1 -5
- package/types/common/hooks/useStateWithPromise.d.ts +1 -1
- package/types/common/hooks/useWindowSize.d.ts +1 -1
- package/types/common/utils/dom.d.ts +12 -0
- package/types/common/utils/emitter.d.ts +1 -0
- package/types/pc/carousel/interface.d.ts +2 -2
- package/types/pc/color-picker/Panel.d.ts +1 -1
- package/types/pc/date-picker/RangePicker.d.ts +1 -1
- package/types/pc/index.d.ts +2 -2
- package/types/pc/list/interface.d.ts +2 -2
- package/types/pc/rich-text/index.d.ts +7 -4
- package/types/pc/rich-text/interface.d.ts +3 -2
- package/types/pc/rich-text/{blots → lib/blots}/scroll.d.ts +2 -8
- package/types/pc/rich-text/{core → lib/core}/editor.d.ts +1 -1
- package/types/pc/rich-text/{core → lib/core}/emitter.d.ts +2 -3
- package/types/pc/rich-text/{core → lib/core}/rich.d.ts +14 -51
- package/types/pc/rich-text/{core → lib/core}/selection.d.ts +2 -8
- package/types/pc/rich-text/{core → lib/core}/theme.d.ts +3 -0
- package/types/pc/rich-text/{core.d.ts → lib/core.d.ts} +1 -1
- package/types/pc/rich-text/lib/delta/AttributeMap.d.ts +15 -0
- package/types/pc/rich-text/lib/delta/Op.d.ts +13 -0
- package/types/pc/rich-text/lib/delta/OpIterator.d.ts +14 -0
- package/types/pc/rich-text/lib/delta/index.d.ts +53 -0
- package/types/pc/rich-text/lib/diff/index.d.ts +40 -0
- package/types/pc/rich-text/{formats → lib/formats}/bold.d.ts +1 -1
- package/types/pc/rich-text/{formats → lib/formats}/font.d.ts +1 -1
- package/types/pc/rich-text/lib/formats/hr.d.ts +5 -0
- package/types/pc/rich-text/lib/formats/image-resize/index.d.ts +27 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/BaseModule.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/DisplaySize.d.ts +5 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/Resize.d.ts +13 -0
- package/types/pc/rich-text/lib/formats/image-resize/options.d.ts +7 -0
- package/types/pc/rich-text/lib/formats/liOl.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/liUl.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/lineHeight.d.ts +3 -0
- package/types/pc/rich-text/{formats → lib/formats}/list.d.ts +1 -0
- package/types/pc/rich-text/{formats → lib/formats}/table.d.ts +3 -3
- package/types/pc/rich-text/{modules → lib/modules}/clipboard.d.ts +2 -2
- package/types/pc/rich-text/{modules → lib/modules}/history.d.ts +1 -1
- package/types/pc/rich-text/{modules → lib/modules}/keyboard.d.ts +1 -1
- package/types/pc/rich-text/{modules → lib/modules}/syntax.d.ts +2 -2
- package/types/pc/rich-text/{modules → lib/modules}/tableEmbed.d.ts +3 -3
- package/types/pc/rich-text/{modules → lib/modules}/toolbar.d.ts +1 -1
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/attributor.d.ts +3 -3
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/style.d.ts +2 -2
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/parent.d.ts +2 -4
- package/types/pc/rich-text/{themes → lib/themes}/base.d.ts +3 -0
- package/types/pc/rich-text/{themes/snow.d.ts → lib/themes/pqb.d.ts} +2 -2
- package/types/pc/rich-text/{ui → lib/ui}/icons.d.ts +5 -1
- package/types/pc/rich-text/{ui → lib/ui}/picker.d.ts +1 -0
- package/types/pc/rich-text/{ui → lib/ui}/tooltip.d.ts +2 -0
- package/types/pc/tabs/hook/useDomSize.d.ts +2 -2
- package/types/pc/tabs/hook/useHeaderScroll.d.ts +2 -2
- package/types/pc/tree-select/hook/useStateValue.d.ts +2 -2
- package/types/pc/utils/date.d.ts +1 -0
- package/types/pc/utils/emitter.d.ts +1 -0
- package/types/pc/utils/index.d.ts +2 -2
- package/typography/Base.js +2 -2
- package/typography/Ellipsis.js +70 -114
- package/typography/Operations.js +29 -74
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/date.js +1 -0
- package/utils/emitter.js +5 -0
- package/utils/index.js +70 -70
- package/utils/resizeObserver.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +218 -217
- package/watermark/Watermark.js +1 -1
- package/chunk/BDMqvmVH.js +0 -4239
- package/chunk/BG6j6Ct7.js +0 -30
- package/chunk/BGJspFG9.js +0 -56
- package/chunk/B_c0gPsX.js +0 -83
- package/chunk/COsRZOz1.js +0 -1813
- package/chunk/CylJZkp8.js +0 -6
- package/chunk/Di5KBCVQ.js +0 -4
- package/chunk/cW_5U6dL.js +0 -28
- package/rich-text/core.js +0 -11
- package/rich-text/rich.js +0 -1877
- package/types/common/utils/index.d.ts +0 -47
- package/types/common/utils/keyboardCode.d.ts +0 -4
- package/types/common/utils/math.d.ts +0 -1
- package/types/common/utils/mitt.d.ts +0 -1
- package/types/common/utils/reactTransitionGroup.d.ts +0 -1
- package/types/common/utils/uuid.d.ts +0 -1
- package/types/common/utils/validate.d.ts +0 -1
- package/types/pc/rich-text/delta/AttributeMap.d.ts +0 -10
- package/types/pc/rich-text/delta/Op.d.ts +0 -11
- package/types/pc/rich-text/delta/OpIterator.d.ts +0 -13
- package/types/pc/rich-text/delta/index.d.ts +0 -45
- package/types/pc/rich-text/themes/bubble.d.ts +0 -18
- package/types/pc/utils/mitt.d.ts +0 -1
- package/utils/mitt.js +0 -5
- package/types/common/hooks/src/utils/{index.d.ts → is.d.ts} +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/block.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/break.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/container.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/cursor.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/embed.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/inline.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/text.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/composition.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/instances.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/logger.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/module.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/utils/createRegistryWithFormats.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/utils/scrollRectIntoView.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/align.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/background.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/blockquote.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/code.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/color.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/direction.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/formula.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/header.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/image.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/indent.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/italic.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/link.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/script.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/size.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/strike.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/underline.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/video.d.ts +0 -0
- package/types/pc/rich-text/{rich.d.ts → lib/index.d.ts} +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/input.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/index.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/table.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/uiNode.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/uploader.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/class.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/store.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/blot.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/container.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/leaf.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/shadow.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/block.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/embed.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/inline.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/scroll.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/text.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-list.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-node.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/error.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/index.d.ts +1 -1
- /package/types/pc/rich-text/{parchment → lib/parchment}/registry.d.ts +0 -0
- /package/types/pc/rich-text/{parchment → lib/parchment}/scope.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/color-picker.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/icon-picker.d.ts +0 -0
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export * from '@unicom-cloud/utils/date';
|
|
2
|
-
export * from './caseName';
|
|
3
|
-
export * from './className';
|
|
4
|
-
export * from './constant';
|
|
5
|
-
export * from './copy';
|
|
6
|
-
export * from './dayjs';
|
|
7
|
-
export * from './dom';
|
|
8
|
-
export * from './fileToURL';
|
|
9
|
-
export * from './fillNBSP';
|
|
10
|
-
export * from './findScrollParent';
|
|
11
|
-
export * from './getHighlightText';
|
|
12
|
-
export * from './getHotkeyHandler';
|
|
13
|
-
export * from './getStringLength';
|
|
14
|
-
export * from './include';
|
|
15
|
-
export * from './intersectionObserver';
|
|
16
|
-
export * from './is';
|
|
17
|
-
export * from './lodash';
|
|
18
|
-
export * from './math';
|
|
19
|
-
export * from './mergedToString';
|
|
20
|
-
export * from './mergeProps';
|
|
21
|
-
export * from './mitt';
|
|
22
|
-
export * from './mutationObserver';
|
|
23
|
-
export * from './omit';
|
|
24
|
-
export * from './pad';
|
|
25
|
-
export * from './pick';
|
|
26
|
-
export * from './pinyin';
|
|
27
|
-
export * from './PqbCSSTransition';
|
|
28
|
-
export * from './reactDOM';
|
|
29
|
-
export * from './reactTransitionGroup';
|
|
30
|
-
export * from './resizeObserver';
|
|
31
|
-
export * from './saveAs';
|
|
32
|
-
export * from './screenfull';
|
|
33
|
-
export * from './scrollIntoViewIfNeeded';
|
|
34
|
-
export * from './setDarkTheme';
|
|
35
|
-
export * from './setDir';
|
|
36
|
-
export * from './setPrimaryColor';
|
|
37
|
-
export * from './setTheme';
|
|
38
|
-
export * from './style';
|
|
39
|
-
export * from './throttleByRaf';
|
|
40
|
-
export * from './toArray';
|
|
41
|
-
export * from './tree';
|
|
42
|
-
export * from './tween';
|
|
43
|
-
export * from './type';
|
|
44
|
-
export * from './uuid';
|
|
45
|
-
export * from './validate';
|
|
46
|
-
export * from './warning';
|
|
47
|
-
export { keyboardCode } from './keyboardCode';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, div, default as math, minus, plus, times, } from '@unicom-cloud/utils/math';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, default as mitt } from '@unicom-cloud/utils/mitt';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CSSTransition, default, default as reactTransitionGroup, ReplaceTransition, SwitchTransition, Transition, TransitionGroup, } from '@unicom-cloud/react-transition-group';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { v4 as uuid, v4 as uuidv4 } from 'uuid';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DefaultValidateMessage, Schema, default as validate, } from '@unicom-cloud/validate';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface AttributeMap {
|
|
2
|
-
[key: string]: unknown;
|
|
3
|
-
}
|
|
4
|
-
declare namespace AttributeMap {
|
|
5
|
-
function compose(a?: AttributeMap, b?: AttributeMap, keepNull?: boolean): AttributeMap | undefined;
|
|
6
|
-
function diff(a?: AttributeMap, b?: AttributeMap): AttributeMap | undefined;
|
|
7
|
-
function invert(attr?: AttributeMap, base?: AttributeMap): AttributeMap;
|
|
8
|
-
function transform(a: AttributeMap | undefined, b: AttributeMap | undefined, priority?: boolean): AttributeMap | undefined;
|
|
9
|
-
}
|
|
10
|
-
export default AttributeMap;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import AttributeMap from './AttributeMap';
|
|
2
|
-
interface Op {
|
|
3
|
-
insert?: string | Record<string, unknown>;
|
|
4
|
-
delete?: number;
|
|
5
|
-
retain?: number | Record<string, unknown>;
|
|
6
|
-
attributes?: AttributeMap;
|
|
7
|
-
}
|
|
8
|
-
declare namespace Op {
|
|
9
|
-
function length(op: Op): number;
|
|
10
|
-
}
|
|
11
|
-
export default Op;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Op from './Op';
|
|
2
|
-
export default class Iterator {
|
|
3
|
-
ops: Op[];
|
|
4
|
-
index: number;
|
|
5
|
-
offset: number;
|
|
6
|
-
constructor(ops: Op[]);
|
|
7
|
-
hasNext(): boolean;
|
|
8
|
-
next(length?: number): Op;
|
|
9
|
-
peek(): Op;
|
|
10
|
-
peekLength(): number;
|
|
11
|
-
peekType(): string;
|
|
12
|
-
rest(): Op[];
|
|
13
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import diff from '@unicom-cloud/utils/diff';
|
|
2
|
-
import AttributeMap from './AttributeMap';
|
|
3
|
-
import Op from './Op';
|
|
4
|
-
import OpIterator from './OpIterator';
|
|
5
|
-
interface EmbedHandler<T> {
|
|
6
|
-
compose(a: T, b: T, keepNull: boolean): T;
|
|
7
|
-
invert(a: T, b: T): T;
|
|
8
|
-
transform(a: T, b: T, priority: boolean): T;
|
|
9
|
-
}
|
|
10
|
-
declare class Delta {
|
|
11
|
-
static Op: typeof Op;
|
|
12
|
-
static OpIterator: typeof OpIterator;
|
|
13
|
-
static AttributeMap: typeof AttributeMap;
|
|
14
|
-
private static handlers;
|
|
15
|
-
static registerEmbed<T>(embedType: string, handler: EmbedHandler<T>): void;
|
|
16
|
-
static unregisterEmbed(embedType: string): void;
|
|
17
|
-
private static getHandler;
|
|
18
|
-
ops: Op[];
|
|
19
|
-
constructor(ops?: Op[] | {
|
|
20
|
-
ops: Op[];
|
|
21
|
-
});
|
|
22
|
-
insert(arg: string | Record<string, unknown>, attributes?: AttributeMap | null): this;
|
|
23
|
-
delete(length: number): this;
|
|
24
|
-
retain(length: number | Record<string, unknown>, attributes?: AttributeMap | null): this;
|
|
25
|
-
push(newOp: Op): this;
|
|
26
|
-
chop(): this;
|
|
27
|
-
filter(predicate: (op: Op, index: number) => boolean): Op[];
|
|
28
|
-
forEach(predicate: (op: Op, index: number) => void): void;
|
|
29
|
-
map<T>(predicate: (op: Op, index: number) => T): T[];
|
|
30
|
-
partition(predicate: (op: Op) => boolean): [Op[], Op[]];
|
|
31
|
-
reduce<T>(predicate: (accum: T, curr: Op, index: number) => T, initialValue: T): T;
|
|
32
|
-
changeLength(): number;
|
|
33
|
-
length(): number;
|
|
34
|
-
slice(start?: number, end?: number): Delta;
|
|
35
|
-
compose(other: Delta): Delta;
|
|
36
|
-
concat(other: Delta): Delta;
|
|
37
|
-
diff(other: Delta, cursor?: number | diff.CursorInfo): Delta;
|
|
38
|
-
eachLine(predicate: (line: Delta, attributes: AttributeMap, index: number) => boolean | void, newline?: string): void;
|
|
39
|
-
invert(base: Delta): Delta;
|
|
40
|
-
transform(index: number, priority?: boolean): number;
|
|
41
|
-
transform(other: Delta, priority?: boolean): Delta;
|
|
42
|
-
transformPosition(index: number, priority?: boolean): number;
|
|
43
|
-
}
|
|
44
|
-
export default Delta;
|
|
45
|
-
export { AttributeMap, Op, OpIterator };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Rich from '../core/rich.js';
|
|
2
|
-
import type { Bounds } from '../core/selection.js';
|
|
3
|
-
import type { ThemeOptions } from '../core/theme.js';
|
|
4
|
-
import type Toolbar from '../modules/toolbar.js';
|
|
5
|
-
import BaseTheme, { BaseTooltip } from './base.js';
|
|
6
|
-
declare class BubbleTooltip extends BaseTooltip {
|
|
7
|
-
static TEMPLATE: string;
|
|
8
|
-
constructor(rich: Rich, bounds?: HTMLElement);
|
|
9
|
-
listen(): void;
|
|
10
|
-
cancel(): void;
|
|
11
|
-
position(reference: Bounds): number;
|
|
12
|
-
}
|
|
13
|
-
declare class BubbleTheme extends BaseTheme {
|
|
14
|
-
tooltip: BubbleTooltip;
|
|
15
|
-
constructor(rich: Rich, options: ThemeOptions);
|
|
16
|
-
extendToolbar(toolbar: Toolbar): void;
|
|
17
|
-
}
|
|
18
|
-
export { BubbleTooltip, BubbleTheme as default };
|
package/types/pc/utils/mitt.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, default as mitt } from '../../common/utils/mitt';
|
package/utils/mitt.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/googleDocs.d.ts
RENAMED
|
File without changes
|
package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/msWord.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,10 +12,10 @@ import AttributorStore from './attributor/store.js';
|
|
|
12
12
|
import StyleAttributor from './attributor/style.js';
|
|
13
13
|
import Registry from './registry.js';
|
|
14
14
|
import Scope from './scope.js';
|
|
15
|
-
export { Attributor, AttributorStore, BlockBlot, ClassAttributor, ContainerBlot, EmbedBlot, InlineBlot, LeafBlot, ParentBlot, Registry, Scope, ScrollBlot, StyleAttributor, TextBlot, };
|
|
16
15
|
export type { AttributorOptions } from './attributor/attributor.js';
|
|
17
16
|
export type { Blot, BlotConstructor, Formattable, Leaf, Parent, Root, } from './blot/abstract/blot.js';
|
|
18
17
|
export type { default as ShadowBlot } from './blot/abstract/shadow.js';
|
|
19
18
|
export type { default as LinkedList } from './collection/linked-list.js';
|
|
20
19
|
export type { default as LinkedNode } from './collection/linked-node.js';
|
|
21
20
|
export type { RegistryDefinition, RegistryInterface } from './registry.js';
|
|
21
|
+
export { Attributor, AttributorStore, BlockBlot, ClassAttributor, ContainerBlot, EmbedBlot, InlineBlot, LeafBlot, ParentBlot, Registry, Scope, ScrollBlot, StyleAttributor, TextBlot, };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|