@adaptabletools/adaptable 12.2.2 → 14.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 (449) hide show
  1. package/base.css +2 -2
  2. package/bundle.cjs.js +419 -143
  3. package/index.css +2 -2
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +3 -2
  8. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
  9. package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -5
  11. package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
  12. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/ColumnOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/EntitlementOptions.d.ts +15 -0
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  17. package/src/Api/ChartingApi.d.ts +1 -1
  18. package/src/Api/ColumnApi.d.ts +1 -1
  19. package/src/Api/Events/ActionRowSubmitted.d.ts +1 -1
  20. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  21. package/src/Api/Events/GridDataChanged.d.ts +1 -1
  22. package/src/Api/ExportApi.d.ts +5 -1
  23. package/src/Api/FilterApi.d.ts +1 -1
  24. package/src/Api/FinanceApi.d.ts +1 -1
  25. package/src/Api/FormatColumnApi.d.ts +1 -1
  26. package/src/Api/FreeTextColumnApi.d.ts +1 -1
  27. package/src/Api/GridApi.d.ts +4 -3
  28. package/src/Api/Implementation/ActionApiImpl.js +5 -5
  29. package/src/Api/Implementation/AlertApiImpl.js +9 -9
  30. package/src/Api/Implementation/ApiBase.js +3 -3
  31. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -1
  32. package/src/Api/Implementation/CellSummaryApiImpl.js +5 -2
  33. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  34. package/src/Api/Implementation/ChartingApiImpl.js +1 -1
  35. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  36. package/src/Api/Implementation/ColumnApiImpl.js +1 -1
  37. package/src/Api/Implementation/ConfigApiImpl.js +2 -2
  38. package/src/Api/Implementation/DashboardApiImpl.js +2 -2
  39. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -5
  40. package/src/Api/Implementation/ExportApiImpl.js +2 -2
  41. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -1
  42. package/src/Api/Implementation/FilterApiImpl.js +6 -6
  43. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  44. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  45. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  46. package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
  47. package/src/Api/Implementation/GridApiImpl.js +12 -12
  48. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/InternalApiImpl.js +5 -5
  50. package/src/Api/Implementation/LayoutApiImpl.js +12 -12
  51. package/src/Api/Implementation/PredicateApiImpl.js +3 -3
  52. package/src/Api/Implementation/QueryApiImpl.js +6 -6
  53. package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -5
  54. package/src/Api/Implementation/ScopeApiImpl.js +3 -3
  55. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  56. package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
  57. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  58. package/src/Api/Implementation/SystemStatusApiImpl.js +9 -9
  59. package/src/Api/Implementation/TeamSharingApiImpl.js +10 -10
  60. package/src/Api/InternalApi.d.ts +1 -1
  61. package/src/Api/StatusBarApi.d.ts +1 -1
  62. package/src/PredefinedConfig/ChartingState.d.ts +1 -1
  63. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +1 -1
  64. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
  65. package/src/PredefinedConfig/Common/AdaptablePredicate.js +17 -17
  66. package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +1 -1
  67. package/src/PredefinedConfig/Common/Menu.d.ts +1 -1
  68. package/src/PredefinedConfig/Selection/GridCell.d.ts +1 -1
  69. package/src/PredefinedConfig/Selection/GridRow.d.ts +1 -1
  70. package/src/PredefinedConfig/Uuid.js +1 -1
  71. package/src/Redux/ActionsReducers/AlertRedux.js +2 -2
  72. package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
  73. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +2 -2
  74. package/src/Redux/ActionsReducers/CustomSortRedux.js +2 -2
  75. package/src/Redux/ActionsReducers/FlashingCellRedux.js +2 -2
  76. package/src/Redux/ActionsReducers/FormatColumnRedux.js +2 -2
  77. package/src/Redux/ActionsReducers/GridRedux.d.ts +1 -1
  78. package/src/Redux/ActionsReducers/PlusMinusRedux.js +2 -2
  79. package/src/Redux/ActionsReducers/ScheduleRedux.js +10 -10
  80. package/src/Redux/ActionsReducers/ShortcutRedux.js +2 -2
  81. package/src/Redux/ActionsReducers/SystemRedux.js +2 -2
  82. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +8 -8
  83. package/src/Redux/Store/AdaptableReduxMerger.js +9 -9
  84. package/src/Redux/Store/AdaptableStore.js +23 -23
  85. package/src/Strategy/AlertModule.js +6 -6
  86. package/src/Strategy/CalculatedColumnModule.js +4 -4
  87. package/src/Strategy/ConditionalStyleModule.js +8 -8
  88. package/src/Strategy/CustomSortModule.js +3 -3
  89. package/src/Strategy/DashboardModule.js +1 -1
  90. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  91. package/src/Strategy/DataSetModule.js +2 -2
  92. package/src/Strategy/ExportModule.js +4 -4
  93. package/src/Strategy/FilterModule.js +1 -1
  94. package/src/Strategy/FlashingCellModule.js +7 -7
  95. package/src/Strategy/FormatColumnModule.js +8 -8
  96. package/src/Strategy/FreeTextColumnModule.js +1 -1
  97. package/src/Strategy/LayoutModule.js +2 -2
  98. package/src/Strategy/PlusMinusModule.js +3 -3
  99. package/src/Strategy/QueryModule.js +1 -1
  100. package/src/Strategy/ScheduleModule.js +2 -2
  101. package/src/Strategy/ShortcutModule.js +3 -3
  102. package/src/Strategy/StatusBarModule.d.ts +1 -1
  103. package/src/Strategy/TeamSharingModule.js +6 -6
  104. package/src/Strategy/ToolPanelModule.js +4 -4
  105. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +2 -2
  106. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +1 -1
  107. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  108. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  109. package/src/Utilities/Constants/GeneralConstants.js +2 -2
  110. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
  111. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -3
  112. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  113. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +35 -35
  114. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +18 -18
  115. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +10 -10
  116. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +48 -48
  117. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +19 -19
  118. package/src/Utilities/Extensions/StringExtensions.js +1 -1
  119. package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
  120. package/src/Utilities/Helpers/DateHelper.js +9 -9
  121. package/src/Utilities/Helpers/FormatHelper.js +2 -2
  122. package/src/Utilities/Helpers/Helper.js +3 -9
  123. package/src/Utilities/Helpers/LoggingHelper.js +1 -1
  124. package/src/Utilities/Helpers/StyleHelper.js +1 -1
  125. package/src/Utilities/Interface/Preview.d.ts +1 -1
  126. package/src/Utilities/ObjectFactory.d.ts +1 -1
  127. package/src/Utilities/ObjectFactory.js +30 -30
  128. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
  129. package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
  130. package/src/Utilities/Services/AlertService.js +3 -3
  131. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +1 -1
  132. package/src/Utilities/Services/CalculatedColumnExpressionService.js +3 -3
  133. package/src/Utilities/Services/DataService.js +1 -1
  134. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +1 -1
  135. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -1
  136. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
  137. package/src/Utilities/Services/Interface/IRowEditService.d.ts +1 -1
  138. package/src/Utilities/Services/LicenseService.js +1 -1
  139. package/src/Utilities/Services/MetamodelService.js +3 -3
  140. package/src/Utilities/Services/QueryLanguageService.d.ts +1 -1
  141. package/src/Utilities/Services/QueryLanguageService.js +2 -2
  142. package/src/Utilities/Services/ReportService.d.ts +1 -1
  143. package/src/Utilities/Services/ReportService.js +7 -7
  144. package/src/Utilities/Services/RowEditService.d.ts +1 -1
  145. package/src/Utilities/Services/TeamSharingService.js +1 -1
  146. package/src/Utilities/license/decode.js +1 -1
  147. package/src/View/AdaptableView.js +2 -2
  148. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +1 -1
  149. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +10 -10
  150. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +1 -1
  151. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +3 -3
  152. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +1 -1
  153. package/src/View/AdaptableWizardView/Wizard.js +6 -6
  154. package/src/View/AdaptableWizardView/helper.d.ts +1 -1
  155. package/src/View/AdaptableWizardView/helper.js +1 -1
  156. package/src/View/Alert/ActiveAlertsPanel.js +2 -2
  157. package/src/View/Alert/AlertEmptyView.js +1 -1
  158. package/src/View/Alert/AlertEntityRow.js +1 -1
  159. package/src/View/Alert/AlertStatusSubPanel.js +3 -3
  160. package/src/View/Alert/AlertViewPanel.js +2 -2
  161. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -5
  162. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
  163. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
  164. package/src/View/Alert/Wizard/AlertWizard.js +4 -4
  165. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
  166. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  167. package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
  168. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +2 -2
  169. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  170. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
  171. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +3 -3
  172. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
  173. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +4 -4
  174. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +5 -5
  175. package/src/View/CellSummary/CellSummaryPopup.js +1 -1
  176. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
  177. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
  178. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  179. package/src/View/ColorPicker.d.ts +1 -1
  180. package/src/View/ColorPicker.js +2 -2
  181. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  182. package/src/View/Components/AdaptableDateInput/index.js +4 -4
  183. package/src/View/Components/AdaptableInput/index.js +1 -1
  184. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -4
  185. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -4
  186. package/src/View/Components/AdaptableObjectRow/index.js +1 -1
  187. package/src/View/Components/Buttons/ButtonBase/index.js +1 -1
  188. package/src/View/Components/Buttons/ButtonDelete.js +1 -1
  189. package/src/View/Components/ColumnSelector/index.js +1 -1
  190. package/src/View/Components/EntityRulesEditor/index.js +3 -3
  191. package/src/View/Components/ExpressionWizard.js +1 -1
  192. package/src/View/Components/ExternalRenderer.js +1 -1
  193. package/src/View/Components/FilterForm/FilterForm.js +7 -7
  194. package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
  195. package/src/View/Components/FilterForm/QuickFilterForm.js +13 -13
  196. package/src/View/Components/ListBox/DualListBoxEditor.js +10 -10
  197. package/src/View/Components/ModuleValueSelector/index.js +6 -6
  198. package/src/View/Components/NewScopeComponent.js +3 -3
  199. package/src/View/Components/Panels/PanelToolPanel/index.js +1 -1
  200. package/src/View/Components/Panels/PanelWithImage.js +1 -1
  201. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +1 -1
  202. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -3
  203. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +8 -8
  204. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -4
  205. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +3 -3
  206. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
  207. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -1
  208. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
  209. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
  210. package/src/View/Components/Popups/AdaptablePopupPrompt.js +1 -1
  211. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
  212. package/src/View/Components/Popups/FormPopups/FormPopups.js +5 -5
  213. package/src/View/Components/Popups/Utilities.js +5 -5
  214. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +6 -6
  215. package/src/View/Components/RangesComponent.js +2 -2
  216. package/src/View/Components/Selectors/ColumnValueSelector.js +2 -2
  217. package/src/View/Components/TagValueSelector/index.js +2 -2
  218. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +2 -2
  219. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -6
  220. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -6
  221. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  222. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  223. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +6 -4
  224. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
  225. package/src/View/Components/ValueSelector/index.js +7 -7
  226. package/src/View/Components/WizardSummaryRow.js +1 -1
  227. package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
  228. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
  229. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -2
  230. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
  231. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -2
  232. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +3 -3
  233. package/src/View/CustomSort/CustomSortSummary.js +1 -1
  234. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
  235. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +9 -9
  236. package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
  237. package/src/View/Dashboard/CustomDashboardButton.js +2 -2
  238. package/src/View/Dashboard/CustomToolbarWrapper.js +7 -7
  239. package/src/View/Dashboard/Dashboard.js +4 -4
  240. package/src/View/Dashboard/DashboardPopup.js +1 -1
  241. package/src/View/Dashboard/DashboardViewPanel.js +1 -1
  242. package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
  243. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +7 -9
  244. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -7
  245. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +9 -9
  246. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  247. package/src/View/DataSet/DataSetSelector.js +1 -1
  248. package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
  249. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  250. package/src/View/DataSet/DataSetViewPanel.js +1 -1
  251. package/src/View/Export/ExportSelector.js +1 -1
  252. package/src/View/Export/ExportViewPanel.d.ts +2 -1
  253. package/src/View/Export/ExportViewPanel.js +14 -5
  254. package/src/View/Export/ReportExportDropdown.js +3 -3
  255. package/src/View/Export/Wizard/NewReportWizard.js +4 -4
  256. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +2 -2
  257. package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -2
  258. package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -3
  259. package/src/View/Filter/ActiveFiltersPanel.js +1 -1
  260. package/src/View/Filter/FilterSummary.d.ts +1 -1
  261. package/src/View/Filter/FilterSummary.js +2 -2
  262. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  263. package/src/View/Filter/FilterViewPanel.js +3 -3
  264. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
  265. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
  266. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +3 -3
  267. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
  268. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +7 -7
  269. package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
  270. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -5
  271. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
  272. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
  273. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -5
  274. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +6 -6
  275. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
  276. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -5
  277. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +4 -4
  278. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -2
  279. package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -4
  280. package/src/View/Layout/EditCurrentLayoutButton.js +1 -1
  281. package/src/View/Layout/LayoutCloneButton.js +1 -1
  282. package/src/View/Layout/LayoutRadioSelector.js +1 -1
  283. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
  284. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  285. package/src/View/Layout/LayoutViewPanel.js +2 -2
  286. package/src/View/Layout/SaveLayoutButton.js +3 -3
  287. package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
  288. package/src/View/Layout/Wizard/LayoutWizard.js +5 -5
  289. package/src/View/Layout/Wizard/sections/AggregationsSection.js +7 -7
  290. package/src/View/Layout/Wizard/sections/ColumnsSection.js +8 -8
  291. package/src/View/Layout/Wizard/sections/FilterSection.js +5 -5
  292. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +5 -5
  293. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +5 -5
  294. package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
  295. package/src/View/Layout/Wizard/sections/SortSection.js +6 -6
  296. package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
  297. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
  298. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +1 -1
  299. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +3 -3
  300. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +3 -3
  301. package/src/View/Query/EditCurrentQueryButton.js +1 -1
  302. package/src/View/Query/ExpandedQueryPopup.js +3 -3
  303. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  304. package/src/View/Query/QueryViewPanel.js +1 -1
  305. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -3
  306. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
  307. package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
  308. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  309. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +3 -3
  310. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  311. package/src/View/QuickSearch/QuickSearchViewPanel.js +2 -2
  312. package/src/View/QuickSearch/useQuickSearchDebounced.js +3 -3
  313. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
  314. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  315. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +2 -2
  316. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  317. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -2
  318. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
  319. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
  320. package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -4
  321. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  322. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
  323. package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
  324. package/src/View/StateManagement/StateManagementViewPanel.js +1 -1
  325. package/src/View/StateManagement/components/ExportDropdown.js +2 -2
  326. package/src/View/StateManagement/components/LoadButton.js +1 -1
  327. package/src/View/StateManagement/handleExportState.js +1 -1
  328. package/src/View/StatusBar/AdaptableStatusBar.js +5 -5
  329. package/src/View/StatusBar/StatusBarPopup.js +2 -2
  330. package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -1
  331. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  332. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -2
  333. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  334. package/src/View/SystemStatus/SystemStatusViewPanel.js +2 -2
  335. package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
  336. package/src/View/TeamSharing/SharedEntityObjectView.js +2 -2
  337. package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
  338. package/src/View/Theme/ThemePopup.js +1 -1
  339. package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
  340. package/src/View/Theme/ThemeViewPanel.js +2 -2
  341. package/src/View/Wizard/AdaptableWizard.js +1 -1
  342. package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
  343. package/src/View/Wizard/OnePageAdaptableWizard.js +5 -5
  344. package/src/View/Wizard/OnePageWizards.js +14 -12
  345. package/src/View/Wizard/useKeyboardNavigation.js +1 -1
  346. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  347. package/src/agGrid/ActionColumnRenderer.js +3 -3
  348. package/src/agGrid/Adaptable.d.ts +19 -11
  349. package/src/agGrid/Adaptable.js +157 -160
  350. package/src/agGrid/CheckboxRenderer.d.ts +1 -1
  351. package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
  352. package/src/agGrid/FilterWrapper.js +1 -1
  353. package/src/agGrid/FloatingFilterWrapper.js +1 -1
  354. package/src/agGrid/GroupCellRenderer.d.ts +1 -1
  355. package/src/agGrid/GroupCellRenderer.js +2 -2
  356. package/src/agGrid/PercentBarRenderer.js +1 -1
  357. package/src/agGrid/agGridHelper.d.ts +1 -1
  358. package/src/agGrid/agGridHelper.js +12 -13
  359. package/src/agGrid/agGridMenuHelper.d.ts +1 -1
  360. package/src/agGrid/agGridMenuHelper.js +5 -5
  361. package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
  362. package/src/agGrid/createAgStatusPanelComponent.js +1 -1
  363. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +3 -3
  364. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
  365. package/src/agGrid/editors/AdaptableDateEditor/index.js +5 -5
  366. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
  367. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -1
  368. package/src/agGrid/editors/AdaptableNumberEditor/index.js +4 -4
  369. package/src/agGrid/weightedAverage.d.ts +1 -1
  370. package/src/agGrid/weightedAverage.js +3 -3
  371. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
  372. package/src/components/AdaptableIconComponent/index.js +14 -17
  373. package/src/components/CheckBox/index.js +3 -3
  374. package/src/components/CodeBlock/index.js +1 -1
  375. package/src/components/Dashboard/Dashboard.js +8 -8
  376. package/src/components/Dashboard/DashboardToolbar.js +1 -1
  377. package/src/components/Datepicker/Caption.js +7 -7
  378. package/src/components/Datepicker/CaptionLabel.js +4 -4
  379. package/src/components/Datepicker/index.d.ts +1 -1
  380. package/src/components/Datepicker/index.js +10 -10
  381. package/src/components/Dialog/index.js +9 -9
  382. package/src/components/Dialog/useIsOpen.js +1 -1
  383. package/src/components/Dropdown/index.js +6 -6
  384. package/src/components/DropdownButton/index.js +7 -7
  385. package/src/components/DropdownButton/renderItem.js +1 -1
  386. package/src/components/DropdownButton/useExpanded.js +4 -4
  387. package/src/components/EllipsisContainer/index.js +8 -8
  388. package/src/components/EmptyContent/index.js +1 -1
  389. package/src/components/ErrorBox/index.js +1 -1
  390. package/src/components/ExpressionEditor/BaseEditorInput.js +20 -7
  391. package/src/components/ExpressionEditor/EditorButton.js +1 -1
  392. package/src/components/ExpressionEditor/EditorContext.js +2 -2
  393. package/src/components/ExpressionEditor/EditorInput.js +2 -2
  394. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +9 -9
  395. package/src/components/ExpressionEditor/NamedQueryContext.js +2 -2
  396. package/src/components/ExpressionEditor/index.js +8 -8
  397. package/src/components/FieldWrap/index.js +1 -1
  398. package/src/components/FileDroppable/index.js +4 -4
  399. package/src/components/FormLayout/index.js +4 -4
  400. package/src/components/HelpBlock/index.js +1 -1
  401. package/src/components/Input/index.d.ts +1 -1
  402. package/src/components/Input/index.js +1 -1
  403. package/src/components/List/GridList/index.js +1 -1
  404. package/src/components/List/ListGroup/index.js +1 -1
  405. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  406. package/src/components/List/ListGroupItem/index.js +2 -2
  407. package/src/components/Modal/Backdrop.js +5 -5
  408. package/src/components/Modal/index.js +5 -5
  409. package/src/components/NotifyResize/index.js +1 -1
  410. package/src/components/OverlayTrigger/Overlay.js +15 -15
  411. package/src/components/OverlayTrigger/getOverlayStyle.js +1 -1
  412. package/src/components/OverlayTrigger/index.js +24 -24
  413. package/src/components/OverlayTrigger/useAgGridClassName.js +2 -2
  414. package/src/components/Panel/index.js +3 -3
  415. package/src/components/PopupWithFooter.d.ts +1 -1
  416. package/src/components/ProgressIndicator/ProgressIndicator.js +5 -5
  417. package/src/components/Radio/index.js +3 -3
  418. package/src/components/ResizeObserver/index.js +10 -10
  419. package/src/components/SelectableList/index.js +4 -4
  420. package/src/components/SimpleButton/index.js +3 -3
  421. package/src/components/StylePreview.js +1 -1
  422. package/src/components/Table/index.js +1 -1
  423. package/src/components/Tabs/index.js +6 -7
  424. package/src/components/Tag/Tag.js +1 -1
  425. package/src/components/Textarea/index.d.ts +1 -1
  426. package/src/components/Textarea/index.js +1 -1
  427. package/src/components/ToggleButton/index.js +1 -1
  428. package/src/components/WindowModal/WindowModal.js +4 -4
  429. package/src/components/WindowModal/useStacking.js +1 -1
  430. package/src/components/WizardPanel/index.js +1 -1
  431. package/src/components/icons/DefaultIcon.js +2 -2
  432. package/src/components/icons/index.js +1 -1
  433. package/src/components/utils/batchUpdate.js +1 -1
  434. package/src/components/utils/useAutoFocus.js +2 -2
  435. package/src/components/utils/useContainerScrollObserver/index.js +7 -7
  436. package/src/components/utils/useDraggable.js +5 -5
  437. package/src/components/utils/useLatest.js +2 -2
  438. package/src/components/utils/usePrevious.js +2 -2
  439. package/src/components/utils/usePropState.js +1 -1
  440. package/src/components/utils/useProperty.js +2 -2
  441. package/src/components/utils/useRerender.js +2 -2
  442. package/src/components/utils/useSelectionRange.js +3 -3
  443. package/src/components/utils/uuid.js +1 -1
  444. package/src/metamodel/adaptable.metamodel.d.ts +18 -0
  445. package/src/metamodel/adaptable.metamodel.js +1 -1
  446. package/src/parser/src/index.js +1 -1
  447. package/src/types.d.ts +1 -0
  448. package/version.d.ts +1 -1
  449. package/version.js +1 -1
