@univerjs/sheets-ui 0.4.0-alpha.2 → 0.4.0-experimental.d7288c0-20241017

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,5 +1,5 @@
1
- import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
2
1
  import { IAccessor } from '@univerjs/core';
2
+ import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
3
3
  export declare const COL_INSERT_MENU_ID = "sheet.menu.col-insert";
4
4
  export declare function ColInsertMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<string>;
5
5
  export declare const ROW_INSERT_MENU_ID = "sheet.menu.row-insert";
@@ -21,8 +21,6 @@ export declare class SheetPermissionInitController extends Disposable {
21
21
  private _initWorksheetPermissionPointsChange;
22
22
  private _initWorksheetPermissionFromSnapshot;
23
23
  private _initUserChange;
24
- private _initViewModelByRangeInterceptor;
25
- private _initViewModelBySheetInterceptor;
26
24
  refreshPermission(unitId: string, permissionId: string): void;
27
25
  private _refreshPermissionByCollaCreate;
28
26
  }
@@ -0,0 +1,11 @@
1
+ import { Disposable, IPermissionService } from '@univerjs/core';
2
+ import { RangeProtectionCache, SheetInterceptorService, WorksheetProtectionRuleModel } from '@univerjs/sheets';
3
+ export declare class SheetPermissionViewModelController extends Disposable {
4
+ private _permissionService;
5
+ private _worksheetProtectionRuleModel;
6
+ private _sheetInterceptorService;
7
+ private _rangeProtectionCache;
8
+ constructor(_permissionService: IPermissionService, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _sheetInterceptorService: SheetInterceptorService, _rangeProtectionCache: RangeProtectionCache);
9
+ private _initViewModelByRangeInterceptor;
10
+ private _initViewModelBySheetInterceptor;
11
+ }