@adaptabletools/adaptable 18.0.6 → 18.0.8
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 +1 -1
- package/src/Api/Implementation/DataImportApiImpl.js +3 -1
- package/src/PredefinedConfig/Common/CellSummary.d.ts +0 -2
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -2
- package/src/PredefinedConfig/Common/Enums.js +0 -2
- package/src/PredefinedConfig/Common/RowSummary.d.ts +1 -1
- package/src/PredefinedConfig/Common/RowSummary.js +0 -2
- package/src/Strategy/CellSummaryModule.js +2 -6
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +68 -140
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -0
- package/src/Utilities/ObjectFactory.js +0 -2
- package/src/View/CellSummary/CellSummaryDetails.js +2 -1
- package/src/View/DataImport/DataImportPopup.js +4 -2
- package/src/agGrid/ActionColumnRenderer.js +8 -0
- package/src/agGrid/AdaptableAgGrid.js +9 -1
- package/src/agGrid/BadgeRenderer.js +4 -4
- package/src/env.js +2 -2
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -10,11 +10,11 @@ export const getBadgeRendererForColumn = (badgeStyle, abColumn, api) => {
|
|
|
10
10
|
init(params) {
|
|
11
11
|
var _a, _b, _c, _d, _e, _f;
|
|
12
12
|
const adaptable = this.getAdaptableInstance(params);
|
|
13
|
-
const
|
|
13
|
+
const adaptableApi = adaptable.api;
|
|
14
14
|
this.eGui = document.createElement('div');
|
|
15
15
|
this.eGui.className = 'ab-Badge__wrapper';
|
|
16
16
|
const isGroupedRow = params.node.group;
|
|
17
|
-
const isSummaryRow =
|
|
17
|
+
const isSummaryRow = adaptableApi.gridApi.isSummaryNode(params.node);
|
|
18
18
|
let shouldRender = true;
|
|
19
19
|
if (isGroupedRow) {
|
|
20
20
|
if ((_a = badgeStyle.RowScope) === null || _a === void 0 ? void 0 : _a.ExcludeGroupRows) {
|
|
@@ -37,10 +37,10 @@ export const getBadgeRendererForColumn = (badgeStyle, abColumn, api) => {
|
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
if (['NumberArray', 'StringArray'].includes(abColumn.dataType)) {
|
|
40
|
-
this.renderArrayValues(params,
|
|
40
|
+
this.renderArrayValues(params, adaptableApi);
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
|
-
this.renderSingularValues(params,
|
|
43
|
+
this.renderSingularValues(params, adaptableApi);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
renderArrayValues(params, adapatableApi) {
|
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: 1714757350988 || Date.now(),
|
|
4
|
+
VERSION: "18.0.8" || '--current-version--',
|
|
5
5
|
};
|