@adaptabletools/adaptable-cjs 18.0.0-canary.24 → 18.0.0-canary.26
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/AdaptableInterfaces/IAdaptable.d.ts +1 -1
- package/src/AdaptableOptions/CommentOptions.d.ts +2 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +4 -4
- package/src/Api/GridApi.d.ts +2 -1
- package/src/Api/Implementation/ActionRowApiImpl.js +3 -7
- package/src/Api/Implementation/AlertApiImpl.js +5 -10
- package/src/Api/Implementation/CalendarApiImpl.js +1 -6
- package/src/Api/Implementation/ChartingApiImpl.js +3 -3
- package/src/Api/Implementation/ColumnApiImpl.js +6 -6
- package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
- package/src/Api/Implementation/CommentsApiImpl.js +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +11 -17
- package/src/Api/Implementation/DashboardApiImpl.js +1 -6
- package/src/Api/Implementation/ExportApiImpl.js +5 -10
- package/src/Api/Implementation/ExpressionApiImpl.js +8 -13
- package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.js +3 -8
- package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +2 -1
- package/src/Api/Implementation/GridApiImpl.js +11 -8
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +2 -13
- package/src/Api/Implementation/PredicateApiImpl.js +2 -2
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
- package/src/Api/Implementation/ScopeApiImpl.js +10 -10
- package/src/Api/Implementation/TeamSharingApiImpl.js +3 -15
- package/src/Api/Implementation/ThemeApiImpl.js +2 -7
- package/src/Api/Implementation/UserInterfaceApiImpl.js +4 -13
- package/src/Api/Internal/ActionRowInternalApi.js +7 -45
- package/src/Api/Internal/AdaptableInternalApi.js +2 -12
- package/src/Api/Internal/AlertInternalApi.js +4 -17
- package/src/Api/Internal/CalculatedColumnInternalApi.js +7 -14
- package/src/Api/Internal/ChartingInternalApi.js +13 -13
- package/src/Api/Internal/ColumnFilterInternalApi.js +18 -36
- package/src/Api/Internal/CustomSortInternalApi.js +1 -1
- package/src/Api/Internal/DashboardInternalApi.js +4 -10
- package/src/Api/Internal/DataImportInternalApi.js +3 -9
- package/src/Api/Internal/DataSetInternalApi.js +2 -7
- package/src/Api/Internal/ExportInternalApi.js +4 -4
- package/src/Api/Internal/ExpressionInternalApi.js +2 -12
- package/src/Api/Internal/Fdc3InternalApi.js +1 -10
- package/src/Api/Internal/FormatColumnInternalApi.js +11 -20
- package/src/Api/Internal/FreeTextColumnInternalApi.js +1 -1
- package/src/Api/Internal/GridFilterInternalApi.js +2 -8
- package/src/Api/Internal/GridInternalApi.js +13 -40
- package/src/Api/Internal/LayoutInternalApi.d.ts +1 -0
- package/src/Api/Internal/LayoutInternalApi.js +10 -19
- package/src/Api/Internal/PredicateInternalApi.js +5 -40
- package/src/Api/Internal/ScheduleInternalApi.js +1 -6
- package/src/Api/Internal/StyledColumnInternalApi.js +5 -5
- package/src/Api/Internal/SystemStatusInternalApi.js +1 -7
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -7
- package/src/Api/Internal/ThemeInternalApi.js +1 -1
- package/src/Api/Internal/UserInterfaceInternalApi.js +1 -1
- package/src/Api/LayoutApi.d.ts +1 -0
- package/src/PredefinedConfig/Common/CellSummary.d.ts +5 -14
- package/src/PredefinedConfig/Common/Enums.d.ts +2 -0
- package/src/PredefinedConfig/Common/Enums.js +2 -0
- package/src/PredefinedConfig/Common/RowSummary.d.ts +1 -1
- package/src/PredefinedConfig/Common/RowSummary.js +4 -4
- package/src/Strategy/CellSummaryModule.js +54 -94
- package/src/Strategy/LayoutModule.js +5 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +19 -19
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
- package/src/Utilities/ObjectFactory.js +2 -0
- package/src/View/Layout/Wizard/LayoutWizard.js +2 -0
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +17 -1
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +5 -5
- package/src/agGrid/AdaptableAgGrid.d.ts +1 -1
- package/src/agGrid/AdaptableAgGrid.js +19 -7
- package/src/agGrid/AgGridAdapter.d.ts +1 -2
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +8 -2
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
|
@@ -334,7 +334,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
334
334
|
handler(args, context) {
|
|
335
335
|
const modeColumnParameter = (0, expressionFunctionUtils_1.extractColumnParameter)('mode', args);
|
|
336
336
|
const modeColumnName = modeColumnParameter.value;
|
|
337
|
-
(0, expressionFunctionUtils_1.validateColumnType)(modeColumnName, ['Number', 'String'], 'mode', context.adaptableApi);
|
|
337
|
+
(0, expressionFunctionUtils_1.validateColumnType)(modeColumnName, ['Number', 'String', 'Date'], 'mode', context.adaptableApi);
|
|
338
338
|
const groupByParameter = (0, expressionFunctionUtils_1.extractParameter)('MODE', 'operand', ['GROUP_BY'], args, {
|
|
339
339
|
isOptional: true,
|
|
340
340
|
});
|
|
@@ -394,7 +394,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
394
394
|
],
|
|
395
395
|
examples: ['MODE([colA])', 'MODE([colA], GROUP_BY([colB]))'],
|
|
396
396
|
category: 'aggregation',
|
|
397
|
-
inputs: [['number'], ['text']],
|
|
397
|
+
inputs: [['number'], ['text'], ['date']],
|
|
398
398
|
},
|
|
399
399
|
DISTINCT: {
|
|
400
400
|
handler(args, context) {
|
|
@@ -442,7 +442,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
442
442
|
],
|
|
443
443
|
examples: ['DISTINCT([colA])', 'DISTINCT([colA], GROUP_BY([colB]))'],
|
|
444
444
|
category: 'aggregation',
|
|
445
|
-
inputs: [['number'], ['text']],
|
|
445
|
+
inputs: [['number'], ['text'], ['date']],
|
|
446
446
|
},
|
|
447
447
|
ONLY: {
|
|
448
448
|
handler(args, context) {
|
|
@@ -492,7 +492,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
492
492
|
],
|
|
493
493
|
examples: ['ONLY([colA])', 'ONLY([colA], GROUP_BY([colB]))'],
|
|
494
494
|
category: 'aggregation',
|
|
495
|
-
inputs: [['number'], ['text']],
|
|
495
|
+
inputs: [['number'], ['text'], ['date']],
|
|
496
496
|
},
|
|
497
497
|
STD_DEVIATION: {
|
|
498
498
|
handler(args, context) {
|
|
@@ -853,7 +853,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
853
853
|
],
|
|
854
854
|
examples: ['COUNT([colA])', 'COUNT([colA], GROUP_BY([colB]))'],
|
|
855
855
|
category: 'aggregation',
|
|
856
|
-
inputs: [['number'], ['text']],
|
|
856
|
+
inputs: [['number'], ['text'], ['date']],
|
|
857
857
|
},
|
|
858
858
|
OVER: {
|
|
859
859
|
handler(args, context) {
|
|
@@ -963,7 +963,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
963
963
|
};
|
|
964
964
|
return result;
|
|
965
965
|
},
|
|
966
|
-
description: 'Aggregates a column over multiple rows by computing the
|
|
966
|
+
description: 'Aggregates a Date column over multiple rows by computing the oldest of the column values\nOptionally the aggregation may be computed within provided individual groups',
|
|
967
967
|
signatures: [
|
|
968
968
|
'OLDEST( [colName] )',
|
|
969
969
|
'OLDEST( COL(name: string))',
|
|
@@ -974,19 +974,19 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
974
974
|
category: 'aggregation',
|
|
975
975
|
inputs: ['date'],
|
|
976
976
|
},
|
|
977
|
-
|
|
977
|
+
NEWEST: {
|
|
978
978
|
handler(args, context) {
|
|
979
|
-
const minColumnParameter = (0, expressionFunctionUtils_1.extractColumnParameter)('
|
|
979
|
+
const minColumnParameter = (0, expressionFunctionUtils_1.extractColumnParameter)('NEWEST', args);
|
|
980
980
|
const minColumnName = minColumnParameter.value;
|
|
981
|
-
(0, expressionFunctionUtils_1.validateColumnType)(minColumnName, ['Date'], '
|
|
982
|
-
const groupByParameter = (0, expressionFunctionUtils_1.extractParameter)('
|
|
981
|
+
(0, expressionFunctionUtils_1.validateColumnType)(minColumnName, ['Date'], 'NEWEST', context.adaptableApi);
|
|
982
|
+
const groupByParameter = (0, expressionFunctionUtils_1.extractParameter)('NEWEST', 'operand', ['GROUP_BY'], args, {
|
|
983
983
|
isOptional: true,
|
|
984
984
|
});
|
|
985
985
|
const aggregationExpressionEvaluation = {
|
|
986
986
|
aggregationParams: {
|
|
987
987
|
reducers: {
|
|
988
|
-
|
|
989
|
-
name: '
|
|
988
|
+
NEWEST: {
|
|
989
|
+
name: 'NEWEST',
|
|
990
990
|
field: minColumnName,
|
|
991
991
|
initialValue: null,
|
|
992
992
|
reducer: (minValue, rowValue) => {
|
|
@@ -1016,20 +1016,20 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
1016
1016
|
};
|
|
1017
1017
|
addGroupByParams(groupByParameter === null || groupByParameter === void 0 ? void 0 : groupByParameter.value, aggregationExpressionEvaluation);
|
|
1018
1018
|
const result = {
|
|
1019
|
-
name: '
|
|
1019
|
+
name: 'NEWEST',
|
|
1020
1020
|
type: 'aggregationScalar',
|
|
1021
1021
|
value: aggregationExpressionEvaluation,
|
|
1022
1022
|
};
|
|
1023
1023
|
return result;
|
|
1024
1024
|
},
|
|
1025
|
-
description: 'Aggregates a column over multiple rows by computing the
|
|
1025
|
+
description: 'Aggregates a Date column over multiple rows by computing the most recent of the column values\nOptionally the aggregation may be computed within provided individual groups',
|
|
1026
1026
|
signatures: [
|
|
1027
|
-
'
|
|
1028
|
-
'
|
|
1029
|
-
'
|
|
1030
|
-
'
|
|
1027
|
+
'NEWEST( [colName] )',
|
|
1028
|
+
'NEWEST( COL(name: string))',
|
|
1029
|
+
'NEWEST( [colNameA], GROUP_BY( [colNameB] ))',
|
|
1030
|
+
'NEWEST( COL(nameA: string), GROUP_BY( COL(nameB: string)))',
|
|
1031
1031
|
],
|
|
1032
|
-
examples: ['
|
|
1032
|
+
examples: ['NEWEST([colA])', 'NEWEST([colA], GROUP_BY([colB]))'],
|
|
1033
1033
|
category: 'aggregation',
|
|
1034
1034
|
inputs: ['date'],
|
|
1035
1035
|
},
|
|
@@ -97,6 +97,7 @@ function addUuidAndSource(adaptableObject) {
|
|
|
97
97
|
}
|
|
98
98
|
exports.addUuidAndSource = addUuidAndSource;
|
|
99
99
|
function removeUuidAndSource(adaptableObject) {
|
|
100
|
+
const clonedObject = structuredClone(adaptableObject);
|
|
100
101
|
const sanitiseObject = (object) => {
|
|
101
102
|
for (const key in object) {
|
|
102
103
|
if (key === 'Source' || key === 'Uuid') {
|
|
@@ -110,8 +111,8 @@ function removeUuidAndSource(adaptableObject) {
|
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
};
|
|
113
|
-
sanitiseObject(
|
|
114
|
-
return
|
|
114
|
+
sanitiseObject(clonedObject);
|
|
115
|
+
return clonedObject;
|
|
115
116
|
}
|
|
116
117
|
exports.removeUuidAndSource = removeUuidAndSource;
|
|
117
118
|
exports.AdaptableHelper = {
|
|
@@ -33,6 +33,7 @@ const LayoutWizard = (props) => {
|
|
|
33
33
|
preparedLayout = (0, Helper_1.cloneObject)(initialLayout);
|
|
34
34
|
if (((_a = props === null || props === void 0 ? void 0 : props.popupParams) === null || _a === void 0 ? void 0 : _a.action) === 'Clone') {
|
|
35
35
|
preparedLayout.Name = '';
|
|
36
|
+
delete preparedLayout.Uuid;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
else {
|
|
@@ -149,6 +150,7 @@ const LayoutWizard = (props) => {
|
|
|
149
150
|
title: 'Row Summaries',
|
|
150
151
|
details: 'Configure Row Summaries',
|
|
151
152
|
renderSummary: () => React.createElement(RowGroupingSection_1.RowGroupingSectionSummary, null),
|
|
153
|
+
isVisible: () => layoutSupportedFeatures.RowSummaries,
|
|
152
154
|
render: () => (React.createElement(rebass_1.Box, { p: 2, style: { height: '100%' } },
|
|
153
155
|
React.createElement(RowSummarySection_1.RowSummarySection, { onChange: setLayout }))),
|
|
154
156
|
},
|
|
@@ -16,7 +16,23 @@ const RowGroupingSectionSummary = () => {
|
|
|
16
16
|
var _a;
|
|
17
17
|
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
18
18
|
const { data: layout } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
19
|
-
return (React.createElement(rebass_1.Box, null, ((_a = layout.
|
|
19
|
+
return (React.createElement(rebass_1.Box, null, ((_a = layout.RowSummaries) === null || _a === void 0 ? void 0 : _a.length) ? (layout === null || layout === void 0 ? void 0 : layout.RowSummaries.map((rowSummary, index) => {
|
|
20
|
+
var _a;
|
|
21
|
+
const columns = Object.entries((_a = rowSummary.ColumnsMap) !== null && _a !== void 0 ? _a : {})
|
|
22
|
+
.map(([columnId, expression]) => {
|
|
23
|
+
if (columnId === 'Source' || columnId === 'Uuid') {
|
|
24
|
+
return '';
|
|
25
|
+
}
|
|
26
|
+
return `${expression}(${adaptable.api.columnApi.getFriendlyNameForColumnId(columnId)})`;
|
|
27
|
+
})
|
|
28
|
+
.filter(Boolean)
|
|
29
|
+
.join(', ');
|
|
30
|
+
return (React.createElement(rebass_1.Box, { mb: 2 },
|
|
31
|
+
React.createElement(Tag_1.Tag, { key: index },
|
|
32
|
+
rowSummary.Position,
|
|
33
|
+
" ",
|
|
34
|
+
columns)));
|
|
35
|
+
})) : (React.createElement(Tag_1.Tag, null, "No Row Summaries"))));
|
|
20
36
|
};
|
|
21
37
|
exports.RowGroupingSectionSummary = RowGroupingSectionSummary;
|
|
22
38
|
const RowGroupingSection = (props) => {
|
|
@@ -37,13 +37,13 @@ const areSummaryRowsValid = (layout) => {
|
|
|
37
37
|
exports.areSummaryRowsValid = areSummaryRowsValid;
|
|
38
38
|
const getAvailableExpressionsForColumnType = (columnType, availableScalarExpressions) => {
|
|
39
39
|
const inputType = (0, adaptableQlUtils_1.mapColumnDataTypeToExpressionFunctionType)(columnType);
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
// Object.entries(availableScalarExpressions ?? {})
|
|
41
|
+
return RowSummary_1.summarySupportedExpressions
|
|
42
|
+
.filter((expression) => availableScalarExpressions[expression])
|
|
43
|
+
.map((expression) => {
|
|
42
44
|
var _a, _b;
|
|
45
|
+
const expressionDef = availableScalarExpressions[expression];
|
|
43
46
|
let firstArg = null;
|
|
44
|
-
if (!RowSummary_1.summarySupportedExpressions.includes(expression)) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
47
|
if (Array.isArray((_a = expressionDef === null || expressionDef === void 0 ? void 0 : expressionDef.inputs) === null || _a === void 0 ? void 0 : _a[0])) {
|
|
48
48
|
// @ts-ignore
|
|
49
49
|
firstArg = (_b = expressionDef.inputs.find((input) => input.includes(inputType))) === null || _b === void 0 ? void 0 : _b[0];
|
|
@@ -287,7 +287,7 @@ export declare class AdaptableAgGrid implements IAdaptable {
|
|
|
287
287
|
private getAgGridLightThemeName;
|
|
288
288
|
applyAdaptableTheme(theme: AdaptableTheme | string): void;
|
|
289
289
|
setRowGroupColumns(columnIds: string[]): void;
|
|
290
|
-
|
|
290
|
+
getAllGridColumns(): Column<any>[];
|
|
291
291
|
clearRowGroupColumns(): void;
|
|
292
292
|
expandAllRowGroups(): void;
|
|
293
293
|
closeAllRowGroups(): void;
|
|
@@ -372,6 +372,16 @@ class AdaptableAgGrid {
|
|
|
372
372
|
this.temporaryAdaptableStateUpdates();
|
|
373
373
|
this.redrawBody();
|
|
374
374
|
this.refreshHeader();
|
|
375
|
+
const currentLayout = this.api.layoutApi.getCurrentLayout();
|
|
376
|
+
if (currentLayout.EnablePivot) {
|
|
377
|
+
// this is very very strange!
|
|
378
|
+
// for some projects, if the initial layout is pivot, the columnDefs of the pivot resutl columns are NOT derived correctly from the main colDefs
|
|
379
|
+
// doing the following line fixes the issue because it foces the pivot columns to be created again
|
|
380
|
+
// this proj works without the hack: /tests/pages/format-column/initial-pivot-layout.page.tsx
|
|
381
|
+
// but this proj needs the hack: /tests/pages/format-column/initial-pivot-layout-docs.page.tsx
|
|
382
|
+
this.agGridAdapter.setGridOption('pivotMode', false);
|
|
383
|
+
this.agGridAdapter.setGridOption('pivotMode', true);
|
|
384
|
+
}
|
|
375
385
|
// create the module menu (for use in the dashboard and the toolpanel)
|
|
376
386
|
// TODO see #create-create-module-menu - make sure it's the same here and there
|
|
377
387
|
this.ModuleService.createModuleMenus();
|
|
@@ -989,7 +999,9 @@ class AdaptableAgGrid {
|
|
|
989
999
|
// framework wrapper may pass the rowData as a prop
|
|
990
1000
|
const rowData = agGridApi.getGridOption('rowData');
|
|
991
1001
|
this.initWithLazyData = rowData == undefined || rowData.length === 0;
|
|
992
|
-
this.
|
|
1002
|
+
if (this.initWithLazyData) {
|
|
1003
|
+
this.logger.info('initWithLazyData = TRUE');
|
|
1004
|
+
}
|
|
993
1005
|
if (!this.getAgGridContainerElement()) {
|
|
994
1006
|
// initialize the agGridContainerElement from the AgGrid instance
|
|
995
1007
|
// @ts-ignore
|
|
@@ -1375,17 +1387,17 @@ class AdaptableAgGrid {
|
|
|
1375
1387
|
// ADD filter event
|
|
1376
1388
|
this.agGridAdapter.getAgGridApi().addGlobalListener((this.listenerGlobalColumnEventsThatTriggerAutoLayoutSave = (type) => {
|
|
1377
1389
|
if (columnEventsThatTriggersAutoLayoutSave.indexOf(type) > -1) {
|
|
1378
|
-
this.
|
|
1379
|
-
this.debouncedSaveGridLayout();
|
|
1390
|
+
this.debouncedSaveGridLayout(type);
|
|
1380
1391
|
}
|
|
1381
1392
|
}));
|
|
1382
1393
|
/**
|
|
1383
1394
|
* Save Layout if Display Row Groups is "dynamic
|
|
1384
1395
|
*/
|
|
1385
|
-
this.debouncedSaveGridLayout = (0, debounce_1.default)(() => {
|
|
1396
|
+
this.debouncedSaveGridLayout = (0, debounce_1.default)((type) => {
|
|
1386
1397
|
if (!this.isReady) {
|
|
1387
1398
|
return;
|
|
1388
1399
|
}
|
|
1400
|
+
this.logger.info('Event Triggering Auto Layout Save', type || '');
|
|
1389
1401
|
this.updateLayoutFromGrid();
|
|
1390
1402
|
}, GeneralConstants_1.HALF_SECOND);
|
|
1391
1403
|
const rowGroupEventsThatTriggersAutoLayoutSave = [
|
|
@@ -1395,7 +1407,7 @@ class AdaptableAgGrid {
|
|
|
1395
1407
|
this.agGridAdapter.getAgGridApi().addGlobalListener((this.listenerGlobalRowGroupEventsThatTriggerAutoLayoutSave = (type) => {
|
|
1396
1408
|
if (rowGroupEventsThatTriggersAutoLayoutSave.indexOf(type) > -1) {
|
|
1397
1409
|
if (this.adaptableOptions.layoutOptions.displayRowGroups == 'dynamic') {
|
|
1398
|
-
this.debouncedSaveGridLayout();
|
|
1410
|
+
this.debouncedSaveGridLayout(type);
|
|
1399
1411
|
}
|
|
1400
1412
|
}
|
|
1401
1413
|
}));
|
|
@@ -1419,7 +1431,7 @@ class AdaptableAgGrid {
|
|
|
1419
1431
|
*/
|
|
1420
1432
|
this.agGridAdapter.getAgGridApi().addEventListener(core_1.Events.EVENT_COLUMN_RESIZED, (this.listenerColumnResized = (params) => {
|
|
1421
1433
|
if (params.finished == true && params.type == 'columnResized' && params.column) {
|
|
1422
|
-
this.debouncedSaveGridLayout();
|
|
1434
|
+
this.debouncedSaveGridLayout(params.type);
|
|
1423
1435
|
}
|
|
1424
1436
|
}));
|
|
1425
1437
|
/**
|
|
@@ -2748,7 +2760,7 @@ class AdaptableAgGrid {
|
|
|
2748
2760
|
setRowGroupColumns(columnIds) {
|
|
2749
2761
|
this.agGridAdapter.getAgGridApi().setRowGroupColumns(columnIds);
|
|
2750
2762
|
}
|
|
2751
|
-
|
|
2763
|
+
getAllGridColumns() {
|
|
2752
2764
|
return this.agGridAdapter.getAgGridApi().getAllGridColumns();
|
|
2753
2765
|
}
|
|
2754
2766
|
clearRowGroupColumns() {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ColDef, Column, GridApi, GridOptions, IRowNode, ManagedGridOptionKey, ManagedGridOptions, Module, ModuleNames } from '@ag-grid-community/core';
|
|
1
|
+
import { ColDef, ColGroupDef, Column, GridApi, GridOptions, IRowNode, ManagedGridOptionKey, ManagedGridOptions, Module, ModuleNames } from '@ag-grid-community/core';
|
|
2
2
|
import { AdaptableAgGrid } from './AdaptableAgGrid';
|
|
3
3
|
import { AdaptableColumn, AdaptableColumnGroup } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
4
|
import { SelectedCellInfo } from '../PredefinedConfig/Selection/SelectedCellInfo';
|
|
5
5
|
import { SelectedRowInfo } from '../PredefinedConfig/Selection/SelectedRowInfo';
|
|
6
|
-
import { ColGroupDef } from '@ag-grid-community/core/dist/esm/es6/entities/colDef';
|
|
7
6
|
export declare class AgGridAdapter {
|
|
8
7
|
private adaptableInstance;
|
|
9
8
|
private DANGER_USE_GETTER_gridApi;
|
package/src/env.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
4
|
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: "18.0.0-canary.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1712574295706 || Date.now(),
|
|
6
|
+
VERSION: "18.0.0-canary.26" || '--current-version--',
|
|
7
7
|
};
|
|
@@ -1590,11 +1590,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1590
1590
|
name: string;
|
|
1591
1591
|
kind: string;
|
|
1592
1592
|
desc: string;
|
|
1593
|
-
props: {
|
|
1593
|
+
props: ({
|
|
1594
1594
|
name: string;
|
|
1595
1595
|
kind: string;
|
|
1596
1596
|
desc: string;
|
|
1597
|
-
|
|
1597
|
+
ref?: undefined;
|
|
1598
|
+
} | {
|
|
1599
|
+
name: string;
|
|
1600
|
+
kind: string;
|
|
1601
|
+
desc: string;
|
|
1602
|
+
ref: string;
|
|
1603
|
+
})[];
|
|
1598
1604
|
};
|
|
1599
1605
|
CellSummaryOptions: {
|
|
1600
1606
|
name: string;
|