@@ -30,8 +30,8 @@ const isValidReportName = (report, api) => {
30
30
  };
31
31
  exports.isValidReportName = isValidReportName;
32
32
  const ReportNameWizardSection = (props) => {
33
- const { api, data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
34
- const validCheck = exports.isValidReportName(data, api);
33
+ const { api, data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
34
+ const validCheck = (0, exports.isValidReportName)(data, api);
35
35
  const ErrorMessage = validCheck === true ? null : validCheck;
36
36
  return (React.createElement(React.Fragment, null,
37
37
  React.createElement(rebass_1.Box, null,
@@ -19,7 +19,7 @@ const isValidReportRowsQuery = (report) => {
19
19
  };
20
20
  exports.isValidReportRowsQuery = isValidReportRowsQuery;
21
21
  const renderReportRowsSummary = (report) => {
22
- const { api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
22
+ const { api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
23
23
  return (React.createElement(rebass_1.Box, { fontSize: 2 },
24
24
  report.ReportRowScope === 'AllRows' ? (React.createElement(React.Fragment, null,
25
25
  "Include ",
@@ -37,8 +37,8 @@ const renderReportRowsSummary = (report) => {
37
37
  exports.renderReportRowsSummary = renderReportRowsSummary;
38
38
  const ReportRowsWizardSection = (props) => {
39
39
  var _a, _b;
40
- const { api, data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
41
- const initialData = react_1.useMemo(() => api.internalApi.getQueryPreviewData(), []);
40
+ const { api, data, moduleInfo } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
41
+ const initialData = (0, react_1.useMemo)(() => api.internalApi.getQueryPreviewData(), []);
42
42
  return (React.createElement(React.Fragment, null,
43
43
  React.createElement(Tabs_1.Tabs, { m: 2, value: data.ReportRowScope, onValueChange: (ReportRowScope) => {
44
44
  const report = Object.assign(Object.assign({}, data), { ReportRowScope });
@@ -7,7 +7,7 @@ const AdaptableContext_1 = require("../AdaptableContext");
7
7
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
8
8
  const AdaptableObjectCompactList_1 = require("../Components/AdaptableObjectList/AdaptableObjectCompactList");
9
9
  const ActiveFiltersPanel = () => {
10
- const adaptable = AdaptableContext_1.useAdaptable();
10
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
11
11
  const filterModule = adaptable.ModuleService.getModuleById(ModuleConstants.FilterModuleId);
12
12
  const columnFilters = adaptable.api.filterApi.getColumnFilters();
13
13
  return React.createElement(AdaptableObjectCompactList_1.AdaptableObjectCompactList, { abObjects: columnFilters, module: filterModule });
@@ -12,4 +12,4 @@ export declare class FilterSummaryComponent extends React.Component<FilterSummar
12
12
  render(): any;
13
13
  getDescription(columnFilter: ColumnFilter): string;
14
14
  }
15
- export declare let FilterSummary: import("react-redux").ConnectedComponent<typeof FilterSummaryComponent, import("react-redux").Omit<React.ClassAttributes<FilterSummaryComponent> & FilterSummaryProps, "onClearPopupParams" | "ColumnFilters" | "onShare" | "onClearFilter">>;
15
+ export declare let FilterSummary: import("react-redux").ConnectedComponent<typeof FilterSummaryComponent, import("react-redux").Omit<React.ClassAttributes<FilterSummaryComponent> & FilterSummaryProps, "ColumnFilters" | "onClearPopupParams" | "onShare" | "onClearFilter">>;
@@ -40,7 +40,7 @@ class FilterSummaryComponent extends React.Component {
40
40
  exports.FilterSummaryComponent = FilterSummaryComponent;
41
41
  function mapStateToProps(state) {
42
42
  return {
43
- ColumnFilters: LayoutRedux_1.getColumnFilterSelector(state),
43
+ ColumnFilters: (0, LayoutRedux_1.getColumnFilterSelector)(state),
44
44
  };
45
45
  }
46
46
  function mapDispatchToProps(dispatch) {
@@ -50,4 +50,4 @@ function mapDispatchToProps(dispatch) {
50
50
  onShare: (entity, config) => dispatch(TeamSharingRedux.TeamSharingShare(entity, ModuleConstants.FilterModuleId, config)),
51
51
  };
52
52
  }
53
- exports.FilterSummary = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(FilterSummaryComponent);
53
+ exports.FilterSummary = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(FilterSummaryComponent);
@@ -18,5 +18,5 @@ declare class FilterViewPanelComponent extends React.Component<FilterViewPanelCo
18
18
  private onClearFilters;
19
19
  private onClearColumnFilter;
20
20
  }
21
- export declare const FilterViewPanelControl: import("react-redux").ConnectedComponent<typeof FilterViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<FilterViewPanelComponent> & FilterViewPanelComponentProps, "api" | "accessLevel" | "IsQuickFilterVisible" | "moduleInfo" | "Columns" | "ColumnFilters" | "viewType" | "onHideQuickFilterBar" | "onShowQuickFilterBar" | "Entitlements">>;
21
+ export declare const FilterViewPanelControl: import("react-redux").ConnectedComponent<typeof FilterViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<FilterViewPanelComponent> & FilterViewPanelComponentProps, "api" | "Columns" | "ColumnFilters" | "moduleInfo" | "accessLevel" | "IsQuickFilterVisible" | "viewType" | "onHideQuickFilterBar" | "onShowQuickFilterBar" | "Entitlements">>;
22
22
  export {};
@@ -37,7 +37,7 @@ class FilterViewPanelComponent extends React.Component {
37
37
  React.createElement(rebass_1.Flex, null,
38
38
  ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.props.ColumnFilters) && (React.createElement(AdaptablePopover_1.AdaptablePopover, { popupPadding: 0, className: `ab-${elementType}__Filter__info`, headerText: "", bodyText: [React.createElement(ActiveFiltersPanel_1.ActiveFiltersPanel, null)], useButton: true, showEvent: 'focus', hideEvent: "blur", popoverMinWidth: 400 })),
39
39
  showClearButton && (React.createElement(ButtonClear_1.ButtonClear, { className: `ab-${elementType}__Filter__clear`, marginLeft: 1, marginBottom: 0, marginRight: 1, onClick: () => this.onClearFilters(), tooltip: "Clear Filters", disabled: this.props.ColumnFilters.length == 0, showText: this.props.viewType === 'ToolPanel' }, this.props.viewType === 'ToolPanel' && 'Clear')),
40
- showSuspendFilterButton && (React.createElement(SimpleButton_1.default, { className: join_1.default(`ab-${elementType}__Filter__suspend-button`, isAtLeastOneFilterActive && `ab-${elementType}__Filter__suspend-all`, !isAtLeastOneFilterActive && `ab-${elementType}__Filter__un-suspend-all`), disabled: !isAtLeastOneFilter, onClick: handleSuspendUnsuspendAll, tone: isAtLeastOneFilterActive ? 'neutral' : 'success', variant: "text", icon: isAtLeastOneFilterActive ? 'pause' : 'play', accessLevel: this.props.accessLevel }))),
40
+ showSuspendFilterButton && (React.createElement(SimpleButton_1.default, { className: (0, join_1.default)(`ab-${elementType}__Filter__suspend-button`, isAtLeastOneFilterActive && `ab-${elementType}__Filter__suspend-all`, !isAtLeastOneFilterActive && `ab-${elementType}__Filter__un-suspend-all`), disabled: !isAtLeastOneFilter, onClick: handleSuspendUnsuspendAll, tone: isAtLeastOneFilterActive ? 'neutral' : 'success', variant: "text", icon: isAtLeastOneFilterActive ? 'pause' : 'play', accessLevel: this.props.accessLevel }))),
41
41
  React.createElement(rebass_1.Flex, { alignItems: "center" }, this.props.api.filterApi.isQuickFilterAvailable() && (React.createElement(CheckBox_1.CheckBox, { className: `ab-${elementType}__Filter__active-check`, disabled: this.props.accessLevel === 'ReadOnly' ||
42
42
  this.props.api.internalApi.isGridInPivotMode(), marginTop: 0, marginBottom: 0, fontSize: 2, padding: 1, checked: this.props.IsQuickFilterVisible, onChange: (checked) => {
43
43
  checked ? this.props.onShowQuickFilterBar() : this.props.onHideQuickFilterBar();
@@ -52,7 +52,7 @@ class FilterViewPanelComponent extends React.Component {
52
52
  }
53
53
  function mapStateToProps(state) {
54
54
  return {
55
- ColumnFilters: LayoutRedux_1.getColumnFilterSelector(state),
55
+ ColumnFilters: (0, LayoutRedux_1.getColumnFilterSelector)(state),
56
56
  IsQuickFilterVisible: state.System.IsQuickFilterVisible,
57
57
  };
58
58
  }
@@ -62,4 +62,4 @@ function mapDispatchToProps(dispatch) {
62
62
  onShowQuickFilterBar: () => dispatch(SystemRedux.SystemQuickFilterBarShow()),
63
63
  };
64
64
  }
65
- exports.FilterViewPanelControl = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(FilterViewPanelComponent);
65
+ exports.FilterViewPanelControl = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(FilterViewPanelComponent);
@@ -8,7 +8,7 @@ const CodeBlock_1 = require("../../../components/CodeBlock");
8
8
  const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
9
9
  const renderFlashingAlertRulesSummary = (flashingAlert) => {
10
10
  var _a;
11
- const { api: { flashingCellApi }, } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
11
+ const { api: { flashingCellApi }, } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
12
12
  const FlashTarget = (_a = flashingAlert.FlashTarget) !== null && _a !== void 0 ? _a : flashingCellApi.getFlashingCellFlashTarget(flashingAlert);
13
13
  return (React.createElement(EntityRulesEditor_1.EntityRulesSummary, { data: flashingAlert, renderPredicate: (content) => {
14
14
  return (React.createElement(React.Fragment, null,
@@ -29,7 +29,7 @@ const renderFlashingAlertRulesSummary = (flashingAlert) => {
29
29
  };
30
30
  exports.renderFlashingAlertRulesSummary = renderFlashingAlertRulesSummary;
31
31
  const FlashingAlertRulesWizardSection = (props) => {
32
- const { data, api, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
32
+ const { data, api, moduleInfo } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
33
33
  const predicateDefs = api.flashingCellApi.getFlashingCellPredicateDefsForScope(data.Scope);
34
34
  return (React.createElement(EntityRulesEditor_1.EntityRulesEditor, { module: moduleInfo.ModuleName, defaultPredicateId: "Any", data: data, predicateDefs: predicateDefs, onChange: props.onChange, showAggregation: false, showObservable: false, showBoolean: true, showPredicate: true, descriptions: {
35
35
  selectPredicate: 'Select an Flashing Cell Rule - to be applied when data changes',
@@ -7,7 +7,7 @@ const rebass_1 = require("rebass");
7
7
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
8
8
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
9
9
  const FlashingAlertScopeWizardSection = (props) => {
10
- const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
10
+ const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
11
11
  return (React.createElement(rebass_1.Flex, { flexDirection: "column", style: { height: '100%' }, padding: 2 },
12
12
  React.createElement(NewScopeComponent_1.NewScopeComponent, { descriptions: {
13
13
  rowScope: 'Changes anywhere in the row will trigger an Flashing Cell',
@@ -24,15 +24,15 @@ const renderFlashingAlertSettingsSummary = (flashingAlert) => {
24
24
  exports.renderFlashingAlertSettingsSummary = renderFlashingAlertSettingsSummary;
25
25
  const FlashingAlertSettingsWizardSection = (props) => {
26
26
  var _a, _b, _c, _d, _e, _f, _g;
27
- let { data: flashingCell } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
27
+ let { data: flashingCell } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
28
28
  flashingCell = flashingCell !== null && flashingCell !== void 0 ? flashingCell : props.flashingCell;
29
29
  const setDuration = (FlashDuration) => {
30
30
  props.onChange(Object.assign(Object.assign({}, flashingCell), { FlashDuration: FlashDuration }));
31
31
  };
32
32
  const duration = (_a = flashingCell.FlashDuration) !== null && _a !== void 0 ? _a : 500;
33
33
  const numberDuration = React.useRef(typeof duration === 'number' ? duration : 500);
34
- const inputRef = react_1.useRef(null);
35
- const oldDuration = usePrevious_1.default(duration, duration);
34
+ const inputRef = (0, react_1.useRef)(null);
35
+ const oldDuration = (0, usePrevious_1.default)(duration, duration);
36
36
  React.useEffect(() => {
37
37
  var _a;
38
38
  if (oldDuration === 'always' && duration != oldDuration) {
@@ -11,7 +11,7 @@ const StylePreview_1 = require("../../../components/StylePreview");
11
11
  const changeStyle = (React.createElement(rebass_1.Text, { fontSize: 2, style: { display: 'inline-block' } }, "Change style"));
12
12
  const FlashingAlertStyleWizardSection = (props) => {
13
13
  var _a, _b, _c;
14
- let { data: flashingAlert, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
14
+ let { data: flashingAlert, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
15
15
  flashingAlert = flashingAlert !== null && flashingAlert !== void 0 ? flashingAlert : props.flashingAlert;
16
16
  return (React.createElement(React.Fragment, null,
17
17
  React.createElement(Tabs_1.Tabs, { defaultValue: "up" },
@@ -20,10 +20,10 @@ const isValidFlashingCellRules_1 = require("./isValidFlashingCellRules");
20
20
  const FlashingCellRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/FlashingCellRedux"));
21
21
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
22
22
  const FlashingCellWizard = (props) => {
23
- const { api } = AdaptableContext_1.useAdaptable();
24
- const [flashingCell, setFlashingCell] = react_1.useState(() => {
23
+ const { api } = (0, AdaptableContext_1.useAdaptable)();
24
+ const [flashingCell, setFlashingCell] = (0, react_1.useState)(() => {
25
25
  let flashingCell = props.data
26
- ? Helper_1.cloneObject(props.data)
26
+ ? (0, Helper_1.cloneObject)(props.data)
27
27
  : ObjectFactory_1.default.CreateEmptyFlashingCellDefinition();
28
28
  flashingCell = api.flashingCellApi.mergeFlashingCellDefinitionWithDefaults(flashingCell);
29
29
  if (!flashingCell.Rule.BooleanExpression && !flashingCell.Rule.Predicate) {
@@ -40,14 +40,14 @@ const FlashingCellWizard = (props) => {
40
40
  };
41
41
  };
42
42
  const updateStyles = {
43
- DownChangeStyle: react_1.useCallback(updateProperty('DownChangeStyle'), []),
44
- UpChangeStyle: react_1.useCallback(updateProperty('UpChangeStyle'), []),
45
- NeutralChangeStyle: react_1.useCallback(updateProperty('NeutralChangeStyle'), []),
43
+ DownChangeStyle: (0, react_1.useCallback)(updateProperty('DownChangeStyle'), []),
44
+ UpChangeStyle: (0, react_1.useCallback)(updateProperty('UpChangeStyle'), []),
45
+ NeutralChangeStyle: (0, react_1.useCallback)(updateProperty('NeutralChangeStyle'), []),
46
46
  };
47
47
  const flashStyleComponent = (React.createElement(FlashingCellStyleWizardSection_1.FlashingAlertStyleWizardSection, { onStyleChange: (styleName, style) => {
48
48
  updateStyles[styleName](style);
49
49
  } }));
50
- const dispatch = react_redux_1.useDispatch();
50
+ const dispatch = (0, react_redux_1.useDispatch)();
51
51
  const handleFinish = () => {
52
52
  if (props.data) {
53
53
  dispatch(FlashingCellRedux.FlashingCellDefinitionEdit(flashingCell));
@@ -93,4 +93,4 @@ function mapDispatchToProps(dispatch) {
93
93
  onShare: (entity, config) => dispatch(TeamSharingRedux.TeamSharingShare(entity, ModuleConstants.FormatColumnModuleId, config)),
94
94
  };
95
95
  }
96
- exports.FormatColumnSummary = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(FormatColumnSummaryComponent);
96
+ exports.FormatColumnSummary = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(FormatColumnSummaryComponent);
@@ -113,7 +113,7 @@ const renderCustomFormatter = (data, customFormatter, setFormatOption) => {
113
113
  } })));
114
114
  };
115
115
  const renderFormatColumnFormatSummary = (data) => {
116
- return React.createElement(Tag_1.Tag, null, exports.getFormatColumnFormatSummaryValue(data));
116
+ return React.createElement(Tag_1.Tag, null, (0, exports.getFormatColumnFormatSummaryValue)(data));
117
117
  };
118
118
  exports.renderFormatColumnFormatSummary = renderFormatColumnFormatSummary;
119
119
  const getFormatDisplayTypeForScope = (scope, api) => {
@@ -126,7 +126,7 @@ const getFormatDisplayTypeForScope = (scope, api) => {
126
126
  // need to see if all columns are numeric or date
127
127
  if ('ColumnIds' in scope) {
128
128
  const columns = scope.ColumnIds.map((c) => api.columnApi.getColumnFromId(c));
129
- const columnDataTypes = uniq_1.default(columns.map((c) => c.dataType));
129
+ const columnDataTypes = (0, uniq_1.default)(columns.map((c) => c.dataType));
130
130
  if (columnDataTypes.length == 1 && columnDataTypes[0] == 'Number') {
131
131
  return 'Number';
132
132
  }
@@ -264,7 +264,7 @@ const renderNumberFormat = (data, onChange, setFormatOption, scopedCustomFormatt
264
264
  value: typeof data.DisplayFormat.Options.FractionDigits === 'number'
265
265
  ? data.DisplayFormat.Options.FractionDigits
266
266
  : '', onChange: (e) => setFormatOption('FractionDigits', StringExtensions_1.default.IsNumeric(e.currentTarget.value)
267
- ? clamp_1.default(Number(e.currentTarget.value), 0, 20)
267
+ ? (0, clamp_1.default)(Number(e.currentTarget.value), 0, 20)
268
268
  : undefined) })),
269
269
  React.createElement(FormLayout_1.FormRow, { label: "Integer Digits" },
270
270
  React.createElement(Input_1.default, { type: "number", min: "0", value: data.DisplayFormat.Options.IntegerDigits, onChange: (e) => setFormatOption('IntegerDigits', Number(e.currentTarget.value)) })),
@@ -364,8 +364,8 @@ const renderStringFormat = (data, _onChange, setFormatOption, scopedCustomFormat
364
364
  };
365
365
  const FormatColumnFormatWizardSection = (props) => {
366
366
  var _a, _b, _c;
367
- const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
368
- const adaptable = AdaptableContext_1.useAdaptable();
367
+ const { data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
368
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
369
369
  const formatColumnApi = adaptable.api.formatColumnApi;
370
370
  const customDisplayFormatters = (_c = (_b = (_a = adaptable.adaptableOptions) === null || _a === void 0 ? void 0 : _a.userInterfaceOptions) === null || _b === void 0 ? void 0 : _b.customDisplayFormatters) !== null && _c !== void 0 ? _c : [];
371
371
  const update = (updated) => {
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
7
7
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
8
8
  const renderFormatColumnScopeSummary = (data) => {
9
- return NewScopeComponent_1.renderScopeSummary(data.Scope, {
9
+ return (0, NewScopeComponent_1.renderScopeSummary)(data.Scope, {
10
10
  scopeWholeRow: 'Matching rows will be formatted',
11
11
  scopeColumns: 'Cells in selected columns will be formatted',
12
12
  scopeDataTypes: 'Cells in columns of the selected data-types will be formatted',
@@ -14,7 +14,7 @@ const renderFormatColumnScopeSummary = (data) => {
14
14
  };
15
15
  exports.renderFormatColumnScopeSummary = renderFormatColumnScopeSummary;
16
16
  const FormatColumnScopeWizardSection = (props) => {
17
- const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
17
+ const { data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
18
18
  return (React.createElement(NewScopeComponent_1.NewScopeComponent, { descriptions: {
19
19
  rowScope: 'Apply a style to an entire row',
20
20
  columnScope: 'Select columns to format',
@@ -34,7 +34,7 @@ const renderFormatColumnSettingsSummary = (data) => {
34
34
  };
35
35
  exports.renderFormatColumnSettingsSummary = renderFormatColumnSettingsSummary;
36
36
  const FormatColumnSettingsWizardSection = (props) => {
37
- const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
37
+ const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
38
38
  const onCellAlignmentSelectChanged = (CellAlignment) => {
39
39
  props.onChange(Object.assign(Object.assign({}, data), { CellAlignment }));
40
40
  };
@@ -45,12 +45,12 @@ const FormatColumnSettingsWizardSection = (props) => {
45
45
  let e = event.target;
46
46
  props.onChange(Object.assign(Object.assign({}, data), { HeaderName: e.value }));
47
47
  };
48
- const [hasHeaderName, setHasHeaderName] = react_1.useState(false);
49
- react_1.useEffect(() => {
48
+ const [hasHeaderName, setHasHeaderName] = (0, react_1.useState)(false);
49
+ (0, react_1.useEffect)(() => {
50
50
  const hasCustomHeaderName = StringExtensions_1.default.IsNotNullOrEmpty(data.HeaderName);
51
51
  setHasHeaderName(hasCustomHeaderName);
52
52
  if (hasCustomHeaderName) {
53
- LoggingHelper_1.ConsoleLogWarning(`DEPRECATED: The 'FormatColumn.HeaderName' property is deprecated; use a Layout custom Column Header instead!`);
53
+ (0, LoggingHelper_1.ConsoleLogWarning)(`DEPRECATED: The 'FormatColumn.HeaderName' property is deprecated; use a Layout custom Column Header instead!`);
54
54
  }
55
55
  }, []);
56
56
  return (React.createElement(Tabs_1.Tabs, null,
@@ -42,7 +42,7 @@ const isFormatColumnStyleValid = (data, api) => {
42
42
  };
43
43
  exports.isFormatColumnStyleValid = isFormatColumnStyleValid;
44
44
  const toStyle = (style) => {
45
- return Object.assign(Object.assign({}, StyleHelper_1.convertAdaptableStyleToCSS(style !== null && style !== void 0 ? style : {})), { borderWidth: (style === null || style === void 0 ? void 0 : style.BorderColor) ? 2 : 0, borderStyle: 'solid' });
45
+ return Object.assign(Object.assign({}, (0, StyleHelper_1.convertAdaptableStyleToCSS)(style !== null && style !== void 0 ? style : {})), { borderWidth: (style === null || style === void 0 ? void 0 : style.BorderColor) ? 2 : 0, borderStyle: 'solid' });
46
46
  };
47
47
  const getRanges = (ranges) => {
48
48
  return ranges.map((r, i) => (React.createElement(rebass_1.Flex, { key: i, alignItems: "center", mr: 3 },
@@ -77,8 +77,8 @@ const getColumnComparison = (columnComparison, api) => {
77
77
  } })));
78
78
  };
79
79
  const renderFormatColumnStyleWizardSummary = (data) => {
80
- const { api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
81
- return exports.renderFormatColumnStyleSummary(data, api);
80
+ const { api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
81
+ return (0, exports.renderFormatColumnStyleSummary)(data, api);
82
82
  };
83
83
  exports.renderFormatColumnStyleWizardSummary = renderFormatColumnStyleWizardSummary;
84
84
  const renderFormatColumnStyleSummary = (data, api) => {
@@ -112,7 +112,7 @@ const renderFormatColumnStyleSummary = (data, api) => {
112
112
  exports.renderFormatColumnStyleSummary = renderFormatColumnStyleSummary;
113
113
  function FormatColumnStyleWizardSection(props) {
114
114
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
115
- const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
115
+ const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
116
116
  const singleNumericColumn = api.scopeApi.isSingleNumericColumnScope(data.Scope);
117
117
  const onlyBooleanColumnsInScope = api.scopeApi.areAllBooleanColumnsInScope(data.Scope) ||
118
118
  api.scopeApi.scopeHasOnlyBooleanDataType(data.Scope);
@@ -219,7 +219,7 @@ function FormatColumnStyleWizardSection(props) {
219
219
  const onUsePercentStyleColorCheckChanged = (checked) => {
220
220
  var _a;
221
221
  let percentBarStyle = (_a = data.ColumnStyle) === null || _a === void 0 ? void 0 : _a.PercentBarStyle;
222
- percentBarStyle.BackColor = checked ? UIHelper_1.getHexForName(UIHelper_1.GRAY) : null;
222
+ percentBarStyle.BackColor = checked ? (0, UIHelper_1.getHexForName)(UIHelper_1.GRAY) : null;
223
223
  props.onChange(Object.assign(Object.assign({}, data), { ColumnStyle: {
224
224
  PercentBarStyle: percentBarStyle,
225
225
  } }));
@@ -19,7 +19,7 @@ const FormatColumnRedux = tslib_1.__importStar(require("../../../Redux/ActionsRe
19
19
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
20
20
  const adjustDisplayFormat = (formatColumn, api) => {
21
21
  formatColumn = Object.assign({}, formatColumn);
22
- const formatDataType = FormatColumnFormatWizardSection_1.getFormatDisplayTypeForScope(formatColumn.Scope, api);
22
+ const formatDataType = (0, FormatColumnFormatWizardSection_1.getFormatDisplayTypeForScope)(formatColumn.Scope, api);
23
23
  if (!formatDataType && formatColumn.DisplayFormat) {
24
24
  formatColumn.DisplayFormat = undefined;
25
25
  }
@@ -73,11 +73,11 @@ const adjustFormatColumn = (formatColumn, api) => {
73
73
  };
74
74
  function FormatColumnWizard(props) {
75
75
  var _a, _b;
76
- const { api } = AdaptableContext_1.useAdaptable();
76
+ const { api } = (0, AdaptableContext_1.useAdaptable)();
77
77
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.value;
78
- const [formatColumn, doSetFormatColumn] = react_1.useState(() => {
78
+ const [formatColumn, doSetFormatColumn] = (0, react_1.useState)(() => {
79
79
  var _a, _b, _c, _d;
80
- let formatColumn = data ? Helper_1.cloneObject(data) : ObjectFactory_1.default.CreateEmptyFormatColumn();
80
+ let formatColumn = data ? (0, Helper_1.cloneObject)(data) : ObjectFactory_1.default.CreateEmptyFormatColumn();
81
81
  formatColumn.Scope = (_a = formatColumn.Scope) !== null && _a !== void 0 ? _a : {
82
82
  ColumnIds: [],
83
83
  };
@@ -92,7 +92,7 @@ function FormatColumnWizard(props) {
92
92
  const setFormatColumn = React.useCallback((formatColumn) => {
93
93
  doSetFormatColumn(adjustFormatColumn(formatColumn, api));
94
94
  }, []);
95
- const dispatch = react_redux_1.useDispatch();
95
+ const dispatch = (0, react_redux_1.useDispatch)();
96
96
  const handleFinish = () => {
97
97
  if (data) {
98
98
  dispatch(FormatColumnRedux.FormatColumnEdit(formatColumn));
@@ -125,7 +125,7 @@ function FormatColumnWizard(props) {
125
125
  },
126
126
  {
127
127
  title: 'Display Format',
128
- renderSummary: (data) => FormatColumnFormatWizardSection_1.renderFormatColumnFormatSummary(data),
128
+ renderSummary: (data) => (0, FormatColumnFormatWizardSection_1.renderFormatColumnFormatSummary)(data),
129
129
  render: () => {
130
130
  return React.createElement(FormatColumnFormatWizardSection_1.FormatColumnFormatWizardSection, { onChange: setFormatColumn });
131
131
  },
@@ -90,4 +90,4 @@ function mapDispatchToProps(dispatch) {
90
90
  onShare: (entity, config) => dispatch(TeamSharingRedux.TeamSharingShare(entity, ModuleConstants.FreeTextColumnModuleId, config)),
91
91
  };
92
92
  }
93
- exports.FreeTextColumnSummary = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(FreeTextColumnSummaryComponent);
93
+ exports.FreeTextColumnSummary = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(FreeTextColumnSummaryComponent);
@@ -61,11 +61,11 @@ const isValidFreeTextColumn = (data, api) => {
61
61
  exports.isValidFreeTextColumn = isValidFreeTextColumn;
62
62
  const FreeTextColumnSettingsWizardSection = (props) => {
63
63
  var _a;
64
- const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
64
+ const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
65
65
  const Pattern = api.internalApi.getAdaptableOptions().userInterfaceOptions.dateInputOptions.dateFormat;
66
- const [ColumnNameFocused, setColumnNameFocused] = react_1.useState(false);
66
+ const [ColumnNameFocused, setColumnNameFocused] = (0, react_1.useState)(false);
67
67
  const inEdit = props.isEdit;
68
- const validCheck = exports.isValidFreeTextColumn(data, api);
68
+ const validCheck = (0, exports.isValidFreeTextColumn)(data, api);
69
69
  const ErrorMessage = validCheck === true ? null : validCheck;
70
70
  const handleColumnIdChange = (event) => {
71
71
  let e = event.target;
@@ -94,7 +94,7 @@ const FreeTextColumnSettingsWizardSection = (props) => {
94
94
  let e = event.target;
95
95
  let DefaultValue = e.value;
96
96
  if (data.DataType === 'Date') {
97
- DefaultValue = FormatHelper_1.DateFormatter(DefaultValue, {
97
+ DefaultValue = (0, FormatHelper_1.DateFormatter)(DefaultValue, {
98
98
  Pattern,
99
99
  });
100
100
  }
@@ -127,7 +127,7 @@ const FreeTextColumnSettingsWizardSection = (props) => {
127
127
  React.createElement(FormLayout_1.FormRow, { label: "Default Value" }, data.DataType === 'Boolean' ? (React.createElement(CheckBox_1.CheckBox, { checked: !!data.DefaultValue, onChange: (DefaultValue) => {
128
128
  props.onChange(Object.assign(Object.assign({}, data), { DefaultValue }));
129
129
  } })) : (React.createElement(AdaptableInput_1.default, { value: data.DataType === 'Date' && data.DefaultValue
130
- ? DateHelper_1.parseToISO(data.DefaultValue, Pattern) || ''
130
+ ? (0, DateHelper_1.parseToISO)(data.DefaultValue, Pattern) || ''
131
131
  : data.DefaultValue || '', style: { width: '100%', maxWidth: 500 }, type: data.DataType === 'Number' ? 'number' : data.DataType === 'Date' ? 'date' : 'text', placeholder: "Default Column Value (not required)", onChange: (e) => handleDefaultValueChange(e) }))),
132
132
  React.createElement(FormLayout_1.FormRow, { label: "Header Tooltip" },
133
133
  React.createElement(Input_1.default, { "data-name": "header-tooltip", type: "text", style: { width: '100%', maxWidth: 500 }, value: ((_a = data.FreeTextColumnSettings) === null || _a === void 0 ? void 0 : _a.HeaderToolTip) || '', onChange: (e) => handleSpecialColumnSettingsChange({
@@ -14,18 +14,18 @@ const react_redux_1 = require("react-redux");
14
14
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
15
15
  const FreeTextColumnWizard = (props) => {
16
16
  var _a;
17
- const allFreeTextColumns = react_redux_1.useSelector((state) => state.FreeTextColumn.FreeTextColumns);
18
- const [freeTextColumn, setFreeTextColumn] = react_1.useState(() => {
17
+ const allFreeTextColumns = (0, react_redux_1.useSelector)((state) => state.FreeTextColumn.FreeTextColumns);
18
+ const [freeTextColumn, setFreeTextColumn] = (0, react_1.useState)(() => {
19
19
  var _a, _b;
20
20
  if (props.data) {
21
- return Helper_1.cloneObject(props.data);
21
+ return (0, Helper_1.cloneObject)(props.data);
22
22
  }
23
23
  if (((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.action) === 'Edit' && ((_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.column)) {
24
24
  return allFreeTextColumns.find((column) => column.ColumnId === props.popupParams.column.columnId);
25
25
  }
26
26
  return ObjectFactory_1.default.CreateEmptyFreeTextColumn();
27
27
  });
28
- const dispatch = react_redux_1.useDispatch();
28
+ const dispatch = (0, react_redux_1.useDispatch)();
29
29
  const isEdit = props.data || ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.action) === 'Edit';
30
30
  const handleFinish = () => {
31
31
  if (isEdit) {
@@ -8,8 +8,8 @@ const rebass_1 = require("rebass");
8
8
  const AdaptableContext_1 = require("../AdaptableContext");
9
9
  const AdaptableObjectList_1 = require("../Components/AdaptableObjectList");
10
10
  const AdaptableObjectsSummary = () => {
11
- const state = react_redux_1.useSelector((state) => state);
12
- const adaptable = AdaptableContext_1.useAdaptable();
11
+ const state = (0, react_redux_1.useSelector)((state) => state);
12
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
13
13
  const modules = adaptable.ModuleService.getModuleCollection();
14
14
  const baseClassName = 'ab-AdaptableObjectsSummary';
15
15
  return (React.createElement(rebass_1.Box, { className: baseClassName }, [...modules].map(([moduleName, module]) => {
@@ -69,9 +69,9 @@ const AdaptableOptionsComponent = (props) => {
69
69
  });
70
70
  return (React.createElement(AdaptableObjectCollection_1.AdaptableObjectCollection, { colItems: getAdaptableOptionsColItems(), items: gridInfoOptionComponents }));
71
71
  };
72
- const [gridInfoOptions, setGridInfoOptions] = react_1.useState();
73
- const [gridInfoContainerComponents, setGridInfoContainerComponents] = react_1.useState();
74
- react_1.useEffect(() => {
72
+ const [gridInfoOptions, setGridInfoOptions] = (0, react_1.useState)();
73
+ const [gridInfoContainerComponents, setGridInfoContainerComponents] = (0, react_1.useState)();
74
+ (0, react_1.useEffect)(() => {
75
75
  const gridInfoOptions = api.internalApi.getMetamodelService().getGridInfoOptions();
76
76
  const gridInfoContainerComponentMap = new Map();
77
77
  gridInfoOptions.forEach((gridInfoOptionContainer, containerName) => {
@@ -80,7 +80,7 @@ const AdaptableOptionsComponent = (props) => {
80
80
  setGridInfoContainerComponents(gridInfoContainerComponentMap);
81
81
  setGridInfoOptions(gridInfoOptions);
82
82
  }, []);
83
- const [expandedComponentContainer, setExpandedComponentContainer] = react_1.useState('');
83
+ const [expandedComponentContainer, setExpandedComponentContainer] = (0, react_1.useState)('');
84
84
  return (React.createElement(rebass_1.Box, { className: "ab-AdaptableOptions", padding: 2, "data-name": "gridInfo-adaptableOptions-content" }, gridInfoOptions &&
85
85
  Array.from(gridInfoOptions.entries()).map(([containerName, container]) => (React.createElement(OptionContainerComponent, { key: containerName, name: containerName, label: container.containerLabel, viewMode: containerName === expandedComponentContainer ? 'expanded' : 'collapsed', onViewModeChange: (newViewMode) => setExpandedComponentContainer(newViewMode === 'expanded' ? containerName : '') }, gridInfoContainerComponents.get(containerName))))));
86
86
  };
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const EditCurrentLayoutButton = () => {
9
- const adaptable = AdaptableContext_1.useAdaptable();
9
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
10
10
  const handleClick = React.useCallback(() => {
11
11
  adaptable.api.layoutApi.showLayoutEditor();
12
12
  }, []);
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const LayoutCloneButton = ({ data, accessLevel }) => {
9
- const adaptable = AdaptableContext_1.useAdaptable();
9
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
10
10
  const isDisabled = accessLevel === 'ReadOnly';
11
11
  const handleClick = React.useCallback(() => {
12
12
  adaptable.api.layoutApi.showLayoutEditor(data.Name, 'Clone');
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const Radio_1 = tslib_1.__importDefault(require("../../components/Radio"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const LayoutRadioSelector = ({ data }) => {
9
- const adaptable = AdaptableContext_1.useAdaptable();
9
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
10
10
  const currentLayout = adaptable.api.layoutApi.getCurrentLayout();
11
11
  const layouts = adaptable.api.layoutApi.getAllLayout();
12
12
  const isDisabled = (layouts === null || layouts === void 0 ? void 0 : layouts.length) === 1;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const SelectList_1 = require("../../components/SelectList");
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const LayoutStatusBarSubPanelPopover = () => {
9
- const adaptable = AdaptableContext_1.useAdaptable();
9
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
10
10
  const layouts = adaptable.api.layoutApi.getAllLayout();
11
11
  const options = layouts.map((layout) => ({ label: layout.Name, value: layout.Uuid }));
12
12
  const handleChange = (option) => {
@@ -15,5 +15,5 @@ declare class LayoutViewPanelComponent extends React.Component<LayoutViewPanelCo
15
15
  render(): any;
16
16
  private onSaveLayout;
17
17
  }
18
- export declare let LayoutViewPanelControl: import("react-redux").ConnectedComponent<typeof LayoutViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<LayoutViewPanelComponent> & LayoutViewPanelComponentProps, "api" | "accessLevel" | "moduleInfo" | "viewType" | "onSelectLayout" | "onSaveLayout" | "Layouts" | "CurrentDraftLayout" | "CanSave" | "CurrentLayoutName"> & LayoutViewPanelComponentProps>;
18
+ export declare let LayoutViewPanelControl: import("react-redux").ConnectedComponent<typeof LayoutViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<LayoutViewPanelComponent> & LayoutViewPanelComponentProps, "api" | "Layouts" | "moduleInfo" | "accessLevel" | "viewType" | "onSelectLayout" | "onSaveLayout" | "CurrentDraftLayout" | "CanSave" | "CurrentLayoutName"> & LayoutViewPanelComponentProps>;
19
19
  export {};
@@ -32,7 +32,7 @@ class LayoutViewPanelComponent extends React.Component {
32
32
  return (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__Layout__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
33
33
  React.createElement(rebass_1.Flex, { flex: 1 },
34
34
  React.createElement(DropdownButton_1.default, { marginRight: 2, columns: ['label'], style: { width: '100%', fontSize: 'small' }, className: `ab-${elementType}__Layout__select`, items: availableLayoutOptions, disabled: availableLayoutOptions.length == 0 }, layoutEntity ? layoutEntity.Name : null)),
35
- React.createElement(rebass_1.Flex, { flexDirection: "row", className: join_1.default(this.props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Layout__wrap`) },
35
+ React.createElement(rebass_1.Flex, { flexDirection: "row", className: (0, join_1.default)(this.props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Layout__wrap`) },
36
36
  isManualSaveLayout && (React.createElement(ButtonSave_1.ButtonSave, { className: `ab-${elementType}__Layout__save`, onClick: () => this.onSaveLayout(), tooltip: "Save Changes to Current Layout", disabled: !this.props.CanSave, accessLevel: accessLevel })),
37
37
  React.createElement(ButtonEdit_1.ButtonEdit, { onClick: () => this.props.api.layoutApi.showLayoutEditor(layoutEntity.Name), tooltip: "Edit Layout", className: `ab-${elementType}__Layout__edit`, accessLevel: accessLevel }),
38
38
  React.createElement(ButtonClone_1.ButtonClone, { onClick: () => this.props.api.layoutApi.showLayoutEditor(layoutEntity.Name, 'Clone'), tooltip: "Clone Layout", className: `ab-${elementType}__Layout__clone`, tone: "neutral", variant: "text", children: null, accessLevel: cloneAccessLevel }),
@@ -67,4 +67,4 @@ function mapDispatchToProps(dispatch) {
67
67
  },
68
68
  };
69
69
  }
70
- exports.LayoutViewPanelControl = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(LayoutViewPanelComponent);
70
+ exports.LayoutViewPanelControl = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(LayoutViewPanelComponent);
@@ -10,12 +10,12 @@ const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/Grid
10
10
  const LayoutRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/LayoutRedux"));
11
11
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
12
12
  const SaveLayoutButton = () => {
13
- const adaptable = AdaptableContext_1.useAdaptable();
13
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
14
14
  const accessLevel = adaptable.api.internalApi
15
15
  .getEntitlementService()
16
16
  .getEntitlementAccessLevelForModule(ModuleConstants.LayoutModuleId);
17
- const dispatch = react_redux_1.useDispatch();
18
- const currentDraftLayout = react_redux_1.useSelector((state) => state.Grid.CurrentLayout);
17
+ const dispatch = (0, react_redux_1.useDispatch)();
18
+ const currentDraftLayout = (0, react_redux_1.useSelector)((state) => state.Grid.CurrentLayout);
19
19
  const isManualSaveLayout = !adaptable.api.layoutApi.shouldAutoSaveLayout(currentDraftLayout);
20
20
  const handleSave = React.useCallback((layout) => {
21
21
  dispatch(LayoutRedux.LayoutSave(layout));
@@ -20,7 +20,7 @@ const ColumnLabels = (props) => {
20
20
  [flexDirection === 'row' ? 'alignItems' : 'justifyContent']: 'center',
21
21
  };
22
22
  return (React.createElement(rebass_1.Flex, Object.assign({ flexDirection: flexDirection }, flexProps, { width: "100%" }),
23
- showTitle ? (React.createElement(rebass_1.Text, { mr: 2 }, AdaptableContext_1.useAdaptable().api.internalApi.getCorrectEnglishVariant('Behaviours:'))) : null,
23
+ showTitle ? (React.createElement(rebass_1.Text, { mr: 2 }, (0, AdaptableContext_1.useAdaptable)().api.internalApi.getCorrectEnglishVariant('Behaviours:'))) : null,
24
24
  labels.map((l, index) => {
25
25
  const enabled = !!l;
26
26
  const labelName = labelNames[index];
@@ -20,15 +20,15 @@ const SortSection_1 = require("./sections/SortSection");
20
20
  const FilterSection_1 = require("./sections/FilterSection");
21
21
  const LayoutWizard = (props) => {
22
22
  var _a, _b;
23
- const dispatch = react_redux_1.useDispatch();
24
- const adaptable = AdaptableContext_1.useAdaptable();
23
+ const dispatch = (0, react_redux_1.useDispatch)();
24
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
25
25
  const allLayouts = adaptable.api.layoutApi.getAllLayout();
26
26
  const initialLayout = (_a = props.data) !== null && _a !== void 0 ? _a : (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.value;
27
- const [layout, setLayout] = react_1.useState(() => {
27
+ const [layout, setLayout] = (0, react_1.useState)(() => {
28
28
  var _a;
29
29
  let preparedLayout = null;
30
30
  if (initialLayout) {
31
- preparedLayout = Helper_1.cloneObject(initialLayout);
31
+ preparedLayout = (0, Helper_1.cloneObject)(initialLayout);
32
32
  if (((_a = props === null || props === void 0 ? void 0 : props.popupParams) === null || _a === void 0 ? void 0 : _a.action) === 'Clone') {
33
33
  preparedLayout.Name = '';
34
34
  }
@@ -112,7 +112,7 @@ const LayoutWizard = (props) => {
112
112
  title: 'Aggregations',
113
113
  details: 'Select Column Aggregations',
114
114
  renderSummary: () => React.createElement(AggregationsSection_1.AggregationsSectionSummary, null),
115
- isValid: (data) => AggregationsSection_1.isAggregationsSectionValid(data),
115
+ isValid: (data) => (0, AggregationsSection_1.isAggregationsSectionValid)(data),
116
116
  render: () => (React.createElement(rebass_1.Box, { p: 2, style: { height: '100%' } },
117
117
  React.createElement(AggregationsSection_1.AggregationsSection, { onChange: setLayout }))),
118
118
  },