@univerjs-pro/sheets-shape-ui 1.0.2 → 1.0.3
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/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.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/commands/command/set-shape-text-align.command.d.ts +5 -0
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +7 -0
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +5 -0
- package/lib/types/commands/command/shape-doc-align.command.d.ts +10 -0
- package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
- package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +19 -0
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +6 -0
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +10 -0
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +10 -0
- package/lib/types/commands/operations/actvie-drawing-operation.d.ts +2 -0
- package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
- package/lib/types/view-model/drawing-shape.d.ts +2 -0
- package/lib/types/view-model/shape-data-model.d.ts +8 -0
- package/lib/types/views/ShapeOptions.d.ts +26 -0
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
- package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
- package/lib/types/views/shapes.d.ts +58 -0
- 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 +19 -19
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
|
|
2
|
+
export declare const shapeTypeOptions: (ShapeTypeEnum | {
|
|
3
|
+
type: ShapeTypeEnum;
|
|
4
|
+
endArrow: boolean;
|
|
5
|
+
startArrow?: undefined;
|
|
6
|
+
horizontal?: undefined;
|
|
7
|
+
vertical?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: ShapeTypeEnum;
|
|
10
|
+
endArrow: boolean;
|
|
11
|
+
startArrow: boolean;
|
|
12
|
+
horizontal?: undefined;
|
|
13
|
+
vertical?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
type: ShapeTypeEnum;
|
|
16
|
+
horizontal: boolean;
|
|
17
|
+
endArrow?: undefined;
|
|
18
|
+
startArrow?: undefined;
|
|
19
|
+
vertical?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
type: ShapeTypeEnum;
|
|
22
|
+
vertical: boolean;
|
|
23
|
+
endArrow?: undefined;
|
|
24
|
+
startArrow?: undefined;
|
|
25
|
+
horizontal?: undefined;
|
|
26
|
+
})[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as ReactTypes from "react";
|
|
2
|
+
import type { IShapeData } from '@univerjs-pro/engine-shape';
|
|
3
|
+
interface IShapeLineProps {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
shapeId: string;
|
|
7
|
+
shapeData: IShapeData;
|
|
8
|
+
isLineShape: boolean;
|
|
9
|
+
disableShapeOption: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function ShapeLineEditor(props: IShapeLineProps): ReactTypes.JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ShapeEditPanel } from './ShapeEditorPanel';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
|
|
2
|
+
export declare enum ShapeGroupEnum {
|
|
3
|
+
Line = "line",
|
|
4
|
+
Rectangle = "rectangle",
|
|
5
|
+
BasicShape = "basicShape",
|
|
6
|
+
BlockArrow = "blockArrow",
|
|
7
|
+
EquationShape = "equationShape",
|
|
8
|
+
Flowchart = "flowchart",
|
|
9
|
+
StarAndBanner = "starAndBanner",
|
|
10
|
+
Callout = "callout",
|
|
11
|
+
Other = "other"
|
|
12
|
+
}
|
|
13
|
+
export declare const shapeTypeOptions: ({
|
|
14
|
+
group: ShapeGroupEnum;
|
|
15
|
+
type: ShapeTypeEnum;
|
|
16
|
+
icon: string;
|
|
17
|
+
name: string;
|
|
18
|
+
endArrow?: undefined;
|
|
19
|
+
startArrow?: undefined;
|
|
20
|
+
horizontal?: undefined;
|
|
21
|
+
vertical?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
group: ShapeGroupEnum;
|
|
24
|
+
type: ShapeTypeEnum;
|
|
25
|
+
icon: string;
|
|
26
|
+
name: string;
|
|
27
|
+
endArrow: boolean;
|
|
28
|
+
startArrow?: undefined;
|
|
29
|
+
horizontal?: undefined;
|
|
30
|
+
vertical?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
group: ShapeGroupEnum;
|
|
33
|
+
type: ShapeTypeEnum;
|
|
34
|
+
icon: string;
|
|
35
|
+
name: string;
|
|
36
|
+
endArrow: boolean;
|
|
37
|
+
startArrow: boolean;
|
|
38
|
+
horizontal?: undefined;
|
|
39
|
+
vertical?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
group: ShapeGroupEnum;
|
|
42
|
+
type: ShapeTypeEnum;
|
|
43
|
+
icon: string;
|
|
44
|
+
name: string;
|
|
45
|
+
horizontal: boolean;
|
|
46
|
+
endArrow?: undefined;
|
|
47
|
+
startArrow?: undefined;
|
|
48
|
+
vertical?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
group: ShapeGroupEnum;
|
|
51
|
+
type: ShapeTypeEnum;
|
|
52
|
+
icon: string;
|
|
53
|
+
name: string;
|
|
54
|
+
vertical: boolean;
|
|
55
|
+
endArrow?: undefined;
|
|
56
|
+
startArrow?: undefined;
|
|
57
|
+
horizontal?: undefined;
|
|
58
|
+
})[];
|