@adaptabletools/adaptable 10.0.4-canary.2 → 11.0.0-canary.0

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 (750) hide show
  1. package/LICENSE.md +1 -1
  2. package/agGrid.d.ts +2 -2
  3. package/base.css +372 -86
  4. package/bundle.cjs.js +141 -136
  5. package/index.css +435 -95
  6. package/package.json +5 -4
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +12 -6
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +19 -3
  11. package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
  12. package/src/AdaptableOptions/DashboardOptions.d.ts +4 -7
  13. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +2 -2
  14. package/src/AdaptableOptions/EditOptions.d.ts +2 -2
  15. package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/FilterOptions.d.ts +2 -2
  17. package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
  18. package/src/AdaptableOptions/FlashingCellOptions.d.ts +31 -0
  19. package/src/AdaptableOptions/{ChartPluginOptions.js → FlashingCellOptions.js} +0 -0
  20. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  21. package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
  22. package/src/AdaptableOptions/NotificationsOptions.d.ts +2 -8
  23. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +87 -0
  24. package/src/{Api/ChartApi.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
  25. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -14
  26. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +34 -0
  27. package/src/Api/AdaptableApi.d.ts +9 -7
  28. package/src/Api/AlertApi.d.ts +4 -79
  29. package/src/Api/ChartingApi.d.ts +9 -0
  30. package/src/Api/{Events/FlashingAlertFired.js → ChartingApi.js} +0 -0
  31. package/src/Api/ColumnApi.d.ts +11 -1
  32. package/src/Api/ConfigApi.d.ts +0 -12
  33. package/src/Api/DataChangeHistoryApi.d.ts +4 -0
  34. package/src/Api/EventApi.d.ts +8 -8
  35. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  36. package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
  37. package/src/Api/{SparklineColumnApi.js → Events/FlashingCellDisplayed.js} +0 -0
  38. package/src/Api/Events/GridDataChanged.d.ts +3 -1
  39. package/src/Api/FlashingCellApi.d.ts +89 -0
  40. package/src/{PredefinedConfig/ChartState.js → Api/FlashingCellApi.js} +0 -0
  41. package/src/Api/GridApi.d.ts +28 -5
  42. package/src/Api/Implementation/AdaptableApiImpl.d.ts +4 -2
  43. package/src/Api/Implementation/AdaptableApiImpl.js +4 -2
  44. package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
  45. package/src/Api/Implementation/AlertApiImpl.js +40 -107
  46. package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -1
  47. package/src/Api/Implementation/ChartingApiImpl.d.ts +5 -0
  48. package/src/Api/Implementation/ChartingApiImpl.js +10 -0
  49. package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
  50. package/src/Api/Implementation/ColumnApiImpl.js +14 -8
  51. package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
  52. package/src/Api/Implementation/ConfigApiImpl.js +0 -21
  53. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  54. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
  55. package/src/Api/Implementation/FilterApiImpl.js +1 -1
  56. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +24 -0
  57. package/src/Api/Implementation/FlashingCellApiImpl.js +111 -0
  58. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  59. package/src/Api/Implementation/GridApiImpl.d.ts +13 -8
  60. package/src/Api/Implementation/GridApiImpl.js +39 -17
  61. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -6
  62. package/src/Api/Implementation/InternalApiImpl.js +5 -10
  63. package/src/Api/Implementation/LayoutApiImpl.js +12 -0
  64. package/src/Api/Implementation/PluginsApiImpl.d.ts +0 -2
  65. package/src/Api/Implementation/PluginsApiImpl.js +0 -6
  66. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  67. package/src/Api/Implementation/QueryApiImpl.js +1 -1
  68. package/src/Api/Implementation/ScheduleApiImpl.js +5 -5
  69. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  70. package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
  71. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  72. package/src/Api/InternalApi.d.ts +4 -8
  73. package/src/Api/PluginsApi.d.ts +0 -2
  74. package/src/Api/SmartEditApi.d.ts +4 -4
  75. package/src/PredefinedConfig/AdaptableState.d.ts +2 -4
  76. package/src/PredefinedConfig/AlertState.d.ts +13 -54
  77. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
  78. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
  79. package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
  80. package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.js → AdaptableFlashingCell.js} +0 -0
  81. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
  82. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -38
  83. package/src/PredefinedConfig/Common/AdaptableScope.d.ts +3 -3
  84. package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
  85. package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
  86. package/src/PredefinedConfig/Common/Enums.js +1 -0
  87. package/src/PredefinedConfig/Common/Menu.d.ts +16 -20
  88. package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
  89. package/src/PredefinedConfig/Common/Schedule.js +0 -14
  90. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
  91. package/src/PredefinedConfig/Common/Types.d.ts +6 -5
  92. package/src/PredefinedConfig/Common/Types.js +0 -2
  93. package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
  94. package/src/PredefinedConfig/DashboardState.d.ts +3 -2
  95. package/src/PredefinedConfig/FlashingCellState.d.ts +65 -0
  96. package/src/PredefinedConfig/{SparklineColumnState.js → FlashingCellState.js} +0 -0
  97. package/src/PredefinedConfig/FreeTextColumnState.d.ts +2 -2
  98. package/src/PredefinedConfig/LayoutState.d.ts +1 -1
  99. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -10
  100. package/src/PredefinedConfig/ScheduleState.d.ts +1 -5
  101. package/src/PredefinedConfig/ShortcutState.d.ts +6 -2
  102. package/src/PredefinedConfig/SystemState.d.ts +17 -8
  103. package/src/PredefinedConfig/ThemeState.d.ts +2 -1
  104. package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
  105. package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
  106. package/src/Redux/ActionsReducers/DashboardRedux.js +2 -2
  107. package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
  108. package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
  109. package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -3
  110. package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -25
  111. package/src/Redux/ActionsReducers/SystemRedux.js +94 -60
  112. package/src/Redux/ActionsReducers/ToolPanelRedux.js +1 -1
  113. package/src/Redux/Store/AdaptableStore.js +90 -65
  114. package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
  115. package/src/Strategy/AdaptableModuleBase.js +0 -3
  116. package/src/Strategy/AlertModule.d.ts +14 -5
  117. package/src/Strategy/AlertModule.js +40 -123
  118. package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
  119. package/src/Strategy/CalculatedColumnModule.js +34 -0
  120. package/src/Strategy/ChartingModule.d.ts +7 -0
  121. package/src/Strategy/ChartingModule.js +15 -0
  122. package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
  123. package/src/Strategy/ConditionalStyleModule.js +28 -0
  124. package/src/Strategy/CustomSortModule.d.ts +12 -1
  125. package/src/Strategy/CustomSortModule.js +26 -0
  126. package/src/Strategy/DashboardModule.d.ts +0 -1
  127. package/src/Strategy/DashboardModule.js +1 -7
  128. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  129. package/src/Strategy/DataSourceModule.d.ts +9 -1
  130. package/src/Strategy/DataSourceModule.js +28 -0
  131. package/src/Strategy/ExportModule.d.ts +12 -0
  132. package/src/Strategy/ExportModule.js +43 -0
  133. package/src/Strategy/FilterModule.d.ts +8 -1
  134. package/src/Strategy/FilterModule.js +28 -0
  135. package/src/Strategy/FlashingCellModule.d.ts +33 -0
  136. package/src/Strategy/FlashingCellModule.js +219 -0
  137. package/src/Strategy/FormatColumnModule.d.ts +11 -1
  138. package/src/Strategy/FormatColumnModule.js +35 -0
  139. package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
  140. package/src/Strategy/FreeTextColumnModule.js +45 -0
  141. package/src/Strategy/GridInfoModule.js +58 -36
  142. package/src/Strategy/Interface/IModule.d.ts +70 -1
  143. package/src/Strategy/LayoutModule.js +15 -3
  144. package/src/Strategy/PlusMinusModule.d.ts +11 -0
  145. package/src/Strategy/PlusMinusModule.js +34 -0
  146. package/src/Strategy/QueryModule.d.ts +20 -0
  147. package/src/Strategy/QueryModule.js +25 -0
  148. package/src/Strategy/ScheduleModule.d.ts +17 -1
  149. package/src/Strategy/ScheduleModule.js +148 -2
  150. package/src/Strategy/SetingsPanelModule.d.ts +11 -0
  151. package/src/Strategy/SetingsPanelModule.js +30 -0
  152. package/src/Strategy/ShortcutModule.d.ts +11 -0
  153. package/src/Strategy/ShortcutModule.js +22 -0
  154. package/src/Strategy/ToolPanelModule.js +1 -1
  155. package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +8 -0
  156. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +15 -0
  157. package/src/Strategy/Utilities/getAlertPreviewViewItems.d.ts +4 -0
  158. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +19 -0
  159. package/src/Strategy/Utilities/getCustomSortColumnViewItems.d.ts +5 -0
  160. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +9 -0
  161. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.d.ts +5 -0
  162. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +9 -0
  163. package/src/Strategy/Utilities/getExportColumnsViewItems.d.ts +3 -0
  164. package/src/Strategy/Utilities/getExportColumnsViewItems.js +22 -0
  165. package/src/Strategy/Utilities/getExportRowsViewItems.d.ts +5 -0
  166. package/src/Strategy/Utilities/getExportRowsViewItems.js +26 -0
  167. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +5 -0
  168. package/src/Strategy/Utilities/getExpressionViewItems.js +9 -0
  169. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.d.ts +5 -0
  170. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +9 -0
  171. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +5 -0
  172. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +10 -0
  173. package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +5 -0
  174. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +9 -0
  175. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.d.ts +5 -0
  176. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -0
  177. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.d.ts +3 -0
  178. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +10 -0
  179. package/src/Strategy/Utilities/getRuleViewItems.d.ts +6 -0
  180. package/src/Strategy/Utilities/getRuleViewItems.js +15 -0
  181. package/src/Strategy/Utilities/getScopeViewItems.d.ts +3 -0
  182. package/src/Strategy/Utilities/getScopeViewItems.js +20 -0
  183. package/src/Strategy/Utilities/getShortcutSettingsViewItems.d.ts +5 -0
  184. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +15 -0
  185. package/src/Strategy/Utilities/getStyleViewItems.d.ts +2 -0
  186. package/src/Strategy/Utilities/getStyleViewItems.js +15 -0
  187. package/src/Utilities/Constants/ConfigConstants.d.ts +0 -1
  188. package/src/Utilities/Constants/ConfigConstants.js +1 -2
  189. package/src/Utilities/Constants/GeneralConstants.d.ts +0 -9
  190. package/src/Utilities/Constants/GeneralConstants.js +1 -12
  191. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -2
  192. package/src/Utilities/Constants/ModuleConstants.js +4 -3
  193. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +26 -18
  194. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +7 -0
  195. package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
  196. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
  197. package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
  198. package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
  199. package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
  200. package/src/Utilities/Helpers/StyleHelper.js +4 -1
  201. package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
  202. package/src/Utilities/MenuItem.d.ts +1 -1
  203. package/src/Utilities/MenuItem.js +2 -2
  204. package/src/Utilities/ObjectFactory.d.ts +7 -18
  205. package/src/Utilities/ObjectFactory.js +25 -95
  206. package/src/Utilities/Services/AlertService.d.ts +3 -3
  207. package/src/Utilities/Services/AlertService.js +11 -17
  208. package/src/Utilities/Services/EntitlementService.d.ts +1 -0
  209. package/src/Utilities/Services/EntitlementService.js +9 -1
  210. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -7
  211. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +1 -0
  212. package/src/Utilities/Services/LicenseService.js +2 -2
  213. package/src/Utilities/Services/ModuleService.js +13 -17
  214. package/src/Utilities/Services/TeamSharingService.js +3 -4
  215. package/src/View/AdaptableView.js +4 -10
  216. package/src/View/AdaptableViewFactory.js +0 -26
  217. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +4 -3
  218. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -1
  219. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +10 -10
  220. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
  221. package/src/View/AdaptableWizardView/index.js +1 -1
  222. package/src/View/Alert/AlertEmptyView.d.ts +5 -0
  223. package/src/View/Alert/AlertEmptyView.js +16 -0
  224. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
  225. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
  226. package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
  227. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
  228. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -0
  229. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -6
  230. package/src/View/Alert/Wizard/AlertWizard.js +20 -6
  231. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +5 -2
  232. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +5 -2
  233. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +5 -4
  234. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  235. package/src/View/Alert/Wizard/isValidAlertRules.d.ts +2 -3
  236. package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
  237. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +2 -0
  238. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +16 -0
  239. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -0
  240. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +7 -17
  241. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +20 -3
  242. package/src/View/CellSummary/CellSummaryPopup.js +2 -2
  243. package/src/View/ColorPicker.d.ts +1 -1
  244. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  245. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  246. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
  247. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
  248. package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
  249. package/src/View/Components/AdaptableObjectList/index.js +5 -0
  250. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  251. package/src/View/Components/Buttons/ButtonDelete.js +3 -2
  252. package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
  253. package/src/View/Components/Buttons/ButtonEdit.js +4 -6
  254. package/src/View/Components/Buttons/ButtonShare.js +3 -2
  255. package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
  256. package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
  257. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
  258. package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
  259. package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
  260. package/src/View/Components/ExternalRenderer.d.ts +14 -0
  261. package/src/View/Components/ExternalRenderer.js +32 -0
  262. package/src/View/Components/FilterForm/FilterForm.js +4 -1
  263. package/src/View/Components/FilterForm/QuickFilterForm.js +8 -3
  264. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  265. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  266. package/src/View/Components/ModuleValueSelector/index.d.ts +3 -1
  267. package/src/View/Components/ModuleValueSelector/index.js +1 -1
  268. package/src/View/Components/NewScopeComponent.js +1 -1
  269. package/src/View/Components/Panels/PanelWithImage.d.ts +4 -4
  270. package/src/View/Components/Panels/PanelWithImage.js +2 -2
  271. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
  272. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +120 -0
  273. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +15 -0
  274. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +35 -0
  275. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +9 -0
  276. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +67 -0
  277. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.d.ts +6 -0
  278. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -0
  279. package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +13 -0
  280. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +63 -0
  281. package/src/View/Components/Popups/{PopupContext.d.ts → AdaptablePopup/PopupContext.d.ts} +0 -0
  282. package/src/View/Components/Popups/{PopupContext.js → AdaptablePopup/PopupContext.js} +0 -0
  283. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +10 -0
  284. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +22 -0
  285. package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +7 -0
  286. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +29 -0
  287. package/src/View/Components/Popups/AdaptablePopup/Utilities.d.ts +15 -0
  288. package/src/View/Components/Popups/AdaptablePopup/Utilities.js +28 -0
  289. package/src/View/Components/Popups/AdaptablePopup/index.d.ts +1 -0
  290. package/src/View/Components/Popups/AdaptablePopup/index.js +5 -0
  291. package/src/View/Components/Popups/AdaptableToaster.js +6 -6
  292. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +45 -80
  293. package/src/View/Components/ToolPanel/ToolPanelPopup.js +12 -4
  294. package/src/View/Components/ValueSelector/index.d.ts +1 -0
  295. package/src/View/Components/ValueSelector/index.js +6 -6
  296. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +2 -2
  297. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +19 -5
  298. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -4
  299. package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
  300. package/src/View/Dashboard/Dashboard.d.ts +0 -1
  301. package/src/View/Dashboard/Dashboard.js +13 -83
  302. package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
  303. package/src/View/Dashboard/DashboardPopup.js +38 -8
  304. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +4 -4
  305. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +3 -3
  306. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
  307. package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
  308. package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
  309. package/src/View/Export/ReportExportDropdown.d.ts +5 -0
  310. package/src/View/Export/ReportExportDropdown.js +37 -0
  311. package/src/View/Export/Wizard/NewReportWizard.js +15 -2
  312. package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
  313. package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
  314. package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
  315. package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
  316. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts → FlashingCell/Wizard/FlashingCellDurationWizardSection.d.ts} +4 -4
  317. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js → FlashingCell/Wizard/FlashingCellDurationWizardSection.js} +7 -7
  318. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.d.ts → FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts} +3 -3
  319. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.js → FlashingCell/Wizard/FlashingCellRulesWizardSection.js} +14 -14
  320. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.d.ts → FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts} +1 -2
  321. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.js → FlashingCell/Wizard/FlashingCellScopeWizardSection.js} +1 -1
  322. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +15 -0
  323. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.js → FlashingCell/Wizard/FlashingCellStyleWizardSection.js} +17 -16
  324. package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +6 -0
  325. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +97 -0
  326. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.d.ts +3 -0
  327. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +30 -0
  328. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -0
  329. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +18 -14
  330. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
  331. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
  332. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +17 -2
  333. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -0
  334. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -7
  335. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +18 -5
  336. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -2
  337. package/src/View/GridInfo/GridInfoPopup.d.ts +2 -1
  338. package/src/View/GridInfo/GridInfoPopup.js +22 -16
  339. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  340. package/src/View/Layout/LayoutPopup.js +4 -6
  341. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
  342. package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
  343. package/src/View/License/LicenseWatermark.js +4 -0
  344. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
  345. package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
  346. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
  347. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
  348. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
  349. package/src/View/Query/Wizard/NamedQueryWizard.js +17 -2
  350. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  351. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
  352. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
  353. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
  354. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
  355. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
  356. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
  357. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
  358. package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
  359. package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
  360. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
  361. package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
  362. package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
  363. package/src/View/Shortcut/shortcutKeys.js +0 -1
  364. package/src/View/SmartEdit/SmartEditPopup.js +2 -2
  365. package/src/View/StateManagement/StateManagementPopup.js +16 -15
  366. package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
  367. package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
  368. package/src/View/Theme/ThemePopup.js +5 -7
  369. package/src/View/UIHelper.d.ts +3 -5
  370. package/src/View/UIHelper.js +35 -49
  371. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +5 -0
  372. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -0
  373. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -2
  374. package/src/agGrid/Adaptable.d.ts +25 -12
  375. package/src/agGrid/Adaptable.js +249 -99
  376. package/src/agGrid/agGridHelper.d.ts +2 -2
  377. package/src/agGrid/agGridHelper.js +21 -6
  378. package/src/agGrid/agGridMenuHelper.js +11 -7
  379. package/src/components/ApplicationIcon.d.ts +5 -0
  380. package/src/components/ApplicationIcon.js +13 -0
  381. package/src/components/Dashboard/DashboardManager.js +1 -1
  382. package/src/components/Datepicker/Caption.d.ts +1 -1
  383. package/src/components/Datepicker/Caption.js +1 -4
  384. package/src/components/Datepicker/CaptionLabel.d.ts +1 -1
  385. package/src/components/Datepicker/CaptionLabel.js +1 -4
  386. package/src/components/Datepicker/index.d.ts +1 -1
  387. package/src/components/Datepicker/index.js +1 -4
  388. package/src/components/Dialog/index.d.ts +4 -1
  389. package/src/components/Dialog/index.js +10 -3
  390. package/src/components/DropdownButton/index.d.ts +1 -0
  391. package/src/components/DropdownButton/index.js +2 -2
  392. package/src/components/EllipsisContainer/index.js +1 -1
  393. package/src/components/EmptyContent/index.js +2 -1
  394. package/src/components/Input/index.d.ts +1 -1
  395. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  396. package/src/components/PopupWithFooter.d.ts +1 -1
  397. package/src/components/PopupWithFooter.js +2 -7
  398. package/src/components/StylePreview.d.ts +8 -0
  399. package/src/components/StylePreview.js +11 -0
  400. package/src/components/Tag/Tag.d.ts +3 -0
  401. package/src/components/Tag/Tag.js +11 -0
  402. package/src/components/Tag/index.d.ts +1 -0
  403. package/src/components/Tag/index.js +5 -0
  404. package/src/components/Textarea/index.d.ts +1 -1
  405. package/src/components/ToggleButton/index.d.ts +1 -0
  406. package/src/components/ToggleButton/index.js +8 -4
  407. package/src/components/WindowModal/WindowModal.d.ts +23 -0
  408. package/src/components/WindowModal/WindowModal.js +87 -0
  409. package/src/components/WindowModal/index.d.ts +1 -0
  410. package/src/components/WindowModal/index.js +4 -0
  411. package/src/components/icons/column-add.d.ts +3 -0
  412. package/src/components/icons/column-add.js +10 -0
  413. package/src/components/icons/index.js +6 -0
  414. package/src/components/icons/menu.d.ts +3 -0
  415. package/src/components/icons/menu.js +7 -0
  416. package/src/components/icons/state-management.js +1 -1
  417. package/src/components/icons/tool-panel.d.ts +3 -0
  418. package/src/components/icons/tool-panel.js +7 -0
  419. package/src/components/utils/useDraggable.d.ts +3 -1
  420. package/src/components/utils/useDraggable.js +14 -2
  421. package/src/metamodel/adaptable.metamodel.d.ts +98 -112
  422. package/src/metamodel/adaptable.metamodel.js +425 -451
  423. package/src/types.d.ts +11 -12
  424. package/version.d.ts +1 -1
  425. package/version.js +1 -1
  426. package/src/AdaptableOptions/ChartPluginOptions.d.ts +0 -20
  427. package/src/Api/ChartApi.d.ts +0 -20
  428. package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
  429. package/src/Api/Implementation/SparklineColumnApiImpl.d.ts +0 -9
  430. package/src/Api/Implementation/SparklineColumnApiImpl.js +0 -24
  431. package/src/Api/SparklineColumnApi.d.ts +0 -23
  432. package/src/PredefinedConfig/ChartState.d.ts +0 -144
  433. package/src/PredefinedConfig/Common/ChartEnums.d.ts +0 -123
  434. package/src/PredefinedConfig/Common/ChartEnums.js +0 -152
  435. package/src/PredefinedConfig/SparklineColumnState.d.ts +0 -40
  436. package/src/Redux/ActionsReducers/SparklineColumnRedux.d.ts +0 -35
  437. package/src/Redux/ActionsReducers/SparklineColumnRedux.js +0 -70
  438. package/src/Utilities/Defaults/DefaultCategoryChartProperties.d.ts +0 -2
  439. package/src/Utilities/Defaults/DefaultCategoryChartProperties.js +0 -56
  440. package/src/Utilities/Defaults/DefaultPieChartProperties.d.ts +0 -2
  441. package/src/Utilities/Defaults/DefaultPieChartProperties.js +0 -13
  442. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.d.ts +0 -2
  443. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.js +0 -25
  444. package/src/View/Alert/AlertPopup.d.ts +0 -42
  445. package/src/View/Alert/AlertPopup.js +0 -205
  446. package/src/View/Alert/FlashingAlertEntityRow.d.ts +0 -7
  447. package/src/View/Alert/FlashingAlertEntityRow.js +0 -22
  448. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.d.ts +0 -10
  449. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.d.ts +0 -6
  450. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.js +0 -89
  451. package/src/View/CalculatedColumn/CalculatedColumnEntityRow.d.ts +0 -9
  452. package/src/View/CalculatedColumn/CalculatedColumnEntityRow.js +0 -28
  453. package/src/View/CalculatedColumn/CalculatedColumnPopup.d.ts +0 -25
  454. package/src/View/CalculatedColumn/CalculatedColumnPopup.js +0 -117
  455. package/src/View/Components/Buttons/SuspendToggleButton.js +0 -17
  456. package/src/View/Components/Panels/PanelWithIImageThreeButtons.d.ts +0 -11
  457. package/src/View/Components/Panels/PanelWithIImageThreeButtons.js +0 -28
  458. package/src/View/Components/Popups/AdaptableChart.d.ts +0 -18
  459. package/src/View/Components/Popups/AdaptableChart.js +0 -40
  460. package/src/View/Components/Popups/AdaptablePopup.d.ts +0 -23
  461. package/src/View/Components/Popups/AdaptablePopup.js +0 -59
  462. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.d.ts +0 -7
  463. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.js +0 -2
  464. package/src/View/ConditionalStyle/ConditionalStyleEntityRow.d.ts +0 -5
  465. package/src/View/ConditionalStyle/ConditionalStyleEntityRow.js +0 -26
  466. package/src/View/ConditionalStyle/ConditionalStylePopup.d.ts +0 -30
  467. package/src/View/ConditionalStyle/ConditionalStylePopup.js +0 -144
  468. package/src/View/CustomSort/CustomSortEntityRow.d.ts +0 -12
  469. package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
  470. package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
  471. package/src/View/CustomSort/CustomSortPopup.js +0 -138
  472. package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
  473. package/src/View/DataSource/DataSourceEntityRow.js +0 -29
  474. package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
  475. package/src/View/DataSource/DataSourcePopup.js +0 -97
  476. package/src/View/Export/ExportPopup.d.ts +0 -34
  477. package/src/View/Export/ExportPopup.js +0 -139
  478. package/src/View/Export/ReportEntityRow.d.ts +0 -10
  479. package/src/View/Export/ReportEntityRow.js +0 -49
  480. package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
  481. package/src/View/Export/Wizard/ReportWizard.js +0 -50
  482. package/src/View/Filter/FilterEntityRow.d.ts +0 -12
  483. package/src/View/Filter/FilterEntityRow.js +0 -20
  484. package/src/View/Filter/FilterPopup.d.ts +0 -20
  485. package/src/View/Filter/FilterPopup.js +0 -50
  486. package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
  487. package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
  488. package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
  489. package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
  490. package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
  491. package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
  492. package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
  493. package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
  494. package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
  495. package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
  496. package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
  497. package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
  498. package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
  499. package/src/View/Query/NamedQueryEntityRow.js +0 -21
  500. package/src/View/Query/QueryPopup.d.ts +0 -28
  501. package/src/View/Query/QueryPopup.js +0 -114
  502. package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
  503. package/src/View/Schedule/ScheduleEntityRow.js +0 -58
  504. package/src/View/Schedule/SchedulePopup.d.ts +0 -58
  505. package/src/View/Schedule/SchedulePopup.js +0 -317
  506. package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
  507. package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
  508. package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
  509. package/src/View/Shortcut/ShortcutPopup.js +0 -121
  510. package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.d.ts +0 -88
  511. package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.test.d.ts +0 -0
  512. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.d.ts +0 -6
  513. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.test.d.ts +0 -1
  514. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/ButtonProps.d.ts +0 -3
  515. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/index.d.ts +0 -1
  516. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.d.ts +0 -7
  517. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.test.d.ts +0 -1
  518. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/CaptionProps.d.ts +0 -5
  519. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/index.d.ts +0 -2
  520. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.d.ts +0 -4
  521. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.test.d.ts +0 -1
  522. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabelProps.d.ts +0 -5
  523. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/index.d.ts +0 -2
  524. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.d.ts +0 -7
  525. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.test.d.ts +0 -0
  526. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/DayProps.d.ts +0 -7
  527. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/index.d.ts +0 -1
  528. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDay.d.ts +0 -51
  529. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDayFocus.d.ts +0 -8
  530. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/index.d.ts +0 -3
  531. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.d.ts +0 -6
  532. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.test.d.ts +0 -0
  533. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContentProps.d.ts +0 -10
  534. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/index.d.ts +0 -2
  535. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.d.ts +0 -7
  536. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.test.d.ts +0 -0
  537. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/DropdownProps.d.ts +0 -10
  538. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/index.d.ts +0 -2
  539. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.d.ts +0 -3
  540. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.test.d.ts +0 -1
  541. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/index.d.ts +0 -1
  542. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.d.ts +0 -5
  543. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.test.d.ts +0 -0
  544. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/index.d.ts +0 -1
  545. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.d.ts +0 -6
  546. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.test.d.ts +0 -0
  547. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/index.d.ts +0 -1
  548. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.d.ts +0 -6
  549. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.test.d.ts +0 -1
  550. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/index.d.ts +0 -1
  551. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.d.ts +0 -6
  552. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.test.d.ts +0 -1
  553. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/index.d.ts +0 -1
  554. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.d.ts +0 -6
  555. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.test.d.ts +0 -1
  556. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/index.d.ts +0 -1
  557. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdown.d.ts +0 -6
  558. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdownProps.d.ts +0 -7
  559. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/index.d.ts +0 -2
  560. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/Navigation.d.ts +0 -4
  561. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/NavigationProps.d.ts +0 -18
  562. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/index.d.ts +0 -2
  563. package/src/bundle-dependencies/bundles/react-day-picker/components/Root/Root.d.ts +0 -6
  564. package/src/bundle-dependencies/bundles/react-day-picker/components/Root/index.d.ts +0 -1
  565. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/Row.d.ts +0 -6
  566. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/RowProps.d.ts +0 -11
  567. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/index.d.ts +0 -2
  568. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/Table.d.ts +0 -12
  569. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/index.d.ts +0 -1
  570. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideEndDays.d.ts +0 -3
  571. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideStartDays.d.ts +0 -4
  572. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getWeeks.d.ts +0 -15
  573. package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/WeekNumber.d.ts +0 -15
  574. package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/index.d.ts +0 -1
  575. package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/YearsDropdown.d.ts +0 -16
  576. package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/index.d.ts +0 -1
  577. package/src/bundle-dependencies/bundles/react-day-picker/components/index.d.ts +0 -18
  578. package/src/bundle-dependencies/bundles/react-day-picker/contexts/ContextProvider.d.ts +0 -8
  579. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContext.d.ts +0 -78
  580. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContextValue.d.ts +0 -20
  581. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerProvider.d.ts +0 -12
  582. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/defaultClassNames.d.ts +0 -5
  583. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatCaption.d.ts +0 -7
  584. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatDay.d.ts +0 -7
  585. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatMonthCaption.d.ts +0 -7
  586. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekNumber.d.ts +0 -4
  587. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekdayName.d.ts +0 -7
  588. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatYearCaption.d.ts +0 -6
  589. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/index.d.ts +0 -6
  590. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/index.d.ts +0 -5
  591. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/index.d.ts +0 -7
  592. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelDay.d.ts +0 -5
  593. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelMonthDropdown.d.ts +0 -4
  594. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelNext.d.ts +0 -5
  595. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelPrevious.d.ts +0 -5
  596. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekNumber.d.ts +0 -5
  597. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekday.d.ts +0 -5
  598. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelYearDropdown.d.ts +0 -4
  599. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/useDayPicker.d.ts +0 -8
  600. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/index.d.ts +0 -2
  601. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseFromToProps.d.ts +0 -9
  602. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseModifierProps.d.ts +0 -9
  603. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContext.d.ts +0 -8
  604. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContextValue.d.ts +0 -19
  605. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusProvider.d.ts +0 -5
  606. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/index.d.ts +0 -4
  607. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/useFocus.d.ts +0 -3
  608. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContext.d.ts +0 -8
  609. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContextValue.d.ts +0 -13
  610. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationProvider.d.ts +0 -5
  611. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/index.d.ts +0 -4
  612. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigation.d.ts +0 -3
  613. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigationState.d.ts +0 -7
  614. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getDisplayMonths.d.ts +0 -8
  615. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.d.ts +0 -3
  616. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.test.d.ts +0 -1
  617. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.d.ts +0 -18
  618. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.test.d.ts +0 -1
  619. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.d.ts +0 -19
  620. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.test.d.ts +0 -1
  621. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContext.d.ts +0 -9
  622. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContextValue.d.ts +0 -13
  623. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleModifiers.d.ts +0 -3
  624. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleProvider.d.ts +0 -7
  625. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/index.d.ts +0 -5
  626. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/useSelectMultiple.d.ts +0 -3
  627. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContext.d.ts +0 -9
  628. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContextValue.d.ts +0 -13
  629. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeModifiers.d.ts +0 -3
  630. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeProvider.d.ts +0 -7
  631. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/index.d.ts +0 -5
  632. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/useSelectRange.d.ts +0 -3
  633. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/utils/addToRange.d.ts +0 -8
  634. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContext.d.ts +0 -9
  635. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContextValue.d.ts +0 -11
  636. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleModifiers.d.ts +0 -3
  637. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleProvider.d.ts +0 -7
  638. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/index.d.ts +0 -5
  639. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/useSelectSingle.d.ts +0 -3
  640. package/src/bundle-dependencies/bundles/react-day-picker/contexts/index.d.ts +0 -7
  641. package/src/bundle-dependencies/bundles/react-day-picker/hooks/index.d.ts +0 -2
  642. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/index.d.ts +0 -2
  643. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInput.d.ts +0 -12
  644. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputDayPickerProps.d.ts +0 -14
  645. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputFieldProps.d.ts +0 -12
  646. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputOptions.d.ts +0 -35
  647. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/index.d.ts +0 -4
  648. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/useInput.d.ts +0 -4
  649. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/utils/isValidDate.d.ts +0 -2
  650. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/index.d.ts +0 -1
  651. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/UseModifiers.d.ts +0 -10
  652. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/index.d.ts +0 -1
  653. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/useModifiers.d.ts +0 -3
  654. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/getModifierStatus.d.ts +0 -7
  655. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isDateInRange.d.ts +0 -3
  656. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isMatch.d.ts +0 -5
  657. package/src/bundle-dependencies/bundles/react-day-picker/index.d.ts +0 -5
  658. package/src/bundle-dependencies/bundles/react-day-picker/index.js +0 -1
  659. package/src/bundle-dependencies/bundles/react-day-picker/types/CaptionLayout.d.ts +0 -7
  660. package/src/bundle-dependencies/bundles/react-day-picker/types/ClassNames.d.ts +0 -3
  661. package/src/bundle-dependencies/bundles/react-day-picker/types/Components.d.ts +0 -33
  662. package/src/bundle-dependencies/bundles/react-day-picker/types/CustomModifiers.d.ts +0 -4
  663. package/src/bundle-dependencies/bundles/react-day-picker/types/DateAfter.d.ts +0 -7
  664. package/src/bundle-dependencies/bundles/react-day-picker/types/DateBefore.d.ts +0 -7
  665. package/src/bundle-dependencies/bundles/react-day-picker/types/DateFormatter.d.ts +0 -6
  666. package/src/bundle-dependencies/bundles/react-day-picker/types/DateInterval.d.ts +0 -8
  667. package/src/bundle-dependencies/bundles/react-day-picker/types/DateRange.d.ts +0 -8
  668. package/src/bundle-dependencies/bundles/react-day-picker/types/DayClickEventHandler.d.ts +0 -6
  669. package/src/bundle-dependencies/bundles/react-day-picker/types/DayFocusEventHandler.d.ts +0 -6
  670. package/src/bundle-dependencies/bundles/react-day-picker/types/DayKeyboardEventHandler.d.ts +0 -6
  671. package/src/bundle-dependencies/bundles/react-day-picker/types/DayLabelFormatter.d.ts +0 -7
  672. package/src/bundle-dependencies/bundles/react-day-picker/types/DayMouseEventHandler.d.ts +0 -6
  673. package/src/bundle-dependencies/bundles/react-day-picker/types/DayOfWeekMatcher.d.ts +0 -7
  674. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerBase.d.ts +0 -239
  675. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerMultiple.d.ts +0 -15
  676. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerProps.d.ts +0 -9
  677. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerRange.d.ts +0 -16
  678. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerSingle.d.ts +0 -13
  679. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerUncontrolled.d.ts +0 -7
  680. package/src/bundle-dependencies/bundles/react-day-picker/types/DayTouchEventHandler.d.ts +0 -6
  681. package/src/bundle-dependencies/bundles/react-day-picker/types/Formatters.d.ts +0 -19
  682. package/src/bundle-dependencies/bundles/react-day-picker/types/InternalModifier.d.ts +0 -2
  683. package/src/bundle-dependencies/bundles/react-day-picker/types/Labels.d.ts +0 -17
  684. package/src/bundle-dependencies/bundles/react-day-picker/types/Matcher.d.ts +0 -10
  685. package/src/bundle-dependencies/bundles/react-day-picker/types/Modifier.d.ts +0 -5
  686. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierClassNames.d.ts +0 -5
  687. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStatus.d.ts +0 -5
  688. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStyles.d.ts +0 -4
  689. package/src/bundle-dependencies/bundles/react-day-picker/types/Modifiers.d.ts +0 -5
  690. package/src/bundle-dependencies/bundles/react-day-picker/types/MonthChangeEventHandler.d.ts +0 -4
  691. package/src/bundle-dependencies/bundles/react-day-picker/types/NavButtonLabelFormatter.d.ts +0 -7
  692. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectMultipleEventHandler.d.ts +0 -12
  693. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectRangeEventHandler.d.ts +0 -10
  694. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectSingleEventHandler.d.ts +0 -12
  695. package/src/bundle-dependencies/bundles/react-day-picker/types/StyledComponentProps.d.ts +0 -10
  696. package/src/bundle-dependencies/bundles/react-day-picker/types/StyledElement.d.ts +0 -76
  697. package/src/bundle-dependencies/bundles/react-day-picker/types/Styles.d.ts +0 -4
  698. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberClickEventHandler.d.ts +0 -9
  699. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberFormatter.d.ts +0 -6
  700. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberLabelFormatter.d.ts +0 -5
  701. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekdayLabelFormatter.d.ts +0 -4
  702. package/src/bundle-dependencies/bundles/react-day-picker/types/index.d.ts +0 -54
  703. package/src/bundle-dependencies/bundles/react-day-picker/types/isArrayOfDates.d.ts +0 -2
  704. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateAfterType.d.ts +0 -3
  705. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateBeforeType.d.ts +0 -3
  706. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateInterval.d.ts +0 -3
  707. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateRange.d.ts +0 -3
  708. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateType.d.ts +0 -2
  709. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayOfWeekType.d.ts +0 -3
  710. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerMultiple.d.ts +0 -4
  711. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerRange.d.ts +0 -4
  712. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerSingle.d.ts +0 -4
  713. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerUncontrolled.d.ts +0 -4
  714. package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -8
  715. package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -55
  716. package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
  717. package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
  718. package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -5
  719. package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -5
  720. package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
  721. package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
  722. package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -55
  723. package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -3
  724. package/src/bundle-dependencies/bundles/react-toastify/hooks/toastContainerReducer.d.ts +0 -15
  725. package/src/bundle-dependencies/bundles/react-toastify/hooks/useKeeper.d.ts +0 -7
  726. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
  727. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -16
  728. package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
  729. package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
  730. package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
  731. package/src/bundle-dependencies/bundles/react-toastify/test/components/CloseButton.test.d.ts +0 -1
  732. package/src/bundle-dependencies/bundles/react-toastify/test/components/ProgressBar.test.d.ts +0 -1
  733. package/src/bundle-dependencies/bundles/react-toastify/test/components/Toast.test.d.ts +0 -1
  734. package/src/bundle-dependencies/bundles/react-toastify/test/components/ToastContainer.test.d.ts +0 -1
  735. package/src/bundle-dependencies/bundles/react-toastify/test/core/eventManager.test.d.ts +0 -1
  736. package/src/bundle-dependencies/bundles/react-toastify/test/core/toast.test.d.ts +0 -1
  737. package/src/bundle-dependencies/bundles/react-toastify/test/helpers.d.ts +0 -9
  738. package/src/bundle-dependencies/bundles/react-toastify/test/utils/collapseToast.test.d.ts +0 -1
  739. package/src/bundle-dependencies/bundles/react-toastify/test/utils/cssTransition.test.d.ts +0 -1
  740. package/src/bundle-dependencies/bundles/react-toastify/test/utils/propValidator.test.d.ts +0 -1
  741. package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -240
  742. package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
  743. package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -20
  744. package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -42
  745. package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -4
  746. package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -10
  747. package/src/components/ChartContainer/index.d.ts +0 -15
  748. package/src/components/ChartContainer/index.js +0 -22
  749. package/src/components/Toastify/index.d.ts +0 -3
  750. package/src/components/Toastify/index.js +0 -10
