@adaptabletools/adaptable 18.0.0-canary.27 → 18.0.0-canary.28

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 (44) hide show
  1. package/base.css.map +1 -1
  2. package/index.css.map +1 -1
  3. package/package.json +1 -1
  4. package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
  5. package/src/Api/Implementation/ColumnApiImpl.js +6 -6
  6. package/src/Api/Implementation/ExpressionApiImpl.js +12 -12
  7. package/src/Api/Implementation/GridApiImpl.js +2 -2
  8. package/src/Api/Implementation/ScopeApiImpl.js +4 -4
  9. package/src/Api/Internal/ColumnFilterInternalApi.js +2 -2
  10. package/src/Api/Internal/DashboardInternalApi.js +2 -2
  11. package/src/Api/Internal/FormatColumnInternalApi.js +5 -3
  12. package/src/Api/Internal/GridFilterInternalApi.d.ts +2 -2
  13. package/src/Api/Internal/GridFilterInternalApi.js +2 -2
  14. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  15. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +2 -2
  16. package/src/PredefinedConfig/Common/Menu.d.ts +4 -4
  17. package/src/PredefinedConfig/Common/Menu.js +8 -5
  18. package/src/PredefinedConfig/Common/TransposeConfig.d.ts +3 -3
  19. package/src/Strategy/ColumnFilterModule.js +1 -1
  20. package/src/Strategy/ColumnInfoModule.js +2 -2
  21. package/src/Strategy/GridInfoModule.js +1 -1
  22. package/src/Strategy/LayoutModule.js +8 -8
  23. package/src/Strategy/StyledColumnModule.js +9 -8
  24. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +4 -2
  25. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
  26. package/src/agGrid/AdaptableAgGrid.js +2 -1
  27. package/src/agGrid/AgGridMenuAdapter.d.ts +1 -0
  28. package/src/agGrid/AgGridMenuAdapter.js +144 -64
  29. package/src/components/icons/filter-off.d.ts +3 -0
  30. package/src/components/icons/filter-off.js +4 -0
  31. package/src/components/icons/grid-info.d.ts +3 -0
  32. package/src/components/icons/grid-info.js +4 -0
  33. package/src/components/icons/index.js +10 -0
  34. package/src/components/icons/select-all.d.ts +3 -0
  35. package/src/components/icons/select-all.js +4 -0
  36. package/src/components/icons/select-fwd.d.ts +3 -0
  37. package/src/components/icons/select-fwd.js +4 -0
  38. package/src/components/icons/select-off.d.ts +3 -0
  39. package/src/components/icons/select-off.js +4 -0
  40. package/src/env.js +2 -2
  41. package/src/parser/src/parser.js +1218 -55
  42. package/src/parser/src/predicate/mapQlPredicateToExpression.js +1 -3
  43. package/src/parser/src/types.js +1 -2
  44. package/tsconfig.esm.tsbuildinfo +1 -1
@@ -7,8 +7,8 @@ export class ExpressionApiImpl extends ApiBase {
7
7
  this.internalApi = new ExpressionInternalApi(adaptable);
8
8
  }
