@adaptabletools/adaptable-cjs 20.0.7 → 20.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.8",
|
|
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",
|
|
@@ -75,7 +75,7 @@ export interface LayoutBase extends AdaptableObject {
|
|
|
75
75
|
*/
|
|
76
76
|
AutoSizeColumns?: boolean;
|
|
77
77
|
/**
|
|
78
|
-
* Display Grand Total Row at the top or bottom of the Table/Pivot
|
|
78
|
+
* Display Grand Total Row at the top or bottom of the Table/Pivot Layout
|
|
79
79
|
*/
|
|
80
80
|
GrandTotalRow?: 'top' | 'bottom' | boolean;
|
|
81
81
|
}
|
|
@@ -330,6 +330,7 @@ const pivotLayoutModelToPivotLayout = (layoutModel, defaults) => {
|
|
|
330
330
|
ColumnVisibility: layoutModel.ColumnVisibility,
|
|
331
331
|
ColumnSorts: layoutModel.ColumnSorts,
|
|
332
332
|
ColumnPinning: layoutModel.ColumnPinning,
|
|
333
|
+
PivotExpandLevel: layoutModel.PivotExpandLevel,
|
|
333
334
|
};
|
|
334
335
|
if (layoutModel.PivotGroupedColumns) {
|
|
335
336
|
pivotLayout.PivotGroupedColumns = layoutModel.PivotGroupedColumns;
|
|
@@ -695,6 +695,22 @@ You need to define at least one Layout!`);
|
|
|
695
695
|
}
|
|
696
696
|
};
|
|
697
697
|
});
|
|
698
|
+
// this is necessary here for the initialisation of the LayoutManager
|
|
699
|
+
/**
|
|
700
|
+
* `grandTotalRow`
|
|
701
|
+
*/
|
|
702
|
+
this.agGridOptionsService.setGridOptionsProperty(gridOptions, 'grandTotalRow', (original_grandTotalRow) => {
|
|
703
|
+
const currentLayout = this.api.layoutApi.getCurrentLayout();
|
|
704
|
+
if (!currentLayout) {
|
|
705
|
+
return original_grandTotalRow;
|
|
706
|
+
}
|
|
707
|
+
return currentLayout.GrandTotalRow === true
|
|
708
|
+
? 'top'
|
|
709
|
+
: currentLayout.GrandTotalRow === false
|
|
710
|
+
? undefined
|
|
711
|
+
: currentLayout.GrandTotalRow;
|
|
712
|
+
});
|
|
713
|
+
// this is necessary here for the initialisation of the LayoutManager
|
|
698
714
|
/**
|
|
699
715
|
* `suppressAggFuncInHeader`
|
|
700
716
|
*/
|
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.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1745928542430 || Date.now(),
|
|
6
|
+
VERSION: "20.0.8" || '--current-version--',
|
|
7
7
|
};
|
package/src/types.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
|
|
|
38
38
|
export type { FilterOptions, ColumnFilterOptions, GridFilterOptions, IsRowFilterableContext, InFilterValueInfo, CustomInFilterValuesContext, GridFilterEditors, } from './AdaptableOptions/FilterOptions';
|
|
39
39
|
export type { QuickSearchOptions, QuickSearchContext } from './AdaptableOptions/QuickSearchOptions';
|
|
40
40
|
export type { FormatColumnOptions, CustomDisplayFormatter, CustomDisplayFormatterContext, } from './AdaptableOptions/FormatColumnOptions';
|
|
41
|
-
export type { ColumnOptions, ColumnFriendlyNameContext, ColumnTypesContext, } from './AdaptableOptions/ColumnOptions';
|
|
41
|
+
export type { ColumnOptions, ColumnFriendlyNameContext, ColumnTypesContext, ColumnHeaderContext, } from './AdaptableOptions/ColumnOptions';
|
|
42
42
|
export type { AdaptablePersistStateFunction, AdaptableStateFunctionConfig, AdaptableLoadStateFunction, AdaptableSaveStateFunction, AdaptableClearStateFunction, StateOptions, } from './AdaptableOptions/StateOptions';
|
|
43
43
|
export type { TableAggregationColumns, PivotAggregationColumns, WeightedAverageAggregation, } from './AdaptableState/Common/AggregationColumns';
|
|
44
44
|
export type { AccessLevel, Entitlement } from './AdaptableState/Common/Entitlement';
|