@adaptabletools/adaptable 12.0.0-canary.2 → 12.0.0-canary.5

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 (431) hide show
  1. package/base.css +41 -14
  2. package/bundle.cjs.js +159 -142
  3. package/index.css +49 -14
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  9. package/src/AdaptableOptions/AlertOptions.d.ts +5 -9
  10. package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
  11. package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -4
  13. package/src/AdaptableOptions/EditOptions.d.ts +8 -62
  14. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
  16. package/src/AdaptableOptions/LayoutOptions.d.ts +6 -1
  17. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  18. package/src/AdaptableOptions/StateOptions.d.ts +10 -0
  19. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -5
  20. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  21. package/src/Api/ActionApi.d.ts +24 -0
  22. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  23. package/src/Api/AdaptableApi.d.ts +5 -0
  24. package/src/Api/AlertApi.d.ts +3 -3
  25. package/src/Api/ConfigApi.d.ts +1 -1
  26. package/src/Api/EventApi.d.ts +9 -9
  27. package/src/Api/Events/ActionRowSubmitted.d.ts +34 -0
  28. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  29. package/src/Api/GridApi.d.ts +0 -14
  30. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  31. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  32. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  33. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  34. package/src/Api/Implementation/AlertApiImpl.d.ts +3 -3
  35. package/src/Api/Implementation/ApiBase.d.ts +2 -1
  36. package/src/Api/Implementation/ApiBase.js +3 -0
  37. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  38. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  39. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  40. package/src/Api/Implementation/GridApiImpl.js +0 -44
  41. package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
  42. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  43. package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
  44. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  45. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  46. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  47. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  48. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  49. package/src/Api/SmartEditApi.d.ts +1 -1
  50. package/src/Api/StatusBarApi.d.ts +10 -3
  51. package/src/Api/UserInterfaceApi.d.ts +1 -5
  52. package/src/PredefinedConfig/AlertState.d.ts +4 -4
  53. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  54. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  55. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  56. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  57. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  58. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
  59. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  60. package/src/PredefinedConfig/Common/FormContext.d.ts +3 -0
  61. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  62. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  63. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  64. package/src/PredefinedConfig/Uuid.js +2 -1
  65. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  66. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  67. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  68. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  69. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  70. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  71. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  72. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  73. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  74. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  75. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  76. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  77. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  78. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  79. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  80. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  81. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  82. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  83. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  84. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  85. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  86. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  87. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  88. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  89. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  90. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  91. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  92. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  93. package/src/Redux/DeadRedux.js +16 -8
  94. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  95. package/src/Redux/Store/AdaptableStore.js +10 -2
  96. package/src/Strategy/AlertModule.d.ts +2 -18
  97. package/src/Strategy/AlertModule.js +2 -1
  98. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  99. package/src/Strategy/DashboardModule.js +3 -1
  100. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  101. package/src/Strategy/DataSetModule.d.ts +2 -13
  102. package/src/Strategy/ExportModule.d.ts +2 -13
  103. package/src/Strategy/ExportModule.js +1 -1
  104. package/src/Strategy/FilterModule.d.ts +2 -14
  105. package/src/Strategy/FilterModule.js +1 -1
  106. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  107. package/src/Strategy/GridInfoModule.js +6 -2
  108. package/src/Strategy/LayoutModule.d.ts +2 -17
  109. package/src/Strategy/LayoutModule.js +6 -3
  110. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  111. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  112. package/src/Strategy/ScheduleModule.d.ts +2 -13
  113. package/src/Strategy/ShortcutModule.d.ts +2 -9
  114. package/src/Strategy/StatusBarModule.js +2 -2
  115. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  116. package/src/Strategy/ThemeModule.d.ts +2 -8
  117. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  118. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  119. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  120. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  121. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  122. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  123. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  124. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  125. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  126. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  127. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  128. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  129. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  130. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  131. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  132. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  133. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  134. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  135. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  136. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  137. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  138. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
  139. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  140. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  141. package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
  142. package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
  143. package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
  144. package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
  145. package/src/Utilities/Helpers/DateHelper.js +43 -6
  146. package/src/Utilities/Helpers/Helper.js +2 -1
  147. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  148. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  149. package/src/Utilities/MenuItem.d.ts +4 -3
  150. package/src/Utilities/MenuItem.js +9 -3
  151. package/src/Utilities/ObjectFactory.js +1 -0
  152. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
  153. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  154. package/src/Utilities/Services/MetamodelService.d.ts +7 -1
  155. package/src/Utilities/Services/MetamodelService.js +82 -6
  156. package/src/Utilities/Services/ModuleService.js +3 -1
  157. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  158. package/src/Utilities/Services/RowEditService.js +24 -25
  159. package/src/Utilities/isAdaptableObject.js +2 -1
  160. package/src/Utilities/isMacLike.js +2 -1
  161. package/src/Utilities/license/decode.js +1 -1
  162. package/src/Utilities/reorder.js +2 -1
  163. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  164. package/src/Utilities/waitForCondition.d.ts +1 -1
  165. package/src/Utilities/waitForCondition.js +2 -1
  166. package/src/View/AdaptableContext.js +2 -1
  167. package/src/View/AdaptableView.js +2 -1
  168. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +13 -1
  169. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +13 -10
  170. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  171. package/src/View/AdaptableWizardView/Utils.js +2 -1
  172. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  173. package/src/View/AdaptableWizardView/helper.js +6 -3
  174. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  175. package/src/View/Alert/AlertEmptyView.js +2 -1
  176. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  177. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  178. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  179. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +3 -3
  180. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  181. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  182. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  183. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  184. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  185. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  186. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  187. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  188. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  189. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  190. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  191. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  192. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  193. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  194. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  195. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  196. package/src/View/ColorPicker.d.ts +5 -1
  197. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  198. package/src/View/Components/AdaptableDateInput/index.js +11 -11
  199. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  200. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  201. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  202. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  203. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  204. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  205. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  206. package/src/View/Components/ColumnSelector/index.js +2 -1
  207. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  208. package/src/View/Components/ExpressionWizard.js +2 -1
  209. package/src/View/Components/ExternalRenderer.js +2 -1
  210. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  211. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  212. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  213. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  214. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  215. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  216. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  217. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  218. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  219. package/src/View/Components/NewScopeComponent.js +6 -3
  220. package/src/View/Components/Panels/PanelFooter.js +2 -1
  221. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  222. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  223. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  224. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  225. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  226. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  227. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  228. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  229. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  230. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  231. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  232. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  233. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  234. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  235. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  236. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  237. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  238. package/src/View/Components/Popups/Utilities.js +8 -4
  239. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  240. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  241. package/src/View/Components/TagValueSelector/index.js +4 -2
  242. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  243. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  244. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  245. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  246. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  247. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  248. package/src/View/Components/WizardSummaryPage.js +2 -1
  249. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  250. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  251. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  252. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  253. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  254. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  255. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  256. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  257. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  258. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  259. package/src/View/Dashboard/Dashboard.js +4 -3
  260. package/src/View/Dashboard/DashboardPopup.js +1 -1
  261. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  262. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  263. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  264. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  265. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  266. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  267. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  268. package/src/View/DataSet/DataSetSelector.js +2 -1
  269. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  270. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  271. package/src/View/Export/ExportSelector.js +2 -1
  272. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  273. package/src/View/Export/ReportExportDropdown.js +2 -1
  274. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  275. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
  276. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  277. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  278. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  279. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  280. package/src/View/Filter/FilterSummary.d.ts +1 -1
  281. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  282. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  283. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
  284. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  285. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  286. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  287. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  288. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  289. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
  290. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  291. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  292. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  293. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  294. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  295. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  296. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  297. package/src/View/GridInfo/GridInfoPopup.js +5 -5
  298. package/src/View/KeyHint.js +2 -1
  299. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  300. package/src/View/Layout/LayoutCloneButton.js +2 -1
  301. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  302. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  303. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  304. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  305. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  306. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  307. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  308. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  309. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  310. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  311. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  312. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  313. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  314. package/src/View/License/LicenseWatermark.js +1 -1
  315. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
  316. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  317. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  318. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  319. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  320. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  321. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  322. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  323. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  324. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  325. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  326. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  327. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  328. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  329. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  330. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  331. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  332. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  333. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  334. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  335. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  336. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  337. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  338. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  339. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  340. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  341. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  342. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  343. package/src/View/StateManagement/components/ClearButton.js +2 -1
  344. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  345. package/src/View/StateManagement/components/LoadButton.js +2 -1
  346. package/src/View/StateManagement/handleExportState.js +2 -1
  347. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  348. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  349. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  350. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  351. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  352. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  353. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  354. package/src/View/UIHelper.d.ts +2 -0
  355. package/src/View/UIHelper.js +12 -11
  356. package/src/View/Wizard/AdaptableWizard.js +2 -1
  357. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  358. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  359. package/src/View/Wizard/OnePageWizards.js +8 -4
  360. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  361. package/src/View/renderWithAdaptableContext.js +2 -1
  362. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  363. package/src/agGrid/ActionColumnRenderer.js +1 -1
  364. package/src/agGrid/Adaptable.js +31 -28
  365. package/src/agGrid/CheckboxRenderer.js +2 -1
  366. package/src/agGrid/FilterWrapper.js +2 -1
  367. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  368. package/src/agGrid/PercentBarRenderer.js +2 -1
  369. package/src/agGrid/agGridHelper.js +3 -1
  370. package/src/agGrid/agGridMenuHelper.js +13 -10
  371. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  372. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  373. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  374. package/src/components/AdaptableIconComponent/index.js +40 -0
  375. package/src/components/CheckBox/index.js +2 -1
  376. package/src/components/CodeBlock/index.js +2 -1
  377. package/src/components/Dashboard/DashboardManager.js +1 -1
  378. package/src/components/Datepicker/Caption.js +1 -1
  379. package/src/components/Datepicker/DatepickerContext.js +2 -1
  380. package/src/components/Datepicker/index.d.ts +1 -1
  381. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  382. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  383. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  384. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  385. package/src/components/EllipsisContainer/index.js +4 -2
  386. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  387. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  388. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  389. package/src/components/FileDroppable/index.js +2 -1
  390. package/src/components/FormLayout/index.js +2 -1
  391. package/src/components/Input/index.d.ts +1 -1
  392. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  393. package/src/components/Loader/Loader.js +4 -2
  394. package/src/components/Logo/index.js +2 -1
  395. package/src/components/Modal/Backdrop.js +2 -1
  396. package/src/components/Modal/index.js +2 -1
  397. package/src/components/OverlayTrigger/Overlay.js +2 -1
  398. package/src/components/OverlayTrigger/index.js +2 -1
  399. package/src/components/OverlayTrigger/utils.js +6 -3
  400. package/src/components/PopupWithFooter.d.ts +1 -1
  401. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  402. package/src/components/Radio/index.js +4 -2
  403. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  404. package/src/components/ResizeObserver/index.js +6 -3
  405. package/src/components/SelectList.js +2 -1
  406. package/src/components/SelectableList/index.js +2 -1
  407. package/src/components/SimpleButton/index.d.ts +2 -1
  408. package/src/components/SimpleButton/index.js +19 -6
  409. package/src/components/StylePreview.js +2 -1
  410. package/src/components/Tabs/index.js +6 -3
  411. package/src/components/Textarea/index.d.ts +5 -1
  412. package/src/components/ToggleButton/index.js +2 -1
  413. package/src/components/WindowModal/WindowModal.js +2 -1
  414. package/src/components/WindowModal/useStacking.js +2 -1
  415. package/src/components/icons/DefaultIcon.js +2 -1
  416. package/src/components/icons/index.d.ts +3 -1
  417. package/src/components/icons/index.js +10 -2
  418. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  419. package/src/components/utils/useGlobalEvent.js +2 -1
  420. package/src/components/utils/useLatest.js +2 -1
  421. package/src/components/utils/useRerender.js +2 -1
  422. package/src/components/utils/uuid.js +2 -1
  423. package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
  424. package/src/metamodel/adaptable.metamodel.d.ts +211 -101
  425. package/src/metamodel/adaptable.metamodel.js +1 -12874
  426. package/src/types.d.ts +7 -5
  427. package/version.d.ts +1 -1
  428. package/version.js +1 -1
  429. package/src/Api/Events/RowFormSubmitted.d.ts +0 -19
  430. package/src/components/ApplicationIcon.d.ts +0 -6
  431. package/src/components/ApplicationIcon.js +0 -13
