@univerjs/sheets-filter 0.2.6 → 0.2.8

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.
@@ -1,7 +1,6 @@
1
1
  import { IMutation, IRange, Nullable } from '@univerjs/core';
2
2
  import { ISheetCommandSharedParams } from '@univerjs/sheets';
3
3
  import { IFilterColumn } from '../../models/types';
4
-
5
4
  export interface ISetSheetsFilterRangeMutationParams extends ISheetCommandSharedParams {
6
5
  range: IRange;
7
6
  }
@@ -1,7 +1,6 @@
1
1
  import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
2
2
  import { RefRangeService, SheetInterceptorService } from '@univerjs/sheets';
3
3
  import { SheetsFilterService } from '../services/sheet-filter.service';
4
-
5
4
  export declare class SheetsFilterController extends Disposable {
6
5
  private readonly _commandService;
7
6
  private readonly _sheetInterceptorService;
@@ -1,6 +1,5 @@
1
1
  import { CellValue, Nullable } from '@univerjs/core';
2
2
  import { CustomFilterOperator } from './types';
3
-
4
3
  export interface IFilterFn<P extends unknown[]> {
5
4
  label?: string;
6
5
  /**
@@ -1,7 +1,6 @@
1
1
  import { Disposable, CellValue, IRange, Nullable, Worksheet } from '@univerjs/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { IAutoFilter, IFilterColumn } from './types';
4
-
5
4
  /**
6
5
  * This is the in-memory model of filter.
7
6
  */
@@ -1,5 +1,4 @@
1
1
  import { BooleanNumber, IRange } from '@univerjs/core';
2
-
3
2
  export interface IAutoFilter {
4
3
  ref: IRange;
5
4
  filterColumns?: IFilterColumn[];
@@ -1,5 +1,4 @@
1
1
  import { Injector, Plugin, UniverInstanceType } from '@univerjs/core';
2
-
3
2
  export declare class UniverSheetsFilterPlugin extends Plugin {
4
3
  protected readonly _injector: Injector;
5
4
  static type: UniverInstanceType;
@@ -1,7 +1,6 @@
1
1
  import { Nullable, Disposable, ICommandService, IResourceManagerService, IUniverInstanceService } from '@univerjs/core';
2
2
  import { FilterModel } from '../models/filter-model';
3
3
  import { IAutoFilter } from '../models/types';
4
-
5
4
  export declare const FILTER_MUTATIONS: Set<string>;
6
5
  type WorksheetID = string;
7
6
  export interface ISheetsFilterResource {
@@ -1,5 +1,4 @@
1
1
  import { IMutationInfo, Nullable } from '@univerjs/core';
2
-
3
2
  interface ILine {
4
3
  start: number;
5
4
  end: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets-filter",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "private": false,
5
5
  "description": "A library for filtering data in Univer Sheet",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -45,17 +45,17 @@
45
45
  ],
46
46
  "peerDependencies": {
47
47
  "rxjs": ">=7.0.0",
48
- "@univerjs/sheets": "0.2.6",
49
- "@univerjs/core": "0.2.6"
48
+ "@univerjs/sheets": "0.2.8",
49
+ "@univerjs/core": "0.2.8"
50
50
  },
51
51
  "devDependencies": {
52
52
  "rxjs": "^7.8.1",
53
53
  "typescript": "^5.5.4",
54
- "vite": "^5.3.5",
55
- "vitest": "^2.0.4",
56
- "@univerjs/shared": "0.2.6",
57
- "@univerjs/sheets": "0.2.6",
58
- "@univerjs/core": "0.2.6"
54
+ "vite": "^5.4.0",
55
+ "vitest": "^2.0.5",
56
+ "@univerjs/core": "0.2.8",
57
+ "@univerjs/shared": "0.2.8",
58
+ "@univerjs/sheets": "0.2.8"
59
59
  },
60
60
  "univerSpace": {
61
61
  ".": {