@univerjs/sheets-filter-ui 0.2.4 → 0.2.6

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,9 +1,8 @@
1
- import { Workbook, ICommandService, RxDisposable, ThemeService } from '@univerjs/core';
1
+ import { Workbook, ICommandService, Injector, RxDisposable, ThemeService } from '@univerjs/core';
2
2
  import { IRenderContext, IRenderModule, IRenderManagerService } from '@univerjs/engine-render';
3
3
  import { SheetInterceptorService } from '@univerjs/sheets';
4
4
  import { SheetsFilterService } from '@univerjs/sheets-filter';
5
5
  import { ISheetSelectionRenderService, SheetSkeletonManagerService, SheetsRenderService } from '@univerjs/sheets-ui';
6
- import { Injector } from '@wendellhu/redi';
7
6
 
8
7
  export declare class SheetsFilterRenderController extends RxDisposable implements IRenderModule {
9
8
  private readonly _context;
@@ -1,6 +1,5 @@
1
- import { ICommandService, IContextService, LocaleService } from '@univerjs/core';
1
+ import { ICommandService, IContextService, Injector, LocaleService } from '@univerjs/core';
2
2
  import { ComponentManager, IMenuService, IMessageService, IShortcutService, MenuConfig } from '@univerjs/ui';
3
- import { Injector } from '@wendellhu/redi';
4
3
  import { SheetCanvasPopManagerService } from '@univerjs/sheets-ui';
5
4
  import { IRenderManagerService } from '@univerjs/engine-render';
6
5
  import { SheetsFilterService } from '@univerjs/sheets-filter';
@@ -1,5 +1,5 @@
1
1
  import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
2
- import { IAccessor } from '@wendellhu/redi';
2
+ import { IAccessor } from '@univerjs/core';
3
3
 
4
4
  export declare function SmartToggleFilterMenuItemFactory(accessor: IAccessor): IMenuSelectorItem;
5
5
  export declare function ClearFilterCriteriaMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
@@ -1,5 +1,4 @@
1
- import { Plugin, UniverInstanceType } from '@univerjs/core';
2
- import { Injector } from '@wendellhu/redi';
1
+ import { Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
2
  import { IUniverSheetsFilterUIConfig } from './controllers/sheets-filter-ui.controller';
4
3
 
5
4
  export declare class UniverSheetsFilterMobileUIPlugin extends Plugin {
@@ -8,5 +7,5 @@ export declare class UniverSheetsFilterMobileUIPlugin extends Plugin {
8
7
  static type: UniverInstanceType;
9
8
  static pluginName: string;
10
9
  constructor(_config: Partial<IUniverSheetsFilterUIConfig>, _injector: Injector);
11
- onStarting(injector: Injector): void;
10
+ onStarting(): void;
12
11
  }
@@ -1,5 +1,4 @@
1
- import { LocaleService, Plugin, UniverInstanceType } from '@univerjs/core';
2
- import { Injector } from '@wendellhu/redi';
1
+ import { Injector, LocaleService, Plugin, UniverInstanceType } from '@univerjs/core';
3
2
  import { IUniverSheetsFilterUIConfig } from './controllers/sheets-filter-ui.controller';
4
3
 
5
4
  export declare class UniverSheetsFilterUIPlugin extends Plugin {
@@ -9,5 +8,5 @@ export declare class UniverSheetsFilterUIPlugin extends Plugin {
9
8
  static type: UniverInstanceType;
10
9
  static pluginName: string;
11
10
  constructor(_config: Partial<IUniverSheetsFilterUIConfig>, _injector: Injector, _localeService: LocaleService);
12
- onStarting(injector: Injector): void;
11
+ onStarting(): void;
13
12
  }
@@ -1,6 +1,5 @@
1
- import { Nullable, Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
1
+ import { IDisposable, Nullable, Disposable, ICommandService, Injector, IUniverInstanceService } from '@univerjs/core';
2
2
  import { SheetsFilterService, FilterColumn, FilterModel } from '@univerjs/sheets-filter';
3
- import { IDisposable, Injector } from '@wendellhu/redi';
4
3
  import { Observable } from 'rxjs';
5
4
  import { RefRangeService } from '@univerjs/sheets';
6
5
  import { FilterOperator, IFilterConditionFormParams, IFilterConditionItem } from '../models/conditions';
@@ -32,7 +31,7 @@ export interface ISheetsFilterPanelService {
32
31
  */
33
32
  terminate(): boolean;
34
33
  }
35
- export declare const ISheetsFilterPanelService: import('@wendellhu/redi').IdentifierDecorator<ISheetsFilterPanelService>;
34
+ export declare const ISheetsFilterPanelService: import('@univerjs/core').IdentifierDecorator<ISheetsFilterPanelService>;
36
35
  export interface IFilterByModel extends IDisposable {
37
36
  canApply$: Observable<boolean>;
38
37
  deltaCol(offset: number): void;