@adaptabletools/adaptable-cjs 18.0.0-canary.25 → 18.0.0-canary.27
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 +11 -23
- package/src/AdaptableOptions/MenuOptions.js +0 -98
- 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 +0 -7
- package/src/Api/Implementation/LayoutApiImpl.js +0 -15
- 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/CommentsInternalApi.d.ts +1 -1
- package/src/Api/Internal/CommentsInternalApi.js +1 -1
- 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/NoteInternalApi.d.ts +1 -1
- package/src/Api/Internal/NoteInternalApi.js +1 -1
- 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 +0 -11
- 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/Menu.d.ts +4 -4
- package/src/PredefinedConfig/Common/Menu.js +17 -18
- package/src/PredefinedConfig/Common/RowSummary.d.ts +1 -1
- package/src/PredefinedConfig/Common/RowSummary.js +4 -4
- package/src/Strategy/AdaptableModuleBase.d.ts +3 -4
- package/src/Strategy/AdaptableModuleBase.js +5 -9
- package/src/Strategy/AlertModule.d.ts +1 -1
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/BulkUpdateModule.js +3 -2
- package/src/Strategy/CalculatedColumnModule.d.ts +2 -2
- package/src/Strategy/CalculatedColumnModule.js +2 -2
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/CellSummaryModule.js +56 -96
- package/src/Strategy/ColumnFilterModule.d.ts +2 -2
- package/src/Strategy/ColumnFilterModule.js +17 -42
- package/src/Strategy/ColumnInfoModule.d.ts +2 -2
- package/src/Strategy/ColumnInfoModule.js +2 -2
- package/src/Strategy/CommentModule.d.ts +1 -2
- package/src/Strategy/CommentModule.js +29 -30
- package/src/Strategy/CustomSortModule.d.ts +1 -1
- package/src/Strategy/CustomSortModule.js +1 -1
- package/src/Strategy/DashboardModule.d.ts +2 -2
- package/src/Strategy/DashboardModule.js +3 -14
- package/src/Strategy/DataImportModule.d.ts +3 -3
- package/src/Strategy/DataImportModule.js +3 -3
- package/src/Strategy/ExportModule.d.ts +1 -2
- package/src/Strategy/ExportModule.js +12 -41
- package/src/Strategy/Fdc3Module.d.ts +1 -1
- package/src/Strategy/Fdc3Module.js +1 -14
- package/src/Strategy/FlashingCellModule.d.ts +2 -2
- package/src/Strategy/FlashingCellModule.js +2 -2
- package/src/Strategy/FormatColumnModule.d.ts +1 -1
- package/src/Strategy/FormatColumnModule.js +28 -47
- package/src/Strategy/FreeTextColumnModule.d.ts +1 -1
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/GridInfoModule.js +2 -2
- package/src/Strategy/Interface/IModule.d.ts +3 -3
- package/src/Strategy/LayoutModule.d.ts +4 -4
- package/src/Strategy/LayoutModule.js +51 -72
- package/src/Strategy/NoteModule.d.ts +1 -2
- package/src/Strategy/NoteModule.js +28 -30
- package/src/Strategy/PlusMinusModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.js +1 -1
- package/src/Strategy/SettingsPanelModule.d.ts +3 -3
- package/src/Strategy/SettingsPanelModule.js +3 -3
- package/src/Strategy/SmartEditModule.d.ts +1 -1
- package/src/Strategy/SmartEditModule.js +3 -2
- package/src/Strategy/StyledColumnModule.d.ts +1 -1
- package/src/Strategy/StyledColumnModule.js +10 -9
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/SystemStatusModule.js +4 -3
- 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/Utilities/Services/ModuleService.js +2 -2
- package/src/View/Layout/Wizard/LayoutWizard.js +1 -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 +1 -1
- package/src/agGrid/AgGridAdapter.d.ts +1 -2
- package/src/agGrid/AgGridColumnAdapter.js +2 -2
- package/src/agGrid/AgGridMenuAdapter.d.ts +18 -8
- package/src/agGrid/AgGridMenuAdapter.js +240 -51
- 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
|
@@ -32,7 +32,7 @@ class CalculatedColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
32
32
|
this.getCalculatedColumnApi()
|
|
33
33
|
.getCalculatedColumns()
|
|
34
34
|
.forEach((calculatedColumn) => {
|
|
35
|
-
if (this.getExpressionApi().internalApi.isColumnReferencedInExpression(columnId, this.
|
|
35
|
+
if (this.getExpressionApi().internalApi.isColumnReferencedInExpression(columnId, this.getAdaptableApi().expressionApi.getAdaptableQueryExpression(calculatedColumn.Query))) {
|
|
36
36
|
calcColumns.push(calculatedColumn);
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -43,7 +43,7 @@ class CalculatedColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
43
43
|
* @param calculatedColumn Calculated Column to check
|
|
44
44
|
*/
|
|
45
45
|
getReferencedColumnIdsForCalculatedColumn(calculatedColumn) {
|
|
46
|
-
const columnIds = this.
|
|
46
|
+
const columnIds = this.getAdaptableApi().expressionApi.getColumnsFromExpression(this.getAdaptableApi().expressionApi.getAdaptableQueryExpression(calculatedColumn.Query));
|
|
47
47
|
return columnIds;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
@@ -51,15 +51,15 @@ class CalculatedColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
51
51
|
* @param calculatedColumnId CalculatedColumnId to check
|
|
52
52
|
*/
|
|
53
53
|
getReferencedColumnIdsForCalculatedColumnId(calculatedColumnId) {
|
|
54
|
-
const calculatedColumn = this.
|
|
55
|
-
.getCalculatedColumns()
|
|
54
|
+
const calculatedColumn = this.getAdaptableApi()
|
|
55
|
+
.calculatedColumnApi.getCalculatedColumns()
|
|
56
56
|
.find((cc) => cc.ColumnId == calculatedColumnId);
|
|
57
57
|
if (calculatedColumn) {
|
|
58
58
|
return this.getReferencedColumnIdsForCalculatedColumn(calculatedColumn);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
getCalculatedColumnsDependentOnColumn(column) {
|
|
62
|
-
const calculatedColumns = this.
|
|
62
|
+
const calculatedColumns = this.getAdaptableApi().calculatedColumnApi.getCalculatedColumns();
|
|
63
63
|
return calculatedColumns
|
|
64
64
|
.filter((calculatedColumn) => {
|
|
65
65
|
const dependentColumns = this.getReferencedColumnIdsForCalculatedColumnId(calculatedColumn.ColumnId);
|
|
@@ -85,15 +85,8 @@ class CalculatedColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
85
85
|
}
|
|
86
86
|
fireCalculatedColumnChangedEvent(trigger, calculatedColumn) {
|
|
87
87
|
const adaptableApi = this.getAdaptableApi();
|
|
88
|
-
const calculatedColumnChangedInfo = {
|
|
89
|
-
|
|
90
|
-
actionName: trigger,
|
|
91
|
-
calculatedColumn: calculatedColumn,
|
|
92
|
-
calculatedColumnExpressionAST: adaptableApi.expressionApi.getASTForExpression(this.getExpressionFromCalculatedColumn(calculatedColumn)),
|
|
93
|
-
userName: adaptableApi.optionsApi.getUserName(),
|
|
94
|
-
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
95
|
-
};
|
|
96
|
-
this.adaptable.api.eventApi.emit('CalculatedColumnChanged', calculatedColumnChangedInfo);
|
|
88
|
+
const calculatedColumnChangedInfo = Object.assign({ actionName: trigger, calculatedColumn: calculatedColumn, calculatedColumnExpressionAST: adaptableApi.expressionApi.getASTForExpression(this.getExpressionFromCalculatedColumn(calculatedColumn)) }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
89
|
+
this.getAdaptableApi().eventApi.emit('CalculatedColumnChanged', calculatedColumnChangedInfo);
|
|
97
90
|
}
|
|
98
91
|
getColDefsForCalculatedColumns() {
|
|
99
92
|
const defaultSpecialColumnSettings = this.getGridApi().internalApi.deriveSpecialColumnSettingsFromAgGridDefaultColDef();
|
|
@@ -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
|
/**
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CommentsInternalApi = void 0;
|
|
4
4
|
const ApiBase_1 = require("../Implementation/ApiBase");
|
|
5
5
|
class CommentsInternalApi extends ApiBase_1.ApiBase {
|
|
6
|
-
|
|
6
|
+
areCommentsSupported() {
|
|
7
7
|
var _a;
|
|
8
8
|
const currentLayout = this.getLayoutApi().getCurrentLayout();
|
|
9
9
|
if (currentLayout.EnablePivot) {
|
|
@@ -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
|
}
|