@adaptabletools/adaptable-cjs 20.0.0-canary.11 → 20.0.0-canary.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "20.0.0-canary.
|
|
3
|
+
"version": "20.0.0-canary.12",
|
|
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",
|
|
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const ApiBase_1 = require("../Implementation/ApiBase");
|
|
6
6
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
7
7
|
const uniq_1 = tslib_1.__importDefault(require("lodash/uniq"));
|
|
8
|
-
const lodash_1 = require("lodash");
|
|
9
8
|
const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
|
|
10
9
|
function getAutoRowGroupColumnIdFor(columnId) {
|
|
11
10
|
return `${GeneralConstants_1.AG_GRID_GROUPED_COLUMN}-${columnId}`;
|
|
@@ -28,7 +27,7 @@ class ColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
28
27
|
.getColumns()
|
|
29
28
|
.forEach((c) => {
|
|
30
29
|
const agGridColType = this.getAgGridColumnType(c.columnId);
|
|
31
|
-
if (
|
|
30
|
+
if (Array.isArray(agGridColType)) {
|
|
32
31
|
colTypes.push(...agGridColType);
|
|
33
32
|
}
|
|
34
33
|
else {
|
|
@@ -92,8 +92,8 @@ const CustomToolbarCmp = (props) => {
|
|
|
92
92
|
exports.CustomToolbarCmp = CustomToolbarCmp;
|
|
93
93
|
const CustomToolbarWrapper = (props) => {
|
|
94
94
|
const { api } = (0, AdaptableContext_1.useAdaptable)();
|
|
95
|
-
return (React.createElement(PanelDashboard_1.PanelDashboard, { headerText: props.customToolbar.title ? props.customToolbar.title : '', showConfigureActionButton: props.customToolbar.toolbarActions?.find((b) => b == '
|
|
96
|
-
undefined, showCloseActionButton: props.customToolbar.toolbarActions?.find((b) => b == '
|
|
95
|
+
return (React.createElement(PanelDashboard_1.PanelDashboard, { headerText: props.customToolbar.title ? props.customToolbar.title : '', showConfigureActionButton: props.customToolbar.toolbarActions?.find((b) => b == 'configure') !=
|
|
96
|
+
undefined, showCloseActionButton: props.customToolbar.toolbarActions?.find((b) => b == 'close') != undefined, onConfigure: () => {
|
|
97
97
|
const customToolbarConfiguredInfo = {
|
|
98
98
|
...api.internalApi.buildBaseContext(),
|
|
99
99
|
customToolbar: props.customToolbar,
|
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: "20.0.0-canary.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1741787132929 || Date.now(),
|
|
6
|
+
VERSION: "20.0.0-canary.12" || '--current-version--',
|
|
7
7
|
};
|
|
@@ -16,6 +16,7 @@ function transition_pre_20(layout) {
|
|
|
16
16
|
if (l.Columns) {
|
|
17
17
|
layout.TableColumns = l.Columns;
|
|
18
18
|
delete l.Columns;
|
|
19
|
+
delete layout.PivotColumns;
|
|
19
20
|
}
|
|
20
21
|
if (l.PinnedColumnsMap) {
|
|
21
22
|
layout.ColumnPinning = l.PinnedColumnsMap;
|
|
@@ -31,6 +32,7 @@ function transition_pre_20(layout) {
|
|
|
31
32
|
}
|
|
32
33
|
if (l.EnablePivot) {
|
|
33
34
|
layout.PivotColumns = l.PivotColumns || [];
|
|
35
|
+
delete layout.TableColumns;
|
|
34
36
|
if (l.AggregationColumns) {
|
|
35
37
|
layout.PivotAggregationColumns = layout.TableAggregationColumns;
|
|
36
38
|
}
|