@univerjs/sheets-conditional-formatting v0.5.4
Class: ConditionalFormattingService
Defined in: sheets-conditional-formatting/src/services/conditional-formatting.service.ts:29
Extends
Constructors
new ConditionalFormattingService()
new ConditionalFormattingService(
_conditionalFormattingRuleModel,
_injector,
_univerInstanceService,
_resourceManagerService,
_sheetInterceptorService,
_commandService): ConditionalFormattingService
Defined in: sheets-conditional-formatting/src/services/conditional-formatting.service.ts:34
Parameters
Parameter | Type |
---|---|
_conditionalFormattingRuleModel | ConditionalFormattingRuleModel |
_injector | Injector |
_univerInstanceService | IUniverInstanceService |
_resourceManagerService | IResourceManagerService |
_sheetInterceptorService | SheetInterceptorService |
_commandService | ICommandService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
Accessors
_conditionalFormattingViewModelV2
Get Signature
get _conditionalFormattingViewModelV2(): ConditionalFormattingViewModel
Defined in: sheets-conditional-formatting/src/services/conditional-formatting.service.ts:30
Returns
ConditionalFormattingViewModel
Methods
composeStyle()
composeStyle(
unitId,
subUnitId,
row,
col):
| null
| {
style: IStyleBase;
} & IDataBarCellData & IIconSetCellData & {
isShowValue: boolean;
}
Defined in: sheets-conditional-formatting/src/services/conditional-formatting.service.ts:48
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
col | number |
Returns
| null
| {
style
: IStyleBase
;
} & IDataBarCellData
& IIconSetCellData
& {
isShowValue
: boolean
;
}
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void