@univerjs/sheets-drawing 0.5.3-experimental.20250106-e3b7a39 → 0.5.3-experimental.20250107-3e6579c
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.
|
@@ -2,8 +2,17 @@ import { IDrawingParam, IRotationSkewFlipTransform, Serializable } from '@univer
|
|
|
2
2
|
import { ISheetOverGridPosition } from '@univerjs/sheets';
|
|
3
3
|
import { IImageData, IUnitDrawingService, UnitDrawingService } from '@univerjs/drawing';
|
|
4
4
|
export declare enum SheetDrawingAnchorType {
|
|
5
|
+
/**
|
|
6
|
+
* Only the position of the drawing follows the cell changes. When rows or columns are inserted or deleted, the position of the drawing changes, but the size remains the same.
|
|
7
|
+
*/
|
|
5
8
|
Position = "0",
|
|
9
|
+
/**
|
|
10
|
+
* The size and position of the drawing follow the cell changes. When rows or columns are inserted or deleted, the size and position of the drawing change accordingly.
|
|
11
|
+
*/
|
|
6
12
|
Both = "1",
|
|
13
|
+
/**
|
|
14
|
+
* The size and position of the drawing do not follow the cell changes. When rows or columns are inserted or deleted, the position and size of the drawing remain unchanged.
|
|
15
|
+
*/
|
|
7
16
|
None = "2"
|
|
8
17
|
}
|
|
9
18
|
export interface ISheetDrawingPosition extends IRotationSkewFlipTransform, ISheetOverGridPosition {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-drawing",
|
|
3
|
-
"version": "0.5.3-experimental.
|
|
3
|
+
"version": "0.5.3-experimental.20250107-3e6579c",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"lib"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@univerjs/core": "0.5.3-experimental.
|
|
47
|
-
"@univerjs/drawing": "0.5.3-experimental.
|
|
46
|
+
"@univerjs/core": "0.5.3-experimental.20250107-3e6579c",
|
|
47
|
+
"@univerjs/drawing": "0.5.3-experimental.20250107-3e6579c"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "^5.7.2",
|
|
51
51
|
"vite": "^6.0.6",
|
|
52
52
|
"vitest": "^2.1.8",
|
|
53
|
-
"@univerjs
|
|
54
|
-
"@univerjs/
|
|
53
|
+
"@univerjs/sheets": "0.5.3-experimental.20250107-3e6579c",
|
|
54
|
+
"@univerjs-infra/shared": "0.5.3"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"test": "vitest run",
|