@adaptabletools/adaptable 14.0.3 → 14.0.4

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 (201) hide show
  1. package/base.css +7 -1
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +170 -169
  4. package/index.css +76 -62
  5. package/index.css.map +1 -1
  6. package/package.json +2 -2
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableOptions/ActionOptions.d.ts +3 -0
  10. package/src/AdaptableOptions/AdaptablePlugin.d.ts +3 -0
  11. package/src/AdaptableOptions/AdaptablePlugin.js +3 -0
  12. package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +26 -26
  14. package/src/AdaptableOptions/ExportOptions.d.ts +17 -3
  15. package/src/Api/CalculatedColumnApi.d.ts +9 -0
  16. package/src/Api/ChartingApi.d.ts +41 -14
  17. package/src/Api/ColumnApi.d.ts +4 -0
  18. package/src/Api/DataSetApi.d.ts +2 -2
  19. package/src/Api/EventApi.d.ts +15 -1
  20. package/src/Api/Events/ChartStateChangeInfo.d.ts +5 -0
  21. package/src/Api/Events/ChartStateChangeInfo.js +2 -0
  22. package/src/Api/ExportApi.d.ts +5 -0
  23. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +2 -0
  24. package/src/Api/Implementation/CalculatedColumnApiImpl.js +24 -0
  25. package/src/Api/Implementation/ChartingApiImpl.d.ts +16 -2
  26. package/src/Api/Implementation/ChartingApiImpl.js +54 -2
  27. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  28. package/src/Api/Implementation/ColumnApiImpl.js +3 -0
  29. package/src/Api/Implementation/ExportApiImpl.d.ts +2 -0
  30. package/src/Api/Implementation/ExportApiImpl.js +10 -0
  31. package/src/Api/Implementation/PredicateApiImpl.d.ts +6 -4
  32. package/src/Api/Implementation/PredicateApiImpl.js +20 -1
  33. package/src/Api/Implementation/QueryApiImpl.js +8 -2
  34. package/src/Api/Internal/AdaptableInternalApi.d.ts +7 -1
  35. package/src/Api/Internal/AdaptableInternalApi.js +2 -1
  36. package/src/Api/Internal/AlertInternalApi.js +1 -1
  37. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +2 -0
  38. package/src/Api/Internal/CalculatedColumnInternalApi.js +9 -0
  39. package/src/Api/Internal/ChartingInternalApi.d.ts +6 -0
  40. package/src/Api/Internal/ChartingInternalApi.js +24 -0
  41. package/src/Api/Internal/FormatColumnInternalApi.d.ts +5 -0
  42. package/src/Api/Internal/FormatColumnInternalApi.js +25 -1
  43. package/src/Api/PredicateApi.d.ts +17 -1
  44. package/src/PredefinedConfig/AlertState.d.ts +5 -2
  45. package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +6 -0
  46. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +15 -11
  47. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +6 -0
  48. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  49. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +6 -0
  50. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +15 -0
  51. package/src/PredefinedConfig/Common/Enums.d.ts +2 -1
  52. package/src/PredefinedConfig/Common/Enums.js +1 -0
  53. package/src/PredefinedConfig/Common/FDC3Context.d.ts +3 -0
  54. package/src/PredefinedConfig/Common/Types.d.ts +21 -6
  55. package/src/PredefinedConfig/Common/Types.js +1 -3
  56. package/src/PredefinedConfig/FlashingCellState.d.ts +2 -2
  57. package/src/PredefinedConfig/FormatColumnState.d.ts +3 -2
  58. package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
  59. package/src/PredefinedConfig/PredefinedConfig.d.ts +4 -4
  60. package/src/PredefinedConfig/ThemeState.d.ts +0 -4
  61. package/src/Redux/ActionsReducers/PopupRedux.d.ts +2 -0
  62. package/src/Redux/ActionsReducers/PopupRedux.js +2 -0
  63. package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +2 -2
  64. package/src/Redux/ActionsReducers/StatusBarRedux.js +4 -4
  65. package/src/Redux/Store/AdaptableStore.js +1 -11
  66. package/src/Strategy/AlertModule.js +7 -3
  67. package/src/Strategy/ChartingModule.js +5 -3
  68. package/src/Strategy/ExportModule.d.ts +1 -0
  69. package/src/Strategy/ExportModule.js +43 -0
  70. package/src/Strategy/FlashingCellModule.js +1 -1
  71. package/src/Strategy/FormatColumnModule.js +7 -2
  72. package/src/Strategy/Interface/IModule.d.ts +1 -1
  73. package/src/Strategy/LayoutModule.js +8 -1
  74. package/src/Strategy/StyledColumnModule.js +5 -0
  75. package/src/Strategy/ThemeModule.js +8 -2
  76. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +2 -2
  77. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.d.ts +5 -0
  78. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +13 -0
  79. package/src/Strategy/Utilities/getObjectTagsViewItems.js +3 -3
  80. package/src/Utilities/Constants/ModuleConstants.d.ts +0 -3
  81. package/src/Utilities/Constants/ModuleConstants.js +2 -5
  82. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -0
  83. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +1 -1
  84. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -1
  85. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  86. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +64 -3
  87. package/src/Utilities/Interface/MessagePopups.d.ts +1 -0
  88. package/src/Utilities/Services/AggregatedScalarLiveValue.js +13 -0
  89. package/src/Utilities/Services/ChartingService.d.ts +8 -0
  90. package/src/Utilities/Services/ChartingService.js +15 -0
  91. package/src/Utilities/Services/ReportService.js +1 -1
  92. package/src/View/AdaptableViewFactory.js +1 -1
  93. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +3 -2
  94. package/src/View/Alert/Utilities/getAlertType.d.ts +15 -0
  95. package/src/View/Alert/Utilities/getAlertType.js +58 -0
  96. package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +3 -0
  97. package/src/View/Alert/Utilities/getAvailablePredicates.js +19 -0
  98. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +37 -0
  99. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +32 -0
  100. package/src/View/Alert/Utilities/mapAlertDefinition.d.ts +2 -0
  101. package/src/View/Alert/Utilities/mapAlertDefinition.js +38 -0
  102. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +4 -2
  103. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +18 -11
  104. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -0
  105. package/src/View/Alert/Wizard/AlertButtonsEditor.js +15 -6
  106. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +10 -0
  107. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +57 -0
  108. package/src/View/Alert/Wizard/{AlertDisplayWizardSection.d.ts → AlertNotificationWizardSection.d.ts} +7 -5
  109. package/src/View/Alert/Wizard/{AlertDisplayWizardSection.js → AlertNotificationWizardSection.js} +12 -50
  110. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +7 -4
  111. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +66 -6
  112. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +2 -0
  113. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +41 -2
  114. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +9 -0
  115. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +27 -0
  116. package/src/View/Alert/Wizard/AlertWizard.js +53 -98
  117. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +1 -6
  118. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -39
  119. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +1 -1
  120. package/src/View/{Components/Charting → Charting}/ChartingStatusBarPopover.d.ts +0 -0
  121. package/src/View/{Components/Charting → Charting}/ChartingStatusBarPopover.js +2 -2
  122. package/src/View/{Components/Charting → Charting}/ChartingViewPanel.d.ts +1 -1
  123. package/src/View/{Components/Charting → Charting}/ChartingViewPanel.js +0 -0
  124. package/src/View/{Components/Charting → Charting}/ChartingWizard/ChartingWizard.d.ts +2 -2
  125. package/src/View/{Components/Charting → Charting}/ChartingWizard/ChartingWizard.js +12 -2
  126. package/src/View/{Components/Charting → Charting}/ChartingWizard/PreviewChartSection.d.ts +1 -1
  127. package/src/View/{Components/Charting → Charting}/ChartingWizard/PreviewChartSection.js +2 -2
  128. package/src/View/{Components/Charting → Charting}/ChartingWizard/SettingsSection.d.ts +1 -1
  129. package/src/View/{Components/Charting → Charting}/ChartingWizard/SettingsSection.js +4 -4
  130. package/src/View/{Components/Charting → Charting}/DeleteChartButton.d.ts +1 -1
  131. package/src/View/{Components/Charting → Charting}/DeleteChartButton.js +3 -3
  132. package/src/View/{Components/Charting → Charting}/EditChartButton.d.ts +1 -1
  133. package/src/View/{Components/Charting → Charting}/EditChartButton.js +3 -3
  134. package/src/View/{Components/Charting → Charting}/ShowChartButton.d.ts +1 -1
  135. package/src/View/{Components/Charting → Charting}/ShowChartButton.js +5 -5
  136. package/src/View/{Components/Charting → Charting}/useChartState.d.ts +1 -1
  137. package/src/View/{Components/Charting → Charting}/useChartState.js +5 -5
  138. package/src/View/{Components/Charting → Charting}/useChartingElements.d.ts +1 -1
  139. package/src/View/{Components/Charting → Charting}/useChartingElements.js +6 -6
  140. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.d.ts +12 -0
  141. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +85 -0
  142. package/src/View/Components/EntityRulesEditor/{PredicatesEditor.d.ts → EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts} +6 -4
  143. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +87 -0
  144. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.d.ts +1 -0
  145. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +5 -0
  146. package/src/View/Components/EntityRulesEditor/Utilities.js +7 -1
  147. package/src/View/Components/EntityRulesEditor/index.d.ts +4 -2
  148. package/src/View/Components/EntityRulesEditor/index.js +27 -10
  149. package/src/View/Components/NewScopeComponent.d.ts +9 -5
  150. package/src/View/Components/NewScopeComponent.js +19 -10
  151. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -2
  152. package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -0
  153. package/src/View/Components/Popups/WindowPopups/windowFactory.js +4 -1
  154. package/src/View/Components/PredicateEditor/PredicateEditor.js +16 -5
  155. package/src/View/Components/PreviewResultsPanel.js +30 -3
  156. package/src/View/CustomSort/Wizard/CustomSortWizard.js +1 -1
  157. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -0
  158. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +1 -1
  159. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  160. package/src/View/Export/ExportTablePopup.d.ts +3 -0
  161. package/src/View/Export/ExportTablePopup.js +59 -0
  162. package/src/View/Export/Wizard/NewReportWizard.js +1 -1
  163. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +1 -1
  164. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +1 -1
  165. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -2
  166. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +1 -1
  167. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
  168. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
  169. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +1 -1
  170. package/src/View/GridInfo/GridInfoPopup.js +1 -1
  171. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +1 -1
  172. package/src/View/Query/Wizard/NamedQueryWizard.js +1 -1
  173. package/src/View/Schedule/Wizard/ScheduleWizard.js +1 -1
  174. package/src/View/Shortcut/Wizard/ShortcutWizard.js +1 -1
  175. package/src/View/StatusBar/StatusBarPanel.d.ts +3 -4
  176. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +7 -4
  177. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +5 -5
  178. package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
  179. package/src/View/Theme/ThemeStatusPanelPopover.js +10 -2
  180. package/src/View/Wizard/TypeRadio.d.ts +7 -0
  181. package/src/View/Wizard/TypeRadio.js +12 -0
  182. package/src/agGrid/Adaptable.d.ts +3 -1
  183. package/src/agGrid/Adaptable.js +28 -4
  184. package/src/agGrid/agGridHelper.d.ts +1 -0
  185. package/src/agGrid/agGridHelper.js +15 -0
  186. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +4 -0
  187. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +5 -0
  188. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +5 -0
  189. package/src/components/icons/index.js +4 -0
  190. package/src/components/icons/visibility-off.d.ts +3 -0
  191. package/src/components/icons/visibility-off.js +7 -0
  192. package/src/components/icons/visibility.d.ts +3 -0
  193. package/src/components/icons/visibility.js +8 -0
  194. package/src/metamodel/adaptable.metamodel.d.ts +124 -0
  195. package/src/metamodel/adaptable.metamodel.js +1 -1
  196. package/src/types.d.ts +4 -4
  197. package/version.d.ts +1 -1
  198. package/version.js +1 -1
  199. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +0 -9
  200. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +0 -30
  201. package/src/View/Components/EntityRulesEditor/PredicatesEditor.js +0 -86
