@adaptabletools/adaptable 20.0.7-canary.1 → 20.0.7-canary.2
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/agGrid.d.ts +37 -0
- package/agGrid.js +38 -0
- package/base.css +19 -3
- package/base.css.map +1 -1
- package/index.css +17 -3
- package/index.css.map +1 -1
- package/package.json +3 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +3 -6
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +10 -5
- package/src/AdaptableState/Common/AdaptableColumn.js +26 -0
- package/src/AdaptableState/Common/AggregationColumns.d.ts +10 -0
- package/src/AdaptableState/Common/AggregationColumns.js +11 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ColumnApiImpl.js +30 -2
- package/src/Api/Internal/ColumnInternalApi.js +3 -3
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +9 -10
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +26 -25
- package/src/View/Components/ColumnFilter/ColumnFilter.js +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +6 -3
- package/src/View/Components/NewScopeComponent.js +2 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +2 -2
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/PivotAggregationsSection.d.ts +2 -2
- package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +219 -43
- package/src/components/Select/Select.js +15 -3
- package/src/env.js +2 -2
- package/src/layout-manager/src/index.d.ts +1 -1
- package/src/layout-manager/src/index.js +26 -6
- package/src/layout-manager/src/isPivotAggTotalColumn.d.ts +2 -0
- package/src/layout-manager/src/{isPivotTotalColumn.js → isPivotAggTotalColumn.js} +1 -1
- package/src/layout-manager/src/isPivotGrandTotalColumn.d.ts +2 -0
- package/src/layout-manager/src/isPivotGrandTotalColumn.js +3 -0
- package/src/layout-manager/src/isPivotGroupTotalColumn.d.ts +1 -2
- package/src/layout-manager/src/isPivotGroupTotalColumn.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +8 -2
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/layout-manager/src/isPivotTotalColumn.d.ts +0 -2
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function isPivotGroupTotalColumn(colDef: ColDef): boolean;
|
|
1
|
+
export declare function isPivotGroupTotalColumn(colId: string): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function isPivotGroupTotalColumn(
|
|
1
|
+
export function isPivotGroupTotalColumn(colId) {
|
|
2
2
|
// pivot group total are spanning cross all aggregations
|
|
3
3
|
// therefore the last part of the colId is empty (hence the "dangling" underscore)
|
|
4
|
-
return
|
|
4
|
+
return colId?.startsWith('pivot_') && colId?.endsWith('_');
|
|
5
5
|
}
|
|
@@ -4056,13 +4056,19 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
4056
4056
|
name: string;
|
|
4057
4057
|
kind: string;
|
|
4058
4058
|
desc: string;
|
|
4059
|
-
props: {
|
|
4059
|
+
props: ({
|
|
4060
4060
|
name: string;
|
|
4061
4061
|
kind: string;
|
|
4062
4062
|
desc: string;
|
|
4063
4063
|
isOpt: boolean;
|
|
4064
4064
|
defVal: string;
|
|
4065
|
-
}
|
|
4065
|
+
} | {
|
|
4066
|
+
name: string;
|
|
4067
|
+
kind: string;
|
|
4068
|
+
desc: string;
|
|
4069
|
+
isOpt: boolean;
|
|
4070
|
+
defVal?: undefined;
|
|
4071
|
+
})[];
|
|
4066
4072
|
};
|
|
4067
4073
|
LayoutViewOptions: {
|
|
4068
4074
|
name: string;
|