@@ -14,14 +14,13 @@ const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleB
14
14
  const rebass_1 = require("rebass");
15
15
  const Dashboard_1 = require("../../components/Dashboard");
16
16
  const kebabCase_1 = tslib_1.__importDefault(require("lodash-es/kebabCase"));
17
- const icons_1 = require("../../components/icons");
18
- const DropdownButton_1 = tslib_1.__importDefault(require("../../components/DropdownButton"));
19
17
  const AdaptableFormControlTextClear_1 = require("../Components/Forms/AdaptableFormControlTextClear");
20
18
  const useQuickSearchDebounced_1 = require("../QuickSearch/useQuickSearchDebounced");
21
19
  const UIHelper_1 = tslib_1.__importDefault(require("../UIHelper"));
22
20
  const ModuleToolbarWrapper_1 = require("./ModuleToolbarWrapper");
23
21
  const CustomToolbarWrapper_1 = require("./CustomToolbarWrapper");
24
22
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
23
+ const ApplicationIcon_1 = require("../../components/ApplicationIcon");
25
24
  const DashboardComponent = (props) => {
26
25
  const [searchText, search] = useQuickSearchDebounced_1.useQuickSearchDebounced(props);
27
26
  const dashboardAccessLevel = props.api.internalApi
@@ -70,6 +69,13 @@ const DashboardComponent = (props) => {
70
69
  const renderModuleButtons = () => {
71
70
  let shortcutsArray = props.DashboardState.ModuleButtons;
72
71
  let shortcuts = null;
72
+ const alwaysShowInDashboard = props.api.internalApi.getAdaptableOptions().settingsPanelOptions
73
+ .alwaysShowInDashboard;
74
+ const shouldAddSettingsPanel = alwaysShowInDashboard &&
75
+ !props.api.internalApi.getEntitlementService().isModuleHiddenEntitlement('SettingsPanel');
76
+ if (shouldAddSettingsPanel && !shortcutsArray.includes('SettingsPanel')) {
77
+ shortcutsArray.push('SettingsPanel');
78
+ }
73
79
  if (shortcutsArray) {
74
80
  shortcuts = shortcutsArray.map((x, index) => {
75
81
  var _a, _b, _c;
@@ -84,8 +90,7 @@ const DashboardComponent = (props) => {
84
90
  };
85
91
  const renderDashboardButtons = () => {
86
92
  var _a;
87
- let dashboardButtonsArray = (_a = props.api.dashboardApi
88
- .getCustomDashboardButtons()) === null || _a === void 0 ? void 0 : _a.filter((c) => c);
93
+ let dashboardButtonsArray = (_a = props.api.dashboardApi.getCustomDashboardButtons()) === null || _a === void 0 ? void 0 : _a.filter((c) => c);
89
94
  let customDashboardButtons = null;
90
95
  if (dashboardButtonsArray) {
91
96
  customDashboardButtons = dashboardButtonsArray.map((button) => {
@@ -120,81 +125,8 @@ const DashboardComponent = (props) => {
120
125
  }
121
126
  return customDashboardButtons;
122
127
  };
123
- const renderDashboardIcon = (icon) => {
124
- if (!icon) {
125
- return null;
126
- }
127
- let width = icon.style && icon.style.width ? icon.style.width : 'var(--ab-cmp-simple-button__width)';
128
- let height = icon.style && icon.style.height ? icon.style.height : 'var(--ab-cmp-simple-button__height)';
129
- return (React.createElement("img", { className: "ab-Dashboard__application-icon", src: icon.src, style: { width: width, height: height } }));
130
- };
131
- const renderModulesDropdown = () => {
132
- let moduleService = props.api.internalApi.getModuleService();
133
- let moduleInfo = moduleService.getModuleInfoByModule(ModuleConstants.DashboardModuleId);
134
- let allowedMenuItems = props.GridState.ModuleDropdownMenuItems.filter((x) => x.isVisible);
135
- // function menu items
136
- let menuItems = allowedMenuItems.map((menuItem) => {
137
- return {
138
- disabled: props.accessLevel == 'Hidden',
139
- onClick: () => props.dispatch(menuItem.reduxAction),
140
- icon: React.createElement(icons_1.Icon, { name: menuItem.icon }),
141
- label: menuItem.label,
142
- };
143
- });
144
- let dashboardOptions = props.api.internalApi.getAdaptableOptions().dashboardOptions;
145
- if (dashboardAccessLevel == 'Full' || dashboardAccessLevel == 'ReadOnly') {
146
- menuItems.unshift(dashboardAccessLevel == 'Full'
147
- ? {
148
- onClick: () => props.onShowDashboardPopup(),
149
- icon: React.createElement(icons_1.Icon, { name: "settings" }),
150
- label: 'Configure ' + moduleInfo.FriendlyName,
151
- }
152
- : null, props.DashboardState.IsFloating
153
- ? null
154
- : props.DashboardState.IsCollapsed
155
- ? {
156
- onClick: () => props.onSetIsCollapsed(false),
157
- icon: React.createElement(icons_1.Icon, { name: "expand" }),
158
- label: 'Expand ' + moduleInfo.FriendlyName,
159
- }
160
- : {
161
- onClick: () => props.onSetIsCollapsed(true),
162
- icon: React.createElement(icons_1.Icon, { name: "collapse" }),
163
- label: 'Collapse ' + moduleInfo.FriendlyName,
164
- }, props.DashboardState.IsFloating
165
- ? {
166
- onClick: () => props.onSetIsFloating(false),
167
- icon: React.createElement(icons_1.Icon, { name: "dock" }),
168
- label: 'Dock ' + moduleInfo.FriendlyName,
169
- }
170
- : dashboardOptions.canFloat && {
171
- onClick: () => props.onSetIsFloating(true),
172
- icon: React.createElement(icons_1.Icon, { name: "dock" }),
173
- label: 'Float ' + moduleInfo.FriendlyName,
174
- }, props.DashboardState.IsHidden
175
- ? {
176
- onClick: () => props.onSetIsHidden(false),
177
- icon: React.createElement(icons_1.Icon, { name: "show-column" }),
178
- label: 'Show ' + moduleInfo.FriendlyName,
179
- }
180
- : dashboardOptions.canFloat && {
181
- onClick: () => props.onSetIsHidden(true),
182
- icon: React.createElement(icons_1.Icon, { name: "hide-column" }),
183
- label: 'Hide ' + moduleInfo.FriendlyName,
184
- }, {
185
- separator: true,
186
- });
187
- }
188
- menuItems = menuItems.filter((x) => !!x);
189
- return (React.createElement(DropdownButton_1.default, { variant: "text", tone: "none", items: menuItems, className: "ab-DashboardToolbar__Home__functions", key: 'dropdown-functions', id: 'dropdown-functions' },
190
- React.createElement(icons_1.Icon, { name: 'home' })));
191
- };
192
128
  const renderQuickSearch = () => {
193
- let moduleInfo = props.api.internalApi
194
- .getModuleService()
195
- .getModuleInfoByModule('QuickSearch');
196
- return (React.createElement(React.Fragment, null,
197
- React.createElement(SimpleButton_1.default, { icon: "quick-search", variant: "text", tone: "none", onClick: props.onShowQuickSearchPopup, tooltip: moduleInfo.FriendlyName, mr: 2 }),
129
+ return (React.createElement(rebass_1.Box, { ml: 2 },
198
130
  React.createElement(AdaptableFormControlTextClear_1.AdaptableFormControlTextClear, { type: "text", placeholder: props.api.internalApi.getAdaptableOptions().searchOptions.quickSearchPlaceholder, className: "ab-DashboardToolbar__QuickSearch__text", value: searchText, OnTextChange: search, style: { width: 'auto' }, inputStyle: { width: '7rem' } })));
199
131
  };
200
132
  let instanceName = props.api.internalApi.setToolbarTitle();
@@ -218,10 +150,10 @@ const DashboardComponent = (props) => {
218
150
  props.onSetFloatingPosition(FloatingPositionCallback);
219
151
  }
220
152
  }, left: React.createElement(React.Fragment, null,
221
- renderDashboardIcon(props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon),
222
- dashboardOptions.showModulesDropdown && renderModulesDropdown()), right: React.createElement(React.Fragment, null,
153
+ React.createElement(ApplicationIcon_1.ApplicationIcon, { icon: props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon }),
154
+ dashboardOptions.buttonsLocation === 'left' && renderModuleButtons()), right: React.createElement(React.Fragment, null,
223
155
  renderDashboardButtons(),
224
- renderModuleButtons(),
156
+ dashboardOptions.buttonsLocation === 'right' && renderModuleButtons(),
225
157
  shouldRenderQuickSearchHeader && renderQuickSearch()), onShowDashboardPopup: props.onShowDashboardPopup }, props.DashboardState.Tabs &&
226
158
  props.DashboardState.Tabs.map((tab, index) => (React.createElement(Dashboard_1.DashboardTab, { key: index, title: tab.Name }, renderTab(tab))))));
227
159
  };
@@ -239,8 +171,6 @@ function mapDispatchToProps(dispatch) {
239
171
  onSetActiveTabIndex: (ActiveTabIndex) => dispatch(DashboardRedux.DashboardSetActiveTabIndex(ActiveTabIndex)),
240
172
  onSetIsCollapsed: (IsCollapsed) => dispatch(DashboardRedux.DashboardSetIsCollapsed(IsCollapsed)),
241
173
  onSetIsFloating: (IsFloating) => dispatch(DashboardRedux.DashboardSetIsFloating(IsFloating)),
242
- onSetIsInline: (IsInline) => dispatch(DashboardRedux.DashboardSetIsInline(IsInline)),
243
- onSetIsHidden: (IsHidden) => dispatch(DashboardRedux.DashboardSetIsHidden(IsHidden)),
244
174
  onSetFloatingPosition: (FloatingPosition) => dispatch(DashboardRedux.DashboardSetFloatingPosition(FloatingPosition)),
245
175
  onRunQuickSearch: (newQuickSearchText) => dispatch(QuickSearchRedux.QuickSearchRun(newQuickSearchText)),
246
176
  onShowQuickSearchPopup: () => dispatch(PopupRedux.PopupShowScreen(ModuleConstants.QuickSearchModuleId, 'QuickSearchPopup')),
@@ -3,13 +3,17 @@ import * as DashboardRedux from '../../Redux/ActionsReducers/DashboardRedux';
3
3
  import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
4
4
  import { GridState } from '../../PredefinedConfig/GridState';
5
5
  import { DashboardState, DashboardTab } from '../../PredefinedConfig/DashboardState';
6
- import { Entitlement } from '../../PredefinedConfig/Common/Entitlement';
7
6
  interface DashboardPopupComponentProps extends ModuleViewPopupProps<DashboardPopupComponent> {
8
7
  DashboardState: DashboardState;
9
8
  GridState: GridState;
10
- Entitlements: Entitlement[];
9
+ IsCollapsed: boolean;
10
+ IsHidden: boolean;
11
+ IsFloating: boolean;
11
12
  onDashboardSetModuleButtons: (ModuleConstants: string[]) => DashboardRedux.DashboardSetModuleButtonsAction;
12
13
  onDashboardSetTabs: (Tabs: DashboardTab[]) => DashboardRedux.DashboardSetTabsAction;
14
+ onSetDashboardCollapsed: (isCollapsed: boolean) => DashboardRedux.DashboardSetIsCollapsedAction;
15
+ onSetDashboardFloating: (isFloating: boolean) => DashboardRedux.DashboardSetIsFloatingAction;
16
+ onSetDashboardHidden: (isHidden: boolean) => DashboardRedux.DashboardSetIsHiddenAction;
13
17
  }
14
18
  export declare enum DashboardConfigView {
15
19
  Toolbars = "Toolbars",
@@ -5,12 +5,14 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
7
  const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
8
- const PanelWithButton_1 = require("../Components/Panels/PanelWithButton");
8
+ const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
9
9
  const Radio_1 = tslib_1.__importDefault(require("../../components/Radio"));
10
10
  const rebass_1 = require("rebass");
11
11
  const Types_1 = require("../../PredefinedConfig/Common/Types");
12
12
  const DashboardManager_1 = tslib_1.__importDefault(require("../../components/Dashboard/DashboardManager"));
13
13
  const ModuleValueSelector_1 = require("../Components/ModuleValueSelector");
14
+ const CheckBox_1 = require("../../components/CheckBox");
15
+ const Panel_1 = tslib_1.__importDefault(require("../../components/Panel"));
14
16
  var DashboardConfigView;
15
17
  (function (DashboardConfigView) {
16
18
  DashboardConfigView["Toolbars"] = "Toolbars";
@@ -55,13 +57,35 @@ class DashboardPopupComponent extends React.Component {
55
57
  }
56
58
  });
57
59
  const allModuleButtons = this.props.GridState.ModuleDropdownMenuItems.map((x) => x.module);
58
- return (React.createElement(PanelWithButton_1.PanelWithButton, { headerText: this.props.moduleInfo.FriendlyName, bodyProps: { padding: 0, style: { display: 'flex', flexDirection: 'column' } }, glyphicon: this.props.moduleInfo.Glyph },
59
- React.createElement(rebass_1.Flex, { flexDirection: "row", padding: 2, "data-name": "dashboard-configuration-select", style: { borderBottom: '1px solid var(--ab-color-primary)' } },
60
- React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Toolbars, checked: this.state.DashboardConfigView == DashboardConfigView.Toolbars, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Module Toolbars"),
61
- React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Buttons, checked: this.state.DashboardConfigView == DashboardConfigView.Buttons, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Module Buttons")),
62
- React.createElement(rebass_1.Box, { style: { overflow: 'auto', flex: 1 }, padding: 2 },
63
- this.state.DashboardConfigView == DashboardConfigView.Toolbars && (React.createElement(DashboardManager_1.default, { availableToolbars: [...systemToolbars, ...customToolbars], tabs: tabs, onTabsChange: this.props.onDashboardSetTabs, api: this.props.api })),
64
- this.state.DashboardConfigView == DashboardConfigView.Buttons && (React.createElement(ModuleValueSelector_1.ModuleValueSelector, { options: allModuleButtons, value: selectedModuleButtons, noSelectionLabel: 'No selected Module Button', xSelectedLabel: () => `Visible Module Buttons:`, onChange: (selectedValues) => this.props.onDashboardSetModuleButtons(selectedValues) })))));
60
+ const baseClassName = 'ab-Dashboard-Popup';
61
+ // const isDisabled = this.props.Entitlements
62
+ const dashboardAccessLevel = this.props.api.internalApi
63
+ .getEntitlementService()
64
+ .getEntitlementAccessLevelForModule('Dashboard');
65
+ const areDashboardSettingsEnabled = dashboardAccessLevel == 'Full' || dashboardAccessLevel == 'ReadOnly';
66
+ const isModuleCheckboxDisabled = (module) => {
67
+ if (module === 'SettingsPanel') {
68
+ return this.props.api.internalApi.getAdaptableOptions().settingsPanelOptions
69
+ .alwaysShowInDashboard;
70
+ }
71
+ return false;
72
+ };
73
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph },
74
+ React.createElement(rebass_1.Flex, { flex: 1, height: "100%", flexDirection: "column" },
75
+ areDashboardSettingsEnabled && (React.createElement(Panel_1.default, { header: 'Dashboard Settings', style: { height: 'auto', overflow: 'visible' }, variant: "default", borderRadius: "none", marginLeft: 2, marginRight: 2 },
76
+ React.createElement(rebass_1.Flex, null,
77
+ React.createElement(CheckBox_1.CheckBox, { mr: 3, className: `${baseClassName}__Checkbox__collapsed-check`, checked: this.props.IsCollapsed, onChange: (checked) => this.props.onSetDashboardCollapsed(checked) }, "Collapse"),
78
+ ' ',
79
+ this.props.api.internalApi.getAdaptableOptions().dashboardOptions.canFloat && (React.createElement(CheckBox_1.CheckBox, { mr: 3, className: `${baseClassName}__Checkbox__collapsed-check`, checked: this.props.IsFloating, onChange: (checked) => this.props.onSetDashboardFloating(checked) }, "Float")),
80
+ ' ',
81
+ React.createElement(CheckBox_1.CheckBox, { className: `${baseClassName}__Checkbox__hidden-check`, checked: this.props.IsHidden, onChange: (checked) => this.props.onSetDashboardHidden(checked) }, "Hidden")))),
82
+ React.createElement(Panel_1.default, { header: 'Dashboard Contents', style: { borderBottom: '1px solid var(--ab-color-primary)' }, variant: "default", borderRadius: "none", marginTop: 4, marginLeft: 2, marginRight: 2 },
83
+ React.createElement(rebass_1.Flex, { flexDirection: "row", padding: 2, "data-name": "dashboard-configuration-select" },
84
+ React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Toolbars, checked: this.state.DashboardConfigView == DashboardConfigView.Toolbars, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Toolbars"),
85
+ React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Buttons, checked: this.state.DashboardConfigView == DashboardConfigView.Buttons, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Buttons")),
86
+ React.createElement(rebass_1.Box, { className: `${baseClassName}__Module-Selector`, style: { minHeight: 0, flex: '1 1 0' }, padding: 2 },
87
+ this.state.DashboardConfigView == DashboardConfigView.Toolbars && (React.createElement(DashboardManager_1.default, { availableToolbars: [...systemToolbars, ...customToolbars], tabs: tabs, onTabsChange: this.props.onDashboardSetTabs, api: this.props.api })),
88
+ this.state.DashboardConfigView == DashboardConfigView.Buttons && (React.createElement(ModuleValueSelector_1.ModuleValueSelector, { options: allModuleButtons, value: selectedModuleButtons, noSelectionLabel: 'No selected Module Button', isDisabled: isModuleCheckboxDisabled, xSelectedLabel: () => `Visible Module Buttons:`, onChange: (selectedValues) => this.props.onDashboardSetModuleButtons(selectedValues) })))))));
65
89
  }
66
90
  onDashboardConfigViewChanged(event) {
67
91
  let e = event.target;
@@ -73,12 +97,18 @@ function mapStateToProps(state, ownProps) {
73
97
  return {
74
98
  DashboardState: state.Dashboard,
75
99
  GridState: state.Grid,
100
+ IsCollapsed: state.Dashboard.IsCollapsed,
101
+ IsHidden: state.Dashboard.IsHidden,
102
+ IsFloating: state.Dashboard.IsFloating,
76
103
  };
77
104
  }
78
105
  function mapDispatchToProps(dispatch) {
79
106
  return {
80
107
  onDashboardSetModuleButtons: (moduleButtons) => dispatch(DashboardRedux.DashboardSetModuleButtons(moduleButtons)),
81
108
  onDashboardSetTabs: (Tabs) => dispatch(DashboardRedux.DashboardSetTabs(Tabs)),
109
+ onSetDashboardCollapsed: (isCollapsed) => dispatch(DashboardRedux.DashboardSetIsCollapsed(isCollapsed)),
110
+ onSetDashboardHidden: (isHidden) => dispatch(DashboardRedux.DashboardSetIsHidden(isHidden)),
111
+ onSetDashboardFloating: (isFloating) => dispatch(DashboardRedux.DashboardSetIsFloating(isFloating)),
82
112
  };
83
113
  }
84
114
  exports.DashboardPopup = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(DashboardPopupComponent);
@@ -64,7 +64,7 @@ exports.DataChangeHistoryGrid = (props) => {
64
64
  // 2. this UI will be reimplemented with Infinite Table anyway
65
65
  const addedRows = mapChangeHistoryRowData(addedChangeHistoryLogs, mainAdaptableInstance);
66
66
  const removedRows = mapChangeHistoryRowData(removedChangeHistoryLogs, mainAdaptableInstance);
67
- adaptableApi.internalApi.getAdaptableOptions().vendorGrid.api.applyTransactionAsync({
67
+ adaptableApi.internalApi.getAdaptableOptions().gridOptions.api.applyTransactionAsync({
68
68
  add: addedRows,
69
69
  remove: removedRows,
70
70
  });
@@ -81,7 +81,8 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
81
81
  changeKey && onUndoChange(changeKey);
82
82
  };
83
83
  const options = {
84
- vendorGrid: Object.assign(Object.assign({}, gridOptions), { modules: [...all_modules_1.AllCommunityModules] }),
84
+ gridOptions: gridOptions,
85
+ modules: [...all_modules_1.AllCommunityModules],
85
86
  primaryKey: 'primaryKey',
86
87
  licenseKey: mainAdaptableOptions.licenseKey,
87
88
  userName: `${mainAdaptableOptions.userName}`,
@@ -188,8 +189,7 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
188
189
  const layoutColumns = options.predefinedConfig.Layout.Layouts[0].Columns;
189
190
  if (layoutColumns.includes('undoActionColumn')) {
190
191
  // remove action column from layout
191
- options.predefinedConfig.Layout.Layouts[0].Columns =
192
- layoutColumns.filter((columnId) => columnId !== 'undoActionColumn');
192
+ options.predefinedConfig.Layout.Layouts[0].Columns = layoutColumns.filter((columnId) => columnId !== 'undoActionColumn');
193
193
  }
194
194
  }
195
195
  return options;
@@ -4,7 +4,7 @@ exports.DataChangeHistoryPopup = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
- const PanelWithButton_1 = require("../Components/Panels/PanelWithButton");
7
+ const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
8
8
  const DataChangeHistoryGrid_1 = require("./DataChangeHistoryGrid");
9
9
  const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
10
10
  const rebass_1 = require("rebass");
@@ -56,7 +56,7 @@ class DataChangeHistoryPopupComponent extends React.Component {
56
56
  const currentAgGridTheme = this.props.api.internalApi
57
57
  .getAdaptableInstance()
58
58
  .getAgGridCurrentThemeName();
59
- return (React.createElement(PanelWithButton_1.PanelWithButton, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed(), border: "none", bodyProps: { padding: 0 } },
59
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
60
60
  React.createElement(rebass_1.Flex, { className: "ab-DataChangeHistoryPopup", flexDirection: "column", style: { height: '100%' } },
61
61
  React.createElement(rebass_1.Flex, { style: {
62
62
  color: 'var(--ab-dashboard__color)',
@@ -67,7 +67,7 @@ class DataChangeHistoryPopupComponent extends React.Component {
67
67
  statusPanel)),
68
68
  React.createElement(rebass_1.Flex, { className: "ab-DataChangeHistoryPopup--grid", "data-name": 'data-change-history--grid', flex: 1, alignSelf: 'stretch', flexDirection: 'column' },
69
69
  React.createElement("div", { id: adaptableContainerId }),
70
- React.createElement("div", { id: agGridContainerId, className: currentAgGridTheme, style: { height: '100%', width: '1000px' } }),
70
+ React.createElement("div", { id: agGridContainerId, className: currentAgGridTheme, style: { height: '100%' } }),
71
71
  React.createElement(DataChangeHistoryGrid_1.DataChangeHistoryGrid, { adaptableContainerId: adaptableContainerId, agGridContainerId: agGridContainerId, changeHistoryLog: this.props.changeHistoryLog, onUndoChange: handleChangeUndo })))));
72
72
  }
73
73
  }
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DataSourceSettingsSummary = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
- const CodeBlock_1 = require("../../../components/CodeBlock");
6
+ const Tag_1 = require("../../../components/Tag");
7
7
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
8
8
  exports.DataSourceSettingsSummary = () => {
9
9
  const { data: dataSource } = OnePageAdaptableWizard_1.useOnePageWizardContext();
10
10
  return (React.createElement(React.Fragment, null,
11
11
  React.createElement(OnePageAdaptableWizard_1.SummaryText, null,
12
12
  "Name: ",
13
- React.createElement(CodeBlock_1.CodeBlock, null, dataSource.Name || 'not specified')),
13
+ React.createElement(Tag_1.Tag, null, dataSource.Name || 'not specified')),
14
14
  React.createElement(OnePageAdaptableWizard_1.SummaryText, null,
15
15
  "Name: ",
16
- React.createElement(CodeBlock_1.CodeBlock, null, dataSource.Description || 'not specified'))));
16
+ React.createElement(Tag_1.Tag, null, dataSource.Description || 'not specified'))));
17
17
  };
@@ -1,9 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { AdaptableOnePageWizardProps } from '../../../View/Wizard/Interface/IAdaptableWizard';
3
3
  import { DataSource } from '../../../types';
4
- interface DataSourceWizardProps extends AdaptableOnePageWizardProps<DataSource> {
4
+ export interface DataSourceWizardProps extends AdaptableOnePageWizardProps<DataSource> {
5
5
  dataSources: DataSource[];
6
6
  isNew: boolean;
7
7
  }
8
8
  export declare const DataSourceWizard: React.FunctionComponent<DataSourceWizardProps>;
9
- export {};
@@ -7,9 +7,24 @@ const rebass_1 = require("rebass");
7
7
  const OnePageAdaptableWizard_1 = require("../../../View/Wizard/OnePageAdaptableWizard");
8
8
  const DataSourceSettingsWizard_1 = require("./DataSourceSettingsWizard");
9
9
  const DataSourceSettingsSummary_1 = require("./DataSourceSettingsSummary");
10
+ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
11
+ const react_redux_1 = require("react-redux");
12
+ const DataSourceRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/DataSourceRedux"));
10
13
  exports.DataSourceWizard = (props) => {
11
- const [dataSource, setDataSource] = React.useState(props.data);
12
- return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { moduleInfo: props.moduleInfo, data: dataSource, onHide: props.onCloseWizard, onFinish: props.onFinishWizard, sections: [
14
+ const [dataSource, setDataSource] = React.useState(() => {
15
+ return props.data ? props.data : ObjectFactory_1.default.CreateEmptyDataSource();
16
+ });
17
+ const dispatch = react_redux_1.useDispatch();
18
+ const handleFinish = () => {
19
+ if (props.data) {
20
+ dispatch(DataSourceRedux.DataSourceEdit(dataSource));
21
+ }
22
+ else {
23
+ dispatch(DataSourceRedux.DataSourceAdd(dataSource));
24
+ }
25
+ props.onFinishWizard(dataSource);
26
+ };
27
+ return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: dataSource, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
13
28
  {
14
29
  title: 'Settings',
15
30
  isValid: (data) => DataSourceSettingsWizard_1.isSettingsValid(data, props.isNew, props.dataSources),
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { Report } from '../../../types';
3
+ export declare const ReportExportDropdown: React.FunctionComponent<{
4
+ data: Report;
5
+ }>;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReportExportDropdown = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const react_redux_1 = require("react-redux");
7
+ const DropdownButton_1 = tslib_1.__importDefault(require("../../components/DropdownButton"));
8
+ const icons_1 = require("../../components/icons");
9
+ const Enums_1 = require("../../PredefinedConfig/Common/Enums");
10
+ const ExportRedux_1 = require("../../Redux/ActionsReducers/ExportRedux");
11
+ const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
12
+ const AdaptableContext_1 = require("../AdaptableContext");
13
+ exports.ReportExportDropdown = (props) => {
14
+ const report = props.data;
15
+ const adaptable = AdaptableContext_1.useAdaptable();
16
+ const dispatch = react_redux_1.useDispatch();
17
+ const handleExport = (destination) => {
18
+ dispatch(ExportRedux_1.ExportApply(report, destination));
19
+ };
20
+ const destinationItems = [
21
+ ...adaptable.api.exportApi.getAvailableExportDestinations().map((destination) => ({
22
+ label: destination,
23
+ onClick: () => handleExport(destination),
24
+ })),
25
+ ...adaptable.api.exportApi.getAllCustomDestination().map((destination) => ({
26
+ label: destination.name,
27
+ onClick: () => {
28
+ handleExport(destination.name);
29
+ },
30
+ })),
31
+ ];
32
+ if ((report === null || report === void 0 ? void 0 : report.Name) === GeneralConstants_1.VISUAL_DATA_REPORT) {
33
+ destinationItems.forEach((item) => (item.disabled = item.label === Enums_1.ExportDestination.Excel ? false : true));
34
+ }
35
+ return (React.createElement(DropdownButton_1.default, { tooltip: "Export Report", variant: "text", items: destinationItems },
36
+ React.createElement(icons_1.Icon, { name: "export" })));
37
+ };
@@ -10,11 +10,24 @@ const rebass_1 = require("rebass");
10
10
  const ReportColumnsWizardSection_1 = require("./ReportColumnsWizardSection");
11
11
  const ReportRowsWizardSection_1 = require("./ReportRowsWizardSection");
12
12
  const ReportNameWizardSection_1 = require("./ReportNameWizardSection");
13
+ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
14
+ const react_redux_1 = require("react-redux");
15
+ const ExportRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ExportRedux"));
13
16
  exports.NewReportWizard = (props) => {
14
17
  const [report, setReport] = react_1.useState(() => {
15
- return Helper_1.cloneObject(props.data);
18
+ return props.data ? Helper_1.cloneObject(props.data) : ObjectFactory_1.default.CreateEmptyReport();
16
19
  });
17
- return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { moduleInfo: props.moduleInfo, data: report, onHide: props.onCloseWizard, onFinish: props.onFinishWizard, sections: [
20
+ const dispatch = react_redux_1.useDispatch();
21
+ const handleFinish = () => {
22
+ if (props.data) {
23
+ dispatch(ExportRedux.ReportDelete(report));
24
+ }
25
+ else {
26
+ dispatch(ExportRedux.ReportAdd(report));
27
+ }
28
+ props.onFinishWizard(report);
29
+ };
30
+ return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: report, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
18
31
  {
19
32
  title: 'Columns',
20
33
  details: 'Choose the Columns you want to include in the Report',
@@ -7,12 +7,13 @@ const rebass_1 = require("rebass");
7
7
  const ErrorBox_1 = tslib_1.__importDefault(require("../../../components/ErrorBox"));
8
8
  const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
9
9
  const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
10
+ const Tag_1 = require("../../../components/Tag");
10
11
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
12
  exports.renderReportNameSummary = (report) => {
12
13
  return (React.createElement(rebass_1.Box, { fontSize: 2 },
13
14
  ' ',
14
15
  "Report Name: ",
15
- React.createElement("b", null, report.Name)));
16
+ React.createElement(Tag_1.Tag, null, report.Name)));
16
17
  };
17
18
  exports.isValidReportName = (report, api) => {
18
19
  if (!report.Name) {
@@ -5,10 +5,10 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_1 = require("react");
7
7
  const rebass_1 = require("rebass");
8
- const CodeBlock_1 = require("../../../components/CodeBlock");
9
8
  const ExpressionEditor_1 = require("../../../components/ExpressionEditor");
10
9
  const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
11
10
  const Tabs_1 = require("../../../components/Tabs");
11
+ const Tag_1 = require("../../../components/Tag");
12
12
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
13
13
  exports.isValidReportRowsQuery = (report) => {
14
14
  var _a;
@@ -30,7 +30,7 @@ exports.renderReportRowsSummary = (report) => {
30
30
  " in the Report")) : null,
31
31
  report.ReportRowScope === 'ExpressionRows' ? (React.createElement(React.Fragment, null,
32
32
  "Include Rows matching the query: ",
33
- React.createElement(CodeBlock_1.CodeBlock, null, (_a = report.Query) === null || _a === void 0 ? void 0 : _a.BooleanExpression))) : null));
33
+ React.createElement(Tag_1.Tag, null, (_a = report.Query) === null || _a === void 0 ? void 0 : _a.BooleanExpression))) : null));
34
34
  };
35
35
  exports.ReportRowsWizardSection = (props) => {
36
36
  var _a, _b;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { BoxProps } from 'rebass';
3
+ import { FlashingCellDefinition } from '../../types';
4
+ export interface FlashingCellStyleProps extends Omit<BoxProps, 'data'> {
5
+ data: FlashingCellDefinition;
6
+ }
7
+ export declare const FlashingCellStyle: React.FunctionComponent<FlashingCellStyleProps>;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlashingCellStyle = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const rebass_1 = require("rebass");
7
+ const StylePreview_1 = require("../../components/StylePreview");
8
+ exports.FlashingCellStyle = (props) => {
9
+ const { data } = props, boxProps = tslib_1.__rest(props, ["data"]);
10
+ return (react_1.default.createElement(rebass_1.Flex, Object.assign({ flexDirection: "row" }, boxProps),
11
+ react_1.default.createElement(StylePreview_1.StylePreview, { mr: 1, flex: 1, styleObject: props.data.UpChangeStyle },
12
+ "Up ",
13
+ !props.data.UpChangeStyle ? ' - no style' : ''),
14
+ react_1.default.createElement(StylePreview_1.StylePreview, { mr: 1, flex: 1, styleObject: props.data.DownChangeStyle },
15
+ "Down",
16
+ !props.data.DownChangeStyle ? ' - no style' : ''),
17
+ react_1.default.createElement(StylePreview_1.StylePreview, { flex: 1, styleObject: props.data.NeutralChangeStyle },
18
+ "Neutral ",
19
+ !props.data.NeutralChangeStyle ? ' - no style' : '')));
20
+ };
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { FlashingAlertDefinition } from '../../../../PredefinedConfig/AlertState';
2
+ import { FlashingCellDefinition } from '../../../types';
3
3
  declare type FlashingAlertDurationWizardSectionProps = {
4
4
  readOnly?: boolean;
5
- flashingAlert?: FlashingAlertDefinition;
6
- onChange: (data: FlashingAlertDefinition) => void;
5
+ flashingAlert?: FlashingCellDefinition;
6
+ onChange: (data: FlashingCellDefinition) => void;
7
7
  };
8
- export declare const renderFlashingAlertDurationSummary: (flashingAlert: FlashingAlertDefinition) => JSX.Element;
8
+ export declare const renderFlashingAlertDurationSummary: (flashingAlert: FlashingCellDefinition) => JSX.Element;
9
9
  export declare const FlashingAlertDurationWizardSection: (props: FlashingAlertDurationWizardSectionProps) => JSX.Element;
10
10
  export {};
@@ -5,12 +5,12 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_1 = require("react");
7
7
  const rebass_1 = require("rebass");
8
- const Input_1 = tslib_1.__importDefault(require("../../../../components/Input"));
9
- const usePrevious_1 = tslib_1.__importDefault(require("../../../../components/utils/usePrevious"));
10
- const Radio_1 = tslib_1.__importDefault(require("../../../../components/Radio"));
11
- const Tabs_1 = require("../../../../components/Tabs");
12
- const OnePageAdaptableWizard_1 = require("../../../Wizard/OnePageAdaptableWizard");
13
- const CodeBlock_1 = require("../../../../components/CodeBlock");
8
+ const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
9
+ const usePrevious_1 = tslib_1.__importDefault(require("../../../components/utils/usePrevious"));
10
+ const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
11
+ const Tabs_1 = require("../../../components/Tabs");
12
+ const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
13
+ const CodeBlock_1 = require("../../../components/CodeBlock");
14
14
  exports.renderFlashingAlertDurationSummary = (flashingAlert) => {
15
15
  return (React.createElement(React.Fragment, null,
16
16
  React.createElement(rebass_1.Text, { fontSize: 2 }, flashingAlert.FlashDuration === 'always' ? (React.createElement(React.Fragment, null, "Flashing is never removed")) : (React.createElement(React.Fragment, null,
@@ -24,7 +24,7 @@ exports.FlashingAlertDurationWizardSection = (props) => {
24
24
  let { data: flashingAlert } = OnePageAdaptableWizard_1.useOnePageWizardContext();
25
25
  flashingAlert = flashingAlert !== null && flashingAlert !== void 0 ? flashingAlert : props.flashingAlert;
26
26
  const setDuration = (FlashDuration) => {
27
- props.onChange(Object.assign(Object.assign({}, flashingAlert), { FlashDuration }));
27
+ props.onChange(Object.assign(Object.assign({}, flashingAlert), { FlashDuration: FlashDuration }));
28
28
  };
29
29
  const duration = (_a = flashingAlert.FlashDuration) !== null && _a !== void 0 ? _a : 500;
30
30
  const numberDuration = React.useRef(typeof duration === 'number' ? duration : 500);
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { FlashingAlertDefinition } from '../../../../PredefinedConfig/AlertState';
2
+ import { FlashingCellDefinition } from '../../../PredefinedConfig/FlashingCellState';
3
3
  export interface FlashingAlertRulesWizardSectionProps {
4
- onChange: (data: FlashingAlertDefinition) => void;
4
+ onChange: (data: FlashingCellDefinition) => void;
5
5
  }
6
- export declare const renderFlashingAlertRulesSummary: (flashingAlert: FlashingAlertDefinition) => JSX.Element;
6
+ export declare const renderFlashingAlertRulesSummary: (flashingAlert: FlashingCellDefinition) => JSX.Element;
7
7
  export declare const FlashingAlertRulesWizardSection: (props: FlashingAlertRulesWizardSectionProps) => JSX.Element;