@adaptabletools/adaptable-cjs 20.0.0-canary.22 → 20.0.0-canary.24

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 (684) hide show
  1. package/package.json +1 -1
  2. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
  3. package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -8
  4. package/src/AdaptableOptions/ActionColumnOptions.d.ts +1 -1
  5. package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
  6. package/src/AdaptableOptions/AdaptablePlugin.d.ts +4 -4
  7. package/src/AdaptableOptions/AlertOptions.d.ts +3 -3
  8. package/src/AdaptableOptions/CellSummaryOptions.d.ts +1 -1
  9. package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
  10. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +1 -1
  11. package/src/AdaptableOptions/ContextMenuOptions.d.ts +1 -1
  12. package/src/AdaptableOptions/CustomSortOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/DashboardOptions.d.ts +3 -3
  14. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
  15. package/src/AdaptableOptions/DataSetOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/DefaultAdaptableOptions.js +4 -4
  17. package/src/AdaptableOptions/EditOptions.d.ts +3 -3
  18. package/src/AdaptableOptions/EntitlementOptions.d.ts +2 -2
  19. package/src/AdaptableOptions/ExportOptions.d.ts +4 -4
  20. package/src/AdaptableOptions/ExpressionOptions.d.ts +4 -4
  21. package/src/AdaptableOptions/Fdc3Options.d.ts +3 -3
  22. package/src/AdaptableOptions/FilterOptions.d.ts +3 -3
  23. package/src/AdaptableOptions/FlashingCellOptions.d.ts +1 -1
  24. package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
  25. package/src/AdaptableOptions/LayoutOptions.d.ts +11 -11
  26. package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
  27. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +1 -1
  28. package/src/AdaptableOptions/StateOptions.d.ts +2 -2
  29. package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
  30. package/src/AdaptableOptions/ToolPanelOptions.d.ts +3 -3
  31. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +3 -3
  32. package/src/{PredefinedConfig → AdaptableState}/AdaptableState.d.ts +7 -7
  33. package/src/{PredefinedConfig → AdaptableState}/AlertState.d.ts +3 -3
  34. package/src/{PredefinedConfig → AdaptableState}/ApplicationState.d.ts +3 -3
  35. package/src/{PredefinedConfig/ConfigState.d.ts → AdaptableState/BaseState.d.ts} +2 -2
  36. package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.d.ts +3 -3
  37. package/src/{PredefinedConfig → AdaptableState}/ChartingState.d.ts +2 -2
  38. package/src/{PredefinedConfig → AdaptableState}/CommentState.d.ts +2 -2
  39. package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.d.ts +1 -1
  40. package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.js +2 -2
  41. package/src/{PredefinedConfig → AdaptableState}/Common/Types.d.ts +1 -1
  42. package/src/{PredefinedConfig → AdaptableState}/CustomSortState.d.ts +3 -3
  43. package/src/{PredefinedConfig → AdaptableState}/DashboardState.d.ts +3 -3
  44. package/src/{PredefinedConfig → AdaptableState}/ExportState.d.ts +3 -3
  45. package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.d.ts +10 -10
  46. package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.d.ts +3 -3
  47. package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.d.ts +3 -3
  48. package/src/{PredefinedConfig → AdaptableState}/IPushPullState.d.ts +2 -2
  49. package/src/{PredefinedConfig/PredefinedConfig.d.ts → AdaptableState/InitialState.d.ts} +90 -1
  50. package/src/{PredefinedConfig → AdaptableState}/InternalState.d.ts +1 -1
  51. package/src/{PredefinedConfig → AdaptableState}/LayoutState.d.ts +3 -3
  52. package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.d.ts +3 -3
  53. package/src/{PredefinedConfig → AdaptableState}/NoteState.d.ts +3 -3
  54. package/src/{PredefinedConfig → AdaptableState}/OpenFinState.d.ts +2 -2
  55. package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.d.ts +3 -3
  56. package/src/{PredefinedConfig → AdaptableState}/PopupState.d.ts +2 -2
  57. package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.d.ts +3 -3
  58. package/src/{PredefinedConfig → AdaptableState}/ScheduleState.d.ts +3 -3
  59. package/src/{PredefinedConfig → AdaptableState}/ShortcutState.d.ts +3 -3
  60. package/src/{PredefinedConfig → AdaptableState}/StatusBarState.d.ts +3 -3
  61. package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.d.ts +3 -3
  62. package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.d.ts +3 -3
  63. package/src/{PredefinedConfig → AdaptableState}/ThemeState.d.ts +2 -2
  64. package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.d.ts +3 -3
  65. package/src/Api/AdaptableApi.d.ts +2 -2
  66. package/src/Api/AlertApi.d.ts +3 -3
  67. package/src/Api/ApplicationApi.d.ts +1 -1
  68. package/src/Api/CalculatedColumnApi.d.ts +1 -1
  69. package/src/Api/CellSummaryApi.d.ts +1 -1
  70. package/src/Api/ChartingApi.d.ts +1 -1
  71. package/src/Api/ColumnFilterApi.d.ts +6 -1
  72. package/src/Api/ColumnScopeApi.d.ts +3 -3
  73. package/src/Api/CommentApi.d.ts +1 -1
  74. package/src/Api/CustomSortApi.d.ts +1 -1
  75. package/src/Api/DashboardApi.d.ts +3 -3
  76. package/src/Api/DataChangeHistoryApi.d.ts +1 -1
  77. package/src/Api/Events/AdaptableStateChanged.d.ts +1 -1
  78. package/src/Api/Events/AdaptableStateReloaded.d.ts +1 -1
  79. package/src/Api/Events/AlertFired.d.ts +1 -1
  80. package/src/Api/Events/CalculatedColumnChanged.d.ts +1 -1
  81. package/src/Api/Events/CellChanged.d.ts +1 -1
  82. package/src/Api/Events/CellSelectionChanged.d.ts +1 -1
  83. package/src/Api/Events/DashboardChanged.d.ts +1 -1
  84. package/src/Api/Events/FlashingCellDisplayed.d.ts +1 -1
  85. package/src/Api/Events/GridSorted.d.ts +1 -1
  86. package/src/Api/Events/LayoutChanged.d.ts +1 -1
  87. package/src/Api/Events/LiveDataChanged.d.ts +1 -1
  88. package/src/Api/Events/RowChanged.d.ts +2 -2
  89. package/src/Api/Events/RowFormSubmitted.d.ts +1 -1
  90. package/src/Api/Events/RowSelectionChanged.d.ts +1 -1
  91. package/src/Api/Events/ScheduleTriggered.d.ts +1 -1
  92. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
  93. package/src/Api/Events/TeamSharingEntityChanged.d.ts +1 -1
  94. package/src/Api/Events/ThemeChanged.d.ts +1 -1
  95. package/src/Api/ExportApi.d.ts +2 -2
  96. package/src/Api/ExpressionApi.d.ts +3 -3
  97. package/src/Api/FlashingCellApi.d.ts +5 -5
  98. package/src/Api/FormatColumnApi.d.ts +1 -1
  99. package/src/Api/FreeTextColumnApi.d.ts +1 -1
  100. package/src/Api/GridApi.d.ts +13 -13
  101. package/src/Api/IPushPullApi.d.ts +2 -2
  102. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  103. package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
  104. package/src/Api/Implementation/AlertApiImpl.d.ts +4 -4
  105. package/src/Api/Implementation/AlertApiImpl.js +1 -1
  106. package/src/Api/Implementation/ApiBase.d.ts +5 -5
  107. package/src/Api/Implementation/ApiBase.js +3 -3
  108. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
  109. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +2 -2
  110. package/src/Api/Implementation/CellSummaryApiImpl.js +1 -1
  111. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  112. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  113. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +3 -2
  114. package/src/Api/Implementation/ColumnFilterApiImpl.js +8 -1
  115. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +3 -3
  116. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
  117. package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -3
  118. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -1
  119. package/src/Api/Implementation/ExportApiImpl.d.ts +2 -2
  120. package/src/Api/Implementation/ExpressionApiImpl.d.ts +3 -3
  121. package/src/Api/Implementation/ExpressionApiImpl.js +1 -1
  122. package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
  123. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +4 -4
  124. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -3
  125. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  126. package/src/Api/Implementation/GridApiImpl.d.ts +12 -12
  127. package/src/Api/Implementation/GridApiImpl.js +1 -1
  128. package/src/Api/Implementation/LayoutApiImpl.d.ts +4 -4
  129. package/src/Api/Implementation/LayoutApiImpl.js +1 -1
  130. package/src/Api/Implementation/LayoutHelpers.js +1 -1
  131. package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
  132. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -2
  133. package/src/Api/Implementation/PredicateApiImpl.js +1 -1
  134. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -2
  135. package/src/Api/Implementation/ScheduleApiImpl.d.ts +5 -5
  136. package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -1
  137. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  138. package/src/Api/Implementation/{ConfigApiImpl.d.ts → StateApiImpl.d.ts} +29 -27
  139. package/src/Api/Implementation/{ConfigApiImpl.js → StateApiImpl.js} +19 -10
  140. package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
  141. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
  142. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +2 -2
  143. package/src/Api/Implementation/TeamSharingApiImpl.js +1 -1
  144. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
  145. package/src/Api/Implementation/ToolPanelApiImpl.d.ts +3 -3
  146. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -2
  147. package/src/Api/Internal/ActionColumnInternalApi.d.ts +1 -1
  148. package/src/Api/Internal/ActionColumnInternalApi.js +2 -2
  149. package/src/Api/Internal/AdaptableInternalApi.d.ts +9 -9
  150. package/src/Api/Internal/AdaptableInternalApi.js +2 -2
  151. package/src/Api/Internal/AlertInternalApi.d.ts +7 -7
  152. package/src/Api/Internal/AlertInternalApi.js +2 -2
  153. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +1 -1
  154. package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
  155. package/src/Api/Internal/ChartingInternalApi.d.ts +1 -1
  156. package/src/Api/Internal/ColumnFilterInternalApi.d.ts +4 -4
  157. package/src/Api/Internal/ColumnFilterInternalApi.js +1 -1
  158. package/src/Api/Internal/ColumnInternalApi.d.ts +1 -1
  159. package/src/Api/Internal/CustomSortInternalApi.d.ts +2 -2
  160. package/src/Api/Internal/DashboardInternalApi.d.ts +2 -2
  161. package/src/Api/Internal/DashboardInternalApi.js +1 -1
  162. package/src/Api/Internal/EventInternalApi.d.ts +2 -2
  163. package/src/Api/Internal/EventInternalApi.js +1 -1
  164. package/src/Api/Internal/ExportInternalApi.d.ts +3 -3
  165. package/src/Api/Internal/ExportInternalApi.js +11 -11
  166. package/src/Api/Internal/ExpressionInternalApi.d.ts +1 -1
  167. package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
  168. package/src/Api/Internal/Fdc3InternalApi.js +1 -1
  169. package/src/Api/Internal/FlashingCellInternalApi.d.ts +2 -2
  170. package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +2 -2
  171. package/src/Api/Internal/FreeTextColumnInternalApi.js +1 -1
  172. package/src/Api/Internal/GridInternalApi.d.ts +6 -6
  173. package/src/Api/Internal/GridInternalApi.js +1 -1
  174. package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
  175. package/src/Api/Internal/NamedQueryInternalApi.js +1 -1
  176. package/src/Api/Internal/PredicateInternalApi.d.ts +3 -3
  177. package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
  178. package/src/Api/Internal/SystemStatusInternalApi.d.ts +1 -1
  179. package/src/Api/Internal/TeamSharingInternalApi.d.ts +1 -1
  180. package/src/Api/LayoutApi.d.ts +2 -2
  181. package/src/Api/NoteApi.d.ts +1 -1
  182. package/src/Api/OpenFinApi.d.ts +2 -2
  183. package/src/Api/PlusMinusApi.d.ts +2 -2
  184. package/src/Api/PredicateApi.d.ts +1 -1
  185. package/src/Api/QuickSearchApi.d.ts +2 -2
  186. package/src/Api/ScheduleApi.d.ts +5 -5
  187. package/src/Api/ShortcutApi.d.ts +1 -1
  188. package/src/Api/SmartEditApi.d.ts +1 -1
  189. package/src/Api/{ConfigApi.d.ts → StateApi.d.ts} +37 -29
  190. package/src/Api/StatusBarApi.d.ts +1 -1
  191. package/src/Api/StyledColumnApi.d.ts +2 -2
  192. package/src/Api/SystemStatusApi.d.ts +1 -1
  193. package/src/Api/TeamSharingApi.d.ts +2 -2
  194. package/src/Api/ThemeApi.d.ts +1 -1
  195. package/src/Api/ToolPanelApi.d.ts +3 -3
  196. package/src/Api/UserInterfaceApi.d.ts +4 -4
  197. package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
  198. package/src/Redux/ActionsReducers/ApplicationRedux.d.ts +1 -1
  199. package/src/Redux/ActionsReducers/CalculatedColumnRedux.d.ts +1 -1
  200. package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
  201. package/src/Redux/ActionsReducers/ChartingRedux.js +1 -1
  202. package/src/Redux/ActionsReducers/CommentsRedux.d.ts +1 -1
  203. package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
  204. package/src/Redux/ActionsReducers/DashboardRedux.d.ts +4 -4
  205. package/src/Redux/ActionsReducers/ExportRedux.d.ts +1 -1
  206. package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +2 -2
  207. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
  208. package/src/Redux/ActionsReducers/FreeTextColumnRedux.d.ts +1 -1
  209. package/src/Redux/ActionsReducers/InternalRedux.d.ts +10 -10
  210. package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
  211. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +1 -1
  212. package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +1 -1
  213. package/src/Redux/ActionsReducers/NoteRedux.d.ts +1 -1
  214. package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +2 -2
  215. package/src/Redux/ActionsReducers/PopupRedux.d.ts +4 -4
  216. package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +2 -2
  217. package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
  218. package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
  219. package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +1 -1
  220. package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +1 -1
  221. package/src/Redux/ActionsReducers/SystemStatusRedux.d.ts +1 -1
  222. package/src/Redux/ActionsReducers/TeamSharingRedux.d.ts +3 -3
  223. package/src/Redux/ActionsReducers/ThemeRedux.d.ts +1 -1
  224. package/src/Redux/ActionsReducers/ToolPanelRedux.d.ts +2 -2
  225. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +2 -2
  226. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +4 -4
  227. package/src/Redux/Store/AdaptableReduxMerger.d.ts +3 -3
  228. package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
  229. package/src/Redux/Store/AdaptableStore.d.ts +4 -4
  230. package/src/Redux/Store/AdaptableStore.js +5 -5
  231. package/src/Redux/Store/Interface/IAdaptableStore.d.ts +3 -3
  232. package/src/Redux/Store/Interface/IStorageEngine.d.ts +3 -3
  233. package/src/Strategy/AdaptableModuleBase.d.ts +9 -9
  234. package/src/Strategy/AdaptableModuleBase.js +2 -3
  235. package/src/Strategy/AlertModule.d.ts +5 -5
  236. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  237. package/src/Strategy/CalculatedColumnModule.d.ts +5 -5
  238. package/src/Strategy/CellSummaryModule.d.ts +6 -6
  239. package/src/Strategy/ChartingModule.d.ts +1 -1
  240. package/src/Strategy/ChartingModule.js +1 -1
  241. package/src/Strategy/ColumnFilterModule.d.ts +4 -4
  242. package/src/Strategy/ColumnInfoModule.d.ts +1 -1
  243. package/src/Strategy/CommentModule.d.ts +1 -1
  244. package/src/Strategy/CustomSortModule.d.ts +4 -4
  245. package/src/Strategy/DashboardModule.d.ts +1 -1
  246. package/src/Strategy/DataImportModule.d.ts +1 -1
  247. package/src/Strategy/DataSetModule.d.ts +1 -1
  248. package/src/Strategy/DataSetModule.js +1 -1
  249. package/src/Strategy/ExportModule.d.ts +4 -4
  250. package/src/Strategy/Fdc3Module.d.ts +1 -1
  251. package/src/Strategy/FlashingCellModule.d.ts +4 -4
  252. package/src/Strategy/FlashingCellModule.js +1 -1
  253. package/src/Strategy/FormatColumnModule.d.ts +5 -5
  254. package/src/Strategy/FreeTextColumnModule.d.ts +3 -3
  255. package/src/Strategy/GridInfoModule.d.ts +3 -3
  256. package/src/Strategy/Interface/IBulkUpdateModule.d.ts +2 -2
  257. package/src/Strategy/Interface/ICellSummaryModule.d.ts +2 -2
  258. package/src/Strategy/Interface/IModule.d.ts +8 -8
  259. package/src/Strategy/Interface/IModuleActionReturn.d.ts +1 -1
  260. package/src/Strategy/Interface/IPlusMinusModule.d.ts +2 -2
  261. package/src/Strategy/Interface/ISmartEditModule.d.ts +1 -1
  262. package/src/Strategy/LayoutModule.d.ts +5 -5
  263. package/src/Strategy/LayoutModule.js +1 -1
  264. package/src/Strategy/NamedQueryModule.d.ts +1 -1
  265. package/src/Strategy/NoteModule.d.ts +1 -1
  266. package/src/Strategy/PlusMinusModule.d.ts +5 -5
  267. package/src/Strategy/ScheduleModule.d.ts +1 -1
  268. package/src/Strategy/ScheduleModule.js +1 -1
  269. package/src/Strategy/SettingsPanelModule.d.ts +2 -2
  270. package/src/Strategy/ShortcutModule.d.ts +3 -3
  271. package/src/Strategy/ShortcutModule.js +1 -1
  272. package/src/Strategy/SmartEditModule.d.ts +2 -2
  273. package/src/Strategy/SmartEditModule.js +1 -1
  274. package/src/Strategy/StateManagementModule.js +1 -1
  275. package/src/Strategy/StyledColumnModule.d.ts +5 -5
  276. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  277. package/src/Strategy/TeamSharingModule.d.ts +1 -1
  278. package/src/Strategy/ThemeModule.d.ts +1 -1
  279. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.d.ts +1 -1
  280. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.d.ts +1 -1
  281. package/src/Utilities/Constants/GeneralConstants.d.ts +4 -4
  282. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
  283. package/src/Utilities/Constants/ObjectDefaultConstants.d.ts +1 -1
  284. package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
  285. package/src/Utilities/Constants/ReduxConstants.js +1 -1
  286. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
  287. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  288. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
  289. package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -2
  290. package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
  291. package/src/Utilities/Extensions/EnumExtensions.js +1 -1
  292. package/src/Utilities/Helpers/AdaptableHelper.d.ts +5 -5
  293. package/src/Utilities/Helpers/AdaptableHelper.js +7 -7
  294. package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
  295. package/src/Utilities/Helpers/PreviewHelper.d.ts +1 -1
  296. package/src/Utilities/Interface/ColumnFilterProps.d.ts +1 -1
  297. package/src/Utilities/Interface/MessagePopups.d.ts +2 -2
  298. package/src/Utilities/Interface/Preview.d.ts +1 -1
  299. package/src/Utilities/MenuItem.d.ts +3 -3
  300. package/src/Utilities/ObjectFactory.d.ts +23 -25
  301. package/src/Utilities/ObjectFactory.js +3 -15
  302. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
  303. package/src/Utilities/Services/AlertService.d.ts +1 -1
  304. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +3 -3
  305. package/src/Utilities/Services/DataService.d.ts +1 -1
  306. package/src/Utilities/Services/Fdc3Service.js +2 -2
  307. package/src/Utilities/Services/FlashingCellService.d.ts +1 -1
  308. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
  309. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +3 -3
  310. package/src/Utilities/Services/Interface/IDataService.d.ts +1 -1
  311. package/src/Utilities/Services/Interface/IModuleService.d.ts +3 -3
  312. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +3 -3
  313. package/src/Utilities/Services/Interface/ITeamSharingService.d.ts +4 -4
  314. package/src/Utilities/Services/Interface/IValidationService.d.ts +2 -2
  315. package/src/Utilities/Services/ModuleService.d.ts +2 -2
  316. package/src/Utilities/Services/ModuleService.js +1 -1
  317. package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
  318. package/src/Utilities/Services/RowSummaryService.js +1 -1
  319. package/src/Utilities/Services/TeamSharingService.d.ts +4 -4
  320. package/src/Utilities/Services/TeamSharingService.js +1 -1
  321. package/src/Utilities/Services/ValidationService.d.ts +2 -2
  322. package/src/View/AdaptablePopover/index.d.ts +1 -1
  323. package/src/View/AdaptableViewFactory.d.ts +1 -1
  324. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +4 -4
  325. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +3 -3
  326. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +4 -4
  327. package/src/View/Alert/AlertEntityRow.d.ts +2 -2
  328. package/src/View/Alert/AlertViewPanel.d.ts +2 -2
  329. package/src/View/Alert/AlertsPanel.d.ts +1 -1
  330. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
  331. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -2
  332. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
  333. package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
  334. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  335. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
  336. package/src/View/Alert/Wizard/AlertSelectQueryWizard.d.ts +1 -1
  337. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +1 -1
  338. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
  339. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  340. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
  341. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
  342. package/src/View/CellSummary/CellSummaryDetails.d.ts +1 -1
  343. package/src/View/CellSummary/CellSummaryPopover.d.ts +1 -1
  344. package/src/View/CellSummary/CellSummaryPopup.d.ts +1 -1
  345. package/src/View/CellSummary/CellSummaryViewPanel.d.ts +3 -3
  346. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  347. package/src/View/Charting/ChartingWizard/ChartingWizard.d.ts +1 -1
  348. package/src/View/Charting/ChartingWizard/ChartingWizard.js +1 -1
  349. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.d.ts +1 -1
  350. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.d.ts +1 -1
  351. package/src/View/Charting/DeleteChartButton.d.ts +1 -1
  352. package/src/View/Charting/DeleteChartButton.js +1 -1
  353. package/src/View/Charting/EditChartButton.d.ts +1 -1
  354. package/src/View/Charting/ShowChartButton.js +1 -1
  355. package/src/View/Charting/useChartingElements.d.ts +1 -1
  356. package/src/View/Charting/useChartingElements.js +1 -1
  357. package/src/View/Charting/useExternalChartState.d.ts +1 -1
  358. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -1
  359. package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
  360. package/src/View/Components/Buttons/ButtonShare.d.ts +1 -1
  361. package/src/View/Components/Buttons/EntityListActionButtons.d.ts +4 -4
  362. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +3 -3
  363. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +1 -0
  364. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +4 -1
  365. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +2 -0
  366. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +10 -3
  367. package/src/View/Components/ColumnFilter/FloatingFilter.js +1 -1
  368. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +1 -1
  369. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +7 -1
  370. package/src/View/Components/ColumnFilter/utils.js +3 -1
  371. package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
  372. package/src/View/Components/ExpressionWizard.d.ts +1 -1
  373. package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
  374. package/src/View/Components/FilterForm/ListBoxFilterForm.js +1 -1
  375. package/src/View/Components/FilterForm/ListBoxMenu.d.ts +1 -1
  376. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  377. package/src/View/Components/ListBox/DualListBoxEditor.d.ts +1 -1
  378. package/src/View/Components/ListBox/DualListBoxEditor.js +1 -1
  379. package/src/View/Components/ListBox/ListBoxFilterSortComponent.d.ts +1 -1
  380. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +1 -1
  381. package/src/View/Components/ModuleSummary/ModuleDetail.d.ts +3 -3
  382. package/src/View/Components/ModuleSummary/ModuleHeader.d.ts +1 -1
  383. package/src/View/Components/ModuleValueSelector/index.d.ts +1 -1
  384. package/src/View/Components/NewScopeComponent.d.ts +1 -1
  385. package/src/View/Components/Panels/PanelDashboard/index.d.ts +1 -1
  386. package/src/View/Components/Panels/PanelWithButton.d.ts +1 -1
  387. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  388. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +1 -1
  389. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -1
  390. package/src/View/Components/Popups/AdaptablePopupConfirmation.d.ts +1 -1
  391. package/src/View/Components/Popups/AdaptablePopupTeamSharing.d.ts +1 -1
  392. package/src/View/Components/Popups/AdaptableToaster.d.ts +1 -1
  393. package/src/View/Components/Popups/FormPopups/FormPopups.js +1 -1
  394. package/src/View/Components/PreviewResultsPanel.d.ts +1 -1
  395. package/src/View/Components/RangesComponent.d.ts +2 -2
  396. package/src/View/Components/Selectors/BulkUpdateValueSelector.d.ts +1 -1
  397. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +2 -2
  398. package/src/View/Components/Selectors/ColumnSelectorOld.js +1 -1
  399. package/src/View/Components/SharedProps/BaseProps.d.ts +1 -1
  400. package/src/View/Components/SharedProps/ConfigEntityRowProps.d.ts +3 -3
  401. package/src/View/Components/SharedProps/EditableConfigEntityState.d.ts +1 -1
  402. package/src/View/Components/SharedProps/ModuleSummaryProps.d.ts +3 -3
  403. package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
  404. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.d.ts +2 -2
  405. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.d.ts +1 -1
  406. package/src/View/Components/SharedProps/ViewPanelProps.d.ts +1 -1
  407. package/src/View/Components/SharedProps/WizardScopeState.d.ts +1 -1
  408. package/src/View/Components/StyleComponent.d.ts +1 -1
  409. package/src/View/Components/StyleComponent.js +1 -1
  410. package/src/View/Components/StyleVisualItem.d.ts +1 -1
  411. package/src/View/Components/StyleVisualItem.js +1 -1
  412. package/src/View/Components/TagValueSelector/index.d.ts +1 -1
  413. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +4 -4
  414. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  415. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +3 -3
  416. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  417. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +2 -2
  418. package/src/View/CustomSort/CustomSortSummary.d.ts +1 -1
  419. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
  420. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.d.ts +1 -1
  421. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
  422. package/src/View/CustomSort/Wizard/CustomSortWizard.d.ts +1 -1
  423. package/src/View/Dashboard/CustomDashboardButton.d.ts +2 -2
  424. package/src/View/Dashboard/Dashboard.d.ts +3 -3
  425. package/src/View/Dashboard/DashboardPopup.d.ts +2 -2
  426. package/src/View/Dashboard/DashboardToolbarFactory.js +1 -1
  427. package/src/View/Dashboard/ModuleToolbarWrapper.d.ts +1 -1
  428. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
  429. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -5
  430. package/src/View/DataChangeHistory/DataChangeHistoryPopup.d.ts +2 -2
  431. package/src/View/Export/ExportDestinationPicker.d.ts +1 -1
  432. package/src/View/Export/ReportFormatSelector.d.ts +1 -1
  433. package/src/View/Export/ReportNameSelector.d.ts +1 -1
  434. package/src/View/Export/Wizard/NewReportWizard.d.ts +1 -1
  435. package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +1 -1
  436. package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
  437. package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
  438. package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +1 -1
  439. package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
  440. package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +1 -1
  441. package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +1 -1
  442. package/src/View/Filter/FilterViewPanel.d.ts +2 -2
  443. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts +1 -1
  444. package/src/View/FormatColumn/FormatColumnSummary.d.ts +1 -1
  445. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +3 -3
  446. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
  447. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
  448. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
  449. package/src/View/FormatColumn/Wizard/FormatColumnWizard.d.ts +1 -1
  450. package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +1 -1
  451. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
  452. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.d.ts +1 -1
  453. package/src/View/GridFilter/NamedQuerySelector.d.ts +1 -1
  454. package/src/View/GridFilter/NamedQuerySelector.js +1 -1
  455. package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +1 -1
  456. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  457. package/src/View/Layout/TransposedPopup.js +1 -1
  458. package/src/View/Layout/Wizard/Components/ColumnLabels.d.ts +1 -1
  459. package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
  460. package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
  461. package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
  462. package/src/View/PlusMinus/PlusMinusSummary.d.ts +1 -1
  463. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.d.ts +1 -1
  464. package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -1
  465. package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
  466. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.d.ts +1 -1
  467. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.d.ts +1 -1
  468. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
  469. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +1 -1
  470. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +1 -1
  471. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.d.ts +1 -1
  472. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  473. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +1 -1
  474. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +1 -1
  475. package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -1
  476. package/src/View/Schedule/Wizard/ScheduleWizard.js +1 -1
  477. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.d.ts +1 -1
  478. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +1 -1
  479. package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -1
  480. package/src/View/Shortcut/shortcutOperations.d.ts +1 -1
  481. package/src/View/Shortcut/shortcutOperations.js +1 -1
  482. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  483. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
  484. package/src/View/StateManagement/StateManagementPopup.js +8 -8
  485. package/src/View/StateManagement/StateManagementViewPanel.js +3 -3
  486. package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
  487. package/src/View/StateManagement/components/ExportDropdown.js +4 -4
  488. package/src/View/StateManagement/components/LoadButton.js +2 -2
  489. package/src/View/StateManagement/handleExportState.d.ts +1 -1
  490. package/src/View/StatusBar/StatusBarPopup.js +1 -1
  491. package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +1 -1
  492. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
  493. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts +1 -1
  494. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +1 -1
  495. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  496. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  497. package/src/View/Theme/ThemePopup.d.ts +1 -1
  498. package/src/View/UIHelper.d.ts +5 -5
  499. package/src/View/UIHelper.js +1 -1
  500. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +1 -1
  501. package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
  502. package/src/agGrid/AdaptableAgGrid.d.ts +2 -2
  503. package/src/agGrid/AdaptableAgGrid.js +11 -10
  504. package/src/agGrid/AdaptableLogger.d.ts +1 -1
  505. package/src/agGrid/AgGridAdapter.d.ts +3 -3
  506. package/src/agGrid/AgGridAdapter.js +10 -32
  507. package/src/agGrid/AgGridColumnAdapter.d.ts +3 -3
  508. package/src/agGrid/AgGridColumnAdapter.js +4 -4
  509. package/src/agGrid/AgGridExportAdapter.d.ts +2 -2
  510. package/src/agGrid/AgGridExportAdapter.js +1 -1
  511. package/src/agGrid/AgGridMenuAdapter.d.ts +2 -2
  512. package/src/agGrid/AgGridThemeAdapter.d.ts +1 -1
  513. package/src/agGrid/FilterWrapper.js +64 -35
  514. package/src/agGrid/FloatingFilterWrapper.js +13 -2
  515. package/src/agGrid/agGridDataTypeDefinitions.d.ts +1 -1
  516. package/src/agGrid/cellRenderers/BadgeRenderer.d.ts +2 -2
  517. package/src/agGrid/cellRenderers/PercentBarRenderer.d.ts +2 -2
  518. package/src/agGrid/getAgGridFilterNotifyModelFn.d.ts +2 -0
  519. package/src/agGrid/getAgGridFilterNotifyModelFn.js +14 -0
  520. package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +2 -2
  521. package/src/components/Dashboard/DashboardManager.d.ts +2 -2
  522. package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
  523. package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
  524. package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +1 -1
  525. package/src/components/Icon/index.d.ts +1 -1
  526. package/src/components/Select/Select.js +95 -22
  527. package/src/components/SimpleButton/index.d.ts +2 -2
  528. package/src/components/icons/index.d.ts +1 -1
  529. package/src/env.js +2 -2
  530. package/src/metamodel/adaptable.metamodel.d.ts +29 -11
  531. package/src/metamodel/adaptable.metamodel.js +1 -1
  532. package/src/migration/AdaptableUpgradeHelper.d.ts +1 -1
  533. package/src/migration/VersionUpgrade.d.ts +1 -1
  534. package/src/migration/VersionUpgrade17.d.ts +1 -1
  535. package/src/migration/VersionUpgrade17.js +1 -1
  536. package/src/migration/VersionUpgrade18.d.ts +1 -1
  537. package/src/migration/VersionUpgrade20.d.ts +2 -2
  538. package/src/themes/index.d.ts +1 -1
  539. package/src/types.d.ts +82 -82
  540. package/tsconfig.cjs.tsbuildinfo +1 -1
  541. /package/src/{PredefinedConfig → AdaptableState}/AdaptableState.js +0 -0
  542. /package/src/{PredefinedConfig → AdaptableState}/AlertState.js +0 -0
  543. /package/src/{PredefinedConfig → AdaptableState}/ApplicationState.js +0 -0
  544. /package/src/{Api/ConfigApi.js → AdaptableState/BaseState.js} +0 -0
  545. /package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.js +0 -0
  546. /package/src/{PredefinedConfig → AdaptableState}/ChartingState.js +0 -0
  547. /package/src/{PredefinedConfig → AdaptableState}/CommentState.js +0 -0
  548. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.d.ts +0 -0
  549. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.js +0 -0
  550. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.d.ts +0 -0
  551. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.js +0 -0
  552. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.d.ts +0 -0
  553. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.js +0 -0
  554. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.d.ts +0 -0
  555. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.js +0 -0
  556. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.d.ts +0 -0
  557. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.js +0 -0
  558. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.d.ts +0 -0
  559. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.js +0 -0
  560. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.d.ts +0 -0
  561. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.js +0 -0
  562. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.d.ts +0 -0
  563. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.js +0 -0
  564. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.d.ts +0 -0
  565. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.js +0 -0
  566. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.d.ts +0 -0
  567. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.js +0 -0
  568. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.d.ts +0 -0
  569. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.js +0 -0
  570. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.js +0 -0
  571. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.d.ts +0 -0
  572. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.d.ts +0 -0
  573. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.js +0 -0
  574. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.d.ts +0 -0
  575. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.js +0 -0
  576. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.d.ts +0 -0
  577. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.js +0 -0
  578. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.d.ts +0 -0
  579. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.js +0 -0
  580. /package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.d.ts +0 -0
  581. /package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.js +0 -0
  582. /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.d.ts +0 -0
  583. /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.js +0 -0
  584. /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.d.ts +0 -0
  585. /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.js +0 -0
  586. /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.d.ts +0 -0
  587. /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.js +0 -0
  588. /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.d.ts +0 -0
  589. /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.js +0 -0
  590. /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.d.ts +0 -0
  591. /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.js +0 -0
  592. /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.d.ts +0 -0
  593. /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.js +0 -0
  594. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.d.ts +0 -0
  595. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.js +0 -0
  596. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.d.ts +0 -0
  597. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.js +0 -0
  598. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.d.ts +0 -0
  599. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.js +0 -0
  600. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.d.ts +0 -0
  601. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.js +0 -0
  602. /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.d.ts +0 -0
  603. /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.js +0 -0
  604. /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.d.ts +0 -0
  605. /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.js +0 -0
  606. /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.d.ts +0 -0
  607. /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.js +0 -0
  608. /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.d.ts +0 -0
  609. /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.js +0 -0
  610. /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.d.ts +0 -0
  611. /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.js +0 -0
  612. /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.d.ts +0 -0
  613. /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.js +0 -0
  614. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.d.ts +0 -0
  615. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.js +0 -0
  616. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.d.ts +0 -0
  617. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.js +0 -0
  618. /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.d.ts +0 -0
  619. /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.js +0 -0
  620. /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.d.ts +0 -0
  621. /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.js +0 -0
  622. /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.d.ts +0 -0
  623. /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.js +0 -0
  624. /package/src/{PredefinedConfig → AdaptableState}/Common/Menu.d.ts +0 -0
  625. /package/src/{PredefinedConfig → AdaptableState}/Common/Menu.js +0 -0
  626. /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.d.ts +0 -0
  627. /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.js +0 -0
  628. /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.d.ts +0 -0
  629. /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.js +0 -0
  630. /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.d.ts +0 -0
  631. /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.js +0 -0
  632. /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.d.ts +0 -0
  633. /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.js +0 -0
  634. /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.d.ts +0 -0
  635. /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.js +0 -0
  636. /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.d.ts +0 -0
  637. /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.js +0 -0
  638. /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.d.ts +0 -0
  639. /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.js +0 -0
  640. /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.d.ts +0 -0
  641. /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.js +0 -0
  642. /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.d.ts +0 -0
  643. /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.js +0 -0
  644. /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.d.ts +0 -0
  645. /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.js +0 -0
  646. /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.d.ts +0 -0
  647. /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.js +0 -0
  648. /package/src/{PredefinedConfig → AdaptableState}/Common/Types.js +0 -0
  649. /package/src/{PredefinedConfig → AdaptableState}/CustomSortState.js +0 -0
  650. /package/src/{PredefinedConfig → AdaptableState}/DashboardState.js +0 -0
  651. /package/src/{PredefinedConfig → AdaptableState}/ExportState.js +0 -0
  652. /package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.js +0 -0
  653. /package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.js +0 -0
  654. /package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.js +0 -0
  655. /package/src/{PredefinedConfig → AdaptableState}/IPushPullState.js +0 -0
  656. /package/src/{PredefinedConfig/ConfigState.js → AdaptableState/InitialState.js} +0 -0
  657. /package/src/{PredefinedConfig → AdaptableState}/InternalState.js +0 -0
  658. /package/src/{PredefinedConfig → AdaptableState}/LayoutState.js +0 -0
  659. /package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.js +0 -0
  660. /package/src/{PredefinedConfig → AdaptableState}/NoteState.js +0 -0
  661. /package/src/{PredefinedConfig → AdaptableState}/OpenFinState.js +0 -0
  662. /package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.js +0 -0
  663. /package/src/{PredefinedConfig → AdaptableState}/PopupState.js +0 -0
  664. /package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.js +0 -0
  665. /package/src/{PredefinedConfig → AdaptableState}/ScheduleState.js +0 -0
  666. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.d.ts +0 -0
  667. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.js +0 -0
  668. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.d.ts +0 -0
  669. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.js +0 -0
  670. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.d.ts +0 -0
  671. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.js +0 -0
  672. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.d.ts +0 -0
  673. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.js +0 -0
  674. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.d.ts +0 -0
  675. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.js +0 -0
  676. /package/src/{PredefinedConfig → AdaptableState}/ShortcutState.js +0 -0
  677. /package/src/{PredefinedConfig → AdaptableState}/StatusBarState.js +0 -0
  678. /package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.js +0 -0
  679. /package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.js +0 -0
  680. /package/src/{PredefinedConfig → AdaptableState}/ThemeState.js +0 -0
  681. /package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.js +0 -0
  682. /package/src/{PredefinedConfig → AdaptableState}/Uuid.d.ts +0 -0
  683. /package/src/{PredefinedConfig → AdaptableState}/Uuid.js +0 -0
  684. /package/src/{PredefinedConfig/PredefinedConfig.js → Api/StateApi.js} +0 -0
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AgGridAdapter = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const ag_grid_enterprise_1 = require("ag-grid-enterprise");
6
- const AdaptableColumn_1 = require("../PredefinedConfig/Common/AdaptableColumn");
6
+ const AdaptableColumn_1 = require("../AdaptableState/Common/AdaptableColumn");
7
7
  const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
