@adaptabletools/adaptable 18.0.0-canary.32 → 18.0.0-canary.34

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.
Files changed (88) hide show
  1. package/package.json +1 -1
  2. package/src/AdaptableOptions/MenuOptions.d.ts +36 -16
  3. package/src/AdaptableOptions/MenuOptions.js +5 -0
  4. package/src/AdaptableOptions/QuickSearchOptions.d.ts +1 -1
  5. package/src/Api/GridApi.d.ts +1 -1
  6. package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
  7. package/src/Api/Implementation/NoteApiImpl.js +2 -2
  8. package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
  9. package/src/Api/NoteApi.d.ts +1 -1
  10. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  11. package/src/PredefinedConfig/Common/Menu.d.ts +14 -6
  12. package/src/PredefinedConfig/Common/Menu.js +3 -0
  13. package/src/PredefinedConfig/Common/RowScope.d.ts +2 -2
  14. package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
  15. package/src/PredefinedConfig/LayoutState.d.ts +1 -1
  16. package/src/Redux/ActionsReducers/NoteRedux.d.ts +1 -1
  17. package/src/Redux/ActionsReducers/NoteRedux.js +3 -3
  18. package/src/Strategy/AdaptableModuleBase.d.ts +8 -8
  19. package/src/Strategy/AlertModule.d.ts +3 -2
  20. package/src/Strategy/BulkUpdateModule.d.ts +3 -2
  21. package/src/Strategy/CalculatedColumnModule.d.ts +3 -4
  22. package/src/Strategy/CalculatedColumnModule.js +16 -12
  23. package/src/Strategy/CellSummaryModule.d.ts +3 -4
  24. package/src/Strategy/CellSummaryModule.js +17 -14
  25. package/src/Strategy/ColumnFilterModule.d.ts +3 -3
  26. package/src/Strategy/ColumnInfoModule.d.ts +3 -3
  27. package/src/Strategy/CommentModule.d.ts +3 -2
  28. package/src/Strategy/CustomSortModule.d.ts +1 -2
  29. package/src/Strategy/DashboardModule.d.ts +3 -3
  30. package/src/Strategy/DataImportModule.d.ts +2 -2
  31. package/src/Strategy/ExportModule.d.ts +1 -1
  32. package/src/Strategy/ExportModule.js +19 -2
  33. package/src/Strategy/Fdc3Module.d.ts +1 -1
  34. package/src/Strategy/FlashingCellModule.d.ts +4 -3
  35. package/src/Strategy/FormatColumnModule.d.ts +1 -1
  36. package/src/Strategy/FormatColumnModule.js +0 -1
  37. package/src/Strategy/FreeTextColumnModule.d.ts +1 -2
  38. package/src/Strategy/GridInfoModule.d.ts +3 -3
  39. package/src/Strategy/Interface/IModule.d.ts +3 -3
  40. package/src/Strategy/LayoutModule.d.ts +2 -2
  41. package/src/Strategy/NoteModule.d.ts +2 -2
  42. package/src/Strategy/NoteModule.js +3 -3
  43. package/src/Strategy/PlusMinusModule.d.ts +1 -2
  44. package/src/Strategy/SettingsPanelModule.d.ts +2 -2
  45. package/src/Strategy/SmartEditModule.d.ts +3 -2
  46. package/src/Strategy/StyledColumnModule.d.ts +1 -1
  47. package/src/Strategy/StyledColumnModule.js +1 -9
  48. package/src/Strategy/SystemStatusModule.d.ts +3 -3
  49. package/src/Strategy/SystemStatusModule.js +3 -1
  50. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +1 -1
  51. package/src/Utilities/MenuItem.d.ts +9 -9
  52. package/src/Utilities/Services/CellPopupService.js +4 -4
  53. package/src/Utilities/Services/RowSummaryService.d.ts +7 -3
  54. package/src/Utilities/Services/RowSummaryService.js +29 -15
  55. package/src/View/BulkUpdate/BulkUpdatePopup.js +2 -2
  56. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -1
  57. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -0
  58. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +3 -6
  59. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
  60. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +5 -5
  61. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +1 -1
  62. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  63. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +5 -7
  64. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +5 -5
  65. package/src/agGrid/ActionColumnRenderer.js +2 -2
  66. package/src/agGrid/AgGridColumnAdapter.js +2 -2
  67. package/src/agGrid/AgGridMenuAdapter.d.ts +1 -0
  68. package/src/agGrid/AgGridMenuAdapter.js +75 -64
  69. package/src/agGrid/BadgeRenderer.js +1 -1
  70. package/src/agGrid/PercentBarRenderer.js +1 -1
  71. package/src/components/Accordion.d.ts +7 -0
  72. package/src/components/Accordion.js +36 -0
  73. package/src/components/icons/collapse-all.d.ts +3 -0
  74. package/src/components/icons/collapse-all.js +4 -0
  75. package/src/components/icons/csv.d.ts +3 -0
  76. package/src/components/icons/csv.js +4 -0
  77. package/src/components/icons/data-object.d.ts +3 -0
  78. package/src/components/icons/data-object.js +4 -0
  79. package/src/components/icons/excel.d.ts +3 -0
  80. package/src/components/icons/excel.js +5 -0
  81. package/src/components/icons/expand-all.d.ts +3 -0
  82. package/src/components/icons/expand-all.js +4 -0
  83. package/src/components/icons/index.js +10 -0
  84. package/src/env.js +2 -2
  85. package/src/metamodel/adaptable.metamodel.d.ts +10 -0
  86. package/src/metamodel/adaptable.metamodel.js +1 -1
  87. package/src/types.d.ts +1 -1
  88. package/tsconfig.esm.tsbuildinfo +1 -1
