@adaptabletools/adaptable 18.0.0-canary.26 → 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 (99) 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 +7 -19
  5. package/src/AdaptableOptions/MenuOptions.js +1 -96
  6. package/src/Api/Implementation/ColumnApiImpl.js +6 -6
  7. package/src/Api/Implementation/ExpressionApiImpl.js +12 -12
  8. package/src/Api/Implementation/GridApiImpl.js +2 -2
  9. package/src/Api/Implementation/LayoutApiImpl.d.ts +0 -9
  10. package/src/Api/Implementation/LayoutApiImpl.js +0 -4
  11. package/src/Api/Implementation/ScopeApiImpl.js +4 -4
  12. package/src/Api/Internal/ColumnFilterInternalApi.js +2 -2
  13. package/src/Api/Internal/CommentsInternalApi.d.ts +1 -1
  14. package/src/Api/Internal/CommentsInternalApi.js +1 -1
  15. package/src/Api/Internal/DashboardInternalApi.js +2 -2
  16. package/src/Api/Internal/FormatColumnInternalApi.js +5 -3
  17. package/src/Api/Internal/GridFilterInternalApi.d.ts +2 -2
  18. package/src/Api/Internal/GridFilterInternalApi.js +2 -2
  19. package/src/Api/Internal/NoteInternalApi.d.ts +1 -1
  20. package/src/Api/Internal/NoteInternalApi.js +1 -1
  21. package/src/Api/LayoutApi.d.ts +0 -12
  22. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  23. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +2 -2
  24. package/src/PredefinedConfig/Common/Menu.d.ts +2 -2
  25. package/src/PredefinedConfig/Common/Menu.js +22 -20
  26. package/src/PredefinedConfig/Common/TransposeConfig.d.ts +3 -3
  27. package/src/Strategy/AdaptableModuleBase.d.ts +3 -4
  28. package/src/Strategy/AdaptableModuleBase.js +5 -9
  29. package/src/Strategy/AlertModule.d.ts +1 -1
  30. package/src/Strategy/AlertModule.js +1 -1
  31. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  32. package/src/Strategy/BulkUpdateModule.js +3 -2
  33. package/src/Strategy/CalculatedColumnModule.d.ts +2 -2
  34. package/src/Strategy/CalculatedColumnModule.js +2 -2
  35. package/src/Strategy/CellSummaryModule.d.ts +2 -2
  36. package/src/Strategy/CellSummaryModule.js +2 -2
  37. package/src/Strategy/ColumnFilterModule.d.ts +2 -2
  38. package/src/Strategy/ColumnFilterModule.js +17 -42
  39. package/src/Strategy/ColumnInfoModule.d.ts +2 -2
  40. package/src/Strategy/ColumnInfoModule.js +4 -4
  41. package/src/Strategy/CommentModule.d.ts +1 -2
  42. package/src/Strategy/CommentModule.js +29 -30
  43. package/src/Strategy/CustomSortModule.d.ts +1 -1
  44. package/src/Strategy/CustomSortModule.js +1 -1
  45. package/src/Strategy/DashboardModule.d.ts +2 -2
  46. package/src/Strategy/DashboardModule.js +3 -14
  47. package/src/Strategy/DataImportModule.d.ts +3 -3
  48. package/src/Strategy/DataImportModule.js +3 -3
  49. package/src/Strategy/ExportModule.d.ts +1 -2
  50. package/src/Strategy/ExportModule.js +12 -41
  51. package/src/Strategy/Fdc3Module.d.ts +1 -1
  52. package/src/Strategy/Fdc3Module.js +1 -14
  53. package/src/Strategy/FlashingCellModule.d.ts +2 -2
  54. package/src/Strategy/FlashingCellModule.js +2 -2
  55. package/src/Strategy/FormatColumnModule.d.ts +1 -1
  56. package/src/Strategy/FormatColumnModule.js +28 -47
  57. package/src/Strategy/FreeTextColumnModule.d.ts +1 -1
  58. package/src/Strategy/FreeTextColumnModule.js +1 -1
  59. package/src/Strategy/GridInfoModule.d.ts +2 -2
  60. package/src/Strategy/GridInfoModule.js +3 -3
  61. package/src/Strategy/Interface/IModule.d.ts +3 -3
  62. package/src/Strategy/LayoutModule.d.ts +4 -4
  63. package/src/Strategy/LayoutModule.js +47 -72
  64. package/src/Strategy/NoteModule.d.ts +1 -2
  65. package/src/Strategy/NoteModule.js +28 -30
  66. package/src/Strategy/PlusMinusModule.d.ts +1 -1
  67. package/src/Strategy/PlusMinusModule.js +1 -1
  68. package/src/Strategy/SettingsPanelModule.d.ts +3 -3
  69. package/src/Strategy/SettingsPanelModule.js +3 -3
  70. package/src/Strategy/SmartEditModule.d.ts +1 -1
  71. package/src/Strategy/SmartEditModule.js +3 -2
  72. package/src/Strategy/StyledColumnModule.d.ts +1 -1
  73. package/src/Strategy/StyledColumnModule.js +17 -15
  74. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  75. package/src/Strategy/SystemStatusModule.js +4 -3
  76. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +4 -2
  77. package/src/Utilities/Services/ModuleService.js +2 -2
  78. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
  79. package/src/agGrid/AdaptableAgGrid.js +2 -1
  80. package/src/agGrid/AgGridColumnAdapter.js +2 -2
  81. package/src/agGrid/AgGridMenuAdapter.d.ts +19 -8
  82. package/src/agGrid/AgGridMenuAdapter.js +319 -50
  83. package/src/components/icons/filter-off.d.ts +3 -0
  84. package/src/components/icons/filter-off.js +4 -0
  85. package/src/components/icons/grid-info.d.ts +3 -0
  86. package/src/components/icons/grid-info.js +4 -0
  87. package/src/components/icons/index.js +10 -0
  88. package/src/components/icons/select-all.d.ts +3 -0
  89. package/src/components/icons/select-all.js +4 -0
  90. package/src/components/icons/select-fwd.d.ts +3 -0
  91. package/src/components/icons/select-fwd.js +4 -0
  92. package/src/components/icons/select-off.d.ts +3 -0
  93. package/src/components/icons/select-off.js +4 -0
  94. package/src/env.js +2 -2
  95. package/src/metamodel/adaptable.metamodel.js +1 -1
  96. package/src/parser/src/parser.js +1218 -55
  97. package/src/parser/src/predicate/mapQlPredicateToExpression.js +1 -3
  98. package/src/parser/src/types.js +1 -2
  99. package/tsconfig.esm.tsbuildinfo +1 -1
