UNPKG

@univerjs/sheets-ui

Version:

UniverSheet normal ui-plugin-sheets

42 lines (41 loc) 2.28 kB
import { IRenderContext, IRenderModule, IRenderManagerService } from '@univerjs/engine-render'; import { MenuConfig, ComponentManager, IUIPartsService } from '@univerjs/ui'; import { Disposable, IConfigService, Injector, IPermissionService, IUniverInstanceService } from '@univerjs/core'; import { RangeProtectionRuleModel, WorksheetProtectionRuleModel } from '@univerjs/sheets'; import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service'; export interface IUniverSheetsPermissionMenuConfig { menu: MenuConfig; } export declare class SheetPermissionRenderManagerController extends Disposable { private _injector; private _componentManager; private _uiPartsService; constructor(_injector: Injector, _componentManager: ComponentManager, _uiPartsService: IUIPartsService); private _init; private _initComponents; private _initUiPartComponents; } export declare class SheetPermissionRenderController extends Disposable implements IRenderModule { private readonly _context; private _rangeProtectionRuleModel; private _sheetSkeletonManagerService; private _permissionService; private _configService; private _rangeProtectionCanViewRenderExtension; private _rangeProtectionCanNotViewRenderExtension; constructor(_context: IRenderContext, _rangeProtectionRuleModel: RangeProtectionRuleModel, _sheetSkeletonManagerService: SheetSkeletonManagerService, _permissionService: IPermissionService, _configService: IConfigService); private _initRender; private _initSkeleton; } export declare class WorksheetProtectionRenderController extends Disposable implements IRenderModule { private readonly _context; private _renderManagerService; private _univerInstanceService; private _sheetSkeletonManagerService; private _worksheetProtectionRuleModel; private _configService; private _worksheetProtectionRenderExtension; constructor(_context: IRenderContext, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _configService: IConfigService); private _initRender; private _initSkeleton; }