@@ -193,7 +193,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
193
193
  node: node,
194
194
  column: column,
195
195
  };
196
- return this.adaptable.api.predicateApi.handlePredicates((_a = formatColumn.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, params, false);
196
+ return this.adaptable.api.predicateApi.handleColumnPredicates((_a = formatColumn.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, params, false);
197
197
  }
198
198
  evaluateExpression(formatColumn, node) {
199
199
  const isValidExpression = this.adaptable.api.queryLanguageApi.isValidBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, `Invalid format column rule '${formatColumn.Rule.BooleanExpression}'`);
@@ -231,5 +231,29 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
231
231
  .getFormatColumns()
232
232
  .filter((fc) => { var _a; return !!((_a = fc.Rule) === null || _a === void 0 ? void 0 : _a.BooleanExpression); });
233
233
  }
234
+ getFormatColumnsDependentOnColumns(columnSet) {
235
+ return this.getFormatColumnApi()
236
+ .getFormatColumns()
237
+ .filter((fc) => { var _a, _b; return (_b = (_a = fc.Rule) === null || _a === void 0 ? void 0 : _a.Predicates) === null || _b === void 0 ? void 0 : _b.some((p) => columnSet.has(p.ColumnId)); });
238
+ }
239
+ /**
240
+ * Retrieves the columns that need rerendering based on format column predicates.
241
+ */
242
+ getFormatColumnColumnsDependentOnColumnChange(column) {
243
+ const impactedColumnIds = new Set();
244
+ impactedColumnIds.add(column.columnId);
245
+ this.getCalculatedColumnApi()
246
+ .internalApi.getCalculatedColumnsDependentOnColumn(column)
247
+ .forEach((calculatedColumnId) => {
248
+ impactedColumnIds.add(calculatedColumnId);
249
+ });
250
+ const columnsThatNeedRefresh = new Set();
251
+ this.getFormatColumnsDependentOnColumns(impactedColumnIds).forEach((formatColumn) => {
252
+ this.adaptable.api.scopeApi.getColumnsForScope(formatColumn.Scope).forEach((col) => {
253
+ columnsThatNeedRefresh.add(col.columnId);
254
+ });
255
+ });
256
+ return [...columnsThatNeedRefresh];
257
+ }
234
258
  }