@@ -1,96 +1 @@
1
- import * as ModuleConstants from '../Utilities/Constants/ModuleConstants';
2
- export const DEFAULT_ADAPTABLE_COLUMN_MENU_STRUCTURE = [
3
- ModuleConstants.CalculatedColumnModuleId,
4
- ModuleConstants.CellSummaryModuleId,
5
- ModuleConstants.ColumnFilterModuleId,
6
- ModuleConstants.ColumnInfoModuleId,
7
- ModuleConstants.CustomSortModuleId,
8
- ModuleConstants.DashboardModuleId,
9
- ModuleConstants.DataImportModuleId,
10
- ModuleConstants.FlashingCellModuleId,
11
- ModuleConstants.FormatColumnModuleId,
12
- ModuleConstants.FreeTextColumnModuleId,
13
- ModuleConstants.GridInfoModuleId,
14
- ModuleConstants.LayoutModuleId,
15
- ModuleConstants.PlusMinusModuleId,
16
- ModuleConstants.SettingsPanelModuleId,
17
- ModuleConstants.StyledColumnModuleId,
18
- ModuleConstants.SystemStatusModuleId, // Single Item - Always present
19
- /*
20
- // Modules that dont provide a Column Menu
21
- ModuleConstants.AlertModuleId,
22
- ModuleConstants.BulkUpdateModuleId,
23
- ModuleConstants.ChartingModuleId,
24
- ModuleConstants.CommentModuleId,
25
- ModuleConstants.DataChangeHistoryModuleId,
26
- ModuleConstants.DataSetModuleId,
27
- ModuleConstants.ExportModuleId,
28
- ModuleConstants.Fdc3ModuleId,
29
- ModuleConstants.GridFilterModuleId,
30
- ModuleConstants.NamedQueryModuleId,
31
- ModuleConstants.NoteModuleId,
32
- ModuleConstants.QuickSearchModuleId,
33
- ModuleConstants.ScheduleModuleId,
34
- ModuleConstants.ShortcutModuleId,
35
- ModuleConstants.SmartEditModuleId,
36
- ModuleConstants.StateManagementModuleId,
37
- ModuleConstants.StatusBarModuleId,
38
- ModuleConstants.TeamSharingModuleId,
39
- ModuleConstants.ThemeModuleId,
40
- ModuleConstants.ToolPanelModuleId,
41
- */
42
- ];
43
- /**
44
- * Defines the order of Menu Items in the CONTEXT Menu
45
- * The items commented out do not have a Context Menu Option
46
- */
47
- export const DEFAULT_ADAPTABLE_CONTEXT_MENU_STRUCTURE = [
48
- ModuleConstants.AlertModuleId,
49
- ModuleConstants.BulkUpdateModuleId,
50
- ModuleConstants.CalculatedColumnModuleId,
51
- ModuleConstants.CellSummaryModuleId,
52
- ModuleConstants.ColumnFilterModuleId,
53
- ModuleConstants.ColumnInfoModuleId,
54
- ModuleConstants.CommentModuleId,
55
- ModuleConstants.DashboardModuleId,
56
- ModuleConstants.DataImportModuleId,
57
- ModuleConstants.ExportModuleId,
58
- ModuleConstants.Fdc3ModuleId,
59
- ModuleConstants.FlashingCellModuleId,
60
- ModuleConstants.GridInfoModuleId,
61
- ModuleConstants.LayoutModuleId,
62
- ModuleConstants.NoteModuleId,
63
- ModuleConstants.SettingsPanelModuleId,
64
- ModuleConstants.SmartEditModuleId,
65
- ModuleConstants.SystemStatusModuleId, // Single Item - Always present
66
- // this currently doesnt work
67
- // {
68
- // title: 'Edit',
69
- // icon: {
70
- // name: 'edit',
71
- // },
72
- // modules: [ModuleConstants.SmartEditModuleId, ModuleConstants.BulkUpdateModuleId],
73
- // },
74
- /*
75
- // Modules that dont provide a Context Menu
76
- ModuleConstants.ChartingModuleId,
77
- ModuleConstants.CustomSortModuleId,
78
- ModuleConstants.DataChangeHistoryModuleId,
79
- ModuleConstants.DataSetModuleId,
80
- ModuleConstants.FormatColumnModuleId,
81
- ModuleConstants.FreeTextColumnModuleId,
82
- ModuleConstants.GridFilterModuleId,
83
- ModuleConstants.NamedQueryModuleId,
84
- ModuleConstants.PlusMinusModuleId,
85
- ModuleConstants.QuickSearchModuleId,
86
- ModuleConstants.ScheduleModuleId,
87
- ModuleConstants.ShortcutModuleId,
88
- ModuleConstants.StateManagementModuleId,
89
- ModuleConstants.StatusBarModuleId,
90
- ModuleConstants.StyledColumnModuleId,
91
- ModuleConstants.TeamSharingModuleId,
92
- ModuleConstants.ThemeModuleId,
93
- ModuleConstants.ToolPanelModuleId,
94
-
95
- */
96
- ];
1
+ export {};
@@ -68,19 +68,19 @@ export class ColumnApiImpl extends ApiBase {
68
68
  return isAutoPivotColumn(columnId);
69
69
  }
