@reltio/dashboard 1.4.2112 → 1.4.2114

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.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@reltio/dashboard",
3
- "version": "1.4.2112",
3
+ "version": "1.4.2114",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "bundle.js",
6
6
  "types": "./types/index.d.ts",
7
7
  "dependencies": {
8
- "@reltio/components": "^1.4.2080",
9
- "@reltio/mdm-module": "^1.4.1957",
10
- "@reltio/mdm-sdk": "^1.4.1923",
8
+ "@reltio/components": "^1.4.2082",
9
+ "@reltio/mdm-module": "^1.4.1959",
10
+ "@reltio/mdm-sdk": "^1.4.1925",
11
11
  "object-hash": "^2.1.1"
12
12
  },
13
13
  "peerDependencies": {
@@ -1,2 +1,3 @@
1
- export function getTableRowsData(rowValues: any, columnsData: any, renderRowCell: any, getRowCellHeight: any, getRowMaxValuesCount?: any, getIdFromRowValue?: (_: any, rowIndex: any) => any): any;
1
+ export function getTableRowsData(rowValues: any, columnsData: any, renderRowCell: any, getRowCellHeight: any, getRowMaxValuesCount: any, getIdFromRowValue: (_: any, rowIndex: any) => any, applyMaxValuesCountConstraint: any): any;
2
2
  export function getMaxRowValuesCount(columnsData: any, rowValue: any): any;
3
+ export function getIsRowCollapsibleFromMaxValuesCount(columnsData: any, rowValue: any, maxValuesCount: any, applyMaxValuesCountConstraint: any): any;
@@ -6,13 +6,14 @@ type Props = {
6
6
  getRowCellHeight: GetRowCellHeight;
7
7
  maxRowValuesCount: number;
8
8
  getIdFromRowValue?: (rowValue: RowValue, rowIndex: number) => RowId;
9
+ applyMaxValuesCountConstraint?: (maxValuesCount: number) => (rowValue: RowValue) => RowValue;
9
10
  };
10
- export declare const useCollapsibleTableRows: ({ rowsData, columnsData, renderRowCell, getRowCellHeight, maxRowValuesCount, getIdFromRowValue }: Props) => {
11
+ export declare const useCollapsibleTableRows: ({ rowsData, columnsData, renderRowCell, getRowCellHeight, maxRowValuesCount, getIdFromRowValue, applyMaxValuesCountConstraint }: Props) => {
11
12
  tableRowsData: TableRowsData;
12
13
  collapseContextValue: {
13
14
  maxRowValuesCount: number;
14
15
  toggleRowCollapse: (rowIndex: number) => void;
15
- getIsRowCollapsible: (rowValue: Record<string, unknown>) => boolean;
16
+ getIsRowCollapsible: (rowValue: Record<string, unknown>) => any;
16
17
  getIsRowCollapsed: (rowIndex: number) => boolean;
17
18
  };
18
19
  };