@univerjs/sheets-ui 0.13.0 → 0.14.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/lib/cjs/index.js +13 -13
- package/lib/es/index.js +6319 -6539
- package/lib/index.css +1 -1
- package/lib/index.js +6319 -6539
- package/lib/types/common/utils.d.ts +2 -7
- package/lib/umd/index.js +13 -13
- package/package.json +12 -12
- package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +0 -12
- package/lib/types/controllers/active-worksheet/active-worksheet.controller.d.ts +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet normal ui-plugin-sheets",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@univerjs/icons": "^1.0.2",
|
|
68
68
|
"@univerjs/protocol": "0.1.47",
|
|
69
|
-
"@univerjs/core": "0.
|
|
70
|
-
"@univerjs/
|
|
71
|
-
"@univerjs/docs
|
|
72
|
-
"@univerjs/
|
|
73
|
-
"@univerjs/
|
|
74
|
-
"@univerjs/engine-render": "0.
|
|
75
|
-
"@univerjs/sheets": "0.
|
|
76
|
-
"@univerjs/
|
|
77
|
-
"@univerjs/
|
|
69
|
+
"@univerjs/core": "0.14.0",
|
|
70
|
+
"@univerjs/design": "0.14.0",
|
|
71
|
+
"@univerjs/docs": "0.14.0",
|
|
72
|
+
"@univerjs/docs-ui": "0.14.0",
|
|
73
|
+
"@univerjs/engine-formula": "0.14.0",
|
|
74
|
+
"@univerjs/engine-render": "0.14.0",
|
|
75
|
+
"@univerjs/sheets": "0.14.0",
|
|
76
|
+
"@univerjs/telemetry": "0.14.0",
|
|
77
|
+
"@univerjs/ui": "0.14.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"postcss": "^8.5.6",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"typescript": "^5.9.3",
|
|
85
85
|
"vite": "^7.2.7",
|
|
86
86
|
"vitest": "^4.0.15",
|
|
87
|
-
"@univerjs-infra/shared": "0.
|
|
88
|
-
"@univerjs/themes": "0.
|
|
87
|
+
"@univerjs-infra/shared": "0.14.0",
|
|
88
|
+
"@univerjs/themes": "0.14.0"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"test": "vitest run",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICommand, IRange, Dimension } from '@univerjs/core';
|
|
2
|
-
export interface IAddMergeCommandParams {
|
|
3
|
-
value?: Dimension.ROWS | Dimension.COLUMNS;
|
|
4
|
-
selections: IRange[];
|
|
5
|
-
unitId: string;
|
|
6
|
-
subUnitId: string;
|
|
7
|
-
defaultMerge?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const AddWorksheetMergeCommand: ICommand;
|
|
10
|
-
export declare const AddWorksheetMergeAllCommand: ICommand;
|
|
11
|
-
export declare const AddWorksheetMergeVerticalCommand: ICommand;
|
|
12
|
-
export declare const AddWorksheetMergeHorizontalCommand: ICommand;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
-
/**
|
|
3
|
-
* This controller is responsible for changing the active worksheet when
|
|
4
|
-
* worksheet tab related mutations executes. We cannot write this logic in
|
|
5
|
-
* commands because it does not take collaborative editing into consideration.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ActiveWorksheetController extends Disposable {
|
|
8
|
-
private readonly _commandService;
|
|
9
|
-
private readonly _univerInstanceService;
|
|
10
|
-
private _previousSheetIndex;
|
|
11
|
-
constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService);
|
|
12
|
-
private _adjustActiveSheetOnHideSheet;
|
|
13
|
-
private _beforeAdjustActiveSheetOnRemoveSheet;
|
|
14
|
-
private _adjustActiveSheetOnRemoveSheet;
|
|
15
|
-
private _adjustActiveSheetOnInsertSheet;
|
|
16
|
-
private _adjustActiveSheetOnShowSheet;
|
|
17
|
-
private _adjustActiveSheetOnSelection;
|
|
18
|
-
private _switchToNextSheet;
|
|
19
|
-
}
|