9
9
  isValidBooleanExpression(query, module, validationErrorMessage) {
10
- const { isValid, errorMessage } = this.getAdaptableApi().internalApi
11
- .getQueryLanguageService()
10
+ const { isValid, errorMessage } = this.getAdaptableApi()
11
+ .internalApi.getQueryLanguageService()
12
12
  .validateBoolean(query, module, { force: true });
13
13
  if (!isValid && validationErrorMessage) {
14
14
  this.logWarn(`${validationErrorMessage} :: ${errorMessage}`);
@@ -16,8 +16,8 @@ export class ExpressionApiImpl extends ApiBase {
16
16
  return isValid;
17
17
  }
18
18
  isValidObservableExpression(expression, module, validationErrorMessage) {
19
- const { isValid, errorMessage } = this.getAdaptableApi().internalApi
20
- .getQueryLanguageService()
19
+ const { isValid, errorMessage } = this.getAdaptableApi()
20
+ .internalApi.getQueryLanguageService()
21
21
  .validateObservable(expression, module);
22
22
  if (!isValid && validationErrorMessage) {
23
23
  this.logWarn(`${validationErrorMessage} :: ${errorMessage}`);
@@ -25,8 +25,8 @@ export class ExpressionApiImpl extends ApiBase {
25
25
  return isValid;
26
26
  }
27
27
  isValidAggregatedBooleanExpression(expression, module, validationErrorMessage) {
28
- const { isValid, errorMessage } = this.getAdaptableApi().internalApi
29
- .getQueryLanguageService()
28
+ const { isValid, errorMessage } = this.getAdaptableApi()
29
+ .internalApi.getQueryLanguageService()
30
30
  .validateAggregatedBoolean(expression, module);
31
31
  if (!isValid && validationErrorMessage) {
32
32
  this.logWarn(`${validationErrorMessage} :: ${errorMessage}`);
@@ -34,8 +34,8 @@ export class ExpressionApiImpl extends ApiBase {
34
34
  return isValid;
35
35
  }
36
36
  isValidAggregatedScalarExpression(expression, module, validationErrorMessage) {
37
- const { isValid, errorMessage } = this.getAdaptableApi().internalApi
38
- .getQueryLanguageService()
37
+ const { isValid, errorMessage } = this.getAdaptableApi()
38
+ .internalApi.getQueryLanguageService()
39
39
  .validateAggregatedScalar(expression, module);
40
40
  if (!isValid && validationErrorMessage) {
41
41
  this.logWarn(`${validationErrorMessage} :: ${errorMessage}`);
@@ -47,8 +47,8 @@ export class ExpressionApiImpl extends ApiBase {
47
47
  }
48
48
  getColumnsFromExpression(expression) {
49
49
  try {
50
- const columnIds = this.getAdaptableApi().internalApi
51
- .getQueryLanguageService()
50
+ const columnIds = this.getAdaptableApi()
51
+ .internalApi.getQueryLanguageService()
52
52
  .getColumnsFromExpression(expression);
53
53
  columnIds.forEach((columnId) => {
54
54
  const calculatedColumn = this.getAdaptableApi().calculatedColumnApi.getCalculatedColumnForColumnId(columnId);
@@ -79,8 +79,8 @@ export class ExpressionApiImpl extends ApiBase {
79
79
  return ((_d = (_c = (_b = (_a = query.BooleanExpression) !== null && _a !== void 0 ? _a : query.ScalarExpression) !== null && _b !== void 0 ? _b : query.ObservableExpression) !== null && _c !== void 0 ? _c : query.AggregatedBooleanExpression) !== null && _d !== void 0 ? _d : query.AggregatedScalarExpression);
80
80
  }
81
81
  getAdaptableQueryExpressionWithColumnFriendlyNames(query) {
82
- return this.getAdaptableApi().internalApi
83
- .getQueryLanguageService()
82
+ return this.getAdaptableApi()
83
+ .internalApi.getQueryLanguageService()
84
84
  .getExpressionWithColumnFriendlyNames(this.getAdaptableQueryExpression(query));
85
85
  }
86
86
  useCaseSensitivity() {
@@ -215,8 +215,8 @@ export class GridApiImpl extends ApiBase {
215
215
  }
216
216
  selectCellRangeByQuery(query, gridCellRange, clearSelection) {
217
217
  const filteredRowNodes = [];
218
- const isRowNodeInQuery = (rowNode) => this.getAdaptableApi().internalApi
219
- .getQueryLanguageService()
218
+ const isRowNodeInQuery = (rowNode) => this.getAdaptableApi()
219
+ .internalApi.getQueryLanguageService()
220
220
  .evaluateBooleanExpression(query, 'GridInfo', rowNode);
221
221
  if (gridCellRange) {
222
222
  const [startNode, endNode] = this.getSelectionStartEndNodes(gridCellRange);
@@ -53,8 +53,8 @@ export class ScopeApiImpl extends ApiBase {
53
53
  if ('ColumnIds' in scope) {
54
54
  return ((scope.ColumnIds.length > 1 ? 'Columns' : 'Column') +
55
55
  ': ' +
56
- this.getAdaptableApi().columnApi
57
- .getFriendlyNamesForColumnIds(scope.ColumnIds)
56
+ this.getAdaptableApi()
57
+ .columnApi.getFriendlyNamesForColumnIds(scope.ColumnIds)
58
58
  .map((c) => {
59
59
  return '"' + c + '"';
60
60
  })
@@ -135,8 +135,8 @@ export class ScopeApiImpl extends ApiBase {
135
135
  if ('ColumnIds' in scope) {
136
136
  let text = scope.ColumnIds.length == 1 ? 'Column: ' : 'Columns: ';
137
137
  return (text +
138
- this.getAdaptableApi().columnApi
139
- .getFriendlyNamesForColumnIds(scope.ColumnIds)
138
+ this.getAdaptableApi()
139
+ .columnApi.getFriendlyNamesForColumnIds(scope.ColumnIds)
140
140
  .map((c) => {
141
141
  return '"' + c + '"';
142
142
  })
@@ -124,8 +124,8 @@ export class ColumnFilterInternalApi extends ApiBase {
124
124
  const isClearAndPreviousWasActive = action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR &&
125
125
  this.getAdaptableApi().columnFilterApi.isColumnFilterActive(action.columnFilter);
126
126
  const isClearAllAtLeastOneActiveFilter = action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR_ALL &&
127
- this.getAdaptableApi().columnFilterApi
128
- .getColumnFilters()
127
+ this.getAdaptableApi()
128
+ .columnFilterApi.getColumnFilters()
129
129
  .some((columnFilter) => this.getAdaptableApi().columnFilterApi.isColumnFilterActive(columnFilter));
130
130
  let isEditTrigger = false;
131
131
  if (action.type === LayoutRedux.LAYOUT_COLUMN_FILTER_EDIT) {
@@ -51,8 +51,8 @@ export class DashboardInternalApi extends ApiBase {
51
51
  return false;
52
52
  }
53
53
  isToolbarCustom(toolbarName) {
54
- return this.getAdaptableApi().dashboardApi
55
- .getCustomToolbars()
54
+ return this.getAdaptableApi()
55
+ .dashboardApi.getCustomToolbars()
56
56
  .some((tb) => tb.name === toolbarName);
57
57
  }
58
58
  getCustomToolbarRenderContainerId(customToolbarName) {
@@ -184,8 +184,8 @@ export class FormatColumnInternalApi extends ApiBase {
184
184
  evaluateExpression(formatColumn, node) {
185
185
  const isValidExpression = this.getAdaptableApi().expressionApi.isValidBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, `Invalid format column rule '${formatColumn.Rule.BooleanExpression}'`);
186
186
  return (isValidExpression &&
187
- this.getAdaptableApi().internalApi
188
- .getQueryLanguageService()
187
+ this.getAdaptableApi()
188
+ .internalApi.getQueryLanguageService()
189
189
  .evaluateBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, node));
190
190
  }
191
191
  /**
@@ -235,7 +235,9 @@ export class FormatColumnInternalApi extends ApiBase {
235
235
  });
236
236
  const columnsThatNeedRefresh = new Set();
237
237
  this.getFormatColumnsDependentOnColumns(impactedColumnIds).forEach((formatColumn) => {
238
- this.getAdaptableApi().scopeApi.getColumnsForScope(formatColumn.Scope).forEach((col) => {
238
+ this.getAdaptableApi()
239
+ .scopeApi.getColumnsForScope(formatColumn.Scope)
240
+ .forEach((col) => {
239
241
  columnsThatNeedRefresh.add(col.columnId);
240
242
  });
241
243
  });
@@ -3,7 +3,7 @@ import { GridFilter } from '../../types';
3
3
  export declare class GridFilterInternalApi extends ApiBase {
4
4
  fireGridFilterAppliedEvent(): void;
5
5
  /**
6
- * Compares to Grid Filters to see if they are identical
7
- */
6
+ * Compares to Grid Filters to see if they are identical
7
+ */
8
8
  isGridFilterDifferent(oldFilter: GridFilter, newFilter: GridFilter): boolean;
9
9
  }
@@ -11,8 +11,8 @@ export class GridFilterInternalApi extends ApiBase {
11
11
  }
12
12
  }
13
13
  /**
14
- * Compares to Grid Filters to see if they are identical
15
- */
14
+ * Compares to Grid Filters to see if they are identical
15
+ */
16
16
  isGridFilterDifferent(oldFilter, newFilter) {
17
17
  return (oldFilter === null || oldFilter === void 0 ? void 0 : oldFilter.Expression) === (newFilter === null || newFilter === void 0 ? void 0 : newFilter.Expression);
18
18
  }
@@ -54,4 +54,4 @@ export interface AdaptableBaseIcon {
54
54
  /**
55
55
  * All AdapTable System Icon names
56
56
  */
57
- export type AdaptableSystemIconName = 'add' | 'alert' | 'building' | 'laptop' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-long' | 'arrow-down-long' | 'arrow-expand' | 'paperclip' | 'unfilled-circle' | 'boolean-list' | 'broadcast' | 'brush' | 'spanner' | 'edit-table' | 'chart-and-grid' | 'calendar' | 'call' | 'cells' | 'fdc3' | 'flag' | 'chart' | 'chat' | 'check' | 'check-circle' | 'checked' | 'clone' | 'close' | 'cloud-upload' | 'collapse' | 'column-add' | 'columns' | 'filter-list' | 'comment' | 'comments' | 'contains' | 'dashboard' | 'data-set' | 'date-range' | 'delete' | 'division' | 'dock' | 'dollar' | 'drag' | 'edit' | 'ends-with' | 'equals' | 'equation' | 'error' | 'expand' | 'exponent' | 'export' | 'export-data' | 'fast-backward' | 'fast-forward' | 'filter' | 'lightning' | 'folder' | 'folder-open' | 'folder-shared' | 'color-palette' | 'horizontal-lines' | 'function' | 'greater-than' | 'greater-than-or-equal' | 'history' | 'home' | 'import-export' | 'info' | 'brain' | 'download' | 'grid' | 'interactions' | 'less-than' | 'less-than-or-equal' | 'list' | 'logout' | 'mail' | 'menu' | 'minus' | 'multiplication' | 'money' | 'newpage' | 'news' | 'filled-circle' | 'not-contains' | 'not-equal' | 'open-in-new' | 'order' | 'organisation' | 'pause' | 'percent' | 'percent-tag' | 'person' | 'contact' | 'pie-chart' | 'play' | 'plus' | 'add-circle' | 'search' | 'search-table' | 'quote' | 'refresh' | 'regex' | 'reminder' | 'save' | 'schedule' | 'science' | 'settings' | 'link' | 'sort-asc' | 'sort-desc' | 'spark-line' | 'resume' | 'starts-with' | 'assignment' | 'statusbar' | 'stop' | 'traffic-lights' | 'tab-unselected' | 'theme' | 'clipboard' | 'target' | 'triangle-down' | 'triangle-up' | 'unchecked' | 'undo' | 'downloaded' | 'upload' | 'warning' | 'gradient' | 'badge' | 'italic' | 'bold' | 'align-left' | 'align-right' | 'align-center' | 'align-justify' | 'underline' | 'strikethrough' | 'overline' | 'case-upper' | 'case-lower' | 'case-sentence' | 'visibility-on' | 'visibility-off' | 'visibility-off-bold' | 'visibility-on-bold' | 'note' | 'import' | 'grid-filter' | 'rows';
57
+ export type AdaptableSystemIconName = 'add' | 'alert' | 'building' | 'laptop' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-long' | 'arrow-down-long' | 'arrow-expand' | 'paperclip' | 'unfilled-circle' | 'boolean-list' | 'broadcast' | 'brush' | 'spanner' | 'edit-table' | 'chart-and-grid' | 'calendar' | 'call' | 'cells' | 'fdc3' | 'flag' | 'chart' | 'chat' | 'check' | 'check-circle' | 'checked' | 'clone' | 'close' | 'cloud-upload' | 'collapse' | 'column-add' | 'columns' | 'filter-list' | 'comment' | 'comments' | 'contains' | 'dashboard' | 'data-set' | 'date-range' | 'delete' | 'division' | 'dock' | 'dollar' | 'drag' | 'edit' | 'ends-with' | 'equals' | 'equation' | 'error' | 'expand' | 'exponent' | 'export' | 'export-data' | 'fast-backward' | 'fast-forward' | 'filter' | 'filter-off' | 'lightning' | 'folder' | 'folder-open' | 'folder-shared' | 'color-palette' | 'horizontal-lines' | 'function' | 'greater-than' | 'greater-than-or-equal' | 'history' | 'home' | 'import-export' | 'info' | 'brain' | 'download' | 'grid' | 'interactions' | 'less-than' | 'less-than-or-equal' | 'list' | 'logout' | 'mail' | 'menu' | 'minus' | 'multiplication' | 'money' | 'newpage' | 'news' | 'filled-circle' | 'not-contains' | 'not-equal' | 'open-in-new' | 'order' | 'organisation' | 'pause' | 'percent' | 'percent-tag' | 'person' | 'contact' | 'pie-chart' | 'play' | 'plus' | 'add-circle' | 'search' | 'search-table' | 'select-all' | 'select-off' | 'select-fwd' | 'quote' | 'refresh' | 'regex' | 'reminder' | 'save' | 'schedule' | 'science' | 'settings' | 'link' | 'sort-asc' | 'sort-desc' | 'spark-line' | 'resume' | 'starts-with' | 'assignment' | 'statusbar' | 'stop' | 'traffic-lights' | 'tab-unselected' | 'theme' | 'clipboard' | 'target' | 'triangle-down' | 'triangle-up' | 'unchecked' | 'undo' | 'downloaded' | 'upload' | 'warning' | 'gradient' | 'badge' | 'italic' | 'bold' | 'align-left' | 'align-right' | 'align-center' | 'align-justify' | 'underline' | 'strikethrough' | 'overline' | 'case-upper' | 'case-lower' | 'case-sentence' | 'visibility-on' | 'visibility-off' | 'visibility-off-bold' | 'visibility-on-bold' | 'note' | 'import' | 'grid-filter' | 'grid-info' | 'rows';
@@ -74,7 +74,7 @@ export declare const Fdc3StandardIntents: ("StartCall" | "StartChat" | "StartEma
74
74
  /**
75
75
  * All FDC3 standard intents
76
76
  */
77
- export type Fdc3StandardIntentType = typeof Fdc3StandardIntents[number];
77
+ export type Fdc3StandardIntentType = (typeof Fdc3StandardIntents)[number];
78
78
  /**
79
79
  * Custom FDC3 intent
80
80
  */
@@ -86,4 +86,4 @@ export type Fdc3IntentType = Fdc3StandardIntentType | Fdc3CustomIntentType;
86
86
  /**
87
87
  * Valid context for a given FDC3 intent
88
88
  */
89
- export type CompatibleContext<F extends Fdc3StandardIntentType> = typeof Fdc3IntentConfiguration[F]['contexts'][number];
89
+ export type CompatibleContext<F extends Fdc3StandardIntentType> = (typeof Fdc3IntentConfiguration)[F]['contexts'][number];
@@ -5,16 +5,16 @@ import { SelectedCellInfo } from '../Selection/SelectedCellInfo';
5
5
  import { SelectedRowInfo } from '../Selection/SelectedRowInfo';
6
6
  import { Column, IRowNode } from '@ag-grid-community/core';
7
7
  import { AdaptableIcon, BaseContext } from '../../types';
8
- export type AdaptableColumnMenuItemName = typeof ADAPTABLE_COLUMN_MENU_ITEMS[number];
9
- export type AdaptableContextMenuItemName = typeof ADAPTABLE_CONTEXT_MENU_ITEMS[number];
8
+ export type AdaptableColumnMenuItemName = (typeof ADAPTABLE_COLUMN_MENU_ITEMS)[number];
9
+ export type AdaptableContextMenuItemName = (typeof ADAPTABLE_CONTEXT_MENU_ITEMS)[number];
10
10
  /**
11
11
  * List of Shipped Adaptable Column Menu Items
12
12
  */
13
- export declare const ADAPTABLE_COLUMN_MENU_ITEMS: readonly ["calculated-column-edit", "cell-summary-show", "column-filter-bar-hide", "column-filter-bar-show", "column-filter-clear", "column-filter-on-cell-value", "column-filter-suspend", "column-filter-unsuspend", "column-info-show", "custom-sort-add", "custom-sort-edit", "dashboard-collapse", "dashboard-configure", "dashboard-dock", "dashboard-expand", "dashboard-float", "dashboard-hide", "dashboard-show", "data-import", "flashing-cell-add", "flashing-cell-delete", "format-column-add", "format-column-edit", "free-text-column-edit", "grid-info-show", "layout-column-caption-change", "layout-column-hide", "layout-edit", "layout-select-actions", "layout-column-select", "layout-column-select-preserve", "layout-column-select-reset", "layout-select-all", "plus-minus-add", "settings-panel-open", "styled-column-badge-add", "styled-column-badge-edit", "styled-column-gradient-add", "styled-column-gradient-edit", "styled-column-percent-bar-add", "styled-column-percent-bar-edit", "styled-column-sparkline-add", "styled-column-sparkline-edit", "system-status-show", "_navbar"];
13
+ export declare const ADAPTABLE_COLUMN_MENU_ITEMS: readonly ["calculated-column-edit", "cell-summary-show", "column-group", "column-filter-group", "column-filter-bar-hide", "column-filter-bar-show", "column-filter-clear", "column-filter-suspend", "column-filter-unsuspend", "column-info-show", "custom-sort-add", "custom-sort-edit", "dashboard-collapse", "dashboard-configure", "dashboard-dock", "dashboard-expand", "dashboard-float", "dashboard-hide", "dashboard-show", "data-import", "flashing-cell-add", "flashing-cell-delete", "format-column-add", "format-column-edit", "free-text-column-edit", "grid-group", "grid-info-show", "layout-column-caption-change", "layout-column-hide", "layout-edit", "layout-column-select", "layout-column-select-preserve", "layout-column-select-reset", "layout-grid-select", "plus-minus-add", "settings-panel-open", "styling-group", "styled-column-badge-add", "styled-column-badge-edit", "styled-column-gradient-add", "styled-column-gradient-edit", "styled-column-percent-bar-add", "styled-column-percent-bar-edit", "styled-column-sparkline-add", "styled-column-sparkline-edit", "system-status-show", "_navbar"];
14
14
  /**
15
15
  * List of Shipped Adaptable Context Menu Items
16
16
  */
17
- export declare const ADAPTABLE_CONTEXT_MENU_ITEMS: readonly ["menu-group-parent", "alert-clear", "bulk-update-apply", "calculated-column-edit", "cell-summary-show", "column-filter-on-cell-value", "column-filter-clear", "column-filter-suspend", "column-filter-unsuspend", "column-info-show", "comment-add", "comment-remove", "dashboard-collapse", "dashboard-configure", "dashboard-dock", "dashboard-expand", "dashboard-float", "dashboard-hide", "dashboard-show", "data-import", "export-cells-clipboard", "export-cells-csv", "export-cells-excel", "export-cells-json", "export-cells-table", "export-cells-custom-destination", "export-rows-clipboard", "export-rows-csv", "export-rows-excel", "export-rows-json", "export-rows-table", "export-rows-custom-destination", "fdc3-broadcast", "fdc3-raise-intent", "flashing-cell-clear", "flashing-row-clear", "grid-info-show", "layout-aggregated-view", "layout-auto-size", "layout-clear-selection", "layout-edit", "layout-select-all", "layout-grid-actions", "note-add", "note-remove", "settings-panel-open", "smart-edit-apply", "system-status-show"];
17
+ export declare const ADAPTABLE_CONTEXT_MENU_ITEMS: readonly ["menu-group", "alert-clear", "bulk-update-apply", "calculated-column-edit", "cell-summary-show", "column-group", "column-filter-on-cell-value", "column-filter-clear", "column-filter-suspend", "column-filter-unsuspend", "column-info-show", "comment-add", "comment-remove", "dashboard-collapse", "dashboard-configure", "dashboard-dock", "dashboard-expand", "dashboard-float", "dashboard-hide", "dashboard-show", "data-import", "export-cells-clipboard", "export-cells-csv", "export-cells-excel", "export-cells-json", "export-cells-table", "export-cells-custom-destination", "export-rows-clipboard", "export-rows-csv", "export-rows-excel", "export-rows-json", "export-rows-table", "export-rows-custom-destination", "fdc3-broadcast", "fdc3-raise-intent", "flashing-cell-clear", "flashing-row-clear", "grid-group", "grid-info-show", "layout-aggregated-view", "layout-auto-size", "layout-clear-selection", "layout-edit", "layout-select-all", "note-add", "note-remove", "settings-panel-open", "smart-edit-apply", "system-status-show"];
18
18
  /**
19
19
  * Menu item used by Adaptable in both Column and Context Menus
20
20
  */
@@ -4,10 +4,11 @@
4
4
  export const ADAPTABLE_COLUMN_MENU_ITEMS = [
5
5
  'calculated-column-edit',
6
6
  'cell-summary-show',
7
+ 'column-group',
8
+ 'column-filter-group',
7
9
  'column-filter-bar-hide',
8
10
  'column-filter-bar-show',
9
11
  'column-filter-clear',
10
- 'column-filter-on-cell-value',
11
12
  'column-filter-suspend',
12
13
  'column-filter-unsuspend',
13
14
  'column-info-show',
@@ -26,17 +27,18 @@ export const ADAPTABLE_COLUMN_MENU_ITEMS = [
26
27
  'format-column-add',
27
28
  'format-column-edit',
28
29
  'free-text-column-edit',
30
+ 'grid-group',
29
31
  'grid-info-show',
30
32
  'layout-column-caption-change',
31
33
  'layout-column-hide',
32
34
  'layout-edit',
33
- 'layout-select-actions',
34
35
  'layout-column-select',
35
36
  'layout-column-select-preserve',
36
37
  'layout-column-select-reset',
37
- 'layout-select-all',
38
+ 'layout-grid-select',
38
39
  'plus-minus-add',
39
40
  'settings-panel-open',
41
+ 'styling-group',
40
42
  'styled-column-badge-add',
41
43
  'styled-column-badge-edit',
42
44
  'styled-column-gradient-add',
@@ -52,11 +54,12 @@ export const ADAPTABLE_COLUMN_MENU_ITEMS = [
52
54
  * List of Shipped Adaptable Context Menu Items
53
55
  */
54
56
  export const ADAPTABLE_CONTEXT_MENU_ITEMS = [
55
- 'menu-group-parent',
57
+ 'menu-group',
56
58
  'alert-clear',
57
59
  'bulk-update-apply',
58
60
  'calculated-column-edit',
59
61
  'cell-summary-show',
62
+ 'column-group',
60
63
  'column-filter-on-cell-value',
61
64
  'column-filter-clear',
62
65
  'column-filter-suspend',
@@ -88,13 +91,13 @@ export const ADAPTABLE_CONTEXT_MENU_ITEMS = [
88
91
  'fdc3-raise-intent',
89
92
  'flashing-cell-clear',
90
93
  'flashing-row-clear',
94
+ 'grid-group',
91
95
  'grid-info-show',
92
96
  'layout-aggregated-view',
93
97
  'layout-auto-size',
94
98
  'layout-clear-selection',
95
99
  'layout-edit',
96
100
  'layout-select-all',
97
- 'layout-grid-actions',
98
101
  'note-add',
99
102
  'note-remove',
100
103
  'settings-panel-open',
@@ -18,9 +18,9 @@ export interface TransposeConfig {
18
18
  */
19
19
  visibleColumns?: boolean;
20
20
  /**
21
- * Only show curerntly visible Rows
22
- * @defaultValue false
23
- */
21
+ * Only show curerntly visible Rows
22
+ * @defaultValue false
23
+ */
24
24
  visibleRows?: boolean;
25
25
  /**
26
26
  * Autosize columns in transposed view
@@ -47,7 +47,7 @@ export class ColumnFilterModule extends AdaptableModuleBase {
47
47
  const isFilterVisible = this.api.columnFilterApi.isQuickFilterVisible();
48
48
  if (this.isModuleEditable() &&
49
49
  this.api.optionsApi.getColumnFilterOptions().useAdaptableColumnFiltering) {
50
- columnFilterMenuItems.push(this.createMenuItemReduxAction(isFilterVisible ? 'column-filter-bar-hide' : 'column-filter-bar-show', isFilterVisible ? 'Hide Filter Bar' : 'Show Filter Bar', isFilterVisible ? 'unchecked' : 'check', isFilterVisible
50
+ columnFilterMenuItems.push(this.createMenuItemReduxAction(isFilterVisible ? 'column-filter-bar-hide' : 'column-filter-bar-show', isFilterVisible ? 'Hide Filter Bar' : 'Show Filter Bar', isFilterVisible ? 'filter-off' : 'filter', isFilterVisible
51
51
  ? SystemRedux.SystemQuickFilterBarHide()
52
52
  : SystemRedux.SystemQuickFilterBarShow()));
53
53
  }
@@ -18,7 +18,7 @@ export class ColumnInfoModule extends AdaptableModuleBase {
18
18
  Name: 'column-info-show',
19
19
  Label: 'Column Info',
20
20
  ComponentName: this.moduleInfo.Popup,
21
- Icon: this.moduleInfo.Glyph,
21
+ Icon: 'info',
22
22
  PopupParams: columnPopUpParams,
23
23
  }),
24
24
  ];
@@ -35,7 +35,7 @@ export class ColumnInfoModule extends AdaptableModuleBase {
35
35
  Name: 'column-info-show',
36
36
  Label: 'Column Info',
37
37
  ComponentName: this.moduleInfo.Popup,
38
- Icon: this.moduleInfo.Glyph,
38
+ Icon: 'info',
39
39
  PopupParams: columnPopUpParams,
40
40
  }),
41
41
  ];
@@ -2,7 +2,7 @@ import { AdaptableModuleBase } from './AdaptableModuleBase';
2
2
  import * as ModuleConstants from '../Utilities/Constants/ModuleConstants';
3
3
  export class GridInfoModule extends AdaptableModuleBase {
4
4
  constructor(api) {
5
- super(ModuleConstants.GridInfoModuleId, ModuleConstants.GridInfoFriendlyName, 'align-justify', 'GridInfoPopup', 'Display information about the Grid, the Options selected and all columns', api);
5
+ super(ModuleConstants.GridInfoModuleId, ModuleConstants.GridInfoFriendlyName, 'grid-info', 'GridInfoPopup', 'Display information about the Grid, the Options selected and all columns', api);
6
6
  }
7
7
  getViewAccessLevel() {
8
8
  return 'Full';
@@ -154,7 +154,7 @@ export class LayoutModule extends AdaptableModuleBase {
154
154
  let returnColumnMenuItems = [];
155
155
  const isReadOnlyLayout = this.api.layoutApi.isCurrentLayoutReadOnly();
156
156
  if (!isReadOnlyLayout) {
157
- returnColumnMenuItems.push(this.createMenuItemShowPopup('layout-edit', 'Edit Layout', this.moduleInfo.Popup, this.moduleInfo.Glyph, {
157
+ returnColumnMenuItems.push(this.createMenuItemShowPopup('layout-edit', 'Edit Layout', this.moduleInfo.Popup, 'edit-table', {
158
158
  action: 'Edit',
159
159
  source: 'ColumnMenu',
160
160
  value: this.api.layoutApi.getCurrentLayout(),
@@ -171,20 +171,20 @@ export class LayoutModule extends AdaptableModuleBase {
171
171
  }
172
172
  const hasExistingSelection = (_b = (_a = this.api.gridApi.getSelectedCellInfo()) === null || _a === void 0 ? void 0 : _a.gridCells) === null || _b === void 0 ? void 0 : _b.length;
173
173
  if (hasExistingSelection) {
174
- returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-column-select-preserve', 'Column (Preserve Selection)', 'column-add', () => {
174
+ returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-column-select-preserve', 'Select Column (Preserve Selection)', 'select-fwd', () => {
175
175
  this.api.columnApi.addColumnToSelection(column.columnId);
176
176
  }));
177
- returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-column-select-reset', 'Column (Reset Selection)', 'columns', () => {
177
+ returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-column-select-reset', 'Select Column (Reset Selection)', 'tab-unselected', () => {
178
178
  this.api.columnApi.selectColumn(column.columnId);
179
179
  }));
180
180
  }
181
181
  else {
182
- returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-column-select', 'Column', 'columns', () => {
182
+ returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-column-select', 'Select Column', 'tab-unselected', () => {
183
183
  this.api.columnApi.selectColumn(column.columnId);
184
184
  }));
185
185
  }
186
186
  }
187
- returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-select-all', 'Whole Grid', this.moduleInfo.Glyph, () => {
187
+ returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-grid-select', 'Select Grid', 'select-all', () => {
188
188
  this.api.gridApi.selectAll();
189
189
  }));
190
190
  return returnColumnMenuItems;
@@ -192,7 +192,7 @@ export class LayoutModule extends AdaptableModuleBase {
192
192
  createContextMenuItems(menuContext) {
193
193
  let returnColumnMenuItems = [];
194
194
  if (this.isModuleEditable() && !this.api.layoutApi.isCurrentLayoutReadOnly()) {
195
- returnColumnMenuItems.push(this.createMenuItemShowPopup('layout-edit', 'Edit Layout', this.moduleInfo.Popup, this.moduleInfo.Glyph, {
195
+ returnColumnMenuItems.push(this.createMenuItemShowPopup('layout-edit', 'Edit Layout', this.moduleInfo.Popup, 'edit-table', {
196
196
  action: 'Edit',
197
197
  source: 'ColumnMenu',
198
198
  }));
@@ -201,11 +201,11 @@ export class LayoutModule extends AdaptableModuleBase {
201
201
  ArrayExtensions.IsNotNullOrEmpty(menuContext.selectedCellInfo.columns)) ||
202
202
  (menuContext.selectedRowInfo &&
203
203
  ArrayExtensions.IsNotNullOrEmpty(menuContext.selectedRowInfo.gridRows))) {
204
- returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-clear-selection', 'Clear Selected Cells', 'undo', () => {
204
+ returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-clear-selection', 'Clear Selected Cells', 'select-off', () => {
205
205
  this.api.gridApi.deselectAll();
206
206
  }));
207
207
  }
208
- returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-select-all', 'Select', 'tab-unselected', () => {
208
+ returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-select-all', 'Select Grid', 'select-all', () => {
209
209
  this.api.gridApi.selectAll();
210
210
  }));
211
211
  returnColumnMenuItems.push(this.createMenuItemClickFunction('layout-auto-size', 'Auto Size', 'arrow-expand', () => {
@@ -80,7 +80,8 @@ export class StyledColumnModule extends AdaptableModuleBase {
80
80
  },
81
81
  };
82
82
  const icon = this.getGlyphForStyledColumn(styledColumn);
83
- const label = `Edit ${this.getTypeLabel(styledColumn)} Style`;
83
+ const typeLabel = this.getTypeLabel(styledColumn);
84
+ const label = `Edit ${typeLabel}`;
84
85
  const name = this.getTypeName(styledColumn);
85
86
  returnColumnMenuItems.push(this.createMenuItemShowPopup(name, label, this.moduleInfo.Popup, icon, popupParam));
86
87
  }
@@ -93,7 +94,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
93
94
  value: newStyledColumn,
94
95
  config: {},
95
96
  };
96
- const badgeLabel = column.dataType === 'Number' ? 'Badge' : 'Create Badge Style';
97
+ const badgeLabel = 'Create Badge Style';
97
98
  const newBadgeButton = this.createMenuItemShowPopup('styled-column-badge-add', badgeLabel, this.moduleInfo.Popup, 'badge', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { BadgeStyle: {
98
99
  Badges: [ObjectFactory.CreateDefaultStyledColumnBadge()],
99
100
  } }), config: {
@@ -106,12 +107,12 @@ export class StyledColumnModule extends AdaptableModuleBase {
106
107
  const emptyRanges = this.api.scopeApi.createCellColorRangesForScope({
107
108
  ColumnIds: [column.columnId],
108
109
  });
109
- const newGrandientButton = this.createMenuItemShowPopup('styled-column-gradient-add', 'Gradient', this.moduleInfo.Popup, 'gradient', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { GradientStyle: {
110
+ 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: {
110
111
  CellRanges: emptyRanges,
111
112
  } }), config: {
112
113
  defaultCurrentSectionName: 'Style',
113
114
  } }));
114
- const newPrecentBarButton = this.createMenuItemShowPopup('styled-column-percent-bar-add', 'Percent Bar', this.moduleInfo.Popup, 'percent', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { PercentBarStyle: {
115
+ const newPercentBarButton = this.createMenuItemShowPopup('styled-column-percent-bar-add', 'Create Percent Bar', this.moduleInfo.Popup, 'percent', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { PercentBarStyle: {
115
116
  CellRanges: emptyRanges,
116
117
  } }), config: {
117
118
  defaultCurrentSectionName: 'Style',
@@ -122,9 +123,9 @@ export class StyledColumnModule extends AdaptableModuleBase {
122
123
  // module: this.moduleInfo.ModuleName,
123
124
  // isVisible: true,
124
125
  // icon: { name: this.moduleInfo.Glyph },
125
- // subItems: [newGrandientButton, newPrecentBarButton, newBadgeButton],
126
+ // subItems: [newGrandientButton, newPercentBarButton, newBadgeButton],
126
127
  // });
127
- returnColumnMenuItems.push(...[newGrandientButton, newPrecentBarButton, newBadgeButton]);
128
+ returnColumnMenuItems.push(...[newGrandientButton, newPercentBarButton, newBadgeButton]);
128
129
  break;
129
130
  case 'String':
130
131
  returnColumnMenuItems.push(newBadgeButton);
@@ -223,7 +224,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
223
224
  getTypeLabel(styledColumn) {
224
225
  let type = null;
225
226
  if (styledColumn.GradientStyle) {
226
- type = 'Gradient';
227
+ type = 'Gradient Column';
227
228
  }
228
229
  else if (styledColumn.PercentBarStyle) {
229
230
  type = 'Percent Bar';
@@ -232,7 +233,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
232
233
  type = 'Spark Line';
233
234
  }
234
235
  else if (styledColumn.BadgeStyle) {
235
- type = 'Badge';
236
+ type = 'Badge Style';
236
237
  }
237
238
  return type;
238
239
  }
@@ -1100,13 +1100,15 @@ const mapAggregationToCumulation = (aggregationParameter, overColumnParameter, c
1100
1100
  if ((_a = aggregationEvaluation.context) === null || _a === void 0 ? void 0 : _a.weightParam) {
1101
1101
  // weighted average
1102
1102
  const weightValue = (_b = context.adaptableApi.gridApi.getRawValueFromRowNode(rowNode, aggregationEvaluation.context.weightParam.value)) !== null && _b !== void 0 ? _b : 0;
1103
- cumulationBag.currentValue = cumulationBag.currentValue + rowValue * weightValue;
1103
+ cumulationBag.currentValue =
1104
+ cumulationBag.currentValue + rowValue * weightValue;
1104
1105
  cumulationBag.numberOfCumulatedValues =
1105
1106
  cumulationBag.numberOfCumulatedValues + weightValue;
1106
1107
  }
1107
1108
  else {
1108
1109
  cumulationBag.currentValue = cumulationBag.currentValue + rowValue;
1109
- cumulationBag.numberOfCumulatedValues = cumulationBag.numberOfCumulatedValues + 1;
1110
+ cumulationBag.numberOfCumulatedValues =
1111
+ cumulationBag.numberOfCumulatedValues + 1;
1110
1112
  }
1111
1113
  }
1112
1114
  if (cumulationBag.numberOfCumulatedValues !== 0) {
@@ -2,7 +2,7 @@
2
2
  import { CalculatedColumn } from '../../../types';
3
3
  import { AdaptableOnePageWizardProps } from '../../Wizard/Interface/IAdaptableWizard';
4
4
  export declare const calculatedColumnTypes: readonly ["ScalarExpression", "AggregatedScalarExpression", "CumulativeAggregatedExpression", "QuantileAggregatedExpression"];
5
- export type ExpressionType = typeof calculatedColumnTypes[number];
5
+ export type ExpressionType = (typeof calculatedColumnTypes)[number];
6
6
  export interface CalculatedColumnWizardProps extends AdaptableOnePageWizardProps<CalculatedColumn> {
7
7
  }
8
8
  export declare const CalculatedColumnWizard: (props: CalculatedColumnWizardProps) => JSX.Element;
@@ -1690,7 +1690,8 @@ export class AdaptableAgGrid {
1690
1690
  return acc;
1691
1691
  }
1692
1692
  const ColumnGroupId = columnGroup.getGroupId();
1693
- const AllowGroupSplit = !columnGroup.getProvidedColumnGroup().getColGroupDef().marryChildren;
1693
+ const AllowGroupSplit = !columnGroup.getProvidedColumnGroup().getColGroupDef()
1694
+ .marryChildren;
1694
1695
  const FriendlyName = (_c = columnGroup.getProvidedColumnGroup().getColGroupDef().headerName) !== null && _c !== void 0 ? _c : ColumnGroupId;
1695
1696
  const columnsInGroup = columnGroup.getLeafColumns();
1696
1697
  columnsInGroup.forEach((col) => {
@@ -25,6 +25,7 @@ export declare class AgGridMenuAdapter {
25
25
  private getLayoutContextMenuStructure;
26
26
  private buildMenuGroupParent;
27
27
  private buildColumnMenuDefaultStructure;
28
+ private getColumnFilterColumnMenuStructure;
28
29
  private getLayoutColumnMenuStructure;
29
30
  private getStyledColumnColumnMenuStructure;
30
31
  private mapAdaptableMenuItemToSystemMenuItems;