8
- const Uuid_1 = require("../PredefinedConfig/Uuid");
8
+ const Uuid_1 = require("../AdaptableState/Uuid");
9
9
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/ArrayExtensions"));
10
10
  const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
11
11
  const agGridModules_1 = require("./agGridModules");
@@ -172,39 +172,17 @@ class AgGridAdapter {
172
172
  return this.agGridOptionsService.getUserGridOptionsProperty(propertyName);
173
173
  }
174
174
  updateColumnFilterActiveState() {
175
+ const filteredCols = new Set();
175
176
  const columnFilters = this.adaptableApi.filterApi.columnFilterApi.getActiveColumnFilters();
176
- const activeFilters = columnFilters?.filter?.((columnFilter) => this.adaptableApi.filterApi.columnFilterApi.isColumnFilterActive(columnFilter));
177
- const isFilterActive = ArrayExtensions_1.default.IsNotNullOrEmpty(activeFilters);
178
- const columnsWithActiveFilters = {};
179
- if (isFilterActive) {
180
- // used in particular at init time to show the filter icon correctly
181
- for (const colFilter of activeFilters) {
182
- // AG Grid exposes the Column interface, but we need the AG Column class
183
- const agGridCol = this.getAgGridApi().getColumn(colFilter.ColumnId);
184
- if (agGridCol) {
185
- columnsWithActiveFilters[agGridCol.getColId()] = true;
186
- if (!agGridCol.isFilterActive()) {
187
- // FIXME AFL: changed from fn call; is this enough?
188
- agGridCol.filterActive = true;
189
- }
190
- }
191
- }
192
- }
193
- const agFilterModel = this.getAgGridApi().getFilterModel();
194
- // AG Grid exposes the Column interface, but we need the AG Column class
195
- (this.getAgGridApi().getColumns() || []).forEach((col) => {
196
- /**
197
- * When AG Grid filters are used active state should not be removed for all columns.
198
- * Need to check if the column has a filter model.
199
- */
200
- const isColumnInFilterModel = agFilterModel && agFilterModel[col.getColId()];
201
- if (!isColumnInFilterModel &&
202
- !columnsWithActiveFilters[col.getColId()] &&
203
- col.isFilterActive()) {
204
- // FIXME AFL: changed from fn call; is this enough?
205
- col.filterActive = false;
177
+ columnFilters?.forEach?.((columnFilter) => {
178
+ if (this.adaptableApi.filterApi.columnFilterApi.isColumnFilterActive(columnFilter)) {
179
+ filteredCols.add(columnFilter.ColumnId);
206
180
  }
207
181
  });
182
+ const agGridApi = this.getAgGridApi();
183
+ (agGridApi.getColumns() || []).forEach((col) => {
184
+ col.filterActive = filteredCols.has(col.getColId());
185
+ });
208
186
  }
209
187
  getColumnDefinitionsInclSpecialColumns(agGridColDefs) {
210
188
  const allColDefs = this.enhanceColDefsWithSpecialColumns(agGridColDefs ?? this.getAgGridApi().getColumnDefs());
@@ -1,7 +1,7 @@
1
1
  import { AdaptableAgGrid } from './AdaptableAgGrid';
2
- import { ColumnSetupInfo } from '../PredefinedConfig/Common/ColumnSetupInfo';
2
+ import { ColumnSetupInfo } from '../AdaptableState/Common/ColumnSetupInfo';
3
3
  import { ColDef, ColGroupDef, Column, GridOptions } from 'ag-grid-enterprise';
4
- import { AdaptableColumnDataType } from '../PredefinedConfig/Common/AdaptableColumn';
4
+ import { AdaptableColumnDataType } from '../AdaptableState/Common/AdaptableColumn';
5
5
  import { AdaptableVariant } from '../AdaptableInterfaces/IAdaptable';
6
6
  export declare function getEditorForColumnDataType(columnDataType: AdaptableColumnDataType, variant: AdaptableVariant): ColDef['cellEditor'];
7
7
  export declare class AgGridColumnAdapter {
@@ -23,7 +23,7 @@ export declare class AgGridColumnAdapter {
23
23
  private setupColumnCellEditor;
24
24
  private setupColumnCellRenderer;
25
25
  private setupColumnTooltipValueGetter;
26
- private setupColumnQuickFilerText;
26
+ private setupColumnQuickFilterText;
27
27
  private setupColumnAllowedAggFuncs;
28
28
  private setupColumnType;
29
29
  private setupColumnCellDataType;
@@ -7,7 +7,7 @@ const FilterWrapper_1 = require("./FilterWrapper");
7
7
  const FloatingFilterWrapper_1 = require("./FloatingFilterWrapper");
8
8
  const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
9
9
  const StringExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/StringExtensions"));
10
- const AdaptableColumn_1 = require("../PredefinedConfig/Common/AdaptableColumn");
10
+ const AdaptableColumn_1 = require("../AdaptableState/Common/AdaptableColumn");
11
11
  const tinycolor2_1 = tslib_1.__importDefault(require("tinycolor2"));
12
12
  const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
13
13
  const PercentBarRenderer_1 = require("./cellRenderers/PercentBarRenderer");
@@ -140,7 +140,7 @@ class AgGridColumnAdapter {
140
140
  this.setupColumnComparator(colSetupInfo);
141
141
  this.setupColumnCellEditor(colSetupInfo);
142
142
  this.setupColumnHeader(colSetupInfo);
143
- this.setupColumnQuickFilerText(colSetupInfo);
143
+ this.setupColumnQuickFilterText(colSetupInfo);
144
144
  this.setupColumnAllowedAggFuncs(colSetupInfo);
145
145
  this.setupColumnType(colSetupInfo);
146
146
  this.setupColumnCellDataType(colSetupInfo);
@@ -162,7 +162,7 @@ class AgGridColumnAdapter {
162
162
  if (!gridCell.column) {
163
163
  return null;
164
164
  }
165
- // if a Visual Data export is in progress, we are interested only in the Excel Style Class
165
+ // if a VisualExcel report format export is in progress, we are interested only in the Excel Style Class
166
166
  if (this.adaptableApi.exportApi.internalApi.isVisualDataExportInProgress()) {
167
167
  const userDefinedCellClass = typeof userCellClass === 'function' ? userCellClass(params) : userCellClass;
168
168
  const cellClassKey = AgGridExportAdapter_1.AgGridExportAdapter.getExcelClassNameForCell(colId, gridCell.primaryKeyValue, userDefinedCellClass);
@@ -330,7 +330,7 @@ class AgGridColumnAdapter {
330
330
  }
331
331
  });
332
332
  }
333
- setupColumnQuickFilerText({ col, abColumn }) {
333
+ setupColumnQuickFilterText({ col, abColumn }) {
334
334
  this.setColDefProperty(col, 'getQuickFilterText', (userGetQuickFilterText) => {
335
335
  if (userGetQuickFilterText) {
336
336
  return userGetQuickFilterText;
@@ -1,8 +1,8 @@
1
1
  import { AdaptableAgGrid } from './AdaptableAgGrid';
2
- import { Report, ReportFormatType } from '../PredefinedConfig/ExportState';
2
+ import { Report, ReportFormatType } from '../AdaptableState/ExportState';
3
3
  import { CsvExportParams, ExcelExportParams, ExcelStyle } from 'ag-grid-enterprise';
4
4
  import { ExportDestinationType, ExportResultData } from '../AdaptableOptions/ExportOptions';
5
- import { Layout } from '../PredefinedConfig/LayoutState';
5
+ import { Layout } from '../AdaptableState/LayoutState';
6
6
  export interface ExportConfig {
7
7
  report: Report;
8
8
  format: ReportFormatType;
@@ -8,7 +8,7 @@ const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
8
8
  const FormatHelper_1 = require("../Utilities/Helpers/FormatHelper");
9
9
  const tinycolor2_1 = tslib_1.__importDefault(require("tinycolor2"));
10
10
  const StringExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/StringExtensions"));
11
- const Uuid_1 = require("../PredefinedConfig/Uuid");
11
+ const Uuid_1 = require("../AdaptableState/Uuid");
12
12
  const udsv_1 = require("udsv");
13
13
  const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
14
14
  class AgGridExportAdapter {
@@ -1,7 +1,7 @@
1
1
  import { AdaptableAgGrid } from './AdaptableAgGrid';
2
2
  import { DefaultMenuItem, GetContextMenuItems, GetContextMenuItemsParams, GetMainMenuItems, GetMainMenuItemsParams, MenuItemDef } from 'ag-grid-enterprise';
3
- import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
- import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
3
+ import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
4
+ import { AdaptableMenuItem } from '../AdaptableState/Common/Menu';
5
5
  export declare class AgGridMenuAdapter {
6
6
  private _adaptableInstance;
7
7
  constructor(_adaptableInstance: AdaptableAgGrid);
@@ -1,6 +1,6 @@
1
1
  import { AdaptableAgGrid } from './AdaptableAgGrid';
2
2
  import { AgGridThemeMode } from './AgGridAdapter';
3
- import { AdaptableTheme } from '../PredefinedConfig/ThemeState';
3
+ import { AdaptableTheme } from '../AdaptableState/ThemeState';
4
4
  export declare class AgGridThemeAdapter {
5
5
  private _adaptableInstance;
6
6
  private agGridThemeMode;
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FilterWrapperFactory = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
- const react_1 = require("react");
7
6
  const AdaptableColumnFilter_1 = require("../View/Components/ColumnFilter/AdaptableColumnFilter");
8
7
  const renderWithAdaptableContext_1 = require("../View/renderWithAdaptableContext");
9
8
  const FilterWrapperFactory = (adaptable) => {
@@ -13,9 +12,7 @@ const FilterWrapperFactory = (adaptable) => {
13
12
  return false;
14
13
  }
15
14
  //make the small filter icon to appear when there is a filter
16
- return (adaptable.api.filterApi.columnFilterApi
17
- .getColumnFilters()
18
- .findIndex((x) => x.ColumnId == colId) > -1);
15
+ return adaptable.api.filterApi.columnFilterApi.isColumnFilterActiveForColumn(colId);
19
16
  }
20
17
  function getFilterProps(colId, hidePopup) {
21
18
  let column = adaptable.api.columnApi.getColumnWithColumnId(colId);
@@ -30,35 +27,62 @@ const FilterWrapperFactory = (adaptable) => {
30
27
  return 'filter_' + colId + '_' + adaptable.adaptableOptions.adaptableId;
31
28
  }
32
29
  if (adaptable.variant === 'react') {
33
- return (0, react_1.forwardRef)(function ReactFilterWrapper(props, ref) {
34
- const [filterProps, setFilterProps] = (0, react_1.useState)(null);
35
- const colId = props.column.getId();
36
- const column = adaptable.api.columnApi.getColumnWithColumnId(colId);
37
- const afterGuidAttached = React.useCallback((params) => {
38
- const hidePopup = params?.hidePopup ?? null;
39
- const filterProps = getFilterProps(colId, !!hidePopup);
40
- setFilterProps(filterProps);
41
- }, [colId]);
42
- React.useEffect(() => {
43
- afterGuidAttached();
44
- }, []);
45
- (0, react_1.useImperativeHandle)(ref, () => {
46
- return {
47
- isFilterActive: () => isFilterActive(colId),
48
- // left here for backward compatibility
49
- afterGuidAttached,
50
- getModel: () => { },
51
- setModel: () => { },
52
- //we do not filter here.... we filter using the doesExternalFilterPass. Not sure there is a difference....
53
- doesFilterPass: () => true,
54
- };
55
- });
56
- if (!column || !filterProps) {
57
- return null;
58
- }
59
- return (0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement("div", { id: getContainerId(colId) },
60
- React.createElement(AdaptableColumnFilter_1.AdaptableColumnFilter, { wrapperProps: { p: 2 }, columnId: filterProps.Column.columnId })), adaptable);
61
- });
30
+ // We used to have the implementation below. However, for updating the filtered/not filtered state of the column
31
+ // we have to call the onModelChange function, and also provide the doesFilterPass function.
32
+ // starting with version 33 of AG Grid, the doesFilterPass has to be passed to the `useGridFilter` hook
33
+ // which needs to be imported from 'ag-grid-react' - see https://www.ag-grid.com/react-data-grid/component-filter/#implementing-a-filter-component
34
+ // but since Adaptable cannot depend on 'ag-grid-react' directly, we can't use a React component anymore
35
+ // so we simply return the same implementation as the vanilla version
36
+ // and comment out the implementation below
37
+ //
38
+ // return forwardRef(function ReactFilterWrapper(
39
+ // props: {
40
+ // column: Column;
41
+ // onModelChange: (model: any) => void;
42
+ // },
43
+ // ref
44
+ // ) {
45
+ // const [filterProps, setFilterProps] = useState<ColumnFilterProps | null>(null);
46
+ // const colId = props.column.getId();
47
+ // const column: AdaptableColumn | undefined =
48
+ // adaptable.api.columnApi.getColumnWithColumnId(colId);
49
+ // const afterGuidAttached = React.useCallback(
50
+ // (params?: { hidePopup?: Function }) => {
51
+ // const hidePopup = params?.hidePopup ?? null;
52
+ // const filterProps = getFilterProps(colId, !!hidePopup);
53
+ // setFilterProps(filterProps);
54
+ // },
55
+ // [colId]
56
+ // );
57
+ // const notifyModel = getNotifyModel(colId, props.onModelChange);
58
+ // React.useEffect(() => {
59
+ // afterGuidAttached();
60
+ // }, []);
61
+ // useImperativeHandle(ref, () => {
62
+ // return {
63
+ // isFilterActive: () => isFilterActive(colId),
64
+ // // left here for backward compatibility
65
+ // afterGuidAttached,
66
+ // // getModel: () => {},
67
+ // // setModel: () => {},
68
+ // //we do not filter here.... we filter using the doesExternalFilterPass. Not sure there is a difference....
69
+ // doesFilterPass: () => true,
70
+ // };
71
+ // });
72
+ // if (!column || !filterProps) {
73
+ // return null;
74
+ // }
75
+ // return renderWithAdaptableContext(
76
+ // <div id={getContainerId(colId)}>
77
+ // <AdaptableColumnFilter
78
+ // wrapperProps={{ p: 2 }}
79
+ // columnId={filterProps.Column.columnId}
80
+ // onChange={notifyModel}
81
+ // />
82
+ // </div>,
83
+ // adaptable
84
+ // );
85
+ // });
62
86
  }
63
87
  return class FilterWrapper {
64
88
  init(params) {
@@ -86,11 +110,16 @@ const FilterWrapperFactory = (adaptable) => {
86
110
  afterGuiAttached(params) {
87
111
  //we always unmount first so the autofocus from the form works... in other grids we unmount when hidden
88
112
  this.unmountReactRoot?.();
89
- let column = adaptable.api.columnApi.getColumnWithColumnId(this.column.getColId());
113
+ const columnId = this.column.getColId();
114
+ let column = adaptable.api.columnApi.getColumnWithColumnId(columnId);
115
+ // for whatever reason, it works without this
116
+ // const notifyModel = getNotifyModel(colId, this.params.filterChangedCallback);
90
117
  if (column) {
91
118
  this.unmountReactRoot = adaptable.renderReactRoot((0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement(AdaptableColumnFilter_1.AdaptableColumnFilter, {
92
- columnId: this.column.getColId(),
119
+ columnId,
93
120
  wrapperProps: { p: 2 },
121
+ // for whatever reason, it works without this
122
+ // onChange: notifyModel,
94
123
  }), adaptable),
95
124
  // AdaptableColumnFilter(filterProps),
96
125
  this.filterContainer);
@@ -6,6 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_1 = require("react");
7
7
  const renderWithAdaptableContext_1 = require("../View/renderWithAdaptableContext");
8
8
  const AdaptableFloatingFilter_1 = require("../View/Components/ColumnFilter/AdaptableFloatingFilter");
9
+ const getAgGridFilterNotifyModelFn_1 = require("./getAgGridFilterNotifyModelFn");
9
10
  const filterContainerStyle = {
10
11
  overflow: 'hidden',
11
12
  minWidth: '0',
@@ -28,6 +29,9 @@ const FloatingFilterWrapperFactory = (adaptable) => {
28
29
  };
29
30
  return columnFilterProps;
30
31
  }
32
+ function getNotifyModel(colId, onModelChange) {
33
+ return (0, getAgGridFilterNotifyModelFn_1.getAgGridFilterNotifyModelFn)(adaptableApi, colId, onModelChange);
34
+ }
31
35
  function patchParentElement(filterContainer) {
32
36
  if (filterContainer) {
33
37
  // todo: consider theme
@@ -58,17 +62,19 @@ const FloatingFilterWrapperFactory = (adaptable) => {
58
62
  if (adaptable.variant === 'react') {
59
63
  return (0, react_1.forwardRef)(function ReactFloatingFilterWrapper(props, ref) {
60
64
  const colId = props.column.getId();
65
+ const { onModelChange } = props;
61
66
  const column = adaptableApi.columnApi.getColumnWithColumnId(colId);
62
67
  (0, react_1.useImperativeHandle)(ref, () => {
63
68
  return {
64
69
  onParentModelChanged() { },
65
70
  };
66
71
  });
72
+ const notifyModel = getNotifyModel(colId, onModelChange);
67
73
  if (!column) {
68
74
  return null;
69
75
  }
70
76
  return (0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement("div", { ref: patchParentElement, id: getContainerId(colId), style: filterContainerStyle },
71
- React.createElement(AdaptableFloatingFilter_1.AdaptableFloatingFilter, { ...getFilterProps(colId) })), adaptable);
77
+ React.createElement(AdaptableFloatingFilter_1.AdaptableFloatingFilter, { ...getFilterProps(colId), onChange: notifyModel, onClear: notifyModel })), adaptable);
72
78
  });
73
79
  }
74
80
  return class FloatingFilterWrapper {
@@ -86,10 +92,15 @@ const FloatingFilterWrapperFactory = (adaptable) => {
86
92
  //@ts-ignore
87
93
  this.filterContainer.style[key] = filterContainerStyle[key];
88
94
  });
95
+ const notifyModel = getNotifyModel(colId, params.filterParams.filterChangedCallback);
89
96
  const column = adaptableApi.columnApi.getColumnWithColumnId(colId);
90
97
  if (column) {
91
98
  const filterProps = getFilterProps(colId);
92
- this.unmountReactRoot = adaptable.renderReactRoot((0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement(AdaptableFloatingFilter_1.AdaptableFloatingFilter, filterProps), adaptable), this.filterContainer);
99
+ this.unmountReactRoot = adaptable.renderReactRoot((0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement(AdaptableFloatingFilter_1.AdaptableFloatingFilter, {
100
+ ...filterProps,
101
+ onChange: notifyModel,
102
+ onClear: notifyModel,
103
+ }), adaptable), this.filterContainer);
93
104
  }
94
105
  }
95
106
  getGui() {
@@ -1,5 +1,5 @@
1
1
  import { GridOptions } from 'ag-grid-enterprise';
2
- import { AdaptableColumnDataType } from '../PredefinedConfig/Common/AdaptableColumn';
2
+ import { AdaptableColumnDataType } from '../AdaptableState/Common/AdaptableColumn';
3
3
  export declare const TEXT_ARRAY_DATA_TYPE: AdaptableColumnDataType;
4
4
  export declare const NUMBER_ARRAY_DATA_TYPE: AdaptableColumnDataType;
5
5
  export declare const TUPLE_ARRAY_DATA_TYPE: AdaptableColumnDataType;
@@ -1,4 +1,4 @@
1
- import { BadgeStyle } from '../../PredefinedConfig/StyledColumnState';
1
+ import { BadgeStyle } from '../../AdaptableState/StyledColumnState';
2
2
  import { AdaptableApi } from '../../Api/AdaptableApi';
3
- import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
3
+ import { AdaptableColumn } from '../../AdaptableState/Common/AdaptableColumn';
4
4
  export declare const getBadgeRendererForColumn: (badgeStyle: BadgeStyle, abColumn: AdaptableColumn, api: AdaptableApi) => any;
@@ -1,4 +1,4 @@
1
- import { StyledColumn } from '../../PredefinedConfig/StyledColumnState';
1
+ import { StyledColumn } from '../../AdaptableState/StyledColumnState';
2
2
  import { AdaptableApi } from '../../Api/AdaptableApi';
3
- import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
3
+ import { AdaptableColumn } from '../../AdaptableState/Common/AdaptableColumn';
4
4
  export declare const getPercentBarRendererForColumn: (styledColumn: StyledColumn, abColumn: AdaptableColumn, api: AdaptableApi) => any;
@@ -0,0 +1,2 @@
1
+ import { AdaptableApi } from '../types';
2
+ export declare function getAgGridFilterNotifyModelFn(adaptableApi: AdaptableApi, colId: string, onModelChange: (model: any) => void): () => void;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getAgGridFilterNotifyModelFn = void 0;
4
+ function getAgGridFilterNotifyModelFn(adaptableApi, colId, onModelChange) {
5
+ const notifyModel = () => {
6
+ const isActive = adaptableApi.filterApi.columnFilterApi.isColumnFilterActiveForColumn(colId);
7
+ // call it with non null to indicate that the filter is active
8
+ // call it with null to indicate that the filter is not active
9
+ // as per the AG Grid documentation
10
+ onModelChange(isActive ? true : null);
11
+ };
12
+ return notifyModel;
13
+ }
14
+ exports.getAgGridFilterNotifyModelFn = getAgGridFilterNotifyModelFn;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { AdaptableFormData, AdaptableForm } from '../../PredefinedConfig/Common/AdaptableForm';
2
+ import { AdaptableFormData, AdaptableForm } from '../../AdaptableState/Common/AdaptableForm';
3
3
  import { SimpleButtonProps } from '../SimpleButton';
4
4
  import { BaseContext } from '../../types';
5
5
  import { AdaptableApi } from '../../Api/AdaptableApi';
6
- import { AdaptableButton } from '../../PredefinedConfig/Common/AdaptableButton';
6
+ import { AdaptableButton } from '../../AdaptableState/Common/AdaptableButton';
7
7
  interface AdaptableFormComponentProps {
8
8
  formDef: AdaptableForm<BaseContext>;
9
9
  data: AdaptableFormData;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { DashboardTab } from '../../PredefinedConfig/DashboardState';
3
- import { AdaptableDashboardToolbar } from '../../PredefinedConfig/Common/Types';
2
+ import { DashboardTab } from '../../AdaptableState/DashboardState';
3
+ import { AdaptableDashboardToolbar } from '../../AdaptableState/Common/Types';
4
4
  import { AdaptableApi } from '../../Api/AdaptableApi';
5
5
  export interface DashboardToolbar {
6
6
  Id: AdaptableDashboardToolbar | string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { AccessLevel } from '../../PredefinedConfig/Common/Entitlement';
3
+ import { AccessLevel } from '../../AdaptableState/Common/Entitlement';
4
4
  export type DashboardToolbarProps = {
5
5
  className?: string;
6
6
  title: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AdaptableApi } from '../../Api/AdaptableApi';
3
- import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
3
+ import { AdaptableModule } from '../../AdaptableState/Common/Types';
4
4
  interface EditorInputProps {
5
5
  type: 'boolean' | 'scalar' | 'aggregatedScalar' | 'cumulativeAggregatedScalar' | 'quantileAggregatedScalar';
6
6
  module: AdaptableModule;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AdaptableApi } from '../../Api/AdaptableApi';
3
- import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
3
+ import { AdaptableModule } from '../../AdaptableState/Common/Types';
4
4
  interface EditorInputWithWhereClauseProps {
5
5
  type: 'observable' | 'aggregatedBoolean';
6
6
  module: AdaptableModule;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { AdaptableElementIcon, AdaptableCustomIcon, AdaptableIcon, AdaptableSystemIcon } from '../../PredefinedConfig/Common/AdaptableIcon';
2
+ import { AdaptableElementIcon, AdaptableCustomIcon, AdaptableIcon, AdaptableSystemIcon } from '../../AdaptableState/Common/AdaptableIcon';
3
3
  export interface IconComponentProps {
4
4
  icon: AdaptableIcon;
5
5
  iconClassName?: string;
@@ -202,20 +202,36 @@ const Select = function (props) {
202
202
  const { setValue, getValue, focusedOption, options, selectProps } = props;
203
203
  const { filterOption, inputValue, options: selectOptions, isLoading } = selectProps;
204
204
  const filterFunction = React.useCallback(({ data }) => filterOption({ data, label: `${data.label}`, value: data.value }, inputValue), [filterOption, inputValue]);
205
+ const hasFilter = inputValue !== '';
206
+ const filteredOptionsValues = new Set();
207
+ const filteredOptions = !hasFilter
208
+ ? options
209
+ : options.filter((data) => {
210
+ const included = filterOption({ data, label: `${data.label}`, value: data.value }, inputValue);
211
+ if (included) {
212
+ filteredOptionsValues.add(data.value);
213
+ }
214
+ return included;
215
+ });
205
216
  const focusedOptionIndex = options
206
217
  .filter((option) => filterFunction({ data: option }))
207
218
  .indexOf(focusedOption);
219
+ const valueStr = getValue()
220
+ .map((option) => option.value)
221
+ .join(',');
208
222
  const selectedRows = (0, react_1.useMemo)(() => {
209
223
  const selectedRows = [];
224
+ // we build the Infinite Table selection
210
225
  getValue().forEach((option) => {
211
- selectedRows.push(option.value);
226
+ // if there are no filters, include everything that is in the value
227
+ // but if there is a filter (which will be smaller than the current value)
228
+ // only include the current options that match the filter
229
+ if (!hasFilter || filteredOptionsValues.has(option.value)) {
230
+ selectedRows.push(option.value);
231
+ }
212
232
  });
213
233
  return selectedRows;
214
- }, [
215
- getValue()
216
- .map((option) => option.value)
217
- .join(','),
218
- ]);
234
+ }, [valueStr, inputValue, hasFilter]);
219
235
  const rowSelection = React.useMemo(() => {
220
236
  return isMulti
221
237
  ? {
@@ -228,24 +244,74 @@ const Select = function (props) {
228
244
  const onRowSelectionChange = React.useCallback((selectionParams) => {
229
245
  let selection = [];
230
246
  const { selectedRows, defaultSelection, deselectedRows } = selectionParams;
231
- if (defaultSelection === true && deselectedRows.length === 0) {
232
- // all selected
233
- selection = options.map((option) => {
234
- return { value: option.value };
235
- });
236
- }
237
- else if (defaultSelection === false && selectedRows.length === 0) {
238
- // none selected
239
- selection = [];
247
+ if (hasFilter) {
248
+ if (defaultSelection === true && deselectedRows.length === 0) {
249
+ // all selected
250
+ const currentValue = getValue();
251
+ const includedKeys = new Set();
252
+ // add all the options that are in the current value
253
+ selection = currentValue.map((option) => {
254
+ includedKeys.add(option.value);
255
+ return option;
256
+ });
257
+ // also add all the options that match the filter
258
+ filteredOptions.forEach((option) => {
259
+ // make sure you don't add the same option twice
260
+ if (!includedKeys.has(option.value)) {
261
+ selection.push({ value: option.value });
262
+ }
263
+ });
264
+ }
265
+ else if (defaultSelection === false && selectedRows.length === 0) {
266
+ // we need to clear the selection
267
+ // but we have a filter, so we need to clear only those options that are included in the filter
268
+ // and leave the rest
269
+ const currentValue = getValue();
270
+ selection = currentValue.filter((row) => !filteredOptionsValues.has(row.value));
271
+ }
272
+ else {
273
+ // some selected
274
+ const currentValue = getValue();
275
+ const includedKeys = new Set();
276
+ // start with an empty selection
277
+ selection = [];
278
+ // add those in the value that are not in the filter
279
+ selection = currentValue.filter((row) => {
280
+ const res = !filteredOptionsValues.has(row.value);
281
+ if (res) {
282
+ includedKeys.add(row.value);
283
+ }
284
+ return res;
285
+ });
286
+ // and now also add those in the filter that are actually selected
287
+ selectedRows.forEach((row) => {
288
+ if (!includedKeys.has(row)) {
289
+ selection.push({ value: row });
290
+ }
291
+ });
292
+ }
240
293
  }
241
294
  else {
242
- selection = selectedRows.map((row) => {
243
- return { value: row };
244
- });
295
+ if (defaultSelection === true && deselectedRows.length === 0) {
296
+ // all selected
297
+ selection = options.map((option) => {
298
+ return { value: option.value };
299
+ });
300
+ }
301
+ else if (defaultSelection === false && selectedRows.length === 0) {
302
+ // none selected
303
+ selection = [];
304
+ }
305
+ else {
306
+ // some selected
307
+ selection = selectedRows.map((row) => {
308
+ return { value: row };
309
+ });
310
+ }
245
311
  }
246
312
  //@ts-ignore
247
313
  setValue(selection, 'select-option');
248
- }, [setValue]);
314
+ }, [setValue, filterOption, inputValue, hasFilter, filteredOptions, rowSelection, valueStr]);
249
315
  const onSingleRowSelectionChange = React.useCallback((value) => {
250
316
  if (value == undefined && rowSelection != undefined) {
251
317
  return;
@@ -263,9 +329,11 @@ const Select = function (props) {
263
329
  }, []);
264
330
  return (React.createElement(infinite_react_1.DataSource, {
265
331
  // @ts-ignore
266
- data: props.options, primaryKey: "value", selectionMode: isMulti ? 'multi-row' : 'single-row',
332
+ // data={props.options}
333
+ // @ts-ignore
334
+ data: filteredOptions, primaryKey: "value", selectionMode: isMulti ? 'multi-row' : 'single-row',
267
335
  // @ts-ignore
268
- onRowSelectionChange: isLoading ? null : isMulti ? onRowSelectionChange : onSingleRowSelectionChange, rowSelection: rowSelection, filterFunction: filterFunction, isRowDisabled: isRowDisabled },
336
+ onRowSelectionChange: isLoading ? null : isMulti ? onRowSelectionChange : onSingleRowSelectionChange, rowSelection: rowSelection, isRowDisabled: isRowDisabled },
269
337
  React.createElement(infinite_react_1.InfiniteTable, { header: isMulti && showHeaderSelectionCheckbox ? true : false, rowClassName: rowClassName, showZebraRows: false, onCellClick: isLoading ? null : onCellClick, keyboardNavigation: isLoading ? false : 'row', activeRowIndex: focusedOptionIndex, keyboardSelection: true, rowHeight: ROW_HEIGHT, columns: isMulti ? INFINITE_COLUMNS_WITH_CHECKBOX : INFINITE_COLUMNS_WITH_RADIO, domProps: INFINITE_DOM_PROPS })));
270
338
  };
271
339
  }, [isMulti, showHeaderSelectionCheckbox]);
@@ -288,7 +356,12 @@ const Select = function (props) {
288
356
  // This needed so the menu is not clipped by overflow: hidden
289
357
  menuPortalTarget: props.menuPortalTarget === undefined ? document.body : null, isClearable: props.isClearable, closeMenuOnSelect: props.closeMenuOnSelect, onChange: (option) => {
290
358
  if (isMulti) {
291
- props.onChange(option.map((x) => x?.value));
359
+ const value = option.map((x) => x?.value);
360
+ props.onChange(value);
361
+ // ensure element keeps focus
362
+ requestAnimationFrame(() => {
363
+ ref.current?.focus();
364
+ });
292
365
  }
293
366
  else {
294
367
  props.onChange(option?.value);
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from 'rebass';
3
3
  import { ReactNode } from 'react';
4
- import { AccessLevel } from '../../PredefinedConfig/Common/Entitlement';
5
- import { AdaptableIcon } from '../../PredefinedConfig/Common/AdaptableIcon';
4
+ import { AccessLevel } from '../../AdaptableState/Common/Entitlement';
5
+ import { AdaptableIcon } from '../../AdaptableState/Common/AdaptableIcon';
6
6
  export declare const baseClassName = "ab-SimpleButton";
7
7
  export interface SimpleButtonProps extends Omit<ButtonProps, 'ref'> {
8
8
  tooltip?: string;