@adaptabletools/adaptable 20.0.0-canary.1 → 20.0.0-canary.3

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.
@@ -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.TableAggregationColumns && !Array.isArray(l.TableAggregationColumns)) {
6
- const oldAggs = l.TableAggregationColumns || {};
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.TableAggregationColumns) {
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, AdaptableColumnType, AdaptableColumnDataType, AdaptableColumnGroup, } from './PredefinedConfig/Common/AdaptableColumn';
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';