@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
@@ -6,12 +6,6 @@ import { AdaptableApi } from '../../Api/AdaptableApi';
6
6
  import { SelectedCellInfo } from '../Selection/SelectedCellInfo';
7
7
  import { SelectedRowInfo } from '../Selection/SelectedRowInfo';
8
8
  import { Column, RowNode } from '@ag-grid-community/all-modules';
9
- export interface MenuContext {
10
- /**
11
- * The Adaptable Api - included as a convenience
12
- */
13
- adaptableApi: AdaptableApi;
14
- }
15
9
  /**
16
10
  * Menu item used by Adaptable in both Column and Context Menus
17
11
  */
@@ -46,11 +40,11 @@ export interface AdaptableMenuItem {
46
40
  subItems?: AdaptableMenuItem[];
47
41
  }
48
42
  /**
49
- * Menu Item created at design-time which is added to Column Header or Context Menu, and can contain sub items
43
+ * Menu Item which is added to Column Header or Context Menu, and can contain sub items
50
44
  */
51
- export interface UserMenuItem<CONTEXT_TYPE extends MenuContext> {
45
+ export interface UserMenuItem<CONTEXT_TYPE extends BaseMenuContext> {
52
46
  /**
53
- * The text that will appear in the Menu Item
47
+ * Text that will appear in the Menu Item
54
48
  */
55
49
  label: string | ((context: CONTEXT_TYPE) => string);
56
50
  /**
@@ -66,18 +60,24 @@ export interface UserMenuItem<CONTEXT_TYPE extends MenuContext> {
66
60
  */
67
61
  disabled?: (menuContext: CONTEXT_TYPE) => boolean;
68
62
  /**
69
- * Optional icon to show in the Column Menu Item
63
+ * Optional icon to display
70
64
  */
71
65
  icon?: string;
72
66
  /**
73
- * Array of Menu Items, enabling creation of (limitless levels of) sub menus
67
+ * Array of Menu Items, enabling limitless levels of menus
74
68
  */
75
69
  subMenuItems?: UserMenuItem<CONTEXT_TYPE>[];
76
70
  }
71
+ export interface BaseMenuContext {
72
+ /**
73
+ * The Adaptable Api - included as a convenience
74
+ */
75
+ adaptableApi: AdaptableApi;
76
+ }
77
77
  /**
78
- * Provides full details about the Column where Column Menu will appear
78
+ * Provides full details about the Column in which the Column Menu will appear
79
79
  */
80
- export interface ColumnMenuContext extends MenuContext {
80
+ export interface ColumnMenuContext extends BaseMenuContext {
81
81
  /**
82
82
  * Current Adaptable Column
83
83
  */
@@ -92,9 +92,9 @@ export interface ColumnMenuContext extends MenuContext {
92
92
  isRowGroupColumn: boolean;
93
93
  }
94
94
  /**
95
- * Provides full details about current cell (and selected cells) where Context Menu will appear
95
+ * Provides full details about current cell (and selected cells) where the Context Menu will appear
96
96
  */
97
- export interface ContextMenuContext extends MenuContext {
97
+ export interface ContextMenuContext extends BaseMenuContext {
98
98
  /**
99
99
  * Cell that has been clicked; contains cell value
100
100
  */
@@ -131,10 +131,6 @@ export interface ContextMenuContext extends MenuContext {
131
131
  * Value of Primary Key column in current row
132
132
  */
133
133
  primaryKeyValue: any;
134
- /**
135
- * The Adaptable Api - included as a convenience
136
- */
137
- adaptableApi: AdaptableApi;
138
134
  /**
139
135
  * Currently selected cells in the grid
140
136
  */
@@ -46,4 +46,8 @@ export interface SpecialColumnSettings {
46
46
  * @defaultValue false
47
47
  */
48
48
  SuppressMovable?: boolean;
49
+ /**
50
+ * Custom column types to be added to AG Grid Column Types when object is created
51
+ */
52
+ ColumnTypes?: string[];
49
53
  }
@@ -5,10 +5,10 @@ export declare type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
5
5
  /**
6
6
  * List of all the Toolbars that Adaptable provides
7
7
  */
8
- export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Chart' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
8
+ export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
9
9
  export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
10
10
  export declare type AdaptableToolPanels = AdaptableToolPanel[];
11
- export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Chart' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
11
+ export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
12
12
  export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
13
13
  /**
14
14
  * Adaptable Module Button collection
@@ -19,10 +19,10 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
19
19
  /**
20
20
  * List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
21
21
  */
22
- export declare type AdaptableModuleButton = 'Alert' | 'FlashingCell' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
22
+ 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
23
  export declare type AdaptableStateKeys = AdaptableStateKey[];
24
- export declare type AdaptableStateKey = 'Alert' | 'FlashingCell' | 'Application' | 'CalculatedColumn' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SparklineColumn' | 'Theme' | 'ToolPanel';
25
- export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
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';
25
+ 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';
26
26
  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';
27
27
  export declare type TypeHint<Base, Literals> = (Base & {
28
28
  __subType?: true;
@@ -8,7 +8,6 @@ exports.ALL_TOOLBARS = [
8
8
  'Alert',
9
9
  'BulkUpdate',
10
10
  'CellSummary',
11
- 'Chart',
12
11
  'DataChangeHistory',
13
12
  'DataSource',
14
13
  'Export',
@@ -28,7 +27,6 @@ exports.ALL_TOOL_PANELS = [
28
27
  'Alert',
29
28
  'BulkUpdate',
30
29
  'CellSummary',
31
- 'Chart',
32
30
  'Dashboard',
33
31
  'DataChangeHistory',
34
32
  'Export',
@@ -35,16 +35,16 @@ export interface DashboardState extends ConfigState {
35
35
  */
36
36
  IsHidden?: boolean;
37
37
  /**
38
- * Position of Dashboard in 'floating mode' - set and stored by AdapTable
38
+ * Position of Dashboard when in 'floating mode'
39
39
  */
40
40
  FloatingPosition?: AdaptableCoordinate;
41
41
  /**
42
- * Module Buttons visible in Dasbhoard Header when application loads - open popup screen for associated AdapTable Module
43
- * @defaultValue Empty Array
42
+ * Module Buttons which open screen in Settings Panel for associated AdapTable Module
43
+ * @defaultValue ['SettingsPanel']
44
44
  */
45
45
  ModuleButtons?: AdaptableModuleButtons;
46
46
  /**
47
- * Title to display in Dashboard Header; if missing, 'adaptableId' property in Adaptable Options is used
47
+ * Title to display in Dashboard Header
48
48
  * @defaultValue `adaptableId` in Adaptable Options
49
49
  */
50
50
  DashboardTitle?: string;
@@ -3,14 +3,13 @@ import { AdaptableStyle } from './Common/AdaptableStyle';
3
3
  import { AdaptablePredicate, AdaptableScope } from '../types';
4
4
  import { XOR } from '../Utilities/Extensions/TypeExtensions';
5
5
  import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
6
- import { SystemAlertPredicateId } from './AlertState';
7
6
  import { TypeHint } from './Common/Types';
8
7
  import { SuspendableObject } from '../../types';
9
8
  export interface FlashingCellDefinitionPredicate extends AdaptablePredicate {
10
- PredicateId: TypeHint<string, SystemAlertPredicateId>;
9
+ PredicateId: TypeHint<string, SystemFlashingCellPredicateId>;
11
10
  }
12
11
  /**
13
- * The Alert Rule defined by either an AdaptablePredicate or an AdaptableQuery
12
+ * The Flashing Cell Rule - either an AdaptablePredicate or an AdaptableQuery
14
13
  */
15
14
  export declare type FlashingCellRule = XOR<{
16
15
  Predicate: FlashingCellDefinitionPredicate;
@@ -20,20 +19,29 @@ export declare type FlashingCellRule = XOR<{
20
19
  */
21
20
  export interface FlashingCellState extends ConfigState {
22
21
  /**
23
- * Flashing Alert Definitions - will colour cells/rows when rule is met
22
+ * Flashing Cell Definitions - will colour cells/rows when rule is met
24
23
  * @defaultValue null
25
24
  */
26
25
  FlashingCellDefinitions?: FlashingCellDefinition[];
27
26
  }
27
+ export declare type FlashTargetTypes = 'row' | 'cell' | 'aggFuncCell';
28
28
  /**
29
- * Properties to use in Flashing Alerts
29
+ * The Flashing Cell Definition
30
30
  */
31
- export interface FlashingCellProperties {
31
+ export interface FlashingCellDefinition extends SuspendableObject {
32
+ /**
33
+ * Where Flashing Cell can be triggered: one, some or all columns or DataTypes
34
+ */
35
+ Scope: AdaptableScope;
36
+ /**
37
+ * When Flashing Cell should be triggered
38
+ */
39
+ Rule: FlashingCellRule;
32
40
  /**
33
41
  * Should a cell or whole row flash
34
42
  * @defaultValue 'cell'
35
43
  */
36
- FlashTarget?: 'row' | 'cell';
44
+ FlashTarget?: FlashTargetTypes | FlashTargetTypes[];
37
45
  /**
38
46
  * Style for 'Down' value changes
39
47
  * @defaultValue Red BackColour
@@ -55,16 +63,4 @@ export interface FlashingCellProperties {
55
63
  */
56
64
  FlashDuration?: number | 'always';
57
65
  }
58
- /**
59
- * The Flashing Cell Definition
60
- */
61
- export interface FlashingCellDefinition extends FlashingCellProperties, SuspendableObject {
62
- /**
63
- * Where Alert can be triggered: one, some or all columns or DataTypes
64
- */
65
- Scope: AdaptableScope;
66
- /**
67
- * When Alert should be triggered
68
- */
69
- Rule: FlashingCellRule;
70
- }
66
+ export declare type SystemFlashingCellPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'PercentChange' | 'IsNumeric' | 'Any';
@@ -16,8 +16,6 @@ import { PlusMinusState } from './PlusMinusState';
16
16
  import { QuickSearchState } from './QuickSearchState';
17
17
  import { ShortcutState } from './ShortcutState';
18
18
  import { ThemeState } from './ThemeState';
19
- import { ChartState } from './ChartState';
20
- import { SparklineColumnState } from './SparklineColumnState';
21
19
  import { ToolPanelState } from './ToolPanelState';
22
20
  import { QueryState } from './QueryState';
23
21
  /**
@@ -36,10 +34,6 @@ export interface PredefinedConfig {
36
34
  * Supplies a collection of *CalculatedColumn* objects that will display a value based on other cells in the row (using a Calculated Column Expression)
37
35
  */
38
36
  CalculatedColumn?: CalculatedColumnState;
39
- /**
40
- * Collection of Charts to enable seeing grid data visually in chart format (requires Chart plugin)
41
- */
42
- Chart?: ChartState;
43
37
  /**
44
38
  * Supplies a collection of *ConditionalStyle* objects to provides columns and rows with a particular style when the data matches a given rule
45
39
  */
@@ -96,10 +90,6 @@ export interface PredefinedConfig {
96
90
  * Supplies a collection of *Shortcut* objects to aid data entry and prevent 'fat finger' issues
97
91
  */
98
92
  Shortcut?: ShortcutState;
99
- /**
100
- * Columns - where data type is a numeric array - which is rendered as a Sparkline Chart - only populated at Design Time
101
- */
102
- SparklineColumn?: SparklineColumnState;
103
93
  /**
104
94
  * Specifies the current Theme and lists the User and System themes available for selection.
105
95
  */
@@ -1,7 +1,5 @@
1
1
  import { PreviewInfo } from '../Utilities/Interface/Preview';
2
- import { ChartVisibility } from './Common/ChartEnums';
3
2
  import { InternalState } from './InternalState';
4
- import { ChartData } from './ChartState';
5
3
  import { BulkUpdateValidationResult } from '../Strategy/Interface/IBulkUpdateModule';
6
4
  import { DataChangedInfo, GridCell } from '../types';
7
5
  import type { IPushPullState, IPushPullReport, IPushPullDomain } from './IPushPullState';
@@ -38,8 +36,6 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
38
36
  SmartEditPreviewInfo: PreviewInfo;
39
37
  BulkUpdateValidationResult: BulkUpdateValidationResult;
40
38
  BulkUpdatePreviewInfo: PreviewInfo;
41
- ChartData: ChartData;
42
- ChartVisibility: ChartVisibility;
43
39
  CalculatedColumnErrorMessage: string;
44
40
  ReportErrorMessage: string;
45
41
  LastAppliedShortCut: GridCell | undefined;
@@ -1,5 +1,6 @@
1
1
  import { ConfigState } from './ConfigState';
2
2
  import { AdaptableObject } from './Common/AdaptableObject';
3
+ import { TypeHint } from './Common/Types';
3
4
  /**
4
5
  * Theme section of Adaptable State
5
6
  */
@@ -7,7 +8,7 @@ export interface ThemeState extends ConfigState {
7
8
  /**
8
9
  * Name of current theme (or theme to set at startup); leave blank if using 'Light Theme', set to 'dark' for 'Dark Theme' or provide name of Custom Theme
9
10
  */
10
- CurrentTheme?: string;
11
+ CurrentTheme?: TypeHint<string, 'light' | 'dark'>;
11
12
  /**
12
13
  * Which, if any, of the 2 themes shipped by Adaptable should be available; leave unset to provide both, or an empty array to provide neither.
13
14
  */
@@ -35,10 +35,6 @@ export declare const DASHBOARD_SET_FLOATING_POSITION = "DASHBOARD_SET_FLOATING_P
35
35
  * @ReduxAction New Dashboard Tabs have been set
36
36
  */
37
37
  export declare const DASHBOARD_SET_TABS = "DASHBOARD_SET_TABS";
38
- /**
39
- * @ReduxAction A default Tab has been created
40
- */
41
- export declare const DASHBOARD_CREATE_DEFAULT_TAB = "DASHBOARD_CREATE_DEFAULT_TAB";
42
38
  /**
43
39
  * @ReduxAction A Toolbar has been closed
44
40
  */
@@ -85,8 +81,6 @@ export interface DashboardSetFloatingPositionAction extends Redux.Action {
85
81
  export interface DashboardCloseToolbarAction extends Redux.Action {
86
82
  toolbar: AdaptableDashboardToolbar;
87
83
  }
88
- export interface DashboardCreateDefaultTabAction extends Redux.Action {
89
- }
90
84
  export interface DashboardSetTabsAction extends Redux.Action {
91
85
  Tabs: DashboardTab[];
92
86
  }
@@ -109,7 +103,6 @@ export declare const DashboardSetIsHidden: (IsHidden: boolean) => DashboardSetIs
109
103
  export declare const DashboardSetIsInline: (IsInline: boolean) => DashboardSetIsInlineAction;
110
104
  export declare const DashboardSetFloatingPosition: (FloatingPosition: AdaptableCoordinate) => DashboardSetFloatingPositionAction;
111
105
  export declare const DashboardSetTabs: (Tabs: DashboardTab[]) => DashboardSetTabsAction;
112
- export declare const DashboardCreateDefaultTab: () => DashboardCreateDefaultTabAction;
113
106
  export declare const DashboardCloseToolbar: (toolbar: AdaptableDashboardToolbar) => DashboardCloseToolbarAction;
114
107
  export declare const DashboardSetTitle: (title: string) => DashboardSetTitleAction;
115
108
  export declare const DashboardReady: (dashboardState: DashboardState) => DashboardReadyAction;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DashboardReducer = exports.DashboardReady = exports.DashboardSetTitle = exports.DashboardCloseToolbar = exports.DashboardCreateDefaultTab = exports.DashboardSetTabs = exports.DashboardSetFloatingPosition = exports.DashboardSetIsInline = exports.DashboardSetIsHidden = exports.DashboardSetIsFloating = exports.DashboardSetIsCollapsed = exports.DashboardSetActiveTabIndex = exports.DashboardSetModuleButtons = exports.DASHBOARD_READY = exports.DASHBOARD_SET_TITLE = exports.DASHBOARD_CLOSE_TOOLBAR = exports.DASHBOARD_CREATE_DEFAULT_TAB = exports.DASHBOARD_SET_TABS = exports.DASHBOARD_SET_FLOATING_POSITION = exports.DASHBOARD_SET_IS_HIDDEN = exports.DASHBOARD_SET_IS_INLINE = exports.DASHBOARD_SET_IS_FLOATING = exports.DASHBOARD_SET_IS_COLLAPSED = exports.DASHBOARD_ACTIVE_TAB_INDEX_CHANGE = exports.DASHBOARD_SET_MODULE_BUTTONS = void 0;
3
+ exports.DashboardReducer = exports.DashboardReady = exports.DashboardSetTitle = exports.DashboardCloseToolbar = exports.DashboardSetTabs = exports.DashboardSetFloatingPosition = exports.DashboardSetIsInline = exports.DashboardSetIsHidden = exports.DashboardSetIsFloating = exports.DashboardSetIsCollapsed = exports.DashboardSetActiveTabIndex = exports.DashboardSetModuleButtons = exports.DASHBOARD_READY = exports.DASHBOARD_SET_TITLE = exports.DASHBOARD_CLOSE_TOOLBAR = exports.DASHBOARD_SET_TABS = exports.DASHBOARD_SET_FLOATING_POSITION = exports.DASHBOARD_SET_IS_HIDDEN = exports.DASHBOARD_SET_IS_INLINE = exports.DASHBOARD_SET_IS_FLOATING = exports.DASHBOARD_SET_IS_COLLAPSED = exports.DASHBOARD_ACTIVE_TAB_INDEX_CHANGE = exports.DASHBOARD_SET_MODULE_BUTTONS = void 0;
4
4
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
5
  /**
6
6
  * @ReduxAction The Module Buttons have been set in the Dashboard
@@ -34,10 +34,6 @@ exports.DASHBOARD_SET_FLOATING_POSITION = 'DASHBOARD_SET_FLOATING_POSITION';
34
34
  * @ReduxAction New Dashboard Tabs have been set
35
35
  */
36
36
  exports.DASHBOARD_SET_TABS = 'DASHBOARD_SET_TABS';
37
- /**
38
- * @ReduxAction A default Tab has been created
39
- */
40
- exports.DASHBOARD_CREATE_DEFAULT_TAB = 'DASHBOARD_CREATE_DEFAULT_TAB';
41
37
  /**
42
38
  * @ReduxAction A Toolbar has been closed
43
39
  */
@@ -82,9 +78,6 @@ exports.DashboardSetTabs = (Tabs) => ({
82
78
  type: exports.DASHBOARD_SET_TABS,
83
79
  Tabs,
84
80
  });
85
- exports.DashboardCreateDefaultTab = () => ({
86
- type: exports.DASHBOARD_CREATE_DEFAULT_TAB,
87
- });
88
81
  exports.DashboardCloseToolbar = (toolbar) => ({
89
82
  toolbar,
90
83
  type: exports.DASHBOARD_CLOSE_TOOLBAR,
@@ -105,7 +98,7 @@ const initialState = {
105
98
  IsHidden: false,
106
99
  IsInline: false,
107
100
  FloatingPosition: { x: 100, y: 100 },
108
- ModuleButtons: GeneralConstants_1.EMPTY_ARRAY,
101
+ ModuleButtons: ['SettingsPanel'],
109
102
  DashboardTitle: '',
110
103
  };
111
104
  exports.DashboardReducer = (state = initialState, action) => {
@@ -146,9 +139,6 @@ exports.DashboardReducer = (state = initialState, action) => {
146
139
  const { Tabs } = action;
147
140
  return Object.assign(Object.assign({}, state), { Tabs });
148
141
  }
149
- case exports.DASHBOARD_CREATE_DEFAULT_TAB: {
150
- return Object.assign(Object.assign({}, state), { Tabs: [{ Name: 'Toolbars', Toolbars: ['Query', 'Layout', 'Export', 'Filter'] }] });
151
- }
152
142
  case exports.DASHBOARD_CLOSE_TOOLBAR: {
153
143
  const actionTyped = action;
154
144
  const tabs = [].concat(state.Tabs);
@@ -53,8 +53,6 @@ export interface PopupShowConfirmationAction extends Redux.Action {
53
53
  }
54
54
  export interface PopupClearParamAction extends Redux.Action {
55
55
  }
56
- export interface PopupChartClearParamAction extends Redux.Action {
57
- }
58
56
  export declare const PopupShowScreen: (componentModule?: AdaptableModule, componentName?: string, params?: ModuleParams, popupProps?: {
59
57
  [key: string]: any;
60
58
  }) => PopupShowScreenAction;
@@ -2,9 +2,7 @@ import * as Redux from 'redux';
2
2
  import { SystemState } from '../../PredefinedConfig/SystemState';
3
3
  import { CellHighlightInfo, RowHighlightInfo } from '../../PredefinedConfig/Common/CellHighlightInfo';
4
4
  import { PreviewInfo } from '../../Utilities/Interface/Preview';
5
- import { ChartVisibility } from '../../PredefinedConfig/Common/ChartEnums';
6
5
  import { ExportCustomDestinationPopup, Report } from '../../PredefinedConfig/ExportState';
7
- import { ChartData } from '../../PredefinedConfig/ChartState';
8
6
  import { BulkUpdateValidationResult } from '../../Strategy/Interface/IBulkUpdateModule';
9
7
  import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
10
8
  import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
@@ -34,8 +32,6 @@ export declare const SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = "SYSTEM_BULK_UPDA
34
32
  export declare const SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = "SYSTEM_BULK_UPDATE_SET_VALID_SELECTION";
35
33
  export declare const SYSTEM_BULK_UPDATE_SET_PREVIEW = "SYSTEM_BULK_UPDATE_SET_PREVIEW";
36
34
  export declare const SYSTEM_BULK_UPDATE_CHANGE_VALUE = "SYSTEM_BULK_UPDATE_CHANGE_VALUE";
37
- export declare const SYSTEM_CHART_SET_CHART_DATA = "SYSTEM_CHART_SET_CHART_DATA";
38
- export declare const SYSTEM_CHART_SET_CHART_VISIBILITY = "SYSTEM_CHART_SET_CHART_VISIBILITY";
39
35
  export declare const SYSTEM_HIGHLIGHT_CELL_ADD = "SYSTEM_HIGHLIGHT_CELL_ADD";
40
36
  export declare const SYSTEM_HIGHLIGHT_CELL_DELETE = "SYSTEM_HIGHLIGHT_CELL_DELETE";
41
37
  export declare const SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = "SYSTEM_HIGHLIGHT_CELL_DELETE_ALL";
@@ -153,12 +149,6 @@ export interface BulkUpdateChangeValueAction extends Redux.Action {
153
149
  export interface BulkUpdateSetValidSelectionAction extends Redux.Action {
154
150
  bulkUpdateValidationResult: BulkUpdateValidationResult;
155
151
  }
156
- export interface ChartSetChartDataAction extends Redux.Action {
157
- chartData: ChartData;
158
- }
159
- export interface ChartSetChartVisibiityAction extends Redux.Action {
160
- chartVisibility: ChartVisibility;
161
- }
162
152
  export interface CalculatedColumnSetErrorMessageAction extends Redux.Action {
163
153
  errorMsg: string;
164
154
  }
@@ -239,8 +229,6 @@ export declare const BulkUpdateCheckCellSelection: () => BulkUpdateCheckCellSele
239
229
  export declare const BulkUpdateSetValidSelection: (bulkUpdateValidationResult: BulkUpdateValidationResult) => BulkUpdateSetValidSelectionAction;
240
230
  export declare const BulkUpdateSetPreview: (BulkUpdatePreviewInfo: PreviewInfo) => BulkUpdateSetPreviewAction;
241
231
  export declare const BulkUpdateChangeValue: (bulkUpdateValue: string) => BulkUpdateChangeValueAction;
242
- export declare const ChartSetChartData: (chartData: ChartData) => ChartSetChartDataAction;
243
- export declare const ChartSetChartVisibility: (ChartVisibility: ChartVisibility) => ChartSetChartVisibiityAction;
244
232
  export declare const SetNewColumnListOrder: (VisibleColumnList: string[]) => SetNewColumnListOrderAction;
245
233
  export declare const SetLastAppliedShortcut: (gridCell: GridCell | undefined) => SetLastAppliedShortcutAction;
246
234
  export declare const SystemCachedQueryAdd: (cachedQuery: CachedQuery) => SystemCachedQueryAddAction;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SystemReducer = exports.getSystemExportCustomDestinationPopups = exports.SystemSettingsPanelSet = exports.SystemExportCustomDestinationPopupHide = exports.SystemExportCustomDestinationPopupShow = 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.ChartSetChartVisibility = exports.ChartSetChartData = 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.SystemHighlightRowDelete = 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_EXPORT_CUSTOM_DESTINATION_POPUP_HIDE = exports.SYSTEM_EXPORT_CUSTOM_DESTINATION_POPUP_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_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_CHART_SET_CHART_VISIBILITY = exports.SYSTEM_CHART_SET_CHART_DATA = 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_ALERT_DELETE_ALL = exports.SYSTEM_FLASHING_ALERT_DELETE = exports.SYSTEM_FLASHING_ALERT_ADD = exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_ALERT_ROW_KEY = void 0;
3
+ exports.SystemReducer = exports.getSystemExportCustomDestinationPopups = exports.SystemSettingsPanelSet = exports.SystemExportCustomDestinationPopupHide = exports.SystemExportCustomDestinationPopupShow = 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.SystemHighlightRowDelete = 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_EXPORT_CUSTOM_DESTINATION_POPUP_HIDE = exports.SYSTEM_EXPORT_CUSTOM_DESTINATION_POPUP_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_ROW_DELETE = 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_ALERT_DELETE_ALL = exports.SYSTEM_FLASHING_ALERT_DELETE = exports.SYSTEM_FLASHING_ALERT_ADD = exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_ALERT_ROW_KEY = void 0;
4
4
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
5
  const Helper_1 = require("../../Utilities/Helpers/Helper");
6
6
  /*
@@ -34,9 +34,6 @@ exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = 'SYSTEM_BULK_UPDATE_CHECK_CELL
34
34
  exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = 'SYSTEM_BULK_UPDATE_SET_VALID_SELECTION';
35
35
  exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = 'SYSTEM_BULK_UPDATE_SET_PREVIEW';
36
36
  exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = 'SYSTEM_BULK_UPDATE_CHANGE_VALUE';
37
- // Chart Management
38
- exports.SYSTEM_CHART_SET_CHART_DATA = 'SYSTEM_CHART_SET_CHART_DATA';
39
- exports.SYSTEM_CHART_SET_CHART_VISIBILITY = 'SYSTEM_CHART_SET_CHART_VISIBILITY';
40
37
  // Cell Highlight
41
38
  exports.SYSTEM_HIGHLIGHT_CELL_ADD = 'SYSTEM_HIGHLIGHT_CELL_ADD';
42
39
  exports.SYSTEM_HIGHLIGHT_CELL_DELETE = 'SYSTEM_HIGHLIGHT_CELL_DELETE';
@@ -173,14 +170,6 @@ exports.BulkUpdateChangeValue = (bulkUpdateValue) => ({
173
170
  type: exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE,
174
171
  bulkUpdateValue,
175
172
  });
176
- exports.ChartSetChartData = (chartData) => ({
177
- type: exports.SYSTEM_CHART_SET_CHART_DATA,
178
- chartData,
179
- });
180
- exports.ChartSetChartVisibility = (ChartVisibility) => ({
181
- type: exports.SYSTEM_CHART_SET_CHART_VISIBILITY,
182
- chartVisibility: ChartVisibility,
183
- });
184
173
  exports.SetNewColumnListOrder = (VisibleColumnList) => ({
185
174
  type: exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER,
186
175
  visibleColumnList: VisibleColumnList,
@@ -259,8 +248,6 @@ const initialState = {
259
248
  SmartEditPreviewInfo: null,
260
249
  BulkUpdateValidationResult: { IsValid: false, Column: null },
261
250
  BulkUpdatePreviewInfo: null,
262
- ChartData: null,
263
- ChartVisibility: GeneralConstants_1.SYSTEM_DEFAULT_CHART_VISIBILITY,
264
251
  CalculatedColumnErrorMessage: GeneralConstants_1.EMPTY_STRING,
265
252
  ReportErrorMessage: GeneralConstants_1.EMPTY_STRING,
266
253
  LastAppliedShortCut: null,
@@ -448,13 +435,6 @@ exports.SystemReducer = (state = initialState, action) => {
448
435
  return Object.assign({}, state, {
449
436
  BulkUpdateValue: action.bulkUpdateValue,
450
437
  });
451
- // Chart Actions
452
- case exports.SYSTEM_CHART_SET_CHART_DATA:
453
- return Object.assign({}, state, { ChartData: action.chartData });
454
- case exports.SYSTEM_CHART_SET_CHART_VISIBILITY:
455
- return Object.assign({}, state, {
456
- ChartVisibility: action.chartVisibility,
457
- });
458
438
  case exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT: {
459
439
  return Object.assign({}, state, {
460
440
  LastAppliedShortCut: action.gridCell,
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ToolPanelReducer = exports.ToolPanelReady = exports.ToolPanelSetModuleButtons = exports.ToolPanelCollapseToolPanel = exports.ToolPanelExpandToolPanel = exports.ToolPanelHideToolPanel = exports.ToolPanelShowToolPanel = exports.ToolPanelSetToolPanels = exports.TOOLPANEL_READY = exports.TOOLPANEL_SET_MODULE_BUTTONS = exports.TOOLPANEL_COLLAPSE_TOOLPANEL = exports.TOOLPANEL_EXPAND_TOOLPANEL = exports.TOOLPANEL_HIDE_TOOLPANEL = exports.TOOLPANEL_SHOW_TOOLPANEL = exports.TOOLPANEL_SET_TOOLPANELS = void 0;
4
- const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
4
  /**
6
5
  * @ReduxAction Tool Panels have been set in AdapTable ToolPanel Component
7
6
  */
@@ -61,7 +60,7 @@ exports.ToolPanelReady = (toolPanelState) => ({
61
60
  const initialState = {
62
61
  // default ToolPanels are set in ToolPanelModule.updateOldConfig() because we have to evaluate the ToolPanelOptions (for CustomToolPanel)
63
62
  ToolPanels: undefined,
64
- ModuleButtons: GeneralConstants_1.EMPTY_ARRAY,
63
+ ModuleButtons: ['SettingsPanel'],
65
64
  };
66
65
  exports.ToolPanelReducer = (state = initialState, action) => {
67
66
  var _a, _b, _c, _d;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createEngine = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const isomorphic_fetch_1 = tslib_1.__importDefault(require("isomorphic-fetch"));
6
- const debounce_1 = tslib_1.__importDefault(require("lodash-es/debounce"));
6
+ const debounce_1 = tslib_1.__importDefault(require("lodash/debounce"));
7
7
  const AdaptableReduxMerger_1 = require("./AdaptableReduxMerger");
8
8
  const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions");
9
9
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mergeReducer = exports.MergeState = exports.MergeStateFunction = exports.AddStateSource = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const mergeWith_1 = tslib_1.__importDefault(require("lodash-es/mergeWith"));
6
- const merge_1 = tslib_1.__importDefault(require("lodash-es/merge"));
7
- const isArray_1 = tslib_1.__importDefault(require("lodash-es/isArray"));
8
- const extend_1 = tslib_1.__importDefault(require("lodash-es/extend"));
9
- const isObject_1 = tslib_1.__importDefault(require("lodash-es/isObject"));
5
+ const mergeWith_1 = tslib_1.__importDefault(require("lodash/mergeWith"));
6
+ const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
7
+ const isArray_1 = tslib_1.__importDefault(require("lodash/isArray"));
8
+ const extend_1 = tslib_1.__importDefault(require("lodash/extend"));
9
+ const isObject_1 = tslib_1.__importDefault(require("lodash/isObject"));
10
10
  const isAdaptableObject_1 = require("../../Utilities/isAdaptableObject");
11
11
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
12
12
  function customizer(objValue, srcValue) {