pace-table-lib 1.0.72 → 1.0.74

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.
@@ -0,0 +1 @@
1
+ export declare function getSparkLineStyleObj(sparkline: any): import("./StaticTable/SparkLine/jQuerySparkLine.types").SL_STYLE_OBJ_TYPE;
@@ -0,0 +1,3 @@
1
+ import { PivotTableProps } from "./NewPivotTable.types";
2
+ import "./NewPivotTable.scss";
3
+ export default function NewPivotTable({ tableData, tableStyleProps, tableWidth, tableHeight, measureFormatConfigs }: PivotTableProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,49 @@
1
+ import { MeasureFormatObj } from "../StaticTable/StaticTableTypeDec.types";
2
+ export interface ColGroupInfo {
3
+ groupName: string;
4
+ parentDataIdx: number;
5
+ childDataIndices: number[];
6
+ }
7
+ export interface PivotNode {
8
+ id: string;
9
+ label: string;
10
+ level: number;
11
+ valueArr?: any;
12
+ styleJsonArr?: any[];
13
+ isExpanded?: boolean;
14
+ }
15
+ export interface PivotModel {
16
+ rowTree: PivotNode[];
17
+ columnTree: PivotNode[];
18
+ visibleRows: PivotNode[];
19
+ visibleColumns: PivotNode[];
20
+ values: number[][];
21
+ rowTotals: number[];
22
+ columnTotals: number[];
23
+ meta: {
24
+ min: number;
25
+ max: number;
26
+ };
27
+ }
28
+ export type PivotTableProps = {
29
+ tableData: PivotTableData;
30
+ leftFixedCellNameList: string[];
31
+ tableStyleProps: any;
32
+ tableWidth: number;
33
+ tableHeight: number;
34
+ measureFormatConfigs: MeasureFormatObj[];
35
+ };
36
+ export interface PivotTableData {
37
+ rowData: number[][];
38
+ rowHeaders: string[];
39
+ columnHeaders: string[];
40
+ minValuesInRows: number[];
41
+ maxValuesInRows: number[];
42
+ minValuesInColumns: number[];
43
+ maxValuesInColumns: number[];
44
+ minValueInTable: number;
45
+ maxValueInTable: number;
46
+ rowTotal: number[];
47
+ columnTotal: number[];
48
+ uniqueTitleMembers: string[];
49
+ }
@@ -0,0 +1,5 @@
1
+ import { ColGroupInfo, PivotNode } from "./NewPivotTable.types";
2
+ export declare function parseColGroups(columnHeaders: string[]): ColGroupInfo[];
3
+ export declare function createRowTree(tableData: any, isRowHeaderVisible: boolean): PivotNode[];
4
+ export declare function createColumnHeaders(tableData: any, isRowTotalOn: boolean, isHeaderAtStart: boolean, isSparkLineVisible: boolean, isSlAtStart: boolean, sparkLineText: string): PivotNode[];
5
+ export declare function getNumberArr(valArr?: (string | number)[]): number[];
@@ -0,0 +1 @@
1
+ export declare const SUBTOTAL = "!subtotal";
@@ -31,6 +31,7 @@ export declare const COLOR_BAND_TYPE: {
31
31
  SINGLE: string;
32
32
  ROW_BAND: string;
33
33
  COLUMN_BAND: string;
34
+ ALT_ROW: string;
34
35
  };
35
36
  export declare const BACKGROUND_COLOR_KEY_MAP: Record<"row" | "dataField" | "column", {
36
37
  backgroundKey: string;
@@ -90,3 +91,13 @@ export declare const SORT_FOR: {
90
91
  ROW: string;
91
92
  COLUMN: string;
92
93
  };
94
+ export declare const CONDITION_FORMTTING_OBJ: {
95
+ MAX_IN_TABLE: string;
96
+ MIN_IN_TABLE: string;
97
+ DUPLICATE: string;
98
+ CONDITIONALLY: string;
99
+ VALUE: string;
100
+ IN_BETWEEN: string;
101
+ NOT_BETWEEN: string;
102
+ CONTAINS: string;
103
+ };
@@ -228,6 +228,7 @@ export type TableStyleConfig = {
228
228
  VerticalBorderLineButton: boolean;
229
229
  VerticalBorderLineColor: string;
230
230
  VerticalBorderLineStyle: "solid" | string;
231
+ BorderRadius: number;
231
232
  };
232
233
  Styles: {
233
234
  idOfAppliedStyle: string;