@adaptabletools/adaptable 11.1.7 → 11.1.10

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 (204) hide show
  1. package/base.css +16 -0
  2. package/bundle.cjs.js +106 -106
  3. package/index.css +20 -0
  4. package/package.json +1 -1
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -1
  9. package/src/AdaptableOptions/AlertOptions.d.ts +9 -2
  10. package/src/AdaptableOptions/FinancePluginOptions.d.ts +57 -16
  11. package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
  12. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +7 -0
  13. package/src/Api/AdaptableApi.d.ts +5 -0
  14. package/src/Api/CellSummaryApi.d.ts +8 -0
  15. package/src/Api/ColumnApi.d.ts +6 -1
  16. package/src/Api/ConfigApi.d.ts +8 -2
  17. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  18. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  19. package/src/Api/Implementation/AlertApiImpl.js +32 -15
  20. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +2 -0
  21. package/src/Api/Implementation/CellSummaryApiImpl.js +34 -0
  22. package/src/Api/Implementation/ColumnApiImpl.d.ts +2 -1
  23. package/src/Api/Implementation/ColumnApiImpl.js +7 -3
  24. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -2
  25. package/src/Api/Implementation/ConfigApiImpl.js +8 -29
  26. package/src/Api/Implementation/GridApiImpl.js +0 -4
  27. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -1
  28. package/src/Api/Implementation/InternalApiImpl.js +29 -7
  29. package/src/Api/Implementation/LayoutApiImpl.d.ts +5 -4
  30. package/src/Api/Implementation/LayoutApiImpl.js +13 -7
  31. package/src/Api/Implementation/QueryApiImpl.d.ts +1 -0
  32. package/src/Api/Implementation/QueryApiImpl.js +12 -0
  33. package/src/Api/Implementation/StatusBarApiImpl.d.ts +8 -0
  34. package/src/Api/Implementation/StatusBarApiImpl.js +17 -0
  35. package/src/Api/InternalApi.d.ts +2 -1
  36. package/src/Api/LayoutApi.d.ts +16 -9
  37. package/src/Api/QueryApi.d.ts +6 -0
  38. package/src/Api/StatusBarApi.d.ts +10 -0
  39. package/src/Api/StatusBarApi.js +2 -0
  40. package/src/PredefinedConfig/AdaptableState.d.ts +20 -8
  41. package/src/PredefinedConfig/Common/FDC3Context.d.ts +61 -29
  42. package/src/PredefinedConfig/Common/Types.d.ts +6 -3
  43. package/src/PredefinedConfig/Common/Types.js +32 -1
  44. package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
  45. package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
  46. package/src/PredefinedConfig/GridState.d.ts +1 -1
  47. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -0
  48. package/src/PredefinedConfig/StatusBarState.d.ts +27 -0
  49. package/src/PredefinedConfig/StatusBarState.js +7 -0
  50. package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
  51. package/src/Redux/ActionsReducers/GridRedux.d.ts +2 -2
  52. package/src/Redux/ActionsReducers/GridRedux.js +4 -4
  53. package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +22 -0
  54. package/src/Redux/ActionsReducers/StatusBarRedux.js +31 -0
  55. package/src/Redux/ActionsReducers/SystemRedux.d.ts +8 -3
  56. package/src/Redux/ActionsReducers/SystemRedux.js +22 -5
  57. package/src/Redux/Store/AdaptableReduxMerger.js +2 -2
  58. package/src/Redux/Store/AdaptableStore.js +24 -10
  59. package/src/Strategy/AlertModule.d.ts +3 -0
  60. package/src/Strategy/AlertModule.js +6 -0
  61. package/src/Strategy/CellSummaryModule.d.ts +6 -0
  62. package/src/Strategy/CellSummaryModule.js +14 -0
  63. package/src/Strategy/DataChangeHistoryModule.d.ts +7 -0
  64. package/src/Strategy/DataChangeHistoryModule.js +11 -0
  65. package/src/Strategy/ExportModule.d.ts +1 -0
  66. package/src/Strategy/ExportModule.js +1 -0
  67. package/src/Strategy/FilterModule.d.ts +6 -0
  68. package/src/Strategy/FilterModule.js +21 -0
  69. package/src/Strategy/Interface/IModule.d.ts +21 -10
  70. package/src/Strategy/LayoutModule.d.ts +7 -0
  71. package/src/Strategy/LayoutModule.js +14 -1
  72. package/src/Strategy/QueryModule.d.ts +8 -0
  73. package/src/Strategy/QueryModule.js +18 -0
  74. package/src/Strategy/QuickSearchModule.d.ts +6 -0
  75. package/src/Strategy/QuickSearchModule.js +10 -0
  76. package/src/Strategy/StatusBarModule.d.ts +8 -0
  77. package/src/Strategy/StatusBarModule.js +39 -0
  78. package/src/Strategy/SystemStatusModule.d.ts +6 -0
  79. package/src/Strategy/SystemStatusModule.js +10 -0
  80. package/src/Strategy/ThemeModule.d.ts +7 -0
  81. package/src/Strategy/ThemeModule.js +12 -0
  82. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +1 -1
  83. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  84. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  85. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -0
  86. package/src/Utilities/Constants/ModuleConstants.js +2 -1
  87. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +4 -1
  88. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
  89. package/src/Utilities/Services/ModuleService.js +6 -6
  90. package/src/View/AdaptablePopover/index.d.ts +1 -0
  91. package/src/View/AdaptablePopover/index.js +5 -2
  92. package/src/View/AdaptableViewFactory.js +2 -2
  93. package/src/View/Alert/AlertStatusSubPanel.d.ts +2 -0
  94. package/src/View/Alert/AlertStatusSubPanel.js +56 -0
  95. package/src/View/Alert/AlertViewPanel.js +6 -7
  96. package/src/View/Alert/AlertsPanel.d.ts +1 -1
  97. package/src/View/Alert/AlertsPanel.js +2 -1
  98. package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +5 -0
  99. package/src/View/Alert/Utilities/getAlertButtonStyle.js +15 -0
  100. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +18 -7
  101. package/src/View/Alert/Wizard/AlertButtonsEditor.js +1 -8
  102. package/src/View/Alert/Wizard/AlertWizard.js +3 -2
  103. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.d.ts +2 -0
  104. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +15 -0
  105. package/src/View/CellSummary/CellSummaryStatusPanel.d.ts +2 -0
  106. package/src/View/CellSummary/CellSummaryStatusPanel.js +36 -0
  107. package/src/View/CellSummary/CellSummaryViewPanel.js +2 -20
  108. package/src/View/ColorPicker.d.ts +1 -1
  109. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  110. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  111. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  112. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  113. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  114. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +1 -1
  115. package/src/View/Components/Panels/PanelWithImage.d.ts +6 -6
  116. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +5 -4
  117. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -1
  118. package/src/View/Components/RangesComponent.js +6 -2
  119. package/src/View/Components/StyleComponent.js +18 -6
  120. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  121. package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -3
  122. package/src/View/Dashboard/DashboardPopup.js +2 -2
  123. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +5 -13
  124. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.d.ts +2 -0
  125. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +9 -0
  126. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.d.ts +4 -16
  127. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +32 -40
  128. package/src/View/Filter/ActiveFiltersPanel.d.ts +0 -2
  129. package/src/View/Filter/FilterStatusBarSubPanelPopover.d.ts +2 -0
  130. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +18 -0
  131. package/src/View/Filter/FilterViewPanel.js +1 -1
  132. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
  133. package/src/View/GridInfo/GridInfoPopup.js +4 -1
  134. package/src/View/Layout/EditCurrentLayoutButton.d.ts +2 -0
  135. package/src/View/Layout/EditCurrentLayoutButton.js +14 -0
  136. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  137. package/src/View/Layout/LayoutPopup.js +3 -3
  138. package/src/View/Layout/LayoutRadioSelector.d.ts +1 -0
  139. package/src/View/Layout/LayoutRadioSelector.js +2 -2
  140. package/src/View/Layout/LayoutStatusBarSubPanelPopover.d.ts +2 -0
  141. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +29 -0
  142. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  143. package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
  144. package/src/View/Layout/Wizard/LayoutEditorWizard.js +2 -1
  145. package/src/View/Query/EditCurrentQueryButton.d.ts +2 -0
  146. package/src/View/Query/EditCurrentQueryButton.js +15 -0
  147. package/src/View/Query/QueryViewPanel.d.ts +0 -1
  148. package/src/View/Query/QueryViewPanel.js +2 -11
  149. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  150. package/src/View/QuickSearch/QuickSearchStatusBarContent.d.ts +2 -0
  151. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +16 -0
  152. package/src/View/StateManagement/StateManagementPopup.js +9 -7
  153. package/src/View/StateManagement/StateManagementViewPanel.js +1 -2
  154. package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
  155. package/src/View/StateManagement/components/ExportDropdown.js +3 -7
  156. package/src/View/StateManagement/handleExportState.d.ts +1 -1
  157. package/src/View/StatusBar/AdaptableStatusBar.d.ts +3 -0
  158. package/src/View/StatusBar/AdaptableStatusBar.js +44 -0
  159. package/src/View/StatusBar/StatusBarPanel.d.ts +42 -0
  160. package/src/View/StatusBar/StatusBarPanel.js +45 -0
  161. package/src/View/StatusBar/StatusBarPopup.d.ts +3 -0
  162. package/src/View/StatusBar/StatusBarPopup.js +43 -0
  163. package/src/View/SystemStatus/SystemStatusStatusBarContent.d.ts +2 -0
  164. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +15 -0
  165. package/src/View/SystemStatus/SystemStatusViewPanel.js +3 -7
  166. package/src/View/SystemStatus/Utilities/getStatusItemStyle.d.ts +5 -0
  167. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +16 -0
  168. package/src/View/Theme/ThemeStatusPanelPopover.d.ts +2 -0
  169. package/src/View/Theme/ThemeStatusPanelPopover.js +36 -0
  170. package/src/agGrid/Adaptable.d.ts +2 -0
  171. package/src/agGrid/Adaptable.js +30 -3
  172. package/src/agGrid/agGridHelper.js +2 -0
  173. package/src/agGrid/agGridMenuHelper.js +2 -2
  174. package/src/agGrid/createAgStatusPanelComponent.d.ts +21 -0
  175. package/src/agGrid/createAgStatusPanelComponent.js +31 -0
  176. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
  177. package/src/components/Dashboard/DashboardManager.js +9 -162
  178. package/src/components/Datepicker/index.d.ts +1 -1
  179. package/src/components/DragAndDropContext/DragAndDropContext.d.ts +7 -0
  180. package/src/components/DragAndDropContext/DragAndDropContext.js +14 -0
  181. package/src/components/DragAndDropContext/ModuleManager.d.ts +17 -0
  182. package/src/components/DragAndDropContext/ModuleManager.js +81 -0
  183. package/src/components/DragAndDropContext/TabList.d.ts +29 -0
  184. package/src/components/DragAndDropContext/TabList.js +72 -0
  185. package/src/components/DragAndDropContext/UnusedPanel.d.ts +6 -0
  186. package/src/components/DragAndDropContext/UnusedPanel.js +46 -0
  187. package/src/components/DragAndDropContext/types.d.ts +8 -0
  188. package/src/components/DragAndDropContext/types.js +2 -0
  189. package/src/components/FormLayout/index.d.ts +1 -0
  190. package/src/components/Input/index.d.ts +1 -1
  191. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  192. package/src/components/PopupWithFooter.d.ts +1 -1
  193. package/src/components/SimpleButton/index.js +3 -0
  194. package/src/components/Textarea/index.d.ts +1 -1
  195. package/src/components/icons/DefaultIcon.d.ts +2 -1
  196. package/src/components/icons/DefaultIcon.js +2 -2
  197. package/src/components/icons/index.js +2 -0
  198. package/src/components/icons/statusbar.d.ts +3 -0
  199. package/src/components/icons/statusbar.js +8 -0
  200. package/src/metamodel/adaptable.metamodel.d.ts +236 -0
  201. package/src/metamodel/adaptable.metamodel.js +466 -47
  202. package/src/types.d.ts +5 -4
  203. package/version.d.ts +1 -1
  204. package/version.js +1 -1
