@adaptabletools/adaptable 17.0.0-canary.4 → 17.0.0-canary.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1214) hide show
  1. package/agGrid.js +32 -26
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +716 -0
  4. package/index.css.map +1 -1
  5. package/package.json +4 -5
  6. package/publishTimestamp.d.ts +2 -0
  7. package/publishTimestamp.js +3 -0
  8. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +2 -1
  9. package/src/AdaptableInterfaces/IAdaptable.js +2 -1
  10. package/src/AdaptableOptions/ActionColumnOptions.js +2 -1
  11. package/src/AdaptableOptions/ActionRowOptions.js +2 -1
  12. package/src/AdaptableOptions/AdaptableFrameworkComponent.js +2 -1
  13. package/src/AdaptableOptions/AdaptableOptions.js +2 -1
  14. package/src/AdaptableOptions/AdaptablePlugin.js +5 -1
  15. package/src/AdaptableOptions/AlertOptions.js +2 -1
  16. package/src/AdaptableOptions/CalendarOptions.js +2 -1
  17. package/src/AdaptableOptions/CellSummaryOptions.js +2 -1
  18. package/src/AdaptableOptions/ChartingOptions.js +2 -1
  19. package/src/AdaptableOptions/ColumnFilterOptions.js +2 -1
  20. package/src/AdaptableOptions/ColumnOptions.js +2 -1
  21. package/src/AdaptableOptions/ContainerOptions.js +2 -1
  22. package/src/AdaptableOptions/CustomSortOptions.js +2 -1
  23. package/src/AdaptableOptions/DashboardOptions.js +2 -1
  24. package/src/AdaptableOptions/DataChangeHistoryOptions.js +2 -1
  25. package/src/AdaptableOptions/DataImportOptions.js +2 -1
  26. package/src/AdaptableOptions/DataSetOptions.js +2 -1
  27. package/src/AdaptableOptions/DateInputOptions.js +2 -1
  28. package/src/AdaptableOptions/EditOptions.js +2 -1
  29. package/src/AdaptableOptions/EntitlementOptions.js +2 -1
  30. package/src/AdaptableOptions/ExportOptions.js +2 -1
  31. package/src/AdaptableOptions/ExpressionOptions.js +2 -1
  32. package/src/AdaptableOptions/Fdc3Options.js +5 -2
  33. package/src/AdaptableOptions/FinsemblePluginOptions.js +2 -1
  34. package/src/AdaptableOptions/FlashingCellOptions.js +2 -1
  35. package/src/AdaptableOptions/FormatColumnOptions.js +2 -1
  36. package/src/AdaptableOptions/Glue42PluginOptions.js +2 -1
  37. package/src/AdaptableOptions/Glue42WebPluginOptions.js +2 -1
  38. package/src/AdaptableOptions/GridFilterOptions.js +2 -1
  39. package/src/AdaptableOptions/GroupingOptions.js +2 -1
  40. package/src/AdaptableOptions/IPushPullPluginOptions.js +2 -1
  41. package/src/AdaptableOptions/LayoutOptions.js +2 -1
  42. package/src/AdaptableOptions/MasterDetailPluginOptions.js +2 -1
  43. package/src/AdaptableOptions/MenuOptions.js +7 -3
  44. package/src/AdaptableOptions/NotesOptions.js +2 -1
  45. package/src/AdaptableOptions/NotificationsOptions.js +2 -1
  46. package/src/AdaptableOptions/OpenFinPluginOptions.js +2 -1
  47. package/src/AdaptableOptions/PredicateOptions.js +2 -1
  48. package/src/AdaptableOptions/QuickSearchOptions.js +2 -1
  49. package/src/AdaptableOptions/SettingsPanelOptions.js +2 -1
  50. package/src/AdaptableOptions/StateOptions.js +2 -1
  51. package/src/AdaptableOptions/TeamSharingOptions.js +2 -1
  52. package/src/AdaptableOptions/ToolPanelOptions.js +2 -1
  53. package/src/AdaptableOptions/UserInterfaceOptions.js +2 -1
  54. package/src/Api/ActionColumnApi.js +2 -1
  55. package/src/Api/ActionRowApi.js +2 -1
  56. package/src/Api/AdaptableApi.js +2 -1
  57. package/src/Api/AlertApi.js +2 -1
  58. package/src/Api/ApplicationApi.js +2 -1
  59. package/src/Api/BulkUpdateApi.js +2 -1
  60. package/src/Api/CalculatedColumnApi.js +2 -1
  61. package/src/Api/CalendarApi.js +2 -1
  62. package/src/Api/CellSummaryApi.js +2 -1
  63. package/src/Api/ChartingApi.js +2 -1
  64. package/src/Api/ColumnApi.js +2 -1
  65. package/src/Api/ColumnFilterApi.js +2 -1
  66. package/src/Api/ConfigApi.js +2 -1
  67. package/src/Api/CustomSortApi.js +2 -1
  68. package/src/Api/DashboardApi.js +2 -1
  69. package/src/Api/DataChangeHistoryApi.js +2 -1
  70. package/src/Api/DataImportApi.js +2 -1
  71. package/src/Api/DataSetApi.js +2 -1
  72. package/src/Api/EntitlementApi.js +2 -1
  73. package/src/Api/EventApi.js +2 -1
  74. package/src/Api/Events/ActionRowSubmitted.js +2 -1
  75. package/src/Api/Events/AdaptableReady.js +2 -1
  76. package/src/Api/Events/AdaptableSearchState.js +2 -1
  77. package/src/Api/Events/AdaptableStateChanged.js +2 -1
  78. package/src/Api/Events/AdaptableStateReloaded.js +2 -1
  79. package/src/Api/Events/AlertFired.js +2 -1
  80. package/src/Api/Events/BaseEventInfo.js +2 -1
  81. package/src/Api/Events/CellChanged.js +2 -1
  82. package/src/Api/Events/ChartChanged.js +2 -1
  83. package/src/Api/Events/ColumnFilterApplied.js +2 -1
  84. package/src/Api/Events/CustomToolbarConfigured.js +2 -1
  85. package/src/Api/Events/DashboardChanged.js +2 -1
  86. package/src/Api/Events/DataImported.js +2 -1
  87. package/src/Api/Events/DataSetSelected.js +2 -1
  88. package/src/Api/Events/Fdc3MessageInfo.js +2 -1
  89. package/src/Api/Events/FlashingCellDisplayed.js +2 -1
  90. package/src/Api/Events/GridDataChanged.js +2 -1
  91. package/src/Api/Events/GridFilterApplied.js +2 -1
  92. package/src/Api/Events/GridSorted.js +2 -1
  93. package/src/Api/Events/LayoutChanged.js +2 -1
  94. package/src/Api/Events/LiveDataChanged.js +2 -1
  95. package/src/Api/Events/ScheduleTriggered.js +2 -1
  96. package/src/Api/Events/SelectionChanged.js +2 -1
  97. package/src/Api/Events/SystemStatusMessageDisplayed.js +2 -1
  98. package/src/Api/Events/TeamSharingEntityChanged.js +2 -1
  99. package/src/Api/Events/ThemeChanged.js +2 -1
  100. package/src/Api/Events/ThemeEdited.js +2 -1
  101. package/src/Api/ExportApi.js +2 -1
  102. package/src/Api/ExpressionApi.js +2 -1
  103. package/src/Api/Fdc3Api.js +2 -1
  104. package/src/Api/FinsembleApi.js +2 -1
  105. package/src/Api/FlashingCellApi.js +2 -1
  106. package/src/Api/FormatColumnApi.js +2 -1
  107. package/src/Api/FreeTextColumnApi.js +2 -1
  108. package/src/Api/Glue42Api.js +2 -1
  109. package/src/Api/Glue42WebApi.js +2 -1
  110. package/src/Api/GridApi.js +2 -1
  111. package/src/Api/GridFilterApi.js +2 -1
  112. package/src/Api/IPushPullApi.js +2 -1
  113. package/src/Api/Implementation/ActionColumnApiImpl.js +6 -2
  114. package/src/Api/Implementation/ActionRowApiImpl.js +12 -8
  115. package/src/Api/Implementation/AdaptableApiImpl.js +101 -97
  116. package/src/Api/Implementation/AlertApiImpl.js +23 -18
  117. package/src/Api/Implementation/ApiBase.js +10 -5
  118. package/src/Api/Implementation/ApplicationApiImpl.js +8 -3
  119. package/src/Api/Implementation/BulkUpdateApiImpl.js +10 -5
  120. package/src/Api/Implementation/CalculatedColumnApiImpl.js +11 -6
  121. package/src/Api/Implementation/CalendarApiImpl.js +6 -2
  122. package/src/Api/Implementation/CellSummaryApiImpl.js +22 -17
  123. package/src/Api/Implementation/ChartingApiImpl.js +18 -13
  124. package/src/Api/Implementation/ColumnApiImpl.js +16 -11
  125. package/src/Api/Implementation/ColumnFilterApiImpl.js +14 -9
  126. package/src/Api/Implementation/ConfigApiImpl.js +34 -29
  127. package/src/Api/Implementation/CustomSortApiImpl.js +11 -6
  128. package/src/Api/Implementation/DashboardApiImpl.js +14 -9
  129. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +15 -10
  130. package/src/Api/Implementation/DataImportApiImpl.js +8 -4
  131. package/src/Api/Implementation/DataSetApiImpl.js +11 -6
  132. package/src/Api/Implementation/EntitlementApiImpl.js +6 -2
  133. package/src/Api/Implementation/EventApiImpl.js +9 -4
  134. package/src/Api/Implementation/ExportApiImpl.js +17 -12
  135. package/src/Api/Implementation/ExpressionApiImpl.js +10 -5
  136. package/src/Api/Implementation/Fdc3ApiImpl.js +12 -8
  137. package/src/Api/Implementation/FlashingCellApiImpl.js +11 -6
  138. package/src/Api/Implementation/FormatColumnApiImpl.js +11 -6
  139. package/src/Api/Implementation/FreeTextColumnApiImpl.js +14 -9
  140. package/src/Api/Implementation/GridApiImpl.js +23 -18
  141. package/src/Api/Implementation/GridFilterApiImpl.js +14 -9
  142. package/src/Api/Implementation/LayoutApiImpl.js +30 -25
  143. package/src/Api/Implementation/NamedQueryApiImpl.js +13 -8
  144. package/src/Api/Implementation/NotesApiImpl.js +9 -4
  145. package/src/Api/Implementation/OptionsApiImpl.js +6 -2
  146. package/src/Api/Implementation/PluginsApiImpl.js +8 -3
  147. package/src/Api/Implementation/PlusMinusApiImpl.js +9 -4
  148. package/src/Api/Implementation/PredicateApiImpl.js +17 -12
  149. package/src/Api/Implementation/QuickSearchApiImpl.js +10 -5
  150. package/src/Api/Implementation/ScheduleApiImpl.js +11 -6
  151. package/src/Api/Implementation/ScopeApiImpl.js +13 -8
  152. package/src/Api/Implementation/SettingsPanelApiImpl.js +8 -3
  153. package/src/Api/Implementation/ShortcutApiImpl.js +9 -4
  154. package/src/Api/Implementation/SmartEditApiImpl.js +10 -5
  155. package/src/Api/Implementation/StatusBarApiImpl.js +9 -5
  156. package/src/Api/Implementation/StyledColumnApiImpl.js +11 -6
  157. package/src/Api/Implementation/SystemStatusApiImpl.js +21 -16
  158. package/src/Api/Implementation/TeamSharingApiImpl.js +17 -12
  159. package/src/Api/Implementation/ThemeApiImpl.js +15 -10
  160. package/src/Api/Implementation/ToolPanelApiImpl.js +11 -6
  161. package/src/Api/Implementation/UserInterfaceApiImpl.js +20 -15
  162. package/src/Api/Internal/ActionRowInternalApi.js +6 -2
  163. package/src/Api/Internal/AdaptableInternalApi.js +26 -21
  164. package/src/Api/Internal/AlertInternalApi.js +25 -20
  165. package/src/Api/Internal/CalculatedColumnInternalApi.js +6 -2
  166. package/src/Api/Internal/ChartingInternalApi.js +12 -8
  167. package/src/Api/Internal/ColumnFilterInternalApi.js +13 -8
  168. package/src/Api/Internal/ColumnInternalApi.js +8 -4
  169. package/src/Api/Internal/CustomSortInternalApi.js +6 -2
  170. package/src/Api/Internal/DashboardInternalApi.js +11 -6
  171. package/src/Api/Internal/DataImportInternalApi.js +10 -5
  172. package/src/Api/Internal/DataSetInternalApi.js +6 -2
  173. package/src/Api/Internal/ExportInternalApi.js +6 -2
  174. package/src/Api/Internal/ExpressionnternalApi.js +6 -2
  175. package/src/Api/Internal/Fdc3InternalApi.js +28 -24
  176. package/src/Api/Internal/FlashingCellInternalApi.js +12 -7
  177. package/src/Api/Internal/FormatColumnInternalApi.js +22 -17
  178. package/src/Api/Internal/FreeTextColumnInternalApi.js +6 -2
  179. package/src/Api/Internal/GridFilterInternalApi.js +6 -2
  180. package/src/Api/Internal/GridInternalApi.js +18 -13
  181. package/src/Api/Internal/LayoutInternalApi.js +21 -16
  182. package/src/Api/Internal/NamedQueryInternalApi.js +8 -3
  183. package/src/Api/Internal/PredicateInternalApi.js +6 -2
  184. package/src/Api/Internal/ScheduleInternalApi.js +6 -2
  185. package/src/Api/Internal/StyledColumnInternalApi.js +10 -5
  186. package/src/Api/Internal/SystemStatusInternalApi.js +8 -3
  187. package/src/Api/Internal/TeamSharingInternalApi.js +6 -2
  188. package/src/Api/Internal/ThemeInternalApi.js +9 -5
  189. package/src/Api/Internal/UserInterfaceInternalApi.js +6 -2
  190. package/src/Api/LayoutApi.js +2 -1
  191. package/src/Api/NamedQueryApi.js +2 -1
  192. package/src/Api/NotesAPi.js +2 -1
  193. package/src/Api/OpenFinApi.js +2 -1
  194. package/src/Api/OptionsApi.js +2 -1
  195. package/src/Api/PluginsApi.js +2 -1
  196. package/src/Api/PlusMinusApi.js +2 -1
  197. package/src/Api/PredicateApi.js +2 -1
  198. package/src/Api/QuickSearchApi.js +2 -1
  199. package/src/Api/ScheduleApi.js +2 -1
  200. package/src/Api/ScopeApi.js +2 -1
  201. package/src/Api/SettingsPanelApi.js +2 -1
  202. package/src/Api/ShortcutApi.js +2 -1
  203. package/src/Api/SmartEditApi.js +2 -1
  204. package/src/Api/StatusBarApi.js +2 -1
  205. package/src/Api/StyledColumnApi.js +2 -1
  206. package/src/Api/SystemStatusApi.js +2 -1
  207. package/src/Api/TeamSharingApi.js +2 -1
  208. package/src/Api/ThemeApi.js +2 -1
  209. package/src/Api/ToolPanelApi.js +2 -1
  210. package/src/Api/UserInterfaceApi.js +2 -1
  211. package/src/PredefinedConfig/AdaptableState.js +2 -1
  212. package/src/PredefinedConfig/AlertState.js +2 -1
  213. package/src/PredefinedConfig/ApplicationState.js +2 -1
  214. package/src/PredefinedConfig/CalculatedColumnState.js +2 -1
  215. package/src/PredefinedConfig/ChartingState.js +7 -2
  216. package/src/PredefinedConfig/Common/AdaptableAlert.js +7 -2
  217. package/src/PredefinedConfig/Common/AdaptableButton.js +2 -1
  218. package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -1
  219. package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +2 -1
  220. package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -1
  221. package/src/PredefinedConfig/Common/AdaptableForm.js +5 -1
  222. package/src/PredefinedConfig/Common/AdaptableFormat.js +2 -1
  223. package/src/PredefinedConfig/Common/AdaptableIcon.js +2 -1
  224. package/src/PredefinedConfig/Common/AdaptableMessageType.js +2 -1
  225. package/src/PredefinedConfig/Common/AdaptableObject.js +2 -1
  226. package/src/PredefinedConfig/Common/AdaptablePredicate.js +56 -52
  227. package/src/PredefinedConfig/Common/AdaptableQuery.js +5 -1
  228. package/src/PredefinedConfig/Common/AdaptableScope.js +2 -1
  229. package/src/PredefinedConfig/Common/AdaptableStyle.js +2 -1
  230. package/src/PredefinedConfig/Common/AggregationColumns.js +4 -1
  231. package/src/PredefinedConfig/Common/AlternativeModuleName.js +2 -1
  232. package/src/PredefinedConfig/Common/BaseContext.js +2 -1
  233. package/src/PredefinedConfig/Common/ButtonStyle.js +2 -1
  234. package/src/PredefinedConfig/Common/CellDataChangedInfo.js +2 -1
  235. package/src/PredefinedConfig/Common/CellHighlightInfo.js +2 -1
  236. package/src/PredefinedConfig/Common/CellSummary.js +2 -1
  237. package/src/PredefinedConfig/Common/ColumnFilter.js +2 -1
  238. package/src/PredefinedConfig/Common/ColumnSort.js +2 -1
  239. package/src/PredefinedConfig/Common/DataChangedScope.js +2 -1
  240. package/src/PredefinedConfig/Common/DataUpdateConfig.js +2 -1
  241. package/src/PredefinedConfig/Common/Entitlement.js +2 -1
  242. package/src/PredefinedConfig/Common/Enums.js +29 -26
  243. package/src/PredefinedConfig/Common/Fdc3Context.js +35 -32
  244. package/src/PredefinedConfig/Common/Fdc3Intent.js +67 -64
  245. package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +2 -1
  246. package/src/PredefinedConfig/Common/FormContext.js +2 -1
  247. package/src/PredefinedConfig/Common/GridFilter.js +2 -1
  248. package/src/PredefinedConfig/Common/Menu.js +2 -1
  249. package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -1
  250. package/src/PredefinedConfig/Common/RowsHighlightInfo.js +2 -1
  251. package/src/PredefinedConfig/Common/Schedule.js +2 -1
  252. package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -1
  253. package/src/PredefinedConfig/Common/SuspendableObject.js +2 -1
  254. package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +2 -1
  255. package/src/PredefinedConfig/Common/Types.js +9 -5
  256. package/src/PredefinedConfig/ConfigState.js +2 -1
  257. package/src/PredefinedConfig/CustomSortState.js +2 -1
  258. package/src/PredefinedConfig/DashboardState.js +2 -1
  259. package/src/PredefinedConfig/ExportState.js +2 -1
  260. package/src/PredefinedConfig/FlashingCellState.js +2 -1
  261. package/src/PredefinedConfig/FormatColumnState.js +2 -1
  262. package/src/PredefinedConfig/FreeTextColumnState.js +2 -1
  263. package/src/PredefinedConfig/Glue42State.js +2 -1
  264. package/src/PredefinedConfig/GridState.js +2 -1
  265. package/src/PredefinedConfig/IPushPullState.js +2 -1
  266. package/src/PredefinedConfig/InternalState.js +2 -1
  267. package/src/PredefinedConfig/LayoutState.js +2 -1
  268. package/src/PredefinedConfig/NamedQueryState.js +2 -1
  269. package/src/PredefinedConfig/NotesState.js +2 -1
  270. package/src/PredefinedConfig/OpenFinState.js +2 -1
  271. package/src/PredefinedConfig/PlusMinusState.js +2 -1
  272. package/src/PredefinedConfig/PopupState.js +2 -1
  273. package/src/PredefinedConfig/PredefinedConfig.js +2 -1
  274. package/src/PredefinedConfig/QueryState.js +2 -1
  275. package/src/PredefinedConfig/QuickSearchState.js +2 -1
  276. package/src/PredefinedConfig/ScheduleState.js +2 -1
  277. package/src/PredefinedConfig/Selection/GridCell.js +2 -1
  278. package/src/PredefinedConfig/Selection/GridCellRange.js +2 -1
  279. package/src/PredefinedConfig/Selection/GridRow.js +2 -1
  280. package/src/PredefinedConfig/Selection/SelectedCellInfo.js +2 -1
  281. package/src/PredefinedConfig/Selection/SelectedRowInfo.js +2 -1
  282. package/src/PredefinedConfig/ShortcutState.js +2 -1
  283. package/src/PredefinedConfig/StatusBarState.js +4 -1
  284. package/src/PredefinedConfig/StyledColumnState.js +2 -1
  285. package/src/PredefinedConfig/SystemState.js +2 -1
  286. package/src/PredefinedConfig/TeamSharingState.js +7 -2
  287. package/src/PredefinedConfig/ThemeState.js +2 -1
  288. package/src/PredefinedConfig/ToolPanelState.js +2 -1
  289. package/src/PredefinedConfig/Uuid.js +6 -2
  290. package/src/Redux/ActionsReducers/AlertRedux.js +59 -45
  291. package/src/Redux/ActionsReducers/ApplicationRedux.js +22 -15
  292. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +15 -9
  293. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +29 -20
  294. package/src/Redux/ActionsReducers/CellSummaryRedux.js +7 -3
  295. package/src/Redux/ActionsReducers/ChartingRedux.js +55 -41
  296. package/src/Redux/ActionsReducers/CustomSortRedux.js +54 -41
  297. package/src/Redux/ActionsReducers/DashboardRedux.js +66 -50
  298. package/src/Redux/ActionsReducers/ExportRedux.js +43 -31
  299. package/src/Redux/ActionsReducers/FlashingCellRedux.js +57 -43
  300. package/src/Redux/ActionsReducers/FormatColumnRedux.js +70 -54
  301. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +34 -24
  302. package/src/Redux/ActionsReducers/GridRedux.js +160 -125
  303. package/src/Redux/ActionsReducers/LayoutRedux.js +115 -89
  304. package/src/Redux/ActionsReducers/NamedQueryRedux.js +35 -25
  305. package/src/Redux/ActionsReducers/NotesRedux.js +31 -21
  306. package/src/Redux/ActionsReducers/PluginsRedux.js +53 -48
  307. package/src/Redux/ActionsReducers/PlusMinusRedux.js +59 -45
  308. package/src/Redux/ActionsReducers/PopupRedux.js +84 -64
  309. package/src/Redux/ActionsReducers/QueryRedux.js +13 -8
  310. package/src/Redux/ActionsReducers/QuickSearchRedux.js +23 -16
  311. package/src/Redux/ActionsReducers/ScheduleRedux.js +222 -179
  312. package/src/Redux/ActionsReducers/ShortcutRedux.js +54 -41
  313. package/src/Redux/ActionsReducers/SmartEditRedux.js +15 -9
  314. package/src/Redux/ActionsReducers/StatusBarRedux.js +19 -12
  315. package/src/Redux/ActionsReducers/StyledColumnRedux.js +54 -41
  316. package/src/Redux/ActionsReducers/SystemRedux.js +324 -254
  317. package/src/Redux/ActionsReducers/SystemStatusRedux.js +11 -6
  318. package/src/Redux/ActionsReducers/TeamSharingRedux.js +55 -40
  319. package/src/Redux/ActionsReducers/ThemeRedux.js +43 -32
  320. package/src/Redux/ActionsReducers/ToolPanelRedux.js +39 -28
  321. package/src/Redux/ActionsReducers/utils.js +9 -3
  322. package/src/Redux/DeadRedux.js +38 -25
  323. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +20 -15
  324. package/src/Redux/Store/AdaptableReduxMerger.js +30 -21
  325. package/src/Redux/Store/AdaptableStore.js +107 -100
  326. package/src/Redux/Store/Interface/IAdaptableStore.js +2 -1
  327. package/src/Redux/Store/Interface/IStorageEngine.js +2 -1
  328. package/src/Strategy/AdaptableModuleBase.js +13 -8
  329. package/src/Strategy/AlertModule.js +40 -35
  330. package/src/Strategy/BulkUpdateModule.js +22 -17
  331. package/src/Strategy/CalculatedColumnModule.js +21 -16
  332. package/src/Strategy/CellSummaryModule.js +22 -17
  333. package/src/Strategy/ChartingModule.js +20 -15
  334. package/src/Strategy/ColumnFilterModule.js +16 -11
  335. package/src/Strategy/ColumnInfoModule.js +8 -3
  336. package/src/Strategy/CustomSortModule.js +17 -12
  337. package/src/Strategy/DashboardModule.js +9 -4
  338. package/src/Strategy/DataChangeHistoryModule.js +15 -10
  339. package/src/Strategy/DataImportModule.js +8 -3
  340. package/src/Strategy/DataSetModule.js +16 -11
  341. package/src/Strategy/ExportModule.js +60 -55
  342. package/src/Strategy/Fdc3Module.js +8 -3
  343. package/src/Strategy/FlashingCellModule.js +33 -28
  344. package/src/Strategy/FormatColumnModule.js +32 -27
  345. package/src/Strategy/FreeTextColumnModule.js +13 -8
  346. package/src/Strategy/GridFilterModule.js +14 -9
  347. package/src/Strategy/GridInfoModule.js +8 -3
  348. package/src/Strategy/Interface/IBulkUpdateModule.js +2 -1
  349. package/src/Strategy/Interface/ICellSummaryModule.js +2 -1
  350. package/src/Strategy/Interface/IExportModule.js +2 -1
  351. package/src/Strategy/Interface/IModule.js +2 -1
  352. package/src/Strategy/Interface/IModuleActionReturn.js +2 -1
  353. package/src/Strategy/Interface/IPlusMinusModule.js +2 -1
  354. package/src/Strategy/Interface/IScheduleModule.js +2 -1
  355. package/src/Strategy/Interface/IShortcutModule.js +2 -1
  356. package/src/Strategy/Interface/ISmartEditModule.js +2 -1
  357. package/src/Strategy/LayoutModule.js +35 -30
  358. package/src/Strategy/NamedQueryModule.js +17 -12
  359. package/src/Strategy/NotesModule.js +8 -3
  360. package/src/Strategy/PlusMinusModule.js +26 -21
  361. package/src/Strategy/QuickSearchModule.js +10 -5
  362. package/src/Strategy/ScheduleModule.js +45 -40
  363. package/src/Strategy/SettingsPanelModule.js +9 -4
  364. package/src/Strategy/ShortcutModule.js +26 -21
  365. package/src/Strategy/SmartEditModule.js +27 -22
  366. package/src/Strategy/StateManagementModule.js +8 -3
  367. package/src/Strategy/StatusBarModule.js +8 -3
  368. package/src/Strategy/StyledColumnModule.js +22 -17
  369. package/src/Strategy/SystemStatusModule.js +10 -5
  370. package/src/Strategy/TeamSharingModule.js +37 -32
  371. package/src/Strategy/ThemeModule.js +10 -5
  372. package/src/Strategy/ToolPanelModule.js +13 -8
  373. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +9 -5
  374. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +11 -6
  375. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +8 -4
  376. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +5 -1
  377. package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +5 -1
  378. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +5 -1
  379. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +5 -1
  380. package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +5 -1
  381. package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +7 -3
  382. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +5 -1
  383. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +5 -1
  384. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +10 -5
  385. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +8 -3
  386. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +5 -1
  387. package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +5 -1
  388. package/src/Strategy/Utilities/getExpressionViewItems.js +5 -1
  389. package/src/Strategy/Utilities/getObjectTagsViewItems.js +12 -7
  390. package/src/Strategy/Utilities/getRuleViewItems.js +5 -1
  391. package/src/Strategy/Utilities/getScopeViewItems.js +5 -1
  392. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +5 -1
  393. package/src/Utilities/Cancelable.js +2 -1
  394. package/src/Utilities/Constants/ConfigConstants.js +12 -9
  395. package/src/Utilities/Constants/DocumentationLinkConstants.js +17 -14
  396. package/src/Utilities/Constants/GeneralConstants.js +74 -70
  397. package/src/Utilities/Constants/ModuleConstants.js +119 -115
  398. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +28 -24
  399. package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -2
  400. package/src/Utilities/Emitter.js +5 -3
  401. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +24 -20
  402. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +54 -51
  403. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +36 -31
  404. package/src/Utilities/ExpressionFunctions/dateUtils.js +7 -2
  405. package/src/Utilities/ExpressionFunctions/deepMap.js +5 -1
  406. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +57 -39
  407. package/src/Utilities/ExpressionFunctions/groupingMap.js +7 -3
  408. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +70 -66
  409. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +7 -3
  410. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +56 -52
  411. package/src/Utilities/Extensions/ArrayExtensions.js +73 -39
  412. package/src/Utilities/Extensions/EnumExtensions.js +21 -14
  413. package/src/Utilities/Extensions/NumberExtensions.js +9 -4
  414. package/src/Utilities/Extensions/ObjectExtensions.js +9 -3
  415. package/src/Utilities/Extensions/StringExtensions.js +46 -23
  416. package/src/Utilities/Extensions/TypeExtensions.js +5 -1
  417. package/src/Utilities/Helpers/AdaptableHelper.js +70 -59
  418. package/src/Utilities/Helpers/DateHelper.js +28 -18
  419. package/src/Utilities/Helpers/FormatHelper.js +18 -10
  420. package/src/Utilities/Helpers/Helper.js +50 -28
  421. package/src/Utilities/Helpers/PreviewHelper.js +15 -8
  422. package/src/Utilities/Helpers/StyleHelper.js +20 -11
  423. package/src/Utilities/Interface/AdaptableToolPanelContext.js +2 -1
  424. package/src/Utilities/Interface/ColumnFilterProps.js +2 -1
  425. package/src/Utilities/Interface/IPPStyle.js +2 -1
  426. package/src/Utilities/Interface/KeyValuePair.js +2 -1
  427. package/src/Utilities/Interface/MessagePopups.js +2 -1
  428. package/src/Utilities/Interface/Preview.js +2 -1
  429. package/src/Utilities/MenuItem.js +11 -4
  430. package/src/Utilities/ObjectFactory.js +167 -124
  431. package/src/Utilities/Services/AggregatedScalarLiveValue.js +7 -3
  432. package/src/Utilities/Services/AlertService.js +16 -11
  433. package/src/Utilities/Services/CalculatedColumnExpressionService.js +13 -9
  434. package/src/Utilities/Services/ChartingService.js +15 -10
  435. package/src/Utilities/Services/DataService.js +13 -8
  436. package/src/Utilities/Services/EntitlementService.js +5 -1
  437. package/src/Utilities/Services/Fdc3Service.js +11 -7
  438. package/src/Utilities/Services/Interface/IAdaptableService.js +2 -1
  439. package/src/Utilities/Services/Interface/IAlertService.js +8 -3
  440. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +2 -1
  441. package/src/Utilities/Services/Interface/IChartingService.js +2 -1
  442. package/src/Utilities/Services/Interface/IDataService.js +2 -1
  443. package/src/Utilities/Services/Interface/IEntitlementService.js +2 -1
  444. package/src/Utilities/Services/Interface/ILicenseService.js +2 -1
  445. package/src/Utilities/Services/Interface/IMetamodelService.js +2 -1
  446. package/src/Utilities/Services/Interface/IModuleService.js +2 -1
  447. package/src/Utilities/Services/Interface/IQueryLanguageService.js +2 -1
  448. package/src/Utilities/Services/Interface/IReportService.js +2 -1
  449. package/src/Utilities/Services/Interface/IRowEditService.js +2 -1
  450. package/src/Utilities/Services/Interface/ITeamSharingService.js +2 -1
  451. package/src/Utilities/Services/Interface/IThemeService.js +2 -1
  452. package/src/Utilities/Services/Interface/IValidationService.js +2 -1
  453. package/src/Utilities/Services/LicenseService/index.js +1 -181
  454. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +5 -1
  455. package/src/Utilities/Services/MetamodelService.js +17 -12
  456. package/src/Utilities/Services/ModuleService.js +13 -8
  457. package/src/Utilities/Services/QueryLanguageService.js +29 -24
  458. package/src/Utilities/Services/ReportService.js +53 -48
  459. package/src/Utilities/Services/RowEditService.js +5 -1
  460. package/src/Utilities/Services/TeamSharingService.js +11 -6
  461. package/src/Utilities/Services/ThemeService.js +5 -1
  462. package/src/Utilities/Services/ValidationService.js +15 -10
  463. package/src/Utilities/getScrollbarSize.js +3 -1
  464. package/src/Utilities/isAdaptableObject.js +5 -1
  465. package/src/Utilities/isMacLike.js +5 -1
  466. package/src/Utilities/license/LicenseDetails.js +2 -1
  467. package/src/Utilities/license/decode.js +1 -65
  468. package/src/Utilities/license/hashing.js +1 -43
  469. package/src/Utilities/logDeprecation.js +9 -3
  470. package/src/Utilities/reorder.js +5 -1
  471. package/src/Utilities/runIfNotResolvedIn.js +5 -1
  472. package/src/Utilities/sortWithOrder.js +5 -1
  473. package/src/Utilities/waitForCondition.js +5 -1
  474. package/src/Utilities/waitForTimeout.js +5 -1
  475. package/src/View/AdaptableContext.js +8 -3
  476. package/src/View/AdaptablePopover/index.js +22 -17
  477. package/src/View/AdaptableView.js +35 -30
  478. package/src/View/AdaptableViewFactory.js +71 -67
  479. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +2 -1
  480. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +30 -25
  481. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +44 -42
  482. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -4
  483. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +26 -21
  484. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +9 -4
  485. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +29 -26
  486. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +2 -1
  487. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +20 -17
  488. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +13 -8
  489. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +21 -16
  490. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +29 -24
  491. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +23 -18
  492. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -2
  493. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +5 -3
  494. package/src/View/AdaptableWizardView/Utils.js +5 -1
  495. package/src/View/AdaptableWizardView/Wizard.js +26 -20
  496. package/src/View/AdaptableWizardView/helper.js +10 -4
  497. package/src/View/AdaptableWizardView/index.js +10 -7
  498. package/src/View/Alert/ActiveAlertsPanel.js +14 -9
  499. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +15 -10
  500. package/src/View/Alert/AlertEmptyView.js +9 -4
  501. package/src/View/Alert/AlertEntityRow.js +18 -13
  502. package/src/View/Alert/AlertStatusSubPanel.js +18 -13
  503. package/src/View/Alert/AlertViewPanel.js +20 -16
  504. package/src/View/Alert/AlertsPanel.js +27 -22
  505. package/src/View/Alert/Utilities/getAlertButtonStyle.js +11 -6
  506. package/src/View/Alert/Utilities/getAlertType.js +9 -4
  507. package/src/View/Alert/Utilities/getAvailablePredicates.js +5 -1
  508. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +14 -9
  509. package/src/View/Alert/Utilities/mapAlertDefinition.js +5 -1
  510. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +50 -43
  511. package/src/View/Alert/Wizard/AlertButtonsEditor.js +40 -35
  512. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +37 -31
  513. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +33 -27
  514. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +30 -23
  515. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +13 -8
  516. package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +19 -14
  517. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +26 -20
  518. package/src/View/Alert/Wizard/AlertWizard.js +65 -60
  519. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +19 -14
  520. package/src/View/Alert/Wizard/isValidAlertRules.js +7 -3
  521. package/src/View/BulkUpdate/BulkUpdatePopup.js +37 -33
  522. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +31 -27
  523. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +22 -17
  524. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +5 -1
  525. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +43 -36
  526. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +28 -21
  527. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +40 -33
  528. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +18 -13
  529. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +54 -49
  530. package/src/View/CalculatedColumn/utils.js +5 -1
  531. package/src/View/CellSummary/CellSummaryDetails.js +11 -6
  532. package/src/View/CellSummary/CellSummaryPopover.js +9 -4
  533. package/src/View/CellSummary/CellSummaryPopup.js +12 -8
  534. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +12 -11
  535. package/src/View/CellSummary/CellSummaryStatusPanel.js +16 -11
  536. package/src/View/CellSummary/CellSummaryViewPanel.js +26 -22
  537. package/src/View/Charting/ChartingStatusBarPopover.js +17 -12
  538. package/src/View/Charting/ChartingViewPanel.js +18 -13
  539. package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +23 -18
  540. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +14 -9
  541. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +22 -16
  542. package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +4 -1
  543. package/src/View/Charting/ChartingWizard/ChartingWizard.js +14 -10
  544. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +18 -13
  545. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +14 -8
  546. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +4 -1
  547. package/src/View/Charting/ChartingWizard/index.js +4 -1
  548. package/src/View/Charting/DeleteChartButton.js +11 -6
  549. package/src/View/Charting/EditChartButton.js +13 -8
  550. package/src/View/Charting/ShowChartButton.js +26 -21
  551. package/src/View/Charting/useAgChartState.js +12 -7
  552. package/src/View/Charting/useChartingElements.js +31 -26
  553. package/src/View/Charting/useExternalChartState.js +12 -7
  554. package/src/View/ColumnInfo/ColumnInfo.js +38 -33
  555. package/src/View/ColumnInfo/ColumnInfoPopup.js +13 -8
  556. package/src/View/Components/AdaptableButton/index.js +13 -8
  557. package/src/View/Components/AdaptableDateInput/index.js +15 -13
  558. package/src/View/Components/AdaptableIconComponent/index.js +11 -6
  559. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +7 -3
  560. package/src/View/Components/AdaptableIconSelector/index.js +11 -6
  561. package/src/View/Components/AdaptableInput/index.js +11 -8
  562. package/src/View/Components/AdaptableObjectCollection/index.js +11 -6
  563. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +33 -27
  564. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +47 -40
  565. package/src/View/Components/AdaptableObjectList/index.js +5 -1
  566. package/src/View/Components/AdaptableObjectRow/index.js +12 -7
  567. package/src/View/Components/Badge/index.js +11 -6
  568. package/src/View/Components/Buttons/ButtonApply.js +9 -4
  569. package/src/View/Components/Buttons/ButtonBase/index.js +10 -5
  570. package/src/View/Components/Buttons/ButtonClear.js +9 -4
  571. package/src/View/Components/Buttons/ButtonClone.js +9 -4
  572. package/src/View/Components/Buttons/ButtonClose.js +9 -4
  573. package/src/View/Components/Buttons/ButtonConfigure.js +9 -4
  574. package/src/View/Components/Buttons/ButtonDelete.js +11 -8
  575. package/src/View/Components/Buttons/ButtonEdit.js +9 -4
  576. package/src/View/Components/Buttons/ButtonExpand.js +9 -4
  577. package/src/View/Components/Buttons/ButtonExport.js +9 -4
  578. package/src/View/Components/Buttons/ButtonFunction.js +9 -4
  579. package/src/View/Components/Buttons/ButtonGeneral.js +9 -4
  580. package/src/View/Components/Buttons/ButtonInfo.js +9 -4
  581. package/src/View/Components/Buttons/ButtonInvalid.js +9 -4
  582. package/src/View/Components/Buttons/ButtonLogin.js +9 -4
  583. package/src/View/Components/Buttons/ButtonLogout.js +9 -4
  584. package/src/View/Components/Buttons/ButtonMaximise.js +9 -4
  585. package/src/View/Components/Buttons/ButtonMinimise.js +9 -4
  586. package/src/View/Components/Buttons/ButtonNew.js +9 -4
  587. package/src/View/Components/Buttons/ButtonNewPage.js +9 -4
  588. package/src/View/Components/Buttons/ButtonOpen.js +9 -4
  589. package/src/View/Components/Buttons/ButtonPause.js +9 -4
  590. package/src/View/Components/Buttons/ButtonPlay.js +10 -5
  591. package/src/View/Components/Buttons/ButtonPreviewDelete.js +7 -4
  592. package/src/View/Components/Buttons/ButtonSave.js +9 -4
  593. package/src/View/Components/Buttons/ButtonSchedule.js +9 -4
  594. package/src/View/Components/Buttons/ButtonShare.js +12 -8
  595. package/src/View/Components/Buttons/ButtonShow.js +9 -4
  596. package/src/View/Components/Buttons/ButtonShowChart.js +9 -4
  597. package/src/View/Components/Buttons/ButtonStop.js +9 -4
  598. package/src/View/Components/Buttons/ButtonUndo.js +9 -4
  599. package/src/View/Components/Buttons/ButtonUnsuspend.js +9 -4
  600. package/src/View/Components/Buttons/EntityListActionButtons.js +19 -14
  601. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +8 -4
  602. package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -1
  603. package/src/View/Components/CellPopup/index.js +14 -10
  604. package/src/View/Components/ColumnSelector/index.js +12 -7
  605. package/src/View/Components/EntityRowItem.js +7 -2
  606. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +23 -18
  607. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +32 -27
  608. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +5 -1
  609. package/src/View/Components/EntityRulesEditor/Utilities.js +5 -1
  610. package/src/View/Components/EntityRulesEditor/index.js +42 -45
  611. package/src/View/Components/ExpressionWizard.js +22 -17
  612. package/src/View/Components/ExternalRenderer.js +10 -6
  613. package/src/View/Components/FilterForm/FilterForm.js +56 -51
  614. package/src/View/Components/FilterForm/ListBoxFilterForm.js +35 -30
  615. package/src/View/Components/FilterForm/ListBoxMenu.js +13 -8
  616. package/src/View/Components/FilterForm/QuickFilterForm.js +46 -41
  617. package/src/View/Components/FilterForm/QuickFilterValues.js +28 -23
  618. package/src/View/Components/FilterForm/Waiting.js +14 -10
  619. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +5 -1
  620. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +14 -10
  621. package/src/View/Components/ListBox/DualListBoxEditor.js +58 -53
  622. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +15 -10
  623. package/src/View/Components/ModuleProfile.js +9 -4
  624. package/src/View/Components/ModuleSummary/ModuleDetail.js +11 -6
  625. package/src/View/Components/ModuleSummary/ModuleHeader.js +13 -8
  626. package/src/View/Components/ModuleSummary/SummaryRowItem.js +9 -4
  627. package/src/View/Components/ModuleValueSelector/index.js +19 -15
  628. package/src/View/Components/NewScopeComponent.js +52 -45
  629. package/src/View/Components/Panels/FilterFormPanel.js +27 -22
  630. package/src/View/Components/Panels/PanelDashboard/index.js +9 -4
  631. package/src/View/Components/Panels/PanelFooter.js +13 -8
  632. package/src/View/Components/Panels/PanelToolPanel/index.js +20 -16
  633. package/src/View/Components/Panels/PanelWithButton.js +21 -16
  634. package/src/View/Components/Panels/PanelWithImage.js +20 -16
  635. package/src/View/Components/Panels/PanelWithRow.js +12 -7
  636. package/src/View/Components/Panels/PanelWithTwoButtons.js +12 -7
  637. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +11 -6
  638. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +20 -15
  639. package/src/View/Components/PermittedValuesSelector/index.js +5 -1
  640. package/src/View/Components/Popups/AdaptableLoadingScreen.js +11 -6
  641. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +31 -26
  642. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +12 -7
  643. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -21
  644. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +29 -24
  645. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -4
  646. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +16 -11
  647. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +8 -3
  648. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +17 -12
  649. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +17 -12
  650. package/src/View/Components/Popups/AdaptablePopup/index.js +5 -1
  651. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +15 -10
  652. package/src/View/Components/Popups/AdaptablePopupAlert.js +27 -22
  653. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +30 -25
  654. package/src/View/Components/Popups/AdaptablePopupPrompt.js +23 -18
  655. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +31 -26
  656. package/src/View/Components/Popups/AdaptableToaster.js +18 -13
  657. package/src/View/Components/Popups/FormPopups/FormPopups.js +25 -19
  658. package/src/View/Components/Popups/Utilities.js +17 -10
  659. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +27 -23
  660. package/src/View/Components/Popups/WindowPopups/windowFactory.js +16 -13
  661. package/src/View/Components/PredicateEditor/PredicateEditor.js +26 -21
  662. package/src/View/Components/PreviewResultsPanel.js +18 -13
  663. package/src/View/Components/RangesComponent.js +56 -51
  664. package/src/View/Components/ScopeComponent.js +28 -23
  665. package/src/View/Components/Selectors/ColumnSelector.js +11 -6
  666. package/src/View/Components/Selectors/ColumnSelectorOld.js +18 -13
  667. package/src/View/Components/Selectors/ColumnValueSelector.js +20 -15
  668. package/src/View/Components/Selectors/PermittedValuesSelector.js +13 -8
  669. package/src/View/Components/SharedProps/BaseProps.js +2 -1
  670. package/src/View/Components/SharedProps/ConfigEntityRowProps.js +2 -1
  671. package/src/View/Components/SharedProps/EditableConfigEntityState.js +5 -2
  672. package/src/View/Components/SharedProps/ModuleSummaryProps.js +2 -1
  673. package/src/View/Components/SharedProps/ModuleViewPopupProps.js +2 -1
  674. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +2 -1
  675. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +2 -1
  676. package/src/View/Components/SharedProps/ViewPanelProps.js +2 -1
  677. package/src/View/Components/SharedProps/WizardScopeState.js +2 -1
  678. package/src/View/Components/StyleComponent.js +69 -64
  679. package/src/View/Components/StyleVisualItem.js +14 -9
  680. package/src/View/Components/TagValueSelector/index.js +15 -9
  681. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +44 -39
  682. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +18 -13
  683. package/src/View/Components/ToolPanel/ToolPanelPopup.js +28 -24
  684. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +21 -16
  685. package/src/View/Components/ValueSelector/index.js +53 -47
  686. package/src/View/Components/WizardSummaryPage.js +12 -7
  687. package/src/View/Components/WizardSummaryRow.js +11 -6
  688. package/src/View/CustomSort/CustomSortSummary.js +37 -32
  689. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +24 -17
  690. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +9 -4
  691. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +36 -29
  692. package/src/View/CustomSort/Wizard/CustomSortWizard.js +36 -31
  693. package/src/View/Dashboard/CustomDashboardButton.js +12 -7
  694. package/src/View/Dashboard/CustomToolbar.js +25 -19
  695. package/src/View/Dashboard/Dashboard.js +42 -38
  696. package/src/View/Dashboard/DashboardPopup.js +33 -29
  697. package/src/View/Dashboard/DashboardToolbarFactory.js +18 -13
  698. package/src/View/Dashboard/DashboardViewPanel.js +14 -10
  699. package/src/View/Dashboard/ModuleToolbarWrapper.js +13 -8
  700. package/src/View/Dashboard/PinnedDashboard.js +17 -12
  701. package/src/View/Dashboard/PinnedToolbarsSelector.js +16 -11
  702. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +20 -15
  703. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +38 -34
  704. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +9 -4
  705. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +41 -36
  706. package/src/View/DataChangeHistory/buildActionColumnButton.js +5 -1
  707. package/src/View/DataImport/DataImportPopup.js +17 -12
  708. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +30 -25
  709. package/src/View/DataImport/DataImportWizard/index.js +4 -1
  710. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +34 -29
  711. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +26 -21
  712. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +23 -18
  713. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +10 -5
  714. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +22 -17
  715. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +11 -6
  716. package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +4 -1
  717. package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +23 -18
  718. package/src/View/DataImport/systemFileHandlers.js +9 -5
  719. package/src/View/DataSet/DataSetSelector.js +11 -6
  720. package/src/View/DataSet/DataSetStatusPanelPopover.js +11 -6
  721. package/src/View/DataSet/DataSetViewPanel.js +16 -12
  722. package/src/View/Export/ExportSelector.js +16 -11
  723. package/src/View/Export/ExportTablePopup.js +12 -7
  724. package/src/View/Export/ExportViewPanel.js +41 -37
  725. package/src/View/Export/ReportExportDropdown.js +21 -16
  726. package/src/View/Export/Wizard/NewReportWizard.js +37 -32
  727. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +19 -14
  728. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +35 -28
  729. package/src/View/Export/Wizard/ReportNameWizardSection.js +28 -21
  730. package/src/View/Export/Wizard/ReportRowTypeWizard.js +19 -14
  731. package/src/View/Export/Wizard/ReportRowsWizardSection.js +37 -30
  732. package/src/View/Export/Wizard/ReportScopeWizard.js +14 -9
  733. package/src/View/Export/Wizard/ReportSettingsWizard.js +23 -18
  734. package/src/View/Export/Wizard/ReportSummaryWizard.js +9 -4
  735. package/src/View/Export/constants.js +5 -2
  736. package/src/View/Filter/ActiveFiltersPanel.js +12 -7
  737. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +9 -4
  738. package/src/View/Filter/FilterSummary.js +23 -18
  739. package/src/View/Filter/FilterViewPanel.js +24 -20
  740. package/src/View/FlashingCell/FlashingCellStyle.js +14 -10
  741. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +20 -14
  742. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +13 -8
  743. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +42 -36
  744. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +34 -28
  745. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +49 -44
  746. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +7 -3
  747. package/src/View/FormatColumn/FormatColumnSummary.js +32 -27
  748. package/src/View/FormatColumn/MoveFormatColumn.js +15 -10
  749. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +161 -153
  750. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +11 -6
  751. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +16 -10
  752. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +36 -30
  753. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +25 -17
  754. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +53 -48
  755. package/src/View/FormatColumn/Wizard/constants.js +4 -1
  756. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +32 -27
  757. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +59 -52
  758. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +31 -26
  759. package/src/View/GridFilter/GridFilterExpressionEditor.js +35 -30
  760. package/src/View/GridFilter/GridFilterPopup.js +39 -34
  761. package/src/View/GridFilter/GridFilterStatusbar.js +10 -5
  762. package/src/View/GridFilter/GridFilterViewPanel.js +38 -34
  763. package/src/View/GridFilter/GridFilterWindowPopup.js +9 -4
  764. package/src/View/GridFilter/NamedQuerySelector.js +37 -31
  765. package/src/View/GridFilter/useGridFilterExpressionEditor.js +27 -22
  766. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +7 -3
  767. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +16 -11
  768. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +25 -20
  769. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +37 -32
  770. package/src/View/GridInfo/GridInfoPopup/index.js +4 -1
  771. package/src/View/KeyHint.js +9 -4
  772. package/src/View/Layout/EditCurrentLayoutButton.js +11 -6
  773. package/src/View/Layout/LayoutCloneButton.js +11 -6
  774. package/src/View/Layout/LayoutRadioSelector.js +11 -6
  775. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +15 -10
  776. package/src/View/Layout/LayoutViewPanel.js +30 -26
  777. package/src/View/Layout/PivotDetailsPopoup.js +12 -7
  778. package/src/View/Layout/SaveLayoutButton.js +17 -12
  779. package/src/View/Layout/Wizard/Components/ColumnLabels.js +15 -11
  780. package/src/View/Layout/Wizard/LayoutWizard.js +56 -51
  781. package/src/View/Layout/Wizard/sections/AggregationsSection.js +44 -37
  782. package/src/View/Layout/Wizard/sections/ColumnsSection.js +68 -62
  783. package/src/View/Layout/Wizard/sections/FilterSection.js +37 -30
  784. package/src/View/Layout/Wizard/sections/GridFilterSection.js +31 -24
  785. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +27 -21
  786. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +33 -27
  787. package/src/View/Layout/Wizard/sections/SettingsSection.js +35 -29
  788. package/src/View/Layout/Wizard/sections/SortSection.js +32 -26
  789. package/src/View/Layout/Wizard/sections/Utilities.js +5 -1
  790. package/src/View/License/LicenseWatermark.js +1 -61
  791. package/src/View/License/index.js +5 -1
  792. package/src/View/NamedQuery/EditCurrentQueryButton.js +11 -6
  793. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +24 -17
  794. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +28 -21
  795. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +33 -28
  796. package/src/View/Notes/NotesListing.js +19 -14
  797. package/src/View/Notes/NotesPopup.js +24 -19
  798. package/src/View/PlusMinus/PlusMinusSummary.js +31 -26
  799. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +18 -12
  800. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +11 -6
  801. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +39 -32
  802. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +31 -26
  803. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +18 -13
  804. package/src/View/QuickSearch/QuickSearchInput.js +18 -13
  805. package/src/View/QuickSearch/QuickSearchPopup.js +30 -26
  806. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +15 -10
  807. package/src/View/QuickSearch/QuickSearchViewPanel.js +9 -4
  808. package/src/View/QuickSearch/useQuickSearchDebounced.js +12 -7
  809. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +13 -8
  810. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +32 -26
  811. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +18 -13
  812. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +29 -24
  813. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +18 -13
  814. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +29 -24
  815. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +22 -17
  816. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +20 -14
  817. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +25 -20
  818. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +9 -3
  819. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +22 -17
  820. package/src/View/Schedule/Wizard/ScheduleWizard.js +52 -47
  821. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +11 -6
  822. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +50 -43
  823. package/src/View/Shortcut/Wizard/ShortcutWizard.js +37 -32
  824. package/src/View/Shortcut/shortcutKeys.js +4 -1
  825. package/src/View/Shortcut/shortcutOperations.js +9 -6
  826. package/src/View/SmartEdit/SmartEditPopup.js +30 -26
  827. package/src/View/SmartEdit/SmartEditViewPanel.js +34 -30
  828. package/src/View/SpecialColumnSettingsWizardStep.js +40 -35
  829. package/src/View/StateManagement/StateManagementPopup.js +27 -22
  830. package/src/View/StateManagement/StateManagementViewPanel.js +19 -14
  831. package/src/View/StateManagement/components/ClearButton.js +9 -4
  832. package/src/View/StateManagement/components/ExportDropdown.js +12 -7
  833. package/src/View/StateManagement/components/LoadButton.js +11 -6
  834. package/src/View/StateManagement/handleExportState.js +9 -4
  835. package/src/View/StatusBar/AdaptableStatusBar.js +19 -14
  836. package/src/View/StatusBar/StatusBarPanel.js +16 -12
  837. package/src/View/StatusBar/StatusBarPopup.js +19 -14
  838. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +60 -61
  839. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +142 -137
  840. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +49 -44
  841. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +24 -17
  842. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +27 -21
  843. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +14 -9
  844. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +12 -7
  845. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +12 -7
  846. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +19 -14
  847. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +56 -49
  848. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +4 -1
  849. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +29 -23
  850. package/src/View/SystemStatus/SystemStatusEntityRow.js +17 -12
  851. package/src/View/SystemStatus/SystemStatusPopup.js +22 -18
  852. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +13 -8
  853. package/src/View/SystemStatus/SystemStatusViewPanel.js +12 -8
  854. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +9 -4
  855. package/src/View/TeamSharing/SharedEntityDependencies.js +18 -12
  856. package/src/View/TeamSharing/SharedEntityObjectView.js +30 -23
  857. package/src/View/TeamSharing/TeamSharingApplyButton.js +11 -6
  858. package/src/View/Theme/ThemeEditor.js +32 -27
  859. package/src/View/Theme/ThemeEditorWindow.js +13 -8
  860. package/src/View/Theme/ThemeField.js +23 -18
  861. package/src/View/Theme/ThemePopup.js +28 -24
  862. package/src/View/Theme/ThemeSelector.js +16 -11
  863. package/src/View/Theme/ThemeStatusbar.js +11 -6
  864. package/src/View/Theme/ThemeViewPanel.js +12 -7
  865. package/src/View/Theme/VariantSelector.js +13 -8
  866. package/src/View/UIHelper.js +152 -120
  867. package/src/View/UIInterfaces.js +2 -1
  868. package/src/View/Wizard/AdaptableWizard.js +30 -24
  869. package/src/View/Wizard/Interface/IAdaptableWizard.js +2 -1
  870. package/src/View/Wizard/ObjectTagsWizardSection.js +20 -14
  871. package/src/View/Wizard/OnePageAdaptableWizard.js +42 -32
  872. package/src/View/Wizard/OnePageWizards.js +59 -50
  873. package/src/View/Wizard/TypeRadio.js +12 -7
  874. package/src/View/Wizard/WizardLegend.js +11 -6
  875. package/src/View/Wizard/useKeyboardNavigation.js +9 -4
  876. package/src/View/renderWithAdaptableContext.js +14 -9
  877. package/src/agGrid/ActionColumnRenderer.js +15 -9
  878. package/src/agGrid/Adaptable.d.ts +5 -6
  879. package/src/agGrid/Adaptable.js +260 -254
  880. package/src/agGrid/AdaptableLogger.js +6 -2
  881. package/src/agGrid/BadgeRenderer.js +11 -6
  882. package/src/agGrid/CheckboxRenderer.js +7 -2
  883. package/src/agGrid/ColumnSetupInfo.js +2 -1
  884. package/src/agGrid/FilterWrapper.js +14 -9
  885. package/src/agGrid/FloatingFilterWrapper.js +13 -8
  886. package/src/agGrid/PercentBarRenderer.js +10 -5
  887. package/src/agGrid/agGridHelper.js +105 -100
  888. package/src/agGrid/agGridMenuHelper.js +35 -30
  889. package/src/agGrid/attachAddaptableColumnTypes.js +8 -4
  890. package/src/agGrid/createAgStatusPanelComponent.js +10 -5
  891. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +16 -12
  892. package/src/agGrid/editors/AdaptableDateEditor/index.js +24 -19
  893. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +10 -6
  894. package/src/agGrid/editors/AdaptableNumberEditor/index.js +21 -16
  895. package/src/agGrid/index.js +11 -6
  896. package/src/agGrid/weightedAverage.js +17 -10
  897. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +31 -25
  898. package/src/components/AdaptableFormComponent/index.js +4 -1
  899. package/src/components/CheckBox/index.js +17 -13
  900. package/src/components/CodeBlock/index.js +11 -6
  901. package/src/components/ColorPicker/ColorPicker.js +19 -16
  902. package/src/components/ColorPicker/index.js +4 -1
  903. package/src/components/ContainerProps.js +2 -1
  904. package/src/components/Dashboard/Dashboard.js +22 -17
  905. package/src/components/Dashboard/DashboardManager.js +7 -4
  906. package/src/components/Dashboard/DashboardTab.js +5 -1
  907. package/src/components/Dashboard/DashboardToolbar.js +14 -9
  908. package/src/components/Dashboard/index.js +6 -3
  909. package/src/components/Datepicker/Caption.js +20 -15
  910. package/src/components/Datepicker/CaptionLabel.js +21 -16
  911. package/src/components/Datepicker/DatepickerContext.js +9 -4
  912. package/src/components/Datepicker/index.js +39 -36
  913. package/src/components/Dialog/index.js +32 -29
  914. package/src/components/Dialog/useIsOpen.js +6 -3
  915. package/src/components/DragAndDropContext/DragAndDropContext.js +6 -2
  916. package/src/components/DragAndDropContext/ModuleManager.js +18 -13
  917. package/src/components/DragAndDropContext/TabList.js +27 -19
  918. package/src/components/DragAndDropContext/UnusedPanel.js +15 -10
  919. package/src/components/DragAndDropContext/types.js +2 -1
  920. package/src/components/Drawer/index.js +7 -2
  921. package/src/components/Dropdown/Arrows.js +8 -5
  922. package/src/components/Dropdown/index.js +20 -18
  923. package/src/components/DropdownButton/DropdownButtonItem.js +2 -1
  924. package/src/components/DropdownButton/index.js +26 -23
  925. package/src/components/DropdownButton/renderItem.js +7 -4
  926. package/src/components/DropdownButton/useExpanded.js +12 -9
  927. package/src/components/EllipsisContainer/index.js +21 -17
  928. package/src/components/EmptyContent/index.js +10 -8
  929. package/src/components/ErrorBox/index.js +10 -6
  930. package/src/components/ExpressionEditor/BaseEditorInput.js +60 -55
  931. package/src/components/ExpressionEditor/EditorButton.js +10 -8
  932. package/src/components/ExpressionEditor/EditorContext.js +8 -4
  933. package/src/components/ExpressionEditor/EditorInput.js +25 -22
  934. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +27 -24
  935. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +15 -10
  936. package/src/components/ExpressionEditor/NamedQueryContext.js +8 -4
  937. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +42 -36
  938. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +44 -36
  939. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +58 -53
  940. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +4 -1
  941. package/src/components/ExpressionEditor/QueryBuilder/index.js +4 -1
  942. package/src/components/ExpressionEditor/QueryBuilder/utils.js +26 -17
  943. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +4 -1
  944. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +4 -1
  945. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +4 -1
  946. package/src/components/ExpressionEditor/editorButtonsObservable.js +4 -1
  947. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +4 -1
  948. package/src/components/ExpressionEditor/editorButtonsSearch.js +4 -1
  949. package/src/components/ExpressionEditor/index.js +99 -97
  950. package/src/components/FieldWrap/index.js +8 -5
  951. package/src/components/FileDroppable/FileDroppableState.js +2 -1
  952. package/src/components/FileDroppable/index.js +33 -29
  953. package/src/components/FileDroppable/reducer.js +6 -3
  954. package/src/components/FlexWithFooter.js +11 -9
  955. package/src/components/FormLayout/index.js +17 -13
  956. package/src/components/HelpBlock/index.js +10 -6
  957. package/src/components/Icon/index.js +29 -20
  958. package/src/components/IconSelector/IconSelector.js +32 -27
  959. package/src/components/IconSelector/index.js +4 -1
  960. package/src/components/InfiniteTable/index.js +10 -6
  961. package/src/components/Input/NumberInput.js +9 -4
  962. package/src/components/Input/index.js +11 -8
  963. package/src/components/List/GridList/index.js +10 -7
  964. package/src/components/List/ListGroup/index.js +9 -7
  965. package/src/components/List/ListGroupItem/index.js +10 -8
  966. package/src/components/Loader/Loader.js +10 -4
  967. package/src/components/Loader/index.js +7 -2
  968. package/src/components/Logo/index.js +7 -2
  969. package/src/components/Modal/Backdrop.js +17 -12
  970. package/src/components/Modal/index.js +23 -19
  971. package/src/components/NotifyResize/index.js +7 -4
  972. package/src/components/OverlayTrigger/Overlay.js +23 -19
  973. package/src/components/OverlayTrigger/index.js +46 -41
  974. package/src/components/OverlayTrigger/useAgGridClassName.js +7 -5
  975. package/src/components/OverlayTrigger/utils.js +9 -3
  976. package/src/components/Panel/index.js +15 -12
  977. package/src/components/PopupWithFooter.js +11 -8
  978. package/src/components/ProgressIndicator/ProgressIndicator.js +17 -12
  979. package/src/components/Radio/index.js +20 -15
  980. package/src/components/ResizeObserver/getResizeObserverObject.js +5 -1
  981. package/src/components/ResizeObserver/index.js +24 -17
  982. package/src/components/Select/Select.js +15 -10
  983. package/src/components/Select/index.js +4 -1
  984. package/src/components/SelectList.js +9 -4
  985. package/src/components/SelectableList/index.js +13 -8
  986. package/src/components/SimpleButton/index.js +22 -19
  987. package/src/components/SizedContainer/index.js +11 -9
  988. package/src/components/StylePreview.js +11 -6
  989. package/src/components/Table/index.js +7 -4
  990. package/src/components/Tabs/index.js +34 -28
  991. package/src/components/Tag/Tag.js +9 -5
  992. package/src/components/Tag/index.js +5 -1
  993. package/src/components/Textarea/index.js +11 -8
  994. package/src/components/Toastify/index.js +10 -1
  995. package/src/components/Toggle/Toggle.js +12 -8
  996. package/src/components/Toggle/ToggleGroup.js +9 -4
  997. package/src/components/Toggle/index.js +5 -2
  998. package/src/components/ToggleButton/index.js +11 -6
  999. package/src/components/Tooltip/index.js +7 -4
  1000. package/src/components/WarningBox/index.js +11 -6
  1001. package/src/components/WindowModal/WindowModal.js +17 -12
  1002. package/src/components/WindowModal/index.js +4 -1
  1003. package/src/components/WindowModal/useStacking.js +9 -4
  1004. package/src/components/WizardPanel/index.js +8 -5
  1005. package/src/components/icons/DefaultIcon.js +12 -8
  1006. package/src/components/icons/add-row.js +6 -3
  1007. package/src/components/icons/alert.js +6 -3
  1008. package/src/components/icons/align-center.js +6 -3
  1009. package/src/components/icons/align-justify.js +6 -3
  1010. package/src/components/icons/align-left.js +6 -3
  1011. package/src/components/icons/align-right.js +6 -3
  1012. package/src/components/icons/analysis.js +6 -3
  1013. package/src/components/icons/application.js +6 -3
  1014. package/src/components/icons/arrow-down-long.js +6 -3
  1015. package/src/components/icons/arrow-down.js +6 -3
  1016. package/src/components/icons/arrow-expand.js +6 -3
  1017. package/src/components/icons/arrow-left.js +6 -3
  1018. package/src/components/icons/arrow-right.js +6 -3
  1019. package/src/components/icons/arrow-up-long.js +6 -3
  1020. package/src/components/icons/arrow-up.js +6 -3
  1021. package/src/components/icons/attach-file.js +6 -3
  1022. package/src/components/icons/badge.js +6 -3
  1023. package/src/components/icons/blanks.js +6 -3
  1024. package/src/components/icons/bold.js +6 -3
  1025. package/src/components/icons/boolean-list.js +6 -3
  1026. package/src/components/icons/brush.js +6 -3
  1027. package/src/components/icons/build.js +6 -3
  1028. package/src/components/icons/bulk-update.js +6 -3
  1029. package/src/components/icons/calculated-column.js +6 -3
  1030. package/src/components/icons/calendar.js +6 -3
  1031. package/src/components/icons/call.js +6 -3
  1032. package/src/components/icons/campaign.js +6 -3
  1033. package/src/components/icons/case-lower.js +6 -3
  1034. package/src/components/icons/case-sentence.js +6 -3
  1035. package/src/components/icons/case-upper.js +6 -3
  1036. package/src/components/icons/cell-summary.js +6 -3
  1037. package/src/components/icons/cell-validation.js +6 -3
  1038. package/src/components/icons/chart.js +6 -3
  1039. package/src/components/icons/chat.js +6 -3
  1040. package/src/components/icons/check-box-outline.js +6 -3
  1041. package/src/components/icons/check-box.js +6 -3
  1042. package/src/components/icons/check-circle.js +6 -3
  1043. package/src/components/icons/check.js +6 -3
  1044. package/src/components/icons/clone.js +6 -3
  1045. package/src/components/icons/close.js +6 -3
  1046. package/src/components/icons/cloud-upload.js +6 -3
  1047. package/src/components/icons/collapse.js +6 -3
  1048. package/src/components/icons/column-add.js +6 -3
  1049. package/src/components/icons/column-chooser.js +6 -3
  1050. package/src/components/icons/column-filter.js +6 -3
  1051. package/src/components/icons/column-info.js +6 -3
  1052. package/src/components/icons/comment.js +6 -3
  1053. package/src/components/icons/contact.js +6 -3
  1054. package/src/components/icons/contains.js +6 -3
  1055. package/src/components/icons/custom-sort.js +6 -3
  1056. package/src/components/icons/dashboard.js +6 -3
  1057. package/src/components/icons/data-set.js +6 -3
  1058. package/src/components/icons/date-range.js +6 -3
  1059. package/src/components/icons/delete.js +6 -3
  1060. package/src/components/icons/division.js +6 -3
  1061. package/src/components/icons/dock.js +6 -3
  1062. package/src/components/icons/dollar.js +6 -3
  1063. package/src/components/icons/drag.js +6 -3
  1064. package/src/components/icons/edit.js +6 -3
  1065. package/src/components/icons/ends-with.js +6 -3
  1066. package/src/components/icons/equal.js +6 -3
  1067. package/src/components/icons/equation.js +6 -3
  1068. package/src/components/icons/error.js +6 -3
  1069. package/src/components/icons/expand.js +6 -3
  1070. package/src/components/icons/exponent.js +6 -3
  1071. package/src/components/icons/export.js +6 -3
  1072. package/src/components/icons/fast-backward.js +6 -3
  1073. package/src/components/icons/fast-forward.js +6 -3
  1074. package/src/components/icons/fdc3.js +6 -3
  1075. package/src/components/icons/filter.js +6 -3
  1076. package/src/components/icons/flashing-cell.js +6 -3
  1077. package/src/components/icons/folder-open.js +6 -3
  1078. package/src/components/icons/folder-shared.js +6 -3
  1079. package/src/components/icons/folder.js +6 -3
  1080. package/src/components/icons/format-column.js +6 -3
  1081. package/src/components/icons/freetext-column.js +6 -3
  1082. package/src/components/icons/function.js +6 -3
  1083. package/src/components/icons/gradient-column.js +6 -3
  1084. package/src/components/icons/gradient.js +6 -3
  1085. package/src/components/icons/greater-than-or-equal.js +6 -3
  1086. package/src/components/icons/greater-than.js +6 -3
  1087. package/src/components/icons/grid-filter.js +6 -3
  1088. package/src/components/icons/hide-column.js +6 -3
  1089. package/src/components/icons/history.js +6 -3
  1090. package/src/components/icons/home.js +6 -3
  1091. package/src/components/icons/import-export.js +6 -3
  1092. package/src/components/icons/import.js +6 -3
  1093. package/src/components/icons/index.js +326 -321
  1094. package/src/components/icons/info.js +6 -3
  1095. package/src/components/icons/instrument.js +6 -3
  1096. package/src/components/icons/interactions.js +6 -3
  1097. package/src/components/icons/invalid.js +6 -3
  1098. package/src/components/icons/ipushpull.js +6 -3
  1099. package/src/components/icons/italic.js +6 -3
  1100. package/src/components/icons/justify.js +6 -3
  1101. package/src/components/icons/layout.js +6 -3
  1102. package/src/components/icons/less-than-or-equal.js +6 -3
  1103. package/src/components/icons/less-than.js +6 -3
  1104. package/src/components/icons/list.js +6 -3
  1105. package/src/components/icons/login.js +6 -3
  1106. package/src/components/icons/logout copy.js +6 -3
  1107. package/src/components/icons/logout.js +6 -3
  1108. package/src/components/icons/mail.js +6 -3
  1109. package/src/components/icons/menu.js +6 -3
  1110. package/src/components/icons/minus.js +6 -3
  1111. package/src/components/icons/money.js +6 -3
  1112. package/src/components/icons/multiplication.js +6 -3
  1113. package/src/components/icons/newpage.js +6 -3
  1114. package/src/components/icons/news.js +6 -3
  1115. package/src/components/icons/non-blanks.js +6 -3
  1116. package/src/components/icons/not-contains.js +6 -3
  1117. package/src/components/icons/not-equal.js +6 -3
  1118. package/src/components/icons/note.js +6 -3
  1119. package/src/components/icons/open-in-new.js +6 -3
  1120. package/src/components/icons/order.js +6 -3
  1121. package/src/components/icons/organisation.js +6 -3
  1122. package/src/components/icons/overline.js +6 -3
  1123. package/src/components/icons/pause.js +6 -3
  1124. package/src/components/icons/percent-bar.js +6 -3
  1125. package/src/components/icons/percent.js +6 -3
  1126. package/src/components/icons/person.js +6 -3
  1127. package/src/components/icons/pie-chart.js +6 -3
  1128. package/src/components/icons/play.js +6 -3
  1129. package/src/components/icons/plus-minus.js +6 -3
  1130. package/src/components/icons/plus.js +6 -3
  1131. package/src/components/icons/query.js +6 -3
  1132. package/src/components/icons/quick-search.js +6 -3
  1133. package/src/components/icons/quote.js +6 -3
  1134. package/src/components/icons/refresh.js +6 -3
  1135. package/src/components/icons/regex.js +6 -3
  1136. package/src/components/icons/reminder.js +6 -3
  1137. package/src/components/icons/resume.js +6 -3
  1138. package/src/components/icons/save.js +6 -3
  1139. package/src/components/icons/schedule.js +6 -3
  1140. package/src/components/icons/science.js +6 -3
  1141. package/src/components/icons/settings.js +6 -3
  1142. package/src/components/icons/shortcut.js +6 -3
  1143. package/src/components/icons/show-column.js +6 -3
  1144. package/src/components/icons/smart-edit.js +6 -3
  1145. package/src/components/icons/sort-asc.js +6 -3
  1146. package/src/components/icons/sort-desc.js +6 -3
  1147. package/src/components/icons/spark-line.js +6 -3
  1148. package/src/components/icons/starts-with.js +6 -3
  1149. package/src/components/icons/state-management.js +6 -3
  1150. package/src/components/icons/statusbar.js +6 -3
  1151. package/src/components/icons/stop.js +6 -3
  1152. package/src/components/icons/strikethrough.js +6 -3
  1153. package/src/components/icons/system-status.js +6 -3
  1154. package/src/components/icons/tab-unselected.js +6 -3
  1155. package/src/components/icons/table-arrow-right.js +6 -3
  1156. package/src/components/icons/team-share.js +6 -3
  1157. package/src/components/icons/theme.js +6 -3
  1158. package/src/components/icons/tool-panel.js +6 -3
  1159. package/src/components/icons/track-changes.js +6 -3
  1160. package/src/components/icons/triangle-down.js +6 -3
  1161. package/src/components/icons/triangle-up.js +6 -3
  1162. package/src/components/icons/unchecked.js +6 -3
  1163. package/src/components/icons/underline.js +6 -3
  1164. package/src/components/icons/undo.js +6 -3
  1165. package/src/components/icons/updated-row.js +6 -3
  1166. package/src/components/icons/upload.js +6 -3
  1167. package/src/components/icons/user-filter.js +6 -3
  1168. package/src/components/icons/visibility-off.js +6 -3
  1169. package/src/components/icons/visibility.js +6 -3
  1170. package/src/components/icons/warning.js +6 -3
  1171. package/src/components/utils/batchUpdate.js +5 -3
  1172. package/src/components/utils/captureTabNavigation/getFocusableChildren.js +3 -1
  1173. package/src/components/utils/captureTabNavigation/index.js +6 -3
  1174. package/src/components/utils/contains.js +4 -1
  1175. package/src/components/utils/getAvailableSizeInfo.js +3 -1
  1176. package/src/components/utils/join.js +3 -1
  1177. package/src/components/utils/selectParent/index.js +6 -3
  1178. package/src/components/utils/selectParent/matches.js +2 -1
  1179. package/src/components/utils/useAutoFocus.js +8 -5
  1180. package/src/components/utils/useContainerScrollObserver/index.js +13 -9
  1181. package/src/components/utils/useDraggable.js +10 -7
  1182. package/src/components/utils/useGlobalEvent.js +7 -2
  1183. package/src/components/utils/useLatest.js +8 -4
  1184. package/src/components/utils/usePrevious.js +6 -4
  1185. package/src/components/utils/usePropState.js +6 -3
  1186. package/src/components/utils/useProperty.js +6 -4
  1187. package/src/components/utils/useRerender.js +8 -4
  1188. package/src/components/utils/useSelectionRange.js +9 -5
  1189. package/src/components/utils/useTheme.js +5 -2
  1190. package/src/components/utils/uuid.js +6 -2
  1191. package/src/env.js +3 -1
  1192. package/src/metamodel/adaptable-metamodel-model.js +2 -1
  1193. package/src/metamodel/adaptable.metamodel.d.ts +1 -1
  1194. package/src/metamodel/adaptable.metamodel.js +1 -9435
  1195. package/src/parser/src/ExpressionEvaluationError.js +5 -1
  1196. package/src/parser/src/evaluator.js +7 -3
  1197. package/src/parser/src/index.js +18 -9
  1198. package/src/parser/src/predicate/index.js +5 -2
  1199. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +16 -12
  1200. package/src/parser/src/predicate/mapQlPredicateToExpression.js +11 -6
  1201. package/src/parser/src/predicate/types.js +5 -1
  1202. package/src/parser/src/tokenizer.js +8 -3
  1203. package/src/parser/src/types.js +5 -1
  1204. package/src/parser/src/utils.js +9 -3
  1205. package/src/renderReactRoot.js +7 -2
  1206. package/src/theme.js +3 -1
  1207. package/src/themes/index.js +7 -4
  1208. package/src/types.js +5 -1
  1209. package/themes/dark.css.map +1 -1
  1210. package/themes/light.css.map +1 -1
  1211. package/types.js +4 -1
  1212. package/version.d.ts +2 -0
  1213. package/version.js +3 -0
  1214. package/tsconfig.esm.tsbuildinfo +0 -1
