@unicom-cloud/ui 0.8.126 → 0.8.128
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/Anchor.js +1 -1
- package/App.js +1 -1
- package/AutoComplete.js +1 -1
- package/Avatar.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +1 -1
- 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/Collapse.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Constant.js +1 -1
- package/Copy.js +4 -3
- package/Countdown.js +2 -2
- package/DatePicker.js +1 -1
- package/Descriptions.js +4 -4
- package/Details.js +2 -2
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Drawer.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Flex.js +2 -2
- package/Form.js +7 -5
- package/Grid.js +1 -1
- package/Icon.js +9 -13
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +1 -1
- package/InputTag.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/LiquidFill.js +1 -1
- package/List.js +1 -1
- package/Loading.js +2 -2
- package/Marquee.js +2 -2
- package/Masonry.js +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Portal.js +6 -5
- package/Progress.js +1 -1
- package/QrCode.js +2 -2
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +1 -1
- package/RowCol.js +1 -1
- package/Segmented.js +2 -2
- package/Select.js +1 -1
- package/SelectView.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +2 -2
- package/SpeechSynthesis.js +2 -2
- package/Spin.js +1 -1
- package/Splitter.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/SuspenseFallbackTest.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/TimePicker.js +1 -1
- package/Timeline.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +2 -2
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/Typography.js +1 -1
- package/Upload.js +1 -1
- package/VerificationCode.js +1 -1
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/anchor/context.js +1 -1
- package/anchor/index.js +1 -1
- package/anchor/utils.js +1 -1
- package/app/App.js +1 -1
- package/app/context.js +1 -1
- package/app/index.js +1 -1
- package/app/useApp.js +1 -1
- package/auto-complete/index.js +30 -30
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/Count.js +1 -1
- package/badge/index.js +129 -114
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/index.js +19 -19
- package/button/Group.js +1 -1
- package/button/index.js +78 -74
- package/calendar/Lunar.js +1 -1
- package/calendar/Month.js +1 -1
- package/calendar/WeekList.js +1 -1
- package/calendar/Year.js +1 -1
- package/calendar/header/Panel.js +8 -8
- package/calendar/header/index.js +1 -1
- package/calendar/hook/useCellClassName.js +1 -1
- package/calendar/index.js +1 -1
- 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 +1 -1
- package/cascader/base/node.js +1 -1
- package/cascader/base/store.js +2 -2
- package/cascader/hook/useRefCurrent.js +1 -1
- package/cascader/index.js +1 -1
- package/cascader/panel/List.js +29 -29
- package/cascader/panel/Option.js +1 -1
- package/cascader/panel/Search.js +1 -1
- package/cascader/utils.js +1 -1
- package/checkbox/Checkbox.js +74 -87
- package/checkbox/Group.js +9 -9
- package/checkbox/GroupBlock.js +1 -1
- package/checkbox/IconCheck.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/useCheckbox.js +19 -19
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +11 -11
- package/collapse/index.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/Mode.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +160 -150
- package/color-picker/colors.js +1 -1
- package/color-picker/hooks/useColorPicker.js +1 -1
- package/color-picker/hooks/useControlBlock.js +1 -1
- package/color-picker/index.js +101 -98
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +6 -7
- package/config-provider/index.js +1 -1
- package/constant/index.js +1 -1
- package/copy/index.js +21 -20
- package/countdown/index.js +2 -2
- package/countdown/utils.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +1 -1
- package/date-picker/context.js +1 -1
- package/date-picker/hook/useCellClassName.js +1 -1
- package/date-picker/index.js +1 -1
- package/date-picker/panel/Body.js +1 -1
- package/date-picker/panel/Footer.js +1 -1
- package/date-picker/panel/Header.js +1 -1
- package/date-picker/panel/Shortcut.js +1 -1
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +1 -1
- package/date-picker/panel/month/index.js +1 -1
- package/date-picker/panel/quarter/index.js +1 -1
- package/date-picker/panel/range/index.js +1 -1
- package/date-picker/panel/week/index.js +1 -1
- package/date-picker/panel/year/index.js +1 -1
- package/date-picker/utils.js +1 -1
- package/descriptions/index.js +4 -4
- package/details/index.js +2 -2
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +130 -129
- package/drawer/index.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 +2 -2
- package/form/Control.js +48 -47
- package/form/Form.js +8 -8
- package/form/FormItem.js +127 -125
- package/form/FormLabel.js +1 -1
- package/form/FormList.js +1 -1
- package/form/FormProvider.js +5 -5
- package/form/context.js +2 -2
- package/form/hook/useContext.js +1 -1
- package/form/hook/useForm.js +1 -1
- package/form/hook/useState.js +1 -1
- package/form/hook/useWatch.js +1 -1
- package/form/index.js +8 -6
- package/form/interface.js +1 -1
- package/form/promisify.js +9 -13
- package/form/store.js +62 -66
- package/form/utils.js +34 -28
- package/grid/Grid.js +59 -55
- package/grid/Item.js +10 -10
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/utils.js +1 -1
- package/hooks/index.js +117 -8
- package/hooks/use-breakpoint/index.js +1 -1
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-event/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-id/index.js +1 -1
- package/hooks/use-in-view/index.js +1 -1
- package/hooks/use-intersection-observer/index.js +1 -1
- package/hooks/use-intersection-observers/index.js +1 -1
- package/hooks/use-interval/index.js +1 -1
- package/hooks/use-is-first-render/index.js +1 -1
- package/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/hooks/use-keyboard-event/index.js +1 -1
- package/hooks/use-latest/index.js +1 -1
- package/hooks/use-listen-window-resize/index.js +1 -1
- package/hooks/use-media/index.js +1 -1
- package/hooks/use-merge-props/index.js +1 -1
- package/hooks/use-merge-value/index.js +1 -1
- package/hooks/use-move/index.js +5 -0
- package/hooks/use-mutation-observers/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-refs/index.js +1 -1
- package/hooks/use-resize-observer/index.js +1 -1
- package/hooks/use-resize-observers/index.js +1 -1
- package/hooks/use-responsive-state/index.js +13 -13
- package/hooks/use-state-callback/index.js +1 -1
- package/hooks/use-state-with-promise/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-update-layout-effect/index.js +1 -1
- package/hooks/use-verification-code/index.js +17 -18
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-watermark/index.js +37 -37
- package/hooks/use-watermark/utils.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/useBreakpoint.js +1 -1
- package/hooks/useComputedState.js +1 -1
- package/hooks/useCreate.js +1 -1
- package/hooks/useCreation.js +1 -1
- package/hooks/useEvent.js +1 -1
- package/hooks/useForceUpdate.js +1 -1
- package/hooks/useId.js +1 -1
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useIntersectionObservers.js +1 -1
- package/hooks/useInterval.js +1 -1
- package/hooks/useIsFirstRender.js +1 -1
- package/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/hooks/useKeyboardEvent.js +1 -1
- package/hooks/useLatest.js +1 -1
- package/hooks/useListenWindowResize.js +1 -1
- package/hooks/useMedia.js +1 -1
- package/hooks/useMergeProps.js +1 -1
- package/hooks/useMergeValue.js +1 -1
- package/hooks/useMove.js +5 -0
- package/hooks/useMutationObservers.js +1 -1
- package/hooks/useOnlineStatus.js +1 -1
- package/hooks/useOverflowHidden.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/usePersistCallback.js +1 -1
- package/hooks/usePrefersColorSchemeDark.js +1 -1
- package/hooks/usePrevious.js +1 -1
- package/hooks/useRefs.js +1 -1
- package/hooks/useResizeObserver.js +1 -1
- package/hooks/useResizeObservers.js +1 -1
- package/hooks/useResponsiveState.js +1 -1
- package/hooks/useStateCallback.js +1 -1
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useUpdateEffect.js +1 -1
- package/hooks/useUpdateLayoutEffect.js +1 -1
- package/hooks/useVerificationCode.js +1 -1
- package/hooks/useWatch.js +1 -1
- package/hooks/useWatermark.js +2 -2
- package/hooks/useWindowSize.js +1 -1
- package/icon/Icon.js +42 -0
- package/icon/addIconFromCdn.js +28 -0
- package/icon/index.js +9 -39
- package/icon-hover/index.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons/file.js +1 -1
- package/icons.js +1 -1
- package/image/Image.js +1 -1
- package/image/ImageFooter.js +1 -1
- package/image/ImagePreview.js +233 -233
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +1 -1
- package/image/index.js +1 -1
- package/image/previewGroupContext.js +1 -1
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +1 -1
- package/image/utils/hook/useImageStatus.js +1 -1
- package/image/utils/hook/useShowFooter.js +1 -1
- package/index.js +823 -564
- package/input/Button.js +36 -31
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +12 -12
- package/input/Number.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Tag.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/autoSizeTextAreaHeight.js +1 -1
- package/input/index.js +1 -1
- package/input/useComposition.js +1 -1
- package/input-number/decimal.js +1 -1
- package/input-number/index.js +1 -1
- package/input-number/useSelectionRange.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +73 -72
- package/input-tag/index.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 +72 -72
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +13 -13
- package/loading/index.js +2 -2
- package/locale/ar-EG.js +1 -1
- package/locale/de-DE.js +1 -1
- package/locale/default.js +1 -1
- package/locale/en-US.js +19 -5
- package/locale/es-ES.js +1 -1
- package/locale/fr-FR.js +1 -1
- package/locale/id-ID.js +1 -1
- package/locale/it-IT.js +1 -1
- package/locale/ja-JP.js +1 -1
- package/locale/ko-KR.js +1 -1
- package/locale/ms-MY.js +1 -1
- package/locale/pt-BR.js +1 -1
- package/locale/pt-PT.js +1 -1
- package/locale/ru-RU.js +1 -1
- package/locale/th-TH.js +1 -1
- package/locale/tr-TR.js +4 -6
- package/locale/vi-VN.js +1 -1
- package/locale/zh-CN.js +55 -49
- package/locale/zh-HK.js +1 -1
- package/locale/zh-TW.js +1 -1
- package/marquee/index.js +162 -153
- package/masonry/Masonry.js +2 -2
- package/masonry/MasonryItem.js +31 -24
- package/masonry/hooks/useDelay.js +2 -2
- package/masonry/hooks/useGutter.js +1 -1
- package/masonry/hooks/usePositions.js +1 -1
- package/masonry/hooks/useRefs.js +1 -1
- package/masonry/index.js +1 -1
- package/mentions/index.js +1 -1
- package/mentions/utils.js +8 -8
- package/menu/Indent.js +1 -1
- package/menu/Item.js +1 -1
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +48 -50
- package/menu/OverflowWrap.js +4 -2
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/sub-menu/Inline.js +23 -23
- package/menu/sub-menu/Pop.js +17 -17
- package/menu/sub-menu/index.js +1 -1
- package/menu/utils.js +6 -6
- package/message/index.js +1 -1
- package/message/useMessage.js +4 -4
- package/modal/Confirm.js +1 -1
- package/modal/Modal.js +327 -370
- package/modal/config.js +1 -1
- package/modal/index.js +1 -1
- package/modal/use-modal/Hook.js +1 -1
- package/modal/use-modal/index.js +1 -1
- package/notice/index.js +2 -2
- package/notification/index.js +1 -1
- package/notification/useNotification.js +4 -4
- package/notification/withNotification.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 +12 -12
- package/pagination/Pagination.js +1 -1
- package/pagination/index.js +1 -1
- package/pagination/interface.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/picker/index.js +1 -1
- package/popconfirm/index.js +76 -72
- package/popover/index.js +1 -1
- package/portal/index.js +20 -15
- package/progress/CircleProgress.js +1 -1
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +1 -1
- package/progress/index.js +1 -1
- package/qr-code/index.js +2 -2
- package/qr-code/src/index.js +1 -1
- package/qr-code/src/qrcodegen.js +1 -1
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/index.js +1 -1
- 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 +36 -36
- package/result/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/index.js +1 -1
- package/rich-text/constant.js +1 -1
- package/rich-text/index.js +89 -89
- package/rich-text/lib/assets/icons/align-center.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-justify.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-left.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-right.svg.js +1 -1
- package/rich-text/lib/assets/icons/background.svg.js +1 -1
- package/rich-text/lib/assets/icons/blockquote.svg.js +1 -1
- package/rich-text/lib/assets/icons/bold.svg.js +1 -1
- package/rich-text/lib/assets/icons/clean.svg.js +1 -1
- package/rich-text/lib/assets/icons/code.svg.js +1 -1
- package/rich-text/lib/assets/icons/color.svg.js +1 -1
- package/rich-text/lib/assets/icons/direction-ltr.svg.js +1 -1
- package/rich-text/lib/assets/icons/direction-rtl.svg.js +1 -1
- package/rich-text/lib/assets/icons/divider.svg.js +1 -1
- package/rich-text/lib/assets/icons/dropdown.svg.js +1 -1
- package/rich-text/lib/assets/icons/formula.svg.js +1 -1
- package/rich-text/lib/assets/icons/fullscreen-exit.svg.js +1 -1
- package/rich-text/lib/assets/icons/fullscreen.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-2.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-3.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-4.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-5.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-6.svg.js +1 -1
- package/rich-text/lib/assets/icons/header.svg.js +1 -1
- package/rich-text/lib/assets/icons/image.svg.js +1 -1
- package/rich-text/lib/assets/icons/indent.svg.js +1 -1
- package/rich-text/lib/assets/icons/italic.svg.js +1 -1
- package/rich-text/lib/assets/icons/link.svg.js +1 -1
- package/rich-text/lib/assets/icons/list-bullet.svg.js +1 -1
- package/rich-text/lib/assets/icons/list-ordered.svg.js +1 -1
- package/rich-text/lib/assets/icons/outdent.svg.js +1 -1
- package/rich-text/lib/assets/icons/redo.svg.js +1 -1
- package/rich-text/lib/assets/icons/strike.svg.js +1 -1
- package/rich-text/lib/assets/icons/subscript.svg.js +1 -1
- package/rich-text/lib/assets/icons/superscript.svg.js +1 -1
- package/rich-text/lib/assets/icons/table.svg.js +1 -1
- package/rich-text/lib/assets/icons/underline.svg.js +1 -1
- package/rich-text/lib/assets/icons/undo.svg.js +1 -1
- package/rich-text/lib/assets/icons/video.svg.js +1 -1
- package/rich-text/lib/blots/block.js +1 -1
- package/rich-text/lib/blots/break.js +1 -1
- package/rich-text/lib/blots/container.js +1 -1
- package/rich-text/lib/blots/cursor.js +1 -1
- package/rich-text/lib/blots/embed.js +1 -1
- package/rich-text/lib/blots/inline.js +1 -1
- package/rich-text/lib/blots/scroll.js +1 -1
- package/rich-text/lib/blots/text.js +1 -1
- package/rich-text/lib/core/composition.js +1 -1
- package/rich-text/lib/core/editor.js +1 -1
- package/rich-text/lib/core/emitter.js +1 -1
- package/rich-text/lib/core/instances.js +1 -1
- package/rich-text/lib/core/logger.js +1 -1
- package/rich-text/lib/core/module.js +1 -1
- package/rich-text/lib/core/rich.js +1 -1
- package/rich-text/lib/core/selection.js +1 -1
- package/rich-text/lib/core/theme.js +1 -1
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +1 -1
- package/rich-text/lib/core/utils/scrollRectIntoView.js +1 -1
- package/rich-text/lib/core.js +1 -1
- package/rich-text/lib/delta/AttributeMap.js +1 -1
- package/rich-text/lib/delta/Op.js +1 -1
- package/rich-text/lib/delta/OpIterator.js +1 -1
- package/rich-text/lib/delta/index.js +1 -1
- package/rich-text/lib/diff/index.js +1 -1
- package/rich-text/lib/formats/align.js +1 -1
- package/rich-text/lib/formats/background.js +1 -1
- package/rich-text/lib/formats/blockquote.js +1 -1
- package/rich-text/lib/formats/bold.js +1 -1
- package/rich-text/lib/formats/code.js +1 -1
- package/rich-text/lib/formats/color.js +1 -1
- package/rich-text/lib/formats/direction.js +1 -1
- package/rich-text/lib/formats/font.js +1 -1
- package/rich-text/lib/formats/formula.js +1 -1
- package/rich-text/lib/formats/header.js +1 -1
- package/rich-text/lib/formats/hr.js +1 -1
- package/rich-text/lib/formats/image-resize/index.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/BaseModule.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/Resize.js +1 -1
- package/rich-text/lib/formats/image-resize/options.js +1 -1
- package/rich-text/lib/formats/image.js +2 -2
- package/rich-text/lib/formats/indent.js +1 -1
- package/rich-text/lib/formats/italic.js +1 -1
- package/rich-text/lib/formats/lineHeight.js +1 -1
- package/rich-text/lib/formats/link.js +2 -2
- package/rich-text/lib/formats/list.js +1 -1
- package/rich-text/lib/formats/script.js +1 -1
- package/rich-text/lib/formats/size.js +1 -1
- package/rich-text/lib/formats/strike.js +1 -1
- package/rich-text/lib/formats/table.js +1 -1
- package/rich-text/lib/formats/underline.js +1 -1
- package/rich-text/lib/formats/video.js +2 -2
- package/rich-text/lib/index.js +1 -1
- package/rich-text/lib/modules/clipboard.js +1 -1
- package/rich-text/lib/modules/history.js +1 -1
- package/rich-text/lib/modules/input.js +1 -1
- package/rich-text/lib/modules/keyboard.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/index.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +1 -1
- package/rich-text/lib/modules/syntax.js +1 -1
- package/rich-text/lib/modules/table.js +1 -1
- package/rich-text/lib/modules/toolbar.js +1 -1
- package/rich-text/lib/modules/uiNode.js +1 -1
- package/rich-text/lib/modules/uploader.js +1 -1
- package/rich-text/lib/parchment/attributor/attributor.js +5 -5
- package/rich-text/lib/parchment/attributor/class.js +1 -1
- package/rich-text/lib/parchment/attributor/store.js +1 -1
- package/rich-text/lib/parchment/attributor/style.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/container.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/leaf.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/parent.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/shadow.js +2 -2
- package/rich-text/lib/parchment/blot/block.js +1 -1
- package/rich-text/lib/parchment/blot/embed.js +1 -1
- package/rich-text/lib/parchment/blot/inline.js +1 -1
- package/rich-text/lib/parchment/blot/scroll.js +1 -1
- package/rich-text/lib/parchment/blot/text.js +1 -1
- package/rich-text/lib/parchment/collection/linked-list.js +1 -1
- package/rich-text/lib/parchment/error.js +1 -1
- package/rich-text/lib/parchment/index.js +1 -1
- package/rich-text/lib/parchment/registry.js +1 -1
- package/rich-text/lib/parchment/scope.js +1 -1
- package/rich-text/lib/themes/base.js +1 -1
- package/rich-text/lib/themes/pqb.js +1 -1
- package/rich-text/lib/ui/color-picker.js +1 -1
- package/rich-text/lib/ui/icon-picker.js +1 -1
- package/rich-text/lib/ui/icons.js +1 -1
- package/rich-text/lib/ui/picker.js +1 -1
- package/rich-text/lib/ui/tooltip.js +1 -1
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +12 -12
- package/row-col/Row.js +1 -1
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/segmented/index.js +2 -2
- package/select/OptGroup.js +1 -1
- package/select/Option.js +17 -17
- package/select/Select.js +243 -242
- package/select/index.js +1 -1
- package/select/utils.js +1 -1
- package/select-view/Core.js +1 -1
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Text.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/Dot.js +1 -1
- package/slider/Input.js +1 -1
- package/slider/Mark.js +1 -1
- package/slider/Tick.js +1 -1
- package/slider/hook/useInterval.js +1 -1
- package/slider/hook/useLegalValue.js +1 -1
- package/slider/index.js +1 -1
- package/slider/utils.js +1 -1
- package/space/index.js +2 -2
- package/speech-synthesis/index.js +2 -2
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/hooks/useItems.js +1 -1
- package/splitter/hooks/useResizable.js +1 -1
- package/splitter/hooks/useResize.js +1 -1
- package/splitter/hooks/useSizes.js +1 -1
- package/splitter/index.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/steps/Step.js +1 -1
- package/steps/index.js +1 -1
- package/style/normalize.less +1 -1
- package/style/variables.css +2 -0
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/switch/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +22 -22
- package/table/constant.js +1 -1
- package/table/context.js +1 -1
- package/table/hook/useColumns.js +1 -1
- package/table/hook/useComponent.js +1 -1
- package/table/hook/useExpand.js +28 -25
- package/table/hook/useRowSelection.js +1 -1
- package/table/hook/useSorter.js +1 -1
- package/table/hook/useStickyClassNames.js +1 -1
- package/table/hook/useStickyOffsets.js +1 -1
- package/table/hook/useThResizable.js +1 -1
- package/table/index.js +1 -1
- package/table/summary/Cell.js +1 -1
- package/table/summary/Row.js +1 -1
- package/table/summary/context.js +1 -1
- package/table/summary/index.js +1 -1
- package/table/tbody/Td.js +1 -1
- package/table/tbody/Tr.js +44 -44
- package/table/tbody/index.js +43 -43
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +1 -1
- package/table/thead/Column.js +29 -29
- package/table/thead/index.js +1 -1
- package/table/utils.js +1 -1
- package/tabs/Tab.js +31 -31
- package/tabs/TabContent.js +1 -1
- package/tabs/TabPane.js +1 -1
- package/tabs/hook/useDomSize.js +1 -1
- package/tabs/hook/useHeaderScroll.js +1 -1
- package/tabs/index.js +1 -1
- package/tabs/tab-header/DropdownIcon.js +1 -1
- package/tabs/tab-header/TabInk.js +1 -1
- package/tabs/tab-header/TabNavIcon.js +1 -1
- package/tabs/tab-header/TabTitle.js +1 -1
- package/tabs/tab-header/index.js +14 -14
- package/tabs/utils.js +1 -1
- package/tag/index.js +26 -26
- package/time-picker/Picker.js +1 -1
- package/time-picker/RangePicker.js +1 -1
- package/time-picker/TimeColumn.js +1 -1
- package/time-picker/TimePicker.js +121 -122
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/utils.js +13 -13
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +15 -15
- package/timeline/index.js +1 -1
- package/tooltip/index.js +1 -1
- package/tour/index.js +136 -128
- package/transfer/Item.js +10 -10
- package/transfer/List.js +23 -25
- package/transfer/index.js +87 -87
- package/tree/Animation.js +12 -12
- package/tree/Context.js +1 -1
- package/tree/Node.js +16 -16
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +81 -81
- package/tree/index.js +1 -1
- package/tree/utils.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +37 -37
- package/tree-select/hook/useKeyCache.js +1 -1
- package/tree-select/hook/useStateValue.js +20 -20
- package/tree-select/hook/useTreeData.js +1 -1
- package/tree-select/index.js +1 -1
- package/tree-select/interface.js +1 -1
- package/tree-select/utils.js +1 -1
- package/trigger/getPopupStyle.js +119 -102
- package/trigger/index.js +208 -221
- package/types/badge/interface.d.ts +1 -2
- package/types/breadcrumb/interface.d.ts +1 -1
- package/types/button/interface.d.ts +4 -0
- package/types/checkbox/interface.d.ts +6 -6
- package/types/config-provider/interface.d.ts +2 -0
- package/types/drawer/interface.d.ts +5 -0
- package/types/form/Control.d.ts +1 -0
- package/types/form/context.d.ts +2 -2
- package/types/form/index.d.ts +2 -1
- package/types/form/interface.d.ts +1 -1
- package/types/form/promisify.d.ts +1 -1
- package/types/form/store.d.ts +2 -0
- package/types/form/utils.d.ts +8 -4
- package/types/grid/interface.d.ts +11 -9
- package/types/hooks/index.d.ts +2 -1
- package/types/hooks/use-move/index.d.ts +1 -0
- package/types/icon/Icon.d.ts +8 -0
- package/types/icon/addIconFromCdn.d.ts +4 -0
- package/types/icon/index.d.ts +2 -16
- package/types/icon/interface.d.ts +8 -0
- package/types/index.d.ts +5 -5
- package/types/locale/en-US.d.ts +65 -44
- package/types/locale/tr-TR.d.ts +0 -46
- package/types/locale/zh-CN.d.ts +59 -2
- package/types/marquee/interface.d.ts +2 -2
- package/types/popconfirm/interface.d.ts +1 -1
- package/types/portal/index.d.ts +2 -2
- package/types/portal/interface.d.ts +0 -5
- package/types/rich-text/index.d.ts +4 -5
- package/types/space/interface.d.ts +3 -2
- package/types/transfer/interface.d.ts +1 -1
- package/types/trigger/getPopupStyle.d.ts +2 -2
- package/types/trigger/interface.d.ts +1 -1
- package/types/upload/list/PictureItem.d.ts +2 -2
- package/types/upload/list/TextItem.d.ts +2 -2
- package/types/upload/list/UploadProgress.d.ts +2 -2
- package/types/upload/list/index.d.ts +1 -1
- package/types/utils/constant.d.ts +4 -3
- package/types/utils/date.d.ts +1 -1
- package/types/utils/dayjs.d.ts +0 -1
- package/types/utils/dom.d.ts +1 -1
- package/types/utils/is.d.ts +1 -1
- package/types/utils/lodash.d.ts +1 -0
- package/types/utils/names.d.ts +5 -0
- package/types/utils/ref.d.ts +1 -1
- package/types/utils/scrollIntoViewIfNeeded.d.ts +3 -2
- package/types/utils/tree.d.ts +1 -2
- package/types/utils/validate.d.ts +2 -1
- package/typography/Base.js +1 -1
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +6 -7
- package/typography/Operations.js +1 -1
- package/typography/Paragraph.js +1 -1
- package/typography/Text.js +1 -1
- package/typography/Title.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +1 -1
- package/typography/useCssEllipsis.js +1 -1
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +67 -64
- package/upload/Upload.js +136 -120
- package/upload/Uploader.js +161 -147
- package/upload/constant.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +2 -2
- package/upload/list/TextItem.js +49 -49
- package/upload/list/UploadProgress.js +2 -2
- package/upload/list/index.js +59 -96
- package/upload/request.js +31 -31
- package/upload/utils.js +28 -28
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/constant.js +2 -2
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/date.js +8 -2
- package/utils/dayjs.js +53 -53
- package/utils/dom.js +14 -2
- package/utils/emitter.js +1 -1
- package/utils/fileToURL.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/findRootElement.js +1 -1
- package/utils/findScrollParent.js +1 -1
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.js +327 -179
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +91 -55
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +64 -1
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/mutationObserver.js +1 -1
- package/utils/names.js +6 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -1
- package/utils/react19Adapter.js +1 -1
- package/utils/ref.js +11 -2
- package/utils/resizeObserver.js +1 -1
- package/utils/responsiveObserve.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +18 -6
- package/utils/setCreateRoot.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/string.js +1 -1
- package/utils/style.js +1 -1
- package/utils/throttleByRaf.js +1 -1
- package/utils/throttleByRaf2.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +10 -4
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.js +16 -2
- package/utils/warning.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/verification-code/index.js +1 -1
- package/version/index.js +2 -2
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/virtual-list/constant.js +1 -1
- package/virtual-list/hook/useCacheChildrenNodes.js +1 -1
- package/virtual-list/hook/useComputeVirtualItemHeight.js +1 -1
- package/virtual-list/index.js +1 -1
- package/virtual-list/utils/algorithm.js +1 -1
- package/virtual-list/utils/item.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/watermark/index.js +1 -1
- package/icon/addFromIconFontCn.js +0 -29
- package/portal/Portal.js +0 -15
- package/types/icon/addFromIconFontCn.d.ts +0 -4
- package/types/portal/Portal.d.ts +0 -4
package/resize-box/index.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
import { jsxs as et, jsx as ot } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as rt, useContext as nt, useState as st, useRef as M, useImperativeHandle as it } from "react";
|
|
4
4
|
import "../config-provider/ConfigProvider.js";
|
|
5
5
|
import ct from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
6
|
-
import
|
|
6
|
+
import D from "@unicom-cloud/ui-common/hooks/use-merge-value";
|
|
7
7
|
import at from "@unicom-cloud/ui-common/utils/className";
|
|
8
8
|
import { on as u, off as m } from "@unicom-cloud/ui-common/utils/dom";
|
|
9
|
-
import { isNumber as
|
|
9
|
+
import { isNumber as B } from "@unicom-cloud/ui-common/utils/is";
|
|
10
10
|
import ut from "@unicom-cloud/ui-common/utils/omit";
|
|
11
11
|
import mt from "./ResizeTrigger.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
16
|
-
|
|
12
|
+
import lt from "./Split.js";
|
|
13
|
+
import pt from "./SplitGroup.js";
|
|
14
|
+
import gt from "../config-provider/context.js";
|
|
15
|
+
const O = "left", w = "right", v = "top", R = "bottom", dt = [
|
|
16
|
+
O,
|
|
17
17
|
w,
|
|
18
18
|
v,
|
|
19
19
|
R
|
|
20
|
-
],
|
|
20
|
+
], ft = {
|
|
21
21
|
component: "div",
|
|
22
22
|
directions: ["right"],
|
|
23
23
|
resizeIcons: {},
|
|
24
24
|
resizeTriggers: {}
|
|
25
|
-
}, ht = (
|
|
26
|
-
switch (
|
|
25
|
+
}, ht = (l) => {
|
|
26
|
+
switch (l) {
|
|
27
27
|
case "left":
|
|
28
28
|
return "right";
|
|
29
29
|
case "right":
|
|
30
30
|
return "left";
|
|
31
31
|
default:
|
|
32
|
-
return
|
|
32
|
+
return l;
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
function wt(
|
|
36
|
-
const { getPrefixCls: $, componentConfig: X, rtl: x } = nt(
|
|
35
|
+
function wt(l, W) {
|
|
36
|
+
const { getPrefixCls: $, componentConfig: X, rtl: x } = nt(gt), p = ct(l, ft, X?.ResizeBox), {
|
|
37
37
|
style: Y,
|
|
38
38
|
className: P,
|
|
39
39
|
component: k,
|
|
@@ -44,7 +44,7 @@ function wt(p, W) {
|
|
|
44
44
|
width: j,
|
|
45
45
|
height: F,
|
|
46
46
|
...q
|
|
47
|
-
} =
|
|
47
|
+
} = p, K = x ? C.map((t) => ht(t)) : C, f = $?.("resizebox"), L = at(f, { [`${f}-rtl`]: x }, P), [U, V] = st({}), [T, b] = D(void 0, { value: j }), [y, I] = D(void 0, { value: F }), o = M({
|
|
48
48
|
startX: 0,
|
|
49
49
|
startY: 0,
|
|
50
50
|
startWidth: 0,
|
|
@@ -57,14 +57,14 @@ function wt(p, W) {
|
|
|
57
57
|
left: 0,
|
|
58
58
|
right: 0
|
|
59
59
|
}
|
|
60
|
-
}),
|
|
60
|
+
}), g = M(void 0);
|
|
61
61
|
it(W, () => ({
|
|
62
62
|
getRootElement() {
|
|
63
|
-
return
|
|
63
|
+
return g.current;
|
|
64
64
|
}
|
|
65
65
|
}));
|
|
66
66
|
function h(t) {
|
|
67
|
-
return [v, R].
|
|
67
|
+
return [v, R].includes(t);
|
|
68
68
|
}
|
|
69
69
|
function N(t, e) {
|
|
70
70
|
if (t === 0)
|
|
@@ -82,26 +82,26 @@ function wt(p, W) {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
function J(t, e) {
|
|
85
|
-
|
|
85
|
+
p.onMovingStart?.(), o.current.moving = !0, o.current.startX = e.pageX, o.current.startY = e.pageY, o.current.direction = t;
|
|
86
86
|
const { top: r, left: s, right: i, bottom: n } = o.current.padding;
|
|
87
87
|
o.current.startWidth = N(
|
|
88
|
-
|
|
88
|
+
g.current?.clientWidth,
|
|
89
89
|
s + i
|
|
90
90
|
), o.current.startHeight = N(
|
|
91
|
-
|
|
91
|
+
g.current?.clientHeight,
|
|
92
92
|
r + n
|
|
93
|
-
), u(window, "mousemove",
|
|
93
|
+
), u(window, "mousemove", d), u(window, "touchmove", d), u(window, "mouseup", a), u(window, "touchend", a), u(window, "contextmenu", a), S(
|
|
94
94
|
h(t) ? "row-resize" : "col-resize"
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function d(t) {
|
|
98
98
|
if (!o.current.moving)
|
|
99
99
|
return !1;
|
|
100
100
|
const { startX: e, startY: r, startWidth: s, startHeight: i } = o.current;
|
|
101
101
|
let n = s, c = i;
|
|
102
102
|
const E = t.pageX - e, H = t.pageY - r;
|
|
103
103
|
switch (o.current.direction) {
|
|
104
|
-
case
|
|
104
|
+
case O:
|
|
105
105
|
n = s - E, b(n);
|
|
106
106
|
break;
|
|
107
107
|
case w:
|
|
@@ -114,16 +114,16 @@ function wt(p, W) {
|
|
|
114
114
|
c = i + H, I(c);
|
|
115
115
|
break;
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
p.onMoving?.(t, {
|
|
118
118
|
width: n,
|
|
119
119
|
height: c
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
function a() {
|
|
123
|
-
o.current.moving = !1, Q(), S(),
|
|
123
|
+
o.current.moving = !1, Q(), S(), p.onMovingEnd?.();
|
|
124
124
|
}
|
|
125
125
|
function Q() {
|
|
126
|
-
m(window, "mousemove",
|
|
126
|
+
m(window, "mousemove", d), m(window, "touchmove", d), m(window, "mouseup", a), m(window, "touchend", a), m(window, "contextmenu", a);
|
|
127
127
|
}
|
|
128
128
|
function Z(t, e) {
|
|
129
129
|
const r = h(t), { contentRect: s } = e[0], i = `${t.slice(0, 1).toUpperCase()}${t.slice(1)}`, n = s[r ? "height" : "width"];
|
|
@@ -135,8 +135,8 @@ function wt(p, W) {
|
|
|
135
135
|
const tt = {
|
|
136
136
|
...U,
|
|
137
137
|
...Y || {},
|
|
138
|
-
...
|
|
139
|
-
...
|
|
138
|
+
...B(T) ? { width: T } : {},
|
|
139
|
+
...B(y) ? { height: y } : {}
|
|
140
140
|
};
|
|
141
141
|
return /* @__PURE__ */ et(
|
|
142
142
|
k,
|
|
@@ -144,15 +144,15 @@ function wt(p, W) {
|
|
|
144
144
|
...ut(q, ["onMovingStart", "onMoving", "onMovingEnd"]),
|
|
145
145
|
style: tt,
|
|
146
146
|
className: L,
|
|
147
|
-
ref:
|
|
147
|
+
ref: g,
|
|
148
148
|
children: [
|
|
149
149
|
_,
|
|
150
150
|
K.map((t) => {
|
|
151
|
-
if (
|
|
151
|
+
if (dt.includes(t))
|
|
152
152
|
return /* @__PURE__ */ ot(
|
|
153
153
|
mt,
|
|
154
154
|
{
|
|
155
|
-
className: `${
|
|
155
|
+
className: `${f}-direction-${t}`,
|
|
156
156
|
direction: h(t) ? "horizontal" : "vertical",
|
|
157
157
|
icon: G[t],
|
|
158
158
|
onMouseDown: (e) => {
|
|
@@ -171,11 +171,11 @@ function wt(p, W) {
|
|
|
171
171
|
);
|
|
172
172
|
}
|
|
173
173
|
const vt = rt(wt), z = vt;
|
|
174
|
-
z.Split =
|
|
175
|
-
z.SplitGroup =
|
|
174
|
+
z.Split = lt;
|
|
175
|
+
z.SplitGroup = pt;
|
|
176
176
|
z.displayName = "ResizeBox";
|
|
177
177
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
lt as ResizeBoxSplit,
|
|
179
|
+
pt as ResizeBoxSplitGroup,
|
|
180
180
|
z as default
|
|
181
181
|
};
|
package/result/403.js
CHANGED
package/result/404.js
CHANGED
package/result/500.js
CHANGED
package/result/index.js
CHANGED
package/rich-text/constant.js
CHANGED
package/rich-text/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/* 2025-
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import { forwardRef as D, useContext as L,
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
|
+
import { jsx as z } from "react/jsx-runtime";
|
|
3
|
+
import G from "lodash/defaultsDeep";
|
|
4
|
+
import { forwardRef as D, useContext as L, useRef as b, useEffect as g, useImperativeHandle as M } from "react";
|
|
5
5
|
import "../config-provider/ConfigProvider.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { isString as
|
|
6
|
+
import F from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
7
|
+
import X from "@unicom-cloud/ui-common/utils/className";
|
|
8
|
+
import { isString as $, isFunction as j } from "@unicom-cloud/ui-common/utils/is";
|
|
9
9
|
import "./lib/index.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import q from "./lib/formats/image-resize/index.js";
|
|
11
|
+
import B from "./lib/formats/lineHeight.js";
|
|
12
12
|
import "./lib/core.js";
|
|
13
13
|
import t from "./lib/core/rich.js";
|
|
14
|
-
import
|
|
14
|
+
import K from "../config-provider/context.js";
|
|
15
15
|
import { default as de } from "./lib/delta/index.js";
|
|
16
16
|
import { default as he } from "./lib/core/module.js";
|
|
17
|
-
import { default as
|
|
17
|
+
import { default as Ee } from "./lib/delta/OpIterator.js";
|
|
18
18
|
import { default as Re } from "./lib/delta/AttributeMap.js";
|
|
19
|
-
import { default as
|
|
20
|
-
import * as
|
|
21
|
-
import { Range as
|
|
19
|
+
import { default as ve } from "./lib/delta/Op.js";
|
|
20
|
+
import * as ue from "./lib/parchment/index.js";
|
|
21
|
+
import { Range as be } from "./lib/core/selection.js";
|
|
22
22
|
t.import("delta");
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const Q = {}, V = t.import("attributors/style/size"), h = t.import("formats/font");
|
|
24
|
+
h.whitelist = [
|
|
25
25
|
"serif",
|
|
26
26
|
"monospace",
|
|
27
27
|
"pingfang-sc",
|
|
@@ -37,26 +37,30 @@ p.whitelist = [
|
|
|
37
37
|
"fangsong"
|
|
38
38
|
// 仿宋
|
|
39
39
|
];
|
|
40
|
-
t.register(
|
|
41
|
-
t.register("modules/imageResize",
|
|
42
|
-
function
|
|
43
|
-
const { getPrefixCls:
|
|
40
|
+
t.register(h, !0);
|
|
41
|
+
t.register("modules/imageResize", q);
|
|
42
|
+
function J(s, N) {
|
|
43
|
+
const { getPrefixCls: H, renderEmpty: U, componentConfig: O, rtl: P } = L(K), r = F(
|
|
44
44
|
s,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
),
|
|
48
|
-
style:
|
|
45
|
+
Q,
|
|
46
|
+
O?.RichText
|
|
47
|
+
), f = H?.("rich-text"), {
|
|
48
|
+
style: _,
|
|
49
49
|
className: w,
|
|
50
|
-
defaultValue:
|
|
51
|
-
value:
|
|
50
|
+
defaultValue: S,
|
|
51
|
+
value: I,
|
|
52
52
|
readOnly: i,
|
|
53
|
-
options:
|
|
53
|
+
options: A,
|
|
54
54
|
...W
|
|
55
|
-
} =
|
|
56
|
-
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
} = r, E = "readOnly" in r, u = I || S, m = b(void 0), e = b(void 0);
|
|
56
|
+
function p(n) {
|
|
57
|
+
const l = e.current.getSelection();
|
|
58
|
+
e.current.setContents(n ?? u), l && e.current.setSelection(l);
|
|
59
|
+
}
|
|
60
|
+
return g(() => {
|
|
61
|
+
const n = m.current, l = n.appendChild(
|
|
62
|
+
n.ownerDocument.createElement("div")
|
|
63
|
+
), k = i ? { readOnly: !0 } : {
|
|
60
64
|
theme: "pqb",
|
|
61
65
|
modules: {
|
|
62
66
|
// syntax: true,
|
|
@@ -64,10 +68,10 @@ function Q(s, l) {
|
|
|
64
68
|
toolbar: {
|
|
65
69
|
container: [
|
|
66
70
|
[
|
|
67
|
-
{ font: [!1, ...
|
|
71
|
+
{ font: [!1, ...h.whitelist] },
|
|
68
72
|
// { size: [false, 'small', 'large', 'huge'] },
|
|
69
|
-
{ size: [!1, ...
|
|
70
|
-
{ "line-height": [!1, ...
|
|
73
|
+
{ size: [!1, ...V.whitelist] },
|
|
74
|
+
{ "line-height": [!1, ...B.whitelist] },
|
|
71
75
|
{ header: [!1, 1, 2, 3, 4, 5, 6] }
|
|
72
76
|
],
|
|
73
77
|
["bold", "italic", "underline", "strike"],
|
|
@@ -113,80 +117,76 @@ function Q(s, l) {
|
|
|
113
117
|
placeholder: "请输入富文本内容"
|
|
114
118
|
};
|
|
115
119
|
e.current = new t(
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
l,
|
|
121
|
+
G(A, k)
|
|
118
122
|
), console.log("new Rich", e.current);
|
|
119
|
-
function
|
|
120
|
-
if (
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
function x(o, v, d) {
|
|
124
|
+
if (d === "user") {
|
|
125
|
+
let a = e.current.getContents(), c = e.current.getText();
|
|
126
|
+
$(c) && (c = c.trim());
|
|
127
|
+
const y = r.onChangeCallback;
|
|
128
|
+
j(y) && (a = y(a) ?? a), r.onChange?.(
|
|
129
|
+
c ? a : void 0,
|
|
126
130
|
e,
|
|
127
|
-
|
|
131
|
+
e.current,
|
|
128
132
|
o,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
),
|
|
133
|
+
v,
|
|
134
|
+
d
|
|
135
|
+
), r.onTextChange?.(o, v, d);
|
|
132
136
|
}
|
|
133
137
|
}
|
|
134
|
-
function
|
|
135
|
-
|
|
138
|
+
function R(...o) {
|
|
139
|
+
r.onSelectionChange?.(...o);
|
|
136
140
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
141
|
+
function T(...o) {
|
|
142
|
+
r.onEditorChange?.(...o);
|
|
139
143
|
}
|
|
140
|
-
return i || (e.current.on(t.events.TEXT_CHANGE,
|
|
141
|
-
e.current.off(t.events.TEXT_CHANGE,
|
|
144
|
+
return p(), i || (e.current.on(t.events.TEXT_CHANGE, x), e.current.on(t.events.SELECTION_CHANGE, R), e.current.on(t.events.EDITOR_CHANGE, T)), () => {
|
|
145
|
+
e.current.off(t.events.TEXT_CHANGE, x), e.current.off(t.events.SELECTION_CHANGE, R), e.current.off(t.events.EDITOR_CHANGE, T), e.current = null, n.innerHTML = "";
|
|
142
146
|
};
|
|
143
|
-
}, []),
|
|
144
|
-
|
|
145
|
-
}, [
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
return u.current;
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
return r;
|
|
163
|
-
}), /* @__PURE__ */ _(
|
|
147
|
+
}, []), g(() => {
|
|
148
|
+
E && e.current.enable(!i);
|
|
149
|
+
}, [E, i]), g(() => (p(u), () => {
|
|
150
|
+
}), [u]), M(N, () => ({
|
|
151
|
+
get rich() {
|
|
152
|
+
return e.current;
|
|
153
|
+
},
|
|
154
|
+
get contents() {
|
|
155
|
+
return e.current.getContents();
|
|
156
|
+
},
|
|
157
|
+
setContents: p,
|
|
158
|
+
Rich: t,
|
|
159
|
+
getRootElement() {
|
|
160
|
+
return m.current;
|
|
161
|
+
}
|
|
162
|
+
})), /* @__PURE__ */ z(
|
|
164
163
|
"div",
|
|
165
164
|
{
|
|
166
|
-
ref:
|
|
167
|
-
style:
|
|
168
|
-
className:
|
|
169
|
-
|
|
165
|
+
ref: m,
|
|
166
|
+
style: _,
|
|
167
|
+
className: X(
|
|
168
|
+
f,
|
|
170
169
|
w,
|
|
171
|
-
{ [`${
|
|
172
|
-
i && `${
|
|
170
|
+
{ [`${f}-rtl`]: P },
|
|
171
|
+
i && `${f}-read-only`
|
|
173
172
|
)
|
|
174
173
|
}
|
|
175
174
|
);
|
|
176
175
|
}
|
|
177
|
-
const
|
|
176
|
+
const C = D(J);
|
|
178
177
|
Reflect.ownKeys(t).forEach((s) => {
|
|
179
|
-
|
|
178
|
+
C[s] = t[s];
|
|
180
179
|
});
|
|
181
|
-
|
|
180
|
+
C.displayName = "RichText";
|
|
181
|
+
C.__PQB_RICH_TEXT = !0;
|
|
182
182
|
export {
|
|
183
183
|
Re as AttributeMap,
|
|
184
184
|
de as Delta,
|
|
185
185
|
he as Module,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
ve as Op,
|
|
187
|
+
Ee as OpIterator,
|
|
188
|
+
ue as Parchment,
|
|
189
|
+
be as Range,
|
|
190
190
|
t as Rich,
|
|
191
|
-
|
|
191
|
+
C as default
|
|
192
192
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><line class="pqb-rich-text-stroke" x1="15" x2="3" y1="9" y2="9"></line><line class="pqb-rich-text-stroke" x1="14" x2="4" y1="14" y2="14"></line><line class="pqb-rich-text-stroke" x1="12" x2="6" y1="4" y2="4"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><line class="pqb-rich-text-stroke" x1="15" x2="3" y1="9" y2="9"></line><line class="pqb-rich-text-stroke" x1="15" x2="3" y1="14" y2="14"></line><line class="pqb-rich-text-stroke" x1="15" x2="3" y1="4" y2="4"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><line class="pqb-rich-text-stroke" x1="3" x2="15" y1="9" y2="9"></line><line class="pqb-rich-text-stroke" x1="3" x2="13" y1="14" y2="14"></line><line class="pqb-rich-text-stroke" x1="3" x2="9" y1="4" y2="4"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><line class="pqb-rich-text-stroke" x1="15" x2="3" y1="9" y2="9"></line><line class="pqb-rich-text-stroke" x1="15" x2="5" y1="14" y2="14"></line><line class="pqb-rich-text-stroke" x1="15" x2="9" y1="4" y2="4"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const t = '<svg viewbox="0 0 18 18"><g class="pqb-rich-text-fill pqb-rich-text-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon><rect height="1" width="1" x="4" y="4"></rect><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon><rect height="1" width="1" x="2" y="6"></rect><rect height="1" width="1" x="3" y="5"></rect><rect height="1" width="1" x="4" y="7"></rect><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon><rect height="1" width="1" x="2" y="12"></rect><rect height="1" width="1" x="2" y="9"></rect><rect height="1" width="1" x="2" y="15"></rect><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon><rect height="1" width="1" x="3" y="8"></rect><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"></path><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"></path><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"></path><rect height="1" width="1" x="12" y="2"></rect><rect height="1" width="1" x="11" y="3"></rect><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"></path><rect height="1" width="1" x="2" y="3"></rect><rect height="1" width="1" x="6" y="2"></rect><rect height="1" width="1" x="3" y="2"></rect><rect height="1" width="1" x="5" y="3"></rect><rect height="1" width="1" x="9" y="2"></rect><rect height="1" width="1" x="15" y="14"></rect><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon><rect height="1" width="1" x="13" y="7"></rect><rect height="1" width="1" x="15" y="5"></rect><rect height="1" width="1" x="14" y="6"></rect><rect height="1" width="1" x="15" y="8"></rect><rect height="1" width="1" x="14" y="9"></rect><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"></path><rect height="1" width="1" x="14" y="3"></rect><polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon><rect height="1" width="1" x="15" y="2"></rect><rect height="1" width="1" x="12" y="5"></rect><rect height="1" width="1" x="13" y="4"></rect><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon><rect height="1" width="1" x="9" y="14"></rect><rect height="1" width="1" x="8" y="15"></rect><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"></path><rect height="1" width="1" x="5" y="15"></rect><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"></path><rect height="1" width="1" x="11" y="15"></rect><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"></path><rect height="1" width="1" x="14" y="15"></rect><rect height="1" width="1" x="15" y="11"></rect></g><polyline class="pqb-rich-text-stroke" points="5.5 13 9 5 12.5 13"></polyline><line class="pqb-rich-text-stroke" x1="11.63" x2="6.38" y1="11" y2="11"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
t as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const t = '<svg viewbox="0 0 18 18"><rect class="pqb-rich-text-fill pqb-rich-text-stroke" height="3" width="3" x="4" y="5"></rect><rect class="pqb-rich-text-fill pqb-rich-text-stroke" height="3" width="3" x="11" y="5"></rect><path class="pqb-rich-text-even pqb-rich-text-fill pqb-rich-text-stroke" d="M7,8c0,4.031-3,5-3,5"></path><path class="pqb-rich-text-even pqb-rich-text-fill pqb-rich-text-stroke" d="M14,8c0,4.031-3,5-3,5"></path></svg>';
|
|
3
3
|
export {
|
|
4
4
|
t as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const t = '<svg viewbox="0 0 18 18"><path class="pqb-rich-text-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"></path><path class="pqb-rich-text-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"></path></svg>';
|
|
3
3
|
export {
|
|
4
4
|
t as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg class="" viewbox="0 0 18 18"><line class="pqb-rich-text-stroke" x1="5" x2="13" y1="3" y2="3"></line><line class="pqb-rich-text-stroke" x1="6" x2="9.35" y1="12" y2="3"></line><line class="pqb-rich-text-stroke" x1="11" x2="15" y1="11" y2="15"></line><line class="pqb-rich-text-stroke" x1="15" x2="11" y1="11" y2="15"></line><rect class="pqb-rich-text-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"></rect></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><polyline class="pqb-rich-text-even pqb-rich-text-stroke" points="5 7 3 9 5 11"></polyline><polyline class="pqb-rich-text-even pqb-rich-text-stroke" points="13 7 15 9 13 11"></polyline><line class="pqb-rich-text-stroke" x1="10" x2="8" y1="5" y2="13"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><line class="pqb-rich-text-color-label pqb-rich-text-stroke pqb-rich-text-transparent" x1="3" x2="15" y1="15" y2="15"></line><polyline class="pqb-rich-text-stroke" points="5.5 11 9 3 12.5 11"></polyline><line class="pqb-rich-text-stroke" x1="11.63" x2="6.38" y1="9" y2="9"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const t = '<svg viewbox="0 0 18 18"><polygon class="pqb-rich-text-stroke pqb-rich-text-fill" points="3 11 5 9 3 7 3 11"></polygon><line class="pqb-rich-text-stroke pqb-rich-text-fill" x1="15" x2="11" y1="4" y2="4"></line><path class="pqb-rich-text-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"></path><rect class="pqb-rich-text-fill" height="11" width="1" x="11" y="4"></rect><rect class="pqb-rich-text-fill" height="11" width="1" x="13" y="4"></rect></svg>';
|
|
3
3
|
export {
|
|
4
4
|
t as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const t = '<svg viewbox="0 0 18 18"><polygon class="pqb-rich-text-stroke pqb-rich-text-fill" points="15 12 13 10 15 8 15 12"></polygon><line class="pqb-rich-text-stroke pqb-rich-text-fill" x1="9" x2="5" y1="4" y2="4"></line><path class="pqb-rich-text-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"></path><rect class="pqb-rich-text-fill" height="11" width="1" x="5" y="4"></rect><rect class="pqb-rich-text-fill" height="11" width="1" x="7" y="4"></rect></svg>';
|
|
3
3
|
export {
|
|
4
4
|
t as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const e = '<svg viewbox="0 0 18 18"><line class="pqb-rich-text-stroke" stroke-opacity="0.4" x1="15" x2="3" y1="4" y2="4"></line><line class="pqb-rich-text-stroke" x1="15" x2="3" y1="9" y2="9" stroke="currentColor" stroke-dasharray="2,3"></line><line class="pqb-rich-text-stroke" stroke-opacity="0.4" x1="15" x2="3" y1="14" y2="14"></line></svg>';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const o = '<svg viewbox="0 0 18 18"><polygon class="pqb-rich-text-stroke" points="7 11 9 13 11 11 7 11"></polygon><polygon class="pqb-rich-text-stroke" points="7 7 9 5 11 7 7 7"></polygon></svg>';
|
|
3
3
|
export {
|
|
4
4
|
o as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const a = '<svg viewbox="0 0 18 18"><path class="pqb-rich-text-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"></path><rect class="pqb-rich-text-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"></rect><path class="pqb-rich-text-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"></path></svg>';
|
|
3
3
|
export {
|
|
4
4
|
a as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const l = '<svg class="fullscreen-exit pqb-rich-text-stroke" viewBox="0 0 18 18"><path d="M12.3,3.6l-0,2.4c-0,0.165 0.134,0.3 0.3,0.3l2.4,0m-9.3,-2.7l-0,2.4c-0,0.165 -0.135,0.3 -0.3,0.3l-2.4,0m9.3,8.1l-0,-2.4c-0,-0.166 0.134,-0.3 0.3,-0.3l2.4,0m-9.3,2.7l-0,-2.4c-0,-0.166 -0.135,-0.3 -0.3,-0.3l-2.4,0"/></svg>';
|
|
3
3
|
export {
|
|
4
4
|
l as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const l = '<svg class="fullscreen pqb-rich-text-stroke" viewBox="0 0 18 18"><path d="M15,6.667l0,-2.667c0,-0.184 -0.15,-0.333 -0.334,-0.333l-2.666,0m-9,3l0,-2.667c0,-0.184 0.149,-0.333 0.333,-0.333l2.667,0m9,7.666l0,2.667c0,0.184 -0.15,0.333 -0.334,0.333l-2.666,0m-9,-3l0,2.667c0,0.184 0.149,0.333 0.333,0.333l2.667,0"/></svg>';
|
|
3
3
|
export {
|
|
4
4
|
l as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const a = '<svg viewBox="0 0 18 18"><path class="pqb-rich-text-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>';
|
|
3
3
|
export {
|
|
4
4
|
a as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const a = '<svg viewBox="0 0 18 18"><path class="pqb-rich-text-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>';
|
|
3
3
|
export {
|
|
4
4
|
a as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const a = '<svg viewBox="0 0 18 18"><path class="pqb-rich-text-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>';
|
|
3
3
|
export {
|
|
4
4
|
a as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-
|
|
1
|
+
/* 2025-12-17 18:27:10 */
|
|
2
2
|
const a = '<svg viewBox="0 0 18 18"><path class="pqb-rich-text-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>';
|
|
3
3
|
export {
|
|
4
4
|
a as default
|