@univerjs/sheets-conditional-formatting 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,6 +54,7 @@ export interface IAverageHighlightCell extends IHighlightCell {
54
54
  }
55
55
  export interface IDataBar extends IBaseCfRule {
56
56
  type: CFRuleType.dataBar;
57
+ isShowValue: boolean;
57
58
  config: {
58
59
  min: IValueConfig;
59
60
  max: IValueConfig;
@@ -6,6 +6,7 @@ export interface IDataBarRenderParams {
6
6
  value: number;
7
7
  startPoint: number;
8
8
  isGradient: boolean;
9
+ isShowValue: boolean;
9
10
  }
10
11
  export interface IDataBarCellData extends ICellData {
11
12
  dataBar?: IDataBarRenderParams;
@@ -34,7 +34,9 @@ export declare class ConditionalFormattingService extends Disposable {
34
34
  constructor(_conditionalFormattingRuleModel: ConditionalFormattingRuleModel, _injector: Injector, _conditionalFormattingViewModel: ConditionalFormattingViewModel, _univerInstanceService: IUniverInstanceService, _resourceManagerService: IResourceManagerService, _sheetInterceptorService: SheetInterceptorService, _commandService: ICommandService);
35
35
  composeStyle(unitId: string, subUnitId: string, row: number, col: number): ({
36
36
  style?: import('@univerjs/core').IStyleBase | undefined;
37
- } & IDataBarCellData & IIconSetCellData) | null;
37
+ } & IDataBarCellData & IIconSetCellData & {
38
+ isShowValue: boolean;
39
+ }) | null;
38
40
  private _initSnapshot;
39
41
  private _initSheetChange;
40
42
  private _registerCalculationUnit;