@@ -1,12 +1,15 @@
1
- import { __rest } from "tslib";
2
- import * as React from 'react';
3
- import { cloneElement, useRef } from 'react';
4
- import join from '../utils/join';
5
- import SimpleButton from '../SimpleButton';
6
- import useExpanded from './useExpanded';
7
- import renderItem from './renderItem';
8
- import OverlayTrigger from '../OverlayTrigger';
9
- export const DROPDOWN_ICON = (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24" },
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DROPDOWN_ICON = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const react_1 = require("react");
7
+ const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
+ const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
9
+ const useExpanded_1 = tslib_1.__importDefault(require("./useExpanded"));
10
+ const renderItem_1 = tslib_1.__importDefault(require("./renderItem"));
11
+ const OverlayTrigger_1 = tslib_1.__importDefault(require("../OverlayTrigger"));
12
+ exports.DROPDOWN_ICON = (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24" },
10
13
  React.createElement("path", { d: "M7 10l5 5 5-5H7z" })));
11
14
  const spacer = React.createElement("div", { style: { flex: 1 } });
12
15
  const baseClassName = 'ab-DropdownButton';
@@ -14,7 +17,7 @@ const defaultListItemStyle = {
14
17
  padding: 'var(--ab-cmp-dropdownbutton-list-item__padding)',
15
18
  };
