@adaptabletools/adaptable-cjs 21.0.4 → 21.0.5
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.0.
|
|
3
|
+
"version": "21.0.5",
|
|
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",
|
|
@@ -360,6 +360,13 @@ class AdaptableAgGrid {
|
|
|
360
360
|
const gridOptions = config.gridOptions;
|
|
361
361
|
// Needed here because special column defs are required for deriving the adaptable column state
|
|
362
362
|
let columnDefs = this.agGridAdapter.getColumnDefinitionsInclSpecialColumns(gridOptions.columnDefs || []);
|
|
363
|
+
// see #map_dateString_to_date
|
|
364
|
+
this.agGridAdapter.patchColDefs(columnDefs, (colDef) => {
|
|
365
|
+
if (colDef.cellDataType === 'dateString') {
|
|
366
|
+
this.logger.consoleError(`AG Grid: Column '${colDef.colId}' specifies cellDataType='dateString' which is no longer supported. It has been automatically replaced with cellDataType='date'. Please update your column definition.`);
|
|
367
|
+
colDef.cellDataType = 'date';
|
|
368
|
+
}
|
|
369
|
+
});
|
|
363
370
|
gridOptions.columnDefs = columnDefs;
|
|
364
371
|
this.setInitialGridOptions(gridOptions, config.variant);
|
|
365
372
|
const { gridState: initialGridState, layoutModel } = this.mapAdaptableStateToAgGridState(this.adaptableStore.TheStore.getState(), gridOptions.columnDefs, {
|
|
@@ -537,6 +537,7 @@ class AgGridColumnAdapter {
|
|
|
537
537
|
setupColumnCellDataType(columnSetupInfo) {
|
|
538
538
|
const { col, colId } = columnSetupInfo;
|
|
539
539
|
this.setColDefProperty(col, 'cellDataType', (original_cellDataType) => {
|
|
540
|
+
// #map_dateString_to_date
|
|
540
541
|
if (original_cellDataType === 'dateString') {
|
|
541
542
|
(0, AdaptableLogger_1.errorOnce)(`AG Grid: Column '${colId}' specifies cellDataType='dateString' which is no longer supported. It has been automatically replaced with cellDataType='date'. Please update your column definition.`);
|
|
542
543
|
return 'date';
|
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.0.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1759139207267 || Date.now(),
|
|
6
|
+
VERSION: "21.0.5" || '--current-version--',
|
|
7
7
|
};
|