@@ -75,73 +75,91 @@ exports.GRID_SET_TREE_MODE_ON = 'GRID_SET_TREE_MODE_ON';
75
75
  * @ReduxAction Grid is taken out of tree mode
76
76
  */
77
77
  exports.GRID_SET_TREE_MODE_OFF = 'GRID_SET_TREE_MODE_OFF';
78
- exports.GridSetColumns = (Columns) => ({
78
+ const GridSetColumns = (Columns) => ({
79
79
  type: exports.GRID_SET_COLUMNS,
80
80
  columns: Columns,
81
81
  });
82
- exports.GridAddColumn = (Column) => ({
82
+ exports.GridSetColumns = GridSetColumns;
83
+ const GridAddColumn = (Column) => ({
83
84
  type: exports.GRID_ADD_COLUMN,
84
85
  column: Column,
85
86
  });
86
- exports.GridAddColumns = (Columns) => ({
87
+ exports.GridAddColumn = GridAddColumn;
88
+ const GridAddColumns = (Columns) => ({
87
89
  type: exports.GRID_ADD_COLUMNS,
88
90
  columns: Columns,
89
91
  });
90
- exports.GridRemoveColumn = (Column) => ({
92
+ exports.GridAddColumns = GridAddColumns;
93
+ const GridRemoveColumn = (Column) => ({
91
94
  type: exports.GRID_REMOVE_COLUMN,
92
95
  column: Column,
93
96
  });
94
- exports.GridEditColumn = (Column) => ({
97
+ exports.GridRemoveColumn = GridRemoveColumn;
98
+ const GridEditColumn = (Column) => ({
95
99
  type: exports.GRID_EDIT_COLUMN,
96
100
  column: Column,
97
101
  });
98
- exports.GridSetSort = (ColumnSorts) => ({
102
+ exports.GridEditColumn = GridEditColumn;
103
+ const GridSetSort = (ColumnSorts) => ({
99
104
  type: exports.GRID_SET_SORT,
100
105
  columnSorts: ColumnSorts,
101
106
  });
102
- exports.GridClearSort = () => ({
107
+ exports.GridSetSort = GridSetSort;
108
+ const GridClearSort = () => ({
103
109
  type: exports.GRID_CLEAR_SORT,
104
110
  });
105
- exports.GridSetSelectedCells = (SelectedCellInfo) => ({
111
+ exports.GridClearSort = GridClearSort;
112
+ const GridSetSelectedCells = (SelectedCellInfo) => ({
106
113
  type: exports.GRID_SET_SELECTED_CELLS,
107
114
  selectedCellInfo: SelectedCellInfo,
108
115
  });
109
- exports.GridSetSelectedRows = (SelectedRowInfo) => ({
116
+ exports.GridSetSelectedCells = GridSetSelectedCells;
117
+ const GridSetSelectedRows = (SelectedRowInfo) => ({
110
118
  type: exports.GRID_SET_SELECTED_ROWS,
111
119
  selectedRowInfo: SelectedRowInfo,
112
120
  });
113
- exports.GridCreateCellSummary = () => ({
121
+ exports.GridSetSelectedRows = GridSetSelectedRows;
122
+ const GridCreateCellSummary = () => ({
114
123
  type: exports.GRID_CREATE_CELLS_SUMMARY,
115
124
  });
116
- exports.GridSetCellSummary = (CellSummary) => ({
125
+ exports.GridCreateCellSummary = GridCreateCellSummary;
126
+ const GridSetCellSummary = (CellSummary) => ({
117
127
  type: exports.GRID_SET_CELLS_SUMMARY,
118
128
  cellSummary: CellSummary,
119
129
  });
120
- exports.GridRefreshCells = (rowNodes, columnIds) => ({
130
+ exports.GridSetCellSummary = GridSetCellSummary;
131
+ const GridRefreshCells = (rowNodes, columnIds) => ({
121
132
  type: exports.GRID_REFRESH_CELLS,
122
133
  rowNodes,
123
134
  columnIds,
124
135
  });
125
- exports.SetPivotModeOn = () => ({
136
+ exports.GridRefreshCells = GridRefreshCells;
137
+ const SetPivotModeOn = () => ({
126
138
  type: exports.GRID_SET_PIVOT_MODE_ON,
127
139
  });
128
- exports.SetPivotModeOff = () => ({
140
+ exports.SetPivotModeOn = SetPivotModeOn;
141
+ const SetPivotModeOff = () => ({
129
142
  type: exports.GRID_SET_PIVOT_MODE_OFF,
130
143
  });
131
- exports.SetTreeModeOn = () => ({
144
+ exports.SetPivotModeOff = SetPivotModeOff;
145
+ const SetTreeModeOn = () => ({
132
146
  type: exports.GRID_SET_TREE_MODE_ON,
133
147
  });
134
- exports.SetTreeModeOff = () => ({
148
+ exports.SetTreeModeOn = SetTreeModeOn;
149
+ const SetTreeModeOff = () => ({
135
150
  type: exports.GRID_SET_TREE_MODE_OFF,
136
151
  });
137
- exports.SetSettingPanelModuleMenuItems = (MenuItems) => ({
152
+ exports.SetTreeModeOff = SetTreeModeOff;
153
+ const SetSettingPanelModuleMenuItems = (MenuItems) => ({
138
154
  type: exports.GRID_SET_MODULE_DROPDOWN_MENUITEMS,
139
155
  menuItems: MenuItems,
140
156
  });
141
- exports.SetModuleButtonMenuItems = (MenuItems) => ({
157
+ exports.SetSettingPanelModuleMenuItems = SetSettingPanelModuleMenuItems;
158
+ const SetModuleButtonMenuItems = (MenuItems) => ({
142
159
  type: exports.GRID_SET_MODULE_BUTTON_MENUITEMS,
143
160
  menuItems: MenuItems,
144
161
  });
162
+ exports.SetModuleButtonMenuItems = SetModuleButtonMenuItems;
145
163
  const initialState = {
146
164
  Columns: GeneralConstants_1.EMPTY_ARRAY,
147
165
  CurrentLayout: null,
@@ -154,7 +172,7 @@ const initialState = {
154
172
  IsGridInPivotMode: false,
155
173
  IsGridInTreeMode: false,
156
174
  };
157
- exports.GridReducer = (state = initialState, action) => {
175
+ const GridReducer = (state = initialState, action) => {
158
176
  switch (action.type) {
159
177
  case exports.GRID_SET_COLUMNS:
160
178
  return Object.assign({}, state, {
@@ -227,3 +245,4 @@ exports.GridReducer = (state = initialState, action) => {
227
245
  return state;
228
246
  }
229
247
  };
248
+ exports.GridReducer = GridReducer;
@@ -46,25 +46,30 @@ exports.LAYOUT_COLUMN_FILTER_CLEAR_ALL = 'LAYOUT_COLUMN_FILTER_CLEAR_ALL';
46
46
  */
47
47
  exports.LAYOUT_COLUMN_FILTER_CLEAR = 'LAYOUT_COLUMN_FILTER_CLEAR';
48
48
  // Column Filter Methods
49
- exports.LayoutColumnFilterAdd = (columnFilter) => ({
49
+ const LayoutColumnFilterAdd = (columnFilter) => ({
50
50
  type: exports.LAYOUT_COLUMN_FILTER_ADD,
51
51
  columnFilter,
52
52
  });
53
- exports.LayoutColumnFilterEdit = (columnFilter) => ({
53
+ exports.LayoutColumnFilterAdd = LayoutColumnFilterAdd;
54
+ const LayoutColumnFilterEdit = (columnFilter) => ({
54
55
  type: exports.LAYOUT_COLUMN_FILTER_EDIT,
55
56
  columnFilter,
56
57
  });
57
- exports.LayoutColumnFilterSet = (columnFilter) => ({
58
+ exports.LayoutColumnFilterEdit = LayoutColumnFilterEdit;
59
+ const LayoutColumnFilterSet = (columnFilter) => ({
58
60
  type: exports.LAYOUT_COLUMN_FILTER_SET,
59
61
  columnFilter,
60
62
  });
61
- exports.LayoutColumnFilterClearAll = () => ({
63
+ exports.LayoutColumnFilterSet = LayoutColumnFilterSet;
64
+ const LayoutColumnFilterClearAll = () => ({
62
65
  type: exports.LAYOUT_COLUMN_FILTER_CLEAR_ALL,
63
66
  });
64
- exports.LayoutColumnFilterClear = (columnFilter) => ({
67
+ exports.LayoutColumnFilterClearAll = LayoutColumnFilterClearAll;
68
+ const LayoutColumnFilterClear = (columnFilter) => ({
65
69
  type: exports.LAYOUT_COLUMN_FILTER_CLEAR,
66
70
  columnFilter,
67
71
  });
72
+ exports.LayoutColumnFilterClear = LayoutColumnFilterClear;
68
73
  /**
69
74
  * @ReduxAction A new caption / header has been set for a Column in the Layout
70
75
  */
@@ -74,51 +79,60 @@ exports.LAYOUT_UPDATE_CURRENT_DRAFT = 'LAYOUT_UPDATE_CURRENT_DRAFT';
74
79
  * @ReduxAction Layout Module is ready
75
80
  */
76
81
  exports.LAYOUT_READY = 'LAYOUT_READY';
77
- exports.LayoutAdd = (layout) => ({
82
+ const LayoutAdd = (layout) => ({
78
83
  type: exports.LAYOUT_ADD,
79
84
  layout,
80
85
  });
81
- exports.LayoutDelete = (layout) => ({
86
+ exports.LayoutAdd = LayoutAdd;
87
+ const LayoutDelete = (layout) => ({
82
88
  type: exports.LAYOUT_DELETE,
83
89
  layout,
84
90
  });
85
- exports.LayoutSave = (layout) => ({
91
+ exports.LayoutDelete = LayoutDelete;
92
+ const LayoutSave = (layout) => ({
86
93
  type: exports.LAYOUT_SAVE,
87
94
  layout,
88
95
  });
89
- exports.LayoutSetColumnCaption = (layoutName, columnId, caption) => ({
96
+ exports.LayoutSave = LayoutSave;
97
+ const LayoutSetColumnCaption = (layoutName, columnId, caption) => ({
90
98
  type: exports.LAYOUT_SET_COLUMN_CAPTION,
91
99
  layoutName,
92
100
  columnId,
93
101
  caption,
94
102
  });
95
- exports.LayouRemoveColumn = (layoutName, columnId) => ({
103
+ exports.LayoutSetColumnCaption = LayoutSetColumnCaption;
104
+ const LayouRemoveColumn = (layoutName, columnId) => ({
96
105
  type: exports.LAYOUT_REMOVE_COLUMN,
97
106
  layoutName,
98
107
  columnId,
99
108
  });
100
- exports.LayoutSelect = (layoutName) => ({
109
+ exports.LayouRemoveColumn = LayouRemoveColumn;
110
+ const LayoutSelect = (layoutName) => ({
101
111
  type: exports.LAYOUT_SELECT,
102
112
  layoutName,
103
113
  });
104
- exports.LayoutUpdateCurrentDraft = (layout) => ({
114
+ exports.LayoutSelect = LayoutSelect;
115
+ const LayoutUpdateCurrentDraft = (layout) => ({
105
116
  type: exports.LAYOUT_UPDATE_CURRENT_DRAFT,
106
117
  layout,
107
118
  });
108
- exports.LayoutReady = (layoutState) => ({
119
+ exports.LayoutUpdateCurrentDraft = LayoutUpdateCurrentDraft;
120
+ const LayoutReady = (layoutState) => ({
109
121
  type: exports.LAYOUT_READY,
110
122
  layoutState,
111
123
  });
112
- exports.getColumnFilterSelector = (state) => {
124
+ exports.LayoutReady = LayoutReady;
125
+ const getColumnFilterSelector = (state) => {
113
126
  var _a, _b, _c, _d;
114
127
  const currentLayout = (_c = (_b = (_a = state.Layout) === null || _a === void 0 ? void 0 : _a.Layouts) === null || _b === void 0 ? void 0 : _b.find) === null || _c === void 0 ? void 0 : _c.call(_b, (layout) => layout.Name === state.Layout.CurrentLayout);
115
128
  return (_d = currentLayout === null || currentLayout === void 0 ? void 0 : currentLayout.ColumnFilters) !== null && _d !== void 0 ? _d : [];
116
129
  };
130
+ exports.getColumnFilterSelector = getColumnFilterSelector;
117
131
  const initialState = {
118
132
  CurrentLayout: GeneralConstants_1.EMPTY_STRING,
119
133
  Layouts: GeneralConstants_1.EMPTY_ARRAY,
120
134
  };
121
- exports.LayoutReducer = (state = initialState, action) => {
135
+ const LayoutReducer = (state = initialState, action) => {
122
136
  var _a, _b, _c, _d;
123
137
  let layouts;
124
138
  const currentLayout = state.Layouts.find((layout) => layout.Name === state.CurrentLayout);
@@ -243,3 +257,4 @@ exports.LayoutReducer = (state = initialState, action) => {
243
257
  return state;
244
258
  }
245
259
  };
260
+ exports.LayoutReducer = LayoutReducer;
@@ -177,13 +177,14 @@ exports.SET_GLUE42_RUNNING_ON = 'SET_GLUE42_RUNNING_ON';
177
177
  * @ReduxAction Glue43 is no longer running
178
178
  */
179
179
  exports.SET_GLUE42_RUNNING_OFF = 'SET_GLUE42_RUNNING_OFF';
180
- exports.PluginsSetPluginState = (pluginId, pluginState) => ({
180
+ const PluginsSetPluginState = (pluginId, pluginState) => ({
181
181
  type: exports.PLUGINS_SET_PLUGIN_STATE,
182
182
  pluginId,
183
183
  pluginState,
184
184
  });
185
+ exports.PluginsSetPluginState = PluginsSetPluginState;
185
186
  const initialState = {};
186
- exports.PluginsReducer = (state = initialState, action) => {
187
+ const PluginsReducer = (state = initialState, action) => {
187
188
  switch (action.type) {
188
189
  case exports.PLUGINS_SET_PLUGIN_STATE: {
189
190
  return Object.assign(Object.assign({}, state), { [action.pluginId]: action.pluginState });
@@ -192,3 +193,4 @@ exports.PluginsReducer = (state = initialState, action) => {
192
193
  return state;
193
194
  }
194
195
  };
196
+ exports.PluginsReducer = PluginsReducer;
@@ -33,38 +33,45 @@ exports.PLUS_MINUS_RULE_UNSUSPEND = 'PLUS_MINUS_RULE_UNSUSPEND';
33
33
  * @ReduxAction PlusMinus Module is ready
34
34
  */
35
35
  exports.PLUS_MINUS_READY = 'PLUS_MINUS_READY';
36
- exports.PlusMinusApply = (gridCells) => ({
36
+ const PlusMinusApply = (gridCells) => ({
37
37
  type: exports.PLUS_MINUS_APPLY,
38
38
  gridCells,
39
39
  });
40
- exports.PlusMinusNudgeAdd = (plusMinusNudge) => ({
40
+ exports.PlusMinusApply = PlusMinusApply;
41
+ const PlusMinusNudgeAdd = (plusMinusNudge) => ({
41
42
  type: exports.PLUS_MINUS_RULE_ADD,
42
43
  plusMinusNudge: plusMinusNudge,
43
44
  });
44
- exports.PlusMinusNudgeEdit = (plusMinusNudge) => ({
45
+ exports.PlusMinusNudgeAdd = PlusMinusNudgeAdd;
46
+ const PlusMinusNudgeEdit = (plusMinusNudge) => ({
45
47
  type: exports.PLUS_MINUS_RULE_EDIT,
46
48
  plusMinusNudge: plusMinusNudge,
47
49
  });
48
- exports.PlusMinusNudgeDelete = (plusMinusNudge) => ({
50
+ exports.PlusMinusNudgeEdit = PlusMinusNudgeEdit;
51
+ const PlusMinusNudgeDelete = (plusMinusNudge) => ({
49
52
  type: exports.PLUS_MINUS_RULE_DELETE,
50
53
  plusMinusNudge: plusMinusNudge,
51
54
  });
52
- exports.PlusMinusNudgeSuspend = (plusMinusNudge) => ({
55
+ exports.PlusMinusNudgeDelete = PlusMinusNudgeDelete;
56
+ const PlusMinusNudgeSuspend = (plusMinusNudge) => ({
53
57
  type: exports.PLUS_MINUS_RULE_SUSPEND,
54
58
  plusMinusNudge: plusMinusNudge,
55
59
  });
56
- exports.PlusMinusNudgeUnSuspend = (plusMinusNudge) => ({
60
+ exports.PlusMinusNudgeSuspend = PlusMinusNudgeSuspend;
61
+ const PlusMinusNudgeUnSuspend = (plusMinusNudge) => ({
57
62
  type: exports.PLUS_MINUS_RULE_UNSUSPEND,
58
63
  plusMinusNudge: plusMinusNudge,
59
64
  });
60
- exports.PlusMinusReady = (plusMinusState) => ({
65
+ exports.PlusMinusNudgeUnSuspend = PlusMinusNudgeUnSuspend;
66
+ const PlusMinusReady = (plusMinusState) => ({
61
67
  type: exports.PLUS_MINUS_READY,
62
68
  plusMinusState,
63
69
  });
70
+ exports.PlusMinusReady = PlusMinusReady;
64
71
  const initialState = {
65
72
  PlusMinusNudges: GeneralConstants_1.EMPTY_ARRAY,
66
73
  };
67
- exports.PlusMinusReducer = (state = initialState, action) => {
74
+ const PlusMinusReducer = (state = initialState, action) => {
68
75
  let plusMinusNudges;
69
76
  switch (action.type) {
70
77
  case exports.PLUS_MINUS_APPLY:
@@ -95,3 +102,4 @@ exports.PlusMinusReducer = (state = initialState, action) => {
95
102
  return state;
96
103
  }
97
104
  };
105
+ exports.PlusMinusReducer = PlusMinusReducer;
@@ -18,84 +18,101 @@ exports.POPUP_SHOW_WINDOW = 'POPUP_SHOW_WINDOW';
18
18
  exports.POPUP_HIDE_WINDOW = 'POPUP_HIDE_WINDOW';
19
19
  exports.POPUP_SHOW_FORM = 'POPUP_SHOW_FORM';
20
20
  exports.POPUP_HIDE_FORM = 'POPUP_FORM_HIDE';
21
- exports.PopupShowScreen = (componentModule, componentName, params, popupProps) => ({
21
+ const PopupShowScreen = (componentModule, componentName, params, popupProps) => ({
22
22
  type: exports.POPUP_SHOW_SCREEN,
23
23
  ComponentModule: componentModule,
24
24
  ComponentName: componentName,
25
25
  Params: params,
26
26
  PopupProps: popupProps,
27
27
  });
28
- exports.PopupHideScreen = () => ({
28
+ exports.PopupShowScreen = PopupShowScreen;
29
+ const PopupHideScreen = () => ({
29
30
  type: exports.POPUP_HIDE_SCREEN,
30
31
  });
31
- exports.PopupShowWindow = (config) => ({
32
+ exports.PopupHideScreen = PopupHideScreen;
33
+ const PopupShowWindow = (config) => ({
32
34
  type: exports.POPUP_SHOW_WINDOW,
33
35
  Id: config.Id,
34
36
  Title: config.Title,
35
37
  PopupProps: config.PopupProps,
36
38
  Icon: config.Icon,
37
39
  });
38
- exports.PopupHideWindow = (id) => ({
40
+ exports.PopupShowWindow = PopupShowWindow;
41
+ const PopupHideWindow = (id) => ({
39
42
  type: exports.POPUP_HIDE_WINDOW,
40
43
  Id: id,
41
44
  });
42
- exports.PopupShowForm = (config) => ({
45
+ exports.PopupHideWindow = PopupHideWindow;
46
+ const PopupShowForm = (config) => ({
43
47
  type: exports.POPUP_SHOW_FORM,
44
48
  Id: config.Id,
45
49
  Form: config.Form,
46
50
  FormProps: config.FormProps,
47
51
  prepareContext: config.prepareContext,
48
52
  });
49
- exports.PopupHideForm = (id) => ({
53
+ exports.PopupShowForm = PopupShowForm;
54
+ const PopupHideForm = (id) => ({
50
55
  type: exports.POPUP_HIDE_FORM,
51
56
  Id: id,
52
57
  });
53
- exports.PopupShowAlert = (alert) => {
58
+ exports.PopupHideForm = PopupHideForm;
59
+ const PopupShowAlert = (alert) => {
54
60
  return {
55
61
  type: exports.POPUP_SHOW_ALERT,
56
62
  alert: alert,
57
63
  };
58
64
  };
59
- exports.PopupHideAlert = () => ({
65
+ exports.PopupShowAlert = PopupShowAlert;
66
+ const PopupHideAlert = () => ({
60
67
  type: exports.POPUP_HIDE_ALERT,
61
68
  });
62
- exports.PopupShowLoading = () => ({
69
+ exports.PopupHideAlert = PopupHideAlert;
70
+ const PopupShowLoading = () => ({
63
71
  type: exports.POPUP_SHOW_LOADING,
64
72
  });
65
- exports.PopupHideLoading = () => ({
73
+ exports.PopupShowLoading = PopupShowLoading;
74
+ const PopupHideLoading = () => ({
66
75
  type: exports.POPUP_HIDE_LOADING,
67
76
  });
77
+ exports.PopupHideLoading = PopupHideLoading;
68
78
  //export const PopupShowGridInfo = (): PopupShowGridInfoAction => ({
69
79
  // type: POPUP_SHOW_GRID_INFO,
70
80
  //});
71
81
  //export const PopupHideGridInfo = (): PopupHideGridInfoAction => ({
72
82
  // type: POPUP_HIDE_GRID_INFO,
73
83
  //});
74
- exports.PopupShowPrompt = (prompt) => ({
84
+ const PopupShowPrompt = (prompt) => ({
75
85
  type: exports.POPUP_SHOW_PROMPT,
76
86
  prompt: prompt,
77
87
  });
78
- exports.PopupHidePrompt = () => ({
88
+ exports.PopupShowPrompt = PopupShowPrompt;
89
+ const PopupHidePrompt = () => ({
79
90
  type: exports.POPUP_HIDE_PROMPT,
80
91
  });
81
- exports.PopupConfirmPrompt = (inputText) => ({
92
+ exports.PopupHidePrompt = PopupHidePrompt;
93
+ const PopupConfirmPrompt = (inputText) => ({
82
94
  type: exports.POPUP_CONFIRM_PROMPT,
83
95
  InputText: inputText,
84
96
  });
85
- exports.PopupShowConfirmation = (confirmation) => ({
97
+ exports.PopupConfirmPrompt = PopupConfirmPrompt;
98
+ const PopupShowConfirmation = (confirmation) => ({
86
99
  type: exports.POPUP_SHOW_CONFIRMATION,
87
100
  confirmation: confirmation,
88
101
  });
89
- exports.PopupConfirmConfirmation = (comment) => ({
102
+ exports.PopupShowConfirmation = PopupShowConfirmation;
103
+ const PopupConfirmConfirmation = (comment) => ({
90
104
  type: exports.POPUP_CONFIRM_CONFIRMATION,
91
105
  comment,
92
106
  });
93
- exports.PopupCancelConfirmation = () => ({
107
+ exports.PopupConfirmConfirmation = PopupConfirmConfirmation;
108
+ const PopupCancelConfirmation = () => ({
94
109
  type: exports.POPUP_CANCEL_CONFIRMATION,
95
110
  });
96
- exports.PopupClearParam = () => ({
111
+ exports.PopupCancelConfirmation = PopupCancelConfirmation;
112
+ const PopupClearParam = () => ({
97
113
  type: exports.POPUP_CLEAR_PARAM,
98
114
  });
115
+ exports.PopupClearParam = PopupClearParam;
99
116
  const initialState = {
100
117
  ScreenPopup: {
101
118
  ShowScreenPopup: false,
@@ -134,7 +151,7 @@ const initialState = {
134
151
  FormList: [],
135
152
  },
136
153
  };
137
- exports.PopupReducer = (state = initialState, action) => {
154
+ const PopupReducer = (state = initialState, action) => {
138
155
  switch (action.type) {
139
156
  case exports.POPUP_SHOW_SCREEN: {
140
157
  let actionTypedShowPopup = action;
@@ -220,7 +237,7 @@ exports.PopupReducer = (state = initialState, action) => {
220
237
  CancelAction: null,
221
238
  ShowInputBox: false,
222
239
  ConfirmationComment: actionTyped.comment,
223
- MessageType: null,
240
+ MessageType: null, // ???
224
241
  };
225
242
  return Object.assign({}, state, {
226
243
  ConfirmationPopup: newConfirmationPopup,
@@ -315,3 +332,4 @@ exports.PopupReducer = (state = initialState, action) => {
315
332
  return state;
316
333
  }
317
334
  };
335
+ exports.PopupReducer = PopupReducer;
@@ -24,31 +24,36 @@ exports.QUERY_RUN = 'QUERY_RUN';
24
24
  * @ReduxAction Query Module is ready
25
25
  */
26
26
  exports.QUERY_READY = 'QUERY_READY';
27
- exports.NamedQueryAdd = (namedQuery) => ({
27
+ const NamedQueryAdd = (namedQuery) => ({
28
28
  type: exports.NAMED_QUERY_ADD,
29
29
  namedQuery: namedQuery,
30
30
  });
31
- exports.NamedQueryEdit = (namedQuery) => ({
31
+ exports.NamedQueryAdd = NamedQueryAdd;
32
+ const NamedQueryEdit = (namedQuery) => ({
32
33
  type: exports.NAMED_QUERY_EDIT,
33
34
  namedQuery: namedQuery,
34
35
  });
35
- exports.NamedQueryDelete = (namedQuery) => ({
36
+ exports.NamedQueryEdit = NamedQueryEdit;
37
+ const NamedQueryDelete = (namedQuery) => ({
36
38
  type: exports.NAMED_QUERY_DELETE,
37
39
  namedQuery: namedQuery,
38
40
  });
39
- exports.QueryRun = (query) => ({
41
+ exports.NamedQueryDelete = NamedQueryDelete;
42
+ const QueryRun = (query) => ({
40
43
  type: exports.QUERY_RUN,
41
44
  query,
42
45
  });
43
- exports.QueryReady = (queryState) => ({
46
+ exports.QueryRun = QueryRun;
47
+ const QueryReady = (queryState) => ({
44
48
  type: exports.QUERY_READY,
45
49
  queryState,
46
50
  });
51
+ exports.QueryReady = QueryReady;
47
52
  const initialState = {
48
53
  NamedQueries: GeneralConstants_1.EMPTY_ARRAY,
49
54
  CurrentQuery: GeneralConstants_1.EMPTY_STRING,
50
55
  };
51
- exports.QueryReducer = (state = initialState, action) => {
56
+ const QueryReducer = (state = initialState, action) => {
52
57
  let namedQuerys;
53
58
  switch (action.type) {
54
59
  case exports.NAMED_QUERY_ADD: {
@@ -74,3 +79,4 @@ exports.QueryReducer = (state = initialState, action) => {
74
79
  return state;
75
80
  }
76
81
  };
82
+ exports.QueryReducer = QueryReducer;
@@ -14,18 +14,21 @@ exports.QUICK_SEARCH_SET_STYLE = 'QUICK_SEARCH_SET_STYLE';
14
14
  * @ReduxAction Quick Search Module is ready
15
15
  */
16
16
  exports.QUICK_SEARCH_READY = 'QUICK_SEARCH_READY';
17
- exports.QuickSearchRun = (quickSearchText) => ({
17
+ const QuickSearchRun = (quickSearchText) => ({
18
18
  type: exports.QUICK_SEARCH_RUN,
19
19
  quickSearchText,
20
20
  });
21
- exports.QuickSearchSetStyle = (style) => ({
21
+ exports.QuickSearchRun = QuickSearchRun;
22
+ const QuickSearchSetStyle = (style) => ({
22
23
  type: exports.QUICK_SEARCH_SET_STYLE,
23
24
  style,
24
25
  });
25
- exports.QuickSearchReady = (quickSearchState) => ({
26
+ exports.QuickSearchSetStyle = QuickSearchSetStyle;
27
+ const QuickSearchReady = (quickSearchState) => ({
26
28
  type: exports.QUICK_SEARCH_READY,
27
29
  quickSearchState,
28
30
  });
31
+ exports.QuickSearchReady = QuickSearchReady;
29
32
  const initialState = {
30
33
  QuickSearchText: GeneralConstants_1.EMPTY_STRING,
31
34
  Style: {
@@ -33,7 +36,7 @@ const initialState = {
33
36
  ForeColor: GeneralConstants_1.QUICK_SEARCH_DEFAULT_FORE_COLOR,
34
37
  },
35
38
  };
36
- exports.QuickSearchReducer = (state = initialState, action) => {
39
+ const QuickSearchReducer = (state = initialState, action) => {
37
40
  switch (action.type) {
38
41
  case exports.QUICK_SEARCH_RUN:
39
42
  return Object.assign({}, state, {
@@ -47,3 +50,4 @@ exports.QuickSearchReducer = (state = initialState, action) => {
47
50
  return state;
48
51
  }
49
52
  };
53
+ exports.QuickSearchReducer = QuickSearchReducer;