@univerjs/sheets 0.6.8 → 0.6.9-experimental.20250406-d422c87
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.
- package/lib/cjs/index.js +2 -2
- package/lib/es/index.js +1212 -1207
- package/lib/index.js +1212 -1207
- package/lib/types/controllers/permission/sheet-permission-init.controller.d.ts +3 -5
- package/lib/types/services/permission/workbook-permission/workbook-permission.service.d.ts +3 -0
- package/lib/umd/index.js +2 -2
- package/package.json +8 -8
- package/LICENSE +0 -176
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Disposable, IAuthzIoService, ICommandService, IPermissionService, IUndoRedoService, IUniverInstanceService, UserManagerService } from '@univerjs/core';
|
|
2
2
|
import { RangeProtectionRuleModel } from '../../model/range-protection-rule.model';
|
|
3
|
-
import {
|
|
3
|
+
import { WorkbookPermissionService } from '../../services/permission/workbook-permission/workbook-permission.service';
|
|
4
4
|
import { WorksheetProtectionPointModel, WorksheetProtectionRuleModel } from '../../services/permission/worksheet-permission';
|
|
5
|
-
import { SheetInterceptorService } from '../../services/sheet-interceptor/sheet-interceptor.service';
|
|
6
5
|
export declare class SheetPermissionInitController extends Disposable {
|
|
7
6
|
private readonly _univerInstanceService;
|
|
8
7
|
private _permissionService;
|
|
@@ -11,11 +10,10 @@ export declare class SheetPermissionInitController extends Disposable {
|
|
|
11
10
|
private _worksheetProtectionRuleModel;
|
|
12
11
|
private _userManagerService;
|
|
13
12
|
private _worksheetProtectionPointRuleModel;
|
|
14
|
-
private
|
|
13
|
+
private _workbookPermissionService;
|
|
15
14
|
private _undoRedoService;
|
|
16
15
|
private _commandService;
|
|
17
|
-
|
|
18
|
-
constructor(_univerInstanceService: IUniverInstanceService, _permissionService: IPermissionService, _authzIoService: IAuthzIoService, _rangeProtectionRuleModel: RangeProtectionRuleModel, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _userManagerService: UserManagerService, _worksheetProtectionPointRuleModel: WorksheetProtectionPointModel, _sheetInterceptorService: SheetInterceptorService, _undoRedoService: IUndoRedoService, _commandService: ICommandService, _rangeProtectionCache: RangeProtectionCache);
|
|
16
|
+
constructor(_univerInstanceService: IUniverInstanceService, _permissionService: IPermissionService, _authzIoService: IAuthzIoService, _rangeProtectionRuleModel: RangeProtectionRuleModel, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _userManagerService: UserManagerService, _worksheetProtectionPointRuleModel: WorksheetProtectionPointModel, _workbookPermissionService: WorkbookPermissionService, _undoRedoService: IUndoRedoService, _commandService: ICommandService);
|
|
19
17
|
initPermission(): void;
|
|
20
18
|
private _initRangePermissionFromSnapshot;
|
|
21
19
|
private _initRangePermissionChange;
|
|
@@ -7,6 +7,9 @@ export declare class WorkbookPermissionService extends Disposable {
|
|
|
7
7
|
private _rangeProtectionRuleModel;
|
|
8
8
|
private _worksheetProtectionRuleModel;
|
|
9
9
|
private _worksheetProtectionPointModel;
|
|
10
|
+
private _unitPermissionInitStateChange;
|
|
11
|
+
unitPermissionInitStateChange$: import('rxjs').Observable<boolean>;
|
|
10
12
|
constructor(_permissionService: IPermissionService, _univerInstanceService: IUniverInstanceService, _rangeProtectionRuleModel: RangeProtectionRuleModel, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _worksheetProtectionPointModel: WorksheetProtectionPointModel);
|
|
11
13
|
private _init;
|
|
14
|
+
changeUnitInitState(state: boolean): void;
|
|
12
15
|
}
|