@adaptabletools/adaptable-cjs 20.0.0-canary.8 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (728) hide show
  1. package/base.css +1294 -899
  2. package/base.css.map +1 -1
  3. package/index.css +433 -899
  4. package/index.css.map +1 -1
  5. package/package.json +4 -4
  6. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -8
  8. package/src/AdaptableOptions/ActionColumnOptions.d.ts +1 -1
  9. package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
  10. package/src/AdaptableOptions/AdaptablePlugin.d.ts +4 -4
  11. package/src/AdaptableOptions/AlertOptions.d.ts +3 -3
  12. package/src/AdaptableOptions/CellSummaryOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +1 -1
  15. package/src/AdaptableOptions/ContextMenuOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/CustomSortOptions.d.ts +1 -1
  17. package/src/AdaptableOptions/DashboardOptions.d.ts +4 -4
  18. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
  19. package/src/AdaptableOptions/DataSetOptions.d.ts +1 -1
  20. package/src/AdaptableOptions/DefaultAdaptableOptions.js +6 -6
  21. package/src/AdaptableOptions/EditOptions.d.ts +3 -3
  22. package/src/AdaptableOptions/EntitlementOptions.d.ts +2 -2
  23. package/src/AdaptableOptions/ExportOptions.d.ts +28 -52
  24. package/src/AdaptableOptions/ExpressionOptions.d.ts +4 -4
  25. package/src/AdaptableOptions/Fdc3Options.d.ts +3 -3
  26. package/src/AdaptableOptions/FilterOptions.d.ts +3 -3
  27. package/src/AdaptableOptions/FlashingCellOptions.d.ts +1 -1
  28. package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
  29. package/src/AdaptableOptions/LayoutOptions.d.ts +11 -11
  30. package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
  31. package/src/AdaptableOptions/QuickSearchOptions.d.ts +2 -2
  32. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +1 -1
  33. package/src/AdaptableOptions/StateOptions.d.ts +2 -2
  34. package/src/AdaptableOptions/TeamSharingOptions.d.ts +3 -3
  35. package/src/AdaptableOptions/ToolPanelOptions.d.ts +3 -3
  36. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -5
  37. package/src/{PredefinedConfig → AdaptableState}/AdaptableState.d.ts +7 -7
  38. package/src/{PredefinedConfig → AdaptableState}/AlertState.d.ts +3 -3
  39. package/src/{PredefinedConfig → AdaptableState}/ApplicationState.d.ts +3 -3
  40. package/src/{PredefinedConfig/ConfigState.d.ts → AdaptableState/BaseState.d.ts} +2 -2
  41. package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.d.ts +3 -3
  42. package/src/{PredefinedConfig → AdaptableState}/ChartingState.d.ts +2 -2
  43. package/src/{PredefinedConfig → AdaptableState}/CommentState.d.ts +2 -2
  44. package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.d.ts +2 -2
  45. package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.d.ts +1 -1
  46. package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.js +34 -34
  47. package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.d.ts +6 -2
  48. package/src/{PredefinedConfig → AdaptableState}/Common/Types.d.ts +1 -1
  49. package/src/{PredefinedConfig → AdaptableState}/CustomSortState.d.ts +3 -3
  50. package/src/{PredefinedConfig → AdaptableState}/DashboardState.d.ts +3 -3
  51. package/src/{PredefinedConfig → AdaptableState}/ExportState.d.ts +3 -3
  52. package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.d.ts +10 -10
  53. package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.d.ts +3 -3
  54. package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.d.ts +3 -3
  55. package/src/{PredefinedConfig → AdaptableState}/IPushPullState.d.ts +2 -2
  56. package/src/AdaptableState/InitialState.d.ts +199 -0
  57. package/src/{PredefinedConfig → AdaptableState}/InternalState.d.ts +1 -1
  58. package/src/{PredefinedConfig → AdaptableState}/LayoutState.d.ts +4 -4
  59. package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.d.ts +3 -3
  60. package/src/{PredefinedConfig → AdaptableState}/NoteState.d.ts +3 -3
  61. package/src/{PredefinedConfig → AdaptableState}/OpenFinState.d.ts +2 -2
  62. package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.d.ts +3 -3
  63. package/src/{PredefinedConfig → AdaptableState}/PopupState.d.ts +2 -2
  64. package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.d.ts +3 -3
  65. package/src/{PredefinedConfig → AdaptableState}/ScheduleState.d.ts +3 -3
  66. package/src/{PredefinedConfig → AdaptableState}/ShortcutState.d.ts +3 -3
  67. package/src/{PredefinedConfig → AdaptableState}/StatusBarState.d.ts +3 -3
  68. package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.d.ts +3 -3
  69. package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.d.ts +3 -3
  70. package/src/{PredefinedConfig → AdaptableState}/ThemeState.d.ts +2 -2
  71. package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.d.ts +3 -3
  72. package/src/Api/AdaptableApi.d.ts +2 -2
  73. package/src/Api/AlertApi.d.ts +3 -3
  74. package/src/Api/ApplicationApi.d.ts +1 -1
  75. package/src/Api/CalculatedColumnApi.d.ts +1 -1
  76. package/src/Api/CellSummaryApi.d.ts +1 -1
  77. package/src/Api/ChartingApi.d.ts +1 -1
  78. package/src/Api/ColumnFilterApi.d.ts +6 -1
  79. package/src/Api/ColumnScopeApi.d.ts +3 -3
  80. package/src/Api/CommentApi.d.ts +1 -1
  81. package/src/Api/CustomSortApi.d.ts +1 -1
  82. package/src/Api/DashboardApi.d.ts +3 -3
  83. package/src/Api/DataChangeHistoryApi.d.ts +1 -1
  84. package/src/Api/Events/AdaptableStateChanged.d.ts +1 -1
  85. package/src/Api/Events/AdaptableStateReloaded.d.ts +1 -1
  86. package/src/Api/Events/AlertFired.d.ts +1 -1
  87. package/src/Api/Events/CalculatedColumnChanged.d.ts +1 -1
  88. package/src/Api/Events/CellChanged.d.ts +1 -1
  89. package/src/Api/Events/CellSelectionChanged.d.ts +1 -1
  90. package/src/Api/Events/DashboardChanged.d.ts +1 -1
  91. package/src/Api/Events/FlashingCellDisplayed.d.ts +1 -1
  92. package/src/Api/Events/GridSorted.d.ts +1 -1
  93. package/src/Api/Events/LayoutChanged.d.ts +1 -1
  94. package/src/Api/Events/LiveDataChanged.d.ts +1 -1
  95. package/src/Api/Events/RowChanged.d.ts +2 -2
  96. package/src/Api/Events/RowFormSubmitted.d.ts +1 -1
  97. package/src/Api/Events/RowSelectionChanged.d.ts +1 -1
  98. package/src/Api/Events/ScheduleTriggered.d.ts +1 -1
  99. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
  100. package/src/Api/Events/TeamSharingEntityChanged.d.ts +1 -1
  101. package/src/Api/Events/ThemeChanged.d.ts +1 -1
  102. package/src/Api/ExportApi.d.ts +5 -14
  103. package/src/Api/ExpressionApi.d.ts +3 -3
  104. package/src/Api/FlashingCellApi.d.ts +5 -5
  105. package/src/Api/FormatColumnApi.d.ts +1 -1
  106. package/src/Api/FreeTextColumnApi.d.ts +1 -1
  107. package/src/Api/GridApi.d.ts +13 -13
  108. package/src/Api/IPushPullApi.d.ts +2 -2
  109. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  110. package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
  111. package/src/Api/Implementation/AlertApiImpl.d.ts +4 -4
  112. package/src/Api/Implementation/AlertApiImpl.js +1 -1
  113. package/src/Api/Implementation/ApiBase.d.ts +5 -5
  114. package/src/Api/Implementation/ApiBase.js +3 -3
  115. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
  116. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +2 -2
  117. package/src/Api/Implementation/CellSummaryApiImpl.js +1 -1
  118. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  119. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  120. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +3 -2
  121. package/src/Api/Implementation/ColumnFilterApiImpl.js +11 -4
  122. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +3 -3
  123. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
  124. package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -3
  125. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -1
  126. package/src/Api/Implementation/ExportApiImpl.d.ts +5 -6
  127. package/src/Api/Implementation/ExportApiImpl.js +52 -48
  128. package/src/Api/Implementation/ExpressionApiImpl.d.ts +3 -3
  129. package/src/Api/Implementation/ExpressionApiImpl.js +1 -1
  130. package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
  131. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +4 -4
  132. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -3
  133. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  134. package/src/Api/Implementation/GridApiImpl.d.ts +12 -12
  135. package/src/Api/Implementation/GridApiImpl.js +1 -1
  136. package/src/Api/Implementation/LayoutApiImpl.d.ts +4 -4
  137. package/src/Api/Implementation/LayoutApiImpl.js +1 -1
  138. package/src/Api/Implementation/LayoutHelpers.js +1 -1
  139. package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
  140. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -2
  141. package/src/Api/Implementation/PredicateApiImpl.js +2 -2
  142. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -2
  143. package/src/Api/Implementation/ScheduleApiImpl.d.ts +5 -5
  144. package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -1
  145. package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -1
  146. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  147. package/src/Api/Implementation/{ConfigApiImpl.d.ts → StateApiImpl.d.ts} +29 -27
  148. package/src/Api/Implementation/{ConfigApiImpl.js → StateApiImpl.js} +19 -10
  149. package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
  150. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
  151. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +2 -2
  152. package/src/Api/Implementation/TeamSharingApiImpl.js +1 -1
  153. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
  154. package/src/Api/Implementation/ToolPanelApiImpl.d.ts +3 -3
  155. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -2
  156. package/src/Api/Internal/ActionColumnInternalApi.d.ts +1 -1
  157. package/src/Api/Internal/ActionColumnInternalApi.js +2 -2
  158. package/src/Api/Internal/AdaptableInternalApi.d.ts +9 -9
  159. package/src/Api/Internal/AdaptableInternalApi.js +2 -2
  160. package/src/Api/Internal/AlertInternalApi.d.ts +7 -7
  161. package/src/Api/Internal/AlertInternalApi.js +2 -2
  162. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +1 -1
  163. package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
  164. package/src/Api/Internal/ChartingInternalApi.d.ts +1 -1
  165. package/src/Api/Internal/ColumnFilterInternalApi.d.ts +4 -4
  166. package/src/Api/Internal/ColumnFilterInternalApi.js +3 -3
  167. package/src/Api/Internal/ColumnInternalApi.d.ts +1 -1
  168. package/src/Api/Internal/ColumnInternalApi.js +1 -2
  169. package/src/Api/Internal/CustomSortInternalApi.d.ts +2 -2
  170. package/src/Api/Internal/DashboardInternalApi.d.ts +2 -2
  171. package/src/Api/Internal/DashboardInternalApi.js +1 -1
  172. package/src/Api/Internal/EventInternalApi.d.ts +2 -2
  173. package/src/Api/Internal/EventInternalApi.js +1 -1
  174. package/src/Api/Internal/ExportInternalApi.d.ts +5 -6
  175. package/src/Api/Internal/ExportInternalApi.js +34 -42
  176. package/src/Api/Internal/ExpressionInternalApi.d.ts +1 -1
  177. package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
  178. package/src/Api/Internal/Fdc3InternalApi.js +1 -1
  179. package/src/Api/Internal/FlashingCellInternalApi.d.ts +2 -2
  180. package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +2 -2
  181. package/src/Api/Internal/FreeTextColumnInternalApi.js +1 -1
  182. package/src/Api/Internal/GridInternalApi.d.ts +6 -6
  183. package/src/Api/Internal/GridInternalApi.js +1 -1
  184. package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
  185. package/src/Api/Internal/NamedQueryInternalApi.js +1 -1
  186. package/src/Api/Internal/PredicateInternalApi.d.ts +3 -3
  187. package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
  188. package/src/Api/Internal/SystemStatusInternalApi.d.ts +1 -1
  189. package/src/Api/Internal/TeamSharingInternalApi.d.ts +1 -1
  190. package/src/Api/LayoutApi.d.ts +3 -3
  191. package/src/Api/NoteApi.d.ts +1 -1
  192. package/src/Api/OpenFinApi.d.ts +2 -2
  193. package/src/Api/PlusMinusApi.d.ts +2 -2
  194. package/src/Api/PredicateApi.d.ts +1 -1
  195. package/src/Api/QuickSearchApi.d.ts +2 -2
  196. package/src/Api/ScheduleApi.d.ts +5 -5
  197. package/src/Api/ShortcutApi.d.ts +1 -1
  198. package/src/Api/SmartEditApi.d.ts +1 -1
  199. package/src/Api/{ConfigApi.d.ts → StateApi.d.ts} +37 -29
  200. package/src/Api/StatusBarApi.d.ts +1 -1
  201. package/src/Api/StyledColumnApi.d.ts +4 -4
  202. package/src/Api/SystemStatusApi.d.ts +1 -1
  203. package/src/Api/TeamSharingApi.d.ts +2 -2
  204. package/src/Api/ThemeApi.d.ts +1 -1
  205. package/src/Api/ToolPanelApi.d.ts +3 -3
  206. package/src/Api/UserInterfaceApi.d.ts +4 -4
  207. package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
  208. package/src/Redux/ActionsReducers/ApplicationRedux.d.ts +1 -1
  209. package/src/Redux/ActionsReducers/CalculatedColumnRedux.d.ts +1 -1
  210. package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
  211. package/src/Redux/ActionsReducers/ChartingRedux.js +1 -1
  212. package/src/Redux/ActionsReducers/CommentsRedux.d.ts +1 -1
  213. package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
  214. package/src/Redux/ActionsReducers/DashboardRedux.d.ts +4 -4
  215. package/src/Redux/ActionsReducers/ExportRedux.d.ts +1 -1
  216. package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +2 -2
  217. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
  218. package/src/Redux/ActionsReducers/FreeTextColumnRedux.d.ts +1 -1
  219. package/src/Redux/ActionsReducers/InternalRedux.d.ts +10 -10
  220. package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
  221. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +6 -5
  222. package/src/Redux/ActionsReducers/LayoutRedux.js +3 -3
  223. package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +1 -1
  224. package/src/Redux/ActionsReducers/NoteRedux.d.ts +1 -1
  225. package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +2 -2
  226. package/src/Redux/ActionsReducers/PopupRedux.d.ts +4 -4
  227. package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +2 -2
  228. package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
  229. package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
  230. package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +1 -1
  231. package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +1 -1
  232. package/src/Redux/ActionsReducers/SystemStatusRedux.d.ts +1 -1
  233. package/src/Redux/ActionsReducers/TeamSharingRedux.d.ts +3 -3
  234. package/src/Redux/ActionsReducers/ThemeRedux.d.ts +1 -1
  235. package/src/Redux/ActionsReducers/ToolPanelRedux.d.ts +2 -2
  236. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +2 -2
  237. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -6
  238. package/src/Redux/Store/AdaptableReduxMerger.d.ts +4 -4
  239. package/src/Redux/Store/AdaptableReduxMerger.js +16 -16
  240. package/src/Redux/Store/AdaptableStore.d.ts +4 -4
  241. package/src/Redux/Store/AdaptableStore.js +6 -6
  242. package/src/Redux/Store/Interface/IAdaptableStore.d.ts +3 -3
  243. package/src/Redux/Store/Interface/IStorageEngine.d.ts +3 -3
  244. package/src/Strategy/AdaptableModuleBase.d.ts +9 -9
  245. package/src/Strategy/AdaptableModuleBase.js +2 -3
  246. package/src/Strategy/AlertModule.d.ts +5 -5
  247. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  248. package/src/Strategy/CalculatedColumnModule.d.ts +5 -5
  249. package/src/Strategy/CellSummaryModule.d.ts +6 -6
  250. package/src/Strategy/ChartingModule.d.ts +1 -1
  251. package/src/Strategy/ChartingModule.js +1 -1
  252. package/src/Strategy/ColumnFilterModule.d.ts +4 -4
  253. package/src/Strategy/ColumnFilterModule.js +4 -4
  254. package/src/Strategy/ColumnInfoModule.d.ts +1 -1
  255. package/src/Strategy/CommentModule.d.ts +1 -1
  256. package/src/Strategy/CustomSortModule.d.ts +4 -4
  257. package/src/Strategy/DashboardModule.d.ts +1 -1
  258. package/src/Strategy/DataImportModule.d.ts +1 -1
  259. package/src/Strategy/DataSetModule.d.ts +1 -1
  260. package/src/Strategy/DataSetModule.js +1 -1
  261. package/src/Strategy/ExportModule.d.ts +4 -4
  262. package/src/Strategy/Fdc3Module.d.ts +1 -1
  263. package/src/Strategy/FlashingCellModule.d.ts +4 -4
  264. package/src/Strategy/FlashingCellModule.js +1 -1
  265. package/src/Strategy/FormatColumnModule.d.ts +5 -5
  266. package/src/Strategy/FreeTextColumnModule.d.ts +3 -3
  267. package/src/Strategy/GridInfoModule.d.ts +3 -3
  268. package/src/Strategy/Interface/IBulkUpdateModule.d.ts +2 -2
  269. package/src/Strategy/Interface/ICellSummaryModule.d.ts +2 -2
  270. package/src/Strategy/Interface/IModule.d.ts +8 -8
  271. package/src/Strategy/Interface/IModuleActionReturn.d.ts +1 -1
  272. package/src/Strategy/Interface/IPlusMinusModule.d.ts +2 -2
  273. package/src/Strategy/Interface/ISmartEditModule.d.ts +1 -1
  274. package/src/Strategy/LayoutModule.d.ts +5 -5
  275. package/src/Strategy/LayoutModule.js +1 -1
  276. package/src/Strategy/NamedQueryModule.d.ts +1 -1
  277. package/src/Strategy/NoteModule.d.ts +1 -1
  278. package/src/Strategy/PlusMinusModule.d.ts +5 -5
  279. package/src/Strategy/ScheduleModule.d.ts +1 -1
  280. package/src/Strategy/ScheduleModule.js +1 -1
  281. package/src/Strategy/SettingsPanelModule.d.ts +2 -2
  282. package/src/Strategy/ShortcutModule.d.ts +3 -3
  283. package/src/Strategy/ShortcutModule.js +1 -1
  284. package/src/Strategy/SmartEditModule.d.ts +2 -2
  285. package/src/Strategy/SmartEditModule.js +1 -1
  286. package/src/Strategy/StateManagementModule.js +1 -1
  287. package/src/Strategy/StyledColumnModule.d.ts +5 -5
  288. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  289. package/src/Strategy/TeamSharingModule.d.ts +1 -1
  290. package/src/Strategy/ThemeModule.d.ts +1 -1
  291. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.d.ts +1 -1
  292. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.d.ts +1 -1
  293. package/src/Utilities/Constants/GeneralConstants.d.ts +5 -4
  294. package/src/Utilities/Constants/GeneralConstants.js +3 -2
  295. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
  296. package/src/Utilities/Constants/ObjectDefaultConstants.d.ts +1 -1
  297. package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
  298. package/src/Utilities/Constants/ReduxConstants.js +1 -1
  299. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
  300. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  301. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +5 -6
  302. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +9 -10
  303. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
  304. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +27 -27
  305. package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -2
  306. package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
  307. package/src/Utilities/Extensions/EnumExtensions.js +1 -1
  308. package/src/Utilities/Helpers/AdaptableHelper.d.ts +5 -5
  309. package/src/Utilities/Helpers/AdaptableHelper.js +7 -7
  310. package/src/Utilities/Helpers/DateHelper.js +3 -5
  311. package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
  312. package/src/Utilities/Helpers/FormatHelper.js +19 -6
  313. package/src/Utilities/Helpers/PreviewHelper.d.ts +1 -1
  314. package/src/Utilities/Interface/ColumnFilterProps.d.ts +1 -1
  315. package/src/Utilities/Interface/MessagePopups.d.ts +2 -2
  316. package/src/Utilities/Interface/Preview.d.ts +1 -1
  317. package/src/Utilities/MenuItem.d.ts +3 -3
  318. package/src/Utilities/ObjectFactory.d.ts +23 -25
  319. package/src/Utilities/ObjectFactory.js +3 -15
  320. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
  321. package/src/Utilities/Services/AlertService.d.ts +1 -1
  322. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +3 -3
  323. package/src/Utilities/Services/DataService.d.ts +1 -1
  324. package/src/Utilities/Services/Fdc3Service.js +2 -2
  325. package/src/Utilities/Services/FlashingCellService.d.ts +1 -1
  326. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
  327. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +3 -3
  328. package/src/Utilities/Services/Interface/IDataService.d.ts +1 -1
  329. package/src/Utilities/Services/Interface/IModuleService.d.ts +3 -3
  330. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +3 -3
  331. package/src/Utilities/Services/Interface/ITeamSharingService.d.ts +4 -4
  332. package/src/Utilities/Services/Interface/IValidationService.d.ts +2 -2
  333. package/src/Utilities/Services/ModuleService.d.ts +2 -2
  334. package/src/Utilities/Services/ModuleService.js +1 -1
  335. package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
  336. package/src/Utilities/Services/RowSummaryService.js +1 -1
  337. package/src/Utilities/Services/TeamSharingService.d.ts +4 -4
  338. package/src/Utilities/Services/TeamSharingService.js +1 -1
  339. package/src/Utilities/Services/ValidationService.d.ts +2 -2
  340. package/src/Utilities/getScopeViewItems.d.ts +2 -2
  341. package/src/View/AdaptablePopover/index.d.ts +1 -1
  342. package/src/View/AdaptableViewFactory.d.ts +1 -1
  343. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +4 -4
  344. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +3 -3
  345. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +4 -4
  346. package/src/View/Alert/AlertEmptyView.js +1 -2
  347. package/src/View/Alert/AlertEntityRow.d.ts +2 -2
  348. package/src/View/Alert/AlertViewPanel.d.ts +2 -2
  349. package/src/View/Alert/AlertsPanel.d.ts +1 -1
  350. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -1
  351. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
  352. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -2
  353. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
  354. package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
  355. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +4 -2
  356. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  357. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
  358. package/src/View/Alert/Wizard/AlertSelectQueryWizard.d.ts +1 -1
  359. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +1 -1
  360. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
  361. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  362. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
  363. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
  364. package/src/View/CellSummary/CellSummaryDetails.d.ts +1 -1
  365. package/src/View/CellSummary/CellSummaryPopover.d.ts +1 -1
  366. package/src/View/CellSummary/CellSummaryPopup.d.ts +1 -1
  367. package/src/View/CellSummary/CellSummaryViewPanel.d.ts +3 -3
  368. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  369. package/src/View/Charting/ChartingStatusBarPopover.js +1 -2
  370. package/src/View/Charting/ChartingWizard/ChartingWizard.d.ts +1 -1
  371. package/src/View/Charting/ChartingWizard/ChartingWizard.js +1 -1
  372. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.d.ts +1 -1
  373. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.d.ts +1 -1
  374. package/src/View/Charting/DeleteChartButton.d.ts +1 -1
  375. package/src/View/Charting/DeleteChartButton.js +1 -1
  376. package/src/View/Charting/EditChartButton.d.ts +1 -1
  377. package/src/View/Charting/ShowChartButton.js +1 -1
  378. package/src/View/Charting/useChartingElements.d.ts +1 -1
  379. package/src/View/Charting/useChartingElements.js +1 -1
  380. package/src/View/Charting/useExternalChartState.d.ts +1 -1
  381. package/src/View/ColumnInfo/ColumnInfo.js +1 -2
  382. package/src/View/Comments/CommentsEditor.js +5 -2
  383. package/src/View/Comments/CommentsPopup.js +5 -2
  384. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -1
  385. package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
  386. package/src/View/Components/Buttons/ButtonShare.d.ts +1 -1
  387. package/src/View/Components/Buttons/EntityListActionButtons.d.ts +4 -4
  388. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +3 -3
  389. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +1 -0
  390. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +4 -1
  391. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +2 -0
  392. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +10 -3
  393. package/src/View/Components/ColumnFilter/ColumnFilter.d.ts +1 -1
  394. package/src/View/Components/ColumnFilter/ColumnFilter.js +4 -2
  395. package/src/View/Components/ColumnFilter/FloatingFilter.js +2 -2
  396. package/src/View/Components/ColumnFilter/LayoutColumnFilter.js +1 -1
  397. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +1 -1
  398. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +7 -1
  399. package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.d.ts +1 -1
  400. package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.js +6 -2
  401. package/src/View/Components/ColumnFilter/utils.js +5 -3
  402. package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
  403. package/src/View/Components/ExpressionWizard.d.ts +1 -1
  404. package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
  405. package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
  406. package/src/View/Components/FilterForm/ListBoxMenu.d.ts +1 -1
  407. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  408. package/src/View/Components/ListBox/DualListBoxEditor.d.ts +1 -1
  409. package/src/View/Components/ListBox/DualListBoxEditor.js +1 -1
  410. package/src/View/Components/ListBox/ListBoxFilterSortComponent.d.ts +1 -1
  411. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +1 -1
  412. package/src/View/Components/ModuleSummary/ModuleDetail.d.ts +3 -3
  413. package/src/View/Components/ModuleSummary/ModuleHeader.d.ts +1 -1
  414. package/src/View/Components/ModuleValueSelector/index.d.ts +1 -1
  415. package/src/View/Components/NewScopeComponent.d.ts +1 -1
  416. package/src/View/Components/Panels/PanelDashboard/index.d.ts +1 -1
  417. package/src/View/Components/Panels/PanelWithButton.d.ts +1 -1
  418. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  419. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +1 -1
  420. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -1
  421. package/src/View/Components/Popups/AdaptablePopupConfirmation.d.ts +1 -1
  422. package/src/View/Components/Popups/AdaptablePopupTeamSharing.d.ts +1 -1
  423. package/src/View/Components/Popups/AdaptableToaster.d.ts +1 -1
  424. package/src/View/Components/Popups/FormPopups/FormPopups.js +1 -1
  425. package/src/View/Components/PreviewResultsPanel.d.ts +1 -1
  426. package/src/View/Components/RangesComponent.d.ts +2 -2
  427. package/src/View/Components/Selectors/BulkUpdateValueSelector.d.ts +1 -1
  428. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +2 -2
  429. package/src/View/Components/Selectors/ColumnSelectorOld.js +1 -1
  430. package/src/View/Components/SharedProps/BaseProps.d.ts +1 -1
  431. package/src/View/Components/SharedProps/ConfigEntityRowProps.d.ts +3 -3
  432. package/src/View/Components/SharedProps/EditableConfigEntityState.d.ts +1 -1
  433. package/src/View/Components/SharedProps/ModuleSummaryProps.d.ts +3 -3
  434. package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
  435. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.d.ts +2 -2
  436. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.d.ts +1 -1
  437. package/src/View/Components/SharedProps/ViewPanelProps.d.ts +1 -1
  438. package/src/View/Components/SharedProps/WizardScopeState.d.ts +1 -1
  439. package/src/View/Components/StyleComponent.d.ts +1 -1
  440. package/src/View/Components/StyleComponent.js +1 -1
  441. package/src/View/Components/StyleVisualItem.d.ts +1 -1
  442. package/src/View/Components/StyleVisualItem.js +1 -1
  443. package/src/View/Components/TagValueSelector/index.d.ts +1 -1
  444. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +4 -4
  445. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  446. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +3 -3
  447. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  448. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +2 -2
  449. package/src/View/CustomSort/CustomSortSummary.d.ts +1 -1
  450. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
  451. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.d.ts +1 -1
  452. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
  453. package/src/View/CustomSort/Wizard/CustomSortWizard.d.ts +1 -1
  454. package/src/View/Dashboard/CustomDashboardButton.d.ts +2 -2
  455. package/src/View/Dashboard/CustomToolbar.js +2 -2
  456. package/src/View/Dashboard/Dashboard.d.ts +3 -3
  457. package/src/View/Dashboard/DashboardPopup.d.ts +2 -2
  458. package/src/View/Dashboard/DashboardToolbarFactory.js +2 -3
  459. package/src/View/Dashboard/ModuleToolbarWrapper.d.ts +1 -1
  460. package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -2
  461. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
  462. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -5
  463. package/src/View/DataChangeHistory/DataChangeHistoryPopup.d.ts +2 -2
  464. package/src/View/Export/ExportDestinationPicker.d.ts +1 -1
  465. package/src/View/Export/ExportViewPanel.js +1 -1
  466. package/src/View/Export/ReportFormatSelector.d.ts +1 -1
  467. package/src/View/Export/ReportNameSelector.d.ts +1 -1
  468. package/src/View/Export/Wizard/NewReportWizard.d.ts +1 -1
  469. package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +1 -1
  470. package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
  471. package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
  472. package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +1 -1
  473. package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
  474. package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +1 -1
  475. package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +1 -1
  476. package/src/View/Filter/FilterSummary.js +1 -1
  477. package/src/View/Filter/FilterViewPanel.d.ts +2 -2
  478. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts +1 -1
  479. package/src/View/FormatColumn/FormatColumnSummary.d.ts +1 -1
  480. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +3 -3
  481. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
  482. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
  483. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
  484. package/src/View/FormatColumn/Wizard/FormatColumnWizard.d.ts +1 -1
  485. package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +1 -1
  486. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
  487. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.d.ts +1 -1
  488. package/src/View/GridFilter/NamedQuerySelector.d.ts +1 -1
  489. package/src/View/GridFilter/NamedQuerySelector.js +1 -1
  490. package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +1 -1
  491. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +6 -2
  492. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +1 -1
  493. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  494. package/src/View/Layout/TransposedPopup.js +2 -2
  495. package/src/View/Layout/Wizard/Components/ColumnLabels.d.ts +1 -1
  496. package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
  497. package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
  498. package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
  499. package/src/View/Note/NotePopup.js +5 -2
  500. package/src/View/PlusMinus/PlusMinusSummary.d.ts +1 -1
  501. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.d.ts +1 -1
  502. package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -1
  503. package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
  504. package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
  505. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.d.ts +1 -1
  506. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.d.ts +1 -1
  507. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
  508. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +1 -1
  509. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +1 -1
  510. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.d.ts +1 -1
  511. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  512. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +1 -1
  513. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +1 -1
  514. package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -1
  515. package/src/View/Schedule/Wizard/ScheduleWizard.js +1 -1
  516. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.d.ts +1 -1
  517. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +1 -1
  518. package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -1
  519. package/src/View/Shortcut/shortcutOperations.d.ts +1 -1
  520. package/src/View/Shortcut/shortcutOperations.js +1 -1
  521. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  522. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
  523. package/src/View/StateManagement/StateManagementPopup.js +8 -8
  524. package/src/View/StateManagement/StateManagementViewPanel.js +3 -3
  525. package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
  526. package/src/View/StateManagement/components/ExportDropdown.js +4 -4
  527. package/src/View/StateManagement/components/LoadButton.js +2 -2
  528. package/src/View/StateManagement/handleExportState.d.ts +1 -1
  529. package/src/View/StatusBar/AdaptableStatusBar.js +7 -5
  530. package/src/View/StatusBar/StatusBarPopup.js +1 -1
  531. package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +1 -1
  532. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
  533. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts +1 -1
  534. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +1 -1
  535. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  536. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  537. package/src/View/Theme/ThemePopup.d.ts +1 -1
  538. package/src/View/UIHelper.d.ts +5 -5
  539. package/src/View/UIHelper.js +1 -1
  540. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +1 -1
  541. package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
  542. package/src/agGrid/AdaptableAgGrid.d.ts +3 -2
  543. package/src/agGrid/AdaptableAgGrid.js +46 -14
  544. package/src/agGrid/AdaptableLogger.d.ts +1 -1
  545. package/src/agGrid/AgGridAdapter.d.ts +3 -3
  546. package/src/agGrid/AgGridAdapter.js +11 -33
  547. package/src/agGrid/AgGridColumnAdapter.d.ts +3 -3
  548. package/src/agGrid/AgGridColumnAdapter.js +4 -4
  549. package/src/agGrid/AgGridExportAdapter.d.ts +2 -2
  550. package/src/agGrid/AgGridExportAdapter.js +8 -2
  551. package/src/agGrid/AgGridMenuAdapter.d.ts +2 -2
  552. package/src/agGrid/AgGridThemeAdapter.d.ts +1 -1
  553. package/src/agGrid/FilterWrapper.js +64 -35
  554. package/src/agGrid/FloatingFilterWrapper.js +13 -2
  555. package/src/agGrid/agGridDataTypeDefinitions.d.ts +1 -1
  556. package/src/agGrid/cellRenderers/BadgeRenderer.d.ts +2 -2
  557. package/src/agGrid/cellRenderers/PercentBarRenderer.d.ts +2 -2
  558. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +2 -2
  559. package/src/agGrid/getAgGridFilterNotifyModelFn.d.ts +2 -0
  560. package/src/agGrid/getAgGridFilterNotifyModelFn.js +14 -0
  561. package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +2 -2
  562. package/src/components/Dashboard/DashboardManager.d.ts +2 -2
  563. package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
  564. package/src/components/Datepicker/DatepickerContext.d.ts +1 -0
  565. package/src/components/Datepicker/index.d.ts +1 -0
  566. package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
  567. package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +1 -1
  568. package/src/components/Icon/index.d.ts +1 -1
  569. package/src/components/Select/Select.d.ts +1 -0
  570. package/src/components/Select/Select.js +124 -19
  571. package/src/components/SimpleButton/index.d.ts +2 -2
  572. package/src/components/icons/index.d.ts +1 -1
  573. package/src/env.js +2 -2
  574. package/src/metamodel/adaptable.metamodel.d.ts +32 -33
  575. package/src/metamodel/adaptable.metamodel.js +1 -1
  576. package/src/migration/AdaptableUpgradeHelper.d.ts +1 -1
  577. package/src/migration/VersionUpgrade.d.ts +1 -1
  578. package/src/migration/VersionUpgrade17.d.ts +1 -1
  579. package/src/migration/VersionUpgrade17.js +1 -1
  580. package/src/migration/VersionUpgrade18.d.ts +1 -1
  581. package/src/migration/VersionUpgrade20.d.ts +3 -1
  582. package/src/migration/VersionUpgrade20.js +72 -12
  583. package/src/themes/index.d.ts +1 -1
  584. package/src/types.d.ts +83 -83
  585. package/tsconfig.cjs.tsbuildinfo +1 -1
  586. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -110
  587. /package/src/{PredefinedConfig → AdaptableState}/AdaptableState.js +0 -0
  588. /package/src/{PredefinedConfig → AdaptableState}/AlertState.js +0 -0
  589. /package/src/{PredefinedConfig → AdaptableState}/ApplicationState.js +0 -0
  590. /package/src/{Api/ConfigApi.js → AdaptableState/BaseState.js} +0 -0
  591. /package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.js +0 -0
  592. /package/src/{PredefinedConfig → AdaptableState}/ChartingState.js +0 -0
  593. /package/src/{PredefinedConfig → AdaptableState}/CommentState.js +0 -0
  594. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.d.ts +0 -0
  595. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.js +0 -0
  596. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.d.ts +0 -0
  597. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.js +0 -0
  598. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.d.ts +0 -0
  599. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.js +0 -0
  600. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.d.ts +0 -0
  601. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.js +0 -0
  602. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.d.ts +0 -0
  603. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.js +0 -0
  604. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.d.ts +0 -0
  605. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.js +0 -0
  606. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.d.ts +0 -0
  607. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.js +0 -0
  608. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.d.ts +0 -0
  609. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.js +0 -0
  610. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.d.ts +0 -0
  611. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.js +0 -0
  612. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.d.ts +0 -0
  613. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.js +0 -0
  614. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.d.ts +0 -0
  615. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.js +0 -0
  616. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.js +0 -0
  617. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.d.ts +0 -0
  618. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.js +0 -0
  619. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.d.ts +0 -0
  620. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.js +0 -0
  621. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.d.ts +0 -0
  622. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.js +0 -0
  623. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.d.ts +0 -0
  624. /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.js +0 -0
  625. /package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.d.ts +0 -0
  626. /package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.js +0 -0
  627. /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.d.ts +0 -0
  628. /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.js +0 -0
  629. /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.d.ts +0 -0
  630. /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.js +0 -0
  631. /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.d.ts +0 -0
  632. /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.js +0 -0
  633. /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.d.ts +0 -0
  634. /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.js +0 -0
  635. /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.d.ts +0 -0
  636. /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.js +0 -0
  637. /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.d.ts +0 -0
  638. /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.js +0 -0
  639. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.js +0 -0
  640. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.d.ts +0 -0
  641. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.js +0 -0
  642. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.d.ts +0 -0
  643. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.js +0 -0
  644. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.d.ts +0 -0
  645. /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.js +0 -0
  646. /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.d.ts +0 -0
  647. /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.js +0 -0
  648. /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.d.ts +0 -0
  649. /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.js +0 -0
  650. /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.d.ts +0 -0
  651. /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.js +0 -0
  652. /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.d.ts +0 -0
  653. /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.js +0 -0
  654. /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.d.ts +0 -0
  655. /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.js +0 -0
  656. /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.d.ts +0 -0
  657. /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.js +0 -0
  658. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.d.ts +0 -0
  659. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.js +0 -0
  660. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.d.ts +0 -0
  661. /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.js +0 -0
  662. /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.d.ts +0 -0
  663. /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.js +0 -0
  664. /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.d.ts +0 -0
  665. /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.js +0 -0
  666. /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.d.ts +0 -0
  667. /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.js +0 -0
  668. /package/src/{PredefinedConfig → AdaptableState}/Common/Menu.d.ts +0 -0
  669. /package/src/{PredefinedConfig → AdaptableState}/Common/Menu.js +0 -0
  670. /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.d.ts +0 -0
  671. /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.js +0 -0
  672. /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.d.ts +0 -0
  673. /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.js +0 -0
  674. /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.d.ts +0 -0
  675. /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.js +0 -0
  676. /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.d.ts +0 -0
  677. /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.js +0 -0
  678. /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.d.ts +0 -0
  679. /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.js +0 -0
  680. /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.d.ts +0 -0
  681. /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.js +0 -0
  682. /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.d.ts +0 -0
  683. /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.js +0 -0
  684. /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.d.ts +0 -0
  685. /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.js +0 -0
  686. /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.d.ts +0 -0
  687. /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.js +0 -0
  688. /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.d.ts +0 -0
  689. /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.js +0 -0
  690. /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.d.ts +0 -0
  691. /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.js +0 -0
  692. /package/src/{PredefinedConfig → AdaptableState}/Common/Types.js +0 -0
  693. /package/src/{PredefinedConfig → AdaptableState}/CustomSortState.js +0 -0
  694. /package/src/{PredefinedConfig → AdaptableState}/DashboardState.js +0 -0
  695. /package/src/{PredefinedConfig → AdaptableState}/ExportState.js +0 -0
  696. /package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.js +0 -0
  697. /package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.js +0 -0
  698. /package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.js +0 -0
  699. /package/src/{PredefinedConfig → AdaptableState}/IPushPullState.js +0 -0
  700. /package/src/{PredefinedConfig/ConfigState.js → AdaptableState/InitialState.js} +0 -0
  701. /package/src/{PredefinedConfig → AdaptableState}/InternalState.js +0 -0
  702. /package/src/{PredefinedConfig → AdaptableState}/LayoutState.js +0 -0
  703. /package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.js +0 -0
  704. /package/src/{PredefinedConfig → AdaptableState}/NoteState.js +0 -0
  705. /package/src/{PredefinedConfig → AdaptableState}/OpenFinState.js +0 -0
  706. /package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.js +0 -0
  707. /package/src/{PredefinedConfig → AdaptableState}/PopupState.js +0 -0
  708. /package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.js +0 -0
  709. /package/src/{PredefinedConfig → AdaptableState}/ScheduleState.js +0 -0
  710. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.d.ts +0 -0
  711. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.js +0 -0
  712. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.d.ts +0 -0
  713. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.js +0 -0
  714. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.d.ts +0 -0
  715. /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.js +0 -0
  716. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.d.ts +0 -0
  717. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.js +0 -0
  718. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.d.ts +0 -0
  719. /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.js +0 -0
  720. /package/src/{PredefinedConfig → AdaptableState}/ShortcutState.js +0 -0
  721. /package/src/{PredefinedConfig → AdaptableState}/StatusBarState.js +0 -0
  722. /package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.js +0 -0
  723. /package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.js +0 -0
  724. /package/src/{PredefinedConfig → AdaptableState}/ThemeState.js +0 -0
  725. /package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.js +0 -0
  726. /package/src/{PredefinedConfig → AdaptableState}/Uuid.d.ts +0 -0
  727. /package/src/{PredefinedConfig → AdaptableState}/Uuid.js +0 -0
  728. /package/src/{PredefinedConfig/PredefinedConfig.js → Api/StateApi.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { AlertButton } from '../../../PredefinedConfig/AlertState';
3
- import { AdaptableAlert } from '../../../PredefinedConfig/Common/AdaptableAlert';
2
+ import { AlertButton } from '../../../AdaptableState/AlertState';
3
+ import { AdaptableAlert } from '../../../AdaptableState/Common/AdaptableAlert';
4
4
  import { AdaptableApi } from '../../../Api/AdaptableApi';
5
5
  import { AlertFormContext } from '../../../types';
6
6
  import { AlertType } from '../Utilities/getAlertType';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { AlertDefinition } from '../../../PredefinedConfig/AlertState';
2
+ import { AlertDefinition } from '../../../AdaptableState/AlertState';
3
3
  import { AlertType } from '../Utilities/getAlertType';
4
4
  export declare const renderAlertMessageSummary: () => React.JSX.Element;
5
5
  type AlertDisplayWizardSectionProps = {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { AlertDefinition } from '../../../PredefinedConfig/AlertState';
2
+ import { AlertDefinition } from '../../../AdaptableState/AlertState';
3
3
  import { AdaptableApi } from '../../../types';
4
4
  import { BoxProps } from 'rebass';
5
5
  import { AlertType } from '../Utilities/getAlertType';
@@ -86,9 +86,11 @@ const AlertNotificationWizardSection = (props) => {
86
86
  api.alertApi.internalApi.getDefaultAlertNotificationForm();
87
87
  }
88
88
  // make sure we have at least one button
89
- if (typeof newAlertDefinition.AlertForm === 'object' && (!newAlertDefinition.AlertForm?.Buttons || newAlertDefinition.AlertForm?.Buttons?.length === 0)) {
89
+ if (typeof newAlertDefinition.AlertForm === 'object' &&
90
+ (!newAlertDefinition.AlertForm?.Buttons ||
91
+ newAlertDefinition.AlertForm?.Buttons?.length === 0)) {
90
92
  newAlertDefinition.AlertForm.Buttons = [
91
- api.alertApi.internalApi.getDefaultButton()
93
+ api.alertApi.internalApi.getDefaultButton(),
92
94
  ];
93
95
  }
94
96
  props.onChange(newAlertDefinition);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { AlertDefinition } from '../../../PredefinedConfig/AlertState';
2
+ import { AlertDefinition } from '../../../AdaptableState/AlertState';
3
3
  import { AlertType } from '../Utilities/getAlertType';
4
4
  export declare const getRuleStepDescription: (alertType: AlertType) => "" | React.JSX.Element;
5
5
  export declare const renderAlertRulesSummary: (alertDefinition: AlertDefinition) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { AlertDefinition } from '../../../PredefinedConfig/AlertState';
2
+ import { AlertDefinition } from '../../../AdaptableState/AlertState';
3
3
  import { AlertType } from '../Utilities/getAlertType';
4
4
  type AlertScopeWizardSectionProps = {
5
5
  onChange: (data: AlertDefinition) => void;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AdaptableWizardStep, AdaptableWizardStepProps } from '../../Wizard/Interface/IAdaptableWizard';
3
- import { AlertDefinition } from '../../../PredefinedConfig/AlertState';
3
+ import { AlertDefinition } from '../../../AdaptableState/AlertState';
4
4
  export interface AlertSelectQueryWizardProps extends AdaptableWizardStepProps<AlertDefinition> {
5
5
  }
6
6
  export interface AlertSelectQueryWizardState {
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import { AlertDefinition } from '../../../PredefinedConfig/AlertState';
2
+ import { AlertDefinition } from '../../../AdaptableState/AlertState';
3
3
  import { FlashingCellDefinition } from '../../../../types';
4
4
  export declare const renderScopeSummary: (data: AlertDefinition | FlashingCellDefinition) => React.JSX.Element;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BulkUpdateViewPanelControl = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
- const Enums_1 = require("../../PredefinedConfig/Common/Enums");
6
+ const Enums_1 = require("../../AdaptableState/Common/Enums");
7
7
  const PreviewResultsPanel_1 = require("../Components/PreviewResultsPanel");
8
8
  const rebass_1 = require("rebass");
9
9
  const join_1 = tslib_1.__importDefault(require("../../components/utils/join"));
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ModuleSummaryProps } from '../Components/SharedProps/ModuleSummaryProps';
3
3
  import { EditableConfigEntityState } from '../Components/SharedProps/EditableConfigEntityState';
4
- import { CalculatedColumn } from '../../PredefinedConfig/CalculatedColumnState';
4
+ import { CalculatedColumn } from '../../AdaptableState/CalculatedColumnState';
5
5
  import type { Action } from 'redux';
6
6
  export interface CalculatedColumnSummaryProps extends ModuleSummaryProps<CalculatedColumnSummaryComponent> {
7
7
  CalculatedColumns: CalculatedColumn[];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AdaptableApi } from '../../../Api/AdaptableApi';
3
- import { CalculatedColumn } from '../../../PredefinedConfig/CalculatedColumnState';
3
+ import { CalculatedColumn } from '../../../AdaptableState/CalculatedColumnState';
4
4
  export type CalculatedColumnDefinitionWizardSectionProps = {
5
5
  onChange: (data: CalculatedColumn) => void;
6
6
  isEdit: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CalculatedColumn } from '../../../PredefinedConfig/CalculatedColumnState';
2
+ import { CalculatedColumn } from '../../../AdaptableState/CalculatedColumnState';
3
3
  export type CalculatedColumnSettingsWizardSectionProps = {
4
4
  onChange: (data: CalculatedColumn) => void;
5
5
  isEdit: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CellSummmaryInfo } from '../../PredefinedConfig/Common/CellSummary';
2
+ import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
3
3
  interface CellSummaryDetailsProps extends React.ClassAttributes<CellSummaryDetails> {
4
4
  CellSummary: CellSummmaryInfo;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CellSummmaryInfo } from '../../PredefinedConfig/Common/CellSummary';
2
+ import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
3
3
  export interface CellSummaryPopoverProps {
4
4
  CellSummary: CellSummmaryInfo;
5
5
  }
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
3
3
  import { EditableConfigEntityState } from '../Components/SharedProps/EditableConfigEntityState';
4
4
  import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
5
- import { CellSummmaryInfo } from '../../PredefinedConfig/Common/CellSummary';
5
+ import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
6
6
  interface CellSummaryPopupProps extends ModuleViewPopupProps<CellSummaryPopupComponent> {
7
7
  CellSummary: CellSummmaryInfo;
8
8
  onCreateCellSummary: () => InternalRedux.CreateCellSummaryInfoAction;
@@ -1,9 +1,9 @@
1
1
  import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps';
2
2
  import * as React from 'react';
3
- import { SummaryOperation } from '../../PredefinedConfig/Common/Enums';
4
- import { CellSummmaryInfo } from '../../PredefinedConfig/Common/CellSummary';
3
+ import { SummaryOperation } from '../../AdaptableState/Common/Enums';
4
+ import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
5
5
  import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
6
- import { SelectedCellInfo } from '../../PredefinedConfig/Selection/SelectedCellInfo';
6
+ import { SelectedCellInfo } from '../../AdaptableState/Selection/SelectedCellInfo';
7
7
  export interface CellSummaryViewPanelComponentProps extends ViewPanelProps {
8
8
  SelectedCellInfo: SelectedCellInfo;
9
9
  CellSummaryOperation: SummaryOperation | string;
@@ -4,7 +4,7 @@ exports.CellSummaryViewPanelControl = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const EnumExtensions_1 = require("../../Utilities/Extensions/EnumExtensions");
7
- const Enums_1 = require("../../PredefinedConfig/Common/Enums");
7
+ const Enums_1 = require("../../AdaptableState/Common/Enums");
8
8
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
9
9
  const CellSummaryPopover_1 = require("./CellSummaryPopover");
10
10
  const rebass_1 = require("rebass");
@@ -9,8 +9,7 @@ const useChartingElements_1 = require("./useChartingElements");
9
9
  const rebass_1 = require("rebass");
10
10
  const ChartingStatusBarPopover = (props) => {
11
11
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
12
- const accessLevel = adaptable.api.entitlementApi
13
- .getEntitlementAccessLevelForModule(ModuleConstants.ChartingModuleId);
12
+ const accessLevel = adaptable.api.entitlementApi.getEntitlementAccessLevelForModule(ModuleConstants.ChartingModuleId);
14
13
  const { chartSelector, containerSelector, chartButton, deleteButton, editButton } = (0, useChartingElements_1.useChartingElements)({
15
14
  elementType: 'Statusbar',
16
15
  accessLevel: accessLevel,
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { ExternalChartDefinition } from '../../../PredefinedConfig/ChartingState';
2
+ import { ExternalChartDefinition } from '../../../AdaptableState/ChartingState';
3
3
  import { ChartDefinition } from '../../../types';
4
4
  import { AdaptableOnePageWizardProps } from '../../Wizard/Interface/IAdaptableWizard';
5
5
  export interface AgChargingWizardProps extends AdaptableOnePageWizardProps<ChartDefinition | ExternalChartDefinition> {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChartingWizard = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
- const ChartingState_1 = require("../../../PredefinedConfig/ChartingState");
6
+ const ChartingState_1 = require("../../../AdaptableState/ChartingState");
7
7
  const AgChargingWizard_1 = require("./AgChargingWizard");
8
8
  const ExternalChartingWizard_1 = require("./ExternalChartingWizard");
9
9
  const ChartingWizard = (props) => {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ExternalChartDefinition } from '../../../../PredefinedConfig/ChartingState';
2
+ import { ExternalChartDefinition } from '../../../../AdaptableState/ChartingState';
3
3
  import { AdaptableOnePageWizardProps } from '../../../Wizard/Interface/IAdaptableWizard';
4
4
  export interface ExternalChartingWizardProps extends AdaptableOnePageWizardProps<ExternalChartDefinition> {
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ExternalChartDefinition } from '../../../../PredefinedConfig/ChartingState';
2
+ import { ExternalChartDefinition } from '../../../../AdaptableState/ChartingState';
3
3
  import { AdaptableApi } from '../../../../types';
4
4
  export declare const isSettingsValid: (chartDefinition: ExternalChartDefinition, api: AdaptableApi) => true | string;
5
5
  export interface SettingsSectionProps {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AccessLevel, ChartDefinition } from '../../types';
3
- import { ExternalChartDefinition } from '../../PredefinedConfig/ChartingState';
3
+ import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
4
4
  export interface ButtonDeleteProps {
5
5
  chart: ChartDefinition | ExternalChartDefinition;
6
6
  accessLevel: AccessLevel;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const ButtonDelete_1 = require("../Components/Buttons/ButtonDelete");
7
7
  const ChartingRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ChartingRedux"));
8
- const ChartingState_1 = require("../../PredefinedConfig/ChartingState");
8
+ const ChartingState_1 = require("../../AdaptableState/ChartingState");
9
9
  const DeleteChartButton = (props) => {
10
10
  return (React.createElement(ButtonDelete_1.ButtonDelete, { iconSize: props.iconSize, disabled: !props.chart, ConfirmAction: (0, ChartingState_1.isAgChartDefinition)(props.chart)
11
11
  ? ChartingRedux.ChartingDeleteChart(props.chart)
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AccessLevel, ChartDefinition } from '../../types';
3
- import { ExternalChartDefinition } from '../../PredefinedConfig/ChartingState';
3
+ import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
4
4
  export interface EditChartButtonProps {
5
5
  chart: ChartDefinition | ExternalChartDefinition;
6
6
  accessLevel: AccessLevel;
@@ -7,7 +7,7 @@ const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleB
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const DropdownButton_1 = tslib_1.__importDefault(require("../../components/DropdownButton"));
9
9
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
10
- const ChartingState_1 = require("../../PredefinedConfig/ChartingState");
10
+ const ChartingState_1 = require("../../AdaptableState/ChartingState");
11
11
  const useAgChartState_1 = require("./useAgChartState");
12
12
  const useExternalChartState_1 = require("./useExternalChartState");
13
13
  const BaseShowChartButton = (props) => {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ExternalChartDefinition } from '../../PredefinedConfig/ChartingState';
2
+ import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
3
3
  import { AccessLevel, ChartDefinition } from '../../types';
4
4
  export declare const useChartingElements: ({ elementType, accessLevel, size, }: {
5
5
  elementType: string;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
7
  const Select_1 = require("../../components/Select");
8
8
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
9
- const ChartingState_1 = require("../../PredefinedConfig/ChartingState");
9
+ const ChartingState_1 = require("../../AdaptableState/ChartingState");
10
10
  const ChartingRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ChartingRedux"));
11
11
  const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
12
12
  const AdaptableContext_1 = require("../AdaptableContext");
@@ -1,4 +1,4 @@
1
- import { ExternalChartDefinition } from '../../PredefinedConfig/ChartingState';
1
+ import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
2
2
  import { ChartContainer } from '../../types';
3
3
  export declare const useExternalChartState: (chartDefinition?: ExternalChartDefinition) => {
4
4
  showChart: (container?: ChartContainer) => void;
@@ -209,7 +209,6 @@ const ModuleView = (props) => {
209
209
  }, moduleInfo: moduleInfo, data: null, configEntities: null, onCloseWizard: handleWizardClose, onFinishWizard: handleWizardClose }))));
210
210
  };
211
211
  const ColumnInfo = (props) => {
212
- // const state = useSelector((state: AdaptableState) => state);
213
212
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
214
213
  const [selectedColumnId, setSelectedColumnId] = React.useState(props.selectedColumnId);
215
214
  const column = adaptable.api.columnApi.getColumnWithColumnId(selectedColumnId);
@@ -219,7 +218,7 @@ const ColumnInfo = (props) => {
219
218
  React.createElement(FormLayout_1.FormRow, { label: "Select Column" },
220
219
  React.createElement(ColumnSelector_1.ColumnSelector, { filterColumn: (column) => !column.alwaysHidden, value: selectedColumnId, onChange: (columnId) => setSelectedColumnId(columnId) })))),
221
220
  selectedColumnId && (React.createElement(Tabs_1.Tabs, { mb: 3 },
222
- React.createElement(Tabs_1.Tabs.Tab, null, "Config"),
221
+ React.createElement(Tabs_1.Tabs.Tab, null, "State"),
223
222
  React.createElement(Tabs_1.Tabs.Tab, null, "Column Summary"),
224
223
  React.createElement(Tabs_1.Tabs.Content, null, selectedColumnId && (React.createElement(rebass_1.Box, { className: BASE_CLASS_NAME }, MODULES_WITH_COLUMN.map((moduleName) => {
225
224
  return (React.createElement(ModuleView, { key: moduleName, moduleName: moduleName, selectedColumnId: selectedColumnId }));
@@ -12,7 +12,7 @@ const CommentsRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/
12
12
  const InternalRedux_1 = require("../../Redux/ActionsReducers/InternalRedux");
13
13
  const AdaptableContext_1 = require("../AdaptableContext");
14
14
  const AdaptableInput_1 = tslib_1.__importDefault(require("../Components/AdaptableInput"));
15
- const format_1 = tslib_1.__importDefault(require("date-fns/format"));
15
+ const FormatHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/FormatHelper"));
16
16
  // Edit Mode
17
17
  // [author] [edit, delete]
18
18
  // [text-editor] * this is different
@@ -52,6 +52,9 @@ const CommentsEditor = (props) => {
52
52
  if (!commentThread) {
53
53
  return null;
54
54
  }
55
+ const formatDate = (date, format) => {
56
+ return FormatHelper_1.default.DateFormatter(date, { Pattern: format });
57
+ };
55
58
  return (React.createElement(Panel_1.default, { color: "var(--ab-color-text-on-primary)", onClick: () => props.enableEditMode(), minWidth: 250, className: "ab-CommentPopup", onKeyDown: (event) => {
56
59
  if (event.key === 'Escape') {
57
60
  api.commentApi.hideCommentsPopup();
@@ -79,7 +82,7 @@ const CommentsEditor = (props) => {
79
82
  React.createElement(rebass_1.Flex, { mb: 2, alignItems: "center" },
80
83
  React.createElement(rebass_1.Box, null,
81
84
  React.createElement(rebass_1.Box, { "data-name": "comment-username", fontSize: 3, fontWeight: "bold" }, comment?.Author?.UserName),
82
- comment.Timestamp && (React.createElement(rebass_1.Box, { "data-name": "comment-timestamp", fontSize: 2 }, (0, format_1.default)(comment.Timestamp, api.commentApi.internalApi.getCommentsDateFormat())))),
85
+ comment.Timestamp && (React.createElement(rebass_1.Box, { "data-name": "comment-timestamp", fontSize: 2 }, formatDate(comment.Timestamp, api.commentApi.internalApi.getCommentsDateFormat())))),
83
86
  React.createElement(rebass_1.Box, { flex: 1 }),
84
87
  React.createElement(SimpleButton_1.default, { variant: "text", icon: "edit", disabled: !isOwnComment || isReadOnlyModule, onClick: () => setActiveEditingComment(comment.Uuid) }),
85
88
  React.createElement(SimpleButton_1.default, { variant: "text", icon: "delete", disabled: !isOwnComment || isReadOnlyModule, onClick: () => {
@@ -7,10 +7,10 @@ const react_redux_1 = require("react-redux");
7
7
  const InfiniteTable_1 = require("../../components/InfiniteTable");
8
8
  const Panel_1 = tslib_1.__importDefault(require("../../components/Panel"));
9
9
  const rebass_1 = require("rebass");
10
- const format_1 = tslib_1.__importDefault(require("date-fns/format"));
11
10
  const AdaptableContext_1 = require("../AdaptableContext");
12
11
  const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
13
12
  const AdaptableButton_1 = require("../Components/AdaptableButton");
13
+ const FormatHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/FormatHelper"));
14
14
  const tableDOMProps = {
15
15
  style: {
16
16
  minHeight: 160,
@@ -20,6 +20,9 @@ const tableDOMProps = {
20
20
  const CellComments = (props) => {
21
21
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
22
22
  const isReadOnlyModule = adaptable.api.entitlementApi.getEntitlementAccessLevelForModule('Comment') === 'ReadOnly';
23
+ const formatDate = (date, format) => {
24
+ return FormatHelper_1.default.DateFormatter(date, { Pattern: format });
25
+ };
23
26
  const columnsMap = React.useMemo(() => {
24
27
  const columns = {
25
28
  author: {
@@ -31,7 +34,7 @@ const CellComments = (props) => {
31
34
  field: 'Timestamp',
32
35
  maxWidth: 150,
33
36
  valueGetter: (params) => {
34
- return (0, format_1.default)(params.data.Timestamp, adaptable.api.commentApi.internalApi.getCommentsDateFormat());
37
+ return formatDate(params.data.Timestamp, adaptable.api.commentApi.internalApi.getCommentsDateFormat());
35
38
  },
36
39
  },
37
40
  text: {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Action } from 'redux';
3
- import { AdaptableObject } from '../../../PredefinedConfig/Common/AdaptableObject';
3
+ import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
4
4
  import { AdaptableObjectItemView, AdaptableObjectView, IModule } from '../../../Strategy/Interface/IModule';
5
5
  import { AccessLevel, AdaptableSharedEntityConfig } from '../../../types';
6
6
  export declare const AdaptableObjectListItemView: React.FunctionComponent<{
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps as BtnProps } from 'rebass';
3
- import { AccessLevel } from '../../../../PredefinedConfig/Common/Entitlement';
3
+ import { AccessLevel } from '../../../../AdaptableState/Common/Entitlement';
4
4
  export interface ButtonBaseProps extends BtnProps {
5
5
  overrideDisableButton?: boolean;
6
6
  transformGlyph?: boolean;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SimpleButtonProps } from '../../../components/SimpleButton';
3
- import { AdaptableSharedEntityConfig } from '../../../PredefinedConfig/TeamSharingState';
3
+ import { AdaptableSharedEntityConfig } from '../../../AdaptableState/TeamSharingState';
4
4
  interface ButtonShareProps extends SimpleButtonProps {
5
5
  onShare: (config: AdaptableSharedEntityConfig) => void;
6
6
  Header: string;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import * as Redux from 'redux';
3
- import { AccessLevel } from '../../../PredefinedConfig/Common/Entitlement';
4
- import { AdaptableSharedEntityConfig } from '../../../PredefinedConfig/TeamSharingState';
5
- import { AdaptableObject } from '../../../PredefinedConfig/Common/AdaptableObject';
6
- import { SuspendableObject } from '../../../PredefinedConfig/Common/SuspendableObject';
3
+ import { AccessLevel } from '../../../AdaptableState/Common/Entitlement';
4
+ import { AdaptableSharedEntityConfig } from '../../../AdaptableState/TeamSharingState';
5
+ import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
6
+ import { SuspendableObject } from '../../../AdaptableState/Common/SuspendableObject';
7
7
  export interface EntityListActionButtonsProps extends React.ClassAttributes<EntityListActionButtons> {
8
8
  editClick?: () => void;
9
9
  cloneClick?: () => void;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { AdaptableObject } from '../../../../PredefinedConfig/Common/AdaptableObject';
3
- import { AccessLevel } from '../../../../PredefinedConfig/Common/Entitlement';
4
- import { SuspendableObject } from '../../../../PredefinedConfig/Common/SuspendableObject';
2
+ import { AdaptableObject } from '../../../../AdaptableState/Common/AdaptableObject';
3
+ import { AccessLevel } from '../../../../AdaptableState/Common/Entitlement';
4
+ import { SuspendableObject } from '../../../../AdaptableState/Common/SuspendableObject';
5
5
  interface EntityListSuspendButtonProps {
6
6
  onSuspend: (adaptableObject: AdaptableObject) => void;
7
7
  onUnSuspend: (adaptableObject: AdaptableObject) => void;
@@ -4,6 +4,7 @@ export interface AdaptableColumnFilterProps {
4
4
  columnId: string;
5
5
  padding?: BoxProps['p'];
6
6
  wrapperProps?: BoxProps;
7
+ onChange?: () => void;
7
8
  }
8
9
  /**
9
10
  * This wrapper knows about predicates.
@@ -11,6 +11,9 @@ const useAdaptableFilterWrapper_1 = require("./useAdaptableFilterWrapper");
11
11
  */
12
12
  const AdaptableColumnFilter = (props) => {
13
13
  const { qlPredicate, qlPredicateDefs, columnFilter, handlePredicateChange } = (0, useAdaptableFilterWrapper_1.useAdaptableFilterWrapper)(props.columnId);
14
- return (React.createElement(ColumnFilter_1.ColumnFilterComponent, { wrapperProps: props.wrapperProps, columnId: props.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange: handlePredicateChange }));
14
+ return (React.createElement(ColumnFilter_1.ColumnFilterComponent, { wrapperProps: props.wrapperProps, columnId: props.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange: React.useCallback((predicate) => {
15
+ handlePredicateChange(predicate);
16
+ props.onChange?.();
17
+ }, [handlePredicateChange, props.onChange]) }));
15
18
  };
16
19
  exports.AdaptableColumnFilter = AdaptableColumnFilter;
@@ -1,6 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { ColumnFilterProps } from '../../../Utilities/Interface/ColumnFilterProps';
3
3
  export interface AdaptableColumnFilterProps extends ColumnFilterProps {
4
+ onClear?: () => void;
5
+ onChange?: () => void;
4
6
  }
5
7
  /**
6
8
  * This wrapper knows about predicates.
@@ -13,6 +13,14 @@ const useAdaptableFilterWrapper_1 = require("./useAdaptableFilterWrapper");
13
13
  const AdaptableFloatingFilter = (props) => {
14
14
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
15
15
  const { qlPredicate, qlPredicateDefs, columnFilter, column, handlePredicateChange, handleOnChange, handleClear, } = (0, useAdaptableFilterWrapper_1.useAdaptableFilterWrapper)(props.Column.columnId);
16
+ const onClear = React.useCallback(() => {
17
+ handleClear();
18
+ props.onClear?.();
19
+ }, [handleClear, props.onClear]);
20
+ const onPredicateChange = React.useCallback((newPredicate) => {
21
+ handlePredicateChange(newPredicate);
22
+ props.onChange?.();
23
+ }, [handlePredicateChange, props.onChange]);
16
24
  if (!column) {
17
25
  return null;
18
26
  }
@@ -28,9 +36,8 @@ const AdaptableFloatingFilter = (props) => {
28
36
  Inputs: [],
29
37
  },
30
38
  ]);
39
+ props.onChange?.();
31
40
  }
32
- }, onClear: handleClear, columnId: props.Column.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange: (newPredicate) => {
33
- handlePredicateChange(newPredicate);
34
- } }));
41
+ }, onClear: onClear, columnId: props.Column.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange: onPredicateChange }));
35
42
  };
36
43
  exports.AdaptableFloatingFilter = AdaptableFloatingFilter;
@@ -6,7 +6,7 @@ interface ColumnFilterComponentProps {
6
6
  disabled?: boolean;
7
7
  predicate?: QlPredicate;
8
8
  predicateDefs: QlPredicateDef[];
9
- onPredicateChange: (predicate: QlPredicate) => void;
9
+ onPredicateChange: (predicate: QlPredicate | null) => void;
10
10
  wrapperProps?: BoxProps;
11
11
  }
12
12
  export declare const ColumnFilterComponent: React.FunctionComponent<ColumnFilterComponentProps>;
@@ -73,7 +73,9 @@ const ColumnFilterComponent = (props) => {
73
73
  setPredicateNotYetApplied(undefined);
74
74
  };
75
75
  const onPredicateChange = (predicate) => {
76
- if (autoApplyColumnFilter) {
76
+ // even if autoApplyColumnFilter is false, when we explicitly clear the filter
77
+ // we want to apply the filter immediately
78
+ if (autoApplyColumnFilter || !predicate) {
77
79
  props.onPredicateChange(predicate);
78
80
  }
79
81
  else {
@@ -116,7 +118,7 @@ const ColumnFilterComponent = (props) => {
116
118
  return (React.createElement(React.Fragment, null,
117
119
  React.createElement(rebass_1.Flex, { m: 2 },
118
120
  React.createElement(AndOrInput, { onChange: onCombineChange, operator: currentPredicate.operator }),
119
- React.createElement(SimpleButton_1.default, { ml: 2, onClick: () => onPredicateChange({ operator: 'AND', args: [] }) }, "Clear All")),
121
+ React.createElement(SimpleButton_1.default, { ml: 2, onClick: () => onPredicateChange(null) }, "Clear All")),
120
122
  React.createElement(rebass_1.Flex, { flexDirection: "column", className: "ab-ColumnFilter", flex: 1, minHeight: 0, ...props.wrapperProps },
121
123
  React.createElement(rebass_1.Box, { flex: 1, style: { overflow: 'auto' } },
122
124
  currentPredicate.args.map((predicate, index) => {
@@ -35,7 +35,7 @@ const FloatingFilter = (props) => {
35
35
  label = '';
36
36
  }
37
37
  const showQuickFilterDropdown = adaptable.api.filterApi.columnFilterApi.internalApi.showQuickFilterDropdown(props.columnId);
38
- const handleClear = () => props.onClear();
38
+ const handleClear = () => props.onClear?.();
39
39
  const showEvent = 'click';
40
40
  const hideEvent = 'blur';
41
41
  let filterDropdown = null;
@@ -82,7 +82,7 @@ const FloatingFilter = (props) => {
82
82
  } }))),
83
83
  isInlineEditable && (React.createElement(SimpleButton_1.default, { px: 0, onClick: () => {
84
84
  adaptable.api.filterApi.columnFilterApi.internalApi.openColumnFilterPopup(props.columnId);
85
- }, icon: "expand", variant: "text" })),
85
+ }, "data-name": "expand-filter", icon: "expand", variant: "text" })),
86
86
  (isMultiple ||
87
87
  !(0, utils_1.isPredicateEmpty)(props.predicate.args[0], singleFilterPredicateDef)) && (React.createElement(SimpleButton_1.default, { "data-name": "clear-filter", p: 0, variant: "text", onClick: handleClear, icon: "close" }))));
88
88
  };
@@ -21,7 +21,7 @@ const LayoutColumnFilter = (props) => {
21
21
  ...props.columnFilter,
22
22
  ColumnId: props.columnFilter.ColumnId,
23
23
  Predicates: newAdaptablePredicates,
24
- PredicatesLogic: newPredicate.operator,
24
+ PredicatesOperator: newPredicate.operator,
25
25
  };
26
26
  props.onColumnFilterChange(newFilter);
27
27
  };
@@ -16,7 +16,7 @@ type ColumnFilterEditorChangeProps = {
16
16
  value: string;
17
17
  onChange: (value: string) => void;
18
18
  };
19
- export declare const ColumnFilterInput: ({ type, value, onChange: onChangeProp, onClear, disabled, onKeyDown, filterType, usePrimitiveInputs, columnId, }: {
19
+ export declare const ColumnFilterInput: ({ type, value, onChange: onChangeProp, onClear: onClearProp, disabled, onKeyDown, filterType, usePrimitiveInputs, columnId, }: {
20
20
  disabled: boolean;
21
21
  onClear: () => void;
22
22
  onKeyDown?: (event: React.KeyboardEventHandler<HTMLInputElement>) => void;
@@ -13,7 +13,7 @@ const react_1 = require("react");
13
13
  function debounceOrImmediate(fn, time) {
14
14
  return time && time > 0 ? (0, debounce_1.default)(fn, time) : fn;
15
15
  }
16
- const ColumnFilterInput = ({ type, value, onChange: onChangeProp, onClear, disabled, onKeyDown, filterType, usePrimitiveInputs = true, columnId, }) => {
16
+ const ColumnFilterInput = ({ type, value, onChange: onChangeProp, onClear: onClearProp, disabled, onKeyDown, filterType, usePrimitiveInputs = true, columnId, }) => {
17
17
  const [liveValue, setLiveValue] = React.useState(value);
18
18
  const [hasFocus, setHasFocus] = React.useState(false);
19
19
  const onFocus = (0, react_1.useCallback)(() => {
@@ -43,6 +43,12 @@ const ColumnFilterInput = ({ type, value, onChange: onChangeProp, onClear, disab
43
43
  onChangeProp(value);
44
44
  }, debounceTime);
45
45
  }, [onChangeProp, debounceTime]);
46
+ // the onClear needs to have the same debounce time as the onChange
47
+ const onClear = React.useMemo(() => {
48
+ return debounceOrImmediate(() => {
49
+ onClearProp();
50
+ }, debounceTime);
51
+ }, [onClearProp, debounceTime]);
46
52
  if (type === 'boolean') {
47
53
  return (React.createElement(CheckBox_1.CheckBox, { disabled: disabled, onFocus: onFocus, onBlur: onBlur, checked: value === 'checked'
48
54
  ? true
@@ -6,7 +6,7 @@ export declare const useAdaptableFilterWrapper: (columnId: string, handleOnChang
6
6
  qlPredicateDefs: import("@adaptabletools/adaptable/src/parser/src/predicate/types").QlPredicateDef[];
7
7
  columnFilter: ColumnFilter;
8
8
  handleClear: () => LayoutRedux.LayoutColumnFilterClearAction;
9
- handlePredicateChange: (newPredicate: QlPredicate) => void;
9
+ handlePredicateChange: (newPredicate: QlPredicate | null) => void;
10
10
  handleOnChange: (adaptablePredicate: AdaptablePredicate[], logic?: QlLogicalOperator) => void;
11
11
  column: import("../../../types").AdaptableColumn<any>;
12
12
  };
@@ -35,7 +35,7 @@ const useAdaptableFilterWrapper = (columnId, handleOnChangeOverride) => {
35
35
  ...columnFilter,
36
36
  ColumnId: columnId,
37
37
  Predicates: adaptablePredicate,
38
- PredicatesLogic: logic,
38
+ PredicatesOperator: logic,
39
39
  };
40
40
  if (handleOnChangeOverride) {
41
41
  handleOnChangeOverride(newFilter);
@@ -46,11 +46,15 @@ const useAdaptableFilterWrapper = (columnId, handleOnChangeOverride) => {
46
46
  : LayoutRedux.LayoutColumnFilterAdd(newFilter));
47
47
  }
48
48
  };
49
- const handleClear = () => dispatch(LayoutRedux.LayoutColumnFilterClear(columnFilter));
49
+ const handleClear = React.useCallback(() => dispatch(LayoutRedux.LayoutColumnFilterClear(columnId)), [columnId]);
50
50
  /**
51
51
  * Converts a QlPredicate to an AdaptablePredicate and dispatches the change.
52
52
  */
53
53
  const handlePredicateChange = React.useCallback((newPredicate) => {
54
+ if (!newPredicate) {
55
+ handleClear();
56
+ return;
57
+ }
54
58
  const newAdaptablePredicates = newPredicate.args.map(utils_1.mapQlPredicateToAdaptablePredicate);
55
59
  handleOnChange(newAdaptablePredicates, newPredicate.operator);
56
60
  }, [columnId]);