@adaptabletools/adaptable 21.1.0 → 21.1.2
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.2",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -108,7 +108,7 @@ export class AgGridExportAdapter {
|
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
catch (error) {
|
|
111
|
-
this.logger.consoleError(`Error exporting ${report.Name} in ${format} format to ${config.destination}`, error.
|
|
111
|
+
this.logger.consoleError(`Error exporting ${report.Name} in ${format} format to ${config.destination}`, error.stack);
|
|
112
112
|
}
|
|
113
113
|
finally {
|
|
114
114
|
/**
|
|
@@ -413,9 +413,9 @@ export class AgGridExportAdapter {
|
|
|
413
413
|
}
|
|
414
414
|
const getColIdAndRawValue = () => {
|
|
415
415
|
if (this.adaptableApi.columnApi.isAutoRowGroupColumn(agColumn?.getColId())) {
|
|
416
|
-
const columnId = rowNode.
|
|
417
|
-
rowNode.rowGroupColumn?.
|
|
418
|
-
rowNode.
|
|
416
|
+
const columnId = rowNode.rowGroupColumn?.getColId() ??
|
|
417
|
+
rowNode.rowGroupColumn?.getColDef()?.field ??
|
|
418
|
+
rowNode.field;
|
|
419
419
|
let rawValue = rowNode.key;
|
|
420
420
|
return { columnId, rawValue };
|
|
421
421
|
}
|
|
@@ -56,7 +56,7 @@ const getLabelColumn = (field, { includeExpandCollapseButton }) => {
|
|
|
56
56
|
dataSourceApi.treeApi.selectAll();
|
|
57
57
|
}
|
|
58
58
|
api.focus();
|
|
59
|
-
} }),
|
|
59
|
+
} }, allRowsSelected ? '(Deselect All)' : '(Select All)'),
|
|
60
60
|
React.createElement(Flex, { flex: 1 }),
|
|
61
61
|
includeExpandCollapseButton ? (React.createElement(SimpleButton, { label: "toggle-expand-collapse", icon: allFirstLevelCollapsed ? 'expand-all' : 'collapse-all', onMouseDown: () => {
|
|
62
62
|
if (allFirstLevelCollapsed) {
|
|
@@ -65,7 +65,7 @@ const getLabelColumn = (field, { includeExpandCollapseButton }) => {
|
|
|
65
65
|
else {
|
|
66
66
|
dataSourceApi.treeApi.collapseAll();
|
|
67
67
|
}
|
|
68
|
-
}, iconPosition: "end" }
|
|
68
|
+
}, iconPosition: "end" })) : null));
|
|
69
69
|
},
|
|
70
70
|
};
|
|
71
71
|
};
|
|
@@ -226,7 +226,7 @@ export function TreeDropdown(props) {
|
|
|
226
226
|
// @ts-ignore - don't leave any space for the > expand icon, as there are no children
|
|
227
227
|
treeListStyle['--infinite-group-row-column-nesting'] = 'var(--ab-space-2)';
|
|
228
228
|
}
|
|
229
|
-
const treeList = (React.createElement(TreeList, { primaryKey: props.primaryKey ?? 'id', treeFilterFunction: filterFunction, columnHeaderHeight:
|
|
229
|
+
const treeList = (React.createElement(TreeList, { primaryKey: props.primaryKey ?? 'id', treeFilterFunction: filterFunction, columnHeaderHeight: 30, onReady: ({ api }) => {
|
|
230
230
|
setTreeListApi(api);
|
|
231
231
|
api.focus();
|
|
232
232
|
}, defaultTreeExpandState: treeExpandState, onTreeExpandStateChange: setTreeExpandState, columns: columns, options: props.options, treeSelection: treeSelection, onTreeSelectionChange: withSelectedLeafNodesOnly(onChange), style: treeListStyle }));
|
package/src/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
|
|
3
|
-
PUBLISH_TIMESTAMP:
|
|
4
|
-
VERSION: "21.1.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1764941773702 || Date.now(),
|
|
4
|
+
VERSION: "21.1.2" || '--current-version--',
|
|
5
5
|
};
|