@adaptabletools/adaptable 18.0.15 → 18.0.16
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": "18.0.
|
|
3
|
+
"version": "18.0.16",
|
|
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",
|
|
@@ -255,6 +255,7 @@ export interface IAdaptable {
|
|
|
255
255
|
getAgGridContainerElement(): HTMLElement | null;
|
|
256
256
|
updateColumnModelAndRefreshGrid(config?: {
|
|
257
257
|
skipColDefsRefresh?: boolean;
|
|
258
|
+
preemptiveColumnStateRefresh?: boolean;
|
|
258
259
|
}): void;
|
|
259
260
|
getAgGridColumnForColumnId(columnId: string): Column;
|
|
260
261
|
getMinMaxCachedValueForColumn(column: AdaptableColumn, minMax: 'min' | 'max'): number | undefined;
|
|
@@ -134,7 +134,9 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
134
134
|
});
|
|
135
135
|
promise
|
|
136
136
|
.then(() => {
|
|
137
|
-
this.adaptable.updateColumnModelAndRefreshGrid({
|
|
137
|
+
this.adaptable.updateColumnModelAndRefreshGrid({
|
|
138
|
+
preemptiveColumnStateRefresh: true,
|
|
139
|
+
});
|
|
138
140
|
this.adaptable.setLayout();
|
|
139
141
|
})
|
|
140
142
|
.then(() => {
|
|
@@ -196,6 +196,7 @@ export declare class AdaptableAgGrid implements IAdaptable {
|
|
|
196
196
|
getNormalisedValueFromRawValue(rawValue: any, column: AdaptableColumn): string | number | boolean | Date | unknown;
|
|
197
197
|
updateColumnModelAndRefreshGrid(config?: {
|
|
198
198
|
skipColDefsRefresh?: boolean;
|
|
199
|
+
preemptiveColumnStateRefresh?: boolean;
|
|
199
200
|
}): void;
|
|
200
201
|
redrawBody(): void;
|
|
201
202
|
refreshHeader(): void;
|
|
@@ -1873,6 +1873,9 @@ export class AdaptableAgGrid {
|
|
|
1873
1873
|
return rawValue;
|
|
1874
1874
|
}
|
|
1875
1875
|
updateColumnModelAndRefreshGrid(config) {
|
|
1876
|
+
if (config === null || config === void 0 ? void 0 : config.preemptiveColumnStateRefresh) {
|
|
1877
|
+
this.deriveAdaptableColumnStateFromAgGrid();
|
|
1878
|
+
}
|
|
1876
1879
|
if (!(config === null || config === void 0 ? void 0 : config.skipColDefsRefresh)) {
|
|
1877
1880
|
this.refreshColDefs();
|
|
1878
1881
|
}
|
|
@@ -3720,6 +3723,7 @@ export class AdaptableAgGrid {
|
|
|
3720
3723
|
*/
|
|
3721
3724
|
updateLayoutFromGrid() {
|
|
3722
3725
|
var _a, _b;
|
|
3726
|
+
this.logger.info('updateLayoutFromGrid()');
|
|
3723
3727
|
const agGridApi = this.agGridAdapter.getAgGridApi();
|
|
3724
3728
|
const columnState = agGridApi.getColumnState();
|
|
3725
3729
|
const expandedState = agGridApi.getState().rowGroupExpansion || { expandedRowGroupIds: [] };
|
package/src/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
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: "18.0.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1716977338543 || Date.now(),
|
|
4
|
+
VERSION: "18.0.16" || '--current-version--',
|
|
5
5
|
};
|