@adaptabletools/adaptable 11.1.11 → 11.1.12
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/bundle.cjs.js +3 -3
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/agGrid/Adaptable.js +7 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.12",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1651266602932;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -619,9 +619,14 @@ class Adaptable {
|
|
|
619
619
|
? this.gridOptions.api.gridOptionsWrapper.layoutElements || []
|
|
620
620
|
: []
|
|
621
621
|
: [];
|
|
622
|
+
// aggrid 25.3.0 doesn't have layoutElements anymore, so we try to retrieve this element
|
|
622
623
|
if (!layoutElements.length) {
|
|
623
|
-
|
|
624
|
-
|
|
624
|
+
const getGridBodyElement = (gridApi) => {
|
|
625
|
+
// @ts-ignore ctrlsService is private
|
|
626
|
+
const gridBodyCtrl = gridApi.ctrlsService.getGridBodyCtrl();
|
|
627
|
+
return gridBodyCtrl.getGridBodyElement();
|
|
628
|
+
};
|
|
629
|
+
layoutElements.push(getGridBodyElement(this.gridOptions.api));
|
|
625
630
|
}
|
|
626
631
|
let agGridContainer;
|
|
627
632
|
for (let i = 0, len = layoutElements.length; i < len; i++) {
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.1.
|
|
1
|
+
declare const _default: "11.1.12";
|
|
2
2
|
export default _default;
|
package/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = '11.1.
|
|
3
|
+
exports.default = '11.1.12'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|