@@ -5,7 +5,7 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
5
5
  import Helper from '../Helpers/Helper';
6
6
  import { AggregatedScalarLiveValue } from './AggregatedScalarLiveValue';
7
7
  import { isObjectEmpty } from '../Extensions/ObjectExtensions';
8
- import debounce from 'lodash/debounce';
8
+ import throttle from 'lodash/throttle';
9
9
  /**
10
10
  * The logic is extracted here to make it easier to follow
11
11
  */
@@ -13,7 +13,12 @@ export class RowSummaryService {
13
13
  constructor(api) {
14
14
  this.api = api;
15
15
  this.cachedCellSummary = new Map();
16
- this.debouncedEvaluateRowSummary = debounce(this.evaluateRowSummary, 300);
16
+ this._throttleAcumulatedColumnsThatChanged = new Set();
17
+ /**
18
+ *
19
+ * @param colId optional to evaluate only one column
20
+ */
21
+ this._throttledEvaluateRowSummary = throttle(this.evaluateRowSummary, 300);
17
22
  }
18
23
  onAdapterReady() {
19
24
  this.rowSummariesSubscriptions();
@@ -27,17 +32,17 @@ export class RowSummaryService {
27
32
  if (!this.api.layoutApi.internalApi.getLayoutSupportedFeatures().RowSummaries) {
28
33
  return;
29
34
  }
30
- this.debouncedEvaluateRowSummary();
35
+ this.throttledEvaluateRowSummary();
31
36
  this.api.eventApi.on('AdaptableStateReloaded', () => {
32
- this.debouncedEvaluateRowSummary();
37
+ this.throttledEvaluateRowSummary();
33
38
  });
34
39
  this.api.eventApi.on('GridDataChanged', (event) => {
35
- this.debouncedEvaluateRowSummary();
40
+ this.throttledEvaluateRowSummary();
36
41
  });
37
42
  this.api.eventApi.on('CellChanged', (event) => {
38
43
  const columnId = event.cellChange.column.columnId;
39
- this.debouncedEvaluateRowSummary({
40
- columnId,
44
+ this.throttledEvaluateRowSummary({
45
+ columnIds: [columnId],
41
46
  });
42
47
  });
43
48
  this.api.eventApi.on('LayoutChanged', (event) => {
@@ -47,25 +52,34 @@ export class RowSummaryService {
47
52
  }
48
53
  setTimeout(() => {
49
54
  // the timeout is added so the grid has time to repond to the layout changed
50
- this.debouncedEvaluateRowSummary();
55
+ this.throttledEvaluateRowSummary();
51
56
  }, 16);
52
57
  });
53
58
  const adaptable = this.api.internalApi.getAdaptableInstance();
54
59
  adaptable._on('AdapTableFiltersApplied', () => {
55
60
  // we need to use this instead of layout changed
56
61
  // so the rows have time to update
57
- this.debouncedEvaluateRowSummary();
62
+ this.throttledEvaluateRowSummary();
58
63
  });
59
64
  adaptable._on('FirstDataRendered', () => {
60
- this.debouncedEvaluateRowSummary();
65
+ this.throttledEvaluateRowSummary();
61
66
  });
62
67
  }
63
- /**
64
- *
65
- * @param colId optional to evaluate only one column
66
- */
68
+ throttledEvaluateRowSummary(reason) {
69
+ if (reason) {
70
+ reason.columnIds.forEach((col) => this._throttleAcumulatedColumnsThatChanged.add(col));
71
+ }
72
+ this._throttledEvaluateRowSummary(reason);
73
+ }
67
74
  evaluateRowSummary(reason) {
68
75
  var _a;
76
+ if (this._throttleAcumulatedColumnsThatChanged.size > 0) {
77
+ const columnIds = Array.from(this._throttleAcumulatedColumnsThatChanged.values());
78
+ reason = {
79
+ columnIds,
80
+ };
81
+ this._throttleAcumulatedColumnsThatChanged.clear();
82
+ }
69
83
  if (this.api.isDestroyed()) {
70
84
  return;
71
85
  }
@@ -91,7 +105,7 @@ export class RowSummaryService {
91
105
  // refresh all of them
92
106
  expressionLiveValue.refresh();
93
107
  }
94
- else if ('columnId' in reason && reason.columnId === columnId) {
108
+ else if ('columnIds' in reason && reason.columnIds.includes(columnId)) {
95
109
  expressionLiveValue.refresh();
96
110
  }
97
111
  }
@@ -50,7 +50,7 @@ class BulkUpdatePopupComponent extends React.Component {
50
50
  React.createElement(SimpleButton, { disabled: StringExtensions.IsNullOrEmpty(this.props.BulkUpdateValue) ||
51
51
  this.props.PreviewInfo.previewValidationSummary.validationResult == 'All', onClick: () => {
52
52
  this.onApplyClick();
53
- }, variant: "raised", tone: "accent" }, "Apply to Grid")))) : (React.createElement(React.Fragment, null,
53
+ }, variant: "raised", tone: "accent" }, "Apply Bulk Update")))) : (React.createElement(React.Fragment, null,
54
54
  React.createElement(HelpBlock, { marginTop: 2, marginBottom: 2 }, "Select an existing Column value from the dropdown, or enter a new value"),
55
55
  React.createElement(Flex, { marginTop: 2, flexDirection: "row", alignItems: "center" },
56
56
  React.createElement(Flex, { alignItems: "center", flexDirection: "row", flex: 1, marginRight: 2 },
@@ -59,7 +59,7 @@ class BulkUpdatePopupComponent extends React.Component {
59
59
  this.props.PreviewInfo.previewValidationSummary.validationResult == 'All' ||
60
60
  hasDataTypeError, variant: "raised", tone: "accent", marginRight: 2, onClick: () => {
61
61
  this.onApplyClick();
62
- } }, "Apply to Grid"),
62
+ } }, "Apply Bulk Update"),
63
63
  ' ',
