@univerjs-pro/shape-editor-ui 1.0.0-rc.0 → 1.0.0
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/README.md +14 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +91 -55
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/mobile/components.controller.d.ts +2 -2
- package/lib/types/controllers/mobile/ui.controller.d.ts +5 -0
- package/lib/types/index.d.ts +12 -3
- package/lib/types/locale/en-US.d.ts +4 -0
- package/lib/types/mobile-plugin.d.ts +4 -2
- package/lib/types/plugin.d.ts +2 -0
- package/lib/types/services/mobile/shape-text-hyper-link-popup.service.d.ts +32 -0
- package/lib/types/services/mobile-shape-editor.service.d.ts +3 -1
- package/lib/types/services/shape-format-painter.d.ts +20 -0
- package/lib/types/services/shape-text-hyper-link-popup.service.d.ts +1 -0
- package/lib/types/views/FormulaBindingEditorDialog.d.ts +1 -0
- package/lib/types/views/FormulaBindingNumberFormat.d.ts +5 -2
- package/lib/types/views/mobile-shape-editor/MobileShapeActionPanel.d.ts +22 -0
- package/lib/types/views/mobile-shape-editor/MobileShapeMenu.d.ts +8 -0
- package/lib/types/views/shape-editor-panel/MobileShapeEditorControls.d.ts +4 -0
- package/lib/types/views/shape-editor-panel/ShapeEditorControls.d.ts +20 -0
- package/lib/types/views/shape-floating-toolbar/ShapeTextControls.d.ts +2 -0
- package/lib/types/views/shape-format-ribbon/ShapeEffectControls.d.ts +1 -1
- package/lib/types/views/shape-format-ribbon/ShapeFormatRibbonControls.d.ts +3 -3
- package/lib/types/views/shape-picker/MobileShapeChangePicker.d.ts +3 -0
- package/lib/types/views/shape-picker/MobileShapePickerPanel.d.ts +2 -0
- package/lib/types/views/shape-picker/ShapeChangePicker.d.ts +2 -0
- package/lib/types/views/shape-text-editor/MobileShapeTextHyperLinkPopup.d.ts +2 -0
- package/lib/types/views/shape-text-editor/ShapeTextHyperLinkPopup.d.ts +21 -1
- package/lib/types/views/shape-text-editor/ShapeTextPositionWrapper.d.ts +2 -5
- package/lib/types/views/shape-text-editor/shape-text-document.d.ts +4 -1
- package/lib/types/views/shape-text-editor/types.d.ts +3 -0
- package/lib/types/views/smart-art/MobileSmartArtColorGallery.d.ts +2 -0
- package/lib/types/views/smart-art/MobileSmartArtLayoutGallery.d.ts +2 -0
- package/lib/types/views/smart-art/MobileSmartArtQuickStyleGallery.d.ts +2 -0
- package/lib/types/views/smart-art/MobileSmartArtStylePanel.d.ts +2 -0
- package/lib/types/views/smart-art/MobileSmartArtTextPane.d.ts +2 -0
- package/lib/types/views/smart-art/SmartArtColorGallery.d.ts +2 -1
- package/lib/types/views/smart-art/SmartArtLayoutGallery.d.ts +6 -0
- package/lib/types/views/smart-art/SmartArtQuickStyleGallery.d.ts +1 -0
- package/lib/types/views/smart-art/SmartArtTextPane.d.ts +13 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -40,6 +40,20 @@ univer.registerPlugin(UniverShapeEditorUIPlugin);
|
|
|
40
40
|
- Import the package stylesheet once in the application entry before rendering Univer UI.
|
|
41
41
|
- Import locale files only for the languages your application enables.
|
|
42
42
|
|
|
43
|
+
## Format painter
|
|
44
|
+
|
|
45
|
+
`registerShapeFormatPainter` supplies the shared Shape adapter used by Sheets, Docs, and
|
|
46
|
+
Slides. It copies fill, stroke, supported effects, text insets, and text formatting while
|
|
47
|
+
retaining the target's geometry, text, identity, and formula bindings. Connector targets also
|
|
48
|
+
receive line and arrow styling. Images, SmartArt, groups, and mixed object selections are unsupported.
|
|
49
|
+
|
|
50
|
+
Hosts provide hit testing and permission checks, and commit changes through their undoable
|
|
51
|
+
commands. The existing Start ribbon button handles single-use and continuous painting; Shape
|
|
52
|
+
text editing uses the Docs text-selection adapter instead of object painting. The clear-formatting
|
|
53
|
+
icon restores insertion defaults for the selected Shape while retaining its text, geometry,
|
|
54
|
+
and formula bindings. Text boxes and text placeholders reset their text formatting without
|
|
55
|
+
acquiring a Shape fill.
|
|
56
|
+
|
|
43
57
|
## Resources
|
|
44
58
|
|
|
45
59
|
- [Documentation](https://docs.univer.ai/guides/pro)
|