@adaptabletools/adaptable-cjs 22.0.0-canary.0 → 22.0.0-canary.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (396) hide show
  1. package/README.md +4 -6
  2. package/agGrid.d.ts +9 -9
  3. package/agGrid.js +1 -0
  4. package/index.css +1280 -1400
  5. package/index.css.map +1 -1
  6. package/index.d.ts +66 -0
  7. package/index.js +85 -0
  8. package/package.json +3 -3
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +10 -1
  10. package/src/AdaptableOptions/ActionColumnOptions.d.ts +2 -2
  11. package/src/AdaptableOptions/AdaptablePlugin.js +6 -1
  12. package/src/AdaptableOptions/ColumnOptions.d.ts +2 -2
  13. package/src/AdaptableOptions/ContainerOptions.d.ts +55 -15
  14. package/src/AdaptableOptions/CustomSortOptions.d.ts +4 -0
  15. package/src/AdaptableOptions/DashboardOptions.d.ts +1 -2
  16. package/src/AdaptableOptions/ExportOptions.d.ts +1 -2
  17. package/src/AdaptableOptions/FilterOptions.d.ts +3 -0
  18. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -2
  19. package/src/AdaptableState/AdaptableState.d.ts +2 -0
  20. package/src/AdaptableState/AlertState.d.ts +5 -2
  21. package/src/AdaptableState/ChartingState.d.ts +2 -2
  22. package/src/AdaptableState/Common/AdaptableAlert.d.ts +2 -2
  23. package/src/AdaptableState/Common/AdaptableButton.d.ts +2 -2
  24. package/src/AdaptableState/Common/AdaptableColumn.d.ts +16 -10
  25. package/src/AdaptableState/Common/AdaptableColumnContext.d.ts +9 -0
  26. package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +2 -2
  27. package/src/AdaptableState/Common/AdaptableObject.d.ts +20 -2
  28. package/src/AdaptableState/Common/AdaptableRowContext.d.ts +11 -0
  29. package/src/AdaptableState/Common/AdaptableStyle.d.ts +8 -0
  30. package/src/AdaptableState/Common/BaseContext.d.ts +2 -0
  31. package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +18 -0
  32. package/src/AdaptableState/Common/ColumnHighlightInfo.js +2 -0
  33. package/src/AdaptableState/Common/DataUpdateConfig.d.ts +17 -0
  34. package/src/AdaptableState/Common/NamedObject.d.ts +10 -0
  35. package/src/AdaptableState/Common/NamedObject.js +2 -0
  36. package/src/AdaptableState/Common/RowDataChangedInfo.d.ts +3 -0
  37. package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
  38. package/src/AdaptableState/Common/Schedule.d.ts +8 -5
  39. package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +2 -2
  40. package/src/AdaptableState/Common/TransposeConfig.d.ts +12 -10
  41. package/src/AdaptableState/CustomSortState.d.ts +5 -1
  42. package/src/AdaptableState/DashboardState.d.ts +1 -1
  43. package/src/AdaptableState/ExportState.d.ts +1 -1
  44. package/src/AdaptableState/FlashingCellState.d.ts +6 -2
  45. package/src/AdaptableState/FormatColumnState.d.ts +5 -9
  46. package/src/AdaptableState/InitialState.d.ts +10 -1
  47. package/src/AdaptableState/InternalState.d.ts +2 -0
  48. package/src/AdaptableState/LayoutState.d.ts +7 -3
  49. package/src/AdaptableState/NamedQueryState.d.ts +1 -1
  50. package/src/AdaptableState/PlusMinusState.d.ts +5 -1
  51. package/src/AdaptableState/Selection/GridCell.d.ts +9 -0
  52. package/src/AdaptableState/ShortcutState.d.ts +5 -1
  53. package/src/AdaptableState/StyledColumnState.d.ts +1 -1
  54. package/src/AdaptableState/ThemeState.d.ts +1 -1
  55. package/src/AdaptableState/UserInterfaceState.d.ts +14 -0
  56. package/src/AdaptableState/UserInterfaceState.js +2 -0
  57. package/src/Api/AlertApi.d.ts +6 -0
  58. package/src/Api/CustomSortApi.d.ts +12 -3
  59. package/src/Api/DataSetApi.d.ts +1 -1
  60. package/src/Api/FlashingCellApi.d.ts +6 -0
  61. package/src/Api/FormatColumnApi.d.ts +10 -4
  62. package/src/Api/GridApi.d.ts +29 -4
  63. package/src/Api/Implementation/ActionColumnApiImpl.js +1 -0
  64. package/src/Api/Implementation/AdaptableApiImpl.js +52 -0
  65. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -0
  66. package/src/Api/Implementation/AlertApiImpl.js +6 -6
  67. package/src/Api/Implementation/ApiBase.d.ts +1 -1
  68. package/src/Api/Implementation/ApiBase.js +2 -1
  69. package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -0
  70. package/src/Api/Implementation/ChartingApiImpl.js +6 -2
  71. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  72. package/src/Api/Implementation/ColumnApiImpl.js +1 -0
  73. package/src/Api/Implementation/ColumnFilterApiImpl.js +1 -0
  74. package/src/Api/Implementation/CommentsApiImpl.js +1 -0
  75. package/src/Api/Implementation/CustomSortApiImpl.d.ts +6 -1
  76. package/src/Api/Implementation/CustomSortApiImpl.js +6 -2
  77. package/src/Api/Implementation/DashboardApiImpl.js +1 -0
  78. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +12 -15
  79. package/src/Api/Implementation/DataImportApiImpl.js +1 -0
  80. package/src/Api/Implementation/DataSetApiImpl.js +1 -0
  81. package/src/Api/Implementation/EntitlementApiImpl.js +1 -0
  82. package/src/Api/Implementation/EventApiImpl.js +16 -14
  83. package/src/Api/Implementation/ExportApiImpl.js +1 -0
  84. package/src/Api/Implementation/ExpressionApiImpl.js +1 -0
  85. package/src/Api/Implementation/Fdc3ApiImpl.js +1 -0
  86. package/src/Api/Implementation/FilterApiImpl.js +3 -0
  87. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -0
  88. package/src/Api/Implementation/FlashingCellApiImpl.js +4 -0
  89. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -5
  90. package/src/Api/Implementation/FormatColumnApiImpl.js +7 -5
  91. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -0
  92. package/src/Api/Implementation/GridApiImpl.d.ts +10 -1
  93. package/src/Api/Implementation/GridApiImpl.js +35 -4
  94. package/src/Api/Implementation/GridFilterApiImpl.js +1 -0
  95. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -0
  96. package/src/Api/Implementation/LayoutApiImpl.js +5 -1
  97. package/src/Api/Implementation/LayoutHelpers.js +7 -0
  98. package/src/Api/Implementation/NamedQueryApiImpl.js +3 -2
  99. package/src/Api/Implementation/NoteApiImpl.js +1 -0
  100. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +1 -0
  101. package/src/Api/Implementation/PlusMinusApiImpl.js +3 -0
  102. package/src/Api/Implementation/PredicateApiImpl.js +1 -0
  103. package/src/Api/Implementation/RowFormApiImpl.js +1 -0
  104. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -0
  105. package/src/Api/Implementation/ScheduleApiImpl.js +4 -0
  106. package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -0
  107. package/src/Api/Implementation/ShortcutApiImpl.js +3 -0
  108. package/src/Api/Implementation/StyledColumnApiImpl.js +1 -0
  109. package/src/Api/Implementation/SystemStatusApiImpl.js +8 -9
  110. package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
  111. package/src/Api/Implementation/ThemeApiImpl.js +1 -0
  112. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -0
  113. package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -1
  114. package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
  115. package/src/Api/Internal/ColumnInternalApi.js +1 -1
  116. package/src/Api/Internal/FormatColumnInternalApi.d.ts +0 -10
  117. package/src/Api/Internal/FormatColumnInternalApi.js +1 -19
  118. package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -2
  119. package/src/Api/Internal/LayoutInternalApi.js +1 -1
  120. package/src/Api/Internal/NamedQueryInternalApi.js +4 -4
  121. package/src/Api/LayoutApi.d.ts +6 -0
  122. package/src/Api/PlusMinusApi.d.ts +6 -0
  123. package/src/Api/ScheduleApi.d.ts +6 -0
  124. package/src/Api/ShortcutApi.d.ts +6 -0
  125. package/src/Api/UserInterfaceApi.d.ts +17 -0
  126. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +8 -0
  127. package/src/Redux/ActionsReducers/FormatColumnRedux.js +17 -1
  128. package/src/Redux/ActionsReducers/InternalRedux.d.ts +15 -0
  129. package/src/Redux/ActionsReducers/InternalRedux.js +42 -3
  130. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +1 -1
  131. package/src/Redux/ActionsReducers/NoteRedux.js +1 -1
  132. package/src/Redux/ActionsReducers/UserInterfaceRedux.d.ts +11 -0
  133. package/src/Redux/ActionsReducers/UserInterfaceRedux.js +26 -0
  134. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -0
  135. package/src/Redux/Store/AdaptableStore.js +121 -64
  136. package/src/Strategy/AdaptableModuleBase.js +4 -0
  137. package/src/Strategy/AlertModule.js +5 -0
  138. package/src/Strategy/BulkUpdateModule.js +8 -8
  139. package/src/Strategy/CalculatedColumnModule.js +1 -0
  140. package/src/Strategy/CellSummaryModule.js +1 -1
  141. package/src/Strategy/CustomSortModule.js +4 -0
  142. package/src/Strategy/DataChangeHistoryModule.js +1 -0
  143. package/src/Strategy/FlashingCellModule.js +6 -0
  144. package/src/Strategy/FormatColumnModule.js +4 -0
  145. package/src/Strategy/FreeTextColumnModule.js +1 -0
  146. package/src/Strategy/LayoutModule.js +6 -5
  147. package/src/Strategy/PlusMinusModule.js +7 -1
  148. package/src/Strategy/QuickSearchModule.js +1 -1
  149. package/src/Strategy/ScheduleModule.js +5 -0
  150. package/src/Strategy/SettingsPanelModule.js +11 -7
  151. package/src/Strategy/ShortcutModule.js +6 -0
  152. package/src/Strategy/SmartEditModule.js +10 -10
  153. package/src/Strategy/TeamSharingModule.js +10 -10
  154. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +0 -3
  155. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +18 -17
  156. package/src/Utilities/Constants/DocumentationLinkConstants.js +19 -18
  157. package/src/Utilities/ExpressionFunctions/deepMap.js +31 -31
  158. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +3 -3
  159. package/src/Utilities/Extensions/StringExtensions.d.ts +2 -0
  160. package/src/Utilities/Extensions/StringExtensions.js +17 -0
  161. package/src/Utilities/Helpers/FormatHelper.js +9 -2
  162. package/src/Utilities/Helpers/StyleHelper.js +14 -0
  163. package/src/Utilities/MenuItem.js +18 -0
  164. package/src/Utilities/ObjectFactory.js +16 -3
  165. package/src/Utilities/Services/AggregatedScalarLiveValue.js +8 -0
  166. package/src/Utilities/Services/AlertService.js +6 -4
  167. package/src/Utilities/Services/AnnotationsService.js +4 -1
  168. package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -1
  169. package/src/Utilities/Services/ChartingService.js +1 -0
  170. package/src/Utilities/Services/DataService.js +11 -3
  171. package/src/Utilities/Services/Fdc3Service.js +9 -7
  172. package/src/Utilities/Services/FlashingCellService.js +5 -0
  173. package/src/Utilities/Services/LicenseService/index.js +1 -1
  174. package/src/Utilities/Services/MetamodelService.js +2 -2
  175. package/src/Utilities/Services/ModuleService.js +39 -41
  176. package/src/Utilities/Services/QueryLanguageService.js +6 -5
  177. package/src/Utilities/Services/RowFormService.js +1 -0
  178. package/src/Utilities/Services/RowSummaryService.js +10 -7
  179. package/src/Utilities/Services/TeamSharingService.js +3 -1
  180. package/src/Utilities/Services/ThemeService.js +13 -15
  181. package/src/Utilities/Services/ValidationService.js +2 -1
  182. package/src/Utilities/createAgStatusPanelComponent.js +3 -0
  183. package/src/Utilities/logDeprecation.js +3 -4
  184. package/src/Utilities/resolveContainerElement.d.ts +23 -0
  185. package/src/Utilities/resolveContainerElement.js +47 -0
  186. package/src/View/AdaptablePopover/index.d.ts +1 -0
  187. package/src/View/AdaptablePopover/index.js +1 -1
  188. package/src/View/Alert/ActiveAlertsPanel.js +8 -0
  189. package/src/View/Alert/AlertViewPanel.js +13 -9
  190. package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +1 -0
  191. package/src/View/Alert/Utilities/getAlertButtonStyle.js +8 -0
  192. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -0
  193. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +5 -2
  194. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +48 -12
  195. package/src/View/Alert/Wizard/AlertWizard.js +12 -8
  196. package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
  197. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +24 -11
  198. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +2 -2
  199. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +2 -2
  200. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
  201. package/src/View/CellSummary/CellSummaryViewPanel.js +16 -17
  202. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +2 -2
  203. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +2 -2
  204. package/src/View/Components/AdaptableDateInput/index.js +1 -1
  205. package/src/View/Components/Buttons/ButtonApply.js +1 -1
  206. package/src/View/Components/Buttons/ButtonBase/index.js +9 -9
  207. package/src/View/Components/Buttons/ButtonClear.d.ts +1 -0
  208. package/src/View/Components/Buttons/EntityListActionButtons.d.ts +1 -2
  209. package/src/View/Components/Buttons/EntityListActionButtons.js +18 -18
  210. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +1 -2
  211. package/src/View/Components/CellPopup/index.js +1 -1
  212. package/src/View/Components/ColumnFilter/FloatingFilter.js +41 -3
  213. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
  214. package/src/View/Components/ColumnFilter/components/ColumnFilterMenu.js +54 -2
  215. package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +1 -1
  216. package/src/View/Components/EntityRulesEditor/Utilities.js +5 -5
  217. package/src/View/Components/NewScopeComponent.js +3 -3
  218. package/src/View/Components/Panels/PanelDashboard/index.js +8 -8
  219. package/src/View/Components/Panels/PanelToolPanel/index.js +7 -7
  220. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  221. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
  222. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -1
  223. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -8
  224. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +1 -1
  225. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +35 -0
  226. package/src/View/Components/Selectors/BulkUpdateValueSelector.js +18 -17
  227. package/src/View/Components/StyleComponent.d.ts +1 -0
  228. package/src/View/Components/StyleComponent.js +94 -24
  229. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
  230. package/src/View/Components/WizardSummaryPage.js +1 -1
  231. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +2 -1
  232. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +40 -14
  233. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
  234. package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
  235. package/src/View/Dashboard/CustomToolbar.js +1 -1
  236. package/src/View/Dashboard/DashboardPopup.js +4 -5
  237. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -0
  238. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  239. package/src/View/Export/ExportDestinationPicker.js +1 -1
  240. package/src/View/Export/ExportStatusBar.js +4 -2
  241. package/src/View/Export/ExportViewPanel.js +25 -18
  242. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +2 -1
  243. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -15
  244. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +13 -9
  245. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
  246. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +46 -51
  247. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -2
  248. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +22 -11
  249. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
  250. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +3 -3
  251. package/src/View/GridFilter/GridFilterExpressionEditor.js +6 -1
  252. package/src/View/GridFilter/GridFilterViewPanel.js +33 -70
  253. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +57 -65
  254. package/src/View/Layout/LayoutViewPanel.js +1 -1
  255. package/src/View/Layout/TransposedPopup.js +144 -138
  256. package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
  257. package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
  258. package/src/View/Layout/Wizard/sections/GridFilterSection.js +1 -1
  259. package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +3 -3
  260. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +8 -0
  261. package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
  262. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +2 -2
  263. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +35 -12
  264. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +20 -15
  265. package/src/View/QuickSearch/QuickSearchPopup.js +4 -1
  266. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +12 -1
  267. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +12 -1
  268. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +14 -4
  269. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +12 -1
  270. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +2 -1
  271. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +19 -10
  272. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +2 -1
  273. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +25 -4
  274. package/src/View/Shortcut/Wizard/ShortcutWizard.js +18 -14
  275. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -0
  276. package/src/View/StateManagement/handleExportState.js +1 -1
  277. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
  278. package/src/View/Theme/ThemePopup.js +13 -16
  279. package/src/View/UIHelper.d.ts +4 -1
  280. package/src/View/UIHelper.js +24 -14
  281. package/src/agGrid/Adaptable.js +15 -11
  282. package/src/agGrid/AdaptableAgGrid.d.ts +16 -3
  283. package/src/agGrid/AdaptableAgGrid.js +306 -103
  284. package/src/agGrid/AdaptableFilterHandler.js +4 -0
  285. package/src/agGrid/AdaptableLogger.d.ts +3 -0
  286. package/src/agGrid/AdaptableLogger.js +10 -0
  287. package/src/agGrid/AgGridAdapter.js +19 -9
  288. package/src/agGrid/AgGridColumnAdapter.d.ts +1 -0
  289. package/src/agGrid/AgGridColumnAdapter.js +20 -22
  290. package/src/agGrid/AgGridExportAdapter.js +15 -14
  291. package/src/agGrid/AgGridFilterAdapter.js +4 -0
  292. package/src/agGrid/AgGridFloatingFilterAdapter.js +4 -1
  293. package/src/agGrid/AgGridMenuAdapter.js +10 -1
  294. package/src/agGrid/AgGridModulesAdapter.js +2 -1
  295. package/src/agGrid/AgGridOptionsService.js +3 -0
  296. package/src/agGrid/AgGridThemeAdapter.js +4 -2
  297. package/src/agGrid/cellRenderers/ActionColumnRenderer.js +5 -0
  298. package/src/agGrid/cellRenderers/BadgeRenderer.js +2 -0
  299. package/src/agGrid/cellRenderers/PercentBarRenderer.js +1 -0
  300. package/src/agGrid/editors/AdaptableDateEditor/index.js +6 -3
  301. package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -12
  302. package/src/agGrid/editors/AdaptablePercentageEditor/index.js +17 -13
  303. package/src/agGrid/index.d.ts +6 -0
  304. package/src/agGrid/index.js +6 -0
  305. package/src/components/CheckBox/index.js +1 -1
  306. package/src/components/ColorPicker/ColorPicker.js +5 -4
  307. package/src/components/Dashboard/DashboardToolbar.js +1 -1
  308. package/src/components/Datepicker/index.js +1 -1
  309. package/src/components/Dropdown/Arrows.js +1 -1
  310. package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
  311. package/src/components/ExpressionEditor/EditorInput.js +19 -3
  312. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
  313. package/src/components/FormLayout/index.js +1 -1
  314. package/src/components/OverlayTrigger/index.js +1 -1
  315. package/src/components/Select/Select.js +78 -15
  316. package/src/components/Tree/TreeDropdown/index.js +2 -2
  317. package/src/components/overlayBaseZIndex.js +1 -1
  318. package/src/components/utils/useContainerScrollObserver/index.js +17 -14
  319. package/src/devTools/index.js +54 -53
  320. package/src/env.js +2 -2
  321. package/src/layout-manager/src/LMEmitter.js +11 -11
  322. package/src/layout-manager/src/LMLogger.js +7 -0
  323. package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -0
  324. package/src/layout-manager/src/index.js +81 -58
  325. package/src/layout-manager/src/normalizeLayoutModel.js +3 -0
  326. package/src/metamodel/adaptable.metamodel.d.ts +177 -8
  327. package/src/metamodel/adaptable.metamodel.js +1 -1
  328. package/src/migration/AdaptableUpgradeHelper.js +8 -3
  329. package/src/migration/VersionUpgrade.js +1 -0
  330. package/src/migration/VersionUpgrade17.js +5 -6
  331. package/src/migration/VersionUpgrade20.js +4 -4
  332. package/src/migration/VersionUpgrade22.d.ts +21 -0
  333. package/src/migration/VersionUpgrade22.js +191 -0
  334. package/src/parser/src/ExpressionEvaluationError.js +1 -0
  335. package/src/types.d.ts +9 -7
  336. package/themes/dark.css +30 -30
  337. package/themes/light.css +4 -2
  338. package/tsconfig.cjs.tsbuildinfo +1 -1
  339. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +0 -1
  340. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +0 -633
  341. package/src/View/Alert/AlertEntityRow.d.ts +0 -11
  342. package/src/View/Alert/AlertEntityRow.js +0 -33
  343. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +0 -21
  344. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +0 -63
  345. package/src/View/Components/Buttons/ButtonFunction.d.ts +0 -7
  346. package/src/View/Components/Buttons/ButtonFunction.js +0 -13
  347. package/src/View/Components/Buttons/ButtonGeneral.d.ts +0 -5
  348. package/src/View/Components/Buttons/ButtonGeneral.js +0 -12
  349. package/src/View/Components/Buttons/ButtonPreviewDelete.d.ts +0 -4
  350. package/src/View/Components/Buttons/ButtonPreviewDelete.js +0 -8
  351. package/src/View/Components/Buttons/ButtonShow.d.ts +0 -5
  352. package/src/View/Components/Buttons/ButtonShow.js +0 -12
  353. package/src/View/Components/Buttons/ButtonShowChart.d.ts +0 -5
  354. package/src/View/Components/Buttons/ButtonShowChart.js +0 -12
  355. package/src/View/Components/Buttons/ButtonUndo.d.ts +0 -5
  356. package/src/View/Components/Buttons/ButtonUndo.js +0 -12
  357. package/src/View/Components/ExpressionWizard.d.ts +0 -24
  358. package/src/View/Components/ExpressionWizard.js +0 -82
  359. package/src/View/Components/FilterForm/Waiting.d.ts +0 -10
  360. package/src/View/Components/FilterForm/Waiting.js +0 -19
  361. package/src/View/Components/Panels/PanelFooter.d.ts +0 -10
  362. package/src/View/Components/Panels/PanelFooter.js +0 -14
  363. package/src/View/Components/Panels/PanelWithTwoButtons.d.ts +0 -12
  364. package/src/View/Components/Panels/PanelWithTwoButtons.js +0 -20
  365. package/src/View/Components/Panels/ToolPanelSettingsPanel.d.ts +0 -8
  366. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +0 -31
  367. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +0 -18
  368. package/src/View/Components/Selectors/ColumnSelectorOld.js +0 -50
  369. package/src/View/Components/SharedProps/WizardScopeState.d.ts +0 -4
  370. package/src/View/Components/WizardSummaryRow.d.ts +0 -9
  371. package/src/View/Components/WizardSummaryRow.js +0 -16
  372. package/src/View/CustomSort/CustomSortSummary.d.ts +0 -23
  373. package/src/View/CustomSort/CustomSortSummary.js +0 -110
  374. package/src/View/DataImport/DataImportWizard/sections/ImportSection.d.ts +0 -9
  375. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +0 -24
  376. package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +0 -19
  377. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +0 -73
  378. package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +0 -19
  379. package/src/View/Export/Wizard/ReportRowTypeWizard.js +0 -73
  380. package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +0 -21
  381. package/src/View/Export/Wizard/ReportSettingsWizard.js +0 -61
  382. package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +0 -15
  383. package/src/View/Export/Wizard/ReportSummaryWizard.js +0 -40
  384. package/src/View/Filter/FilterSummary.d.ts +0 -18
  385. package/src/View/Filter/FilterSummary.js +0 -53
  386. package/src/View/FormatColumn/FormatColumnSummary.d.ts +0 -22
  387. package/src/View/FormatColumn/FormatColumnSummary.js +0 -95
  388. package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +0 -22
  389. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +0 -93
  390. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.d.ts +0 -7
  391. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +0 -99
  392. package/src/View/PlusMinus/PlusMinusSummary.d.ts +0 -22
  393. package/src/View/PlusMinus/PlusMinusSummary.js +0 -100
  394. package/src/View/Wizard/WizardLegend.d.ts +0 -12
  395. package/src/View/Wizard/WizardLegend.js +0 -28
  396. /package/src/{View/Components/SharedProps/WizardScopeState.js → AdaptableState/Common/AdaptableRowContext.js} +0 -0