64
64
  hasDataTypeError && (React.createElement(AdaptablePopover, { headerText: 'Update Error', bodyText: [dataTypeErrorMessage], MessageType: 'Error' })),
65
65
  StringExtensions.IsNotNullOrEmpty(this.props.BulkUpdateValue) &&
@@ -35,7 +35,10 @@ export const AdaptablePopup = (props) => {
35
35
  let componentName = props.componentName;
36
36
  // ts forces to check for General, there is no menu item General
37
37
  const useFirstItem = !props.componentName;
38
- if (useFirstItem && firstMenuModule !== 'General' && firstMenuModule !== 'CustomSettingsPanel') {
38
+ if (useFirstItem &&
39
+ firstMenuModule !== 'General' &&
40
+ firstMenuModule !== 'CustomSettingsPanel' &&
41
+ firstMenuModule !== 'Group') {
39
42
  componentModule = firstMenuModule;
40
43
  }
41
44
  const customSettingsPanel = (_c = settingsPanelOptions === null || settingsPanelOptions === void 0 ? void 0 : settingsPanelOptions.customSettingsPanels) === null || _c === void 0 ? void 0 : _c.find((customPanel) => useFirstItem ? customPanel.name === firstMenuItem.label : customPanel.name === componentName);
@@ -18,6 +18,7 @@ export const useMenuItems = () => {
18
18
  }
19
19
  const visibleItems = allMenuItems.filter((item) => item.module !== 'General' &&
20
20
  item.module !== 'CustomSettingsPanel' &&
21
+ item.module !== 'Group' &&
21
22
  !STANDALONE_MODULE_POPUPS.includes(item.module) &&
22
23
  item.isVisible);
23
24
  let navItems = navigationItems
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { useSelector } from 'react-redux';
3
3
  import { Flex } from 'rebass';
4
- import { GetNotesSelector } from '../../../../Redux/ActionsReducers/NoteRedux';
4
+ import { GetNoteSelector } from '../../../../Redux/ActionsReducers/NoteRedux';
5
5
  import { SystemCommentsAndNotesEditModeSelector, SystemCommentsAndNotesFocusedEntitySelector, SystemCommentsAndNotesSelector, } from '../../../../Redux/ActionsReducers/SystemRedux';
6
6
  import { useAdaptable } from '../../../AdaptableContext';
7
7
  import { CommentsEditor } from '../../../Comments/CommentsEditor';
@@ -13,11 +13,8 @@ const ConnectedNoteEditor = ({ enableEditMode }) => {
13
13
  const editMode = useSelector((state) => SystemCommentsAndNotesEditModeSelector(state.System));
14
14
  const cellPopupService = api.internalApi.getCellPopupService();
15
15
  const cellAddress = useSelector((state) => SystemCommentsAndNotesSelector(state.System));
16
- const [
17
- // Only handle first note for now
18
- // Later we can handle multiple notes
19
- note,] = useSelector((state) => {
20
- return cellAddress ? GetNotesSelector(state.Note, cellAddress) : [];
16
+ const note = useSelector((state) => {
17
+ return cellAddress ? GetNoteSelector(state.Note, cellAddress) : null;
21
18
  });
22
19
  const handleNoteChange = React.useCallback((value) => {
23
20
  api.noteApi.updateNoteText(value, note);
@@ -95,7 +95,7 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
95
95
  columnId: 'undoActionColumn',
96
96
  friendlyName: ' ',
97
97
  rowScope: {
98
- ExcludeGroupedRows: true,
98
+ ExcludeGroupRows: true,
99
99
  ExcludeSummaryRows: true,
100
100
  },
101
101
  actionColumnSettings: { suppressMenu: true, suppressMovable: true },
@@ -18,8 +18,8 @@ export const renderFormatColumnSettingsSummary = (data) => {
18
18
  React.createElement(Tag, null, ((_b = data.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeDataRows) ? 'no' : 'yes')),
19
19
  ' ',
20
20
  React.createElement(Text, { mt: 3 },
21
- "Grouped Rows ",
22
- React.createElement(Tag, null, ((_c = data.RowScope) === null || _c === void 0 ? void 0 : _c.ExcludeGroupedRows) ? 'no' : 'yes')),
21
+ "Group Rows ",
22
+ React.createElement(Tag, null, ((_c = data.RowScope) === null || _c === void 0 ? void 0 : _c.ExcludeGroupRows) ? 'no' : 'yes')),
23
23
  React.createElement(Text, { mt: 3 },
24
24
  "Summary Rows ",
25
25
  React.createElement(Tag, null, ((_d = data.RowScope) === null || _d === void 0 ? void 0 : _d.ExcludeSummaryRows) ? 'no' : 'yes'))));
@@ -38,7 +38,7 @@ export const FormatColumnSettingsWizardSection = (props) => {
38
38
  props.onChange(Object.assign(Object.assign({}, data), { RowScope: Object.assign(Object.assign({}, data.RowScope), { ExcludeDataRows }) }));
39
39
  };
40
40
  const onExcludeGroupedRowsChanged = (ExcludeGroupedRows) => {
41
- props.onChange(Object.assign(Object.assign({}, data), { RowScope: Object.assign(Object.assign({}, data.RowScope), { ExcludeGroupedRows }) }));
41
+ props.onChange(Object.assign(Object.assign({}, data), { RowScope: Object.assign(Object.assign({}, data.RowScope), { ExcludeGroupRows: ExcludeGroupedRows }) }));
42
42
  };
43
43
  const onExcludeSummaryRowsChanged = (ExcludeSummaryRows) => {
44
44
  props.onChange(Object.assign(Object.assign({}, data), { RowScope: Object.assign(Object.assign({}, data.RowScope), { ExcludeSummaryRows }) }));
@@ -62,9 +62,9 @@ export const FormatColumnSettingsWizardSection = (props) => {
62
62
  React.createElement(FormRow, { label: "Exclude Data Rows:" },
63
63
  React.createElement(Flex, { alignItems: "center", marginLeft: 2 },
64
64
  React.createElement(CheckBox, { "data-name": "exclude-data-rows-checkbox", checked: (_a = data.RowScope) === null || _a === void 0 ? void 0 : _a.ExcludeDataRows, onChange: onExcludeDataRowsChanged, mr: 2 }))),
65
- React.createElement(FormRow, { label: "Exclude Grouped Rows:" },
65
+ React.createElement(FormRow, { label: "Exclude Group Rows:" },
66
66
  React.createElement(Flex, { alignItems: "center", marginLeft: 2 },
67
- React.createElement(CheckBox, { "data-name": "exclude-grouped-rows-checkbox", checked: (_b = data.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupedRows, onChange: onExcludeGroupedRowsChanged, mr: 2 }))),
67
+ React.createElement(CheckBox, { "data-name": "exclude-grouped-rows-checkbox", checked: (_b = data.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupRows, onChange: onExcludeGroupedRowsChanged, mr: 2 }))),
68
68
  React.createElement(FormRow, { label: "Exclude Row Summaries:" },
69
69
  React.createElement(Flex, { alignItems: "center", marginLeft: 2 },
70
70
  React.createElement(CheckBox, { "data-name": "exclude-summary-rows-checkbox", checked: (_c = data.RowScope) === null || _c === void 0 ? void 0 : _c.ExcludeSummaryRows, onChange: onExcludeSummaryRowsChanged, mr: 2 }))))))));
@@ -43,7 +43,7 @@ export const RowGroupingSection = (props) => {
43
43
  props.onChange(Object.assign(Object.assign({}, layout), { RowGroupedColumns: columnIds }));
44
44
  };
45
45
  return (React.createElement(Tabs, { style: { height: '100%' } },
46
- React.createElement(Tabs.Tab, null, "Grouped Rows"),
46
+ React.createElement(Tabs.Tab, null, "Group Rows"),
47
47
  ((_a = layout.ExpandedRowGroupValues) === null || _a === void 0 ? void 0 : _a.length) && React.createElement(Tabs.Tab, null, "Expanded Rows"),
48
48
  React.createElement(Tabs.Content, null,
49
49
  React.createElement(ValueSelector, { showFilterInput: true, showSelectedOnlyPosition: "top", filter: columnFilter, toIdentifier: (option) => `${option.columnId}`, toLabel: (option) => { var _a; return (_a = option.friendlyName) !== null && _a !== void 0 ? _a : option.columnId; }, options: sortedGroupableColumns, value: (_b = layout.RowGroupedColumns) !== null && _b !== void 0 ? _b : [], allowReorder: true, xSelectedLabel: () => {
@@ -63,7 +63,7 @@ class SmartEditPopupComponent extends React.Component {
63
63
  (this.props.PreviewInfo &&
64
64
  this.props.PreviewInfo.previewValidationSummary.validationResult == 'All'), onClick: () => {
65
65
  this.submit();
66
- }, marginRight: 2 }, "Apply to Grid"),
66
+ }, marginRight: 2 }, "Apply Smart Edit"),
67
67
  ' ',
68
68
  this.props.PreviewInfo &&
69
69
  this.props.PreviewInfo.previewValidationSummary.validationResult != 'None' && (React.createElement(AdaptablePopover, { headerText: 'Validation Error', bodyText: [globalValidationMessage], MessageType: 'Error' }))),
@@ -7,7 +7,6 @@ import HelpBlock from '../../../components/HelpBlock';
7
7
  import SimpleButton from '../../../components/SimpleButton';
8
8
  import { Tabs } from '../../../components/Tabs';
9
9
  import ObjectFactory from '../../../Utilities/ObjectFactory';
10
- import { AdaptablePopover } from '../../AdaptablePopover';
11
10
  import { AdaptableIconSelector } from '../../Components/AdaptableIconSelector';
12
11
  import { PredicateEditor } from '../../Components/PredicateEditor/PredicateEditor';
13
12
  import { StyleComponent } from '../../Components/StyleComponent';
@@ -16,6 +15,7 @@ import { StyledColumnBadgePreview } from './StyledColumnWizardStyleSection/Compo
16
15
  import { Badge } from '../../Components/Badge';
17
16
  import { AdaptableIconComponent } from '../../Components/AdaptableIconComponent';
18
17
  import { DEFAULT_INTEGER_DISPLAY_VALUE, DEFAULT_STRING_DISPLAY_VALUE, } from '../../../Utilities/Constants/GeneralConstants';
18
+ import { Accordion } from '../../../components/Accordion';
19
19
  const BadgeEditor = (props) => {
20
20
  var _a, _b;
21
21
  const { api } = useOnePageAdaptableWizardContext();
@@ -36,12 +36,10 @@ const BadgeEditor = (props) => {
36
36
  React.createElement(FormRow, { label: "Style" },
37
37
  React.createElement(HelpBlock, { fontSize: 2, mb: 1, mt: 2 }, "Select the Style for the Badge"),
38
38
  ' ',
39
- React.createElement(AdaptablePopover, { showEvent: "mouseenter", hideEvent: "mouseleave", showIcon: false, useButton: false, popoverMaxWidth: 700, bodyText: [
40
- React.createElement(StyleComponent, { showFontSizeAs: "radio", headless: true, hidePreview: true, api: api, Style: (_a = badge.Style) !== null && _a !== void 0 ? _a : {}, UpdateStyle: (Style) => {
41
- onChange(Object.assign(Object.assign({}, badge), { Style }));
42
- } }),
43
- ] },
44
- React.createElement(SimpleButton, { variant: "raised" }, "Edit Badge Style"))),
39
+ React.createElement(Accordion, { title: "Edit Badge Style" },
40
+ React.createElement(StyleComponent, { showFontSizeAs: "radio", headless: true, hidePreview: true, api: api, Style: (_a = badge.Style) !== null && _a !== void 0 ? _a : {}, UpdateStyle: (Style) => {
41
+ onChange(Object.assign(Object.assign({}, badge), { Style }));
42
+ } }))),
45
43
  !api.columnApi.hasArrayDataType(columnId) && ( // dont show predicates for arrays
46
44
  (React.createElement(
47
45
  FormRow,
@@ -14,8 +14,8 @@ export const renderStyledColumnWizardSettingsSummary = (data) => {
14
14
  React.createElement(Tag, null, ((_a = badgeStyle.RowScope) === null || _a === void 0 ? void 0 : _a.ExcludeDataRows) ? 'no' : 'yes')),
15
15
  ' ',
16
16
  React.createElement(Text, { mt: 3 },
17
- "Grouped Rows ",
18
- React.createElement(Tag, null, ((_b = badgeStyle.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupedRows) ? 'no' : 'yes')),
17
+ "Group Rows ",
18
+ React.createElement(Tag, null, ((_b = badgeStyle.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupRows) ? 'no' : 'yes')),
19
19
  React.createElement(Text, { mt: 3 },
20
20
  "Summary Rows ",
21
21
  React.createElement(Tag, null, ((_c = badgeStyle.RowScope) === null || _c === void 0 ? void 0 : _c.ExcludeSummaryRows) ? 'no' : 'yes'))));
@@ -27,7 +27,7 @@ export const StyledColumnWizardSettingsSection = (props) => {
27
27
  props.onChange(Object.assign(Object.assign({}, data), { BadgeStyle: Object.assign(Object.assign({}, data.BadgeStyle), { RowScope: Object.assign(Object.assign({}, data.BadgeStyle.RowScope), { ExcludeDataRows }) }) }));
28
28
  };
29
29
  const onExcludeGroupedRowsChanged = (ExcludeGroupedRows) => {
30
- props.onChange(Object.assign(Object.assign({}, data), { BadgeStyle: Object.assign(Object.assign({}, data.BadgeStyle), { RowScope: Object.assign(Object.assign({}, data.BadgeStyle.RowScope), { ExcludeGroupedRows }) }) }));
30
+ props.onChange(Object.assign(Object.assign({}, data), { BadgeStyle: Object.assign(Object.assign({}, data.BadgeStyle), { RowScope: Object.assign(Object.assign({}, data.BadgeStyle.RowScope), { ExcludeGroupRows: ExcludeGroupedRows }) }) }));
31
31
  };
32
32
  const onExcludeSummaryRowsChanged = (ExcludeSummaryRows) => {
33
33
  props.onChange(Object.assign(Object.assign({}, data), { BadgeStyle: Object.assign(Object.assign({}, data.BadgeStyle), { RowScope: Object.assign(Object.assign({}, data.BadgeStyle.RowScope), { ExcludeSummaryRows }) }) }));
@@ -42,11 +42,11 @@ export const StyledColumnWizardSettingsSection = (props) => {
42
42
  React.createElement(CheckBox, { "data-name": "exclude-data-rows-checkbox", checked:
43
43
  // @ts-ignore
44
44
  (_a = data.BadgeStyle.RowScope) === null || _a === void 0 ? void 0 : _a.ExcludeDataRows, onChange: onExcludeDataRowsChanged, mr: 2 }))),
45
- React.createElement(FormRow, { label: "Exclude Grouped Rows:" },
45
+ React.createElement(FormRow, { label: "Exclude Group Rows:" },
46
46
  React.createElement(Flex, { alignItems: "center", marginLeft: 2 },
47
47
  React.createElement(CheckBox, { "data-name": "exclude-grouped-rows-checkbox", checked:
48
48
  // @ts-ignore
49
- (_b = data.BadgeStyle.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupedRows, onChange: onExcludeGroupedRowsChanged, mr: 2 }))),
49
+ (_b = data.BadgeStyle.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeGroupRows, onChange: onExcludeGroupedRowsChanged, mr: 2 }))),
50
50
  React.createElement(FormRow, { label: "Exclude Row Summaries:" },
51
51
  React.createElement(Flex, { alignItems: "center", marginLeft: 2 },
52
52
  React.createElement(CheckBox, { "data-name": "exclude-summary-rows-checkbox", checked:
@@ -43,7 +43,7 @@ export const ReactActionColumnRenderer = (props) => {
43
43
  const isSummaryRow = adaptable.api.gridApi.isSummaryNode(props.node);
44
44
  let shouldRender = true;
45
45
  if (isGroupedRow) {
46
- if ((_a = actionColumn.rowScope) === null || _a === void 0 ? void 0 : _a.ExcludeGroupedRows) {
46
+ if ((_a = actionColumn.rowScope) === null || _a === void 0 ? void 0 : _a.ExcludeGroupRows) {
47
47
  shouldRender = false;
48
48
  }
49
49
  }
@@ -89,7 +89,7 @@ export class ActionColumnRenderer {
89
89
  const isSummaryRow = adaptable.api.gridApi.isSummaryNode(params.node);
90
90
  let shouldRender = true;
91
91
  if (isGroupedRow) {
92
- if ((_a = actionColumn.rowScope) === null || _a === void 0 ? void 0 : _a.ExcludeGroupedRows) {
92
+ if ((_a = actionColumn.rowScope) === null || _a === void 0 ? void 0 : _a.ExcludeGroupRows) {
93
93
  shouldRender = false;
94
94
  }
95
95
  }
@@ -576,8 +576,8 @@ export class AgGridColumnAdapter {
576
576
  PrimaryKeyValue: gridCell.primaryKeyValue,
577
577
  ColumnId: gridCell.column.columnId,
578
578
  };
579
- const cellNotes = this.adaptableApi.noteApi.getNotesForCell(cellPosition);
580
- if (!(cellNotes === null || cellNotes === void 0 ? void 0 : cellNotes.length)) {
579
+ const cellNote = this.adaptableApi.noteApi.getNoteForCell(cellPosition);
580
+ if (!cellNote) {
581
581
  return undefined;
582
582
  }
583
583
  return 'ab-Cell-Note';
@@ -10,6 +10,7 @@ export declare class AgGridMenuAdapter {
10
10
  destroy(): void;
11
11
  buildColumnMenu(params: GetMainMenuItemsParams, originalGetMainMenuItems: GetMainMenuItems): (string | MenuItemDef)[];
12
12
  buildContextMenu(params: GetContextMenuItemsParams, originalGetContextMenuItems: GetContextMenuItems): (string | MenuItemDef)[];
13
+ private mapAgGridItemTypeToAgGridMenuItem;
13
14
  private removeConsecutiveSeparators;
14
15
  private createColumnMenuContextObject;
15
16
  private createAdaptableContextMenuItems;