@@ -1,3 +1,4 @@
1
+ import { AdaptablePersistentState } from '../AdaptableState';
1
2
  /**
2
3
  * Adaptable Toolbar collection. When setting `Toolbars` in Dashboard state, only those listed here can be included
3
4
  */
@@ -7,6 +8,8 @@ export declare type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
7
8
  */
8
9
  export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
9
10
  export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
11
+ export declare type AdaptableStatusBarPanel = 'CellSummary' | 'Alert' | 'GridInfo' | 'Dashboard' | 'ToolPanel' | 'StatusBar' | 'StateManagement' | 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SystemStatus' | 'DataChangeHistory' | 'TeamSharing' | 'Theme' | 'BulkUpdate' | 'SettingsPanel' | 'SmartEdit';
12
+ export declare const ALL_STATUS_SUB_PANELS: AdaptableStatusBarPanel[];
10
13
  export declare type AdaptableToolPanels = AdaptableToolPanel[];
11
14
  export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
12
15
  export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
@@ -21,12 +24,12 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
21
24
  */
22
25
  export declare type AdaptableModuleButton = 'Alert' | 'FlashingCell' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
23
26
  export declare type AdaptableStateKeys = AdaptableStateKey[];
24
- export declare type AdaptableStateKey = 'Alert' | 'FlashingCell' | 'Application' | 'CalculatedColumn' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'Theme' | 'ToolPanel';
27
+ export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
25
28
  /**
26
29
  * Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
27
30
  */