@@ -8,9 +8,17 @@ const getAlertButtonStyle = (alerts) => {
8
8
  const messageTypeColor = UIHelper_1.default.getColorByMessageType(messageType);
9
9
  const buttonBackground = UIHelper_1.default.getButtonColourForAdaptableAlerts(alerts, messageTypeColor);
10
10
  const buttonTextColor = UIHelper_1.default.getButtonTextColourForArrayandMessageType(alerts, messageType);
11
+ let cssClasses = '';
12
+ if (alerts?.length) {
13
+ const cssMessageType = UIHelper_1.default.getCSSColorByMessageType(messageType);
14
+ cssClasses = cssMessageType
15
+ ? `twa:bg-${cssMessageType} twa:text-text-on-${cssMessageType}`
16
+ : '';
17
+ }
11
18
  return {
12
19
  color: buttonTextColor,
13
20
  background: buttonBackground,
21
+ cssClasses,
14
22
  };
15
23
  };
16
24
  exports.getAlertButtonStyle = getAlertButtonStyle;
@@ -6,6 +6,7 @@ import { AlertType } from './getAlertType';
6
6
  */
7
7
  export declare const getDefaultAlertDefinition: (alertDefinition: AlertDefinition, type: AlertType) => {
8
8
  Uuid: string;
9
+ Name: string;
9
10
  Scope: import("../../../types").ColumnScope;
10
11
  Rule: import("../../../types").AlertRule;
11
12
  MessageType: import("../../../types").AdaptableMessageType;
@@ -1,9 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { AlertType } from '../Utilities/getAlertType';
3
+ import { AdaptableApi, AlertDefinition } from '../../../types';
4
+ export declare const isSettingsValid: (data: AlertDefinition, api: AdaptableApi) => true | "Name is required" | "An Alert already exists with that name";
3
5
  export declare const renderAlertTypeSummary: (alertType: AlertType) => React.JSX.Element;
4
- type AlertBehaviourWizardSectionProps = {
6
+ type AlertTypeWizardSectionProps = {
5
7
  onAlertTypeChange: (alertType: AlertType) => void;
6
8
  alertType: AlertType | null;
9
+ onChange: (data: AlertDefinition) => void;
7
10
  };
8
- export declare const AlertTypeWizardSection: (props: AlertBehaviourWizardSectionProps) => React.JSX.Element;
11
+ export declare const AlertTypeWizardSection: (props: AlertTypeWizardSectionProps) => React.JSX.Element;
9
12
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AlertTypeWizardSection = exports.renderAlertTypeSummary = void 0;
3
+ exports.AlertTypeWizardSection = exports.renderAlertTypeSummary = exports.isSettingsValid = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const Tabs_1 = require("../../../components/Tabs");
@@ -8,21 +8,57 @@ const getAlertType_1 = require("../Utilities/getAlertType");
8
8
  const TypeRadio_1 = require("../../Wizard/TypeRadio");
9
9
  const Tag_1 = require("../../../components/Tag");
10
10
  const Flex_1 = require("../../../components/Flex");
11
+ const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
12
+ const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
13
+ const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
14
+ const OnePageAdaptableWizard_2 = require("../../Wizard/OnePageAdaptableWizard");
15
+ const isSettingsValid = (data, api) => {
16
+ if (!data.Name?.trim()) {
17
+ return 'Name is required';
18
+ }
19
+ const allAlerts = api.alertApi.getAlertDefinitions();
20
+ const isDuplicateName = allAlerts.some((a) => a.Name === data.Name && a.Uuid !== data.Uuid);
21
+ if (isDuplicateName) {
22
+ return 'An Alert already exists with that name';
23
+ }
24
+ return true;
25
+ };
26
+ exports.isSettingsValid = isSettingsValid;
11
27
  const renderAlertTypeSummary = (alertType) => {
28
+ const { data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
12
29
  const text = (0, getAlertType_1.getAlertTypeText)(alertType);
13
- return (React.createElement(Flex_1.Box, null,
14
- React.createElement(Tag_1.Tag, null, text)));
30
+ return (React.createElement(React.Fragment, null,
31
+ React.createElement(OnePageAdaptableWizard_2.SummaryText, null,
32
+ "Name ",
33
+ React.createElement(Tag_1.Tag, null, data.Name || 'Not specified')),
34
+ React.createElement(OnePageAdaptableWizard_2.SummaryText, null,
35
+ "Type ",
36
+ React.createElement(Tag_1.Tag, null, text))));
15
37
  };
16
38
  exports.renderAlertTypeSummary = renderAlertTypeSummary;
17
39
  const AlertTypeWizardSection = (props) => {
18
- return (React.createElement(Tabs_1.Tabs, null,
19
- React.createElement(Tabs_1.Tabs.Tab, null, "Alert Type"),
20
- React.createElement(Tabs_1.Tabs.Content, null,
21
- React.createElement(Flex_1.Flex, { flexDirection: "column" },
22
- React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.DataChange), description: "A change has been made to the Grid's underlying data", checked: props.alertType === getAlertType_1.AlertType.DataChange, onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.DataChange) }),
23
- React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.RowChange), description: "A Row was added or removed from the data source", checked: props.alertType === getAlertType_1.AlertType.RowChange, onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.RowChange) }),
24
- React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.Aggregation), description: "A change has been made to aggregated data (i.e. from multiple Rows)", onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.Aggregation), checked: props.alertType === getAlertType_1.AlertType.Aggregation }),
25
- React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.Observable), description: "A specified change (or lack of change) over time has been observed in the Grid", onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.Observable), checked: props.alertType === getAlertType_1.AlertType.Observable }),
26
- React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.Validation), description: "A change has broken a data validation rule", checked: props.alertType === getAlertType_1.AlertType.Validation, onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.Validation) })))));
40
+ const { data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
41
+ const handleNameChange = (event) => {
42
+ props.onChange({
43
+ ...data,
44
+ Name: event.target.value,
45
+ });
46
+ };
47
+ return (React.createElement(Flex_1.Flex, { flexDirection: "column" },
48
+ React.createElement(Tabs_1.Tabs, null,
49
+ React.createElement(Tabs_1.Tabs.Tab, null, "Settings"),
50
+ React.createElement(Tabs_1.Tabs.Content, null,
51
+ React.createElement(FormLayout_1.default, null,
52
+ React.createElement(FormLayout_1.FormRow, { label: "Name" },
53
+ React.createElement(Input_1.default, { "data-name": "alert-name", className: "twa:flex-1 twa:max-w-[200px] twa:mr-3", onChange: handleNameChange, placeholder: "Enter Name", value: data.Name ?? '' }))))),
54
+ React.createElement(Tabs_1.Tabs, { className: "twa:mt-2" },
55
+ React.createElement(Tabs_1.Tabs.Tab, null, "Alert Type"),
56
+ React.createElement(Tabs_1.Tabs.Content, null,
57
+ React.createElement(Flex_1.Flex, { flexDirection: "column" },
58
+ React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.DataChange), description: "A change has been made to the Grid's underlying data", checked: props.alertType === getAlertType_1.AlertType.DataChange, onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.DataChange) }),
59
+ React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.RowChange), description: "A Row was added or removed from the data source", checked: props.alertType === getAlertType_1.AlertType.RowChange, onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.RowChange) }),
60
+ React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.Aggregation), description: "A change has been made to aggregated data (i.e. from multiple Rows)", onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.Aggregation), checked: props.alertType === getAlertType_1.AlertType.Aggregation }),
61
+ React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.Observable), description: "A specified change (or lack of change) over time has been observed in the Grid", onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.Observable), checked: props.alertType === getAlertType_1.AlertType.Observable }),
62
+ React.createElement(TypeRadio_1.TypeRadio, { text: (0, getAlertType_1.getAlertTypeText)(getAlertType_1.AlertType.Validation), description: "A change has broken a data validation rule", checked: props.alertType === getAlertType_1.AlertType.Validation, onClick: () => props.onAlertTypeChange(getAlertType_1.AlertType.Validation) }))))));
27
63
  };
