@univerjs/sheets v0.5.0-beta.1 • Docs
Class: RangeProtectionRefRangeService
Extends
Constructors
new RangeProtectionRefRangeService()
new RangeProtectionRefRangeService(
_selectionProtectionRuleModel,
_univerInstanceService,
_commandService,
_refRangeService,
_selectionProtectionRenderModel,
_rangeProtectionCache,
_sheetInterceptorService,
_rangeProtectionRuleModel): RangeProtectionRefRangeService
Parameters
Parameter | Type |
---|---|
_selectionProtectionRuleModel | RangeProtectionRuleModel |
_univerInstanceService | IUniverInstanceService |
_commandService | ICommandService |
_refRangeService | RefRangeService |
_selectionProtectionRenderModel | RangeProtectionRenderModel |
_rangeProtectionCache | RangeProtectionCache |
_sheetInterceptorService | SheetInterceptorService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
Returns
RangeProtectionRefRangeService
Overrides
Defined in
submodules/univer/packages/sheets/src/services/permission/range-permission/range-protection.ref-range.ts:65
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
disposableCollection | public | DisposableCollection | undefined | - | submodules/univer/packages/sheets/src/services/permission/range-permission/range-protection.ref-range.ts:63 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
refRangeHandle()
refRangeHandle(
config,
unitId,
subUnitId): {
redos: redoMutations;
undos: undoMutations;
} | {
redos: redoMutations;
undos: undoMutations;
}
Parameters
Parameter | Type |
---|---|
config | EffectRefRangeParams |
unitId | string |
subUnitId | string |
Returns
{
redos
: redoMutations
;
undos
: undoMutations
;
} | {
redos
: redoMutations
;
undos
: undoMutations
;
}
Defined in
submodules/univer/packages/sheets/src/services/permission/range-permission/range-protection.ref-range.ts:139