235
259
  exports.FormatColumnInternalApi = FormatColumnInternalApi;
@@ -1,4 +1,4 @@
1
- import { AdaptableColumnDataType, SystemFilterPredicateId } from '../../types';
1
+ import { AdaptableColumnDataType, AdaptableColumnPredicate, SystemFilterPredicateId } from '../../types';
2
2
  import { AdaptablePredicateDef, AdaptablePredicate, PredicateDefHandlerParams, PredicateModuleScope } from '../PredefinedConfig/Common/AdaptablePredicate';
3
3
  /**
4
4
  * Functions which manage the Predicate object in AdapTable
@@ -51,6 +51,22 @@ export interface PredicateApi {
51
51
  * @param predicates Predicates Definitions to check
52
52
  */
53
53
  isEveryPredicateValid(predicates: AdaptablePredicate[]): boolean;
54
+ /**
55
+ * Same has handle predicate but it tales into account predicate column id.
56
+ *
57
+ * @param predicate
58
+ * @param params
59
+ * @param defaultReturn
60
+ */
61
+ handleColumnPredicate(predicate: AdaptableColumnPredicate, params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
62
+ /**
63
+ * Same has handle predicates but it tales into account predicate column id.
64
+ *
65
+ * @param predicate
66
+ * @param params
67
+ * @param defaultReturn
68
+ */
69
+ handleColumnPredicates(predicate: AdaptableColumnPredicate[], params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
54
70
  /**
55
71
  * Main Handler function for a Predicate Definition - used by AdapTableQL
56
72
  * @param predicate Predicate to handle
@@ -1,6 +1,6 @@
1
1
  import { ConfigState } from './ConfigState';
2
2
  import { AdaptableScope } from './Common/AdaptableScope';
3
- import { AdaptablePredicate } from './Common/AdaptablePredicate';
3
+ import { AdaptableColumnPredicate } from './Common/AdaptablePredicate';
4
4
  import { TypeHint } from './Common/Types';
5
5
  import { AdaptableMessageType } from './Common/AdaptableMessageType';
6
6
  import { AdaptableForm } from './Common/AdaptableForm';
@@ -56,7 +56,7 @@ export interface AlertDefinition extends SuspendableObject {
56
56
  export declare type AlertButtonForm = Omit<AdaptableForm<AlertFormContext>, 'title' | 'buttons' | 'description'> & {
57
57
  Buttons?: AlertButton<AlertFormContext>[];
58
58
  };
59
- export interface AlertDefinitionPredicate extends AdaptablePredicate {
59
+ export interface AlertDefinitionPredicate extends AdaptableColumnPredicate {
60
60
  PredicateId: TypeHint<string, SystemAlertPredicateId>;
61
61
  }
62
62
  /**
@@ -69,6 +69,9 @@ export declare type AlertRule = XOR<{
69
69
  * Alert Query which may be either a Boolean, Observable or AggregatedBoolean Expression
70
70
  */
71
71
  export declare type AdaptableAlertQuery = XOR<AdaptableBooleanQuery, XOR<AdaptableObservableQuery, AdaptableAggregatedBooleanQuery>>;
72
+ /**
73
+ * Actions available in an Alert
74
+ */
72
75
  export declare type AdaptableAlertAction = 'highlight-cell' | 'highlight-row' | 'jump-to-cell' | 'jump-to-row' | 'jump-to-column' | 'suspend' | 'undo';
73
76
  /**
74
77
  * Defines a button that appears in an Alert Form
@@ -6,7 +6,13 @@ import { AlertDefinition } from '../AlertState';
6
6
  * Defines an Alert fired by AdapTable
7
7
  */
8
8
  export declare type AdaptableAlert = AdaptableCellChangedAlert | AdaptableRowChangedAlert | AdaptableGenericAlert;
9
+ /**
10
+ * Type of AdapTable Alert: generic, cellChange or rowChange
11
+ */
9
12
  export declare type AdaptableAlertType = 'generic' | 'cellChange' | 'rowChange';
13
+ /**
14
+ * Defines a generic AdapTable Alert
15
+ */
10
16
  export interface AdaptableGenericAlert extends AdaptableAlertBase<'generic'> {
11
17
  }
12
18
  /**
@@ -16,7 +16,7 @@ export interface AdaptableColumnBase extends AdaptableObject {
16
16
  */
17
17
  friendlyName: string;
18
18
  /**
19
- * DataType of the column
19
+ * DataType of the Column
20
20
  */
21
21
  dataType: AdaptableColumnDataType;
22
22
  }
@@ -34,15 +34,15 @@ export interface AdaptableColumnGroup {
34
34
  groupCount: number;
35
35
  }
36
36
  /**
37
- * Defines an Adaptable Column - created at run-time based on AG Grid column definition
37
+ * Defines an Adaptable Column - created at run-time based on AG Grid ColDef
38
38
  */
39
39
  export interface AdaptableColumn extends AdaptableColumnBase {
40
40
  /**
41
- * Is the field of the row to get the cell data from
41
+ * Field in the row to get cell data from
42
42
  */
43
43
  field?: string;
44
44
  /**
45
- * Is this the Primary Key column
45
+ * Is this the Primary Key Column
46
46
  */
47
47
  isPrimaryKey: boolean;
48
48
  /**
@@ -50,11 +50,11 @@ export interface AdaptableColumn extends AdaptableColumnBase {
50
50
  */
51
51
  width?: number;
52
52
  /**
53
- * Flex details of the column
53
+ * Flex details of the Column
54
54
  */
55
55
  flex?: number;
56
56
  /**
57
- * Is the column editable; returns FALSE if the column has conditional/dynamic editability, assuming some rows are editable
57
+ * Is Column editable; returns FALSE if Column has conditional/dynamic editability, assuming some rows are editable
58
58
  */
59
59
  readOnly: boolean;
60
60
  /**
@@ -94,15 +94,19 @@ export interface AdaptableColumn extends AdaptableColumnBase {
94
94
  */
95
95
  queryable: boolean;
96
96
  /**
97
- * Available aggregations for the Column
97
+ * Whether the Column can be included in Reports
98
+ */
99
+ exportable: boolean;
100
+ /**
101
+ * Available Aggregations for the Column
98
102
  */
99
103
  availableAggregationFunctions?: string[];
100
104
  /**
101
- * Custom aggregation function for the Column
105
+ * Custom Aggregation function for the Column
102
106
  */
103
107
  aggregationFunction?: string;
104
108
  /**
105
- * Is Column currently grouped
109
+ * Is Column currently Row-Grouped
106
110
  */
107
111
  isGrouped: boolean;
108
112
  /**
@@ -110,7 +114,7 @@ export interface AdaptableColumn extends AdaptableColumnBase {
110
114
  */
111
115
  isFixed: boolean;
112
116
  /**
113
- * The pinned position of the column
117
+ * The pinned position of the Column
114
118
  */
115
119
  pinned: 'left' | 'right' | false;
116
120
  /**
@@ -122,7 +126,7 @@ export interface AdaptableColumn extends AdaptableColumnBase {
122
126
  */
123
127
  isExcludedFromQuickSearch: boolean;
124
128
  /**
125
- * The parent column group, if the column belongs to one
129
+ * The parent Column group (if Column belongs to one)
126
130
  */
127
131
  columnGroup?: AdaptableColumnGroup;
128
132
  }
@@ -1,5 +1,8 @@
1
1
  import { AdaptableButton } from './AdaptableButton';
2
2
  import { BaseContext } from '../../types';
3
+ /**
4
+ * Data which appears in an AdapTable Form
5
+ */
3
6
  export declare type AdaptableFormData = Record<string, any>;
4
7
  /**
5
8
  * Defines a form which appears dynamically; used by Alerts & Export Custom Destinations
@@ -50,5 +53,8 @@ export interface AdaptableFormField {
50
53
  label: string;
51
54
  }[];
52
55
  }
56
+ /**
57
+ * Types of Controls used in an AdapTable Form
58
+ */
53
59
  export declare type AdaptableFormFieldType = 'text' | 'select' | 'date' | 'number' | 'checkbox' | 'textOutput';
54
60
  export declare function getDefaultAdaptableFormData<T extends BaseContext = BaseContext>(formDef?: AdaptableForm<T>): AdaptableFormData;
@@ -51,4 +51,4 @@ export interface AdaptableBaseIcon {
51
51
  /**
52
52
  * All AdapTable internal icon names
53
53
  */
54
- export declare type AdaptableInternalIconName = 'add' | 'add-row' | 'alert' | 'align-justify' | 'analysis' | 'application' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-long' | 'arrow-down-long' | 'arrowexpand' | 'attach-file' | 'blanks' | 'boolean-list' | 'broadcast' | 'brush' | 'build' | 'bulk-update' | 'calculated-column' | 'calendar' | 'call' | 'campaign' | 'cell-summary' | 'cell-validation' | 'chart' | 'chat' | 'check' | 'check-circle' | 'checked' | 'clear' | 'clone' | 'close' | 'cloud-upload' | 'collapse' | 'column-add' | 'column-chooser' | 'column-filter' | 'comment' | 'contains' | 'custom-sort' | 'dashboard' | 'data-set' | 'date-range' | 'delete' | 'division' | 'dock' | 'drag' | 'edit' | 'ends-with' | 'equal' | 'equation' | 'error' | 'expand' | 'exponent' | 'export' | 'export-data' | 'fast-backward' | 'fast-forward' | 'filter' | 'flashing-cell' | 'folder' | 'folder-open' | 'folder-shared' | 'format-column' | 'freetext-column' | 'function' | 'gradient-column' | 'greater-than' | 'greater-than-or-equal' | 'hide-column' | 'history' | 'home' | 'import-export' | 'info' | 'instrument' | 'invalid' | 'ipushpull' | 'justify' | 'layout' | 'less-than' | 'less-than-or-equal' | 'list' | 'login' | 'logout' | 'menu' | 'minus' | 'multiplication' | 'newpage' | 'news' | 'non-blanks' | 'not-contains' | 'not-equal' | 'ok' | 'open-in-new' | 'pause' | 'percent' | 'percent-bar' | 'person' | 'pie-chart' | 'play' | 'plus' | 'plus-minus' | 'query' | 'quick-search' | 'quote' | 'refresh' | 'regex' | 'reminder' | 'save' | 'schedule' | 'settings' | 'shortcut' | 'show-column' | 'smart-edit' | 'sort-asc' | 'sort-desc' | 'spark-line' | 'starts-with' | 'state-management' | 'statusbar' | 'stop' | 'system-status' | 'tab-unselected' | 'team-share' | 'theme' | 'tool-panel' | 'track-changes' | 'trash' | 'triangle-down' | 'triangle-up' | 'unchecked' | 'undo' | 'updated-row' | 'upload' | 'warning';
54
+ export declare type AdaptableInternalIconName = 'add' | 'add-row' | 'alert' | 'align-justify' | 'analysis' | 'application' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-long' | 'arrow-down-long' | 'arrowexpand' | 'attach-file' | 'blanks' | 'boolean-list' | 'broadcast' | 'brush' | 'build' | 'bulk-update' | 'calculated-column' | 'calendar' | 'call' | 'campaign' | 'cell-summary' | 'cell-validation' | 'chart' | 'chat' | 'check' | 'check-circle' | 'checked' | 'clear' | 'clone' | 'close' | 'cloud-upload' | 'collapse' | 'column-add' | 'column-chooser' | 'column-filter' | 'comment' | 'contains' | 'custom-sort' | 'dashboard' | 'data-set' | 'date-range' | 'delete' | 'division' | 'dock' | 'drag' | 'edit' | 'ends-with' | 'equal' | 'equation' | 'error' | 'expand' | 'exponent' | 'export' | 'export-data' | 'fast-backward' | 'fast-forward' | 'filter' | 'flashing-cell' | 'folder' | 'folder-open' | 'folder-shared' | 'format-column' | 'freetext-column' | 'function' | 'gradient-column' | 'greater-than' | 'greater-than-or-equal' | 'hide-column' | 'history' | 'home' | 'import-export' | 'info' | 'instrument' | 'invalid' | 'ipushpull' | 'justify' | 'layout' | 'less-than' | 'less-than-or-equal' | 'list' | 'login' | 'logout' | 'menu' | 'minus' | 'multiplication' | 'newpage' | 'news' | 'non-blanks' | 'not-contains' | 'not-equal' | 'ok' | 'open-in-new' | 'pause' | 'percent' | 'percent-bar' | 'person' | 'pie-chart' | 'play' | 'plus' | 'plus-minus' | 'query' | 'quick-search' | 'quote' | 'refresh' | 'regex' | 'reminder' | 'save' | 'schedule' | 'settings' | 'shortcut' | 'show-column' | 'smart-edit' | 'sort-asc' | 'sort-desc' | 'spark-line' | 'starts-with' | 'state-management' | 'statusbar' | 'stop' | 'system-status' | 'tab-unselected' | 'team-share' | 'theme' | 'tool-panel' | 'track-changes' | 'trash' | 'triangle-down' | 'triangle-up' | 'unchecked' | 'undo' | 'updated-row' | 'upload' | 'warning' | 'visibility' | 'visibility-off';
@@ -15,6 +15,12 @@ export interface AdaptablePredicate {
15
15
  */
16
16
  Inputs?: any[];
17
17
  }
18
+ export interface AdaptableColumnPredicate extends AdaptablePredicate {
19
+ /**
20
+ * If specified, ColumnId restricts the predicate evaluation to the given column
21
+ */
22
+ ColumnId?: string;
23
+ }
18
24
  /**
19
25
  * Defines a Predicate - include where it can run and what it does
20
26
  */
@@ -1,16 +1,31 @@
1
1
  import { XOR } from '../../Utilities/Extensions/TypeExtensions';
2
+ /**
3
+ * Wraps an AdapTableQL Boolean Expression
4
+ */
2
5
  export interface AdaptableBooleanQuery {
3
6
  BooleanExpression: string;
4
7
  }
8
+ /**
9
+ * Wraps an AdapTableQL Scalar Expression
10
+ */
5
11
  export interface AdaptableScalarQuery {
6
12
  ScalarExpression: string;
7
13
  }
14
+ /**
15
+ * Wraps an AdapTableQL Observable Expression
16
+ */
8
17
  export interface AdaptableObservableQuery {
9
18
  ObservableExpression: string;
10
19
  }
20
+ /**
21
+ * Wraps an AdapTableQL Aggregated Boolean Expression
22
+ */
11
23
  export interface AdaptableAggregatedBooleanQuery {
12
24
  AggregatedBooleanExpression: string;
13
25
  }
26
+ /**
27
+ * Wraps an AdapTableQL Aggregated Scalar Expression
28
+ */
14
29
  export interface AdaptableAggregatedScalarQuery {
15
30
  AggregatedScalarExpression: string;
16
31
  }
@@ -8,7 +8,8 @@ export declare enum ExportDestination {
8
8
  Excel = "Excel",
9
9
  CSV = "CSV",
10
10
  Clipboard = "Clipboard",
11
- JSON = "JSON"
11
+ JSON = "JSON",
12
+ Table = "Table"
12
13
  }
13
14
  export declare enum ScheduleType {
14
15
  Report = "Report",
@@ -16,6 +16,7 @@ var ExportDestination;
16
16
  ExportDestination["CSV"] = "CSV";
17
17
  ExportDestination["Clipboard"] = "Clipboard";
18
18
  ExportDestination["JSON"] = "JSON";
19
+ ExportDestination["Table"] = "Table";
19
20
  })(ExportDestination = exports.ExportDestination || (exports.ExportDestination = {}));
20
21
  var ScheduleType;
21
22
  (function (ScheduleType) {
@@ -240,4 +240,7 @@ export declare type FDC3ContextType = 'fdc3.instrument' | 'fdc3.instrumentList'
240
240
  export interface CustomFDC3Context extends FDC3Context {
241
241
  type: any;
242
242
  }
243
+ /**
244
+ * Data used in FDC3 Contexts
245
+ */
243
246
  export declare type ContextData = Record<string, unknown>;
@@ -6,12 +6,18 @@ export declare type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
6
6
  /**
7
7
  * List of all the Toolbars that Adaptable provides
8
8
  */
9
- export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme' | 'Charting';
9
+ export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Charting' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
10
10
  export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
11
- export declare type AdaptableStatusBarPanel = 'CellSummary' | 'Alert' | 'GridInfo' | 'Dashboard' | 'ToolPanel' | 'StatusBar' | 'StateManagement' | 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SystemStatus' | 'DataChangeHistory' | 'TeamSharing' | 'Theme' | 'BulkUpdate' | 'SettingsPanel' | 'SmartEdit' | 'Charting';
11
+ /**
12
+ * Modules which can appear in the AdapTable Status Bar
13
+ */
14
+ export declare type AdaptableStatusBarPanel = 'Alert' | 'CalculatedColumn' | 'BulkUpdate' | 'CellSummary' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'SmartEdit' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
12
15
  export declare const ALL_STATUS_SUB_PANELS: AdaptableStatusBarPanel[];
13
16
  export declare type AdaptableToolPanels = AdaptableToolPanel[];
14
- export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme' | 'Charting';
17
+ /**
18
+ * Modules which can appear as AdapTable Tool Panels
19
+ */
20
+ export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Charting' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
15
21
  export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
16
22
  /**
17
23
  * Adaptable Module Button collection
@@ -22,18 +28,27 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
22
28
  /**
23
29
  * List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
24
30
  */
25
- export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
31
+ export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
26
32
  export declare type AdaptableStateKeys = AdaptableStateKey[];
27
33
  export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
28
34
  /**
29
35
  * Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
30
36
  */
31
- export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
37
+ export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
32
38
  export declare const ALL_MODULES: AdaptableModule[];
33
- export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel' | 'Charting';
39
+ /**
40
+ * Modules which can appear in the Settings Panel
41
+ */
42
+ export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'StyledColumn' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
34
43
  export declare type TypeHint<Base, Literals> = (Base & {
35
44
  __subType?: true;
36
45
  }) | Literals;
37
46
  export declare type AdaptableQLModules = AdaptableQLModule[];
47
+ /**
48
+ * Modules which leverage AdapTableQL; can be used to set remote evaluation
49
+ */
38
50
  export declare type AdaptableQLModule = 'CalculatedColumn' | 'Filter' | 'Query';
51
+ /**
52
+ * Column Types recognised by AdapTable; to be set in GridOptions
53
+ */
39
54
  export declare type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn';
@@ -31,7 +31,6 @@ exports.ALL_STATUS_SUB_PANELS = [
31
31
  'BulkUpdate',
32
32
  'CalculatedColumn',
33
33
  'CellSummary',
34
- 'ConditionalStyle',
35
34
  'CustomSort',
36
35
  'Charting',
37
36
  'Dashboard',
@@ -62,6 +61,7 @@ exports.ALL_TOOL_PANELS = [
62
61
  'Alert',
63
62
  'BulkUpdate',
64
63
  'CellSummary',
64
+ 'Charting',
65
65
  'Dashboard',
66
66
  'DataChangeHistory',
67
67
  'Export',
@@ -75,7 +75,6 @@ exports.ALL_TOOL_PANELS = [
75
75
  'StateManagement',
76
76
  'SystemStatus',
77
77
  'Theme',
78
- 'Charting',
79
78
  ];
80
79
  exports.ALL_MODULES = [
81
80
  ModuleConstants.AlertModuleId,
@@ -83,7 +82,6 @@ exports.ALL_MODULES = [
83
82
  ModuleConstants.CalculatedColumnModuleId,
84
83
  ModuleConstants.CellSummaryModuleId,
85
84
  ModuleConstants.ChartingModuleId,
86
- ModuleConstants.ConditionalStyleModuleId,
87
85
  ModuleConstants.CustomSortModuleId,
88
86
  ModuleConstants.DashboardModuleId,
89
87
  ModuleConstants.DataChangeHistoryModuleId,
@@ -1,11 +1,11 @@
1
1
  import { ConfigState } from './ConfigState';
2
2
  import { AdaptableStyle } from './Common/AdaptableStyle';
3
- import { AdaptablePredicate, AdaptableScope } from '../types';
3
+ import { AdaptableColumnPredicate, AdaptableScope } from '../types';
4
4
  import { XOR } from '../Utilities/Extensions/TypeExtensions';
5
5
  import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
6
6
  import { TypeHint } from './Common/Types';
7
7
  import { SuspendableObject } from '../../types';
8
- export interface FlashingCellDefinitionPredicate extends AdaptablePredicate {
8
+ export interface FlashingCellDefinitionPredicate extends AdaptableColumnPredicate {
9
9
  PredicateId: TypeHint<string, SystemFlashingCellPredicateId>;
10
10
  }
11
11
  /**
@@ -5,7 +5,8 @@ import { AdaptableScope } from './Common/AdaptableScope';
5
5
  import { SuspendableObject } from './Common/SuspendableObject';
6
6
  import { XOR } from '../Utilities/Extensions/TypeExtensions';
7
7
  import { TypeHint } from './Common/Types';
8
- import { AdaptableBooleanQuery, AdaptablePredicate, GradientStyle, PercentBarStyle } from '../types';
8
+ import { AdaptableBooleanQuery, GradientStyle, PercentBarStyle } from '../types';
9
+ import { AdaptableColumnPredicate } from './Common/AdaptablePredicate';
9
10
  /**
10
11
  * Predefined Configuration for Format Column Module
11
12
  */
@@ -55,7 +56,7 @@ export interface FormatColumn extends SuspendableObject {
55
56
  export declare type FormatColumnRule = XOR<{
56
57
  Predicates: FormatColumnPredicate[];
57
58
  }, AdaptableBooleanQuery>;
58
- export interface FormatColumnPredicate extends AdaptablePredicate {
59
+ export interface FormatColumnPredicate extends AdaptableColumnPredicate {
59
60
  PredicateId: TypeHint<string, SystemFormatColumnPredicateId>;
60
61
  }
61
62
  /**
@@ -32,7 +32,7 @@ export interface FreeTextColumn extends AdaptableObject {
32
32
  FreeTextStoredValues?: FreeTextStoredValue[];
33
33
  /**
34
34
  * Cell editor to use when editing a string Free Text Column
35
- * * @defaultValue 'Inline'
35
+ * @defaultValue 'Inline'
36
36
  */
37
37
  TextEditor?: 'Inline' | 'Large';
38
38
  /**
@@ -35,6 +35,10 @@ export interface PredefinedConfig {
35
35
  * Supplies a collection of *CalculatedColumn* objects that will display a value based on other cells in the row (using a Calculated Column Expression)
36
36
  */
37
37
  CalculatedColumn?: CalculatedColumnState;
38
+ /**
39
+ * Named Charts (wrapping Chart models)
40
+ */
41
+ Charting?: ChartingState;
38
42
  /**
39
43
  * @deprecated use `FormatColumn` instead
40
44
  */
@@ -103,8 +107,4 @@ export interface PredefinedConfig {
103
107
  * Sets the order and visibility of the Tool Panel controls in the AdapTable ToolPanel (on right of grid)
104
108
  */
105
109
  ToolPanel?: ToolPanelState;
106
- /**
107
- * Predefine charting models
108
- */
109
- Charting?: ChartingState;
110
110
  }
@@ -30,10 +30,6 @@ export interface AdaptableTheme extends AdaptableObject {
30
30
  * Description of Theme - will appear in Theme Toolbar and Toolpanel
31
31
  */
32
32
  Description: string;
33
- /**
34
- * deprecated use `AgGridClassName` property instead
35
- */
36
- VendorGridClassName?: string;
37
33
  /**
38
34
  * Ag Grid theme to apply when loading theme
39
35
  */
@@ -36,6 +36,7 @@ export interface PopupShowWindowAction extends Redux.Action {
36
36
  Id: string;
37
37
  Title: string;
38
38
  PopupProps: any;
39
+ FactoryId: any;
39
40
  Icon?: string;
40
41
  }
41
42
  export interface PopupHideWindowAction extends Redux.Action {
@@ -83,6 +84,7 @@ export declare const PopupHideScreen: () => PopupHideScreenAction;
83
84
  export declare const PopupShowWindow: (config: {
84
85
  Id: string;
85
86
  Title: string;
87
+ FactoryId: string;
86
88
  PopupProps?: any;
87
89
  Icon?: string;
88
90
  }) => PopupShowWindowAction;
@@ -34,6 +34,7 @@ const PopupShowWindow = (config) => ({
34
34
  Id: config.Id,
35
35
  Title: config.Title,
36
36
  PopupProps: config.PopupProps,
37
+ FactoryId: config.FactoryId,
37
38
  Icon: config.Icon,
38
39
  });
39
40
  exports.PopupShowWindow = PopupShowWindow;
@@ -271,6 +272,7 @@ const PopupReducer = (state = initialState, action) => {
271
272
  Icon: showWindowAction.Icon,
272
273
  Title: showWindowAction.Title,
273
274
  PopupProps: showWindowAction.PopupProps,
275
+ FactoryId: showWindowAction.FactoryId,
274
276
  };
275
277
  let PopupList = [...state.WindowPopup.PopupList];
276
278
  // Prevent opening the same popup twice
@@ -2,7 +2,7 @@ import * as Redux from 'redux';
2
2
  import { AdaptableState } from '../../../types';
3
3
  import { StatusBarState, AdaptableStatusBar } from '../../PredefinedConfig/StatusBarState';
4
4
  /**
5
- * @ReduxAction Sets status bar panels
5
+ * @ReduxAction Sets Status Bar panels
6
6
  */
7
7
  export declare const SET_STATUS_BAR_PANELS = "SET_STATUS_BAR_PANELS";
8
8
  /**
@@ -18,5 +18,5 @@ export interface StatusBarReadyAction extends Redux.Action {
18
18
  export declare const StatusBarSetPanels: (statusPanels: AdaptableStatusBar[]) => StatusBarSetPanelsAction;
19
19
  export declare const initialState: StatusBarState;
20
20
  export declare const getStatusPanelsSelector: (state: AdaptableState) => AdaptableStatusBar[];
21
- export declare const ToolPanelReady: (statusBarState: StatusBarState) => StatusBarReadyAction;
21
+ export declare const StatusBarReady: (statusBarState: StatusBarState) => StatusBarReadyAction;
22
22
  export declare const StatusBarReducer: Redux.Reducer<StatusBarState>;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatusBarReducer = exports.ToolPanelReady = exports.getStatusPanelsSelector = exports.initialState = exports.StatusBarSetPanels = exports.STATUS_BAR_READY = exports.SET_STATUS_BAR_PANELS = void 0;
3
+ exports.StatusBarReducer = exports.StatusBarReady = exports.getStatusPanelsSelector = exports.initialState = exports.StatusBarSetPanels = exports.STATUS_BAR_READY = exports.SET_STATUS_BAR_PANELS = void 0;
4
4
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
5
  /**
6
- * @ReduxAction Sets status bar panels
6
+ * @ReduxAction Sets Status Bar panels
7
7
  */
8
8
  exports.SET_STATUS_BAR_PANELS = 'SET_STATUS_BAR_PANELS';
9
9
  /**
@@ -20,11 +20,11 @@ exports.initialState = {
20
20
  };
21
21
  const getStatusPanelsSelector = (state) => state.StatusBar.StatusBars;
22
22
  exports.getStatusPanelsSelector = getStatusPanelsSelector;
23
- const ToolPanelReady = (statusBarState) => ({
23
+ const StatusBarReady = (statusBarState) => ({
24
24
  type: exports.STATUS_BAR_READY,
25
25
  statusBarState,
26
26
  });
27
- exports.ToolPanelReady = ToolPanelReady;
27
+ exports.StatusBarReady = StatusBarReady;
28
28
  const StatusBarReducer = (state = exports.initialState, action) => {
29
29
  switch (action.type) {
30
30
  case exports.SET_STATUS_BAR_PANELS:
@@ -569,17 +569,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
569
569
  *******************/
570
570
  case CalculatedColumnRedux.CALCULATED_COLUMN_READY: {
571
571
  // create aggregated scalar columns at grid startup
572
- const aggregatedCalculatedColumns = adaptable.api.calculatedColumnApi
573
- .getCalculatedColumns()
574
- .filter((calculatedColumn) => { var _a; return (_a = calculatedColumn.Query) === null || _a === void 0 ? void 0 : _a.AggregatedScalarExpression; });
575
- aggregatedCalculatedColumns.forEach((calculatedColumn) => {
576
- adaptable.api.internalApi
577
- .getCalculatedColumnExpressionService()
578
- .createAggregatedScalarLiveValue(calculatedColumn);
579
- });
580
- // refresh calculated columns
581
- const aggCalculatedColumnIds = aggregatedCalculatedColumns.map((calculatedColumn) => calculatedColumn.ColumnId);
582
- adaptable.refreshCells(null, aggCalculatedColumnIds, true);
572
+ adaptable.api.calculatedColumnApi.refreshAggregatedCalculatedColumns();
583
573
  return;
584
574
  }
585
575
  /**
@@ -13,12 +13,14 @@ const getScopeViewItems_1 = require("./Utilities/getScopeViewItems");
13
13
  const getRuleViewItems_1 = require("./Utilities/getRuleViewItems");
14
14
  const getAlertPreviewViewItems_1 = require("./Utilities/Alert/getAlertPreviewViewItems");
15
15
  const getAlertBehaviourViewItems_1 = require("./Utilities/Alert/getAlertBehaviourViewItems");
16
+ const getAlertTypeViewItems_1 = require("./Utilities/Alert/getAlertTypeViewItems");
16
17
  const AlertEmptyView_1 = require("../View/Alert/AlertEmptyView");
17
18
  const AlertStatusSubPanel_1 = require("../View/Alert/AlertStatusSubPanel");
18
19
  const ActiveAlertsPanelItemLabel_1 = require("../View/Alert/ActiveAlertsPanelItemLabel");
19
20
  const getObjectTagsViewItems_1 = require("./Utilities/getObjectTagsViewItems");
20
21
  const updateSingleToMultiplePredicates_1 = require("./Utilities/updateSingleToMultiplePredicates");
21
22
  const Helper_1 = require("../Utilities/Helpers/Helper");
23
+ const getAlertType_1 = require("../View/Alert/Utilities/getAlertType");
22
24
  class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
23
25
  constructor(api) {
24
26
  super(ModuleConstants.AlertModuleId, ModuleConstants.AlertModuleFriendlyName, 'alert', 'AlertPopup', 'Get notified when things happen in Adaptable that you need to know about', api);
@@ -221,14 +223,16 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
221
223
  };
222
224
  }
223
225
  toView(alert) {
226
+ const alertType = (0, getAlertType_1.getAlertType)(alert);
224
227
  return {
225
228
  items: [
226
- (0, getScopeViewItems_1.getScopeViewItems)(alert.Scope, this.api),
227
- (0, getRuleViewItems_1.getRuleViewItems)(alert.Rule, this.api),
229
+ (0, getAlertTypeViewItems_1.getAlertTypeViewItems)(alert),
230
+ alertType === 'DataChange' && Object.assign(Object.assign({}, (0, getScopeViewItems_1.getScopeViewItems)(alert.Scope, this.api)), { label: 'Trigger', name: 'Trigger' }),
231
+ Object.assign(Object.assign({}, (0, getRuleViewItems_1.getRuleViewItems)(alert.Rule, this.api)), { label: 'Rule', name: 'Rule' }),
228
232
  (0, getAlertBehaviourViewItems_1.getAlertBehaviourViewItems)(this.api),
229
233
  (0, getAlertPreviewViewItems_1.getAlertPreviewViewItems)(alert, this.api),
230
234
  (0, getObjectTagsViewItems_1.getObjectTagsViewItems)(alert, this.api),
231
- ],
235
+ ].filter(Boolean),
232
236
  abObject: alert,
233
237
  };
234
238
  }
@@ -4,10 +4,11 @@ exports.ChartingModule = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const AdaptableModuleBase_1 = require("./AdaptableModuleBase");
6
6
  const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
7
- const ShowChartButton_1 = require("../View/Components/Charting/ShowChartButton");
8
- const ChartingWizard_1 = require("../View/Components/Charting/ChartingWizard/ChartingWizard");
7
+ const ShowChartButton_1 = require("../View/Charting/ShowChartButton");
8
+ const ChartingWizard_1 = require("../View/Charting/ChartingWizard/ChartingWizard");
9
9
  const ChartingRedux = tslib_1.__importStar(require("../Redux/ActionsReducers/ChartingRedux"));
10
- const ChartingStatusBarPopover_1 = require("../View/Components/Charting/ChartingStatusBarPopover");
10
+ const ChartingStatusBarPopover_1 = require("../View/Charting/ChartingStatusBarPopover");
11
+ const getObjectTagsViewItems_1 = require("./Utilities/getObjectTagsViewItems");
11
12
  class ChartingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
12
13
  constructor(api) {
13
14
  super(ModuleConstants.ChartingModuleId, ModuleConstants.ChartingFriendlyName, 'chart', 'ChartPopup', 'Create AG Grid Charts in order to see Adaptable Data visually', api);
@@ -83,6 +84,7 @@ class ChartingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
83
84
  .join(', ')}`,
84
85
  ].filter(Boolean),
85
86
  },
87
+ (0, getObjectTagsViewItems_1.getObjectTagsViewItems)(chart, this.api),
86
88
  ].filter(Boolean),
87
89
  abObject: chart,
88
90
  };