pace-table-lib 1.0.76 → 1.0.78

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.
@@ -8,8 +8,10 @@ export interface PivotNode {
8
8
  id: string;
9
9
  label: string;
10
10
  level: number;
11
+ rawValueArr?: any;
11
12
  valueArr?: any;
12
13
  styleJsonArr?: any[];
14
+ tooltipArr?: any[];
13
15
  isExpanded?: boolean;
14
16
  }
15
17
  export interface PivotModel {
@@ -0,0 +1,19 @@
1
+ import "./PivotContextMenu.scss";
2
+ interface PivotContextMenuData {
3
+ visible: boolean;
4
+ x: number;
5
+ y: number;
6
+ }
7
+ interface PivotContextMenuProps {
8
+ contextMenuData: PivotContextMenuData;
9
+ hasColGroups: boolean;
10
+ hasRowGroups: boolean;
11
+ allColGroupsExpanded: boolean;
12
+ allRowGroupsExpanded: boolean;
13
+ onExpandColGroups: () => void;
14
+ onCollapseColGroups: () => void;
15
+ onExpandRowGroups: () => void;
16
+ onCollapseRowGroups: () => void;
17
+ }
18
+ declare const PivotContextMenu: ({ contextMenuData, hasColGroups, hasRowGroups, allColGroupsExpanded, allRowGroupsExpanded, onExpandColGroups, onCollapseColGroups, onExpandRowGroups, onCollapseRowGroups, }: PivotContextMenuProps) => import("react").ReactPortal | null;
19
+ export default PivotContextMenu;
@@ -1,5 +1,5 @@
1
1
  import { ColGroupInfo, PivotNode } from "./NewPivotTable.types";
2
2
  export declare function parseColGroups(columnHeaders: string[]): ColGroupInfo[];
3
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[];
4
+ export declare function createColumnHeaders(tableData: any, isRowTotalOn: boolean, isHeaderAtStart: boolean, isSparkLineVisible: boolean, isSlAtStart: boolean, sparkLineText: string, colDateFormat: any): PivotNode[];
5
5
  export declare function getNumberArr(valArr?: (string | number)[]): number[];
@@ -91,7 +91,7 @@ export declare const SORT_FOR: {
91
91
  ROW: string;
92
92
  COLUMN: string;
93
93
  };
94
- export declare const CONDITION_FORMTTING_OBJ: {
94
+ export declare const CONDITION_FORMATTING_OBJ: {
95
95
  MAX_IN_TABLE: string;
96
96
  MIN_IN_TABLE: string;
97
97
  DUPLICATE: string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import "./styles/fonts.css";
2
2
  export { default as StaticTable } from "./components/StaticTable/StaticTable";
3
- export { default as PivotTable } from "./components/PivotTable/PivotTable";
3
+ export { default as PivotTable } from "./components/PivotTable/NewPivotTable";