@adaptabletools/adaptable 10.0.4-canary.5 → 11.0.0-canary.3

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 (233) hide show
  1. package/base.css +19 -15
  2. package/bundle.cjs.js +121 -115
  3. package/index.css +20 -17
  4. package/package.json +32 -32
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +9 -4
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +13 -2
  9. package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
  10. package/src/AdaptableOptions/DashboardOptions.d.ts +7 -9
  11. package/src/AdaptableOptions/EntitlementOptions.d.ts +1 -1
  12. package/src/AdaptableOptions/FlashingCellOptions.d.ts +31 -0
  13. package/src/AdaptableOptions/{ChartPluginOptions.js → FlashingCellOptions.js} +0 -0
  14. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  15. package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
  16. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -7
  17. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +14 -2
  18. package/src/AdaptableOptions/TeamSharingOptions.d.ts +1 -1
  19. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -15
  20. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -0
  21. package/src/Api/AdaptableApi.d.ts +6 -6
  22. package/src/Api/ChartingApi.d.ts +9 -0
  23. package/src/Api/{ChartApi.js → ChartingApi.js} +0 -0
  24. package/src/Api/ColumnApi.d.ts +11 -1
  25. package/src/Api/ConfigApi.d.ts +0 -12
  26. package/src/Api/EventApi.d.ts +3 -3
  27. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  28. package/src/Api/Events/FlashingCellDisplayed.d.ts +2 -2
  29. package/src/Api/Events/SearchChanged.d.ts +1 -1
  30. package/src/Api/FlashingCellApi.d.ts +35 -24
  31. package/src/Api/GridApi.d.ts +3 -3
  32. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  33. package/src/Api/Implementation/AdaptableApiImpl.js +2 -2
  34. package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -1
  35. package/src/Api/Implementation/ChartingApiImpl.d.ts +5 -0
  36. package/src/Api/Implementation/ChartingApiImpl.js +10 -0
  37. package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
  38. package/src/Api/Implementation/ColumnApiImpl.js +9 -3
  39. package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
  40. package/src/Api/Implementation/ConfigApiImpl.js +0 -16
  41. package/src/Api/Implementation/DashboardApiImpl.js +1 -1
  42. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +8 -4
  43. package/src/Api/Implementation/FlashingCellApiImpl.js +42 -29
  44. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  45. package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
  46. package/src/Api/Implementation/GridApiImpl.js +5 -1
  47. package/src/Api/Implementation/InternalApiImpl.d.ts +0 -5
  48. package/src/Api/Implementation/InternalApiImpl.js +1 -15
  49. package/src/Api/Implementation/LayoutApiImpl.js +1 -1
  50. package/src/Api/Implementation/PluginsApiImpl.d.ts +0 -2
  51. package/src/Api/Implementation/PluginsApiImpl.js +0 -6
  52. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  53. package/src/Api/Implementation/QueryApiImpl.js +1 -1
  54. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  55. package/src/Api/InternalApi.d.ts +0 -5
  56. package/src/Api/PluginsApi.d.ts +0 -2
  57. package/src/PredefinedConfig/AdaptableState.d.ts +0 -4
  58. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
  59. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -38
  60. package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
  61. package/src/PredefinedConfig/Common/Enums.js +1 -0
  62. package/src/PredefinedConfig/Common/Menu.d.ts +15 -19
  63. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
  64. package/src/PredefinedConfig/Common/Types.d.ts +5 -5
  65. package/src/PredefinedConfig/Common/Types.js +0 -2
  66. package/src/PredefinedConfig/DashboardState.d.ts +4 -4
  67. package/src/PredefinedConfig/FlashingCellState.d.ts +16 -20
  68. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -10
  69. package/src/PredefinedConfig/SystemState.d.ts +0 -4
  70. package/src/PredefinedConfig/ThemeState.d.ts +2 -1
  71. package/src/Redux/ActionsReducers/DashboardRedux.d.ts +0 -7
  72. package/src/Redux/ActionsReducers/DashboardRedux.js +2 -12
  73. package/src/Redux/ActionsReducers/PopupRedux.d.ts +0 -2
  74. package/src/Redux/ActionsReducers/SystemRedux.d.ts +0 -12
  75. package/src/Redux/ActionsReducers/SystemRedux.js +1 -21
  76. package/src/Redux/ActionsReducers/ToolPanelRedux.js +1 -2
  77. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
  78. package/src/Redux/Store/AdaptableReduxMerger.js +5 -5
  79. package/src/Redux/Store/AdaptableStore.js +21 -21
  80. package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
  81. package/src/Strategy/AdaptableModuleBase.js +0 -3
  82. package/src/Strategy/AlertModule.js +2 -2
  83. package/src/Strategy/CalculatedColumnModule.js +17 -12
  84. package/src/Strategy/ChartingModule.d.ts +7 -0
  85. package/src/Strategy/ChartingModule.js +15 -0
  86. package/src/Strategy/ConditionalStyleModule.js +1 -1
  87. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  88. package/src/Strategy/FilterModule.js +3 -2
  89. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  90. package/src/Strategy/FlashingCellModule.js +35 -19
  91. package/src/Strategy/FormatColumnModule.js +2 -2
  92. package/src/Strategy/Interface/IModule.d.ts +0 -1
  93. package/src/Strategy/LayoutModule.js +15 -3
  94. package/src/Strategy/QueryModule.d.ts +1 -1
  95. package/src/Strategy/QueryModule.js +1 -3
  96. package/src/Strategy/SetingsPanelModule.d.ts +1 -0
  97. package/src/Strategy/SetingsPanelModule.js +7 -1
  98. package/src/Strategy/TeamSharingModule.js +1 -1
  99. package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +5 -0
  100. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +11 -0
  101. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.d.ts +3 -0
  102. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +10 -0
  103. package/src/Utilities/Constants/ConfigConstants.d.ts +0 -1
  104. package/src/Utilities/Constants/ConfigConstants.js +1 -2
  105. package/src/Utilities/Constants/GeneralConstants.d.ts +0 -9
  106. package/src/Utilities/Constants/GeneralConstants.js +1 -12
  107. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -2
  108. package/src/Utilities/Constants/ModuleConstants.js +2 -3
  109. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +19 -18
  110. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +2 -1
  111. package/src/Utilities/ExpressionFunctions/aggregationExpressionFunctions.js +1 -1
  112. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
  113. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
  114. package/src/Utilities/Extensions/StringExtensions.js +1 -1
  115. package/src/Utilities/Helpers/AdaptableHelper.js +4 -4
  116. package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
  117. package/src/Utilities/ObjectFactory.d.ts +0 -10
  118. package/src/Utilities/ObjectFactory.js +6 -67
  119. package/src/Utilities/Services/EntitlementService.js +1 -1
  120. package/src/Utilities/Services/LicenseService.js +1 -1
  121. package/src/Utilities/Services/ModuleService.js +7 -11
  122. package/src/Utilities/Services/ReportService.js +1 -1
  123. package/src/View/AdaptableView.js +2 -8
  124. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +4 -3
  125. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -1
  126. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -9
  127. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +3 -3
  128. package/src/View/AdaptableWizardView/index.js +1 -1
  129. package/src/View/Alert/AlertEmptyView.js +1 -1
  130. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -0
  131. package/src/View/Alert/Wizard/AlertWizard.js +3 -3
  132. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +2 -2
  133. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  134. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +0 -1
  135. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -0
  136. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +11 -24
  137. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +16 -4
  138. package/src/View/Components/FilterForm/QuickFilterForm.js +2 -2
  139. package/src/View/Components/ModuleValueSelector/index.d.ts +3 -1
  140. package/src/View/Components/ModuleValueSelector/index.js +1 -1
  141. package/src/View/Components/NewScopeComponent.js +1 -1
  142. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +9 -7
  143. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +3 -1
  144. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +19 -6
  145. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
  146. package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
  147. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +46 -81
  148. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
  149. package/src/View/Components/ToolPanel/ToolPanelPopup.js +11 -4
  150. package/src/View/Components/ValueSelector/index.d.ts +2 -0
  151. package/src/View/Components/ValueSelector/index.js +5 -5
  152. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +10 -5
  153. package/src/View/CustomSort/Wizard/CustomSortWizard.js +16 -4
  154. package/src/View/Dashboard/Dashboard.js +14 -36
  155. package/src/View/Dashboard/DashboardPopup.js +24 -16
  156. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -2
  157. package/src/View/Export/Wizard/NewReportWizard.js +13 -3
  158. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +17 -26
  159. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +19 -2
  160. package/src/View/FlashingCell/Wizard/{FlashingCellDurationWizardSection.d.ts → FlashingCellSettingsWizardSection.d.ts} +3 -3
  161. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +81 -0
  162. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +6 -8
  163. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
  164. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
  165. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +10 -5
  166. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +8 -3
  167. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +13 -5
  168. package/src/View/GridInfo/GridInfoPopup.js +3 -2
  169. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +8 -2
  170. package/src/View/Query/QueryViewPanel.js +12 -9
  171. package/src/View/Query/Wizard/NamedQueryWizard.js +13 -8
  172. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  173. package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
  174. package/src/View/Schedule/Wizard/ScheduleWizard.js +14 -14
  175. package/src/View/Shortcut/shortcutKeys.js +0 -1
  176. package/src/View/SpecialColumnSettingsWizardStep.d.ts +9 -0
  177. package/src/View/SpecialColumnSettingsWizardStep.js +63 -0
  178. package/src/View/UIHelper.d.ts +0 -4
  179. package/src/View/UIHelper.js +1 -34
  180. package/src/View/Wizard/AdaptableWizard.js +1 -1
  181. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -0
  182. package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
  183. package/src/agGrid/Adaptable.d.ts +10 -7
  184. package/src/agGrid/Adaptable.js +80 -57
  185. package/src/agGrid/agGridHelper.d.ts +1 -2
  186. package/src/agGrid/agGridHelper.js +8 -5
  187. package/src/agGrid/agGridMenuHelper.js +12 -8
  188. package/src/components/ApplicationIcon.d.ts +1 -1
  189. package/src/components/Dashboard/Dashboard.js +1 -1
  190. package/src/components/Dashboard/DashboardManager.d.ts +5 -3
  191. package/src/components/Dashboard/DashboardManager.js +33 -27
  192. package/src/components/DropdownButton/renderItem.js +1 -1
  193. package/src/components/FormLayout/index.js +1 -1
  194. package/src/components/OverlayTrigger/Overlay.js +1 -1
  195. package/src/components/WindowModal/WindowModal.js +17 -2
  196. package/src/components/icons/column-add.d.ts +3 -0
  197. package/src/components/icons/column-add.js +10 -0
  198. package/src/components/icons/index.js +2 -0
  199. package/src/components/utils/useDraggable.js +2 -1
  200. package/src/metamodel/adaptable.metamodel.d.ts +58 -91
  201. package/src/metamodel/adaptable.metamodel.js +248 -297
  202. package/src/types.d.ts +4 -7
  203. package/version.d.ts +1 -1
  204. package/version.js +1 -1
  205. package/src/AdaptableOptions/ChartPluginOptions.d.ts +0 -20
  206. package/src/Api/ChartApi.d.ts +0 -20
  207. package/src/Api/Implementation/SparklineColumnApiImpl.d.ts +0 -9
  208. package/src/Api/Implementation/SparklineColumnApiImpl.js +0 -24
  209. package/src/Api/SparklineColumnApi.d.ts +0 -23
  210. package/src/Api/SparklineColumnApi.js +0 -2
  211. package/src/PredefinedConfig/ChartState.d.ts +0 -144
  212. package/src/PredefinedConfig/ChartState.js +0 -2
  213. package/src/PredefinedConfig/Common/ChartEnums.d.ts +0 -123
  214. package/src/PredefinedConfig/Common/ChartEnums.js +0 -152
  215. package/src/PredefinedConfig/SparklineColumnState.d.ts +0 -40
  216. package/src/PredefinedConfig/SparklineColumnState.js +0 -2
  217. package/src/Redux/ActionsReducers/SparklineColumnRedux.d.ts +0 -35
  218. package/src/Redux/ActionsReducers/SparklineColumnRedux.js +0 -70
  219. package/src/Utilities/Defaults/DefaultCategoryChartProperties.d.ts +0 -2
  220. package/src/Utilities/Defaults/DefaultCategoryChartProperties.js +0 -56
  221. package/src/Utilities/Defaults/DefaultPieChartProperties.d.ts +0 -2
  222. package/src/Utilities/Defaults/DefaultPieChartProperties.js +0 -13
  223. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.d.ts +0 -2
  224. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.js +0 -25
  225. package/src/View/Components/Panels/PanelWithIImageThreeButtons.d.ts +0 -11
  226. package/src/View/Components/Panels/PanelWithIImageThreeButtons.js +0 -28
  227. package/src/View/Components/Popups/AdaptableChart.d.ts +0 -18
  228. package/src/View/Components/Popups/AdaptableChart.js +0 -40
  229. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.d.ts +0 -7
  230. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.js +0 -2
  231. package/src/View/FlashingCell/Wizard/FlashingCellDurationWizardSection.js +0 -60
  232. package/src/components/ChartContainer/index.d.ts +0 -15
  233. package/src/components/ChartContainer/index.js +0 -22