28
- export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
29
- export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
31
+ export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
32
+ export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
30
33
  export declare type TypeHint<Base, Literals> = (Base & {
31
34
  __subType?: true;
32
35
  }) | Literals;
@@ -3,7 +3,7 @@
3
3
  This page includes frequently used typed - particularly helpful for State and Api where we can strongly type stuff
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ALL_TOOL_PANELS = exports.ALL_TOOLBARS = void 0;
6
+ exports.ALL_TOOL_PANELS = exports.ALL_STATUS_SUB_PANELS = exports.ALL_TOOLBARS = void 0;
7
7
  exports.ALL_TOOLBARS = [
8
8
  'Alert',
9
9
  'BulkUpdate',
@@ -23,6 +23,37 @@ exports.ALL_TOOLBARS = [
23
23
  'SystemStatus',
24
24
  'Theme',
25
25
  ];
26
+ exports.ALL_STATUS_SUB_PANELS = [
27
+ 'Alert',
28
+ 'BulkUpdate',
29
+ 'CalculatedColumn',
30
+ 'CellSummary',
31
+ 'ConditionalStyle',
32
+ 'CustomSort',
33
+ 'Dashboard',
34
+ 'DataChangeHistory',
35
+ 'DataSource',
36
+ 'Export',
37
+ 'Filter',
38
+ 'FlashingCell',
39
+ 'FormatColumn',
40
+ 'FreeTextColumn',
41
+ 'GridInfo',
42
+ 'Layout',
43
+ 'PlusMinus',
44
+ 'Query',
45
+ 'QuickSearch',
46
+ 'Schedule',
47
+ 'SettingsPanel',
48
+ 'Shortcut',
49
+ 'SmartEdit',
50
+ 'StateManagement',
51
+ 'StatusBar',
52
+ 'SystemStatus',
53
+ 'TeamSharing',
54
+ 'Theme',
55
+ 'ToolPanel',
56
+ ];
26
57
  exports.ALL_TOOL_PANELS = [
27
58
  'Alert',
28
59
  'BulkUpdate',
@@ -32,7 +32,7 @@ export declare type FlashTargetTypes = 'row' | 'cell' | 'aggFuncCell';
32
32
  */
33
33
  export interface FlashingCellDefinition extends SuspendableObject {
34
34
  /**
35
- * Where Flashing Cell can be triggered: one, some or all columns or DataTypes
35
+ * Where Flashing Cell can display: Column[s] or DataType[s]
36
36
  */
37
37
  Scope: AdaptableScope;
38
38
  /**
@@ -138,7 +138,7 @@ export interface ColumnComparison {
138
138
  */
139
139
  MaxValue: number | string;
140
140
  /**
141
- * Colour to use for the Percent bar
141
+ * Colour to use for the Comparison
142
142
  */
143
143
  Color: string;
144
144
  }
@@ -16,7 +16,7 @@ export interface GridState extends InternalState {
16
16
  SelectedCellInfo: SelectedCellInfo;
17
17
  SelectedRowInfo: SelectedRowInfo;
18
18
  CellSummary: CellSummmary;
19
- ModuleDropdownMenuItems: AdaptableMenuItem[];
19
+ SettingPanelModuleMenuItems: AdaptableMenuItem[];
20
20
  ModuleButtonMenuItems: AdaptableMenuItem[];
21
21
  IsGridInPivotMode: boolean;
22
22
  IsGridInTreeMode: boolean;
@@ -18,6 +18,7 @@ import { ShortcutState } from './ShortcutState';
18
18
  import { ThemeState } from './ThemeState';
19
19
  import { ToolPanelState } from './ToolPanelState';
20
20
  import { QueryState } from './QueryState';
21
+ import { StatusBarState } from './StatusBarState';
21
22
  /**
22
23
  * This is the main Predefined Config interface which developers will populate at design-time
23
24
  */
@@ -94,6 +95,10 @@ export interface PredefinedConfig {
94
95
  * Supplies a collection of *Shortcut* objects to aid data entry and prevent 'fat finger' issues
95
96
  */
96
97
  Shortcut?: ShortcutState;
98
+ /**
99
+ * Configures the Adaptable Status Bar
100
+ */
101
+ StatusBar?: StatusBarState;
97
102
  /**
98
103
  * Specifies the current Theme and lists the User and System themes available for selection.
99
104
  */
@@ -0,0 +1,27 @@
1
+ import { ConfigState } from '../types';
2
+ import { AdaptableStatusBarPanel } from './Common/Types';
3
+ /**
4
+ * Predefined Configuration for the Adaptable Status Bar
5
+ */
6
+ export interface StatusBarState extends ConfigState {
7
+ /**
8
+ * Adaptable Status Bars to display - up to 3 can be shown
9
+ * @defaultValue null
10
+ */
11
+ StatusBars?: AdaptableStatusBar[];
12
+ }
13
+ /**
14
+ * Name of the component specified in ag-grid gridOptions.statusBar.statusPanels
15
+ */
16
+ export declare const ADAPTABLE_STATUS_PANEL = "AdaptableStatusPanel";
17
+ export interface AdaptableStatusBar {
18
+ /**
19
+ * Key of status panel defined in AG Grid gridConfig - make sure that keys are the same
20
+ * Note: AG Grid statusPanel has a lowercase 'key'
21
+ */
22
+ Key: string;
23
+ /**
24
+ * Module Panels to render inside the Adaptable Status Bar
25
+ */
26
+ StatusBarPanels?: AdaptableStatusBarPanel[];
27
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADAPTABLE_STATUS_PANEL = void 0;
4
+ /**
5
+ * Name of the component specified in ag-grid gridOptions.statusBar.statusPanels
6
+ */
7
+ exports.ADAPTABLE_STATUS_PANEL = 'AdaptableStatusPanel';
@@ -5,7 +5,7 @@ import { AdaptableModuleButtons, AdaptableToolPanel } from './Common/Types';
5
5
  */
6
6
  export interface ToolPanelState extends ConfigState {
7
7
  /**
8
- * ToolPanels visible
8
+ * Adaptable Tool Panels which are viaible
9
9
  * @defaultValue ToolPanels for all available Modules (subject to Entitlement rules)
10
10
  */
11
11
  ToolPanels?: AdaptableToolPanelDefinition[];
@@ -133,7 +133,7 @@ export interface GridRefreshCellsAction extends Redux.Action {
133
133
  rowNodes: RowNode[];
134
134
  columnIds: string[];
135
135
  }
136
- export interface SetModuleDropdownMenuItemsAction extends Redux.Action {
136
+ export interface SetSettingPanelModuleMenuItemsAction extends Redux.Action {
137
137
  menuItems: AdaptableMenuItem[];
138
138
  }
139
139
  export interface SetModuleButtonMenuItemsAction extends Redux.Action {
@@ -167,6 +167,6 @@ export declare const SetPivotModeOn: () => SetPivotModeOnAction;
167
167
  export declare const SetPivotModeOff: () => SetPivotModeOffAction;
168
168
  export declare const SetTreeModeOn: () => SetTreeModeOnAction;
169
169
  export declare const SetTreeModeOff: () => SetTreeModeOffAction;
170
- export declare const SetModuleDropdownMenuItems: (MenuItems: AdaptableMenuItem[]) => SetModuleDropdownMenuItemsAction;
170
+ export declare const SetSettingPanelModuleMenuItems: (MenuItems: AdaptableMenuItem[]) => SetSettingPanelModuleMenuItemsAction;
171
171
  export declare const SetModuleButtonMenuItems: (MenuItems: AdaptableMenuItem[]) => SetModuleButtonMenuItemsAction;
172
172
  export declare const GridReducer: Redux.Reducer<GridState>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GridReducer = exports.SetModuleButtonMenuItems = exports.SetModuleDropdownMenuItems = exports.SetTreeModeOff = exports.SetTreeModeOn = exports.SetPivotModeOff = exports.SetPivotModeOn = exports.GridRefreshCells = exports.GridSetCellSummary = exports.GridCreateCellSummary = exports.GridSetSelectedRows = exports.GridSetSelectedCells = exports.GridClearSort = exports.GridSetSort = exports.GridEditColumn = exports.GridRemoveColumn = exports.GridAddColumns = exports.GridAddColumn = exports.GridSetColumns = exports.GRID_SET_TREE_MODE_OFF = exports.GRID_SET_TREE_MODE_ON = exports.GRID_SET_PIVOT_MODE_OFF = exports.GRID_SET_PIVOT_MODE_ON = exports.GRID_SET_MODULE_BUTTON_MENUITEMS = exports.GRID_SET_MODULE_DROPDOWN_MENUITEMS = exports.GRID_REFRESH_CELLS = exports.GRID_SET_CELLS_SUMMARY = exports.GRID_CREATE_CELLS_SUMMARY = exports.GRID_SET_SELECTED_ROWS = exports.GRID_SET_SELECTED_CELLS = exports.GRID_CLEAR_SORT = exports.GRID_SET_SORT = exports.GRID_EDIT_COLUMN = exports.GRID_REMOVE_COLUMN = exports.GRID_ADD_COLUMNS = exports.GRID_ADD_COLUMN = exports.GRID_SET_COLUMNS = void 0;
3
+ exports.GridReducer = exports.SetModuleButtonMenuItems = exports.SetSettingPanelModuleMenuItems = exports.SetTreeModeOff = exports.SetTreeModeOn = exports.SetPivotModeOff = exports.SetPivotModeOn = exports.GridRefreshCells = exports.GridSetCellSummary = exports.GridCreateCellSummary = exports.GridSetSelectedRows = exports.GridSetSelectedCells = exports.GridClearSort = exports.GridSetSort = exports.GridEditColumn = exports.GridRemoveColumn = exports.GridAddColumns = exports.GridAddColumn = exports.GridSetColumns = exports.GRID_SET_TREE_MODE_OFF = exports.GRID_SET_TREE_MODE_ON = exports.GRID_SET_PIVOT_MODE_OFF = exports.GRID_SET_PIVOT_MODE_ON = exports.GRID_SET_MODULE_BUTTON_MENUITEMS = exports.GRID_SET_MODULE_DROPDOWN_MENUITEMS = exports.GRID_REFRESH_CELLS = exports.GRID_SET_CELLS_SUMMARY = exports.GRID_CREATE_CELLS_SUMMARY = exports.GRID_SET_SELECTED_ROWS = exports.GRID_SET_SELECTED_CELLS = exports.GRID_CLEAR_SORT = exports.GRID_SET_SORT = exports.GRID_EDIT_COLUMN = exports.GRID_REMOVE_COLUMN = exports.GRID_ADD_COLUMNS = exports.GRID_ADD_COLUMN = exports.GRID_SET_COLUMNS = void 0;
4
4
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
5
  const LayoutRedux_1 = require("./LayoutRedux");
6
6
  /**
@@ -134,7 +134,7 @@ exports.SetTreeModeOn = () => ({
134
134
  exports.SetTreeModeOff = () => ({
135
135
  type: exports.GRID_SET_TREE_MODE_OFF,
136
136
  });
137
- exports.SetModuleDropdownMenuItems = (MenuItems) => ({
137
+ exports.SetSettingPanelModuleMenuItems = (MenuItems) => ({
138
138
  type: exports.GRID_SET_MODULE_DROPDOWN_MENUITEMS,
139
139
  menuItems: MenuItems,
140
140
  });
@@ -149,7 +149,7 @@ const initialState = {
149
149
  SelectedCellInfo: null,
150
150
  SelectedRowInfo: null,
151
151
  CellSummary: null,
152
- ModuleDropdownMenuItems: GeneralConstants_1.EMPTY_ARRAY,
152
+ SettingPanelModuleMenuItems: GeneralConstants_1.EMPTY_ARRAY,
153
153
  ModuleButtonMenuItems: GeneralConstants_1.EMPTY_ARRAY,
154
154
  IsGridInPivotMode: false,
155
155
  IsGridInTreeMode: false,
@@ -197,7 +197,7 @@ exports.GridReducer = (state = initialState, action) => {
197
197
  case exports.GRID_SET_MODULE_DROPDOWN_MENUITEMS: {
198
198
  const actionTyped = action;
199
199
  const menuItems = actionTyped.menuItems.sort((a, b) => a.label < b.label ? -1 : a.label > b.label ? 1 : 0);
200
- return Object.assign({}, state, { ModuleDropdownMenuItems: menuItems });
200
+ return Object.assign({}, state, { SettingPanelModuleMenuItems: menuItems });
201
201
  }
202
202
  case exports.GRID_SET_MODULE_BUTTON_MENUITEMS: {
203
203
  const actionTyped = action;
@@ -0,0 +1,22 @@
1
+ import * as Redux from 'redux';
2
+ import { AdaptableState } from '../../../types';
3
+ import { StatusBarState, AdaptableStatusBar } from '../../PredefinedConfig/StatusBarState';
4
+ /**
5
+ * @ReduxAction Sets status bar panels
6
+ */
7
+ export declare const SET_STATUS_BAR_PANELS = "SET_STATUS_BAR_PANELS";
8
+ /**
9
+ * @ReduxAction AdapTable Status Bar is ready
10
+ */
11
+ export declare const STATUS_BAR_READY = "STATUS_BAR_READY";
12
+ export interface StatusBarSetPanelsAction extends Redux.Action {
13
+ statusPanels: AdaptableStatusBar[];
14
+ }
15
+ export interface StatusBarReadyAction extends Redux.Action {
16
+ statusBarState: StatusBarState;
17
+ }
18
+ export declare const StatusBarSetPanels: (statusPanels: AdaptableStatusBar[]) => StatusBarSetPanelsAction;
19
+ export declare const initialState: StatusBarState;
20
+ export declare const getStatusPanelsSelector: (state: AdaptableState) => AdaptableStatusBar[];
21
+ export declare const ToolPanelReady: (statusBarState: StatusBarState) => StatusBarReadyAction;
22
+ export declare const StatusBarReducer: Redux.Reducer<StatusBarState>;
@@ -0,0 +1,31 @@
1
+ "use strict";
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;
4
+ /**
5
+ * @ReduxAction Sets status bar panels
6
+ */
7
+ exports.SET_STATUS_BAR_PANELS = 'SET_STATUS_BAR_PANELS';
8
+ /**
9
+ * @ReduxAction AdapTable Status Bar is ready
10
+ */
11
+ exports.STATUS_BAR_READY = 'STATUS_BAR_READY';
12
+ exports.StatusBarSetPanels = (statusPanels) => ({
13
+ statusPanels: statusPanels,
14
+ type: exports.SET_STATUS_BAR_PANELS,
15
+ });
16
+ exports.initialState = {
17
+ StatusBars: [],
18
+ };
19
+ exports.getStatusPanelsSelector = (state) => state.StatusBar.StatusBars;
20
+ exports.ToolPanelReady = (statusBarState) => ({
21
+ type: exports.STATUS_BAR_READY,
22
+ statusBarState,
23
+ });
24
+ exports.StatusBarReducer = (state = exports.initialState, action) => {
25
+ switch (action.type) {
26
+ case exports.SET_STATUS_BAR_PANELS:
27
+ const newPanels = action.statusPanels;
28
+ return Object.assign(Object.assign({}, state), { StatusBars: newPanels });
29
+ }
30
+ return state;
31
+ };
@@ -18,7 +18,8 @@ export declare const FLASHING_CELL_ROW_KEY = "__ROW";
18
18
  export declare const SYSTEM_ALERT_ADD = "SYSTEM_ALERT_ADD";
19
19
  export declare const SYSTEM_ALERT_DELETE = "SYSTEM_ALERT_DELETE";
20
20
  export declare const SYSTEM_ALERT_DELETE_ALL = "SYSTEM_ALERT_DELETE_ALL";
21
- export declare const SYSTEM_ALERT_REMOVE_HIGHLIGHT = "SYSTEM_ALERT_REMOVE_HIGHLIGHT";
21
+ export declare const SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = "SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT";
22
+ export declare const SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = "SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT";
22
23
  export declare const SYSTEM_FLASHING_CELL_ADD = "SYSTEM_FLASHING_CELL_ADD";
23
24
  export declare const SYSTEM_FLASHING_CELL_DELETE = "SYSTEM_FLASHING_CELL_DELETE";
24
25
  export declare const SYSTEM_FLASHING_CELL_DELETE_ALL = "SYSTEM_FLASHING_CELL_DELETE_ALL";
@@ -91,7 +92,10 @@ export interface SystemAlertDeleteAction extends Redux.Action {
91
92
  export interface SystemAlertDeleteAllAction extends Redux.Action {
92
93
  alerts: AdaptableAlert[];
93
94
  }
94
- export interface SystemAlertRemoveHighlightAction extends Redux.Action {
95
+ export interface SystemAlertRemoveCellHighlightAction extends Redux.Action {
96
+ alert: AdaptableAlert;
97
+ }
98
+ export interface SystemAlertRemoveRowHighlightAction extends Redux.Action {
95
99
  alert: AdaptableAlert;
96
100
  }
97
101
  export interface SystemFlashingCellAddAction extends Redux.Action {
@@ -212,7 +216,8 @@ export declare const SystemHighlightRowDeleteAll: () => SystemHighlightRowDelete
212
216
  export declare const SystemAlertAdd: (alert: AdaptableAlert, maxAlerts: number) => SystemAlertAddAction;
213
217
  export declare const SystemAlertDelete: (alert: AdaptableAlert) => SystemAlertDeleteAction;
214
218
  export declare const SystemAlertDeleteAll: (alerts: AdaptableAlert[]) => SystemAlertDeleteAllAction;
215
- export declare const SystemAlertRemoveHighlight: (alert: AdaptableAlert) => SystemAlertRemoveHighlightAction;
219
+ export declare const SystemAlertRemoveCellHighlight: (alert: AdaptableAlert) => SystemAlertRemoveCellHighlightAction;
220
+ export declare const SystemAlertRemoveRowHighlight: (alert: AdaptableAlert) => SystemAlertRemoveRowHighlightAction;
216
221
  export declare const SystemFlashingCellAdd: (flashingCell: AdaptableFlashingCell) => SystemFlashingCellAddAction;
217
222
  export declare const SystemFlashingCellDelete: (flashingCell: AdaptableFlashingCell) => SystemFlashingCellDeleteAction;
218
223
  export declare const SystemFlashingCellDeleteAll: (flashingCells: AdaptableFlashingCell[]) => SystemFlashingCellDeleteAllAction;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SystemReducer = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
3
+ exports.SystemReducer = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
4
4
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
5
  const Enums_1 = require("../../PredefinedConfig/Common/Enums");
6
6
  const Helper_1 = require("../../Utilities/Helpers/Helper");
@@ -14,7 +14,8 @@ exports.FLASHING_CELL_ROW_KEY = '__ROW';
14
14
  exports.SYSTEM_ALERT_ADD = 'SYSTEM_ALERT_ADD';
15
15
  exports.SYSTEM_ALERT_DELETE = 'SYSTEM_ALERT_DELETE';
16
16
  exports.SYSTEM_ALERT_DELETE_ALL = 'SYSTEM_ALERT_DELETE_ALL';
17
- exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT = 'SYSTEM_ALERT_REMOVE_HIGHLIGHT';
17
+ exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = 'SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT';
18
+ exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = 'SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT';
18
19
  // Flashing Cells
19
20
  exports.SYSTEM_FLASHING_CELL_ADD = 'SYSTEM_FLASHING_CELL_ADD';
20
21
  exports.SYSTEM_FLASHING_CELL_DELETE = 'SYSTEM_FLASHING_CELL_DELETE';
@@ -111,8 +112,12 @@ exports.SystemAlertDeleteAll = (alerts) => ({
111
112
  type: exports.SYSTEM_ALERT_DELETE_ALL,
112
113
  alerts: alerts,
113
114
  });
114
- exports.SystemAlertRemoveHighlight = (alert) => ({
115
- type: exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT,
115
+ exports.SystemAlertRemoveCellHighlight = (alert) => ({
116
+ type: exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT,
117
+ alert: alert,
118
+ });
119
+ exports.SystemAlertRemoveRowHighlight = (alert) => ({
120
+ type: exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT,
116
121
  alert: alert,
117
122
  });
118
123
  exports.SystemFlashingCellAdd = (flashingCell) => ({
@@ -281,7 +286,7 @@ exports.SystemReducer = (state = initialState, action) => {
281
286
  case exports.SYSTEM_ALERT_DELETE_ALL: {
282
287
  return Object.assign({}, state, { AdaptableAlerts: [] });
283
288
  }
284
- case exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT: {
289
+ case exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT: {
285
290
  const adaptableAlert = action.alert;
286
291
  return Object.assign(Object.assign({}, state), { AdaptableAlerts: state.AdaptableAlerts.map((abObject) => {
287
292
  if (abObject.Uuid === adaptableAlert.Uuid) {
@@ -289,6 +294,18 @@ exports.SystemReducer = (state = initialState, action) => {
289
294
  const newAbObject = Object.assign({}, abObject);
290
295
  newAbObject.alertDefinition = Helper_1.cloneObject(abObject.alertDefinition);
291
296
  delete newAbObject.alertDefinition.AlertProperties.HighlightCell;
297
+ return newAbObject;
298
+ }
299
+ return abObject;
300
+ }) });
301
+ }
302
+ case exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT: {
303
+ const adaptableAlert = action.alert;
304
+ return Object.assign(Object.assign({}, state), { AdaptableAlerts: state.AdaptableAlerts.map((abObject) => {
305
+ if (abObject.Uuid === adaptableAlert.Uuid) {
306
+ // AdaptableAlerts are still linked to the live AlertDefinitions, so we have to decouple them
307
+ const newAbObject = Object.assign({}, abObject);
308
+ newAbObject.alertDefinition = Helper_1.cloneObject(abObject.alertDefinition);
292
309
  delete newAbObject.alertDefinition.AlertProperties.HighlightRow;
293
310
  return newAbObject;
294
311
  }
@@ -101,10 +101,10 @@ function MergeStateFunction(oldState, newState) {
101
101
  const stateRevision = (_b = state[stateModuleName].Revision) !== null && _b !== void 0 ? _b : 0;
102
102
  const configRevision = (_c = config[stateModuleName].Revision) !== null && _c !== void 0 ? _c : 0;
103
103
  const stateRevisionKey = typeof stateRevision === 'object' ? stateRevision.Key : stateRevision;
104
- const configRevisionBehavior = typeof configRevision === 'object' ? configRevision.Behavior : 'Override';
104
+ const configRevisionBehaviour = typeof configRevision === 'object' ? configRevision.Behavior : 'Override';
105
105
  const configRevisionKey = typeof configRevision === 'object' ? configRevision.Key : configRevision;
106
106
  if (configRevisionKey > stateRevisionKey) {
107
- if (configRevisionBehavior === 'Override') {
107
+ if (configRevisionBehaviour === 'Override') {
108
108
  state[stateModuleName] = config[stateModuleName];
109
109
  }
110
110
  else {
@@ -34,6 +34,7 @@ const ToolPanelRedux = tslib_1.__importStar(require("../ActionsReducers/ToolPane
34
34
  const ScheduleRedux = tslib_1.__importStar(require("../ActionsReducers/ScheduleRedux"));
35
35
  const TeamSharingRedux = tslib_1.__importStar(require("../ActionsReducers/TeamSharingRedux"));
36
36
  const QueryRedux = tslib_1.__importStar(require("../ActionsReducers/QueryRedux"));
37
+ const StatusBarRedux = tslib_1.__importStar(require("../ActionsReducers/StatusBarRedux"));
37
38
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
38
39
  const ConfigConstants = tslib_1.__importStar(require("../../Utilities/Constants/ConfigConstants"));
39
40
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
@@ -138,6 +139,7 @@ class AdaptableStore {
138
139
  FreeTextColumn: FreeTextColumnRedux.FreeTextColumnReducer,
139
140
  Layout: LayoutRedux.LayoutReducer,
140
141
  Schedule: ScheduleRedux.ScheduleReducer,
142
+ StatusBar: StatusBarRedux.StatusBarReducer,
141
143
  PlusMinus: PlusMinusRedux.PlusMinusReducer,
142
144
  QuickSearch: QuickSearchRedux.QuickSearchReducer,
143
145
  Shortcut: ShortcutRedux.ShortcutReducer,
@@ -436,20 +438,32 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
436
438
  * Use Case: A System Alert had a Highlight Cell with a limited duration
437
439
  * Action: Refresh the cell (to clear the style)
438
440
  */
439
- case SystemRedux.SYSTEM_ALERT_REMOVE_HIGHLIGHT: {
441
+ case SystemRedux.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT: {
440
442
  let ret = next(action);
441
443
  const actionTyped = action;
442
444
  const adaptableAlert = actionTyped.alert;
443
- if (((_e = adaptableAlert.alertDefinition.AlertProperties) === null || _e === void 0 ? void 0 : _e.HighlightCell) &&
444
- AdaptableAlert_1.isAdaptableCellChangedAlert(adaptableAlert) &&
445
- adaptableAlert.cellDataChangedInfo) {
446
- const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
447
- adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
445
+ if ((_e = adaptableAlert.alertDefinition.AlertProperties) === null || _e === void 0 ? void 0 : _e.HighlightCell) {
446
+ if (AdaptableAlert_1.isAdaptableCellChangedAlert(adaptableAlert) &&
447
+ adaptableAlert.cellDataChangedInfo) {
448
+ const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
449
+ adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
450
+ }
448
451
  }
449
- if (((_f = adaptableAlert.alertDefinition.AlertProperties) === null || _f === void 0 ? void 0 : _f.HighlightRow) &&
450
- AdaptableAlert_1.isAdaptableRowChangedAlert(adaptableAlert) &&
451
- adaptableAlert.gridDataChangedInfo) {
452
- adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
452
+ return ret;
453
+ }
454
+ case SystemRedux.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT: {
455
+ let ret = next(action);
456
+ const actionTyped = action;
457
+ const adaptableAlert = actionTyped.alert;
458
+ if ((_f = adaptableAlert.alertDefinition.AlertProperties) === null || _f === void 0 ? void 0 : _f.HighlightRow) {
459
+ if (AdaptableAlert_1.isAdaptableCellChangedAlert(adaptableAlert) &&
460
+ adaptableAlert.cellDataChangedInfo) {
461
+ adaptable.api.gridApi.refreshRowNodes([adaptableAlert.cellDataChangedInfo.rowNode]);
462
+ }
463
+ if (AdaptableAlert_1.isAdaptableRowChangedAlert(adaptableAlert) &&
464
+ adaptableAlert.gridDataChangedInfo) {
465
+ adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
466
+ }
453
467
  }
454
468
  return ret;
455
469
  }
@@ -34,5 +34,8 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
34
34
  module: IModule;
35
35
  }>;
36
36
  getEditWizard: () => (props: import("../View/Alert/Wizard/AlertWizard").AlertWizardProps) => JSX.Element;
37
+ getStatusBarPanelProps: () => {
38
+ view: () => JSX.Element;
39
+ };
37
40
  };
38
41
  }
@@ -15,6 +15,7 @@ const getRuleViewItems_1 = require("./Utilities/getRuleViewItems");
15
15
  const getAlertPreviewViewItems_1 = require("./Utilities/getAlertPreviewViewItems");
16
16
  const getAlertBehaviourViewItems_1 = require("./Utilities/getAlertBehaviourViewItems");
17
17
  const AlertEmptyView_1 = require("../View/Alert/AlertEmptyView");
18
+ const AlertStatusSubPanel_1 = require("../View/Alert/AlertStatusSubPanel");
18
19
  class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
19
20
  constructor(api) {
20
21
  super(ModuleConstants.AlertModuleId, 'Alert', 'alert', 'AlertPopup', 'Get notified when things happen in Adaptable that you need to know about', api);
@@ -262,6 +263,11 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
262
263
  getUnSuspendAction: AlertRedux.AlertDefinitionUnSuspend,
263
264
  emptyView: AlertEmptyView_1.AlertEmptyView,
264
265
  getEditWizard: () => AlertWizard_1.AlertWizard,
266
+ getStatusBarPanelProps: () => {
267
+ return {
268
+ view: AlertStatusSubPanel_1.AlertStatusPanel,
269
+ };
270
+ },
265
271
  };
266
272
  }
267
273
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AdaptableModuleBase } from './AdaptableModuleBase';
2
3
  import { ICellSummaryModule } from './Interface/ICellSummaryModule';
3
4
  import { SelectedCellInfo } from '../PredefinedConfig/Selection/SelectedCellInfo';
@@ -10,4 +11,9 @@ export declare class CellSummaryModule extends AdaptableModuleBase implements IC
10
11
  getViewAccessLevel(): AccessLevel;
11
12
  addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
12
13
  createCellSummary(selectedCellInfo: SelectedCellInfo): CellSummmary;
14
+ getViewProperties(): {
15
+ getStatusBarPanelProps(): {
16
+ view: () => JSX.Element;
17
+ };
18
+ };
13
19
  }
@@ -7,6 +7,7 @@ const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/Mod
7
7
  const Enums_1 = require("../PredefinedConfig/Common/Enums");
8
8
  const ArrayExtensions_1 = require("../Utilities/Extensions/ArrayExtensions");
9
9
  const Helper_1 = require("../Utilities/Helpers/Helper");
10
+ const CellSummaryStatusPanel_1 = require("../View/CellSummary/CellSummaryStatusPanel");
10
11
  class CellSummaryModule extends AdaptableModuleBase_1.AdaptableModuleBase {
11
12
  constructor(api) {
12
13
  super(ModuleConstants.CellSummaryModuleId, 'Cell Summary', 'cell-summary', 'CellSummaryPopup', 'See summary information on a group of cells using multiple summary operations', api);
@@ -97,5 +98,18 @@ class CellSummaryModule extends AdaptableModuleBase_1.AdaptableModuleBase {
97
98
  }
98
99
  return selectedCellSummary;
99
100
  }
101
+ getViewProperties() {
102
+ return {
103
+ getStatusBarPanelProps() {
104
+ /**
105
+ * This uses a custom view because it has special logic to
106
+ * trigger summary operations when the component is rendered.
107
+ */
108
+ return {
109
+ view: CellSummaryStatusPanel_1.CellSummaryStatusPanel,
110
+ };
111
+ },
112
+ };
113
+ }
100
114
  }
101
115
  exports.CellSummaryModule = CellSummaryModule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AdaptableModuleBase } from './AdaptableModuleBase';
2
3
  import { IModule } from './Interface/IModule';
3
4
  import { AdaptableApi } from '../Api/AdaptableApi';
@@ -6,4 +7,10 @@ export declare class DataChangeHistoryModule extends AdaptableModuleBase impleme
6
7
  getPopupMaxWidth(): number;
7
8
  hasNamedQueryReferences(): boolean;
8
9
  private shouldLogDataChange;
10
+ getViewProperties(): {
11
+ getStatusBarPanelProps: () => {
12
+ triggerActionOnWrapperClick: boolean;
13
+ content: import("react").FunctionComponent<{}>;
14
+ };
15
+ };
9
16
  }
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const AdaptableModuleBase_1 = require("./AdaptableModuleBase");
6
6
  const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
7
7
  const SystemRedux_1 = require("../Redux/ActionsReducers/SystemRedux");
8
+ const DataChangeHistoryStatusBarContent_1 = require("../View/DataChangeHistory/DataChangeHistoryStatusBarContent");
8
9
  class DataChangeHistoryModule extends AdaptableModuleBase_1.AdaptableModuleBase {
9
10
  constructor(api) {
10
11
  super(ModuleConstants.DataChangeHistoryModuleId, 'Data Changes', 'track-changes', 'DataChangeHistoryPopup', 'Provides an overview of all previous changes, giving the possibility to undo specific changes', api);
@@ -36,5 +37,15 @@ class DataChangeHistoryModule extends AdaptableModuleBase_1.AdaptableModuleBase
36
37
  }
37
38
  return true;
38
39
  }
40
+ getViewProperties() {
41
+ return {
42
+ getStatusBarPanelProps: () => {
43
+ return {
44
+ triggerActionOnWrapperClick: false,
45
+ content: DataChangeHistoryStatusBarContent_1.DataChangeHistoryStatusBarContent,
46
+ };
47
+ },
48
+ };
49
+ }
39
50
  }
40
51
  exports.DataChangeHistoryModule = DataChangeHistoryModule;
@@ -30,6 +30,7 @@ export declare class ExportModule extends AdaptableModuleBase implements IExport
30
30
  toView(report: Report): AdaptableObjectView;
31
31
  toViewAll(): AdaptableObjectView[];
32
32
  getViewProperties(): {
33
+ newTooltipText: string;
33
34
  actions: import("react").FunctionComponent<{
34
35
  data: Report;
35
36
  }>[];
@@ -233,6 +233,7 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
233
233
  }
234
234
  getViewProperties() {
235
235
  return {
236
+ newTooltipText: 'Create New Report',
236
237
  actions: [ReportExportDropdown_1.ReportExportDropdown],
237
238
  getDeleteAction: ExportRedux.ReportDelete,
238
239
  getEditWizard() {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AdaptableModuleBase } from './AdaptableModuleBase';
2
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
3
4
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
@@ -21,5 +22,10 @@ export declare class FilterModule extends AdaptableModuleBase implements IModule
21
22
  getViewProperties(): {
22
23
  getDeleteAction: (columnFilter: ColumnFilter) => FilterRedux.ColumnFilterClearAction;
23
24
  emptyView: string;
25
+ getStatusBarPanelProps(): {
26
+ content: string;
27
+ popover: import("react").FunctionComponent<{}>;
28
+ popoverMinWidth: number;
29
+ };
24
30
  };
25
31
  }