@adaptabletools/adaptable-cjs 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-cjs",
|
|
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",
|
|
@@ -112,7 +112,7 @@ class AgGridExportAdapter {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
catch (error) {
|
|
115
|
-
this.logger.consoleError(`Error exporting ${report.Name} in ${format} format to ${config.destination}`, error.
|
|
115
|
+
this.logger.consoleError(`Error exporting ${report.Name} in ${format} format to ${config.destination}`, error.stack);
|
|
116
116
|
}
|
|
117
117
|
finally {
|
|
118
118
|
/**
|
|
@@ -417,9 +417,9 @@ class AgGridExportAdapter {
|
|
|
417
417
|
}
|
|
418
418
|
const getColIdAndRawValue = () => {
|
|
419
419
|
if (this.adaptableApi.columnApi.isAutoRowGroupColumn(agColumn?.getColId())) {
|
|
420
|
-
const columnId = rowNode.
|
|
421
|
-
rowNode.rowGroupColumn?.
|
|
422
|
-
rowNode.
|
|
420
|
+
const columnId = rowNode.rowGroupColumn?.getColId() ??
|
|
421
|
+
rowNode.rowGroupColumn?.getColDef()?.field ??
|
|
422
|
+
rowNode.field;
|
|
423
423
|
let rawValue = rowNode.key;
|
|
424
424
|
return { columnId, rawValue };
|
|
425
425
|
}
|
|
@@ -61,7 +61,7 @@ const getLabelColumn = (field, { includeExpandCollapseButton }) => {
|
|
|
61
61
|
dataSourceApi.treeApi.selectAll();
|
|
62
62
|
}
|
|
63
63
|
api.focus();
|
|
64
|
-
} }),
|
|
64
|
+
} }, allRowsSelected ? '(Deselect All)' : '(Select All)'),
|
|
65
65
|
React.createElement(rebass_1.Flex, { flex: 1 }),
|
|
66
66
|
includeExpandCollapseButton ? (React.createElement(SimpleButton_1.default, { label: "toggle-expand-collapse", icon: allFirstLevelCollapsed ? 'expand-all' : 'collapse-all', onMouseDown: () => {
|
|
67
67
|
if (allFirstLevelCollapsed) {
|
|
@@ -70,7 +70,7 @@ const getLabelColumn = (field, { includeExpandCollapseButton }) => {
|
|
|
70
70
|
else {
|
|
71
71
|
dataSourceApi.treeApi.collapseAll();
|
|
72
72
|
}
|
|
73
|
-
}, iconPosition: "end" }
|
|
73
|
+
}, iconPosition: "end" })) : null));
|
|
74
74
|
},
|
|
75
75
|
};
|
|
76
76
|
};
|
|
@@ -231,7 +231,7 @@ function TreeDropdown(props) {
|
|
|
231
231
|
// @ts-ignore - don't leave any space for the > expand icon, as there are no children
|
|
232
232
|
treeListStyle['--infinite-group-row-column-nesting'] = 'var(--ab-space-2)';
|
|
233
233
|
}
|
|
234
|
-
const treeList = (React.createElement(TreeList_1.TreeList, { primaryKey: props.primaryKey ?? 'id', treeFilterFunction: filterFunction, columnHeaderHeight:
|
|
234
|
+
const treeList = (React.createElement(TreeList_1.TreeList, { primaryKey: props.primaryKey ?? 'id', treeFilterFunction: filterFunction, columnHeaderHeight: 30, onReady: ({ api }) => {
|
|
235
235
|
setTreeListApi(api);
|
|
236
236
|
api.focus();
|
|
237
237
|
}, defaultTreeExpandState: treeExpandState, onTreeExpandStateChange: setTreeExpandState, columns: columns, options: props.options, treeSelection: treeSelection, onTreeSelectionChange: (0, InfiniteTable_1.withSelectedLeafNodesOnly)(onChange), style: treeListStyle }));
|
package/src/env.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
4
|
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" || '',
|
|
5
|
-
PUBLISH_TIMESTAMP:
|
|
6
|
-
VERSION: "21.1.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1764941804167 || Date.now(),
|
|
6
|
+
VERSION: "21.1.2" || '--current-version--',
|
|
7
7
|
};
|