70
70
  isCalculatedColumn(columnId) {
71
- return (this.getAdaptableApi().calculatedColumnApi
72
- .getCalculatedColumns()
71
+ return (this.getAdaptableApi()
72
+ .calculatedColumnApi.getCalculatedColumns()
73
73
  .find((cc) => cc.ColumnId == columnId) != null);
74
74
  }
75
75
  isFreeTextColumn(columnId) {
76
- return (this.getAdaptableApi().freeTextColumnApi
77
- .getFreeTextColumns()
76
+ return (this.getAdaptableApi()
77
+ .freeTextColumnApi.getFreeTextColumns()
78
78
  .find((cc) => cc.ColumnId == columnId) != null);
79
79
  }
80
80
  isActionColumn(columnId) {
81
81
  var _a;
82
- return (((_a = this.getAdaptableApi().actionColumnApi
83
- .getActionColumns()) === null || _a === void 0 ? void 0 : _a.find((cc) => cc.columnId == columnId)) != null);
82
+ return (((_a = this.getAdaptableApi()
83
+ .actionColumnApi.getActionColumns()) === null || _a === void 0 ? void 0 : _a.find((cc) => cc.columnId == columnId)) != null);
84
84
  }
85
85
  getColumnWithColumnId(columnId, logWarning) {
86
86
  if (columnId == undefined) {
@@ -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);
@@ -45,13 +45,4 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
45
45
  removeColumnFromLayout(columnId: string, layoutName: string): void;
46
46
  addColumnToLayout(columnId: string, layoutName: string): void;
47
47
  addColumnToCurrentLayout(columnId: string): void;
48
- getLayoutSupportedFeatures(): {
49
- RowGroupedColumns: boolean;
50
- AggregationColumns: boolean;
51
- PivotColumns: boolean;
52
- ColumnFilters: boolean;
53
- GridFilter: boolean;
54
- ColumnSorts: boolean;
55
- RowSummaries: boolean;
56
- };
57
48
  }
@@ -242,8 +242,4 @@ export class LayoutApiImpl extends ApiBase {
242
242
  addColumnToCurrentLayout(columnId) {
243
243
  this.addColumnToLayout(columnId, this.getCurrentLayoutName());
244
244
  }
245
- getLayoutSupportedFeatures() {
246
- // TODO: is this deprecated?
247
- return this.internalApi.getLayoutSupportedFeatures();
248
- }
249
245
  }
@@ -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) {
@@ -1,4 +1,4 @@
1
1
  import { ApiBase } from '../Implementation/ApiBase';
2
2
  export declare class CommentsInternalApi extends ApiBase {
3
- areCommentsAvailable(): boolean;
3
+ areCommentsSupported(): boolean;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import { ApiBase } from '../Implementation/ApiBase';
2
2
  export class CommentsInternalApi extends ApiBase {
3
- areCommentsAvailable() {
3
+ areCommentsSupported() {
4
4
  var _a;
5
5
  const currentLayout = this.getLayoutApi().getCurrentLayout();
6
6
  if (currentLayout.EnablePivot) {
@@ -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
  }
@@ -1,4 +1,4 @@
1
1
  import { ApiBase } from '../Implementation/ApiBase';
2
2
  export declare class NoteInternalApi extends ApiBase {
3
- areNotesAvailable(): boolean;
3
+ areNotesSupported(): boolean;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import { ApiBase } from '../Implementation/ApiBase';
2
2
  export class NoteInternalApi extends ApiBase {
3
- areNotesAvailable() {
3
+ areNotesSupported() {
4
4
  var _a;
5
5
  const currentLayout = this.getLayoutApi().getCurrentLayout();
6
6
  if (currentLayout.EnablePivot) {
@@ -182,16 +182,4 @@ export interface LayoutApi {
182
182
  * @param columnId Column to add
183
183
  */
184
184
  addColumnToCurrentLayout(columnId: string): void;
185
- /**
186
- * Returns what the layout supports.
187
- * This takes into account the data-source.
188
- */
189
- getLayoutSupportedFeatures(): {
190
- RowGroupedColumns: boolean;
191
- AggregationColumns: boolean;
192
- PivotColumns: boolean;
193
- ColumnFilters: boolean;
194
- ColumnSorts: boolean;
195
- RowSummaries: boolean;
196
- };
197
185
  }
@@ -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];
@@ -10,11 +10,11 @@ export type AdaptableContextMenuItemName = (typeof ADAPTABLE_CONTEXT_MENU_ITEMS)
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-parent", "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-parent", "dashboard-collapse", "dashboard-configure", "dashboard-dock", "dashboard-expand", "dashboard-float", "dashboard-hide", "dashboard-show", "data-import", "flashing-cell-add", "flashing-cell-delete", "format-column-parent", "format-column-add", "format-column-edit", "free-text-column-edit", "grid-info-show", "layout-column-caption-change", "layout-column-hide", "layout-column-select", "layout-column-select-preserve", "layout-column-select-reset", "layout-edit", "layout-grid-parent", "layout-select-parent", "layout-select-all", "plus-minus-add", "settings-panel-open", "styled-column-parent", "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", "internal"];
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 ["alert-clear", "bulk-update-apply", "calculated-column-edit", "cell-summary-show", "column-filter-parent", "column-filter-on-cell-value", "column-filter-clear", "column-filter-suspend", "column-filter-unsuspend", "column-info-show", "comment-add", "comment-remove", "dashboard-parent", "dashboard-collapse", "dashboard-configure", "dashboard-dock", "dashboard-expand", "dashboard-float", "dashboard-hide", "dashboard-show", "data-import", "export-parent", "export-clipboard", "export-csv", "export-excel", "export-json", "export-table", "export-custom-destination", "fdc3-parent", "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", "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,17 +4,16 @@
4
4
  export const ADAPTABLE_COLUMN_MENU_ITEMS = [
5
5
  'calculated-column-edit',
6
6
  'cell-summary-show',
7
- 'column-filter-parent',
7
+ 'column-group',
8
+ 'column-filter-group',
8
9
  'column-filter-bar-hide',
9
10
  'column-filter-bar-show',
10
11
  'column-filter-clear',
11
- 'column-filter-on-cell-value',
12
12
  'column-filter-suspend',
13
13
  'column-filter-unsuspend',
14
14
  'column-info-show',
15
15
  'custom-sort-add',
16
16
  'custom-sort-edit',
17
- 'dashboard-parent',
18
17
  'dashboard-collapse',
19
18
  'dashboard-configure',
20
19
  'dashboard-dock',
@@ -25,23 +24,21 @@ export const ADAPTABLE_COLUMN_MENU_ITEMS = [
25
24
  'data-import',
26
25
  'flashing-cell-add',
27
26
  'flashing-cell-delete',
28
- 'format-column-parent',
29
27
  'format-column-add',
30
28
  'format-column-edit',
31
29
  'free-text-column-edit',
30
+ 'grid-group',
32
31
  'grid-info-show',
33
32
  'layout-column-caption-change',
34
33
  'layout-column-hide',
34
+ 'layout-edit',
35
35
  'layout-column-select',
36
36
  'layout-column-select-preserve',
37
37
  'layout-column-select-reset',
38
- 'layout-edit',
39
- 'layout-grid-parent',
40
- 'layout-select-parent',
41
- 'layout-select-all',
38
+ 'layout-grid-select',
42
39
  'plus-minus-add',
43
40
  'settings-panel-open',
44
- 'styled-column-parent',
41
+ 'styling-group',
45
42
  'styled-column-badge-add',
46
43
  'styled-column-badge-edit',
47
44
  'styled-column-gradient-add',
@@ -51,17 +48,18 @@ export const ADAPTABLE_COLUMN_MENU_ITEMS = [
51
48
  'styled-column-sparkline-add',
52
49
  'styled-column-sparkline-edit',
53
50
  'system-status-show',
54
- 'internal', // used by AdapTable in Settings Panel
51
+ '_navbar', // used in SettingsPanel navigation bar and in Dashboard Module buttons
55
52
  ];
56
53
  /**
57
54
  * List of Shipped Adaptable Context Menu Items
58
55
  */
59
56
  export const ADAPTABLE_CONTEXT_MENU_ITEMS = [
57
+ 'menu-group',
60
58
  'alert-clear',
61
59
  'bulk-update-apply',
62
60
  'calculated-column-edit',
63
61
  'cell-summary-show',
64
- 'column-filter-parent',
62
+ 'column-group',
65
63
  'column-filter-on-cell-value',
66
64
  'column-filter-clear',
67
65
  'column-filter-suspend',
@@ -69,7 +67,6 @@ export const ADAPTABLE_CONTEXT_MENU_ITEMS = [
69
67
  'column-info-show',
70
68
  'comment-add',
71
69
  'comment-remove',
72
- 'dashboard-parent',
73
70
  'dashboard-collapse',
74
71
  'dashboard-configure',
75
72
  'dashboard-dock',
@@ -78,18 +75,23 @@ export const ADAPTABLE_CONTEXT_MENU_ITEMS = [
78
75
  'dashboard-hide',
79
76
  'dashboard-show',
80
77
  'data-import',
81
- 'export-parent',
82
- 'export-clipboard',
83
- 'export-csv',
84
- 'export-excel',
85
- 'export-json',
86
- 'export-table',
87
- 'export-custom-destination',
88
- 'fdc3-parent',
78
+ 'export-cells-clipboard',
79
+ 'export-cells-csv',
80
+ 'export-cells-excel',
81
+ 'export-cells-json',
82
+ 'export-cells-table',
83
+ 'export-cells-custom-destination',
84
+ 'export-rows-clipboard',
85
+ 'export-rows-csv',
86
+ 'export-rows-excel',
87
+ 'export-rows-json',
88
+ 'export-rows-table',
89
+ 'export-rows-custom-destination',
89
90
  'fdc3-broadcast',
90
91
  'fdc3-raise-intent',
91
92
  'flashing-cell-clear',
92
93
  'flashing-row-clear',
94
+ 'grid-group',
93
95
  'grid-info-show',
94
96
  'layout-aggregated-view',
95
97
  'layout-auto-size',
@@ -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
@@ -36,10 +36,9 @@ export declare abstract class AdaptableModuleBase implements IModule {
36
36
  onAdaptableReady(): void;
37
37
  onAdaptableStateReloaded(adaptableStateReloadedInfo: AdaptableStateReloadedInfo): void;
38
38
  setModuleEntitlement(): void;
39
- addModuleMenuItem(source: 'ModuleMenu' | 'ModuleButton'): AdaptableMenuItem | undefined;
40
- addModuleButtonMenuItem(): AdaptableMenuItem | undefined;
41
- addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
42
- addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
39
+ createModuleMenuItem(source: 'ModuleMenu' | 'ModuleButton'): AdaptableMenuItem | undefined;
40
+ createColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
41
+ createContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
43
42
  createMainMenuItemShowPopup({ Name, Label, ComponentName, Icon, PopupParams, }: {
44
43
  Name: AdaptableColumnMenuItemName | AdaptableContextMenuItemName;
45
44
  Label: string;
@@ -71,14 +71,14 @@ export class AdaptableModuleBase {
71
71
  .getEntitlementService()
72
72
  .getEntitlementAccessLevelForModule(this.moduleInfo.ModuleName);
73
73
  }
74
- addModuleMenuItem(source) {
74
+ createModuleMenuItem(source) {
75
75
  if (this.isModuleAvailable() && this.moduleInfo.Popup) {
76
76
  const moduleParams = {
77
77
  source: source,
78
78
  maxWidth: this.getPopupMaxWidth(),
79
79
  };
80
80
  return this.createMainMenuItemShowPopup({
81
- Name: 'internal',
81
+ Name: '_navbar',
82
82
  Label: this.moduleInfo.FriendlyName,
83
83
  ComponentName: this.moduleInfo.Popup,
84
84
  Icon: this.moduleInfo.Glyph,
@@ -86,19 +86,15 @@ export class AdaptableModuleBase {
86
86
  });
87
87
  }
88
88
  }
89
- addModuleButtonMenuItem() {
89
+ createColumnMenuItems(column) {
90
90
  // base class implementation which is empty
91
91
  return undefined;
92
92
  }
93
- addColumnMenuItems(column) {
93
+ createContextMenuItems(menuContext) {
94
94
  // base class implementation which is empty
95
95
  return undefined;
96
96
  }
97
- addContextMenuItems(menuContext) {
98
- // base class implementation which is empty
99
- return undefined;
100
- }
101
- // creates the menu items in the main dropdown
97
+ // creates the module menu items in the navbar
102
98
  createMainMenuItemShowPopup({ Name, Label, ComponentName, Icon, PopupParams, }) {
103
99
  return new MenuItemShowPopup(Name, Label, this.moduleInfo.ModuleName, ComponentName, Icon, true, PopupParams);
104
100
  }
@@ -14,7 +14,7 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
14
14
  }): AdaptableObject[];
15
15
  getExplicitlyReferencedColumnIds(alertDefinition: AlertDefinition): string[];
16
16
  getReferencedNamedQueryNames(alertDefinition: AlertDefinition): string[];
17
- addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
17
+ createContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
18
18
  private handleCellDataChanged;
19
19
  private handleGridDataChanged;
20
20
  private handleReactiveAlertTriggered;
@@ -71,7 +71,7 @@ export class AlertModule extends AdaptableModuleBase {
71
71
  }
72
72
  return this.api.namedQueryApi.internalApi.getReferencedNamedQueryNames(queryExpression);
73
73
  }
74
- addContextMenuItems(menuContext) {
74
+ createContextMenuItems(menuContext) {
75
75
  const items = [];
76
76
  if (!menuContext.isRowGroupColumn && this.isModuleAvailable()) {
77
77
  if (menuContext.adaptableColumn && menuContext.rowNode) {
@@ -6,7 +6,7 @@ import { AccessLevel, AdaptableApi } from '../types';
6
6
  export declare class BulkUpdateModule extends AdaptableModuleBase implements IBulkUpdateModule {
7
7
  constructor(api: AdaptableApi);
8
8
  getViewAccessLevel(): AccessLevel;
9
- addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
9
+ createContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
10
10
  checkCorrectCellSelection(): BulkUpdateValidationResult;
11
11
  buildPreviewValues(bulkUpdateValue: any): PreviewInfo;
12
12
  }