@univerjs/sheets-sort 0.5.5 → 0.6.0-alpha.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/es/facade.js +3 -0
- package/lib/types/facade/f-event.d.ts +6 -0
- package/lib/types/facade/f-range.d.ts +3 -0
- package/lib/types/facade/f-worksheet.d.ts +3 -0
- package/package.json +6 -6
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +0 -7
- package/lib/types/commands/commands/__tests__/sheets-reorder.command.spec.d.ts +0 -16
package/lib/es/facade.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IEventBase, FEventName } from '@univerjs/core';
|
|
2
2
|
import { FRange, FWorkbook, FWorksheet } from '@univerjs/sheets/facade';
|
|
3
|
+
/**
|
|
4
|
+
* @ignore
|
|
5
|
+
*/
|
|
3
6
|
export interface IFSheetSortEventMixin {
|
|
4
7
|
/**
|
|
5
8
|
* This event will be emitted when a range on a worksheet is sorted.
|
|
@@ -44,6 +47,9 @@ export interface ISheetRangeSortParams extends IEventBase {
|
|
|
44
47
|
range: FRange;
|
|
45
48
|
sortColumn: ISortColumn[];
|
|
46
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
47
53
|
export interface ISheetRangeSortEventParamConfig {
|
|
48
54
|
SheetBeforeRangeSort: ISheetRangeSortParams;
|
|
49
55
|
SheetRangeSorted: ISheetRangeSortParams;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-sort",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A library for sorting data in Univer Sheet",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"lib"
|
|
54
54
|
],
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs/sheets": "0.
|
|
56
|
+
"@univerjs/engine-formula": "0.6.0-alpha.0",
|
|
57
|
+
"@univerjs/core": "0.6.0-alpha.0",
|
|
58
|
+
"@univerjs/sheets": "0.6.0-alpha.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"typescript": "^5.7.
|
|
61
|
+
"typescript": "^5.7.3",
|
|
62
62
|
"vite": "^6.0.7",
|
|
63
63
|
"vitest": "^2.1.8",
|
|
64
|
-
"@univerjs-infra/shared": "0.
|
|
64
|
+
"@univerjs-infra/shared": "0.6.0-alpha.0"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"test": "vitest run",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Dependency, IWorkbookData, Workbook, Injector, Univer } from '@univerjs/core';
|
|
2
|
-
export interface ITestBed {
|
|
3
|
-
univer: Univer;
|
|
4
|
-
get: Injector['get'];
|
|
5
|
-
sheet: Workbook;
|
|
6
|
-
}
|
|
7
|
-
export declare function createCommandTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[]): ITestBed;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
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
|
-
export {};
|