pace-table-lib 1.0.50 → 1.0.52

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.
@@ -259,6 +259,7 @@ export interface ParsedColumn {
259
259
  year: string;
260
260
  isSubtotal: boolean;
261
261
  measureDisplay: string;
262
+ levels: string[];
262
263
  colIndex: number;
263
264
  }
264
265
  export interface BgColorPair {
@@ -280,4 +281,21 @@ export interface ParsedMeasureInfo {
280
281
  measureIndex: number;
281
282
  measureName: string;
282
283
  }
284
+ export declare enum NumberFormat {
285
+ General = "General",
286
+ CommaSeparated = "Comma Separated",
287
+ Percentage = "Percentage",
288
+ Scientific = "Scientific",
289
+ CurrencyUSD = "Currency-USD",
290
+ CurrencyCAD = "Currency-CAD",
291
+ CurrencyEUR = "Currency-EUR",
292
+ CurrencyCHF = "Currency-CHF",
293
+ CurrencyUK = "Currency-UK",
294
+ CurrencyINR = "Currency-INR"
295
+ }
296
+ export declare enum DisplayUnits {
297
+ Thousands = "Thousands",
298
+ Millions = "Millions",
299
+ Billions = "Billions"
300
+ }
283
301
  export {};
@@ -1,5 +1,6 @@
1
1
  import { MeasureFormatObj, TableStyleConfig } from "../StaticTable/StaticTableTypeDec.types";
2
2
  import { BgColorPair, ParsedMeasureInfo } from "./PivotTable.types";
3
+ export declare const NO_ENTRY_TOKENS: string[];
3
4
  /** Linearly interpolates between two hex colors by factor [0,1] */
4
5
  export declare const interpolateColor: (minColor: string, maxColor: string, factor: number) => string;
5
6
  /** Maps a value in [minValue, maxValue] to an interpolated RGB color string */
@@ -8,7 +9,7 @@ export declare function getHeatmapColor(value: number, minValue: number, maxValu
8
9
  export declare function parseRowPath(rowPath: string): string[];
9
10
  /** Returns the last non-subtotal segment as the display label */
10
11
  export declare function getDisplayName(segments: string[]): string;
11
- export declare function getRowDisplayName(segments: string[]): string;
12
+ export declare function getRowDisplayName(segments: string[], measureValue: string): string;
12
13
  /** Formats a raw numeric value according to MeasureFormatObj config */
13
14
  export declare function formatCellValue(value: string | number, formatConfig?: MeasureFormatObj): string;
14
15
  /** Resolves the background color for a data cell or row header based on style config */