16
19
  const DropdownButton = React.forwardRef((props, theRef) => {
17
- let { columns, overlayProps, listOffset = 10, collapseOnItemClick = true, focusOnClear = true, idProperty = 'id', isItemDisabled, items, children, listMinWidth = 100, listStyle, listItemStyle, listItemClassName, constrainTo, showClearButton = false, onClear, clearButtonProps, onExpand, onCollapse, showToggleIcon = true } = props, domProps = __rest(props, ["columns", "overlayProps", "listOffset", "collapseOnItemClick", "focusOnClear", "idProperty", "isItemDisabled", "items", "children", "listMinWidth", "listStyle", "listItemStyle", "listItemClassName", "constrainTo", "showClearButton", "onClear", "clearButtonProps", "onExpand", "onCollapse", "showToggleIcon"]);
20
+ let { columns, overlayProps, listOffset = 10, collapseOnItemClick = true, focusOnClear = true, idProperty = 'id', isItemDisabled, items, children, listMinWidth = 100, listStyle, listItemStyle, listItemClassName, constrainTo, showClearButton = false, onClear, clearButtonProps, onExpand, onCollapse, showToggleIcon = true } = props, domProps = tslib_1.__rest(props, ["columns", "overlayProps", "listOffset", "collapseOnItemClick", "focusOnClear", "idProperty", "isItemDisabled", "items", "children", "listMinWidth", "listStyle", "listItemStyle", "listItemClassName", "constrainTo", "showClearButton", "onClear", "clearButtonProps", "onExpand", "onCollapse", "showToggleIcon"]);
18
21
  isItemDisabled = isItemDisabled || ((item) => item.disabled);
19
22
  if (!columns) {
20
23
  columns = ['icon', 'label'];
@@ -31,7 +34,7 @@ const DropdownButton = React.forwardRef((props, theRef) => {
31
34
  }
32
35
  const disabled = isItemDisabled(item);
33
36
  const itemStyle = Object.assign(Object.assign({}, defaultListItemStyle), listItemStyle);
34
- const itemClassName = join(`${baseClassName}__list-item`, item.clickable === false || disabled
37
+ const itemClassName = (0, join_1.default)(`${baseClassName}__list-item`, item.clickable === false || disabled
35
38
  ? `${baseClassName}__list-item--not-clickable`
36
39
  : `${baseClassName}__list-item--clickable`, disabled ? `${baseClassName}__list-item--disabled` : '', listItemClassName);
37
40
  const getItemHandler = (eventName) => {
@@ -60,7 +63,7 @@ const DropdownButton = React.forwardRef((props, theRef) => {
60
63
  if (item['label']) {
61
64
  domProps['data-name'] = item['label'];
62
65
  }
63
- return renderItem({
66
+ return (0, renderItem_1.default)({
64
67
  index,
65
68
  idProperty,
66
69
  onItemClick: getItemHandler('onClick'),
@@ -75,18 +78,18 @@ const DropdownButton = React.forwardRef((props, theRef) => {
75
78
  React.createElement("tbody", null, content)));
76
79
  }
77
80
  const dropdownButtonClassName = props.className;
78
- const className = join(props.className, baseClassName);
79
- const positionerRef = useRef(null);
80
- const { expanded, toggle, setExpanded, positionInfo } = useExpanded(props, positionerRef);
81
+ const className = (0, join_1.default)(props.className, baseClassName);
82
+ const positionerRef = (0, react_1.useRef)(null);
83
+ const { expanded, toggle, setExpanded, positionInfo } = (0, useExpanded_1.default)(props, positionerRef);
81
84
  const { maxHeight: maxListHeight, maxWidth: maxListWidth } = positionInfo;
82
85
  listStyle = Object.assign({ minWidth: typeof maxListWidth === 'number' ? Math.min(listMinWidth, maxListWidth) : listMinWidth, maxHeight: maxListHeight, maxWidth: maxListWidth }, listStyle);
83
86
  let icon = expanded
84
- ? cloneElement(DROPDOWN_ICON, {
85
- style: Object.assign(Object.assign({}, DROPDOWN_ICON.props.style), { transform: 'rotate(180deg) translate3d(0px, -2px, 0px)' }),
87
+ ? (0, react_1.cloneElement)(exports.DROPDOWN_ICON, {
88
+ style: Object.assign(Object.assign({}, exports.DROPDOWN_ICON.props.style), { transform: 'rotate(180deg) translate3d(0px, -2px, 0px)' }),
86
89
  })
87
- : DROPDOWN_ICON;
90
+ : exports.DROPDOWN_ICON;
88
91
  const hasClearButton = onClear || showClearButton;
89
- const clearButton = hasClearButton ? (React.createElement(SimpleButton, Object.assign({ disabled: domProps.disabled, as: "div", onClick: (event) => {
92
+ const clearButton = hasClearButton ? (React.createElement(SimpleButton_1.default, Object.assign({ disabled: domProps.disabled, as: "div", onClick: (event) => {
90
93
  var _a;
91
94
  event.stopPropagation();
92
95
  if (onClear) {
@@ -98,11 +101,11 @@ const DropdownButton = React.forwardRef((props, theRef) => {
98
101
  spacer,
99
102
  hasClearButton ? clearButton : null,
100
103
  icon));
101
- const buttonRef = useRef(null);
102
- return (React.createElement(OverlayTrigger, Object.assign({ visible: expanded, targetOffset: listOffset, render: () => {
104
+ const buttonRef = (0, react_1.useRef)(null);
105
+ return (React.createElement(OverlayTrigger_1.default, Object.assign({ visible: expanded, targetOffset: listOffset, render: () => {
103
106
  return (React.createElement("div", { "data-name": `${dropdownButtonClassName}`, style: listStyle, className: `${baseClassName}__list` }, content));
104
107
  } }, overlayProps),
105
- React.createElement(SimpleButton, Object.assign({ iconPosition: "end" }, (showToggleIcon && { icon, paddingRight: 0 }), domProps, { ref: (btn) => {
108
+ React.createElement(SimpleButton_1.default, Object.assign({ iconPosition: "end" }, (showToggleIcon && { icon, paddingRight: 0 }), domProps, { ref: (btn) => {
106
109
  buttonRef.current = btn;
107
110
  if (!theRef) {
108
111
  return;
@@ -146,4 +149,4 @@ const DropdownButton = React.forwardRef((props, theRef) => {
146
149
  } }),
147
150
  children)));
148
151
  });
149
- export default DropdownButton;
152
+ exports.default = DropdownButton;
@@ -1,8 +1,11 @@
1
- import * as React from 'react';
2
- import isPlainObject from 'lodash/isPlainObject';
3
- export default ({ domProps, item, onItemClick, index, columns, className, idProperty, style, }) => {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const React = tslib_1.__importStar(require("react"));
5
+ const isPlainObject_1 = tslib_1.__importDefault(require("lodash/isPlainObject"));
6
+ exports.default = ({ domProps, item, onItemClick, index, columns, className, idProperty, style, }) => {
4
7
  const key = item[idProperty] || index;
5
- if (!isPlainObject(item)) {
8
+ if (!(0, isPlainObject_1.default)(item)) {
6
9
  return (React.createElement("tr", Object.assign({ onClick: onItemClick, key: key, className: className }, domProps),
7
10
  React.createElement("td", { colSpan: columns.length, style: style }, item)));
8
11
  }
@@ -1,9 +1,12 @@
1
- import { useRef } from 'react';
2
- import useProperty from '../utils/useProperty';
3
- import getAvailableSizeInfo from '../utils/getAvailableSizeInfo';
4
- import { getConstrainRect } from '../OverlayTrigger';
5
- export default (props, positionerRef) => {
6
- const positionInfoRef = useRef({
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const react_1 = require("react");
5
+ const useProperty_1 = tslib_1.__importDefault(require("../utils/useProperty"));
6
+ const getAvailableSizeInfo_1 = tslib_1.__importDefault(require("../utils/getAvailableSizeInfo"));
7
+ const OverlayTrigger_1 = require("../OverlayTrigger");
8
+ exports.default = (props, positionerRef) => {
9
+ const positionInfoRef = (0, react_1.useRef)({
7
10
  maxHeight: '50vh',
8
11
  maxWidth: '50vw',
9
12
  verticalPosition: 'bottom',
@@ -11,13 +14,13 @@ export default (props, positionerRef) => {
11
14
  });
12
15
  const updatePosition = () => {
13
16
  const positionRect = positionerRef.current.getBoundingClientRect();
14
- positionInfoRef.current = getAvailableSizeInfo({
15
- constrainRect: getConstrainRect(positionerRef.current, props.constrainTo),
17
+ positionInfoRef.current = (0, getAvailableSizeInfo_1.default)({
18
+ constrainRect: (0, OverlayTrigger_1.getConstrainRect)(positionerRef.current, props.constrainTo),
16
19
  targetRect: positionRect,
17
20
  maxSizeOffset: 30,
18
21
  });
19
22
  };
20
- const [expanded, doSetExpanded] = useProperty(props, 'expanded', false, {
23
+ const [expanded, doSetExpanded] = (0, useProperty_1.default)(props, 'expanded', false, {
21
24
  onChange: (expanded) => {
22
25
  if (expanded) {
23
26
  if (props.onExpand) {
@@ -1,12 +1,15 @@
1
- import { __rest } from "tslib";
2
- import * as React from 'react';
3
- import { useRef, useState } from 'react';
4
- import { Flex } from 'rebass';
5
- import { useLatest } from '../utils/useLatest';
6
- import usePrevious from '../utils/usePrevious';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EllipsisContainer = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const react_1 = require("react");
7
+ const rebass_1 = require("rebass");
8
+ const useLatest_1 = require("../utils/useLatest");
9
+ const usePrevious_1 = tslib_1.__importDefault(require("../utils/usePrevious"));
7
10
  const Container = ({ children, index, hidden, observerRef, }) => {
8
11
  var _a;
9
- const [mounted, setMounted] = useState(false);
12
+ const [mounted, setMounted] = (0, react_1.useState)(false);
10
13
  React.useEffect(() => {
11
14
  const timeoutId = setTimeout(() => {
12
15
  // we wait for a bit, so intersection observer
@@ -16,7 +19,7 @@ const Container = ({ children, index, hidden, observerRef, }) => {
16
19
  }, 50);
17
20
  return () => clearTimeout(timeoutId);
18
21
  }, []);
19
- const domRef = useRef(null);
22
+ const domRef = (0, react_1.useRef)(null);
20
23
  const onMount = (node) => {
21
24
  var _a, _b;
22
25
  if (node) {
@@ -41,14 +44,14 @@ const Container = ({ children, index, hidden, observerRef, }) => {
41
44
  child = React.cloneElement(child, cloneProps);
42
45
  return React.createElement(React.Fragment, null, child);
43
46
  };
44
- export const EllipsisContainer = (props) => {
45
- const { allowWrap, count, direction, renderItem, renderEllipsis } = props, boxProps = __rest(props, ["allowWrap", "count", "direction", "renderItem", "renderEllipsis"]);
46
- const domRef = useRef(null);
47
- const observerRef = useRef(null);
47
+ const EllipsisContainer = (props) => {
48
+ const { allowWrap, count, direction, renderItem, renderEllipsis } = props, boxProps = tslib_1.__rest(props, ["allowWrap", "count", "direction", "renderItem", "renderEllipsis"]);
49
+ const domRef = (0, react_1.useRef)(null);
50
+ const observerRef = (0, react_1.useRef)(null);
48
51
  const [minNotVisibleIndex, setMinNotVisibleIndex] = React.useState(props.count);
49
- const [visibleSet] = useState(() => new Set());
50
- const [invisibleSet] = useState(() => new Set());
51
- const getCount = useLatest(props.count);
52
+ const [visibleSet] = (0, react_1.useState)(() => new Set());
53
+ const [invisibleSet] = (0, react_1.useState)(() => new Set());
54
+ const getCount = (0, useLatest_1.useLatest)(props.count);
52
55
  React.useEffect(() => {
53
56
  const callback = (entries) => {
54
57
  const count = getCount();
@@ -81,7 +84,7 @@ export const EllipsisContainer = (props) => {
81
84
  observer.disconnect();
82
85
  };
83
86
  }, []);
84
- const prevCount = usePrevious(count, count);
87
+ const prevCount = (0, usePrevious_1.default)(count, count);
85
88
  React.useLayoutEffect(() => {
86
89
  if (allowWrap) {
87
90
  return;
@@ -100,5 +103,6 @@ export const EllipsisContainer = (props) => {
100
103
  ? (_a = renderEllipsis === null || renderEllipsis === void 0 ? void 0 : renderEllipsis({ remaining })) !== null && _a !== void 0 ? _a : '...'
101
104
  : null));
102
105
  });
103
- return (React.createElement(Flex, Object.assign({ ref: domRef, flexWrap: allowWrap ? 'wrap' : 'nowrap', alignItems: "center", "data-name": "options-container" }, boxProps, { flexDirection: direction === 'horizontal' ? 'row' : 'column' }), children));
106
+ return (React.createElement(rebass_1.Flex, Object.assign({ ref: domRef, flexWrap: allowWrap ? 'wrap' : 'nowrap', alignItems: "center", "data-name": "options-container" }, boxProps, { flexDirection: direction === 'horizontal' ? 'row' : 'column' }), children));
104
107
  };
108
+ exports.EllipsisContainer = EllipsisContainer;
@@ -1,14 +1,16 @@
1
- import { __rest } from "tslib";
2
- import * as React from 'react';
3
- import { Box, Flex } from 'rebass';
4
- import join from '../utils/join';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const React = tslib_1.__importStar(require("react"));
5
+ const rebass_1 = require("rebass");
6
+ const join_1 = tslib_1.__importDefault(require("../utils/join"));
5
7
  const baseClassName = 'ab-EmptyContent';
6
8
  const EmptyContent = (_a) => {
7
- var { children, className, style } = _a, flexProps = __rest(_a, ["children", "className", "style"]);
9
+ var { children, className, style } = _a, flexProps = tslib_1.__rest(_a, ["children", "className", "style"]);
8
10
  if (typeof children === 'string') {
9
11
  children = React.createElement("p", null, children);
10
12
  }
11
- return (React.createElement(Box, { flex: 1, className: `${baseClassName}__wrapper` },
12
- React.createElement(Flex, Object.assign({ alignItems: "center", justifyContent: "center", flexDirection: "column" }, flexProps, { className: join(baseClassName, className), style: style }), children)));
13
+ return (React.createElement(rebass_1.Box, { flex: 1, className: `${baseClassName}__wrapper` },
14
+ React.createElement(rebass_1.Flex, Object.assign({ alignItems: "center", justifyContent: "center", flexDirection: "column" }, flexProps, { className: (0, join_1.default)(baseClassName, className), style: style }), children)));
13
15
  };
14
- export default EmptyContent;
16
+ exports.default = EmptyContent;
@@ -1,8 +1,12 @@
1
- import * as React from 'react';
2
- import { Box } from 'rebass';
3
- import join from '../utils/join';
4
- export const baseClassName = 'ab-ErrorBox';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.baseClassName = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const rebass_1 = require("rebass");
7
+ const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
+ exports.baseClassName = 'ab-ErrorBox';
5
9
  const ErrorBox = (props) => {
6
- return React.createElement(Box, Object.assign({}, props, { className: join(props.className, baseClassName) }));
10
+ return React.createElement(rebass_1.Box, Object.assign({}, props, { className: (0, join_1.default)(props.className, exports.baseClassName) }));
7
11
  };
8
- export default ErrorBox;
12
+ exports.default = ErrorBox;
@@ -1,24 +1,28 @@
1
- import { Box, Flex, Text } from 'rebass';
2
- import * as parser from '../../parser/src';
3
- import * as React from 'react';
4
- import ErrorBox from '../ErrorBox';
5
- import { useSelectionRange } from '../utils/useSelectionRange';
6
- import EditorButton from './EditorButton';
7
- import HelpBlock from '../HelpBlock';
8
- import OverlayTrigger from '../OverlayTrigger';
9
- import SimpleButton from '../SimpleButton';
10
- import Textarea from '../Textarea';
11
- import { useEffect, useMemo } from 'react';
12
- import { ExpressionEvaluationError } from '../../parser/src/ExpressionEvaluationError';
13
- import { ButtonInfo } from '../../View/Components/Buttons/ButtonInfo';
14
- import { ExpressionEditorDocsLink } from '../../Utilities/Constants/DocumentationLinkConstants';
15
- import { Icon } from '../icons';
16
- import { useAdaptable } from '../../View/AdaptableContext';
17
- import join from '../utils/join';
18
- import { ExpressionFunctionDocumentation } from './ExpressionFunctionDocumentation';
19
- import { Tag } from '../Tag';
20
- import StringExtensions from '../../Utilities/Extensions/StringExtensions';
21
- import Radio from '../Radio';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseEditorInput = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const rebass_1 = require("rebass");
6
+ const parser = tslib_1.__importStar(require("../../parser/src"));
7
+ const React = tslib_1.__importStar(require("react"));
8
+ const ErrorBox_1 = tslib_1.__importDefault(require("../ErrorBox"));
9
+ const useSelectionRange_1 = require("../utils/useSelectionRange");
10
+ const EditorButton_1 = tslib_1.__importDefault(require("./EditorButton"));
11
+ const HelpBlock_1 = tslib_1.__importDefault(require("../HelpBlock"));
12
+ const OverlayTrigger_1 = tslib_1.__importDefault(require("../OverlayTrigger"));
13
+ const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
14
+ const Textarea_1 = tslib_1.__importDefault(require("../Textarea"));
15
+ const react_1 = require("react");
16
+ const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
17
+ const ButtonInfo_1 = require("../../View/Components/Buttons/ButtonInfo");
18
+ const DocumentationLinkConstants_1 = require("../../Utilities/Constants/DocumentationLinkConstants");
19
+ const icons_1 = require("../icons");
20
+ const AdaptableContext_1 = require("../../View/AdaptableContext");
21
+ const join_1 = tslib_1.__importDefault(require("../utils/join"));
22
+ const ExpressionFunctionDocumentation_1 = require("./ExpressionFunctionDocumentation");
23
+ const Tag_1 = require("../Tag");
24
+ const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
25
+ const Radio_1 = tslib_1.__importDefault(require("../Radio"));
22
26
  const filterableCategories = [
23
27
  'dates',
24
28
  'logical',
@@ -43,14 +47,14 @@ const getCategoryOrder = (category) => {
43
47
  };
44
48
  const VarEditorButton = () => {
45
49
  var _a;
46
- const adaptable = useAdaptable();
50
+ const adaptable = (0, AdaptableContext_1.useAdaptable)();
47
51
  const customQueryVariables = (_a = adaptable.api.optionsApi.getExpressionOptions()) === null || _a === void 0 ? void 0 : _a.customQueryVariables;
48
52
  if (!customQueryVariables || Object.keys(customQueryVariables).length === 0) {
49
53
  return React.createElement(React.Fragment, null);
50
54
  }
51
55
  return (React.createElement(React.Fragment, null, Object.keys(customQueryVariables).map((varOption) => {
52
56
  const varString = `VAR('${varOption}')`;
53
- return (React.createElement(EditorButton, { data: varString, key: varOption }, varString));
57
+ return (React.createElement(EditorButton_1.default, { data: varString, key: varOption }, varString));
54
58
  })));
55
59
  };
56
60
  const FunctionsDropdown = ({ expressionFunctions, baseClassName }) => {
@@ -94,7 +98,7 @@ const FunctionsDropdown = ({ expressionFunctions, baseClassName }) => {
94
98
  .filter((category) => filterableCategories.includes(category))
95
99
  .sort((first, second) => getCategoryOrder(first) - getCategoryOrder(second))
96
100
  .map((category) => ({
97
- label: StringExtensions.Humanize(category),
101
+ label: StringExtensions_1.default.Humanize(category),
98
102
  value: category,
99
103
  }));
100
104
  return [{ label: 'All', value: 'all' }, ...categoryOptions];
@@ -108,15 +112,15 @@ const FunctionsDropdown = ({ expressionFunctions, baseClassName }) => {
108
112
  * - mouse leaves
109
113
  * - a function is inserted
110
114
  */
111
- return (React.createElement(OverlayTrigger, { ref: dropdownRef, showEvent: "mouseenter", hideEvent: "mouseleave", targetOffset: 5, render: () => (React.createElement(Flex, { className: `${baseClassName}__dropdown-functions-list-wrapper`, flexDirection: "column", onMouseLeave: () => hidePopup() },
112
- React.createElement(Flex, { pl: 2, style: { gap: 10 } }, categoryOptions.map((option, index) => {
113
- return (React.createElement(Radio, { key: option.value, onFocus: (event) => {
115
+ return (React.createElement(OverlayTrigger_1.default, { ref: dropdownRef, showEvent: "mouseenter", hideEvent: "mouseleave", targetOffset: 5, render: () => (React.createElement(rebass_1.Flex, { className: `${baseClassName}__dropdown-functions-list-wrapper`, flexDirection: "column", onMouseLeave: () => hidePopup() },
116
+ React.createElement(rebass_1.Flex, { pl: 2, style: { gap: 10 } }, categoryOptions.map((option, index) => {
117
+ return (React.createElement(Radio_1.default, { key: option.value, onFocus: (event) => {
114
118
  event.preventDefault();
115
119
  event.stopPropagation();
116
120
  }, onClick: handleFunctionCategoryChange(option.value), checked: currentFunctionCategory === option.value }, option.label));
117
121
  })),
118
- React.createElement(Flex, null,
119
- React.createElement(Flex, { className: `${baseClassName}__dropdown-functions-list`, "data-name": "expression-dropdown-fuctions-list", flexDirection: "column", p: 2, maxHeight: '50vh' }, orderedGroupNames
122
+ React.createElement(rebass_1.Flex, null,
123
+ React.createElement(rebass_1.Flex, { className: `${baseClassName}__dropdown-functions-list`, "data-name": "expression-dropdown-fuctions-list", flexDirection: "column", p: 2, maxHeight: '50vh' }, orderedGroupNames
120
124
  .filter((groupName) => !!groupedFunctions[groupName])
121
125
  .map((groupName) => {
122
126
  const functionsInGroup = Object.keys(groupedFunctions[groupName]);
@@ -136,26 +140,26 @@ const FunctionsDropdown = ({ expressionFunctions, baseClassName }) => {
136
140
  }
137
141
  return `${functionName}()`;
138
142
  };
139
- return (React.createElement(Box, { mb: 2, key: groupName },
140
- React.createElement(Tag, { mb: 1 }, StringExtensions.Humanize(groupName)),
141
- functionsInGroup.map((functionName) => (React.createElement(Box, { key: functionName, onMouseEnter: () => setOverFunction(functionName), onClick: () => hidePopup() }, functionName === 'VAR' ? (React.createElement(VarEditorButton, { key: functionName })) : (React.createElement(EditorButton, { data: getEditorButtonData(functionName), key: functionName, mr: 1 }, functionName)))))));
143
+ return (React.createElement(rebass_1.Box, { mb: 2, key: groupName },
144
+ React.createElement(Tag_1.Tag, { mb: 1 }, StringExtensions_1.default.Humanize(groupName)),
145
+ functionsInGroup.map((functionName) => (React.createElement(rebass_1.Box, { key: functionName, onMouseEnter: () => setOverFunction(functionName), onClick: () => hidePopup() }, functionName === 'VAR' ? (React.createElement(VarEditorButton, { key: functionName })) : (React.createElement(EditorButton_1.default, { data: getEditorButtonData(functionName), key: functionName, mr: 1 }, functionName)))))));
142
146
  })),
143
- React.createElement(Box, { className: `${baseClassName}__dropdown-functions-description`, p: 2, width: 600, maxWidth: "30vw" }, overFunction ? (React.createElement(React.Fragment, null,
144
- React.createElement(Tag, null, overFunction),
145
- React.createElement(ExpressionFunctionDocumentation, { expressionFunction: expressionFunctions[overFunction] }))) : (React.createElement(Tag, { padding: 20 },
147
+ React.createElement(rebass_1.Box, { className: `${baseClassName}__dropdown-functions-description`, p: 2, width: 600, maxWidth: "30vw" }, overFunction ? (React.createElement(React.Fragment, null,
148
+ React.createElement(Tag_1.Tag, null, overFunction),
149
+ React.createElement(ExpressionFunctionDocumentation_1.ExpressionFunctionDocumentation, { expressionFunction: expressionFunctions[overFunction] }))) : (React.createElement(Tag_1.Tag, { padding: 20 },
146
150
  React.createElement("ul", null,
147
151
  React.createElement("li", null,
148
152
  "Hover over a Function to learn more",
149
153
  React.createElement("br", null),
150
154
  React.createElement("br", null)),
151
155
  React.createElement("li", null, "Select a Function to add to the Expression in the Editor")))))))) },
152
- React.createElement(SimpleButton, { "data-name": "expression-dropdown", icon: "arrow-down", iconPosition: 'end', mr: 1 },
153
- React.createElement(Flex, { marginRight: 1, fontSize: 2 },
154
- React.createElement(Icon, { name: "equation" })))));
156
+ React.createElement(SimpleButton_1.default, { "data-name": "expression-dropdown", icon: "arrow-down", iconPosition: 'end', mr: 1 },
157
+ React.createElement(rebass_1.Flex, { marginRight: 1, fontSize: 2 },
158
+ React.createElement(icons_1.Icon, { name: "equation" })))));
155
159
  };
156
- export function BaseEditorInput(props) {
160
+ function BaseEditorInput(props) {
157
161
  const { expressionFunctions, testData, style, type } = props;
158
- const { ref: textAreaRefCallback, selectionStart, selectionEnd } = useSelectionRange();
162
+ const { ref: textAreaRefCallback, selectionStart, selectionEnd } = (0, useSelectionRange_1.useSelectionRange)();
159
163
  const cursor = selectionStart === selectionEnd ? selectionStart : null;
160
164
  let result;
161
165
  let evaluationError;
@@ -169,12 +173,12 @@ export function BaseEditorInput(props) {
169
173
  }
170
174
  const parserExceptionDetails = e.message;
171
175
  return (React.createElement("details", null,
172
- React.createElement(Flex, { marginBottom: 1, as: "summary" },
176
+ React.createElement(rebass_1.Flex, { marginBottom: 1, as: "summary" },
173
177
  parserExceptionSummary,
174
178
  React.createElement("i", null, " (click for more details)")),
175
- React.createElement(Text, { marginLeft: 3, style: { fontStyle: 'italic' } }, parserExceptionDetails)));
179
+ React.createElement(rebass_1.Text, { marginLeft: 3, style: { fontStyle: 'italic' } }, parserExceptionDetails)));
176
180
  };
177
- const testRowNode = useMemo(() => {
181
+ const testRowNode = (0, react_1.useMemo)(() => {
178
182
  const firstRowNode = props.api.gridApi.getFirstRowNode();
179
183
  if (!firstRowNode || !firstRowNode.data) {
180
184
  return {};
@@ -198,7 +202,7 @@ export function BaseEditorInput(props) {
198
202
  });
199
203
  }
200
204
  catch (err) {
201
- if (err instanceof ExpressionEvaluationError) {
205
+ if (err instanceof ExpressionEvaluationError_1.ExpressionEvaluationError) {
202
206
  evaluationError = err;
203
207
  }
204
208
  else {
@@ -220,7 +224,7 @@ export function BaseEditorInput(props) {
220
224
  ${e}`);
221
225
  }
222
226
  }
223
- useEffect(() => {
227
+ (0, react_1.useEffect)(() => {
224
228
  // update selected function only for focused textareas (where cursor is present)
225
229
  if (cursor != undefined) {
226
230
  props.onSelectedFunctionChange(selectedFunctionName ? expressionFunctions[selectedFunctionName] : null);
@@ -228,27 +232,28 @@ export function BaseEditorInput(props) {
228
232
  }, [selectedFunctionName]);
229
233
  const operatorButtons = props.editorButtons
230
234
  .filter((editorButtonDef) => !!expressionFunctions[editorButtonDef.functionName])
231
- .map((editorButtonDef) => (React.createElement(EditorButton, { key: `${editorButtonDef.functionName}-operator`, data: editorButtonDef.data, icon: editorButtonDef.icon }, !editorButtonDef.icon && (editorButtonDef.text || editorButtonDef.functionName))));
235
+ .map((editorButtonDef) => (React.createElement(EditorButton_1.default, { key: `${editorButtonDef.functionName}-operator`, data: editorButtonDef.data, icon: editorButtonDef.icon }, !editorButtonDef.icon && (editorButtonDef.text || editorButtonDef.functionName))));
232
236
  const showDocumentationLink = props.api.internalApi.isDocumentationLinksDisplayed();
233
237
  return (React.createElement(React.Fragment, null,
234
- React.createElement(Flex, { className: baseClassName, "data-name": "expression-toolbar", py: 2, mb: 2, mt: 2, flexWrap: "wrap" },
235
- React.createElement(Flex, { style: { flex: 1, marginLeft: 5 }, flexWrap: "wrap" },
238
+ React.createElement(rebass_1.Flex, { className: baseClassName, "data-name": "expression-toolbar", py: 2, mb: 2, mt: 2, flexWrap: "wrap" },
239
+ React.createElement(rebass_1.Flex, { style: { flex: 1, marginLeft: 5 }, flexWrap: "wrap" },
236
240
  React.createElement(FunctionsDropdown, { expressionFunctions: expressionFunctions, baseClassName: baseClassName }),
237
241
  operatorButtons),
238
- showDocumentationLink && (React.createElement(Flex, { alignItems: "flex-start" },
239
- React.createElement(ButtonInfo, { mr: 2, tooltip: 'Learn how to use the Expression Editor', onClick: () => window.open(ExpressionEditorDocsLink, '_blank') })))),
240
- React.createElement(Textarea, { "data-name": `expression-input-${type}`, ref: textAreaRefCallback, value: props.value || '', placeholder: props.placeholder || 'Create Query', disabled: props.disabled || false, className: join('ab-ExpressionEditor__textarea', // left for backwards compatibility
242
+ showDocumentationLink && (React.createElement(rebass_1.Flex, { alignItems: "flex-start" },
243
+ React.createElement(ButtonInfo_1.ButtonInfo, { mr: 2, tooltip: 'Learn how to use the Expression Editor', onClick: () => window.open(DocumentationLinkConstants_1.ExpressionEditorDocsLink, '_blank') })))),
244
+ React.createElement(Textarea_1.default, { "data-name": `expression-input-${type}`, ref: textAreaRefCallback, value: props.value || '', placeholder: props.placeholder || 'Create Query', disabled: props.disabled || false, className: (0, join_1.default)('ab-ExpressionEditor__textarea', // left for backwards compatibility
241
245
  `${baseClassName}__textarea`), autoFocus: true, spellCheck: "false", onChange: (event) => {
242
246
  props.onChange(event.target.value);
243
247
  }, style: style }),
244
- props.isFullExpression !== true && (React.createElement(HelpBlock, { mt: 2, mb: 2, p: 2, fontSize: 3 },
248
+ props.isFullExpression !== true && (React.createElement(HelpBlock_1.default, { mt: 2, mb: 2, p: 2, fontSize: 3 },
245
249
  "This Expression must resolve to a ",
246
250
  React.createElement("b", null, "boolean "),
247
251
  "(i.e. true / false) value")),
248
- expressionError && (React.createElement(ErrorBox, { width: "100%", style: { whiteSpace: 'pre-wrap' }, mt: 2 }, expressionError)),
249
- evaluationError && (React.createElement(ErrorBox, { style: { whiteSpace: 'pre-wrap' }, mt: 2 }, `${evaluationError.expressionFnName} ${evaluationError.message}`)),
250
- !props.hideResultPreview && result !== undefined && (React.createElement(Box, { className: `${baseClassName}__editor-feedback`, "data-name": "expression-editor-feedback", mt: 2, p: 2 },
252
+ expressionError && (React.createElement(ErrorBox_1.default, { width: "100%", style: { whiteSpace: 'pre-wrap' }, mt: 2 }, expressionError)),
253
+ evaluationError && (React.createElement(ErrorBox_1.default, { style: { whiteSpace: 'pre-wrap' }, mt: 2 }, `${evaluationError.expressionFnName} ${evaluationError.message}`)),
254
+ !props.hideResultPreview && result !== undefined && (React.createElement(rebass_1.Box, { className: `${baseClassName}__editor-feedback`, "data-name": "expression-editor-feedback", mt: 2, p: 2 },
251
255
  React.createElement("pre", { style: { whiteSpace: 'pre-wrap', margin: 0 } },
252
256
  "Result (using Test Data): ",
253
257
  React.createElement("b", null, JSON.stringify(result)))))));
254
258
  }
259
+ exports.BaseEditorInput = BaseEditorInput;
@@ -1,13 +1,15 @@
1
- import { __rest } from "tslib";
2
- import * as React from 'react';
3
- import SimpleButton from '../SimpleButton';
4
- import { useExpressionEditor } from './EditorContext';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const React = tslib_1.__importStar(require("react"));
5
+ const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
6
+ const EditorContext_1 = require("./EditorContext");
5
7
  let dragImage;
6
8
  const DRAG_IMAGE_SRC = 'data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=';
7
9
  function EditorButton(props) {
8
- const { data } = props, buttonProps = __rest(props, ["data"]);
9
- const { textAreaRef } = useExpressionEditor();
10
- return (React.createElement(SimpleButton, Object.assign({ "data-name": 'operator-or-fn', variant: "text", draggable: true, onDragStart: (event) => {
10
+ const { data } = props, buttonProps = tslib_1.__rest(props, ["data"]);
11
+ const { textAreaRef } = (0, EditorContext_1.useExpressionEditor)();
12
+ return (React.createElement(SimpleButton_1.default, Object.assign({ "data-name": 'operator-or-fn', variant: "text", draggable: true, onDragStart: (event) => {
11
13
  if (!dragImage) {
12
14
  // we want to lazy init the image since otherwise it fails in SSR environments if it is declared outside the cmp - ReferenceError: Image is not defined
13
15
  dragImage = new Image(0, 0);
@@ -38,4 +40,4 @@ function EditorButton(props) {
38
40
  cursor: 'grab',
39
41
  } }, buttonProps)));
40
42
  }
41
- export default EditorButton;
43
+ exports.default = EditorButton;
@@ -1,9 +1,13 @@
1
- import { createContext, useContext } from 'react';
2
- export const ExpressionEditorContext = createContext({
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useExpressionEditor = exports.ExpressionEditorContext = void 0;
4
+ const react_1 = require("react");
5
+ exports.ExpressionEditorContext = (0, react_1.createContext)({
3
6
  textAreaRef: { current: null },
4
7
  selectedFunction: null,
5
8
  setSelectedFunction: (_fn) => { },
6
9
  });
7
- export const useExpressionEditor = () => {
8
- return useContext(ExpressionEditorContext);
10
+ const useExpressionEditor = () => {
11
+ return (0, react_1.useContext)(exports.ExpressionEditorContext);
9
12
  };
13
+ exports.useExpressionEditor = useExpressionEditor;
@@ -1,23 +1,26 @@
1
- import * as React from 'react';
2
- import { useMemo } from 'react';
3
- import { BaseEditorInput } from './BaseEditorInput';
4
- import { editorButtonsSearch } from './editorButtonsSearch';
5
- import { useExpressionEditor } from './EditorContext';
6
- import StringExtensions from '../../Utilities/Extensions/StringExtensions';
7
- import { editorButtonsAggregatedScalar } from './editorButtonsAggregatedScalar';
8
- import { aggregatedExpressionFunctions, cumulativeAggregatedExpressionFunctions, quantileAggregatedExpressionFunctions, } from '../../Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions';
9
- import { editorButtonsCumulativeAggregatedScalar } from './editorButtonsCumulativeAggregatedScalar';
10
- import { editorButtonsQuantileAggregatedScalar } from './editorButtonsQuantileAggregatedScalar';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const React = tslib_1.__importStar(require("react"));
5
+ const react_1 = require("react");
6
+ const BaseEditorInput_1 = require("./BaseEditorInput");
7
+ const editorButtonsSearch_1 = require("./editorButtonsSearch");
8
+ const EditorContext_1 = require("./EditorContext");
9
+ const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
10
+ const editorButtonsAggregatedScalar_1 = require("./editorButtonsAggregatedScalar");
11
+ const aggregatedScalarExpressionFunctions_1 = require("../../Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions");
12
+ const editorButtonsCumulativeAggregatedScalar_1 = require("./editorButtonsCumulativeAggregatedScalar");
13
+ const editorButtonsQuantileAggregatedScalar_1 = require("./editorButtonsQuantileAggregatedScalar");
11
14
  function EditorInput(props) {
12
15
  const moduleExpressionFunctions = props.api.internalApi
13
16
  .getQueryLanguageService()
14
17
  .getModuleExpressionFunctionsMap(props.module);
15
18
  const getFilteredAggregatedExpressionFunctions = (availableAggregatedExpressionFunctions, type) => {
16
19
  const sourceExpressionFunctions = type === 'cumulativeAggregatedScalar'
17
- ? cumulativeAggregatedExpressionFunctions
20
+ ? aggregatedScalarExpressionFunctions_1.cumulativeAggregatedExpressionFunctions
18
21
  : type === 'quantileAggregatedScalar'
19
- ? quantileAggregatedExpressionFunctions
20
- : aggregatedExpressionFunctions;
22
+ ? aggregatedScalarExpressionFunctions_1.quantileAggregatedExpressionFunctions
23
+ : aggregatedScalarExpressionFunctions_1.aggregatedExpressionFunctions;
21
24
  return Object.keys(availableAggregatedExpressionFunctions)
22
25
  .filter((key) => sourceExpressionFunctions.includes(key))
23
26
  .reduce((obj, key) => {
@@ -25,23 +28,23 @@ function EditorInput(props) {
25
28
  return obj;
26
29
  }, {});
27
30
  };
28
- const expressionFunctions = useMemo(() => {
31
+ const expressionFunctions = (0, react_1.useMemo)(() => {
29
32
  return props.type === 'aggregatedScalar' ||
30
33
  props.type === 'cumulativeAggregatedScalar' ||
31
34
  props.type === 'quantileAggregatedScalar'
32
35
  ? getFilteredAggregatedExpressionFunctions(moduleExpressionFunctions.aggregatedScalarFunctions, props.type)
33
36
  : Object.assign(Object.assign({}, moduleExpressionFunctions.booleanFunctions), moduleExpressionFunctions.scalarFunctions);
34
37
  }, [props.type]);
35
- const { setSelectedFunction } = useExpressionEditor();
36
- const queryName = `${StringExtensions.CapitaliseFirstLetter(props.type)}Query`;
37
- return (React.createElement(BaseEditorInput, { type: 'main', value: props.value, placeholder: `Create ${queryName}`, onChange: props.onChange, onSelectedFunctionChange: setSelectedFunction, expressionFunctions: expressionFunctions, editorButtons: props.type === 'aggregatedScalar'
38
- ? editorButtonsAggregatedScalar
38
+ const { setSelectedFunction } = (0, EditorContext_1.useExpressionEditor)();
39
+ const queryName = `${StringExtensions_1.default.CapitaliseFirstLetter(props.type)}Query`;
40
+ return (React.createElement(BaseEditorInput_1.BaseEditorInput, { type: 'main', value: props.value, placeholder: `Create ${queryName}`, onChange: props.onChange, onSelectedFunctionChange: setSelectedFunction, expressionFunctions: expressionFunctions, editorButtons: props.type === 'aggregatedScalar'
41
+ ? editorButtonsAggregatedScalar_1.editorButtonsAggregatedScalar
39
42
  : props.type === 'cumulativeAggregatedScalar'
40
- ? editorButtonsCumulativeAggregatedScalar
43
+ ? editorButtonsCumulativeAggregatedScalar_1.editorButtonsCumulativeAggregatedScalar
41
44
  : props.type === 'quantileAggregatedScalar'
42
- ? editorButtonsQuantileAggregatedScalar
43
- : editorButtonsSearch, testData: props.testData, isFullExpression: props.isFullExpression, hideResultPreview: props.type === 'aggregatedScalar' ||
45
+ ? editorButtonsQuantileAggregatedScalar_1.editorButtonsQuantileAggregatedScalar
46
+ : editorButtonsSearch_1.editorButtonsSearch, testData: props.testData, isFullExpression: props.isFullExpression, hideResultPreview: props.type === 'aggregatedScalar' ||
44
47
  props.type === 'cumulativeAggregatedScalar' ||
45
48
  props.type === 'quantileAggregatedScalar', api: props.api }));
46
49
  }
47
- export default EditorInput;
50
+ exports.default = EditorInput;