@univerjs/sheets-conditional-formatting v0.5.0-beta.1 • Docs
Class: ConditionalFormattingService
Extends
Constructors
new ConditionalFormattingService()
new ConditionalFormattingService(
_conditionalFormattingRuleModel,
_injector,
_conditionalFormattingViewModel,
_univerInstanceService,
_resourceManagerService,
_sheetInterceptorService,
_commandService): ConditionalFormattingService
Parameters
Parameter | Type |
---|---|
_conditionalFormattingRuleModel | ConditionalFormattingRuleModel |
_injector | Injector |
_conditionalFormattingViewModel | ConditionalFormattingViewModel |
_univerInstanceService | IUniverInstanceService |
_resourceManagerService | IResourceManagerService |
_sheetInterceptorService | SheetInterceptorService |
_commandService | ICommandService |
Returns
Overrides
Defined in
sheets-conditional-formatting/src/services/conditional-formatting.service.ts:56
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:93 |
interceptorManager | public | InterceptorManager <{ beforeUpdateRuleResult : IInterceptor <{ cfId : string ; subUnitId : string ; unitId : string ; }, undefined >; }> | undefined | - | sheets-conditional-formatting/src/services/conditional-formatting.service.ts:52 |
ruleComputeStatus$ | public | Observable <{ cfId : string ; result : ObjectMatrix <any >; status : ComputeStatus ; subUnitId : string ; unitId : string ; }> | undefined | - | sheets-conditional-formatting/src/services/conditional-formatting.service.ts:50 |
Methods
composeStyle()
composeStyle(
unitId,
subUnitId,
row,
col): null | {
style: IStyleBase;
} & IDataBarCellData & IIconSetCellData & {
isShowValue: boolean;
}
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
col | number |
Returns
null
| {
style
: IStyleBase
;
} & IDataBarCellData
& IIconSetCellData
& {
isShowValue
: boolean
;
}
Defined in
sheets-conditional-formatting/src/services/conditional-formatting.service.ts:100
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:100