@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
package/base.css CHANGED
@@ -1672,6 +1672,11 @@
1672
1672
  --ab-cmp-system-status-list__background-color: var(--ab-color-defaultbackground); }
1673
1673
  :root {
1674
1674
  --ab-cmp-dashboard-module-selector-background: var(--ab-color-defaultbackground); }
1675
+ :root {
1676
+ --ab-cmp-adaptable-statusbar-sub-panel__padding: var(--ab-space-1) var(--ab-space-2);
1677
+ --ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover: var(--ab-color-primary);
1678
+ --ab-cmp-adaptable-statusbar__color: var(--ab-color-text-on-primary);
1679
+ --ab-cmp-adaptable-statusbar__font-weight: 400; }
1675
1680
  .ab-Radio-input:focus + svg rect {
1676
1681
  stroke: var(--ab-color-accent);
1677
1682
  stroke-width: 2; }
@@ -2781,6 +2786,17 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
2781
2786
  width: var(--ab-cmp-adaptable-object-list-item-label__width); }
2782
2787
  .ab-Adaptable-Object-List__Item__label:hover .ab-Adaptable-Object-List__Item__edit-property {
2783
2788
  visibility: visible; }
2789
+ .ab-StatusBar__SubPanel {
2790
+ padding: var(--ab-cmp-adaptable-statusbar-sub-panel__padding);
2791
+ border: 0;
2792
+ background: none;
2793
+ font-weight: 400; }
2794
+ .ab-StatusBar__SubPanel,
2795
+ .ab-StatusBar__SubPanel .ab-SimpleButton {
2796
+ color: var(--ab-cmp-adaptable-statusbar__color); }
2797
+ button.ab-StatusBar__SubPanel:hover {
2798
+ background-color: var(--ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover);
2799
+ cursor: pointer; }
2784
2800
  .ab-alert--error {
2785
2801
  background: var(--ab-color-error); }
2786
2802
  .ab-alert--success {