@univerjssheets-conditional-formattingReadme

@univerjs/sheets-conditional-formatting v0.5.0-beta.1Docs


@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-
dataBarUKey-
DEFAULT_BG_COLOR-
DEFAULT_FONT_COLOR-
DEFAULT_PADDING-
DEFAULT_WIDTH-
defaultDataBarNativeColor-
defaultDataBarPositiveColor-
DeleteConditionalRuleMutation-
EMPTY_ICON_TYPE-
EMPTY_STYLE-
iconGroup-
iconMap-
IconUKey-
MoveConditionalRuleMutation-
SetConditionalRuleMutation-
SHEET_CONDITIONAL_FORMATTING_PLUGIN-

Functions

FunctionDescription
AddConditionalRuleMutationUndoFactory-
anchorUndoFactory-
compareWithNumber-
createCfId-
createDefaultRule-
createDefaultValue-
createDefaultValueByValueType-
DeleteConditionalRuleMutationUndoFactory-
filterRange-
findIndexByAnchor-
getCacheStyleMatrix-
getCellValue-
getColorScaleFromValue-
getMaxInFormulaResult-
getOppositeOperator-
getValueByType-
isAnchorEqual-
isFloatsEqual-
isNullable-
isRangesEqual-
moveByAnchorThis function has side effects that modify the ruleList
MoveConditionalRuleMutationUndoFactory-
removeUndefinedAttrCopyright 2023-present DreamNum Inc.
serialTimeToTimestamp-
setConditionalRuleMutationUndoFactory-
toYMD_1900-
transformSupportSymmetryAnchorOnly [after,after] and [after,before] can support symmetric operations