@univerjs/sheets-data-validation 0.1.15 → 0.1.17

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.
@@ -11,13 +11,9 @@ export interface IUniverSheetsDataValidation {
11
11
  menu?: MenuConfig;
12
12
  }
13
13
  export declare const DefaultSheetsDataValidation: {};
14
- /**
15
- * @todo RenderUnit
16
- */
17
14
  export declare class SheetsDataValidationRenderController extends RxDisposable {
18
15
  private readonly _config;
19
16
  private readonly _commandService;
20
- private readonly _editorBridgeService;
21
17
  private _menuService;
22
18
  private readonly _renderManagerService;
23
19
  private readonly _univerInstanceService;
@@ -28,7 +24,8 @@ export declare class SheetsDataValidationRenderController extends RxDisposable {
28
24
  private readonly _dataValidatorRegistryService;
29
25
  private readonly _injector;
30
26
  private readonly _sheetInterceptorService;
31
- constructor(_config: Partial<IUniverSheetsDataValidation>, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _menuService: IMenuService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _autoHeightController: AutoHeightController, _componentManager: ComponentManager, _dropdownManagerService: DataValidationDropdownManagerService, _dataValidationModel: DataValidationModel, _dataValidatorRegistryService: DataValidatorRegistryService, _injector: Injector, _sheetInterceptorService: SheetInterceptorService);
27
+ private readonly _editorBridgeService?;
28
+ constructor(_config: Partial<IUniverSheetsDataValidation>, _commandService: ICommandService, _menuService: IMenuService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _autoHeightController: AutoHeightController, _componentManager: ComponentManager, _dropdownManagerService: DataValidationDropdownManagerService, _dataValidationModel: DataValidationModel, _dataValidatorRegistryService: DataValidatorRegistryService, _injector: Injector, _sheetInterceptorService: SheetInterceptorService, _editorBridgeService?: IEditorBridgeService | undefined);
32
29
  private _initMenu;
33
30
  private _initComponents;
34
31
  private _initDropdown;
@@ -36,3 +33,17 @@ export declare class SheetsDataValidationRenderController extends RxDisposable {
36
33
  private _initViewModelIntercept;
37
34
  private _initAutoHeight;
38
35
  }
36
+ export declare class SheetsDataValidationMobileRenderController extends RxDisposable {
37
+ private readonly _config;
38
+ private readonly _commandService;
39
+ private readonly _renderManagerService;
40
+ private readonly _univerInstanceService;
41
+ private readonly _autoHeightController;
42
+ private readonly _dataValidationModel;
43
+ private readonly _dataValidatorRegistryService;
44
+ private readonly _sheetInterceptorService;
45
+ constructor(_config: Partial<IUniverSheetsDataValidation>, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _autoHeightController: AutoHeightController, _dataValidationModel: DataValidationModel, _dataValidatorRegistryService: DataValidatorRegistryService, _sheetInterceptorService: SheetInterceptorService);
46
+ private _initSkeletonChange;
47
+ private _initViewModelIntercept;
48
+ private _initAutoHeight;
49
+ }
@@ -14,6 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { UniverSheetsDataValidationPlugin } from './plugin';
17
+ export { UniverSheetsDataValidationMobilePlugin } from './mobile-plugin';
17
18
  export type { IAddSheetDataValidationCommandParams, IUpdateSheetDataValidationRangeCommandParams } from './commands/commands/data-validation.command';
18
19
  export { ICommandService, LocaleService, Plugin } from '@univerjs/core';
19
20
  export { SheetsDataValidationRenderController } from './controllers/dv-render.controller';
@@ -0,0 +1,14 @@
1
+ import { ICommandService, LocaleService, Plugin, UniverInstanceType } from '@univerjs/core';
2
+ import { Injector } from '@wendellhu/redi';
3
+ import { IUniverSheetsDataValidation } from './controllers/dv-render.controller';
4
+
5
+ export declare class UniverSheetsDataValidationMobilePlugin extends Plugin {
6
+ private _config;
7
+ protected _injector: Injector;
8
+ private readonly _commandService;
9
+ private readonly _localeService;
10
+ static pluginName: string;
11
+ static type: UniverInstanceType;
12
+ constructor(_config: Partial<IUniverSheetsDataValidation>, _injector: Injector, _commandService: ICommandService, _localeService: LocaleService);
13
+ onStarting(injector: Injector): void;
14
+ }