28
64
  exports.AlertTypeWizardSection = AlertTypeWizardSection;
@@ -29,7 +29,7 @@ const AlertWizard = (props) => {
29
29
  const { api } = (0, AdaptableContext_1.useAdaptable)();
30
30
  const dispatch = (0, react_redux_1.useDispatch)();
31
31
  const behaviourSpelling = api.internalApi.getCorrectEnglishVariant('Behaviour');
32
- const [alertDefinition, setAlertDefinition] = (0, react_1.useState)(() => {
32
+ const [alertDefinition, doSetAlertDefinition] = (0, react_1.useState)(() => {
33
33
  const alertDefinition = props.data
34
34
  ? (0, Helper_1.cloneObject)(props.data)
35
35
  : ObjectFactory_1.default.CreateEmptyAlertDefinition();
@@ -49,6 +49,9 @@ const AlertWizard = (props) => {
49
49
  alertDefinition.MessageType = alertDefinition.MessageType ?? ObjectDefaultConstants_1.ALERT_DEFAULT_MESSAGE_TYPE;
50
50
  return alertDefinition;
51
51
  });
52
+ const setAlertDefinition = (0, react_1.useCallback)((data) => {
53
+ doSetAlertDefinition(data);
54
+ }, []);
52
55
  // Alert type is based initialy on data, but can be changed by the user
53
56
  // the default objects do not neccesary have enough information to determine the type
54
57
  const [alertType, setAlertType] = (0, react_1.useState)(() => {
@@ -63,22 +66,23 @@ const AlertWizard = (props) => {
63
66
  }
64
67
  props.onCloseWizard();
65
68
  };
66
- const updateAlertDefinition = (newAlertDefinition) => {
67
- setAlertDefinition((0, mapAlertDefinition_1.mapAlertDefinition)(api, newAlertDefinition));
68
- };
69
+ const updateAlertDefinition = (0, react_1.useCallback)((newAlertDefinition) => {
70
+ doSetAlertDefinition((0, mapAlertDefinition_1.mapAlertDefinition)(api, newAlertDefinition));
71
+ }, [api]);
69
72
  const handleAlertTypeChange = (newAlertType) => {
70
73
  setAlertType(newAlertType);
71
- setAlertDefinition((0, getDefaultAlertDefinition_1.getDefaultAlertDefinition)(alertDefinition, newAlertType));
74
+ doSetAlertDefinition((0, getDefaultAlertDefinition_1.getDefaultAlertDefinition)(alertDefinition, newAlertType));
72
75
  };
73
76
  return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, modal: props.modal, data: alertDefinition, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
74
77
  {
75
- title: 'Type',
78
+ title: 'Name & Type',
79
+ isValid: AlertTypeWizardSection_1.isSettingsValid,
76
80
  details: (React.createElement(React.Fragment, null,
77
- "Select ",
81
+ "Enter Name and select ",
78
82
  React.createElement("b", null, "what"),
79
83
  " type of change in AdapTable will cause the Alert to fire")),
80
84
  render: () => (React.createElement(Flex_1.Box, { className: "twa:p-2" },
81
- React.createElement(AlertTypeWizardSection_1.AlertTypeWizardSection, { alertType: alertType, onAlertTypeChange: handleAlertTypeChange }))),
85
+ React.createElement(AlertTypeWizardSection_1.AlertTypeWizardSection, { alertType: alertType, onAlertTypeChange: handleAlertTypeChange, onChange: setAlertDefinition }))),
82
86
  renderSummary: () => (0, AlertTypeWizardSection_1.renderAlertTypeSummary)(alertType),
83
87
  },
84
88
  {
@@ -7,7 +7,7 @@ const isValidAlertRules = (alert, api, context) => {
7
7
  !alert.Rule.BooleanExpression &&
8
8
  !alert.Rule.ObservableExpression &&
9
9
  !alert.Rule.AggregatedBooleanExpression) {
10
- return 'No Rule defined for Alert';
10
+ return 'A rule is required for the Alert.';
11
11
  }
12
12
  const isRuleValid = (0, Utilities_1.isAdaptableRuleValid)(alert, api, context);
13
13
  if (typeof isRuleValid === 'string') {
@@ -17,6 +17,7 @@ const react_redux_1 = require("react-redux");
17
17
  const Flex_1 = require("../../components/Flex");
18
18
  const clsx_1 = tslib_1.__importDefault(require("clsx"));
19
19
  class BulkUpdateViewPanelComponent extends React.Component {
20
+ cleanupEvent;
20
21
  constructor(props) {
21
22
  super(props);
22
23
  this.state = {
@@ -41,24 +42,36 @@ class BulkUpdateViewPanelComponent extends React.Component {
41
42
  let statusColour = this.getStatusColour();
42
43
  let selectedColumn = this.props.BulkUpdateValidationResult.Column;
43
44
  let previewPanel = (React.createElement(PreviewResultsPanel_1.PreviewResultsPanel, { previewInfo: this.props.PreviewInfo, api: this.props.api, selectedColumn: selectedColumn, showPanel: true, showHeader: false }));
44
- let shouldDisable = this.props.accessLevel == 'ReadOnly' ||
45
+ const valueSelectorDisabled = this.props.accessLevel == 'ReadOnly' ||
45
46
  !this.props.BulkUpdateValidationResult.IsValid ||
46
- this.props.api.layoutApi.isCurrentLayoutPivot() == true;
47
+ this.props.api.layoutApi.isCurrentLayoutPivot();
48
+ const valueOperationDisabled = valueSelectorDisabled ||
49
+ StringExtensions_1.StringExtensions.IsNullOrEmpty(this.props.BulkUpdateValue) ||
50
+ (this.props.PreviewInfo != null &&
51
+ this.props.PreviewInfo.previewValidationSummary.validationResult == 'All');
47
52
  const applyStyle = {
48
53
  color: statusColour,
49
54
  fill: 'currentColor',
50
55
  };
51
- const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
52
- return (React.createElement(Flex_1.Flex, { flexDirection: "row", className: (0, clsx_1.default)(shouldDisable ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__BulkUpdate__wrap twa:min-w-[150px]`), flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
53
- React.createElement(Flex_1.Flex, null,
56
+ const isToolbar = this.props.viewType === 'Toolbar';
57
+ const elementType = isToolbar ? 'DashboardToolbar' : 'ToolPanel';
58
+ const messageStyle = UIHelper_1.UIHelper.getMessageTypeByStatusColour(statusColour);
59
+ const infoStyle = messageStyle === 'Success' ? 'Info' : messageStyle;
60
+ return (React.createElement(Flex_1.Flex, { className: (0, clsx_1.default)(valueSelectorDisabled ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__BulkUpdate__wrap twa:gap-1 twa:flex-row`, {
61
+ 'twa:min-w-[300px] twa:max-w-[300px] twa:w-[300px] twa:flex-nowrap': isToolbar,
62
+ 'twa:flex-1 twa:flex-wrap': !isToolbar,
63
+ }), flexWrap: isToolbar ? 'nowrap' : 'wrap' },
64
+ React.createElement(Flex_1.Flex, { className: (0, clsx_1.default)('twa:flex-1', {
65
+ 'twa:min-w-[100px]': !isToolbar,
66
+ 'twa:min-w-0': isToolbar,
67
+ }) },
54
68
  React.createElement(BulkUpdateValueSelector_1.BulkUpdateValueSelector, { selectedGridCells: this.props.SelectedGridCells, newLabel: "New", existingLabel: "Existing", dropdownButtonProps: {
55
69
  listMinWidth: 160,
56
- }, className: `ab-${elementType}__BulkUpdate__select`, disabled: shouldDisable, selectedColumnValue: this.props.BulkUpdateValue, selectedColumn: selectedColumn, api: this.props.api, onColumnValueChange: (columns) => this.onColumnValueSelectedChanged(columns) })),
57
- React.createElement(Flex_1.Flex, null,
58
- !shouldDisable && StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.props.BulkUpdateValue) && (React.createElement(ButtonApply_1.ButtonApply, { className: `ab-${elementType}__BulkUpdate__apply twa:ml-2`, onClick: () => this.onApplyClick(), style: applyStyle, tooltip: "Apply Bulk Update", disabled: StringExtensions_1.StringExtensions.IsNullOrEmpty(this.props.BulkUpdateValue) ||
59
- (this.props.PreviewInfo != null &&
60
- this.props.PreviewInfo.previewValidationSummary.validationResult == 'All'), accessLevel: this.props.accessLevel }, this.props.viewType === 'ToolPanel' && 'Update')),
61
- !shouldDisable && StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.props.BulkUpdateValue) && (React.createElement(AdaptablePopover_1.AdaptablePopover, { popoverMinWidth: 360, className: `ab-${elementType}__BulkUpdate__info`, headerText: "Preview Results", bodyText: [previewPanel], MessageType: UIHelper_1.UIHelper.getMessageTypeByStatusColour(statusColour), useButton: true, showEvent: 'focus', hideEvent: "blur" })))));
70
+ }, className: `ab-${elementType}__BulkUpdate__select twa:w-full`, disabled: valueSelectorDisabled, selectedColumnValue: this.props.BulkUpdateValue, selectedColumn: selectedColumn, api: this.props.api, onColumnValueChange: (columns) => this.onColumnValueSelectedChanged(columns) })),
71
+ React.createElement(Flex_1.Flex, { className: "twa:flex-shrink-0 twa:gap-1" },
72
+ React.createElement(Flex_1.Flex, { className: "twa:flex twa:box-border twa:items-center" },
73
+ React.createElement(ButtonApply_1.ButtonApply, { className: `ab-${elementType}__BulkUpdate__apply twa:h-full`, onClick: () => this.onApplyClick(), style: applyStyle, tooltip: "Apply Bulk Update", disabled: valueOperationDisabled, accessLevel: this.props.accessLevel }, 'Apply')),
74
+ React.createElement(AdaptablePopover_1.AdaptablePopover, { popoverMinWidth: 360, className: `ab-${elementType}__BulkUpdate__info`, headerText: "Preview Results", bodyText: [previewPanel], MessageType: infoStyle, useButton: true, showEvent: 'focus', hideEvent: "blur", disabled: valueSelectorDisabled || StringExtensions_1.StringExtensions.IsNullOrEmpty(this.props.BulkUpdateValue) }))));
62
75
  }
