@adaptabletools/adaptable 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",
|
|
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",
|
|
@@ -356,6 +356,13 @@ export class AdaptableAgGrid {
|
|
|
356
356
|
const gridOptions = config.gridOptions;
|
|
357
357
|
// Needed here because special column defs are required for deriving the adaptable column state
|
|
358
358
|
let columnDefs = this.agGridAdapter.getColumnDefinitionsInclSpecialColumns(gridOptions.columnDefs || []);
|
|
359
|
+
// see #map_dateString_to_date
|
|
360
|
+
this.agGridAdapter.patchColDefs(columnDefs, (colDef) => {
|
|
361
|
+
if (colDef.cellDataType === 'dateString') {
|
|
362
|
+
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.`);
|
|
363
|
+
colDef.cellDataType = 'date';
|
|
364
|
+
}
|
|
365
|
+
});
|
|
359
366
|
gridOptions.columnDefs = columnDefs;
|
|
360
367
|
this.setInitialGridOptions(gridOptions, config.variant);
|
|
361
368
|
const { gridState: initialGridState, layoutModel } = this.mapAdaptableStateToAgGridState(this.adaptableStore.TheStore.getState(), gridOptions.columnDefs, {
|
|
@@ -532,6 +532,7 @@ export class AgGridColumnAdapter {
|
|
|
532
532
|
setupColumnCellDataType(columnSetupInfo) {
|
|
533
533
|
const { col, colId } = columnSetupInfo;
|
|
534
534
|
this.setColDefProperty(col, 'cellDataType', (original_cellDataType) => {
|
|
535
|
+
// #map_dateString_to_date
|
|
535
536
|
if (original_cellDataType === 'dateString') {
|
|
536
537
|
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.`);
|
|
537
538
|
return 'date';
|
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.0.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1759139175072 || Date.now(),
|
|
4
|
+
VERSION: "21.0.5" || '--current-version--',
|
|
5
5
|
};
|