API Reference
@univerjs
@univerjs/sheets-conditional-formatting
Readme

@univerjs/sheets-conditional-formatting v0.4.2Docs


@univerjs/sheets-conditional-formatting

Enumerations

EnumerationDescription
CFNumberOperator-
CFRuleType-
CFSubRuleType-
CFTextOperator-
CFTimePeriodOperator-
CFValueType-
FormulaResultStatus-

Classes

ClassDescription
ConditionalFormattingFormulaService-
ConditionalFormattingIcon-
ConditionalFormattingRuleModel-
ConditionalFormattingService-
ConditionalFormattingViewModel-
DataBar-
UniverSheetsConditionalFormattingPluginPlug-in base class, all plug-ins must inherit from this base class. Provide basic methods.

Interfaces

InterfaceDescription
IAddConditionalRuleMutationParams-
IAnchorCopyright 2023-present DreamNum Inc.
IAverageHighlightCell-
IBaseCfRule-
ICalculateUnit-
IColorScale-
IConditionFormattingRule-
IContext-
IDataBar-
IDataBarCellDataCell data
IDataBarRenderParams-
IDeleteConditionalRuleMutationParams-
IDuplicateValuesHighlightCell-
IFormulaHighlightCell-
IHighlightCell-
IIconSet-
IIconSetCellDataCell data
IIconSetRenderParams-
IMoveConditionalRuleMutationParams-
IRankHighlightCell-
ISetConditionalRuleMutationParams-
ITextHighlightCell-
ITimePeriodHighlightCell-
IUniqueValuesHighlightCell-
IValueConfig-

Type Aliases

Type aliasDescription
IConditionalFormattingCellData-
IConditionalFormattingRuleConfig-
IIconItem-
IIconType-
INumberHighlightCell-
IRuleModel-
IRuleModelJson-
MakePropertyOptionalCopyright 2023-present DreamNum Inc.

Variables

VariableDescription
AddConditionalRuleMutation-
ConditionalFormattingFormulaMarkDirty-
DEFAULT_BG_COLOR-
DEFAULT_FONT_COLOR-
DEFAULT_PADDING-
DEFAULT_WIDTH-
DeleteConditionalRuleMutation-
EMPTY_ICON_TYPE-
EMPTY_STYLE-
IconUKey-
MoveConditionalRuleMutation-
SHEET_CONDITIONAL_FORMATTING_PLUGIN-
SetConditionalRuleMutation-
dataBarUKey-
defaultDataBarNativeColor-
defaultDataBarPositiveColor-
iconGroup-
iconMap-

Functions

FunctionDescription
AddConditionalRuleMutationUndoFactory-
DeleteConditionalRuleMutationUndoFactory-
MoveConditionalRuleMutationUndoFactory-
anchorUndoFactory-
compareWithNumber-
createCfId-
createDefaultRule-
createDefaultValue-
createDefaultValueByValueType-
filterRange-
findIndexByAnchor-
getCacheStyleMatrix-
getCellValue-
getColorScaleFromValue-
getOppositeOperator-
getValueByType-
isAnchorEqual-
isFloatsEqual-
isNullable-
isRangesEqual-
moveByAnchor-
removeUndefinedAttrCopyright 2023-present DreamNum Inc.
serialTimeToTimestamp-
setConditionalRuleMutationUndoFactory-
toYMD_1900-
transformSupportSymmetryAnchor-

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.