63
76
  onColumnValueSelectedChanged(selectedColumnValue) {
64
77
  this.props.onBulkUpdateValueChange(selectedColumnValue);
@@ -26,11 +26,11 @@ exports.renderCalculatedColumnDefinitionSummary = renderCalculatedColumnDefiniti
26
26
  const isValidCalculatedColumnDefinition = (data, api) => {
27
27
  const columns = api.columnApi.getColumns();
28
28
  if (!data.ColumnId) {
29
- return 'Column Id cannot be empty';
29
+ return 'A Column ID is required.';
30
30
  }
31
31
  const columnsWithSameIdCount = columns.filter((c) => c.columnId === data.ColumnId).length;
32
32
  const hasAlreadyExistingId = data.Uuid ? columnsWithSameIdCount > 1 : columnsWithSameIdCount > 0;
33
- return hasAlreadyExistingId ? 'A Column already exists with that id' : true;
33
+ return hasAlreadyExistingId ? 'A column with this ID already exists.' : true;
34
34
  };
35
35
  exports.isValidCalculatedColumnDefinition = isValidCalculatedColumnDefinition;
36
36
  const CalculatedColumnDefinitionWizardSection = (props) => {
@@ -22,11 +22,11 @@ const isValidCalculatedColumnExpression = (data, api) => {
22
22
  const calculatedColumnExpressionService = api.internalApi.getCalculatedColumnExpressionService();
23
23
  const expression = api.expressionApi.getAdaptableQueryExpression(data.Query)?.trim();
24
24
  if (!expression) {
25
- return 'Calculated column expression cannot be empty';
25
+ return 'An expression is required for the Calculated Column.';
26
26
  }
27
27
  const isValid = calculatedColumnExpressionService.isCalculatedColumnQueryValid(data.Query);
28
28
  if (!isValid) {
29
- return 'Calculated column expression is not valid';
29
+ return 'The Calculated Column expression is not valid.';
30
30
  }
31
31
  return true;
32
32
  };
@@ -21,7 +21,7 @@ const renderCalculatedColumnSettingsSummary = (data) => {
21
21
  exports.renderCalculatedColumnSettingsSummary = renderCalculatedColumnSettingsSummary;
22
22
  const isValidCalculatedColumnSettings = (data) => {
23
23
  if (!data.CalculatedColumnSettings?.DataType) {
24
- return 'No data type is specified and it could not be inferred from the defined expression';
24
+ return 'A data type is required. It could not be inferred from the expression.';
25
25
  }
26
26
  return true;
27
27
  };
@@ -13,7 +13,9 @@ const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/
13
13
  const react_redux_1 = require("react-redux");
14
14
  const Select_1 = require("../../components/Select");
15
15
  const Flex_1 = require("../../components/Flex");
16
+ const clsx_1 = tslib_1.__importDefault(require("clsx"));
16
17
  class CellSummaryViewPanelComponent extends React.Component {
18
+ cleanupEvent;
17
19
  constructor(props) {
18
20
  super(props);
19
21
  }
@@ -47,30 +49,27 @@ class CellSummaryViewPanelComponent extends React.Component {
47
49
  });
48
50
  let cellSummaryPopover = React.createElement(CellSummaryPopover_1.CellSummaryPopover, { CellSummary: this.props.CellSummary });
49
51
  let shouldDisable = this.props.accessLevel == 'ReadOnly' || this.props.CellSummary == null;
50
- const renderOperationValue = () => {
51
- if (shouldDisable) {
52
- return;
53
- }
54
- const operationValue = this.getOperationValue();
55
- if (operationValue == undefined) {
56
- return;
57
- }
58
- return this.props.viewType === 'ToolPanel' ? (React.createElement(Flex_1.Flex, { className: `ab-${elementType}__CellSummary__value twa:rounded-standard twa:mr-2 twa:p-2 twa:text-text-on-info twa:bg-info twa:text-2` }, operationValue)) : (React.createElement(Flex_1.Flex, { justifyContent: "center", className: `ab-${elementType}__CellSummary__value twa:flex-1 twa:mr-2 twa:ml-1 text-text-on-primary` }, operationValue));
59
- };
60
- const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
61
- return (React.createElement(Flex_1.Flex, { flexDirection: "row", className: shouldDisable ? GeneralConstants.READ_ONLY_STYLE : `ab-${elementType}__CellSummary__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
52
+ const isToolbar = this.props.viewType === 'Toolbar';
53
+ const elementType = isToolbar ? 'DashboardToolbar' : 'ToolPanel';
54
+ const operationValue = this.getOperationValue() ?? 'N/A';
55
+ return (React.createElement(Flex_1.Flex, { className: (0, clsx_1.default)(shouldDisable ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__CellSummary__wrap twa:gap-2 twa:flex-row`, {
56
+ 'twa:min-w-[215px] twa:max-w-[215px] twa:w-[215px] twa:flex-nowrap': isToolbar,
57
+ 'twa:flex-1 twa:flex-wrap': !isToolbar,
58
+ }) },
62
59
  React.createElement(Flex_1.Flex, { className: "twa:flex-1" },
63
60
  React.createElement(Select_1.Select, { "aria-label": "Cell Summary Operation Selector", className: `ab-${elementType}__CellSummary__select twa:w-full`, disabled: shouldDisable, options: [...operationMenuItems, ...operationDefinitions], onChange: (x) => this.props.onCellSummaryOperationChange(x), value: this.props.CellSummaryOperation })),
64
- React.createElement(Flex_1.Flex, { alignItems: "center", className: "twa:ml-2" }, React.createElement(React.Fragment, null,
65
- renderOperationValue(),
66
- this.props.CellSummary != null && this.props.CellSummary.Count > 0 && (React.createElement(AdaptablePopover_1.AdaptablePopover, { popoverMaxWidth: 360, className: "ab-ToolPanel__CellSummary__info", bodyText: [cellSummaryPopover], useButton: true, showEvent: 'focus', hideEvent: "blur", tooltipText: 'Show Cell Summaries' }))))));
61
+ React.createElement(Flex_1.Flex, { className: "twa:items-center twa:gap-1" }, React.createElement(React.Fragment, null,
62
+ React.createElement(Flex_1.Flex, { className: (0, clsx_1.default)(`ab-${elementType}__CellSummary__value twa:min-w-[50px]`, {
63
+ 'twa:rounded-standard twa:text-color-text-on-info twa:bg-color-info twa:text-2': !isToolbar,
64
+ 'twa:flex-1 twa:text-color-text-on-primary twa:justify-center': isToolbar,
65
+ }) }, operationValue),
66
+ React.createElement(AdaptablePopover_1.AdaptablePopover, { popoverMaxWidth: 360, className: "ab-ToolPanel__CellSummary__info", bodyText: [cellSummaryPopover], useButton: true, showEvent: 'focus', hideEvent: "blur", tooltipText: 'Show Cell Summaries', disabled: !this.props.CellSummary?.Count })))));
67
67
  }
