@univerjs/sheets-drawing-ui 1.0.0-alpha.6 → 1.0.0-alpha.7
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 +88 -1465
- package/lib/es/index.js +90 -1467
- package/lib/index.js +90 -1467
- package/lib/types/controllers/sheet-drawing-active-render.controller.d.ts +32 -0
- package/lib/umd/index.js +2 -2
- package/package.json +14 -14
- package/lib/types/controllers/sheet-drawing-transform-affected.controller.d.ts +0 -55
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-drawing-ui",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Drawing UI integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -68,18 +68,18 @@
|
|
|
68
68
|
"rxjs": ">=7.0.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@univerjs/core": "1.0.0-alpha.
|
|
72
|
-
"@univerjs/docs": "1.0.0-alpha.
|
|
73
|
-
"@univerjs/docs-
|
|
74
|
-
"@univerjs/
|
|
75
|
-
"@univerjs/
|
|
76
|
-
"@univerjs/
|
|
77
|
-
"@univerjs/
|
|
78
|
-
"@univerjs/
|
|
79
|
-
"@univerjs/
|
|
80
|
-
"@univerjs/sheets-
|
|
81
|
-
"@univerjs/ui": "1.0.0-alpha.
|
|
82
|
-
"@univerjs/
|
|
71
|
+
"@univerjs/core": "1.0.0-alpha.7",
|
|
72
|
+
"@univerjs/docs": "1.0.0-alpha.7",
|
|
73
|
+
"@univerjs/docs-drawing": "1.0.0-alpha.7",
|
|
74
|
+
"@univerjs/design": "1.0.0-alpha.7",
|
|
75
|
+
"@univerjs/docs-ui": "1.0.0-alpha.7",
|
|
76
|
+
"@univerjs/drawing": "1.0.0-alpha.7",
|
|
77
|
+
"@univerjs/engine-render": "1.0.0-alpha.7",
|
|
78
|
+
"@univerjs/drawing-ui": "1.0.0-alpha.7",
|
|
79
|
+
"@univerjs/sheets": "1.0.0-alpha.7",
|
|
80
|
+
"@univerjs/sheets-drawing": "1.0.0-alpha.7",
|
|
81
|
+
"@univerjs/sheets-ui": "1.0.0-alpha.7",
|
|
82
|
+
"@univerjs/ui": "1.0.0-alpha.7"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"postcss": "^8.5.19",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"tailwindcss": "3.4.18",
|
|
89
89
|
"typescript": "^6.0.3",
|
|
90
90
|
"vitest": "^4.1.10",
|
|
91
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
91
|
+
"@univerjs-infra/shared": "1.0.0-alpha.7"
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
94
|
"test": "vitest run",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { Workbook } from '@univerjs/core';
|
|
17
|
-
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
19
|
-
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
20
|
-
import { SheetInterceptorService, SheetSkeletonService, SheetsSelectionsService } from '@univerjs/sheets';
|
|
21
|
-
import { ISheetDrawingService } from '@univerjs/sheets-drawing';
|
|
22
|
-
import { ISheetSelectionRenderService } from '@univerjs/sheets-ui';
|
|
23
|
-
export declare class SheetDrawingTransformAffectedController extends Disposable implements IRenderModule {
|
|
24
|
-
private readonly _context;
|
|
25
|
-
private readonly _commandService;
|
|
26
|
-
private readonly _sheetSkeletonService;
|
|
27
|
-
private readonly _selectionRenderService;
|
|
28
|
-
private readonly _sheetInterceptorService;
|
|
29
|
-
private readonly _selectionManagerService;
|
|
30
|
-
private readonly _sheetDrawingService;
|
|
31
|
-
private readonly _drawingManagerService;
|
|
32
|
-
private readonly _univerInstanceService;
|
|
33
|
-
constructor(_context: IRenderContext<Workbook>, _commandService: ICommandService, _sheetSkeletonService: SheetSkeletonService, _selectionRenderService: ISheetSelectionRenderService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService, _sheetDrawingService: ISheetDrawingService, _drawingManagerService: IDrawingManagerService, _univerInstanceService: IUniverInstanceService);
|
|
34
|
-
private _sheetInterceptorListener;
|
|
35
|
-
private _getRangeMoveUndo;
|
|
36
|
-
private _getUpdateOrDeleteDrawings;
|
|
37
|
-
private _remainDrawingSize;
|
|
38
|
-
private _getDrawingUndoForColVisible;
|
|
39
|
-
private _createUndoAndRedoMutation;
|
|
40
|
-
private _getDrawingUndoForRowVisible;
|
|
41
|
-
private _getDrawingUndoForRowAndColSize;
|
|
42
|
-
private _getUnitIdAndSubUnitId;
|
|
43
|
-
private _moveRangeInterceptor;
|
|
44
|
-
private _moveRowInterceptor;
|
|
45
|
-
private _moveColInterceptor;
|
|
46
|
-
private _expandCol;
|
|
47
|
-
private _shrinkCol;
|
|
48
|
-
private _expandRow;
|
|
49
|
-
private _shrinkRow;
|
|
50
|
-
private _commandListener;
|
|
51
|
-
private _clearDrawings;
|
|
52
|
-
private _updateDrawings;
|
|
53
|
-
private _sheetRefreshListener;
|
|
54
|
-
private _refreshDrawingTransform;
|
|
55
|
-
}
|