@adaptabletools/adaptable 20.0.0-canary.1 → 20.0.0-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/package.json +1 -1
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +2 -2
- package/src/Api/ColumnScopeApi.d.ts +2 -2
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnScopeApiImpl.js +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -5
- package/src/PredefinedConfig/Common/RowSummary.d.ts +1 -1
- package/src/PredefinedConfig/Common/RowSummary.js +2 -2
- package/src/PredefinedConfig/LayoutState.d.ts +5 -1
- package/src/Utilities/Services/RowSummaryService.js +2 -2
- package/src/View/Components/ColumnFilter/utils.js +2 -2
- package/src/View/Layout/Wizard/LayoutWizard.js +2 -2
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +2 -2
- package/src/agGrid/AdaptableAgGrid.js +2 -2
- package/src/agGrid/AgGridColumnAdapter.js +2 -2
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +10 -5
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade20.js +3 -3
- package/src/types.d.ts +2 -2
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -2,8 +2,8 @@ import { VersionUpgrade } from './VersionUpgrade';
|
|
|
2
2
|
import { ALL_ADAPTABLE_DATA_TYPES } from '../agGrid/agGridDataTypeDefinitions';
|
|
3
3
|
function transition_pre_20(layout) {
|
|
4
4
|
const l = layout;
|
|
5
|
-
if (l.
|
|
6
|
-
const oldAggs = l.
|
|
5
|
+
if (l.AggregationColumns && !Array.isArray(l.AggregationColumns)) {
|
|
6
|
+
const oldAggs = l.AggregationColumns || {};
|
|
7
7
|
const newAggs = Object.entries(oldAggs).map(([colId, aggFunc]) => ({
|
|
8
8
|
ColumnId: colId,
|
|
9
9
|
AggFunc: aggFunc,
|
|
@@ -28,7 +28,7 @@ function transition_pre_20(layout) {
|
|
|
28
28
|
}
|
|
29
29
|
if (l.EnablePivot) {
|
|
30
30
|
layout.PivotColumns = l.PivotColumns || [];
|
|
31
|
-
if (l.
|
|
31
|
+
if (l.AggregationColumns) {
|
|
32
32
|
layout.PivotAggregationColumns = layout.TableAggregationColumns;
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/types.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export type { SetPrimaryKeyValueContext, RowFormOptions, RowFormContext, CreateR
|
|
|
20
20
|
export type { AdaptableNumberCellEditorParams } from './agGrid/editors/AdaptableNumberEditor';
|
|
21
21
|
export type { AdaptableDateEditorParams } from './agGrid/editors/AdaptableDateEditor';
|
|
22
22
|
export type { AdaptablePercentageCellEditorParams } from './agGrid/editors/AdaptablePercentageEditor';
|
|
23
|
-
export type { ExportOptions, SystemExportDestination, CustomDestination, ExternalReport, PreProcessExportContext, DataFormatType, ExportFormContext, ReportContext, ExportableColumnContext, ReportFileNameContext, DataFormatTypeContext, DataFormatDataType, ExportDestinationType, GetDetailRowsContext, BaseExportContext, } from './AdaptableOptions/ExportOptions';
|
|
23
|
+
export type { ExportOptions, SystemExportDestination, CustomDestination, ExternalReport, PreProcessExportContext, DataFormatType, ExportFormContext, ReportContext, ExportableColumnContext, ReportFileNameContext, DataFormatTypeContext, DataFormatDataType, ExportDestinationType, GetDetailRowsContext, BaseExportContext, ExportResultData, } from './AdaptableOptions/ExportOptions';
|
|
24
24
|
export type { DataImportValidationError, DataImportOptions, DataImportFileHandler, HandleImportedDataContext, DataImportValidateContext, GetPrimaryKeyValueContext, PreprocessRowDataContext, HandleImportedDataResolution, } from './AdaptableOptions/DataImportOptions';
|
|
25
25
|
export type { DataSetOptions, DataSet, DataSetFormContext, } from './AdaptableOptions/DataSetOptions';
|
|
26
26
|
export type { CellSummaryOptions } from './AdaptableOptions/CellSummaryOptions';
|
|
@@ -150,7 +150,7 @@ export type { CellSummmaryInfo, CustomCellSummaryOperation, CustomCellSummaryOpe
|
|
|
150
150
|
export type { FlashingCellDefinition, FlashingCellState, SystemFlashingCellPredicateId, SystemFlashingCellPredicateIds, } from './PredefinedConfig/FlashingCellState';
|
|
151
151
|
export type { AdaptableAlert, AdaptableAlertType, AdaptableGenericAlert, AdaptableCellChangedAlert, AdaptableRowChangedAlert, AdaptableAlertBase, } from './PredefinedConfig/Common/AdaptableAlert';
|
|
152
152
|
export type { AdaptableFlashingCell } from './PredefinedConfig/Common/AdaptableFlashingCell';
|
|
153
|
-
export type { AdaptableColumn, AdaptableColumnBase,
|
|
153
|
+
export type { AdaptableColumn, AdaptableColumnBase, AdaptableSpecialColumnType, AdaptableColumnDataType, AdaptableColumnGroup, } from './PredefinedConfig/Common/AdaptableColumn';
|
|
154
154
|
export type { AdaptableField } from './PredefinedConfig/Common/AdaptableField';
|
|
155
155
|
export type { AdaptableComparerFunction } from './PredefinedConfig/Common/AdaptableComparerFunction';
|
|
156
156
|
export type { SystemStatusMessageInfo } from './PredefinedConfig/Common/SystemStatusMessageInfo';
|