@univerjs/sheets-data-validation-ui 0.4.0-alpha.0 → 0.4.0-alpha.2

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.
@@ -2,7 +2,7 @@ import { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs
2
2
  import { DataValidatorRegistryService } from '@univerjs/data-validation';
3
3
  import { IRenderManagerService } from '@univerjs/engine-render';
4
4
  import { SheetInterceptorService } from '@univerjs/sheets';
5
- import { SheetDataValidationModel } from '@univerjs/sheets-data-validation';
5
+ import { DataValidationCacheService, SheetDataValidationModel } from '@univerjs/sheets-data-validation';
6
6
  import { AutoHeightController, IEditorBridgeService } from '@univerjs/sheets-ui';
7
7
  import { IMenuManagerService } from '@univerjs/ui';
8
8
  import { DataValidationDropdownManagerService } from '../services/dropdown-manager.service';
@@ -16,8 +16,9 @@ export declare class SheetsDataValidationRenderController extends RxDisposable {
16
16
  private readonly _sheetDataValidationModel;
17
17
  private readonly _dataValidatorRegistryService;
18
18
  private readonly _sheetInterceptorService;
19
+ private readonly _dataValidationCacheService;
19
20
  private readonly _editorBridgeService?;
20
- constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _autoHeightController: AutoHeightController, _dropdownManagerService: DataValidationDropdownManagerService, _sheetDataValidationModel: SheetDataValidationModel, _dataValidatorRegistryService: DataValidatorRegistryService, _sheetInterceptorService: SheetInterceptorService, _editorBridgeService?: IEditorBridgeService | undefined);
21
+ constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _autoHeightController: AutoHeightController, _dropdownManagerService: DataValidationDropdownManagerService, _sheetDataValidationModel: SheetDataValidationModel, _dataValidatorRegistryService: DataValidatorRegistryService, _sheetInterceptorService: SheetInterceptorService, _dataValidationCacheService: DataValidationCacheService, _editorBridgeService?: IEditorBridgeService | undefined);
21
22
  private _initMenu;
22
23
  private _initDropdown;
23
24
  private _initViewModelIntercept;
@@ -30,7 +31,8 @@ export declare class SheetsDataValidationMobileRenderController extends RxDispos
30
31
  private readonly _dataValidatorRegistryService;
31
32
  private readonly _sheetInterceptorService;
32
33
  private readonly _sheetDataValidationModel;
33
- constructor(_commandService: ICommandService, _renderManagerService: IRenderManagerService, _autoHeightController: AutoHeightController, _dataValidatorRegistryService: DataValidatorRegistryService, _sheetInterceptorService: SheetInterceptorService, _sheetDataValidationModel: SheetDataValidationModel);
34
+ private readonly _dataValidationCacheService;
35
+ constructor(_commandService: ICommandService, _renderManagerService: IRenderManagerService, _autoHeightController: AutoHeightController, _dataValidatorRegistryService: DataValidatorRegistryService, _sheetInterceptorService: SheetInterceptorService, _sheetDataValidationModel: SheetDataValidationModel, _dataValidationCacheService: DataValidationCacheService);
34
36
  private _initViewModelIntercept;
35
37
  private _initAutoHeight;
36
38
  }
@@ -0,0 +1,11 @@
1
+ import { Workbook, Disposable } from '@univerjs/core';
2
+ import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
+ import { SheetDataValidationModel } from '@univerjs/sheets-data-validation';
4
+ import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
5
+ export declare class SheetsDataValidationReRenderController extends Disposable implements IRenderModule {
6
+ private readonly _context;
7
+ private readonly _sheetDataValidationModel;
8
+ private readonly _sheetSkeletonManagerService;
9
+ constructor(_context: IRenderContext<Workbook>, _sheetDataValidationModel: SheetDataValidationModel, _sheetSkeletonManagerService: SheetSkeletonManagerService);
10
+ private _initSkeletonChange;
11
+ }