@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 CHANGED
@@ -42,6 +42,9 @@ class v extends l {
42
42
  l.extend(v);
43
43
  w.extend(R);
44
44
  class E extends C {
45
+ /**
46
+ * @ignore
47
+ */
45
48
  _initialize(o) {
46
49
  const e = o.get(p);
47
50
  this.disposeWithMe(e.beforeCommandExecuted((t) => {
@@ -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;
@@ -3,6 +3,9 @@ export type SortColumnSpec = {
3
3
  column: number;
4
4
  ascending: boolean;
5
5
  } | number;
6
+ /**
7
+ * @ignore
8
+ */
6
9
  export interface IFRangeSort {
7
10
  /**
8
11
  * Sorts the cells in the given range, by column(s) and order specified.
@@ -1,4 +1,7 @@
1
1
  import { FWorksheet } from '@univerjs/sheets/facade';
2
+ /**
3
+ * @ignore
4
+ */
2
5
  export interface IFWorksheetSort {
3
6
  /**
4
7
  * Sort the worksheet by the specified column.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets-sort",
3
- "version": "0.5.5",
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/core": "0.5.5",
57
- "@univerjs/engine-formula": "0.5.5",
58
- "@univerjs/sheets": "0.5.5"
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.2",
61
+ "typescript": "^5.7.3",
62
62
  "vite": "^6.0.7",
63
63
  "vitest": "^2.1.8",
64
- "@univerjs-infra/shared": "0.5.5"
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 {};