68
68
  checkSelectedCells() {
69
69
  this.props.onCreateCellSummary();
70
70
  }
71
71
  getOperationValue() {
72
- const api = this.props.api;
73
- return api.cellSummaryApi.getCellSummaryOperationValue(this.props.CellSummaryOperation);
72
+ return this.props.api.cellSummaryApi.getCellSummaryOperationValue(this.props.CellSummaryOperation);
74
73
  }
75
74
  }
76
75
  function mapStateToProps(state, ownProps) {
@@ -9,12 +9,12 @@ const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLa
9
9
  const AdaptableInput_1 = tslib_1.__importDefault(require("../../../Components/AdaptableInput"));
10
10
  const isSettingsValid = (chartDefinition, api) => {
11
11
  if (!chartDefinition.Name) {
12
- return 'Name is mandatory';
12
+ return 'A name is required.';
13
13
  }
14
14
  const allChartDefinitions = api.chartingApi.getChartDefinitions();
15
15
  if (allChartDefinitions.some((chartDefinitionLoopItem) => chartDefinitionLoopItem.Uuid !== chartDefinition.Uuid &&
16
16
  chartDefinitionLoopItem.Name === chartDefinition.Name)) {
17
- return 'There is already a chart with this name';
17
+ return 'A Chart with this name already exists.';
18
18
  }
19
19
  return true;
20
20
  };
@@ -7,12 +7,12 @@ const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLa
7
7
  const AdaptableInput_1 = tslib_1.__importDefault(require("../../../Components/AdaptableInput"));
8
8
  const isSettingsValid = (chartDefinition, api) => {
9
9
  if (!chartDefinition.Name) {
10
- return 'Name is mandatory';
10
+ return 'A name is required.';
11
11
  }
12
12
  const allChartDefinitions = api.chartingApi.getExternalChartDefinitions();
13
13
  if (allChartDefinitions.some((chartDefinitionLoopItem) => chartDefinitionLoopItem.Uuid !== chartDefinition.Uuid &&
14
14
  chartDefinitionLoopItem.Name === chartDefinition.Name)) {
15
- return 'There is already a chart with this name';
15
+ return 'A Chart with this name already exists.';
16
16
  }
17
17
  return true;
18
18
  };
@@ -11,7 +11,7 @@ const AdaptableDateInput = React.forwardRef(function AdaptableDateInputCmp(props
11
11
  const { value: _, defaultValue: __, onChange, required, disabled, showClearButton, ...inputProps } = props;
12
12
  const [value, setValue] = (0, useProperty_1.default)(props, 'value', undefined, {
13
13
  onChange: (dateString) =>
14
- // wrap date value in FormEvent in order to keep the external API unchanged
14
+ // wrap date value in ChangeEvent in order to keep the external API unchanged
15
15
  props.onChange?.({
16
16
  target: {
17
17
  // ALWAYS trigger onChange with the ISO format
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
7
7
  class ButtonApply extends React.Component {
8
8
  render() {
9
- return (React.createElement(SimpleButton_1.default, { "data-name": "apply", tooltip: "Apply", iconSize: 20, icon: "check", variant: "text", ...this.props }));
9
+ return (React.createElement(SimpleButton_1.default, { "data-name": "apply", tooltip: "Apply", iconSize: 20, icon: "check", variant: "outlined", ...this.props }));
10
10
  }
11
11
  }
12
12
  exports.ButtonApply = ButtonApply;
@@ -11,6 +11,15 @@ const Glyphicon = ({ glyph, style }) => {
11
11
  };
12
12
  const baseClassName = 'ab-Button twa:text-current';
13
13
  class ButtonBase extends React.Component {
14
+ static defaultProps = {
15
+ overrideDisableButton: false,
16
+ toolTipAndText: '',
17
+ glyph: '',
18
+ displayMode: 'Glyph+Text',
19
+ transformGlyph: false,
20
+ accessLevel: 'Full',
21
+ showDefaultStyle: false,
22
+ };
14
23
  render() {
15
24
  let isDisabled;
16
25
  isDisabled = this.props.accessLevel == 'Hidden';
@@ -64,12 +73,3 @@ class ButtonBase extends React.Component {
64
73
  }
65
74
  }
66
75
  exports.ButtonBase = ButtonBase;
67
- ButtonBase.defaultProps = {
68
- overrideDisableButton: false,
69
- toolTipAndText: '',
70
- glyph: '',
71
- displayMode: 'Glyph+Text',
72
- transformGlyph: false,
73
- accessLevel: 'Full',
74
- showDefaultStyle: false,
75
- };
@@ -3,6 +3,7 @@ import { SimpleButtonProps } from '../../../components/SimpleButton';
3
3
  export interface ClearButtonProps extends SimpleButtonProps {
4
4
  showText?: boolean;
5
5
  showIcon?: boolean;
6
+ variant?: SimpleButtonProps['variant'];
6
7
  }
7
8
  export declare class ButtonClear extends React.Component<ClearButtonProps, {}> {
8
9
  render(): React.JSX.Element;
@@ -2,8 +2,7 @@ import * as React from 'react';
2
2
  import * as Redux from 'redux';
3
3
  import { AccessLevel } from '../../../AdaptableState/Common/Entitlement';
4
4
  import { AdaptableSharedEntityConfig } from '../../../AdaptableState/TeamSharingState';
5
- import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
6
- import { SuspendableObject } from '../../../AdaptableState/Common/SuspendableObject';
5
+ import { AdaptableObject, SuspendableObject } from '../../../AdaptableState/Common/AdaptableObject';
7
6
  export interface EntityListActionButtonsProps extends React.ClassAttributes<EntityListActionButtons> {
8
7
  editClick?: () => void;
9
8
  cloneClick?: () => void;
@@ -14,6 +14,24 @@ const stopPropagation = (e) => {
14
14
  e.stopPropagation();
15
15
  };
16
16
  class EntityListActionButtons extends React.Component {
17
+ static defaultProps = {
18
+ // Adaptable: null,
19
+ suspendableObject: null,
20
+ showEdit: true,
21
+ showDelete: true,
22
+ showShare: false,
23
+ showSuspend: false,
24
+ overrideDisableEdit: false,
25
+ overrideDisableDelete: false,
26
+ overrideDisableClone: false,
27
+ overrideDisableShare: false,
28
+ confirmDeleteAction: null,
29
+ entityType: '',
30
+ accessLevel: 'Full',
31
+ editSize: 'xsmall',
32
+ deleteSize: 'xsmall',
33
+ shareSize: 'xsmall',
34
+ };
17
35
  render() {
18
36
  const { justifyContent } = this.props;
19
37
  const justifyContentClassName = (0, clsx_1.default)({
@@ -30,21 +48,3 @@ class EntityListActionButtons extends React.Component {
30
48
  }
31
49
  }
32
50
  exports.EntityListActionButtons = EntityListActionButtons;
33
- EntityListActionButtons.defaultProps = {
34
- // Adaptable: null,
35
- suspendableObject: null,
36
- showEdit: true,
37
- showDelete: true,
38
- showShare: false,
39
- showSuspend: false,
40
- overrideDisableEdit: false,
41
- overrideDisableDelete: false,
42
- overrideDisableClone: false,
43
- overrideDisableShare: false,
44
- confirmDeleteAction: null,
45
- entityType: '',
46
- accessLevel: 'Full',
47
- editSize: 'xsmall',
48
- deleteSize: 'xsmall',
49
- shareSize: 'xsmall',
50
- };
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
- import { AdaptableObject } from '../../../../AdaptableState/Common/AdaptableObject';
2
+ import { AdaptableObject, SuspendableObject } from '../../../../AdaptableState/Common/AdaptableObject';
3
3
  import { AccessLevel } from '../../../../AdaptableState/Common/Entitlement';
4
- import { SuspendableObject } from '../../../../AdaptableState/Common/SuspendableObject';
5
4
  interface EntityListSuspendButtonProps {
6
5
  onSuspend: (adaptableObject: AdaptableObject) => void;
7
6
  onUnSuspend: (adaptableObject: AdaptableObject) => void;
@@ -36,7 +36,7 @@ exports.CellPopup = React.forwardRef((props, ref) => {
36
36
  const cellSelector = `[row-id="${props.primaryKeyValue}"] [col-id="${props.columnId}"]`;
37
37
  const alignTo = document.querySelector(cellSelector);
38
38
  if (!alignTo) {
39
- adaptable.logger.consoleError(`Could not find cell with selector ${cellSelector} to show popup`);
39
+ adaptable.logger.consoleError(`Cell not found for selector "${cellSelector}". Unable to display popup.`);
40
40
  return;
41
41
  }
42
42
  const showOverlayOptions = {
@@ -41,11 +41,19 @@ const FloatingFilter = (props) => {
41
41
  const handleClear = () => props.onClear?.();
42
42
  const showEvent = 'click';
43
43
  const hideEvent = 'blur';
44
+ const [overlayVisible, setOverlayVisible] = React.useState(false);
44
45
  let filterDropdown = null;
45
- let filterDropdownButton = (React.createElement(SimpleButton_1.default, { variant: "text", "data-name": "floating-filter-button", "data-value": props.predicate?.args[0]?.operator, onClick: () => {
46
+ const filterDropdownButton = (React.createElement(SimpleButton_1.default, { variant: "text", "data-name": "floating-filter-button", onBlur: () => {
47
+ if (isInlineEditable) {
48
+ setOverlayVisible(false);
49
+ }
50
+ }, "data-value": props.predicate?.args[0]?.operator, onClick: () => {
46
51
  if (!isInlineEditable) {
47
52
  adaptable.api.filterApi.columnFilterApi.internalApi.openColumnFilterPopup(props.columnId);
48
53
  }
54
+ else {
55
+ setOverlayVisible(true);
56
+ }
49
57
  }, style: {
50
58
  textAlign: 'left',
51
59
  marginRight: 1, // just so that the focus outline is not cut off
@@ -59,9 +67,10 @@ const FloatingFilter = (props) => {
59
67
  React.createElement(Flex_1.Box, null, !isManualApply && singleFilterPredicateDef?.icon ? (singleFilterPredicateDef?.icon) : (React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: { name: 'filter' } }))),
60
68
  showLabel && (React.createElement(Flex_1.Box, { className: "ab-FloatingFilter-label twa:ml-2 twa:flex-1", title: label }, label))));
61
69
  if (isInlineEditable) {
62
- filterDropdown = showQuickFilterDropdown && (React.createElement(OverlayTrigger_1.default, { className: "ab-FloatingFilter-overlay", showEvent: showEvent, hideEvent: hideEvent, preventPortalEventPropagation: showEvent === 'click', targetOffset: 10, hideDelay: 50, "data-name": "floating-filter-overlay", render: () => {
70
+ filterDropdown = showQuickFilterDropdown && (React.createElement(OverlayTrigger_1.default, { className: "ab-FloatingFilter-overlay", showEvent: showEvent, hideEvent: hideEvent, visible: overlayVisible, onVisibleChange: setOverlayVisible, preventPortalEventPropagation: showEvent === 'click', targetOffset: 10, hideDelay: 50, "data-name": "floating-filter-overlay", render: () => {
63
71
  // we render this only for single filter
64
72
  return (React.createElement(ColumnFilterMenu_1.ColumnFilterMenu, { columnId: props.columnId, disabled: props.disabled, predicate: props.predicate.args[0], predicateDefs: props.predicateDefs, onPredicateChange: (predicate) => {
73
+ setOverlayVisible(false);
65
74
  props.onPredicateChange({
66
75
  operator: props.predicate.operator,
67
76
  args: [predicate],
@@ -72,7 +81,36 @@ const FloatingFilter = (props) => {
72
81
  else {
73
82
  filterDropdown = filterDropdownButton;
74
83
  }
75
- return (React.createElement(Flex_1.Flex, { className: "ab-FloatingFilter twa:w-full" },
84
+ return (React.createElement(Flex_1.Flex, { className: "ab-FloatingFilter twa:w-full", onKeyDownCapture: (e) => {
85
+ // AG Grid's header keyboard navigation intercepts Tab and calls preventDefault(),
86
+ // which prevents focus from moving between elements inside the floating filter.
87
+ // We handle Tab manually in the capture phase (before AG Grid's handlers).
88
+ if (e.key === 'Tab') {
89
+ const target = e.target;
90
+ const wrapper = e.currentTarget;
91
+ if (!e.shiftKey) {
92
+ // Tab forward: from filter button → select input
93
+ if (target.getAttribute('data-name') === 'floating-filter-button') {
94
+ const selectInput = wrapper.querySelector('[data-name="Select Values"] input');
95
+ if (selectInput) {
96
+ e.preventDefault();
97
+ e.nativeEvent.stopImmediatePropagation();
98
+ selectInput.focus();
99
+ // When the DummyInput gets focus, react-select sets isFocused=true,
100
+ // triggering a React re-render. During this re-render, unstable component
101
+ // references in selectComponents can cause the DummyInput to be removed
102
+ // from DOM and recreated, losing focus. We restore focus after the re-render.
103
+ requestAnimationFrame(() => {
104
+ if (document.activeElement === document.body || document.activeElement === null) {
105
+ const newInput = wrapper.querySelector('[data-name="Select Values"] input');
106
+ newInput?.focus();
107
+ }
108
+ });
109
+ }
110
+ }
111
+ }
112
+ }
113
+ } },
76
114
  filterDropdown,
77
115
  isInlineEditable && (React.createElement(Flex_1.Flex, { className: "twa:flex-1 twa:min-w-0" },
78
116
  React.createElement(FloatingFilterInputList_1.FloatingFilterInputList, { onKeyDown: props.onKeydown, columnId: props.columnId, disabled: props.disabled,
@@ -97,7 +97,7 @@ const ColumnFilterInput = (props) => {
97
97
  return (React.createElement(AdaptableInput_1.default, { style: filterType === 'floating'
98
98
  ? {
99
99
  width: '100%',
100
- padding: 'var(--ab-space-1)',
100
+ padding: 'var(--ab-base-space)',
101
101
  borderRadius: 0,
102
102
  border: 'none',
103
103
  }