@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
|
@@ -16,53 +16,53 @@ class ChartingInternalApi extends ApiBase_1.ApiBase {
|
|
|
16
16
|
}
|
|
17
17
|
getContainerElemetnByName(containerName) {
|
|
18
18
|
var _a, _b, _c;
|
|
19
|
-
const chartContainers = (_c = (_b = (_a = this.
|
|
19
|
+
const chartContainers = (_c = (_b = (_a = this.getAdaptableApi().optionsApi.getAdaptableOptions()) === null || _a === void 0 ? void 0 : _a.chartingOptions) === null || _b === void 0 ? void 0 : _b.chartContainers) !== null && _c !== void 0 ? _c : [];
|
|
20
20
|
const chartContainer = chartContainers.find((container) => container.name === containerName);
|
|
21
21
|
return this.getContainerElement(chartContainer);
|
|
22
22
|
}
|
|
23
23
|
getUniqueChartName() {
|
|
24
|
-
const charts = this.
|
|
25
|
-
const externalCharts = this.
|
|
24
|
+
const charts = this.getAdaptableApi().chartingApi.getChartDefinitions();
|
|
25
|
+
const externalCharts = this.getAdaptableApi().chartingApi.getExternalChartDefinitions();
|
|
26
26
|
return `Chart ${charts.length + externalCharts.length + 1}`;
|
|
27
27
|
}
|
|
28
28
|
// External lib charting service
|
|
29
29
|
isExternalChartOpened(chartDefinition) {
|
|
30
|
-
const externalChartingOptions = this.
|
|
30
|
+
const externalChartingOptions = this.getAdaptableApi().optionsApi.getChartingOptions().externalChartingOptions;
|
|
31
31
|
if (!(externalChartingOptions === null || externalChartingOptions === void 0 ? void 0 : externalChartingOptions.isChartOpened)) {
|
|
32
32
|
return false;
|
|
33
33
|
}
|
|
34
34
|
if (!chartDefinition) {
|
|
35
35
|
return false;
|
|
36
36
|
}
|
|
37
|
-
return externalChartingOptions.isChartOpened(Object.assign({ chartDefinition: chartDefinition }, (0, ObjectFactory_1.createBaseContext)(this.
|
|
37
|
+
return externalChartingOptions.isChartOpened(Object.assign({ chartDefinition: chartDefinition }, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())));
|
|
38
38
|
}
|
|
39
39
|
onHideExternalChart(chartDefinition) {
|
|
40
|
-
const externalChartingOptions = this.
|
|
40
|
+
const externalChartingOptions = this.getAdaptableApi().optionsApi.getChartingOptions().externalChartingOptions;
|
|
41
41
|
if (!(externalChartingOptions === null || externalChartingOptions === void 0 ? void 0 : externalChartingOptions.onHideChart)) {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
externalChartingOptions.onHideChart(Object.assign({ chartDefinition: chartDefinition }, (0, ObjectFactory_1.createBaseContext)(this.
|
|
44
|
+
externalChartingOptions.onHideChart(Object.assign({ chartDefinition: chartDefinition }, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())));
|
|
45
45
|
}
|
|
46
46
|
onShowExternalChart(chartDefinition, container) {
|
|
47
|
-
const externalChartingOptions = this.
|
|
47
|
+
const externalChartingOptions = this.getAdaptableApi().optionsApi.getChartingOptions().externalChartingOptions;
|
|
48
48
|
if (!(externalChartingOptions === null || externalChartingOptions === void 0 ? void 0 : externalChartingOptions.onShowChart)) {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
|
-
externalChartingOptions.onShowChart(Object.assign({ chartDefinition: chartDefinition, container: container }, (0, ObjectFactory_1.createBaseContext)(this.
|
|
51
|
+
externalChartingOptions.onShowChart(Object.assign({ chartDefinition: chartDefinition, container: container }, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())));
|
|
52
52
|
}
|
|
53
53
|
onPreviewExternalChart(chartDefinition, container) {
|
|
54
|
-
const externalChartingOptions = this.
|
|
54
|
+
const externalChartingOptions = this.getAdaptableApi().optionsApi.getChartingOptions().externalChartingOptions;
|
|
55
55
|
if (!(externalChartingOptions === null || externalChartingOptions === void 0 ? void 0 : externalChartingOptions.onPreviewChart)) {
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
|
-
return externalChartingOptions.onPreviewChart(Object.assign({ chartDefinition: chartDefinition, container: container }, (0, ObjectFactory_1.createBaseContext)(this.
|
|
58
|
+
return externalChartingOptions.onPreviewChart(Object.assign({ chartDefinition: chartDefinition, container: container }, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())));
|
|
59
59
|
}
|
|
60
60
|
onDeleteExternalChart(chartDefinition) {
|
|
61
|
-
const externalChartingOptions = this.
|
|
61
|
+
const externalChartingOptions = this.getAdaptableApi().optionsApi.getChartingOptions().externalChartingOptions;
|
|
62
62
|
if (!(externalChartingOptions === null || externalChartingOptions === void 0 ? void 0 : externalChartingOptions.onDeleteChart)) {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
externalChartingOptions.onDeleteChart(Object.assign({ chartDefinition: chartDefinition }, (0, ObjectFactory_1.createBaseContext)(this.
|
|
65
|
+
externalChartingOptions.onDeleteChart(Object.assign({ chartDefinition: chartDefinition }, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())));
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
exports.ChartingInternalApi = ChartingInternalApi;
|
|
@@ -47,7 +47,7 @@ class ColumnFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
47
47
|
const filter = {
|
|
48
48
|
ColumnId: column.columnId,
|
|
49
49
|
Predicate: {
|
|
50
|
-
PredicateId: this.
|
|
50
|
+
PredicateId: this.getAdaptableApi().predicateApi.internalApi.getEqualityPredicateForDataType(column.dataType),
|
|
51
51
|
Inputs: [...new Set([gridCell.rawValue])],
|
|
52
52
|
},
|
|
53
53
|
};
|
|
@@ -59,11 +59,11 @@ class ColumnFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
59
59
|
* @param columnFilter Column Filter to use
|
|
60
60
|
*/
|
|
61
61
|
columnFilterToString(columnFilter) {
|
|
62
|
-
const friendlyName = this.
|
|
62
|
+
const friendlyName = this.getAdaptableApi().columnApi.getFriendlyNameForColumnId(columnFilter.ColumnId);
|
|
63
63
|
return ('[' +
|
|
64
64
|
friendlyName +
|
|
65
65
|
'] ' +
|
|
66
|
-
this.
|
|
66
|
+
this.getAdaptableApi().predicateApi.predicateToString(columnFilter.Predicate));
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Retrieves descriptions of given Column Filters
|
|
@@ -103,17 +103,9 @@ class ColumnFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
103
103
|
return true;
|
|
104
104
|
}
|
|
105
105
|
let value = gridCell.normalisedValue;
|
|
106
|
-
const predicateDefHandlerContext = {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
displayValue: gridCell.displayValue,
|
|
110
|
-
node,
|
|
111
|
-
column,
|
|
112
|
-
adaptableApi: this.getAdaptableApi(),
|
|
113
|
-
userName: this.getAdaptableApi().optionsApi.getUserName(),
|
|
114
|
-
adaptableId: this.getAdaptableApi().optionsApi.getAdaptableId(),
|
|
115
|
-
};
|
|
116
|
-
return this.adaptable.api.predicateApi.handlePredicate(columnFilter.Predicate, predicateDefHandlerContext, true);
|
|
106
|
+
const predicateDefHandlerContext = Object.assign({ value: value, oldValue: null, displayValue: gridCell.displayValue, node,
|
|
107
|
+
column }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
108
|
+
return this.getAdaptableApi().predicateApi.handlePredicate(columnFilter.Predicate, predicateDefHandlerContext, true);
|
|
117
109
|
}
|
|
118
110
|
/**
|
|
119
111
|
* Checks if the filter action should trigger Column Filtering
|
|
@@ -132,32 +124,32 @@ class ColumnFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
132
124
|
// filter -> suspend changes
|
|
133
125
|
var _a, _b;
|
|
134
126
|
const isNewAndActive = action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_ADD &&
|
|
135
|
-
this.
|
|
127
|
+
this.getAdaptableApi().columnFilterApi.isColumnFilterActive(action.columnFilter);
|
|
136
128
|
const isClearAndPreviousWasActive = action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR &&
|
|
137
|
-
this.
|
|
129
|
+
this.getAdaptableApi().columnFilterApi.isColumnFilterActive(action.columnFilter);
|
|
138
130
|
const isClearAllAtLeastOneActiveFilter = action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR_ALL &&
|
|
139
|
-
this.
|
|
131
|
+
this.getAdaptableApi().columnFilterApi
|
|
140
132
|
.getColumnFilters()
|
|
141
|
-
.some((columnFilter) => this.
|
|
133
|
+
.some((columnFilter) => this.getAdaptableApi().columnFilterApi.isColumnFilterActive(columnFilter));
|
|
142
134
|
let isEditTrigger = false;
|
|
143
135
|
if (action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_EDIT) {
|
|
144
136
|
const newFilter = action.columnFilter;
|
|
145
|
-
const previous = this.
|
|
137
|
+
const previous = this.getAdaptableApi().columnFilterApi.getColumnFilterForColumn(newFilter.ColumnId);
|
|
146
138
|
// same filter edit, so always trigger
|
|
147
139
|
if (((_a = previous === null || previous === void 0 ? void 0 : previous.Predicate) === null || _a === void 0 ? void 0 : _a.PredicateId) === ((_b = newFilter === null || newFilter === void 0 ? void 0 : newFilter.Predicate) === null || _b === void 0 ? void 0 : _b.PredicateId)) {
|
|
148
140
|
isEditTrigger = true;
|
|
149
141
|
// new filter is active
|
|
150
142
|
}
|
|
151
|
-
else if (this.
|
|
143
|
+
else if (this.getAdaptableApi().columnFilterApi.isColumnFilterActive(newFilter)) {
|
|
152
144
|
isEditTrigger = true;
|
|
153
145
|
}
|
|
154
|
-
else if (this.
|
|
146
|
+
else if (this.getAdaptableApi().columnFilterApi.isColumnFilterActive(previous)) {
|
|
155
147
|
// previous filter was active
|
|
156
148
|
isEditTrigger = true;
|
|
157
149
|
}
|
|
158
150
|
}
|
|
159
151
|
const isSetAndActive = action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_SET &&
|
|
160
|
-
this.
|
|
152
|
+
this.getAdaptableApi().columnFilterApi.isColumnFilterActive(action.columnFilter);
|
|
161
153
|
const isSuspendChanged = [
|
|
162
154
|
LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND,
|
|
163
155
|
LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND_ALL,
|
|
@@ -177,25 +169,15 @@ class ColumnFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
177
169
|
fireColumnFilterAppliedEvent() {
|
|
178
170
|
if (this.adaptable.isReady) {
|
|
179
171
|
const adaptableApi = this.getAdaptableApi();
|
|
180
|
-
const columnFilterAppliedInfo = {
|
|
181
|
-
|
|
182
|
-
adaptableApi: adaptableApi,
|
|
183
|
-
userName: adaptableApi.optionsApi.getUserName(),
|
|
184
|
-
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
185
|
-
};
|
|
186
|
-
this.adaptable.api.eventApi.emit('ColumnFilterApplied', columnFilterAppliedInfo);
|
|
172
|
+
const columnFilterAppliedInfo = Object.assign({ columnFilters: this.getColumnFilterApi().getColumnFilters() }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
173
|
+
this.getAdaptableApi().eventApi.emit('ColumnFilterApplied', columnFilterAppliedInfo);
|
|
187
174
|
}
|
|
188
175
|
}
|
|
189
176
|
fireGridFilterAppliedEvent() {
|
|
190
177
|
if (this.adaptable.isReady) {
|
|
191
178
|
const adaptableApi = this.getAdaptableApi();
|
|
192
|
-
const gridFilterAppliedInfo = {
|
|
193
|
-
|
|
194
|
-
adaptableApi: adaptableApi,
|
|
195
|
-
userName: adaptableApi.optionsApi.getUserName(),
|
|
196
|
-
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
197
|
-
};
|
|
198
|
-
this.adaptable.api.eventApi.emit('GridFilterApplied', gridFilterAppliedInfo);
|
|
179
|
+
const gridFilterAppliedInfo = Object.assign({ columnFilters: this.getColumnFilterApi().getColumnFilters() }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
180
|
+
this.getAdaptableApi().eventApi.emit('GridFilterApplied', gridFilterAppliedInfo);
|
|
199
181
|
}
|
|
200
182
|
}
|
|
201
183
|
/**
|
|
@@ -6,7 +6,7 @@ class CustomSortInternalApi extends ApiBase_1.ApiBase {
|
|
|
6
6
|
getCustomSortComparer(columnId) {
|
|
7
7
|
var _a;
|
|
8
8
|
const column = this.getColumnApi().getColumnWithColumnId(columnId);
|
|
9
|
-
return (_a = this.getCustomSortOptions().customSortComparers) === null || _a === void 0 ? void 0 : _a.find((csc) => this.
|
|
9
|
+
return (_a = this.getCustomSortOptions().customSortComparers) === null || _a === void 0 ? void 0 : _a.find((csc) => this.getAdaptableApi().scopeApi.isColumnInScope(column, csc.scope));
|
|
10
10
|
}
|
|
11
11
|
getDefaultCustomSortComparer(columnId, columnValues) {
|
|
12
12
|
// have to return a function that may not have access to this
|
|
@@ -30,18 +30,12 @@ class DashboardInternalApi extends ApiBase_1.ApiBase {
|
|
|
30
30
|
}
|
|
31
31
|
return visibleInOldState && !visibleInNewState;
|
|
32
32
|
};
|
|
33
|
-
const dashboardChangedInfo = {
|
|
34
|
-
adaptableApi: this.adaptable.api,
|
|
35
|
-
actionName: trigger,
|
|
36
|
-
oldDashboardState,
|
|
33
|
+
const dashboardChangedInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { actionName: trigger, oldDashboardState,
|
|
37
34
|
newDashboardState,
|
|
38
35
|
isToolbarStateChangedToVisible,
|
|
39
|
-
isToolbarStateChangedToHidden
|
|
40
|
-
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
41
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
42
|
-
};
|
|
36
|
+
isToolbarStateChangedToHidden });
|
|
43
37
|
if (!(0, isEqual_1.default)(oldDashboardState, newDashboardState)) {
|
|
44
|
-
setTimeout(() => this.
|
|
38
|
+
setTimeout(() => this.getAdaptableApi().eventApi.emit('DashboardChanged', dashboardChangedInfo));
|
|
45
39
|
}
|
|
46
40
|
}
|
|
47
41
|
isToolbarInActiveTab(toolbarName, dashboardState) {
|
|
@@ -61,7 +55,7 @@ class DashboardInternalApi extends ApiBase_1.ApiBase {
|
|
|
61
55
|
return false;
|
|
62
56
|
}
|
|
63
57
|
isToolbarCustom(toolbarName) {
|
|
64
|
-
return this.
|
|
58
|
+
return this.getAdaptableApi().dashboardApi
|
|
65
59
|
.getCustomToolbars()
|
|
66
60
|
.some((tb) => tb.name === toolbarName);
|
|
67
61
|
}
|
|
@@ -56,16 +56,10 @@ class DataImportInternalApi extends ApiBase_1.ApiBase {
|
|
|
56
56
|
* @param gridDataRows Rows that were imported
|
|
57
57
|
*/
|
|
58
58
|
publishDataImportedEvent(importData, addedRows, updatedRows) {
|
|
59
|
-
const
|
|
60
|
-
const dataImportedInfo = {
|
|
61
|
-
adaptableApi: adaptableApi,
|
|
62
|
-
importData,
|
|
59
|
+
const dataImportedInfo = Object.assign({ importData,
|
|
63
60
|
addedRows,
|
|
64
|
-
updatedRows,
|
|
65
|
-
|
|
66
|
-
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
67
|
-
};
|
|
68
|
-
this.adaptable.api.internalApi.dispatchReduxAction(SystemRedux.DataImportCompleted(dataImportedInfo));
|
|
61
|
+
updatedRows }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
62
|
+
this.getAdaptableApi().internalApi.dispatchReduxAction(SystemRedux.DataImportCompleted(dataImportedInfo));
|
|
69
63
|
this.getEventApi().emit('DataImported', dataImportedInfo);
|
|
70
64
|
}
|
|
71
65
|
}
|
|
@@ -9,13 +9,8 @@ class DataSetInternalApi extends ApiBase_1.ApiBase {
|
|
|
9
9
|
*/
|
|
10
10
|
fireDataSetSelectedEvent(dataSet) {
|
|
11
11
|
if (this.adaptable.isReady) {
|
|
12
|
-
const dataSetSelectedInfo = {
|
|
13
|
-
|
|
14
|
-
dataSet,
|
|
15
|
-
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
16
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
17
|
-
};
|
|
18
|
-
this.adaptable.api.eventApi.emit('DataSetSelected', dataSetSelectedInfo);
|
|
12
|
+
const dataSetSelectedInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { dataSet });
|
|
13
|
+
this.getAdaptableApi().eventApi.emit('DataSetSelected', dataSetSelectedInfo);
|
|
19
14
|
}
|
|
20
15
|
}
|
|
21
16
|
}
|
|
@@ -24,12 +24,12 @@ class ExportInternalApi extends ApiBase_1.ApiBase {
|
|
|
24
24
|
break;
|
|
25
25
|
case 'ScopeColumns':
|
|
26
26
|
// use the Scope object which will tell us if the Column is relevant
|
|
27
|
-
if (!this.
|
|
27
|
+
if (!this.getAdaptableApi().scopeApi.isColumnInScopeColumns(cellDataChangedInfo.column, report.Scope)) {
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
break;
|
|
31
31
|
case 'SelectedColumns':
|
|
32
|
-
let selectedCellInfo = this.
|
|
32
|
+
let selectedCellInfo = this.getAdaptableApi().gridApi.getSelectedCellInfo();
|
|
33
33
|
if (selectedCellInfo) {
|
|
34
34
|
if (selectedCellInfo.columns.find((c) => c.columnId == cellDataChangedInfo.column.columnId) == null) {
|
|
35
35
|
return false;
|
|
@@ -50,7 +50,7 @@ class ExportInternalApi extends ApiBase_1.ApiBase {
|
|
|
50
50
|
case 'ExpressionRows':
|
|
51
51
|
return true; // TODO this is the only difficult one - do we check AdapTableQL? if we can then that is good as we can then do a delta after all...
|
|
52
52
|
case 'SelectedCellRows':
|
|
53
|
-
let selectedCellInfo = this.
|
|
53
|
+
let selectedCellInfo = this.getAdaptableApi().gridApi.getSelectedCellInfo();
|
|
54
54
|
if (selectedCellInfo && selectedCellInfo.gridCells) {
|
|
55
55
|
if (selectedCellInfo.gridCells.find((gc) => gc.primaryKeyValue == cellDataChangedInfo.primaryKeyValue)) {
|
|
56
56
|
return true;
|
|
@@ -58,7 +58,7 @@ class ExportInternalApi extends ApiBase_1.ApiBase {
|
|
|
58
58
|
}
|
|
59
59
|
return false;
|
|
60
60
|
case 'SelectedRows':
|
|
61
|
-
let selectedRowInfo = this.
|
|
61
|
+
let selectedRowInfo = this.getAdaptableApi().gridApi.getSelectedRowInfo();
|
|
62
62
|
if (selectedRowInfo && selectedRowInfo.gridRows) {
|
|
63
63
|
if (selectedRowInfo.gridRows.find((gr) => gr.primaryKeyValue == cellDataChangedInfo.primaryKeyValue)) {
|
|
64
64
|
return true;
|
|
@@ -18,12 +18,7 @@ class ExpressionInternalApi extends ApiBase_1.ApiBase {
|
|
|
18
18
|
if (typeof evaluateExpressionExternallyFn !== 'function') {
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
|
-
const context = {
|
|
22
|
-
adaptableApi: this.getAdaptableApi(),
|
|
23
|
-
userName: this.getOptions().userName,
|
|
24
|
-
adaptableId: this.getOptions().adaptableId,
|
|
25
|
-
module,
|
|
26
|
-
};
|
|
21
|
+
const context = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { module });
|
|
27
22
|
if (object) {
|
|
28
23
|
context.object = object;
|
|
29
24
|
}
|
|
@@ -41,12 +36,7 @@ class ExpressionInternalApi extends ApiBase_1.ApiBase {
|
|
|
41
36
|
if (typeof evaluateExpressionExternallyFn !== 'function') {
|
|
42
37
|
return true;
|
|
43
38
|
}
|
|
44
|
-
const context = {
|
|
45
|
-
adaptableApi: this.getAdaptableApi(),
|
|
46
|
-
userName: this.getAdaptableApi().optionsApi.getUserName(),
|
|
47
|
-
adaptableId: this.getAdaptableApi().optionsApi.getAdaptableId(),
|
|
48
|
-
module,
|
|
49
|
-
};
|
|
39
|
+
const context = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { module });
|
|
50
40
|
if (object) {
|
|
51
41
|
context.object = object;
|
|
52
42
|
}
|
|
@@ -268,16 +268,7 @@ class Fdc3InternalApi extends ApiBase_1.ApiBase {
|
|
|
268
268
|
}
|
|
269
269
|
mapFdc3ButtonConfigToAdaptableButton(fdc3AdaptableButton, fdcInfo) {
|
|
270
270
|
const buildFdc3Context = (context) => {
|
|
271
|
-
return {
|
|
272
|
-
context: this.mapRowToContextData(fdcInfo.contextType, context.rowNode),
|
|
273
|
-
intent: fdcInfo.action === 'raiseIntent' ? fdcInfo.intent : null,
|
|
274
|
-
rowNode: context.rowNode,
|
|
275
|
-
rowData: context.data,
|
|
276
|
-
adaptableId: context.adaptableId,
|
|
277
|
-
primaryKeyValue: context.primaryKeyValue,
|
|
278
|
-
userName: context.userName,
|
|
279
|
-
adaptableApi: context.adaptableApi,
|
|
280
|
-
};
|
|
271
|
+
return Object.assign({ context: this.mapRowToContextData(fdcInfo.contextType, context.rowNode), intent: fdcInfo.action === 'raiseIntent' ? fdcInfo.intent : null, rowNode: context.rowNode, rowData: context.data, primaryKeyValue: context.primaryKeyValue }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
281
272
|
};
|
|
282
273
|
return {
|
|
283
274
|
onClick: (_button, context) => {
|
|
@@ -63,7 +63,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
63
63
|
return this.getFormatColumnsWithStyleForColumn(column, config).filter((formatColumn) => { var _a; return StringExtensions_1.default.IsNotNullOrEmpty((_a = formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.Style) === null || _a === void 0 ? void 0 : _a.ClassName); });
|
|
64
64
|
}
|
|
65
65
|
getFormatColumnWithColumnInScope(formatColumns, column) {
|
|
66
|
-
return this.getFormatColumnInColumnScope(formatColumns).filter((scopedFormatColumn) => this.
|
|
66
|
+
return this.getFormatColumnInColumnScope(formatColumns).filter((scopedFormatColumn) => this.getAdaptableApi().scopeApi.isColumnInScope(column, scopedFormatColumn.Scope));
|
|
67
67
|
}
|
|
68
68
|
// TODO is this really needed, I don't think it achieves anything
|
|
69
69
|
getFormatColumnInColumnScope(formatColumns) {
|
|
@@ -71,11 +71,11 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
71
71
|
return formatColumns.filter((fc) => {
|
|
72
72
|
return (
|
|
73
73
|
// this.getFormatColumnsWithColumnScope(formatColumns)
|
|
74
|
-
(this.
|
|
74
|
+
(this.getAdaptableApi().scopeApi.scopeHasColumns(fc.Scope) ||
|
|
75
75
|
// this.getFormatColumnsWithDataTypeScope(formatColumns)
|
|
76
|
-
this.
|
|
76
|
+
this.getAdaptableApi().scopeApi.scopeHasDataType(fc.Scope) ||
|
|
77
77
|
// this.getFormatColumnsWithAllScope(formatColumns)
|
|
78
|
-
this.
|
|
78
|
+
this.getAdaptableApi().scopeApi.scopeIsAll(fc.Scope) || this.getAdaptableApi().scopeApi.scopeHasColumnType(fc.Scope))
|
|
79
79
|
);
|
|
80
80
|
});
|
|
81
81
|
}
|
|
@@ -148,7 +148,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
148
148
|
getFormatColumnDefsForScope(scope) {
|
|
149
149
|
return this.getAdaptableApi()
|
|
150
150
|
.predicateApi.internalApi.getFormatColumnPredicateDefs(scope)
|
|
151
|
-
.filter((predicateDef) => this.
|
|
151
|
+
.filter((predicateDef) => this.getAdaptableApi().scopeApi.isScopeInScope(scope, predicateDef.columnScope));
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
154
|
* Checks if format column is relevant for a given cell (intersection of given AdaptableColumn and RowNode)
|
|
@@ -164,7 +164,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
164
164
|
return false;
|
|
165
165
|
}
|
|
166
166
|
if (!formatColumn.IncludeGroupedRows &&
|
|
167
|
-
this.
|
|
167
|
+
this.getAdaptableApi().gridApi.isGroupRowNode(params.node)) {
|
|
168
168
|
return false;
|
|
169
169
|
}
|
|
170
170
|
if (!formatColumn.Rule) {
|
|
@@ -172,16 +172,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
172
172
|
}
|
|
173
173
|
// first run the predicate
|
|
174
174
|
if (formatColumn.Rule.Predicates && ((_b = (_a = formatColumn.Rule) === null || _a === void 0 ? void 0 : _a.Predicates) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
175
|
-
const predicateDefHandlerContext = {
|
|
176
|
-
value: params.value,
|
|
177
|
-
oldValue: null,
|
|
178
|
-
displayValue: params.value,
|
|
179
|
-
node: params.node,
|
|
180
|
-
column: column,
|
|
181
|
-
adaptableApi: this.getAdaptableApi(),
|
|
182
|
-
userName: this.getAdaptableApi().optionsApi.getUserName(),
|
|
183
|
-
adaptableId: this.getAdaptableApi().optionsApi.getAdaptableId(),
|
|
184
|
-
};
|
|
175
|
+
const predicateDefHandlerContext = Object.assign({ value: params.value, oldValue: null, displayValue: params.value, node: params.node, column: column }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
185
176
|
return this.evaluatePredicate(formatColumn, predicateDefHandlerContext);
|
|
186
177
|
}
|
|
187
178
|
else if (formatColumn.Rule.BooleanExpression) {
|
|
@@ -192,12 +183,12 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
192
183
|
}
|
|
193
184
|
evaluatePredicate(formatColumn, predicateDefHandlerContext) {
|
|
194
185
|
var _a;
|
|
195
|
-
return this.
|
|
186
|
+
return this.getAdaptableApi().predicateApi.handleColumnPredicates((_a = formatColumn.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, predicateDefHandlerContext, false);
|
|
196
187
|
}
|
|
197
188
|
evaluateExpression(formatColumn, node) {
|
|
198
|
-
const isValidExpression = this.
|
|
189
|
+
const isValidExpression = this.getAdaptableApi().expressionApi.isValidBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, `Invalid format column rule '${formatColumn.Rule.BooleanExpression}'`);
|
|
199
190
|
return (isValidExpression &&
|
|
200
|
-
this.
|
|
191
|
+
this.getAdaptableApi().internalApi
|
|
201
192
|
.getQueryLanguageService()
|
|
202
193
|
.evaluateBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, node));
|
|
203
194
|
}
|
|
@@ -248,7 +239,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
248
239
|
});
|
|
249
240
|
const columnsThatNeedRefresh = new Set();
|
|
250
241
|
this.getFormatColumnsDependentOnColumns(impactedColumnIds).forEach((formatColumn) => {
|
|
251
|
-
this.
|
|
242
|
+
this.getAdaptableApi().scopeApi.getColumnsForScope(formatColumn.Scope).forEach((col) => {
|
|
252
243
|
columnsThatNeedRefresh.add(col.columnId);
|
|
253
244
|
});
|
|
254
245
|
});
|
|
@@ -24,7 +24,7 @@ class FreeTextColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
24
24
|
};
|
|
25
25
|
this.getFreeTextColumnApi().setStoredValue(freeTextColumn.ColumnId, freeTextStoredValue);
|
|
26
26
|
var colsToRefresh = [cellDataChangedInfo.column.columnId];
|
|
27
|
-
const refencedCalcColumns = this.
|
|
27
|
+
const refencedCalcColumns = this.getAdaptableApi().calculatedColumnApi.internalApi.getCalculatedColumnsReferencingColumnId(cellDataChangedInfo.column.columnId);
|
|
28
28
|
refencedCalcColumns.forEach((calculatedColumn) => {
|
|
29
29
|
colsToRefresh.push(calculatedColumn.ColumnId);
|
|
30
30
|
});
|
|
@@ -7,15 +7,9 @@ class GridFilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
7
7
|
if (this.adaptable.isReady) {
|
|
8
8
|
const currentGridFilter = this.getGridFilterApi().getCurrentGridFilter();
|
|
9
9
|
const adaptableApi = this.getAdaptableApi();
|
|
10
|
-
const gridFilterAppliedInfo = {
|
|
11
|
-
gridFilter: currentGridFilter,
|
|
12
|
-
gridFilterExpressionAST: currentGridFilter
|
|
10
|
+
const gridFilterAppliedInfo = Object.assign({ gridFilter: currentGridFilter, gridFilterExpressionAST: currentGridFilter
|
|
13
11
|
? adaptableApi.expressionApi.getASTForExpression(currentGridFilter === null || currentGridFilter === void 0 ? void 0 : currentGridFilter.Expression)
|
|
14
|
-
: null,
|
|
15
|
-
adaptableApi: adaptableApi,
|
|
16
|
-
userName: adaptableApi.optionsApi.getUserName(),
|
|
17
|
-
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
18
|
-
};
|
|
12
|
+
: null }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
19
13
|
adaptableApi.eventApi.emit('GridFilterApplied', gridFilterAppliedInfo);
|
|
20
14
|
}
|
|
21
15
|
}
|
|
@@ -16,14 +16,9 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
16
16
|
*/
|
|
17
17
|
fireGridSortedEvent() {
|
|
18
18
|
if (this.adaptable.isReady) {
|
|
19
|
-
const adaptableSortState = this.
|
|
19
|
+
const adaptableSortState = this.getAdaptableApi().configApi.getAdaptableSortState();
|
|
20
20
|
const adaptableApi = this.getAdaptableApi();
|
|
21
|
-
const gridSortedInfo = {
|
|
22
|
-
adaptableSortState: adaptableSortState,
|
|
23
|
-
adaptableApi: adaptableApi,
|
|
24
|
-
userName: adaptableApi.optionsApi.getUserName(),
|
|
25
|
-
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
26
|
-
};
|
|
21
|
+
const gridSortedInfo = Object.assign({ adaptableSortState: adaptableSortState }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
27
22
|
adaptableApi.eventApi.emit('GridSorted', gridSortedInfo);
|
|
28
23
|
}
|
|
29
24
|
}
|
|
@@ -32,13 +27,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
32
27
|
*/
|
|
33
28
|
fireCellChangedEvent(cellDataChangedInfo) {
|
|
34
29
|
if (this.adaptable.isReady) {
|
|
35
|
-
const cellChangedInfo = {
|
|
36
|
-
|
|
37
|
-
cellChange: cellDataChangedInfo,
|
|
38
|
-
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
39
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
40
|
-
};
|
|
41
|
-
this.adaptable.api.eventApi.emit('CellChanged', cellChangedInfo);
|
|
30
|
+
const cellChangedInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { cellChange: cellDataChangedInfo });
|
|
31
|
+
this.getAdaptableApi().eventApi.emit('CellChanged', cellChangedInfo);
|
|
42
32
|
}
|
|
43
33
|
}
|
|
44
34
|
/**
|
|
@@ -46,16 +36,10 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
46
36
|
*/
|
|
47
37
|
fireGridDataChangedEvent(dataRows, rowNodes, rowTrigger) {
|
|
48
38
|
if (this.adaptable.isReady) {
|
|
49
|
-
const gridDataChangedInfo = {
|
|
50
|
-
changedAt: Date.now(),
|
|
51
|
-
adaptableApi: this.adaptable.api,
|
|
52
|
-
rowTrigger,
|
|
39
|
+
const gridDataChangedInfo = Object.assign({ changedAt: Date.now(), rowTrigger,
|
|
53
40
|
dataRows,
|
|
54
|
-
rowNodes,
|
|
55
|
-
|
|
56
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
57
|
-
};
|
|
58
|
-
this.adaptable.api.eventApi.emit('GridDataChanged', gridDataChangedInfo);
|
|
41
|
+
rowNodes }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
42
|
+
this.getAdaptableApi().eventApi.emit('GridDataChanged', gridDataChangedInfo);
|
|
59
43
|
this.adaptable.DataService.CreateGridChangedEvent(gridDataChangedInfo);
|
|
60
44
|
}
|
|
61
45
|
}
|
|
@@ -100,12 +84,7 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
100
84
|
let shouldShowValuesCount = false;
|
|
101
85
|
const showValuesCountFunction = this.getColumnFilterOptions().valuesFilterOptions.showValuesCount;
|
|
102
86
|
if (showValuesCountFunction) {
|
|
103
|
-
const columnFilterContext = {
|
|
104
|
-
column: abColumn,
|
|
105
|
-
adaptableApi: this.adaptable.api,
|
|
106
|
-
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
107
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
108
|
-
};
|
|
87
|
+
const columnFilterContext = Object.assign({ column: abColumn }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
109
88
|
shouldShowValuesCount = showValuesCountFunction(columnFilterContext);
|
|
110
89
|
}
|
|
111
90
|
if (shouldShowValuesCount) {
|
|
@@ -143,7 +122,7 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
143
122
|
};
|
|
144
123
|
let preparedPermittedValues = undefined;
|
|
145
124
|
try {
|
|
146
|
-
const filterPermittedValuesParams = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.
|
|
125
|
+
const filterPermittedValuesParams = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())), { column: column, searchFilter: filter });
|
|
147
126
|
preparedPermittedValues = await (filterPermittedValues === null || filterPermittedValues === void 0 ? void 0 : filterPermittedValues.values(filterPermittedValuesParams));
|
|
148
127
|
}
|
|
149
128
|
catch (error) {
|
|
@@ -176,7 +155,7 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
176
155
|
const customSortPermittedValues = await this.getUserInterfaceApi().getCustomSortPermittedValuesForColumn(column);
|
|
177
156
|
let preparedPermittedValues = undefined;
|
|
178
157
|
try {
|
|
179
|
-
const permittedValuesParams = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.
|
|
158
|
+
const permittedValuesParams = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())), { column: column });
|
|
180
159
|
preparedPermittedValues = await (customSortPermittedValues === null || customSortPermittedValues === void 0 ? void 0 : customSortPermittedValues.values(permittedValuesParams));
|
|
181
160
|
}
|
|
182
161
|
catch (error) {
|
|
@@ -207,7 +186,7 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
207
186
|
const bulkUpdatePermittedValues = await this.getUserInterfaceApi().getBulkUpdatePermittedValuesForColumn(column);
|
|
208
187
|
let preparedPermittedValues = undefined;
|
|
209
188
|
try {
|
|
210
|
-
const bulkUpdatePermittedValuesParams = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.
|
|
189
|
+
const bulkUpdatePermittedValuesParams = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.getAdaptableApi())), { column: column, gridCells: selectedGridCells });
|
|
211
190
|
preparedPermittedValues = await (bulkUpdatePermittedValues === null || bulkUpdatePermittedValues === void 0 ? void 0 : bulkUpdatePermittedValues.values(bulkUpdatePermittedValuesParams));
|
|
212
191
|
}
|
|
213
192
|
catch (error) {
|
|
@@ -284,7 +263,7 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
284
263
|
// this does NOT into account Custom Sort - far too hard for now...
|
|
285
264
|
let sortOrder = Enums_1.SortOrder.Asc;
|
|
286
265
|
if (this.getColumnFilterOptions().valuesFilterOptions.sortValuesFilter) {
|
|
287
|
-
let columnSort = this.
|
|
266
|
+
let columnSort = this.getAdaptableApi().gridApi.getColumnSortForColumn(column.columnId);
|
|
288
267
|
if (columnSort && columnSort.SortOrder == 'Desc') {
|
|
289
268
|
sortOrder = Enums_1.SortOrder.Desc;
|
|
290
269
|
}
|
|
@@ -319,13 +298,7 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
319
298
|
let editLookUpValues = editLookUpItem.values;
|
|
320
299
|
// first do the function then get hardcoded items
|
|
321
300
|
if (editLookUpValues != null && typeof editLookUpValues === 'function') {
|
|
322
|
-
const editLookUpContext = {
|
|
323
|
-
adaptableApi: this.adaptable.api,
|
|
324
|
-
userName: this.getOptions().userName,
|
|
325
|
-
adaptableId: this.getOptions().adaptableId,
|
|
326
|
-
column: column,
|
|
327
|
-
gridCell,
|
|
328
|
-
};
|
|
301
|
+
const editLookUpContext = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { column: column, gridCell });
|
|
329
302
|
return editLookUpValues(editLookUpContext);
|
|
330
303
|
}
|
|
331
304
|
else {
|