@adaptabletools/adaptable-cjs 18.0.0-canary.30 → 18.0.0-canary.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +3 -2
- package/src/AdaptableOptions/CustomSortOptions.d.ts +2 -2
- package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/PredicateOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
- package/src/Api/AdaptableApi.d.ts +2 -2
- package/src/Api/{ScopeApi.d.ts → ColumnScopeApi.d.ts} +28 -28
- package/src/Api/FlashingCellApi.d.ts +2 -2
- package/src/Api/GridApi.d.ts +5 -0
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
- package/src/Api/Implementation/AlertApiImpl.js +3 -3
- package/src/Api/Implementation/ApiBase.d.ts +2 -2
- package/src/Api/Implementation/ApiBase.js +2 -2
- package/src/Api/Implementation/ColumnFilterApiImpl.js +1 -1
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +33 -0
- package/src/Api/Implementation/{ScopeApiImpl.js → ColumnScopeApiImpl.js} +4 -4
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -2
- package/src/Api/Implementation/FlashingCellApiImpl.js +1 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +3 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -0
- package/src/Api/Implementation/GridApiImpl.js +5 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +3 -3
- package/src/Api/Internal/AdaptableInternalApi.js +1 -1
- package/src/Api/Internal/AlertInternalApi.d.ts +2 -2
- package/src/Api/Internal/AlertInternalApi.js +3 -3
- package/src/Api/Internal/CustomSortInternalApi.js +1 -1
- package/src/Api/Internal/ExportInternalApi.js +1 -1
- package/src/Api/Internal/ExpressionInternalApi.js +1 -1
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/FormatColumnInternalApi.js +24 -14
- package/src/Api/Internal/PredicateInternalApi.d.ts +6 -6
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/StyledColumnInternalApi.js +4 -5
- package/src/PredefinedConfig/AlertState.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -2
- package/src/PredefinedConfig/Common/{AdaptableScope.d.ts → ColumnScope.d.ts} +1 -1
- package/src/PredefinedConfig/Common/RowScope.d.ts +17 -0
- package/src/PredefinedConfig/Common/RowScope.js +2 -0
- package/src/PredefinedConfig/ExportState.d.ts +2 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +7 -8
- package/src/PredefinedConfig/PlusMinusState.d.ts +2 -2
- package/src/PredefinedConfig/ShortcutState.d.ts +2 -2
- package/src/PredefinedConfig/StyledColumnState.d.ts +5 -10
- package/src/Strategy/AlertModule.js +2 -2
- package/src/Strategy/ExportModule.js +2 -2
- package/src/Strategy/FlashingCellModule.js +4 -4
- package/src/Strategy/FormatColumnModule.js +2 -2
- package/src/Strategy/PlusMinusModule.js +3 -3
- package/src/Strategy/ShortcutModule.js +1 -1
- package/src/Strategy/StyledColumnModule.js +7 -5
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +4 -3
- package/src/Strategy/Utilities/getScopeViewItems.d.ts +2 -2
- package/src/Utilities/ObjectFactory.js +1 -1
- package/src/Utilities/Services/ReportService.js +2 -2
- package/src/Utilities/Services/ValidationService.js +2 -2
- package/src/View/Alert/AlertEntityRow.js +1 -1
- package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +2 -2
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
- package/src/View/ColumnInfo/ColumnInfo.js +1 -1
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts +3 -3
- package/src/View/Components/EntityRulesEditor/index.d.ts +3 -3
- package/src/View/Components/NewScopeComponent.d.ts +5 -5
- package/src/View/Components/NewScopeComponent.js +2 -2
- package/src/View/Components/RangesComponent.d.ts +2 -2
- package/src/View/Components/RangesComponent.js +1 -1
- package/src/View/Components/SharedProps/WizardScopeState.d.ts +2 -2
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +4 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +24 -13
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
- package/src/View/PlusMinus/PlusMinusSummary.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +32 -12
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +1 -1
- package/src/agGrid/ActionColumnRenderer.js +40 -4
- package/src/agGrid/AdaptableAgGrid.js +2 -3
- package/src/agGrid/AgGridColumnAdapter.js +11 -10
- package/src/agGrid/BadgeRenderer.d.ts +2 -2
- package/src/agGrid/BadgeRenderer.js +23 -16
- package/src/agGrid/PercentBarRenderer.js +0 -1
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +19 -26
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +3 -2
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/Api/Implementation/ScopeApiImpl.d.ts +0 -33
- /package/src/Api/{ScopeApi.js → ColumnScopeApi.js} +0 -0
- /package/src/PredefinedConfig/Common/{AdaptableScope.js → ColumnScope.js} +0 -0
|
@@ -213,7 +213,7 @@ class AlertInternalApi extends ApiBase_1.ApiBase {
|
|
|
213
213
|
getAlertPredicateDefsForScope(scope) {
|
|
214
214
|
return this.getPredicateApi()
|
|
215
215
|
.internalApi.getAlertPredicateDefs(scope)
|
|
216
|
-
.filter((predicateDef) => this.
|
|
216
|
+
.filter((predicateDef) => this.getColumnScopeApi().isScopeInScope(scope, predicateDef.columnScope));
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
219
|
* Returns a description of an Alert Definition
|
|
@@ -227,7 +227,7 @@ class AlertInternalApi extends ApiBase_1.ApiBase {
|
|
|
227
227
|
if (alertDefinition.MessageText != null) {
|
|
228
228
|
return alertDefinition.MessageText;
|
|
229
229
|
}
|
|
230
|
-
let scopeDescription = this.
|
|
230
|
+
let scopeDescription = this.getColumnScopeApi().getScopeDescription(alertDefinition.Scope);
|
|
231
231
|
let ruleDescription = this.getAlertRuleDescription(alertDefinition);
|
|
232
232
|
return scopeDescription + ' - ' + ruleDescription;
|
|
233
233
|
}
|
|
@@ -419,7 +419,7 @@ class AlertInternalApi extends ApiBase_1.ApiBase {
|
|
|
419
419
|
getAlertDefinitionsForCellDataChange(dataChangedEvent) {
|
|
420
420
|
const allActiveNonReactiveDefinitions = this.getActiveNonReactiveAlertDefinitions();
|
|
421
421
|
let relatedAlertDefinitions = allActiveNonReactiveDefinitions
|
|
422
|
-
.filter((v) => this.getAdaptableApi().
|
|
422
|
+
.filter((v) => this.getAdaptableApi().columnScopeApi.isColumnInScope(dataChangedEvent.column, v.Scope))
|
|
423
423
|
.filter((alertDefinition) => !(0, AdaptableQuery_1.isReactiveQuery)(alertDefinition.Rule));
|
|
424
424
|
let triggeredAlerts = [];
|
|
425
425
|
if (ArrayExtensions_1.default.IsNotNullOrEmpty(relatedAlertDefinitions)) {
|
|
@@ -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.getAdaptableApi().
|
|
9
|
+
return (_a = this.getCustomSortOptions().customSortComparers) === null || _a === void 0 ? void 0 : _a.find((csc) => this.getAdaptableApi().columnScopeApi.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
|
|
@@ -24,7 +24,7 @@ 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.getAdaptableApi().
|
|
27
|
+
if (!this.getAdaptableApi().columnScopeApi.isColumnInScopeColumns(cellDataChangedInfo.column, report.Scope)) {
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
break;
|
|
@@ -44,7 +44,7 @@ class ExpressionInternalApi extends ApiBase_1.ApiBase {
|
|
|
44
44
|
context.predicates = predicates;
|
|
45
45
|
// need to find a way to get the columns in the predicates
|
|
46
46
|
// cand do later
|
|
47
|
-
// this.getAdaptableApi().
|
|
47
|
+
// this.getAdaptableApi().columnScopeApi.getColumnsForScope();
|
|
48
48
|
}
|
|
49
49
|
return !evaluateExpressionExternallyFn(context);
|
|
50
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableColumn, AdaptableFormat, AdaptablePredicateDef,
|
|
1
|
+
import { AdaptableColumn, AdaptableFormat, AdaptablePredicateDef, ColumnScope, FormatColumn, StringFormatterOptions } from '../../types';
|
|
2
2
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
3
3
|
import { IRowNode } from '@ag-grid-community/core';
|
|
4
4
|
export declare class FormatColumnInternalApi extends ApiBase {
|
|
@@ -76,7 +76,7 @@ export declare class FormatColumnInternalApi extends ApiBase {
|
|
|
76
76
|
* Returns all Predicates appropriate for the given Scope
|
|
77
77
|
* @param scope Scope to check
|
|
78
78
|
*/
|
|
79
|
-
getFormatColumnDefsForScope(scope:
|
|
79
|
+
getFormatColumnDefsForScope(scope: ColumnScope): AdaptablePredicateDef[];
|
|
80
80
|
/**
|
|
81
81
|
* Checks if format column is relevant for a given cell (intersection of given AdaptableColumn and RowNode)
|
|
82
82
|
*
|
|
@@ -7,7 +7,6 @@ const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Exte
|
|
|
7
7
|
const FormatHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/FormatHelper"));
|
|
8
8
|
const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectFactory"));
|
|
9
9
|
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
10
|
-
const RowSummary_1 = require("../../PredefinedConfig/Common/RowSummary");
|
|
11
10
|
class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
12
11
|
/**
|
|
13
12
|
* Retrieves all Format Columns in Adaptable State with the `Style` property set
|
|
@@ -64,7 +63,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
64
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); });
|
|
65
64
|
}
|
|
66
65
|
getFormatColumnWithColumnInScope(formatColumns, column) {
|
|
67
|
-
return this.getFormatColumnInColumnScope(formatColumns).filter((scopedFormatColumn) => this.getAdaptableApi().
|
|
66
|
+
return this.getFormatColumnInColumnScope(formatColumns).filter((scopedFormatColumn) => this.getAdaptableApi().columnScopeApi.isColumnInScope(column, scopedFormatColumn.Scope));
|
|
68
67
|
}
|
|
69
68
|
// TODO is this really needed, I don't think it achieves anything
|
|
70
69
|
getFormatColumnInColumnScope(formatColumns) {
|
|
@@ -72,11 +71,11 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
72
71
|
return formatColumns.filter((fc) => {
|
|
73
72
|
return (
|
|
74
73
|
// this.getFormatColumnsWithColumnScope(formatColumns)
|
|
75
|
-
(this.getAdaptableApi().
|
|
74
|
+
(this.getAdaptableApi().columnScopeApi.scopeHasColumns(fc.Scope) ||
|
|
76
75
|
// this.getFormatColumnsWithDataTypeScope(formatColumns)
|
|
77
|
-
this.getAdaptableApi().
|
|
76
|
+
this.getAdaptableApi().columnScopeApi.scopeHasDataType(fc.Scope) ||
|
|
78
77
|
// this.getFormatColumnsWithAllScope(formatColumns)
|
|
79
|
-
this.getAdaptableApi().
|
|
78
|
+
this.getAdaptableApi().columnScopeApi.scopeIsAll(fc.Scope) || this.getAdaptableApi().columnScopeApi.scopeHasColumnType(fc.Scope))
|
|
80
79
|
);
|
|
81
80
|
});
|
|
82
81
|
}
|
|
@@ -149,7 +148,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
149
148
|
getFormatColumnDefsForScope(scope) {
|
|
150
149
|
return this.getAdaptableApi()
|
|
151
150
|
.predicateApi.internalApi.getFormatColumnPredicateDefs(scope)
|
|
152
|
-
.filter((predicateDef) => this.getAdaptableApi().
|
|
151
|
+
.filter((predicateDef) => this.getAdaptableApi().columnScopeApi.isScopeInScope(scope, predicateDef.columnScope));
|
|
153
152
|
}
|
|
154
153
|
/**
|
|
155
154
|
* Checks if format column is relevant for a given cell (intersection of given AdaptableColumn and RowNode)
|
|
@@ -159,23 +158,34 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
159
158
|
* @param params
|
|
160
159
|
*/
|
|
161
160
|
formatColumnShouldRender(formatColumn, column, rowNode, cellValue) {
|
|
162
|
-
var _a, _b, _c;
|
|
161
|
+
var _a, _b, _c, _d, _e;
|
|
163
162
|
// suspended is important to be first
|
|
164
163
|
if (formatColumn.IsSuspended) {
|
|
165
164
|
return false;
|
|
166
165
|
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
const isSummaryNode = this.getAdaptableApi().gridApi.isSummaryNode(rowNode);
|
|
167
|
+
const isGroupedRowNode = this.getAdaptableApi().gridApi.isGroupRowNode(rowNode);
|
|
168
|
+
// For Summary Rows cannot be excluded
|
|
169
|
+
if (isSummaryNode) {
|
|
170
|
+
if ((_a = formatColumn.RowScope) === null || _a === void 0 ? void 0 : _a.ExcludeSummaryRows) {
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
170
173
|
}
|
|
171
|
-
if (
|
|
172
|
-
|
|
174
|
+
else if (isGroupedRowNode) {
|
|
175
|
+
if ((_b = formatColumn.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupedRows) {
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
if ((_c = formatColumn.RowScope) === null || _c === void 0 ? void 0 : _c.ExcludeDataRows) {
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
173
183
|
}
|
|
174
184
|
if (!formatColumn.Rule) {
|
|
175
185
|
return true;
|
|
176
186
|
}
|
|
177
187
|
// first run the predicate
|
|
178
|
-
if (formatColumn.Rule.Predicates && ((
|
|
188
|
+
if (formatColumn.Rule.Predicates && ((_e = (_d = formatColumn.Rule) === null || _d === void 0 ? void 0 : _d.Predicates) === null || _e === void 0 ? void 0 : _e.length)) {
|
|
179
189
|
const predicateDefHandlerContext = Object.assign({ value: cellValue, oldValue: null, displayValue: cellValue, node: rowNode, column: column }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
180
190
|
return this.evaluatePredicate(formatColumn, predicateDefHandlerContext);
|
|
181
191
|
} // then run the Expression
|
|
@@ -244,7 +254,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
244
254
|
const columnsThatNeedRefresh = new Set();
|
|
245
255
|
this.getFormatColumnsDependentOnColumns(impactedColumnIds).forEach((formatColumn) => {
|
|
246
256
|
this.getAdaptableApi()
|
|
247
|
-
.
|
|
257
|
+
.columnScopeApi.getColumnsForScope(formatColumn.Scope)
|
|
248
258
|
.forEach((col) => {
|
|
249
259
|
columnsThatNeedRefresh.add(col.columnId);
|
|
250
260
|
});
|
|
@@ -2,7 +2,7 @@ import { ApiBase } from '../Implementation/ApiBase';
|
|
|
2
2
|
import { AdaptablePredicate, AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
|
|
3
3
|
import { SystemFilterPredicateId } from '../../PredefinedConfig/Common/ColumnFilter';
|
|
4
4
|
import { AdaptableColumnDataType } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
5
|
-
import {
|
|
5
|
+
import { ColumnScope } from '../../types';
|
|
6
6
|
export declare class PredicateInternalApi extends ApiBase {
|
|
7
7
|
/**
|
|
8
8
|
* Returns true if the predicate has a dropdown.
|
|
@@ -13,23 +13,23 @@ export declare class PredicateInternalApi extends ApiBase {
|
|
|
13
13
|
/**
|
|
14
14
|
* Get all Filter Predicate Definitions - System and Custom
|
|
15
15
|
*/
|
|
16
|
-
getFilterPredicateDefs(scope:
|
|
16
|
+
getFilterPredicateDefs(scope: ColumnScope): AdaptablePredicateDef[];
|
|
17
17
|
private getSystemFilterPredicateIds;
|
|
18
18
|
/**
|
|
19
19
|
* Get all Alert Predicate Definitions - System and Custom
|
|
20
20
|
*/
|
|
21
|
-
getAlertPredicateDefs(scope:
|
|
21
|
+
getAlertPredicateDefs(scope: ColumnScope): AdaptablePredicateDef[];
|
|
22
22
|
private getSystemAlertPredicateIds;
|
|
23
23
|
private getSystemBadgeStylePredicateIds;
|
|
24
24
|
/**
|
|
25
25
|
* Get all Format Column Predicate Definitions - System and Custom
|
|
26
26
|
*/
|
|
27
|
-
getFormatColumnPredicateDefs(scope:
|
|
27
|
+
getFormatColumnPredicateDefs(scope: ColumnScope): AdaptablePredicateDef[];
|
|
28
28
|
private getSystemFormatColumnPredicateIds;
|
|
29
29
|
/**
|
|
30
30
|
* Get all Flashing Cell Predicate Definitions - System and Custom
|
|
31
31
|
*/
|
|
32
|
-
getFlashingCellPredicateDefs(scope:
|
|
32
|
+
getFlashingCellPredicateDefs(scope: ColumnScope): AdaptablePredicateDef[];
|
|
33
33
|
private getSystemFlashingCellPredicateIds;
|
|
34
34
|
/**
|
|
35
35
|
* Gets the correct Equality-type System Predicate for a particular DataType
|
|
@@ -39,7 +39,7 @@ export declare class PredicateInternalApi extends ApiBase {
|
|
|
39
39
|
/**
|
|
40
40
|
* Get all Badge Style Predicate Definitions - System and Custom
|
|
41
41
|
*/
|
|
42
|
-
getBadgeStylePredicateDefs(scope:
|
|
42
|
+
getBadgeStylePredicateDefs(scope: ColumnScope): AdaptablePredicateDef[];
|
|
43
43
|
/**
|
|
44
44
|
* Merges System and Custom Predicate Definitions but ensures that Custom ones take precedence
|
|
45
45
|
* (i.e. if there is a Custom Predicate with the same Id as a System one, the Custom one is used)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
2
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
3
|
-
import { BadgeStyleDefinition, CellColorRange, ColumnComparison, NumericStyledColumn, StyledColumn } from '../../PredefinedConfig/StyledColumnState';
|
|
3
|
+
import { BadgeStyle, BadgeStyleDefinition, CellColorRange, ColumnComparison, NumericStyledColumn, StyledColumn } from '../../PredefinedConfig/StyledColumnState';
|
|
4
4
|
import { IRowNode } from '@ag-grid-community/core';
|
|
5
5
|
import { PredicateDefHandlerContext } from '../../types';
|
|
6
6
|
export declare class StyledColumnInternalApi extends ApiBase {
|
|
@@ -57,6 +57,6 @@ export declare class StyledColumnInternalApi extends ApiBase {
|
|
|
57
57
|
* @param styledColumn Styled Column to Add
|
|
58
58
|
*/
|
|
59
59
|
hasStyledColumnRelativeCellRange(styledColumn: StyledColumn): boolean;
|
|
60
|
-
getApplicableBadge(
|
|
60
|
+
getApplicableBadge(badgeStyle: BadgeStyle, context: PredicateDefHandlerContext): BadgeStyleDefinition | null;
|
|
61
61
|
getBadgePredicateDefsForColumn(columnId: string): import("../../types").AdaptablePredicateDef<string>[];
|
|
62
62
|
}
|
|
@@ -245,15 +245,14 @@ class StyledColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
245
245
|
return cellColorRange.Min == 'Col-Min' || cellColorRange.Max == 'Col-Max';
|
|
246
246
|
})))) !== null && _e !== void 0 ? _e : false);
|
|
247
247
|
}
|
|
248
|
-
getApplicableBadge(
|
|
249
|
-
|
|
250
|
-
if (!((_a = styledColumn.BadgeStyle) === null || _a === void 0 ? void 0 : _a.Badges.length)) {
|
|
248
|
+
getApplicableBadge(badgeStyle, context) {
|
|
249
|
+
if (!badgeStyle.Badges.length) {
|
|
251
250
|
return null;
|
|
252
251
|
}
|
|
253
252
|
// first that matches, sort last ones without predicate
|
|
254
253
|
const badgesWithoutAll = [];
|
|
255
254
|
const badgesWithAll = [];
|
|
256
|
-
for (let badge of
|
|
255
|
+
for (let badge of badgeStyle.Badges) {
|
|
257
256
|
if (!badge.Predicate) {
|
|
258
257
|
badgesWithAll.push(badge);
|
|
259
258
|
}
|
|
@@ -279,7 +278,7 @@ class StyledColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
279
278
|
};
|
|
280
279
|
return this.getAdaptableApi()
|
|
281
280
|
.predicateApi.internalApi.getBadgeStylePredicateDefs(scope)
|
|
282
|
-
.filter((predicate) => this.getAdaptableApi().
|
|
281
|
+
.filter((predicate) => this.getAdaptableApi().columnScopeApi.isColumnInScope(column, predicate.columnScope));
|
|
283
282
|
}
|
|
284
283
|
}
|
|
285
284
|
exports.StyledColumnInternalApi = StyledColumnInternalApi;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
|
-
import {
|
|
2
|
+
import { ColumnScope } from './Common/ColumnScope';
|
|
3
3
|
import { AdaptableColumnPredicate } from './Common/AdaptablePredicate';
|
|
4
4
|
import { TypeHint } from './Common/Types';
|
|
5
5
|
import { AdaptableMessageType } from './Common/AdaptableMessageType';
|
|
@@ -27,7 +27,7 @@ export interface AlertDefinition extends SuspendableObject {
|
|
|
27
27
|
/**
|
|
28
28
|
* Where Alert can be triggered: one, some or all columns or DataTypes
|
|
29
29
|
*/
|
|
30
|
-
Scope:
|
|
30
|
+
Scope: ColumnScope;
|
|
31
31
|
/**
|
|
32
32
|
* When Alert should be triggered
|
|
33
33
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeUuid } from '../Uuid';
|
|
2
|
-
import {
|
|
2
|
+
import { ColumnScope } from './ColumnScope';
|
|
3
3
|
/**
|
|
4
4
|
* Base interface which all other Adaptable State-related objects extend
|
|
5
5
|
*/
|
|
@@ -30,9 +30,9 @@ export type AdaptableObjectTag = string;
|
|
|
30
30
|
*/
|
|
31
31
|
export interface AdaptableObjectLookupCriteria {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* ColumnScope
|
|
34
34
|
*/
|
|
35
|
-
scope?:
|
|
35
|
+
scope?: ColumnScope;
|
|
36
36
|
/**
|
|
37
37
|
* AdaptableObjectTag
|
|
38
38
|
*/
|
|
@@ -43,5 +43,5 @@ export interface AdaptableObjectLookupCriteria {
|
|
|
43
43
|
ids?: AdaptableObject['Uuid'][];
|
|
44
44
|
}
|
|
45
45
|
export interface AdaptableObjectWithScope extends AdaptableObject {
|
|
46
|
-
Scope:
|
|
46
|
+
Scope: ColumnScope;
|
|
47
47
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IRowNode } from '@ag-grid-community/core';
|
|
2
2
|
import { AdaptableIcon, ColumnFilter } from '../../types';
|
|
3
3
|
import { AdaptableColumn, AdaptableColumnDataType } from './AdaptableColumn';
|
|
4
|
-
import {
|
|
4
|
+
import { ColumnScope } from './ColumnScope';
|
|
5
5
|
import { BaseContext } from './BaseContext';
|
|
6
6
|
/**
|
|
7
7
|
* Predicate object used by AdapTableQL - essentially a boolean function
|
|
@@ -40,7 +40,7 @@ export interface AdaptablePredicateDef<PREDICATE_TYPE = string> {
|
|
|
40
40
|
/**
|
|
41
41
|
* Columns (or DataTypes) where Predicate is active
|
|
42
42
|
*/
|
|
43
|
-
columnScope:
|
|
43
|
+
columnScope: ColumnScope;
|
|
44
44
|
/**
|
|
45
45
|
* Modules where Predicate can run
|
|
46
46
|
*/
|
|
@@ -14,4 +14,4 @@ export type ScopeColumnTypes = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Defines where a given Object / Module is active
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type ColumnScope<Type = ScopeDataType> = ScopeAll | ScopeDataTypes<Type> | ScopeColumnIds | ScopeColumnTypes;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines which types of Rows to exclude when rendering Format Columns, Action Columns, Badges
|
|
3
|
+
*/
|
|
4
|
+
export type RowScope = {
|
|
5
|
+
/**
|
|
6
|
+
* Exclude regular data rows
|
|
7
|
+
*/
|
|
8
|
+
ExcludeDataRows?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Exclude Grouped Rows
|
|
11
|
+
*/
|
|
12
|
+
ExcludeGroupedRows?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Exclude Summary Rows (used in Row Summaries)
|
|
15
|
+
*/
|
|
16
|
+
ExcludeSummaryRows?: boolean;
|
|
17
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
2
|
import { BaseSchedule } from './Common/Schedule';
|
|
3
|
-
import {
|
|
3
|
+
import { ColumnScope } from './Common/ColumnScope';
|
|
4
4
|
import { AdaptableColumnBase } from './Common/AdaptableColumn';
|
|
5
5
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
6
6
|
import { AdaptableFormData } from './Common/AdaptableForm';
|
|
@@ -42,7 +42,7 @@ export interface Report extends AdaptableObject {
|
|
|
42
42
|
/**
|
|
43
43
|
* Columns Scope; only required if `ReportColumnScope` is 'ScopeColumns'
|
|
44
44
|
*/
|
|
45
|
-
Scope?:
|
|
45
|
+
Scope?: ColumnScope;
|
|
46
46
|
/**
|
|
47
47
|
* Query to use; only required if `ReportRowScope` is 'ExpressionRows'
|
|
48
48
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
2
|
import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
3
|
-
import { AdaptableColumnPredicate,
|
|
3
|
+
import { AdaptableColumnPredicate, ColumnScope } from '../types';
|
|
4
4
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
5
5
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
6
6
|
import { TypeHint } from './Common/Types';
|
|
@@ -34,7 +34,7 @@ export interface FlashingCellDefinition extends SuspendableObject {
|
|
|
34
34
|
/**
|
|
35
35
|
* Where Flashing Cell can display: Column[s] or DataType[s]
|
|
36
36
|
*/
|
|
37
|
-
Scope:
|
|
37
|
+
Scope: ColumnScope;
|
|
38
38
|
/**
|
|
39
39
|
* When Flashing Cell should be triggered
|
|
40
40
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
2
|
import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
3
3
|
import { AdaptableFormat } from './Common/AdaptableFormat';
|
|
4
|
-
import {
|
|
4
|
+
import { ColumnScope } from './Common/ColumnScope';
|
|
5
|
+
import { RowScope } from './Common/RowScope';
|
|
5
6
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
6
7
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
7
8
|
import { TypeHint } from './Common/Types';
|
|
@@ -23,7 +24,7 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
23
24
|
/**
|
|
24
25
|
* Where Format will be applied - whole Row, some Columns or all Columns of given DataType
|
|
25
26
|
*/
|
|
26
|
-
Scope:
|
|
27
|
+
Scope: ColumnScope;
|
|
27
28
|
/**
|
|
28
29
|
* Rule used to decide whether to apply the Format; if undefined Format is always applied
|
|
29
30
|
*/
|
|
@@ -41,15 +42,13 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
41
42
|
*/
|
|
42
43
|
CellAlignment?: 'Left' | 'Right' | 'Center';
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @defaultValue false
|
|
45
|
+
* Which types of Rows should be formatted (data, grouped, summary)
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
RowScope?: RowScope;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @defaultValue false
|
|
49
|
+
* @deprecated FormatColumns now apply to grouped rows by default; use RowScope for more control
|
|
51
50
|
*/
|
|
52
|
-
|
|
51
|
+
IncludeGroupedRows?: never;
|
|
53
52
|
}
|
|
54
53
|
/**
|
|
55
54
|
* The Format Column Rule - can be either a Predicate or a BooleanExpression
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
|
-
import {
|
|
2
|
+
import { ColumnScope } from './Common/ColumnScope';
|
|
3
3
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
4
4
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
5
5
|
/**
|
|
@@ -18,7 +18,7 @@ export interface PlusMinusNudge extends SuspendableObject {
|
|
|
18
18
|
/**
|
|
19
19
|
* Where Rule is applied
|
|
20
20
|
*/
|
|
21
|
-
Scope:
|
|
21
|
+
Scope: ColumnScope;
|
|
22
22
|
/**
|
|
23
23
|
* Amount by which to update cell when Rule is applied
|
|
24
24
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
|
-
import {
|
|
2
|
+
import { ColumnScope } from './Common/ColumnScope';
|
|
3
3
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
4
4
|
/**
|
|
5
5
|
* Predefined Configuration for Shortcut Module
|
|
@@ -21,7 +21,7 @@ export interface Shortcut extends SuspendableObject {
|
|
|
21
21
|
/**
|
|
22
22
|
* Numeric Columns where Shortcut is applied
|
|
23
23
|
*/
|
|
24
|
-
Scope:
|
|
24
|
+
Scope: ColumnScope<ShortcutScopeDataType>;
|
|
25
25
|
/**
|
|
26
26
|
* Key which triggers the Shortcut when pressed
|
|
27
27
|
*/
|
|
@@ -3,6 +3,7 @@ import { SuspendableObject } from './Common/SuspendableObject';
|
|
|
3
3
|
import { SparklineOptions } from '@ag-grid-community/core';
|
|
4
4
|
import { AdaptableCustomIcon, AdaptableSystemIcon, AdaptablePredicate, AdaptableStyle } from '../types';
|
|
5
5
|
import { TypeHint } from './Common/Types';
|
|
6
|
+
import { RowScope } from "./Common/RowScope";
|
|
6
7
|
/**
|
|
7
8
|
* Predefined Configuration for Styled Column Module
|
|
8
9
|
*/
|
|
@@ -36,16 +37,6 @@ export interface StyledColumn extends SuspendableObject {
|
|
|
36
37
|
* Displays cell values in Column as a Badge
|
|
37
38
|
*/
|
|
38
39
|
BadgeStyle?: BadgeStyle;
|
|
39
|
-
/**
|
|
40
|
-
* Includes Styled Column in Grouped Rows
|
|
41
|
-
* @defaultValue false
|
|
42
|
-
*/
|
|
43
|
-
IncludeGroupedRows?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Includes Row Summaries in Styled Column
|
|
46
|
-
* @defaultValue false
|
|
47
|
-
*/
|
|
48
|
-
IncludeRowSummaries?: boolean;
|
|
49
40
|
}
|
|
50
41
|
/**
|
|
51
42
|
* Style used to display Percent Bars in Special Column Style
|
|
@@ -195,4 +186,8 @@ export interface BadgeStyle {
|
|
|
195
186
|
* Collection of Badge Style Definitions
|
|
196
187
|
*/
|
|
197
188
|
Badges?: BadgeStyleDefinition[];
|
|
189
|
+
/**
|
|
190
|
+
* Which types of Rows should contain a Badge (data, grouped, summary)
|
|
191
|
+
*/
|
|
192
|
+
RowScope?: RowScope;
|
|
198
193
|
}
|
|
@@ -61,8 +61,8 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
61
61
|
if (queryExpression) {
|
|
62
62
|
return this.api.expressionApi.getColumnsFromExpression(queryExpression);
|
|
63
63
|
}
|
|
64
|
-
else if (this.api.
|
|
65
|
-
return this.api.
|
|
64
|
+
else if (this.api.columnScopeApi.scopeHasColumns(alertDefinition.Scope)) {
|
|
65
|
+
return this.api.columnScopeApi
|
|
66
66
|
.getColumnsForScope(alertDefinition.Scope)
|
|
67
67
|
.map((adaptableColumn) => adaptableColumn.columnId);
|
|
68
68
|
}
|
|
@@ -31,8 +31,8 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
31
31
|
}
|
|
32
32
|
getExplicitlyReferencedColumnIds(report) {
|
|
33
33
|
if (report.ReportColumnScope === 'ScopeColumns' &&
|
|
34
|
-
this.api.
|
|
35
|
-
return this.api.
|
|
34
|
+
this.api.columnScopeApi.scopeHasColumns(report.Scope)) {
|
|
35
|
+
return this.api.columnScopeApi
|
|
36
36
|
.getColumnsForScope(report.Scope)
|
|
37
37
|
.map((adaptableColumn) => adaptableColumn.columnId);
|
|
38
38
|
}
|
|
@@ -50,8 +50,8 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
50
50
|
if (queryExpression) {
|
|
51
51
|
return this.api.expressionApi.getColumnsFromExpression(queryExpression);
|
|
52
52
|
}
|
|
53
|
-
else if (this.api.
|
|
54
|
-
return this.api.
|
|
53
|
+
else if (this.api.columnScopeApi.scopeHasColumns(alertDefinition.Scope)) {
|
|
54
|
+
return this.api.columnScopeApi
|
|
55
55
|
.getColumnsForScope(alertDefinition.Scope)
|
|
56
56
|
.map((adaptableColumn) => adaptableColumn.columnId);
|
|
57
57
|
}
|
|
@@ -69,7 +69,7 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
69
69
|
if (!this.api.columnApi.isCalculatedColumn(column.columnId)) {
|
|
70
70
|
const flashingCellDefinitions = this.api.flashingCellApi.getFlashingCellDefinitions();
|
|
71
71
|
const flashingCellForCurrentColumn = flashingCellDefinitions.find((flashingCellDefinition) => {
|
|
72
|
-
return this.api.
|
|
72
|
+
return this.api.columnScopeApi.isColumnInScope(column, flashingCellDefinition.Scope);
|
|
73
73
|
});
|
|
74
74
|
if (flashingCellForCurrentColumn) {
|
|
75
75
|
return [
|
|
@@ -169,7 +169,7 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
169
169
|
const definitions = this.api.flashingCellApi.getActiveFlashingCellDefinitions();
|
|
170
170
|
const defaultNoPredicateReturn = false;
|
|
171
171
|
let relatedFlashingCellsDefinitions = definitions
|
|
172
|
-
.filter((v) => this.api.
|
|
172
|
+
.filter((v) => this.api.columnScopeApi.isColumnInScope(dataChangedEvent.column, v.Scope))
|
|
173
173
|
.filter((flashingCellDefinition) => !(0, AdaptableQuery_1.isReactiveQuery)(flashingCellDefinition.Rule));
|
|
174
174
|
let triggeredFlashingCells = [];
|
|
175
175
|
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(relatedFlashingCellsDefinitions)) {
|
|
@@ -26,8 +26,8 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
26
26
|
if (queryExpression) {
|
|
27
27
|
return this.api.expressionApi.getColumnsFromExpression(queryExpression);
|
|
28
28
|
}
|
|
29
|
-
else if (this.api.
|
|
30
|
-
return this.api.
|
|
29
|
+
else if (this.api.columnScopeApi.scopeHasColumns(formatColumn.Scope)) {
|
|
30
|
+
return this.api.columnScopeApi
|
|
31
31
|
.getColumnsForScope(formatColumn.Scope)
|
|
32
32
|
.map((adaptableColumn) => adaptableColumn.columnId);
|
|
33
33
|
}
|
|
@@ -23,8 +23,8 @@ class PlusMinusModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
23
23
|
return this.api.plusMinusApi.getAllPlusMinus(config);
|
|
24
24
|
}
|
|
25
25
|
getExplicitlyReferencedColumnIds(plusMinusNudge) {
|
|
26
|
-
if (this.api.
|
|
27
|
-
return this.api.
|
|
26
|
+
if (this.api.columnScopeApi.scopeHasColumns(plusMinusNudge.Scope)) {
|
|
27
|
+
return this.api.columnScopeApi
|
|
28
28
|
.getColumnsForScope(plusMinusNudge.Scope)
|
|
29
29
|
.map((adaptableColumn) => adaptableColumn.columnId);
|
|
30
30
|
}
|
|
@@ -96,7 +96,7 @@ class PlusMinusModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
96
96
|
let replacementGridCell;
|
|
97
97
|
plusMinusNudges.forEach((pmr) => {
|
|
98
98
|
if (!foundRule) {
|
|
99
|
-
if (this.api.
|
|
99
|
+
if (this.api.columnScopeApi.isColumnInScope(gridCell.column, pmr.Scope)) {
|
|
100
100
|
if (this.api.gridApi.isCellEditable(gridCell)) {
|
|
101
101
|
//for aggrid as we are getting strings sometimes
|
|
102
102
|
if (typeof gridCell.rawValue != 'number') {
|
|
@@ -50,7 +50,7 @@ class ShortcutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
50
50
|
const matchingShortcut = this.api.shortcutApi
|
|
51
51
|
.getActiveShortcuts()
|
|
52
52
|
.find((x) => keyDownEvent.key.toLowerCase() === x.ShortcutKey.toLowerCase() &&
|
|
53
|
-
this.api.
|
|
53
|
+
this.api.columnScopeApi.isColumnInScope(this.api.columnApi.getColumnWithColumnId(columnId), x.Scope));
|
|
54
54
|
if (!matchingShortcut || !matchingShortcut.ShortcutValue) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
@@ -19,8 +19,8 @@ class StyledColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
19
19
|
return this.api.styledColumnApi.getStyledColumns(config);
|
|
20
20
|
}
|
|
21
21
|
getExplicitlyReferencedColumnIds(formatColumn) {
|
|
22
|
-
if (this.api.
|
|
23
|
-
return this.api.
|
|
22
|
+
if (this.api.columnScopeApi.scopeHasColumns(formatColumn.Scope)) {
|
|
23
|
+
return this.api.columnScopeApi
|
|
24
24
|
.getColumnsForScope(formatColumn.Scope)
|
|
25
25
|
.map((adaptableColumn) => adaptableColumn.columnId);
|
|
26
26
|
}
|
|
@@ -108,7 +108,7 @@ class StyledColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
108
108
|
// Number
|
|
109
109
|
// Create Styled Column - Gradient | Percent Bar | Badge
|
|
110
110
|
case 'Number':
|
|
111
|
-
const emptyRanges = this.api.
|
|
111
|
+
const emptyRanges = this.api.columnScopeApi.createCellColorRangesForScope({
|
|
112
112
|
ColumnIds: [column.columnId],
|
|
113
113
|
});
|
|
114
114
|
const newGrandientButton = this.createMenuItemShowPopup('styled-column-gradient-add', 'Create Gradient Column', this.moduleInfo.Popup, 'gradient', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { GradientStyle: {
|
|
@@ -166,6 +166,7 @@ class StyledColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
toView(styledColumn) {
|
|
169
|
+
var _a, _b, _c, _d, _e, _f;
|
|
169
170
|
const specificTypeItems = [];
|
|
170
171
|
if (styledColumn.GradientStyle || styledColumn.PercentBarStyle) {
|
|
171
172
|
specificTypeItems.push({
|
|
@@ -179,8 +180,9 @@ class StyledColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
179
180
|
specificTypeItems.push({
|
|
180
181
|
name: 'Settings',
|
|
181
182
|
values: [
|
|
182
|
-
`
|
|
183
|
-
`
|
|
183
|
+
`Data Rows: ${((_b = (_a = styledColumn.BadgeStyle) === null || _a === void 0 ? void 0 : _a.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeDataRows) ? 'No' : 'Yes'}`,
|
|
184
|
+
`Grouped Rows: ${((_d = (_c = styledColumn.BadgeStyle) === null || _c === void 0 ? void 0 : _c.RowScope) === null || _d === void 0 ? void 0 : _d.ExcludeGroupedRows) ? 'No' : 'Yes'}`,
|
|
185
|
+
`Summary Rows: ${((_f = (_e = styledColumn.BadgeStyle) === null || _e === void 0 ? void 0 : _e.RowScope) === null || _f === void 0 ? void 0 : _f.ExcludeSummaryRows) ? 'No' : 'Yes'}`,
|
|
184
186
|
],
|
|
185
187
|
});
|
|
186
188
|
}
|