@@ -7,7 +7,6 @@ const SystemRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/Sy
7
7
  const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
8
8
  const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
9
9
  const LayoutRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/LayoutRedux"));
10
- const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
11
10
  const AlertRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/AlertRedux"));
12
11
  const DeadRedux = tslib_1.__importStar(require("../../Redux/DeadRedux"));
13
12
  const ApiBase_1 = require("./ApiBase");
@@ -20,9 +19,6 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
20
19
  getSystemState() {
21
20
  return this.getAdaptableState().System;
22
21
  }
23
- setChartData(chartData) {
24
- this.dispatchAction(SystemRedux.ChartSetChartData(chartData));
25
- }
26
22
  getAdaptableFormFromAlertForm(alertForm, context, defaultMessageType) {
27
23
  var _a, _b;
28
24
  const api = this.adaptable.api;
@@ -63,9 +59,6 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
63
59
  }
64
60
  return adaptableAlertForm;
65
61
  }
66
- setChartVisibility(chartVisbility) {
67
- this.dispatchAction(SystemRedux.ChartSetChartVisibility(chartVisbility));
68
- }
69
62
  getAdaptableAlerts() {
70
63
  return this.getSystemState().AdaptableAlerts;
71
64
  }
@@ -193,13 +186,6 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
193
186
  updateCurrentDraftLayout(layout) {
194
187
  this.dispatchAction(LayoutRedux.LayoutUpdateCurrentDraft(layout));
195
188
  }
196
- setDefaultDashboardTab() {
197
- const dashboardTabs = this.adaptable.api.dashboardApi.getDashboardState().Tabs;
198
- if (ArrayExtensions_1.default.IsNull(dashboardTabs)) {
199
- LoggingHelper_1.LogAdaptableInfo('Creating a default Dashboard tab');
200
- this.dispatchAction(DashboardRedux.DashboardCreateDefaultTab());
201
- }
202
- }
203
189
  getPrimaryKey() {
204
190
  return this.adaptable.adaptableOptions.primaryKey;
205
191
  }
@@ -207,7 +193,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
207
193
  return this.adaptable;
208
194
  }
209
195
  getAgGridInstance() {
210
- return this.adaptable.adaptableOptions.agGridOptions;
196
+ return this.adaptable.adaptableOptions.gridOptions;
211
197
  }
212
198
  getPredefinedConfig() {
213
199
  return this.adaptable.adaptableOptions.predefinedConfig;
@@ -10,7 +10,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectF
10
10
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
11
11
  const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
12
12
  const Uuid_1 = require("../../PredefinedConfig/Uuid");
13
- const isEqual_1 = tslib_1.__importDefault(require("lodash-es/isEqual"));
13
+ const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
14
14
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
15
15
  const Enums_1 = require("../../PredefinedConfig/Common/Enums");
16
16
  const ArrayExtensions_1 = require("../../Utilities/Extensions/ArrayExtensions");
@@ -4,7 +4,6 @@ import { PluginsState } from '../../Redux/ActionsReducers/PluginsRedux';
4
4
  import { IPushPullApi } from '../IPushPullApi';
5
5
  import { Glue42Api } from '../Glue42Api';
6
6
  import { OpenFinApi } from '../OpenFinApi';
7
- import { ChartApi } from '../ChartApi';
8
7
  import { FinanceApi } from '../FinanceApi';
9
8
  export declare class PluginsApiImpl extends ApiBase implements PluginsApi {
10
9
  getPluginsState(): PluginsState;
@@ -15,6 +14,5 @@ export declare class PluginsApiImpl extends ApiBase implements PluginsApi {
15
14
  getipushpullPluginApi(): IPushPullApi;
16
15
  getGlue42PluginApi(): Glue42Api;
17
16
  getOpenFinPluginApi(): OpenFinApi;
18
- getChartsPluginApi(): ChartApi;
19
17
  getFinancePluginApi(): FinanceApi;
20
18
  }
@@ -32,9 +32,6 @@ class PluginsApiImpl extends ApiBase_1.ApiBase {
32
32
  if (pluginId === 'openfin') {
33
33
  return api;
34
34
  }
35
- if (pluginId === 'charts') {
36
- return api;
37
- }
38
35
  return api;
39
36
  }
40
37
  catch (ex) {
@@ -50,9 +47,6 @@ class PluginsApiImpl extends ApiBase_1.ApiBase {
50
47
  getOpenFinPluginApi() {
51
48
  return this.getPluginApi('openfin');
52
49
  }
53
- getChartsPluginApi() {
54
- return this.getPluginApi('charts');
55
- }
56
50
  getFinancePluginApi() {
57
51
  return this.getPluginApi('finance');
58
52
  }
@@ -27,7 +27,7 @@ class PlusMinusApiImpl extends ApiBase_1.ApiBase {
27
27
  return this.getAllPlusMinus().filter((plusMinusNudge) => plusMinusNudge.IsSuspended);
28
28
  }
29
29
  runPlusMinusNudge(plusMinusNudge, cellsToUpdate, direction) {
30
- let plusMinusModule = (this.adaptable.modules.get(ModuleConstants.PlusMinusModuleId));
30
+ let plusMinusModule = (this.adaptable.adaptableModules.get(ModuleConstants.PlusMinusModuleId));
31
31
  plusMinusModule.applyPlusMinus([plusMinusNudge], cellsToUpdate, direction);
32
32
  }
33
33
  applyPlusMinus(gridCells) {
@@ -64,7 +64,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
64
64
  }
65
65
  getNamedQueryModuleReferences(namedQueryName) {
66
66
  const references = [];
67
- this.adaptable.modules.forEach((module) => {
67
+ this.adaptable.adaptableModules.forEach((module) => {
68
68
  if (module
69
69
  .getModuleNamedQueryReferences()
70
70
  .some((moduleReference) => moduleReference === namedQueryName)) {
@@ -13,13 +13,13 @@ class ToolPanelApiImpl extends ApiBase_1.ApiBase {
13
13
  this.showModulePopup(ModuleConstants.ToolPanelModuleId, popupParams);
14
14
  }
15
15
  openAdapTableToolPanel() {
16
- let gridOptions = this.getOptions().agGridOptions;
16
+ let gridOptions = this.getOptions().gridOptions;
17
17
  if (gridOptions) {
18
18
  gridOptions.api.openToolPanel('adaptable');
19
19
  }
20
20
  }
21
21
  closeAdapTableToolPanel() {
22
- let gridOptions = this.getOptions().agGridOptions;
22
+ let gridOptions = this.getOptions().gridOptions;
23
23
  if (gridOptions) {
24
24
  gridOptions.api.closeToolPanel();
25
25
  }
@@ -1,7 +1,5 @@
1
1
  import { UIConfirmation } from '../Utilities/Interface/MessagePopups';
2
2
  import { SystemState } from '../PredefinedConfig/SystemState';
3
- import { ChartData } from '../PredefinedConfig/ChartState';
4
- import { ChartVisibility } from '../PredefinedConfig/Common/ChartEnums';
5
3
  import { Action } from 'redux';
6
4
  import { ModuleParams } from '../View/Components/SharedProps/ModuleViewPopupProps';
7
5
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
@@ -46,8 +44,6 @@ export interface InternalApi {
46
44
  buttonStyle?: ButtonStyle;
47
45
  })[];
48
46
  };
49
- setChartData(chartData: ChartData): void;
50
- setChartVisibility(chartVisbility: ChartVisibility): void;
51
47
  getAdaptableAlerts(): AdaptableAlert[];
52
48
  showPopupConfirmation(confirmation: UIConfirmation): void;
53
49
  getAdaptableFlashingCellFor(primaryKey: string, columnId?: string): AdaptableFlashingCell | null;
@@ -80,7 +76,6 @@ export interface InternalApi {
80
76
  getQueryPreviewData(): any;
81
77
  buildDataChangedInfo(config: Pick<DataChangedInfo, 'newValue' | 'oldValue' | 'column' | 'primaryKeyValue' | 'rowNode' | 'trigger'>): DataChangedInfo;
82
78
  setLastAppliedShortCut(gridCell: GridCell | undefined): void;
83
- setDefaultDashboardTab(): void;
84
79
  updateCurrentDraftLayout(layout: Layout): void;
85
80
  getPrimaryKey(): any;
86
81
  getAdaptableInstance(): IAdaptable;
@@ -2,7 +2,6 @@ import { PluginsState } from '../Redux/ActionsReducers/PluginsRedux';
2
2
  import { IPushPullApi } from './IPushPullApi';
3
3
  import { Glue42Api } from './Glue42Api';
4
4
  import { OpenFinApi } from './OpenFinApi';
5
- import { ChartApi } from './ChartApi';
6
5
  import { FinanceApi } from './FinanceApi';
7
6
  /**
8
7
  * API methods dealing with AdapTable plugins
@@ -15,6 +14,5 @@ export interface PluginsApi {
15
14
  getipushpullPluginApi(): IPushPullApi;
16
15
  getGlue42PluginApi(): Glue42Api;
17
16
  getOpenFinPluginApi(): OpenFinApi;
18
- getChartsPluginApi(): ChartApi;
19
17
  getFinancePluginApi(): FinanceApi;
20
18
  }
@@ -3,7 +3,6 @@ import { GridState } from './GridState';
3
3
  import { SystemState } from './SystemState';
4
4
  import { AlertState } from './AlertState';
5
5
  import { CalculatedColumnState } from './CalculatedColumnState';
6
- import { ChartState } from './ChartState';
7
6
  import { ConditionalStyleState } from './ConditionalStyleState';
8
7
  import { CustomSortState } from './CustomSortState';
9
8
  import { DashboardState } from './DashboardState';
@@ -20,7 +19,6 @@ import { TeamSharingState } from './TeamSharingState';
20
19
  import { ThemeState } from './ThemeState';
21
20
  import { ConfigState } from './ConfigState';
22
21
  import { FilterState } from './FilterState';
23
- import { SparklineColumnState } from './SparklineColumnState';
24
22
  import { ApplicationState } from './ApplicationState';
25
23
  import { ToolPanelState } from './ToolPanelState';
26
24
  import { QueryState } from './QueryState';
@@ -37,11 +35,9 @@ export interface AdaptableState {
37
35
  [key: string]: any;
38
36
  };
39
37
  Application: ApplicationState;
40
- SparklineColumn: SparklineColumnState;
41
38
  Alert: AlertState;
42
39
  FlashingCell: FlashingCellState;
43
40
  CalculatedColumn: CalculatedColumnState;
44
- Chart: ChartState;
45
41
  ConditionalStyle: ConditionalStyleState;
46
42
  CustomSort: CustomSortState;
47
43
  Dashboard: DashboardState;
@@ -32,7 +32,7 @@ export interface AdaptablePredicateDef {
32
32
  */
33
33
  columnScope: AdaptableScope;
34
34
  /**
35
- * Modules where Predicate can run: 'filter', 'alert', 'conditionalstyle'
35
+ * Modules where the Predicate can run
36
36
  */
37
37
  moduleScope: ModuleScope[];
38
38
  /**
@@ -86,7 +86,7 @@ export interface PredicateDefHandlerParams {
86
86
  */
87
87
  displayValue: any;
88
88
  /**
89
- * Row node which contains the cell
89
+ * AG Grid Row node which contains the cell
90
90
  */
91
91
  node: RowNode;
92
92
  /**
@@ -94,7 +94,7 @@ export interface PredicateDefHandlerParams {
94
94
  */
95
95
  inputs: any[];
96
96
  /**
97
- * Column which contains the cell
97
+ * Adaptable Column which contains the cell
98
98
  */
99
99
  column: AdaptableColumn;
100
100
  /**
@@ -105,7 +105,7 @@ export interface PredicateDefHandlerParams {
105
105
  export interface PredicateDefToStringParams {
106
106
  inputs: any[];
107
107
  }
108
- export declare type ModuleScope = 'filter' | 'alert' | 'conditionalstyle';
108
+ export declare type ModuleScope = 'filter' | 'alert' | 'conditionalstyle' | 'flashingcell';
109
109
  /**
110
110
  * Array of Predicate Defs which are shipped by AdapTable
111
111
  */
@@ -36,7 +36,7 @@ exports.SystemPredicateDefs = [
36
36
  label: 'Blanks',
37
37
  icon: { path: 'blanks' },
38
38
  columnScope: { All: true },
39
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
39
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
40
40
  handler: ({ value }) => Helper_1.default.IsInputNullOrEmpty(value),
41
41
  },
42
42
  {
@@ -44,7 +44,7 @@ exports.SystemPredicateDefs = [
44
44
  label: 'Non Blanks',
45
45
  icon: { path: 'non-blanks' },
46
46
  columnScope: { All: true },
47
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
47
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
48
48
  handler: ({ value }) => Helper_1.default.IsInputNotNullOrEmpty(value),
49
49
  },
50
50
  // Numeric System Filters
@@ -53,7 +53,7 @@ exports.SystemPredicateDefs = [
53
53
  label: 'Greater Than',
54
54
  icon: { path: 'greater-than' },
55
55
  columnScope: { DataTypes: ['Number'] },
56
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
56
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
57
57
  inputs: [{ type: 'number' }],
58
58
  handler: ({ value, inputs }) => Number(value) > Number(inputs[0]),
59
59
  toString: ({ inputs }) => `> ${inputs[0]}`,
@@ -64,7 +64,7 @@ exports.SystemPredicateDefs = [
64
64
  label: 'Less Than',
65
65
  icon: { path: 'less-than' },
66
66
  columnScope: { DataTypes: ['Number'] },
67
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
67
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
68
68
  inputs: [{ type: 'number' }],
69
69
  handler: ({ value, inputs }) => Number(value) < Number(inputs[0]),
70
70
  toString: ({ inputs }) => `< ${inputs[0]}`,
@@ -75,7 +75,7 @@ exports.SystemPredicateDefs = [
75
75
  label: 'Positive',
76
76
  icon: { text: '>0' },
77
77
  columnScope: { DataTypes: ['Number'] },
78
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
78
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
79
79
  handler: ({ value }) => Number(value) > 0,
80
80
  },
81
81
  {
@@ -83,7 +83,7 @@ exports.SystemPredicateDefs = [
83
83
  label: 'Negative',
84
84
  icon: { text: '<0' },
85
85
  columnScope: { DataTypes: ['Number'] },
86
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
86
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
87
87
  handler: ({ value }) => Number(value) < 0,
88
88
  },
89
89
  {
@@ -91,7 +91,7 @@ exports.SystemPredicateDefs = [
91
91
  label: 'Zero',
92
92
  icon: { text: '=0' },
93
93
  columnScope: { DataTypes: ['Number'] },
94
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
94
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
95
95
  handler: ({ value }) => Number(value) == 0,
96
96
  },
97
97
  {
@@ -99,7 +99,7 @@ exports.SystemPredicateDefs = [
99
99
  label: 'Equals',
100
100
  icon: { path: 'equal' },
101
101
  columnScope: { DataTypes: ['Number'] },
102
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
102
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
103
103
  inputs: [{ type: 'number' }],
104
104
  handler: ({ value, inputs }) => Number(value) === Number(inputs[0]),
105
105
  toString: ({ inputs }) => `= ${inputs[0]}`,
@@ -110,7 +110,7 @@ exports.SystemPredicateDefs = [
110
110
  label: 'Not Equals',
111
111
  icon: { path: 'not-equal' },
112
112
  columnScope: { DataTypes: ['Number'] },
113
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
113
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
114
114
  inputs: [{ type: 'number' }],
115
115
  handler: ({ value, inputs }) => Number(value) !== Number(inputs[0]),
116
116
  toString: ({ inputs }) => `!= ${inputs[0]}`,
@@ -121,7 +121,7 @@ exports.SystemPredicateDefs = [
121
121
  label: 'Between',
122
122
  icon: { text: 'BE' },
123
123
  columnScope: { DataTypes: ['Number'] },
124
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
124
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
125
125
  inputs: [{ type: 'number' }, { type: 'number' }],
126
126
  handler: ({ value, inputs }) => Number(value) >= Number(inputs[0]) && Number(value) <= Number(inputs[1]),
127
127
  toString: ({ inputs }) => `Between ${inputs[0]}:${inputs[1]}`,
@@ -132,7 +132,7 @@ exports.SystemPredicateDefs = [
132
132
  label: 'Not Between',
133
133
  icon: { text: '!BE' },
134
134
  columnScope: { DataTypes: ['Number'] },
135
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
135
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
136
136
  inputs: [{ type: 'number' }, { type: 'number' }],
137
137
  handler: ({ value, inputs }) => Number(value) < Number(inputs[0]) || Number(value) > Number(inputs[1]),
138
138
  toString: ({ inputs }) => `Not Between ${inputs[0]}:${inputs[1]}`,
@@ -143,7 +143,7 @@ exports.SystemPredicateDefs = [
143
143
  label: 'Is Numeric',
144
144
  icon: { text: '1' },
145
145
  columnScope: { DataTypes: ['Number'] },
146
- moduleScope: ['alert'],
146
+ moduleScope: ['alert', 'flashingcell'],
147
147
  handler: ({ value }) => isNaN(Number(value)),
148
148
  },
149
149
  // String System Filters
@@ -152,7 +152,7 @@ exports.SystemPredicateDefs = [
152
152
  label: 'Equals',
153
153
  icon: { path: 'equal' },
154
154
  columnScope: { DataTypes: ['String'] },
155
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
155
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
156
156
  inputs: [{ type: 'text' }],
157
157
  handler: ({ value, inputs, api }) => {
158
158
  if (!value) {
@@ -171,7 +171,7 @@ exports.SystemPredicateDefs = [
171
171
  label: 'Not Equals',
172
172
  icon: { path: 'not-equal' },
173
173
  columnScope: { DataTypes: ['String'] },
174
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
174
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
175
175
  inputs: [{ type: 'text' }],
176
176
  handler: ({ value, inputs, api }) => {
177
177
  if (!value) {
@@ -190,7 +190,7 @@ exports.SystemPredicateDefs = [
190
190
  label: 'Contains',
191
191
  icon: { path: 'contains' },
192
192
  columnScope: { DataTypes: ['String'] },
193
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
193
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
194
194
  inputs: [{ type: 'text' }],
195
195
  handler: ({ value, inputs, api }) => {
196
196
  if (!value) {
@@ -208,7 +208,7 @@ exports.SystemPredicateDefs = [
208
208
  label: 'Not Contains',
209
209
  icon: { path: 'not-contains' },
210
210
  columnScope: { DataTypes: ['String'] },
211
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
211
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
212
212
  inputs: [{ type: 'text' }],
213
213
  handler: ({ value, inputs, api }) => {
214
214
  if (!value) {
@@ -226,7 +226,7 @@ exports.SystemPredicateDefs = [
226
226
  label: 'Starts With',
227
227
  icon: { path: 'format-letter-starts-with' },
228
228
  columnScope: { DataTypes: ['String'] },
229
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
229
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
230
230
  inputs: [{ type: 'text' }],
231
231
  handler: ({ value, inputs, api }) => {
232
232
  if (!value) {
@@ -244,7 +244,7 @@ exports.SystemPredicateDefs = [
244
244
  label: 'Ends With',
245
245
  icon: { path: 'format-letter-ends-with' },
246
246
  columnScope: { DataTypes: ['String'] },
247
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
247
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
248
248
  inputs: [{ type: 'text' }],
249
249
  handler: ({ value, inputs, api }) => {
250
250
  if (!value) {
@@ -262,7 +262,7 @@ exports.SystemPredicateDefs = [
262
262
  label: 'Regex',
263
263
  icon: { path: 'regex' },
264
264
  columnScope: { DataTypes: ['String'] },
265
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
265
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
266
266
  inputs: [{ type: 'text' }],
267
267
  handler: ({ value, inputs }) => new RegExp(inputs[0]).test(value),
268
268
  toString: ({ inputs }) => `Regex ${inputs[0]}`,
@@ -273,7 +273,7 @@ exports.SystemPredicateDefs = [
273
273
  label: 'Today',
274
274
  icon: { path: 'calendar' },
275
275
  columnScope: { DataTypes: ['Date'] },
276
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
276
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
277
277
  handler: ({ value }) => isToday_1.default(DateHelper_1.parseDateValue(value)),
278
278
  },
279
279
  {
@@ -281,7 +281,7 @@ exports.SystemPredicateDefs = [
281
281
  label: 'Yesterday',
282
282
  icon: { path: 'calendar' },
283
283
  columnScope: { DataTypes: ['Date'] },
284
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
284
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
285
285
  handler: ({ value }) => isYesterday_1.default(DateHelper_1.parseDateValue(value)),
286
286
  },
287
287
  {
@@ -289,7 +289,7 @@ exports.SystemPredicateDefs = [
289
289
  label: 'Tomorrow',
290
290
  icon: { path: 'calendar' },
291
291
  columnScope: { DataTypes: ['Date'] },
292
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
292
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
293
293
  handler: ({ value }) => isTomorrow_1.default(DateHelper_1.parseDateValue(value)),
294
294
  },
295
295
  {
@@ -297,7 +297,7 @@ exports.SystemPredicateDefs = [
297
297
  label: 'This Week',
298
298
  icon: { path: 'calendar' },
299
299
  columnScope: { DataTypes: ['Date'] },
300
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
300
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
301
301
  handler: ({ value }) => isThisWeek_1.default(DateHelper_1.parseDateValue(value)),
302
302
  },
303
303
  {
@@ -305,7 +305,7 @@ exports.SystemPredicateDefs = [
305
305
  label: 'This Month',
306
306
  icon: { path: 'calendar' },
307
307
  columnScope: { DataTypes: ['Date'] },
308
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
308
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
309
309
  handler: ({ value }) => isThisMonth_1.default(DateHelper_1.parseDateValue(value)),
310
310
  },
311
311
  {
@@ -313,7 +313,7 @@ exports.SystemPredicateDefs = [
313
313
  label: 'This Quarter',
314
314
  icon: { path: 'calendar' },
315
315
  columnScope: { DataTypes: ['Date'] },
316
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
316
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
317
317
  handler: ({ value }) => isThisQuarter_1.default(DateHelper_1.parseDateValue(value)),
318
318
  },
319
319
  {
@@ -321,7 +321,7 @@ exports.SystemPredicateDefs = [
321
321
  label: 'This Year',
322
322
  icon: { path: 'calendar' },
323
323
  columnScope: { DataTypes: ['Date'] },
324
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
324
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
325
325
  handler: ({ value }) => isThisYear_1.default(DateHelper_1.parseDateValue(value)),
326
326
  },
327
327
  {
@@ -329,7 +329,7 @@ exports.SystemPredicateDefs = [
329
329
  label: 'In Past',
330
330
  icon: { path: 'calendar' },
331
331
  columnScope: { DataTypes: ['Date'] },
332
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
332
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
333
333
  handler: ({ value }) => isPast_1.default(DateHelper_1.parseDateValue(value)),
334
334
  },
335
335
  {
@@ -337,7 +337,7 @@ exports.SystemPredicateDefs = [
337
337
  label: 'In Future',
338
338
  icon: { path: 'calendar' },
339
339
  columnScope: { DataTypes: ['Date'] },
340
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
340
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
341
341
  handler: ({ value }) => isFuture_1.default(DateHelper_1.parseDateValue(value)),
342
342
  },
343
343
  {
@@ -345,7 +345,7 @@ exports.SystemPredicateDefs = [
345
345
  label: 'After',
346
346
  icon: { path: 'greater-than' },
347
347
  columnScope: { DataTypes: ['Date'] },
348
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
348
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
349
349
  inputs: [{ type: 'date' }],
350
350
  handler: ({ value, inputs }) => isAfter_1.default(DateHelper_1.parseDateValue(value), new Date(inputs[0])),
351
351
  toString: ({ inputs }) => `> ${inputs[0]}`,
@@ -355,7 +355,7 @@ exports.SystemPredicateDefs = [
355
355
  label: 'Before',
356
356
  icon: { path: 'less-than' },
357
357
  columnScope: { DataTypes: ['Date'] },
358
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
358
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
359
359
  inputs: [{ type: 'date' }],
360
360
  handler: ({ value, inputs }) => isBefore_1.default(DateHelper_1.parseDateValue(value), new Date(inputs[0])),
361
361
  toString: ({ inputs }) => `< ${inputs[0]}`,
@@ -365,7 +365,7 @@ exports.SystemPredicateDefs = [
365
365
  label: 'Equals',
366
366
  icon: { path: 'equal' },
367
367
  columnScope: { DataTypes: ['Date'] },
368
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
368
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
369
369
  inputs: [{ type: 'date' }],
370
370
  handler: ({ value, inputs }) => isSameDay_1.default(DateHelper_1.parseDateValue(value), new Date(inputs[0])),
371
371
  toString: ({ inputs }) => `= ${inputs[0]}`,
@@ -375,7 +375,7 @@ exports.SystemPredicateDefs = [
375
375
  label: 'NotEquals',
376
376
  icon: { path: 'not-equal' },
377
377
  columnScope: { DataTypes: ['Date'] },
378
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
378
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
379
379
  inputs: [{ type: 'date' }],
380
380
  handler: ({ value, inputs }) => !isSameDay_1.default(DateHelper_1.parseDateValue(value), new Date(inputs[0])),
381
381
  toString: ({ inputs }) => `!= ${inputs[0]}`,
@@ -385,7 +385,7 @@ exports.SystemPredicateDefs = [
385
385
  label: 'Next Work Day',
386
386
  icon: { path: 'calendar' },
387
387
  columnScope: { DataTypes: ['Date'] },
388
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
388
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
389
389
  handler: ({ value, api }) => isSameDay_1.default(DateHelper_1.parseDateValue(value), CalendarHelper_1.default.getNextWorkingDay()),
390
390
  },
391
391
  {
@@ -393,7 +393,7 @@ exports.SystemPredicateDefs = [
393
393
  label: 'Last Work Day',
394
394
  icon: { path: 'calendar' },
395
395
  columnScope: { DataTypes: ['Date'] },
396
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
396
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
397
397
  handler: ({ value, api }) => isSameDay_1.default(DateHelper_1.parseDateValue(value), CalendarHelper_1.default.getPreviousWorkingDay()),
398
398
  },
399
399
  {
@@ -411,7 +411,7 @@ exports.SystemPredicateDefs = [
411
411
  label: 'True',
412
412
  icon: { text: 'T' },
413
413
  columnScope: { DataTypes: ['Boolean'] },
414
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
414
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
415
415
  handler: ({ value }) => Boolean(value) === true,
416
416
  },
417
417
  {
@@ -419,7 +419,7 @@ exports.SystemPredicateDefs = [
419
419
  label: 'False',
420
420
  icon: { text: 'F' },
421
421
  columnScope: { DataTypes: ['Boolean'] },
422
- moduleScope: ['filter', 'alert', 'conditionalstyle'],
422
+ moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
423
423
  handler: ({ value }) => Boolean(value) === false,
424
424
  },
425
425
  {
@@ -445,14 +445,14 @@ exports.SystemPredicateDefs = [
445
445
  id: 'Any',
446
446
  label: 'Any Change',
447
447
  columnScope: { All: true },
448
- moduleScope: ['alert'],
448
+ moduleScope: ['alert', 'flashingcell'],
449
449
  handler: ({ value, oldValue }) => value !== oldValue,
450
450
  },
451
451
  {
452
452
  id: 'PercentChange',
453
453
  label: 'Percent Change',
454
454
  columnScope: { DataTypes: ['Number'] },
455
- moduleScope: ['alert'],
455
+ moduleScope: ['alert', 'flashingcell'],
456
456
  inputs: [{ type: 'number' }],
457
457
  handler: ({ value, oldValue, inputs }) => {
458
458
  const change = Math.abs(Number(value) - Number(oldValue));
@@ -35,7 +35,7 @@ export interface DataChangedInfo {
35
35
  /**
36
36
  * What triggered the change - user, background change or a reverted change?
37
37
  */
38
- trigger?: 'edit' | 'tick' | 'undo';
38
+ trigger?: 'edit' | 'tick' | 'undo' | 'aggChange';
39
39
  }
40
40
  export interface DataChangedScope {
41
41
  wholeRow: boolean;
@@ -6,6 +6,7 @@ var DataType;
6
6
  (function (DataType) {
7
7
  DataType["String"] = "String";
8
8
  DataType["Number"] = "Number";
9
+ // FIXME AFL keep it or extend it to support https://www.ag-grid.com/javascript-data-grid/sparklines-data/ ?
9
10
  DataType["NumberArray"] = "NumberArray";
10
11
  DataType["Boolean"] = "Boolean";
11
12
  DataType["Date"] = "Date";