@adaptabletools/adaptable 24.0.0-canary.0 → 24.0.0-canary.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (393) hide show
  1. package/agGrid.d.ts +2 -3
  2. package/agGrid.js +2 -3
  3. package/aql.d.ts +132 -0
  4. package/aql.js +260 -0
  5. package/devtools.d.ts +237 -2
  6. package/index.css +323 -306
  7. package/index.d.ts +2 -3
  8. package/index.js +2 -3
  9. package/package.json +8 -7
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -4
  11. package/src/AdaptableOptions/ActionColumnOptions.d.ts +24 -0
  12. package/src/AdaptableOptions/AdaptableOptions.d.ts +97 -69
  13. package/src/AdaptableOptions/AdaptablePlugin.d.ts +113 -1
  14. package/src/AdaptableOptions/AlertOptions.d.ts +0 -2
  15. package/src/AdaptableOptions/ChartingOptions.d.ts +11 -5
  16. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +30 -0
  17. package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
  18. package/src/AdaptableOptions/CommentOptions.d.ts +12 -4
  19. package/src/AdaptableOptions/ContextMenuOptions.d.ts +31 -1
  20. package/src/AdaptableOptions/DashboardOptions.d.ts +0 -3
  21. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -2
  22. package/src/AdaptableOptions/DefaultAdaptableOptions.js +11 -5
  23. package/src/AdaptableOptions/EditOptions.d.ts +18 -2
  24. package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
  25. package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
  26. package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
  27. package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
  28. package/src/AdaptableOptions/FlashingCellOptions.d.ts +3 -3
  29. package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
  30. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
  31. package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
  32. package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
  33. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +16 -5
  34. package/src/AdaptableOptions/StateOptions.d.ts +37 -13
  35. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
  36. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +89 -6
  37. package/src/AdaptableState/AdaptableState.d.ts +99 -3
  38. package/src/AdaptableState/AlertState.d.ts +20 -21
  39. package/src/AdaptableState/ApplicationState.d.ts +5 -3
  40. package/src/AdaptableState/BaseState.d.ts +9 -2
  41. package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
  42. package/src/AdaptableState/ChartingState.d.ts +10 -5
  43. package/src/AdaptableState/CommentState.d.ts +10 -4
  44. package/src/AdaptableState/Common/AdaptableAlert.d.ts +21 -2
  45. package/src/AdaptableState/Common/AdaptableAlert.js +9 -0
  46. package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
  47. package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
  48. package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
  49. package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
  50. package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
  51. package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
  52. package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
  53. package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
  54. package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
  55. package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
  56. package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
  57. package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
  58. package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
  59. package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
  60. package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
  61. package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
  62. package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
  63. package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
  64. package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
  65. package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
  66. package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
  67. package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
  68. package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
  69. package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
  70. package/src/AdaptableState/Common/Enums.d.ts +21 -0
  71. package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
  72. package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
  73. package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
  74. package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
  75. package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
  76. package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
  77. package/src/AdaptableState/Common/RowScope.d.ts +3 -1
  78. package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
  79. package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
  80. package/src/AdaptableState/Common/Schedule.d.ts +10 -2
  81. package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
  82. package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
  83. package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
  84. package/src/AdaptableState/Common/Types.d.ts +9 -0
  85. package/src/AdaptableState/CustomSortState.d.ts +8 -5
  86. package/src/AdaptableState/DashboardState.d.ts +14 -10
  87. package/src/AdaptableState/ExportState.d.ts +12 -4
  88. package/src/AdaptableState/FlashingCellState.d.ts +8 -5
  89. package/src/AdaptableState/FormatColumnState.d.ts +28 -8
  90. package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
  91. package/src/AdaptableState/IPushPullState.d.ts +39 -3
  92. package/src/AdaptableState/InitialState.d.ts +9 -9
  93. package/src/AdaptableState/InternalState.d.ts +183 -3
  94. package/src/AdaptableState/LayoutState.d.ts +64 -21
  95. package/src/AdaptableState/NamedQueryState.d.ts +16 -4
  96. package/src/AdaptableState/NoteState.d.ts +7 -3
  97. package/src/AdaptableState/OpenFinState.d.ts +12 -2
  98. package/src/AdaptableState/PlusMinusState.d.ts +8 -4
  99. package/src/AdaptableState/PopupState.d.ts +29 -1
  100. package/src/AdaptableState/QuickSearchState.d.ts +9 -3
  101. package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
  102. package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
  103. package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
  104. package/src/AdaptableState/ShortcutState.d.ts +7 -3
  105. package/src/AdaptableState/StatusBarState.d.ts +7 -6
  106. package/src/AdaptableState/StyledColumnState.d.ts +46 -14
  107. package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +4 -0
  108. package/src/AdaptableState/TeamSharingState.d.ts +46 -2
  109. package/src/AdaptableState/ThemeState.d.ts +24 -2
  110. package/src/AdaptableState/ToolPanelState.d.ts +10 -5
  111. package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
  112. package/src/AdaptableState/Uuid.d.ts +6 -0
  113. package/src/Api/ActionColumnApi.d.ts +3 -1
  114. package/src/Api/AdaptableApi.d.ts +54 -50
  115. package/src/Api/AlertApi.d.ts +20 -12
  116. package/src/Api/ApplicationApi.d.ts +6 -2
  117. package/src/Api/BulkUpdateApi.d.ts +2 -1
  118. package/src/Api/CalculatedColumnApi.d.ts +4 -1
  119. package/src/Api/CalendarApi.d.ts +10 -0
  120. package/src/Api/CellSummaryApi.d.ts +9 -3
  121. package/src/Api/ChartingApi.d.ts +22 -7
  122. package/src/Api/ColumnApi.d.ts +71 -4
  123. package/src/Api/ColumnFilterApi.d.ts +13 -3
  124. package/src/Api/ColumnMenuApi.d.ts +13 -2
  125. package/src/Api/ColumnScopeApi.d.ts +27 -1
  126. package/src/Api/CommentApi.d.ts +10 -7
  127. package/src/Api/ContextMenuApi.d.ts +11 -1
  128. package/src/Api/CustomSortApi.d.ts +6 -2
  129. package/src/Api/DashboardApi.d.ts +30 -9
  130. package/src/Api/DataChangeHistoryApi.d.ts +9 -3
  131. package/src/Api/DataImportApi.d.ts +1 -1
  132. package/src/Api/EntitlementApi.d.ts +6 -1
  133. package/src/Api/EventApi.d.ts +67 -19
  134. package/src/Api/Events/AdaptableReady.d.ts +6 -2
  135. package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
  136. package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
  137. package/src/Api/Events/AlertFired.d.ts +8 -2
  138. package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
  139. package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
  140. package/src/Api/Events/CellChanged.d.ts +6 -2
  141. package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
  142. package/src/Api/Events/ChartChanged.d.ts +16 -8
  143. package/src/Api/Events/CommentChanged.d.ts +8 -2
  144. package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
  145. package/src/Api/Events/DashboardChanged.d.ts +27 -6
  146. package/src/Api/Events/DataImported.d.ts +8 -4
  147. package/src/Api/Events/DataSetSelected.d.ts +6 -2
  148. package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
  149. package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
  150. package/src/Api/Events/GridFilterApplied.d.ts +11 -3
  151. package/src/Api/Events/GridSorted.d.ts +6 -2
  152. package/src/Api/Events/LayoutChanged.d.ts +41 -8
  153. package/src/Api/Events/LiveDataChanged.d.ts +21 -5
  154. package/src/Api/Events/NoteChanged.d.ts +5 -1
  155. package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
  156. package/src/Api/Events/RowChanged.d.ts +6 -2
  157. package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
  158. package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
  159. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
  160. package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
  161. package/src/Api/Events/ThemeSelected.d.ts +6 -2
  162. package/src/Api/ExportApi.d.ts +59 -32
  163. package/src/Api/ExpressionApi.d.ts +27 -16
  164. package/src/Api/Fdc3Api.d.ts +16 -3
  165. package/src/Api/FlashingCellApi.d.ts +6 -1
  166. package/src/Api/FormatColumnApi.d.ts +18 -11
  167. package/src/Api/FreeTextColumnApi.d.ts +4 -2
  168. package/src/Api/GridApi.d.ts +92 -19
  169. package/src/Api/IPushPullApi.d.ts +19 -2
  170. package/src/Api/Implementation/AlertApiImpl.d.ts +5 -5
  171. package/src/Api/Implementation/AlertApiImpl.js +26 -19
  172. package/src/Api/Implementation/ColumnScopeApiImpl.js +3 -3
  173. package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -3
  174. package/src/Api/Implementation/ExpressionApiImpl.js +5 -6
  175. package/src/Api/Implementation/QuickSearchApiImpl.js +2 -2
  176. package/src/Api/Implementation/StateApiImpl.d.ts +1 -1
  177. package/src/Api/Implementation/StateApiImpl.js +4 -3
  178. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +0 -1
  179. package/src/Api/Implementation/UserInterfaceApiImpl.js +9 -15
  180. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -2
  181. package/src/Api/Internal/AdaptableInternalApi.js +11 -7
  182. package/src/Api/Internal/AlertInternalApi.js +12 -7
  183. package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
  184. package/src/Api/Internal/EventInternalApi.d.ts +2 -1
  185. package/src/Api/Internal/EventInternalApi.js +7 -0
  186. package/src/Api/Internal/StateInternalApi.d.ts +1 -1
  187. package/src/Api/Internal/StateInternalApi.js +6 -5
  188. package/src/Api/InteropioPluginApi.d.ts +2 -1
  189. package/src/Api/LayoutApi.d.ts +29 -15
  190. package/src/Api/NamedQueryApi.d.ts +10 -6
  191. package/src/Api/NoteApi.d.ts +15 -11
  192. package/src/Api/OpenFinApi.d.ts +8 -2
  193. package/src/Api/OptionsApi.d.ts +43 -1
  194. package/src/Api/PluginsApi.d.ts +6 -1
  195. package/src/Api/PlusMinusApi.d.ts +2 -1
  196. package/src/Api/QuickSearchApi.d.ts +6 -1
  197. package/src/Api/RowFormApi.d.ts +8 -7
  198. package/src/Api/ShortcutApi.d.ts +3 -1
  199. package/src/Api/SmartEditApi.d.ts +4 -1
  200. package/src/Api/StateApi.d.ts +32 -4
  201. package/src/Api/StatusBarApi.d.ts +2 -0
  202. package/src/Api/StyledColumnApi.d.ts +23 -12
  203. package/src/Api/SystemStatusApi.d.ts +18 -6
  204. package/src/Api/TeamSharingApi.d.ts +8 -1
  205. package/src/Api/ThemeApi.d.ts +17 -8
  206. package/src/Api/ToolPanelApi.d.ts +12 -7
  207. package/src/Api/UserInterfaceApi.d.ts +10 -5
  208. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +3 -3
  209. package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +9 -4
  210. package/src/Redux/ActionsReducers/QuickSearchRedux.js +12 -7
  211. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +8 -0
  212. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +12 -12
  213. package/src/Redux/Store/AdaptableStore.d.ts +8 -5
  214. package/src/Redux/Store/AdaptableStore.js +75 -41
  215. package/src/Redux/Store/Interface/IAdaptableStore.d.ts +5 -5
  216. package/src/Redux/Store/Interface/IStorageEngine.d.ts +4 -4
  217. package/src/Redux/Store/StateOptionsGuards.d.ts +58 -0
  218. package/src/Redux/Store/StateOptionsGuards.js +112 -0
  219. package/src/Redux/Store/isTransientReduxAction.d.ts +5 -0
  220. package/src/Redux/Store/isTransientReduxAction.js +19 -0
  221. package/src/Strategy/AlertModule.js +2 -2
  222. package/src/Strategy/FormatColumnModule.js +2 -2
  223. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  224. package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -0
  225. package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
  226. package/src/Utilities/Constants/ReduxConstants.js +5 -5
  227. package/src/Utilities/Helpers/AlertTypeHelper.d.ts +1 -1
  228. package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +14 -0
  229. package/src/Utilities/Helpers/SettingsPanelHelper.js +37 -1
  230. package/src/Utilities/Helpers/UIHelper.d.ts +12 -14
  231. package/src/Utilities/Helpers/UIHelper.js +12 -35
  232. package/src/Utilities/ObjectFactory.js +3 -3
  233. package/src/Utilities/Services/QueryLanguageService.js +0 -2
  234. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
  235. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +9 -11
  236. package/src/View/Components/StyleComponent.js +2 -2
  237. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  238. package/src/View/Dashboard/Dashboard.js +1 -1
  239. package/src/View/Dashboard/DashboardPopupSections.js +1 -1
  240. package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +15 -11
  241. package/src/View/GridInfo/GridInfoPopup.js +62 -25
  242. package/src/View/QuickSearch/QuickSearchInput.js +1 -1
  243. package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
  244. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  245. package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.d.ts +2 -2
  246. package/src/View/StyledColumn/RangesComponent.js +13 -16
  247. package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.d.ts +0 -2
  248. package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.js +2 -2
  249. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -3
  250. package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.d.ts +0 -3
  251. package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.js +3 -3
  252. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +7 -11
  253. package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +6 -6
  254. package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +2 -2
  255. package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +2 -2
  256. package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +8 -8
  257. package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +4 -4
  258. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardRangesSection.js +2 -2
  259. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +4 -4
  260. package/src/View/Wizard/CollapsibleWizardCard.d.ts +3 -1
  261. package/src/View/Wizard/CollapsibleWizardCard.js +17 -9
  262. package/src/agGrid/Adaptable.d.ts +0 -12
  263. package/src/agGrid/Adaptable.js +0 -52
  264. package/src/agGrid/AdaptableAgGrid.d.ts +4 -4
  265. package/src/agGrid/AdaptableAgGrid.js +2 -0
  266. package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
  267. package/src/agGrid/AdaptableLogger.d.ts +74 -1
  268. package/src/agGrid/AgGridColumnAdapter.d.ts +1 -1
  269. package/src/agGrid/AgGridColumnAdapter.js +7 -5
  270. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
  271. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
  272. package/src/agGrid/index.d.ts +1 -6
  273. package/src/agGrid/index.js +1 -3
  274. package/src/aql/ExpressionEvaluation.d.ts +27 -0
  275. package/src/aql/types.d.ts +22 -0
  276. package/src/components/ColorField/index.d.ts +13 -0
  277. package/src/components/ColorField/index.js +26 -0
  278. package/src/components/aql/CompactEditor/CompactEditor.js +1 -1
  279. package/src/components/aql/ExpressionEditor/BaseEditorInput.js +1 -1
  280. package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.d.ts +5 -0
  281. package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.js +12 -5
  282. package/src/components/aql/ExpressionEditor/ExpressionPreview.js +1 -1
  283. package/src/components/aql/ExpressionEditor/index.d.ts +3 -2
  284. package/src/components/aql/QueryBuilder/GroupEditor.js +1 -1
  285. package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +5 -0
  286. package/src/components/aql/QueryBuilder/QueryBuilder.js +1 -1
  287. package/src/components/aql/QueryBuilder/QueryBuilderInputs.js +12 -2
  288. package/src/components/aql/QueryBuilder/context.d.ts +7 -0
  289. package/src/components/aql/QueryBuilder/context.js +3 -1
  290. package/src/env.js +2 -2
  291. package/src/layout-manager/src/normalizeLayoutModel.d.ts +1 -1
  292. package/src/layout-manager/src/simplifyLayoutModel.d.ts +1 -1
  293. package/src/migration/AdaptableUpgradeHelper.d.ts +7 -2
  294. package/src/migration/VersionUpgrade17.js +13 -8
  295. package/src/migration/VersionUpgrade24.d.ts +9 -0
  296. package/src/migration/VersionUpgrade24.js +27 -0
  297. package/src/migration/legacyAdaptableQuery.d.ts +29 -4
  298. package/src/setupDevTools.js +827 -111
  299. package/src/types.d.ts +2 -4
  300. package/tsconfig.esm.tsbuildinfo +1 -1
  301. package/upgrade.d.ts +1 -0
  302. package/upgrade.js +1 -0
  303. package/vendor/components/Button/index.d.ts +1 -1
  304. package/vendor/components/Button/index.d.ts.map +1 -1
  305. package/vendor/components/Button/index.js.map +1 -1
  306. package/vendor/components/CheckBox/index.d.ts +1 -1
  307. package/vendor/components/CheckBox/index.d.ts.map +1 -1
  308. package/vendor/components/CheckBox/index.js.map +1 -1
  309. package/vendor/components/ColorField/index.d.ts +53 -0
  310. package/vendor/components/ColorField/index.d.ts.map +1 -0
  311. package/vendor/components/ColorField/index.js +80 -0
  312. package/vendor/components/ColorField/index.js.map +1 -0
  313. package/vendor/components/ColorPicker/colorPickerTab.d.ts +4 -0
  314. package/vendor/components/ColorPicker/colorPickerTab.d.ts.map +1 -0
  315. package/vendor/components/ColorPicker/colorPickerTab.js +28 -0
  316. package/vendor/components/ColorPicker/colorPickerTab.js.map +1 -0
  317. package/vendor/components/ColorPicker/index.d.ts +98 -0
  318. package/vendor/components/ColorPicker/index.d.ts.map +1 -0
  319. package/vendor/components/ColorPicker/index.js +322 -0
  320. package/vendor/components/ColorPicker/index.js.map +1 -0
  321. package/vendor/components/ColorPicker/themeColors.d.ts +94 -0
  322. package/vendor/components/ColorPicker/themeColors.d.ts.map +1 -0
  323. package/vendor/components/ColorPicker/themeColors.js +240 -0
  324. package/vendor/components/ColorPicker/themeColors.js.map +1 -0
  325. package/vendor/components/Combobox/VirtualizedList.d.ts +1 -1
  326. package/vendor/components/Combobox/VirtualizedList.d.ts.map +1 -1
  327. package/vendor/components/Combobox/VirtualizedList.js.map +1 -1
  328. package/vendor/components/Combobox/comboboxUtils.d.ts +9 -0
  329. package/vendor/components/Combobox/comboboxUtils.d.ts.map +1 -1
  330. package/vendor/components/Combobox/comboboxUtils.js +41 -2
  331. package/vendor/components/Combobox/comboboxUtils.js.map +1 -1
  332. package/vendor/components/Combobox/index.d.ts +1 -1
  333. package/vendor/components/Combobox/index.d.ts.map +1 -1
  334. package/vendor/components/Combobox/index.js +14 -9
  335. package/vendor/components/Combobox/index.js.map +1 -1
  336. package/vendor/components/NumberInput/index.d.ts +51 -0
  337. package/vendor/components/NumberInput/index.d.ts.map +1 -0
  338. package/vendor/components/NumberInput/index.js +82 -0
  339. package/vendor/components/NumberInput/index.js.map +1 -0
  340. package/vendor/components/index.css +286 -24
  341. package/vendor/components/index.d.ts +6 -0
  342. package/vendor/components/index.d.ts.map +1 -1
  343. package/vendor/components/index.js +3 -0
  344. package/vendor/components/index.js.map +1 -1
  345. package/vendor/components/twMerge.d.ts +3 -2
  346. package/vendor/components/twMerge.d.ts.map +1 -1
  347. package/vendor/components/twMerge.js.map +1 -1
  348. package/vendor/components/ui/combobox.d.ts.map +1 -1
  349. package/vendor/components/ui/combobox.js +1 -1
  350. package/vendor/components/ui/combobox.js.map +1 -1
  351. package/vendor/components/ui/input-group.d.ts.map +1 -1
  352. package/vendor/components/ui/input-group.js +5 -4
  353. package/vendor/components/ui/input-group.js.map +1 -1
  354. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
  355. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
  356. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
  357. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
  358. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
  359. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
  360. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
  361. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
  362. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
  363. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
  364. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
  365. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
  366. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
  367. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
  368. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
  369. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
  370. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
  371. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
  372. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
  373. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
  374. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
  375. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
  376. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
  377. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
  378. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
  379. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
  380. package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
  381. package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
  382. package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
  383. package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
  384. package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
  385. package/src/View/AdaptableWizardView/Wizard.js +0 -98
  386. package/src/View/AdaptableWizardView/index.d.ts +0 -4
  387. package/src/View/AdaptableWizardView/index.js +0 -4
  388. package/src/components/ColorPicker/ColorPicker.d.ts +0 -12
  389. package/src/components/ColorPicker/ColorPicker.js +0 -48
  390. package/src/components/ColorPicker/OptionalColorPicker.d.ts +0 -12
  391. package/src/components/ColorPicker/OptionalColorPicker.js +0 -13
  392. package/src/components/ColorPicker/index.d.ts +0 -2
  393. package/src/components/ColorPicker/index.js +0 -2
@@ -2,30 +2,103 @@ import { AdaptableMessageType } from '../AdaptableState/Common/AdaptableMessageT
2
2
  export declare const errorOnce: (message: string) => void;
3
3
  export declare const warnOnce: (message: string) => void;
4
4
  /**
5
- * AdapTable's Logger
5
+ * Logger for one AdapTable instance.
6
+ *
7
+ * `info`, `success`, `warn` and `error` write through the debug logger (namespaced `Adaptable:<adaptableId>`).
8
+ * `consoleInfo`, `consoleLog`, `consoleWarn` and `consoleError` write straight to the console, with the same prefix.
6
9
  */
7
10
  export declare class AdaptableLogger {
8
11
  private adaptableId;
12
+ /** Root debug logger, namespaced `Adaptable:<adaptableId>`. The public methods write through this. */
9
13
  private debugger;
14
+ /** Debug logger used by {@link AdaptableLogger.info}. */
10
15
  private infoLogger;
16
+ /** Debug logger used by {@link AdaptableLogger.success}. */
11
17
  private successLogger;
18
+ /** Debug logger used by {@link AdaptableLogger.warn}. */
12
19
  private warnLogger;
20
+ /** Debug logger used by {@link AdaptableLogger.error}. */
13
21
  private errorLogger;
22
+ /** Debug logger used by {@link AdaptableLogger.beginPerf}. */
14
23
  private perfLogger;
15
24
  static consoleErrorBase(message: string, ...optionalParams: any[]): void;
16
25
  static consoleWarnBase(message: string, ...optionalParams: any[]): void;
17
26
  static consoleLogBase(message: string, ...optionalParams: any[]): void;
27
+ /**
28
+ * @param adaptableId Id of the AdapTable instance, used as the log prefix
29
+ */
18
30
  constructor(adaptableId: string);
31
+ /**
32
+ * Starts a performance span. Call `end` on the returned object to log the elapsed milliseconds.
33
+ *
34
+ * @param sectionName Label included in the begin and end lines
35
+ * @returns An object whose `end` logs the duration
36
+ */
19
37
  beginPerf(sectionName: string): {
20
38
  end: (additionalComment?: string) => void;
21
39
  };
40
+ /**
41
+ * Writes an informational message to the `info` debug logger.
42
+ *
43
+ * @param message Message text
44
+ * @param optionalParams Extra values appended to the log
45
+ */
22
46
  info(message: string, ...optionalParams: any[]): void;
47
+ /**
48
+ * Writes a success message to the `success` debug logger.
49
+ *
50
+ * @param message Message text
51
+ * @param optionalParams Extra values appended to the log
52
+ */
23
53
  success(message: string, ...optionalParams: any[]): void;
54
+ /**
55
+ * Writes a warning to the `warn` debug logger.
56
+ *
57
+ * @param message Message text
58
+ * @param optionalParams Extra values appended to the log
59
+ */
24
60
  warn(message: string, ...optionalParams: any[]): void;
61
+ /**
62
+ * Writes an error to the `error` debug logger.
63
+ *
64
+ * @param message Message text
65
+ * @param optionalParams Extra values appended to the log
66
+ */
25
67
  error(message: string, ...optionalParams: any[]): void;
68
+ /**
69
+ * Writes to the console at the level of `messageType` (`Info`, `Success`, `Warning` or `Error`), prefixed with the AdapTable id.
70
+ *
71
+ * @param message Message text
72
+ * @param messageType Which console method to use
73
+ * @param optionalParams Extra values appended to the log
74
+ */
26
75
  consoleLogByMessageType(message: string, messageType: AdaptableMessageType, ...optionalParams: any[]): void;
76
+ /**
77
+ * Writes to `console.info`, prefixed with the AdapTable id.
78
+ *
79
+ * @param message Message text
80
+ * @param optionalParams Extra values appended to the log
81
+ */
27
82
  consoleInfo(message: string, ...optionalParams: any[]): void;
83
+ /**
84
+ * Writes to `console.log`, prefixed with the AdapTable id.
85
+ *
86
+ * @param message Message text
87
+ * @param optionalParams Extra values appended to the log
88
+ */
28
89
  consoleLog(message: string, ...optionalParams: any[]): void;
90
+ /**
91
+ * Writes to `console.warn`, prefixed with the AdapTable id.
92
+ *
93
+ * @param message Message text
94
+ * @param optionalParams Extra values appended to the log
95
+ */
29
96
  consoleWarn(message: string, ...optionalParams: any[]): void;
97
+ /**
98
+ * Writes to `console.error`, prefixed with the AdapTable id.
99
+ *
100
+ * @param message Message text
101
+ * @param optionalParams Extra values appended to the log
102
+ */
30
103
  consoleError(message: string, ...optionalParams: any[]): void;
31
104
  }
@@ -88,7 +88,7 @@ export declare class AgGridColumnAdapter {
88
88
  private setupColumnHeaderStyle;
89
89
  private setupColumnCellEditor;
90
90
  private setupColumnCellRenderer;
91
- private setupColumnTooltipValueGetter;
91
+ private setupColumnTooltip;
92
92
  /**
93
93
  * Resolves a Range Bar bound (number / column id / Col-Min / Col-Max /
94
94
  * Col-Avg / Col-Median) into a concrete numeric value for the supplied row.
@@ -67,7 +67,7 @@ const STABLE_CALLBACK_COL_DEF_PROPERTIES = new Set([
67
67
  'pivotComparator',
68
68
  'getFindText',
69
69
  'getQuickFilterText',
70
- 'tooltipValueGetter',
70
+ 'tooltip',
71
71
  'cellEditorParams',
72
72
  'suppressNoteActions',
73
73
  ]);
@@ -333,7 +333,7 @@ export class AgGridColumnAdapter {
333
333
  this.setupColumnHeaderStyle(colSetupInfo);
334
334
  this.setupColumnHeaderClass(colSetupInfo);
335
335
  this.setupColumnValueGetter(colSetupInfo);
336
- this.setupColumnTooltipValueGetter(colSetupInfo);
336
+ this.setupColumnTooltip(colSetupInfo);
337
337
  if (!isAutoRowGroupColumn) {
338
338
  this.setupColumnFilter(colSetupInfo);
339
339
  this.setupColumnFloatingFilter(colSetupInfo);
@@ -676,9 +676,9 @@ export class AgGridColumnAdapter {
676
676
  }
677
677
  });
678
678
  }
679
- setupColumnTooltipValueGetter({ col, colId, abColumn }) {
679
+ setupColumnTooltip({ col, colId, abColumn }) {
680
680
  let hasTooptip = false;
681
- this.setColDefProperty(col, 'tooltipValueGetter', () => {
681
+ this.setColDefProperty(col, 'tooltip', () => {
682
682
  const styledColumn = this.adaptableApi.styledColumnApi.getStyledColumnForColumnId(colId);
683
683
  if (!styledColumn || styledColumn.IsSuspended) {
684
684
  return undefined;
@@ -928,6 +928,9 @@ export class AgGridColumnAdapter {
928
928
  return this.adaptableFloatingFilterComponent;
929
929
  }
930
930
  setupColumnFloatingFilter({ col, colDef }) {
931
+ if (!this.adaptableOptions.filterOptions.useAdaptableFiltering) {
932
+ return;
933
+ }
931
934
  const userProvidedFilterProp = this.getUserColDefProperty(col.getColId(), 'filter');
932
935
  const hasInvalidFilterProp = typeof userProvidedFilterProp !== 'boolean' &&
933
936
  typeof userProvidedFilterProp?.handler !== 'function' &&
@@ -938,7 +941,6 @@ export class AgGridColumnAdapter {
938
941
  }
939
942
  const isFloatingFilterDisabled = !colDef.filter ||
940
943
  !colDef.floatingFilter ||
941
- !this.adaptableOptions.filterOptions.useAdaptableFiltering ||
942
944
  !this.adaptableApi.filterApi.columnFilterApi.isQuickFilterVisible();
943
945
  if (this.adaptableApi.columnApi.isAutoRowGroupColumnForMulti(col.getColId())) {
944
946
  this.setColDefProperty(col, 'floatingFilter', (original_floatingFilter) => {
@@ -5,6 +5,9 @@ import { IAdaptable } from '../../../AdaptableInterfaces/IAdaptable';
5
5
  * Params used by the AdapTable Date Editor
6
6
  */
7
7
  export interface AdaptableDateEditorParams extends ICellEditorParams {
8
+ /**
9
+ * AG Grid callback. The editor calls this with the selected date, or `null` when the date is cleared.
10
+ */
8
11
  onValueChange?: (value: any) => void;
9
12
  }
10
13
  export declare const AdaptableReactDateEditor: React.ForwardRefExoticComponent<AdaptableDateEditorParams & React.RefAttributes<unknown>>;
@@ -15,6 +15,9 @@ export interface AdaptableNumberCellEditorParams extends ICellEditorParams {
15
15
  * @defaultValue '' (empty string)
16
16
  */
17
17
  emptyValue: string;
18
+ /**
19
+ * AG Grid callback. The editor calls this with the value as the user edits, so the grid can commit it.
20
+ */
18
21
  onValueChange: (value: any) => void;
19
22
  }
20
23
  export declare const AdaptableReactNumberEditor: React.ForwardRefExoticComponent<AdaptableNumberCellEditorParams & React.RefAttributes<unknown>>;
@@ -1,11 +1,6 @@
1
- import { Adaptable, AdaptableNoCodeWizard as ABWizard } from './Adaptable';
1
+ import { Adaptable } from './Adaptable';
2
2
  import { AdaptableLogger as ABLogger } from './AdaptableLogger';
3
- export { default as AdaptableWizardView } from '../View/AdaptableWizardView';
4
3
  export default Adaptable;
5
- /**
6
- * AdapTable's No Code Wizard
7
- */
8
- export declare const AdaptableNoCodeWizard: typeof ABWizard;
9
4
  /**
10
5
  * AdapTable's Logger
11
6
  */
@@ -1,6 +1,4 @@
1
- import { Adaptable, AdaptableNoCodeWizard as ABWizard, } from './Adaptable';
1
+ import { Adaptable } from './Adaptable';
2
2
  import { AdaptableLogger as ABLogger } from './AdaptableLogger';
3
- export { default as AdaptableWizardView } from '../View/AdaptableWizardView';
4
3
  export default Adaptable;
5
- export const AdaptableNoCodeWizard = ABWizard;
6
4
  export const AdaptableLogger = ABLogger;
@@ -9,12 +9,27 @@ import type { CellDataChangedInfo } from '../AdaptableState/Common/CellDataChang
9
9
  * throws — check `success` and read `value` / `errorMessage` accordingly.
10
10
  */
11
11
  export type ExpressionEvaluationResult<T> = {
12
+ /**
13
+ * The expression evaluated. Read `value`.
14
+ */
12
15
  success: true;
16
+ /**
17
+ * Result of the expression.
18
+ */
13
19
  value: T;
14
20
  } | {
21
+ /**
22
+ * The expression did not evaluate. Read `errorMessage`. The API does not throw for these failures.
23
+ */
15
24
  success: false;
25
+ /**
26
+ * Why evaluation failed: a syntax error, an unknown column, a missing row, or a function that is not available.
27
+ */
16
28
  errorMessage: string;
17
29
  };
30
+ /**
31
+ * Options shared by the `expressionApi` evaluate and filter calls.
32
+ */
18
33
  export interface EvaluateExpressionOptions {
19
34
  /**
20
35
  * Emulate a specific feature module's filtered function pool (e.g. "would
@@ -32,7 +47,13 @@ export interface EvaluateExpressionOptions {
32
47
  * When a `columnId` is both a grid column and listed here, this override wins.
33
48
  */
34
49
  export interface ExternalDataColumn {
50
+ /**
51
+ * Key on the plain-object row this metadata describes. Matches a grid `colId` when the key is also a column.
52
+ */
35
53
  columnId: string;
54
+ /**
55
+ * How to treat the value. When this key is also a grid column, this type wins over the column's data type.
56
+ */
36
57
  dataType?: 'number' | 'text' | 'date' | 'boolean' | 'array';
37
58
  }
38
59
  /**
@@ -40,7 +61,13 @@ export interface ExternalDataColumn {
40
61
  * Does not mutate grid (or data-set) data; other rows are unaffected.
41
62
  */
42
63
  export interface CellValueOverride {
64
+ /**
65
+ * Column whose value is replaced for this evaluation only.
66
+ */
43
67
  columnId: string;
68
+ /**
69
+ * Value used in place of the cell's current value. The grid data is not changed.
70
+ */
44
71
  value: unknown;
45
72
  }
46
73
  /**
@@ -24,10 +24,22 @@ context: AdaptableExpressionContext) => any;
24
24
  * Defines how an AdaptableQL Function is described in Expression Editor
25
25
  */
26
26
  export type ExpressionFunctionDocBlock = {
27
+ /**
28
+ * A code sample, shown as code in the Expression Editor.
29
+ */
27
30
  type: 'code';
31
+ /**
32
+ * The sample, for example `[price] > 100`.
33
+ */
28
34
  content: string;
29
35
  } | {
36
+ /**
37
+ * A prose description, shown as a paragraph in the Expression Editor.
38
+ */
30
39
  type: 'paragraph';
40
+ /**
41
+ * The description text.
42
+ */
31
43
  content: string;
32
44
  };
33
45
  /**
@@ -289,7 +301,17 @@ export type AdaptableAggregationFunctionMap<T extends string = string> = Record<
289
301
  * (not Layout / Cell Summary — those are aggregation-only).
290
302
  */
291
303
  export type AdaptableCustomExpressionFunction = Omit<AqlExpressionFunction<AdaptableExpressionContext> & AdaptableExpressionFunctionEnhancement, 'isAvailable' | 'returnType'> & {
304
+ /**
305
+ * Type the function returns. `boolean` makes it a predicate that can appear in the Query Builder and Column Filter when it takes one or two operands.
306
+ *
307
+ * Use an {@link ExpressionReturnType} value. `string & {}` keeps autocomplete while still accepting a widened string.
308
+ */
292
309
  returnType: ExpressionReturnType | (string & {});
310
+ /**
311
+ * Modules that may call this function, or a function of the availability context that returns whether it may be called.
312
+ *
313
+ * Omit it to allow the function in every standard-expression module. Layout and Cell Summary are aggregated-expression modules and are not in this list.
314
+ */
293
315
  isAvailable?: AdaptableStandardExpressionModule[] | ((context: ExpressionFunctionAvailabilityContext) => boolean);
294
316
  };
295
317
  /**
@@ -0,0 +1,13 @@
1
+ import { type ColorFieldProps as SharedColorFieldProps } from "../../../vendor/components/ColorField";
2
+ export type ColorFieldProps = Omit<SharedColorFieldProps, 'onChange' | 'clearable' | 'data-name' | 'filterColours'> & {
3
+ 'data-name'?: string;
4
+ } & ({
5
+ clearable?: true;
6
+ onChange: (color: string | undefined) => void;
7
+ } | {
8
+ /** The colour is required, so there is no clear button and `onChange` always gets one. */
9
+ clearable: false;
10
+ onChange: (color: string) => void;
11
+ });
12
+ /** The shared colour field with AdapTable's defaults. */
13
+ export declare const ColorField: (props: ColorFieldProps) => import("react").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ColorField as SharedColorField, } from "../../../vendor/components/ColorField";
3
+ import { useAdaptable } from '../../View/AdaptableContext';
4
+ import { useOnePageAdaptableWizardContext } from '../../View/Wizard/OnePageAdaptableWizard';
5
+ function useEditedModule() {
6
+ const wizard = useOnePageAdaptableWizardContext();
7
+ const adaptable = useAdaptable();
8
+ const fromWizard = wizard.moduleInfo?.ModuleName;
9
+ if (fromWizard) {
10
+ return fromWizard;
11
+ }
12
+ const screenPopup = adaptable?.adaptableStore?.TheStore.getState().Popup.ScreenPopup;
13
+ return screenPopup?.ShowScreenPopup ? screenPopup.ComponentModule : undefined;
14
+ }
15
+ const DEFAULT_TABS = ['Custom', 'Palette'];
16
+ const showAllColours = () => undefined;
17
+ export const ColorField = (props) => {
18
+ const adaptable = useAdaptable();
19
+ const module = useEditedModule();
20
+ const paletteOptions = adaptable?.api.optionsApi.getUserInterfaceOptions().colourPickerOptions;
21
+ const filterColours = paletteOptions?.filterColours;
22
+ const { onChange, tabs, orderPaletteColours, removeDuplicates, showGroupLabels, 'data-name': dataName = 'color-field', ...rest } = props;
23
+ return (_jsx(SharedColorField, { ...rest, "data-name": dataName, tabs: tabs ?? paletteOptions?.tabs ?? DEFAULT_TABS, orderPaletteColours: orderPaletteColours ?? paletteOptions?.orderPaletteColours, removeDuplicates: removeDuplicates ?? paletteOptions?.removeDuplicates, showGroupLabels: showGroupLabels ?? paletteOptions?.showGroupLabels, filterColours: filterColours
24
+ ? (colours) => filterColours({ ...colours, module })
25
+ : showAllColours, onChange: onChange }));
26
+ };
@@ -137,5 +137,5 @@ export const CompactEditor = () => {
137
137
  }, children: _jsx(PanelWithImage, { className: "twa:overflow-hidden", bodyScroll: false, style: { height: '100%', maxHeight: '100%' }, bodyProps: {
138
138
  className: 'twa:min-h-0 twa:overflow-hidden twa:p-2',
139
139
  style: { height: '100%', maxHeight: '100%' },
140
- }, header: `Edit Expression — ${title}`, glyphicon: "calculated-column", variant: "primary", children: _jsx(Box, { className: "twa:min-h-0 twa:overflow-hidden", style: { height: '100%' }, children: _jsx(ExpressionEditor, { type: editorType, scalarVariant: calculatedColumnType === 'Observable' ? 'observable' : undefined, module: CalculatedColumnModuleId, isFullExpression: true, compactLayout: true, value: expression, onChange: persistExpression, initialData: initialData, columns: api.columnApi.internalApi.getQueryableColumnsForUIEditor(), namedQueries: api.namedQueryApi.getNamedQueries(), allowSaveNamedQuery: false, api: api, className: "twa:min-h-0 twa:overflow-hidden", style: { height: '100%' }, toolbarEnd: _jsxs(Flex, { className: "twa:gap-1 twa:shrink-0 twa:items-center", children: [_jsx(SimpleButton, { variant: "outlined", icon: "undo", "data-name": "compact-calcol-revert", disabled: !canRevert, onClick: revertExpression, children: "Revert" }), _jsx(SimpleButton, { variant: "outlined", icon: "edit", "data-name": "compact-calcol-open-full-editor", onClick: openFullEditor, children: "Open Full Editor" })] }) }) }) }) }));
140
+ }, header: `Edit Expression — ${title}`, glyphicon: "calculated-column", variant: "primary", children: _jsx(Box, { className: "twa:min-h-0 twa:overflow-hidden", style: { height: '100%' }, children: _jsx(ExpressionEditor, { type: editorType, scalarVariant: calculatedColumnType === 'Observable' ? 'observable' : undefined, suppressObservable: calculatedColumnType !== 'Observable', module: CalculatedColumnModuleId, isFullExpression: true, compactLayout: true, value: expression, onChange: persistExpression, initialData: initialData, columns: api.columnApi.internalApi.getQueryableColumnsForUIEditor(), namedQueries: api.namedQueryApi.getNamedQueries(), allowSaveNamedQuery: false, api: api, className: "twa:min-h-0 twa:overflow-hidden", style: { height: '100%' }, toolbarEnd: _jsxs(Flex, { className: "twa:gap-1 twa:shrink-0 twa:items-center", children: [_jsx(SimpleButton, { variant: "outlined", icon: "undo", "data-name": "compact-calcol-revert", disabled: !canRevert, onClick: revertExpression, children: "Revert" }), _jsx(SimpleButton, { variant: "outlined", icon: "edit", "data-name": "compact-calcol-open-full-editor", onClick: openFullEditor, children: "Open Full Editor" })] }) }) }) }) }));
141
141
  };
@@ -1081,7 +1081,7 @@ export function BaseEditorInput(props) {
1081
1081
  }, [])
1082
1082
  .filter((row) => row.length > 0);
1083
1083
  const showDocumentationLink = Boolean(props.documentationLink) && props.api.internalApi.isDocumentationLinksDisplayed();
1084
- return (_jsxs(Flex, { flexDirection: "column", className: isCompact ? 'twa:h-full twa:min-h-0 twa:overflow-hidden' : undefined, children: [_jsxs(Flex, { "data-name": "expression-toolbar", className: `${baseClassName} twa:pt-1 twa:pb-2 twa:mb-2 twa:mt-0 twa:w-full twa:shrink-0 ${isCompact ? 'twa:pb-1 twa:mb-1' : ''}`, flexDirection: "column", children: [_jsxs(Flex, { className: "twa:w-full twa:min-h-8 twa:items-center twa:justify-between twa:gap-2", children: [_jsx(Flex, { className: "twa:flex-wrap twa:items-center", children: (props.functionMenuVariant ?? 'legacy') === 'basic' ? (_jsx(BasicFunctionMenus, { expressionFunctions: menuExpressionFunctions, editorButtons: props.editorButtons, baseClassName: baseClassName, extraFunctionMenus: props.extraFunctionMenus, prioritizeObservableMenu: props.prioritizeObservableMenu, suppressObservableMenu: props.suppressObservableMenu, getInsertText: getMenuInsertText })) : isCompact ? (_jsx(CompactExpressionToolbar, { expressionFunctions: menuExpressionFunctions, columns: props.columnsDropdownItems ?? [], getInsertText: getMenuInsertText, toolbarFunctionNames: props.compactIncludeToolbarFunctions ? undefined : toolbarFunctionNames })) : (_jsx(_Fragment, { children: (() => {
1084
+ return (_jsxs(Flex, { flexDirection: "column", className: isCompact ? 'twa:h-full twa:min-h-0 twa:overflow-hidden' : undefined, children: [_jsxs(Flex, { "data-name": "expression-toolbar", className: `${baseClassName} twa:pt-1 twa:pb-2 twa:mb-2 twa:mt-0 twa:w-full twa:shrink-0 ${isCompact ? 'twa:pb-1 twa:mb-1' : ''}`, flexDirection: "column", children: [_jsxs(Flex, { className: "twa:w-full twa:min-h-8 twa:items-center twa:justify-between twa:gap-2", children: [_jsx(Flex, { className: "twa:flex-wrap twa:items-center", children: (props.functionMenuVariant ?? 'legacy') === 'basic' ? (_jsx(BasicFunctionMenus, { expressionFunctions: menuExpressionFunctions, editorButtons: props.editorButtons, baseClassName: baseClassName, extraFunctionMenus: props.extraFunctionMenus, prioritizeObservableMenu: props.prioritizeObservableMenu, suppressObservableMenu: props.suppressObservableMenu, getInsertText: getMenuInsertText })) : isCompact ? (_jsx(CompactExpressionToolbar, { expressionFunctions: menuExpressionFunctions, columns: props.columnsDropdownItems ?? [], getInsertText: getMenuInsertText, suppressObservable: props.suppressObservableMenu, toolbarFunctionNames: props.compactIncludeToolbarFunctions ? undefined : toolbarFunctionNames })) : (_jsx(_Fragment, { children: (() => {
1085
1085
  const menuVariant = props.functionMenuVariant;
1086
1086
  const isAggregatedVariant = menuVariant === 'aggregated';
1087
1087
  const whereStrip = menuVariant != null &&
@@ -24,5 +24,10 @@ export declare const CompactExpressionToolbar: React.FunctionComponent<{
24
24
  toolbarFunctionNames?: Set<string>;
25
25
  /** Pool-aware insert text (brace calls); defaults to the paren spelling. */
26
26
  getInsertText?: (functionName: string) => string;
27
+ /**
28
+ * When true (Standard Calculated Column), omit live sources and timeframe
29
+ * / history clauses from Functions. Observable compact keeps them.
30
+ */
31
+ suppressObservable?: boolean;
27
32
  }>;
28
33
  export {};
@@ -6,6 +6,7 @@ import { useExpressionEditor } from './EditorContext';
6
6
  import { getFunctionInsertText } from './functionInsertText';
7
7
  import { useLookupItems } from './useLookupItems';
8
8
  import StringExtensions from '../../../Utilities/Extensions/StringExtensions';
9
+ const OBSERVABLE_ONLY_CATEGORIES = new Set(['observable', 'timeframe', 'history']);
9
10
  const SIDEBAR_REFERENCE_FUNCTION_NAMES = new Set(['COL', 'FIELD', '$SCOPE']);
10
11
  const LOOKUP_FUNCTION_NAMES = new Set(['QUERY', 'VAR']);
11
12
  const EXCLUDED_FROM_COMPACT_FUNCTIONS = new Set([
@@ -22,10 +23,13 @@ const CATEGORY_ORDER = {
22
23
  numeric: 5,
23
24
  date: 6,
24
25
  changes: 7,
25
- general: 8,
26
- custom: 9,
26
+ history: 8,
27
+ timeframe: 9,
28
+ observable: 10,
29
+ general: 11,
30
+ custom: 12,
27
31
  };
28
- export const CompactExpressionToolbar = ({ expressionFunctions, columns, toolbarFunctionNames, getInsertText }) => {
32
+ export const CompactExpressionToolbar = ({ expressionFunctions, columns, toolbarFunctionNames, getInsertText, suppressObservable, }) => {
29
33
  const { expressionEditorRef } = useExpressionEditor();
30
34
  const { queryVariables, namedQueries, hasLookups } = useLookupItems(expressionFunctions);
31
35
  const insert = React.useCallback((text) => {
@@ -46,6 +50,9 @@ export const CompactExpressionToolbar = ({ expressionFunctions, columns, toolbar
46
50
  const category = typeof rawCategory === 'string' && rawCategory.trim() !== ''
47
51
  ? rawCategory.trim()
48
52
  : 'general';
53
+ if (suppressObservable && OBSERVABLE_ONLY_CATEGORIES.has(category)) {
54
+ continue;
55
+ }
49
56
  const existing = byCategory.get(category) ?? [];
50
57
  existing.push({ label: name, value: name, textLabel: name });
51
58
  byCategory.set(category, existing);
@@ -58,7 +65,7 @@ export const CompactExpressionToolbar = ({ expressionFunctions, columns, toolbar
58
65
  items: items.sort((a, b) => a.label.localeCompare(b.label)),
59
66
  }))
60
67
  .filter((group) => group.items.length > 0);
61
- }, [expressionFunctions, toolbarFunctionNames]);
68
+ }, [expressionFunctions, toolbarFunctionNames, suppressObservable]);
62
69
  const columnItems = React.useMemo(() => {
63
70
  return columns.map((column) => {
64
71
  const label = column.friendlyName || column.columnId;
@@ -93,7 +100,7 @@ export const CompactExpressionToolbar = ({ expressionFunctions, columns, toolbar
93
100
  }
94
101
  return groups;
95
102
  }, [namedQueries, queryVariables]);
96
- return (_jsxs(Flex, { className: "twa:flex-row twa:flex-wrap twa:items-center twa:gap-1", "data-name": "compact-expression-toolbar", children: [_jsx(CompactInsertCombobox, { dataName: "expression-functions-dropdown", placeholder: "Functions", widthClassName: "twa:w-[calc(6.75rem+2px)]", groups: functionGroups, onInsert: (functionName) => insert((getInsertText ?? getFunctionInsertText)(functionName)) }), columnItems.length > 0 ? (_jsx(CompactInsertCombobox, { dataName: "expression-columns-dropdown", placeholder: "Columns", items: columnItems, onInsert: (columnId) => insert(`[${columnId}]`) })) : null, hasLookups && lookupGroups.length > 0 ? (_jsx(CompactInsertCombobox, { dataName: "expression-lookups-dropdown", placeholder: "Lookups", groups: lookupGroups, onInsert: (value) => {
103
+ return (_jsxs(Flex, { className: "twa:flex-row twa:flex-wrap twa:items-center twa:gap-1", "data-name": "compact-expression-toolbar", children: [_jsx(CompactInsertCombobox, { dataName: "expression-functions-dropdown", placeholder: "Functions", widthClassName: "twa:w-[8.5rem]", groups: functionGroups, onInsert: (functionName) => insert((getInsertText ?? getFunctionInsertText)(functionName)) }), columnItems.length > 0 ? (_jsx(CompactInsertCombobox, { dataName: "expression-columns-dropdown", placeholder: "Columns", items: columnItems, onInsert: (columnId) => insert(`[${columnId}]`) })) : null, hasLookups && lookupGroups.length > 0 ? (_jsx(CompactInsertCombobox, { dataName: "expression-lookups-dropdown", placeholder: "Lookups", groups: lookupGroups, onInsert: (value) => {
97
104
  if (value.startsWith('var:')) {
98
105
  insert(`VAR('${value.slice(4)}')`);
99
106
  return;
@@ -11,7 +11,7 @@ export const ExpressionPreview = (props) => {
11
11
  const displayColumnFriendlyNames = adaptableApi.optionsApi.getExpressionOptions()?.displayColumnFriendlyNamesForExpressions;
12
12
  const text = props.expression ?? undefined;
13
13
  const expression = displayColumnFriendlyNames && text
14
- ? adaptableApi.expressionApi.getAdaptableQueryExpressionWithColumnFriendlyNames(text)
14
+ ? adaptableApi.expressionApi.getExpressionWithColumnFriendlyNames(text)
15
15
  : text;
16
16
  const canonical = toCanonical(expression);
17
17
  if (!canonical) {
@@ -32,8 +32,9 @@ interface ExpressionEditorProps {
32
32
  scalarVariant?: ScalarEditorVariant;
33
33
  /**
34
34
  * When true on a `scalar` editor, hide Observable chrome (Live chips, Observable
35
- * Function menu, brace completions) even if the module offers the observable
36
- * pool. Used by Change / Relative Change surfaces so they stay uncluttered.
35
+ * Function menu, brace completions, timeframe / history Functions) even if the
36
+ * module offers the observable pool. Used by Standard Calculated Columns and
37
+ * Change / Relative Change surfaces so they stay uncluttered.
37
38
  */
38
39
  suppressObservable?: boolean;
39
40
  module: AdaptableModule;
@@ -31,7 +31,7 @@ export const GroupEditor = ({ node, path, isRoot, dispatch, hideDelete, }) => {
31
31
  };
32
32
  return (_jsxs(Box, { className: cn('ab-QueryBuilder__group twa:my-1', !isRoot &&
33
33
  'twa:pl-3 twa:border-l twa:rounded-md twa:py-1 twa:pr-1 ' +
34
- 'twa:bg-(--ab-cmp-query-builder-group__background)'), children: [showHeader && (_jsxs(Flex, { alignItems: "center", className: "twa:gap-2 twa:my-1", children: [showCombinator && (_jsx(CombinatorSelector, { value: node.combinator, onChange: (combinator) => dispatch({ type: 'setCombinator', groupPath: path, combinator }) })), _jsx(Box, { className: "twa:flex-1" }), showGroupDelete && (_jsx(RowActions, { rail: qb.hideInlineAdd ? 'compact' : 'full', hideAdd: true, onDelete: () => dispatch({ type: 'delete', path }) }))] })), isEmpty ? (_jsx(PrimitiveEditor, { node: emptyQlPrimitive(), path: [...path, 0], dispatch: seedDispatch, hideAdd: true, hideDelete: true })) : (_jsxs(_Fragment, { children: [hideDragHandles ? (_jsx("div", { className: "ab-QueryBuilder__group-children", children: node.children.map((child, index) => (_jsx(Flex, { className: "ab-QueryBuilder__row", alignItems: "center", children: _jsx(Box, { className: "ab-QueryBuilder__row-body twa:flex-1 twa:min-w-0", children: _jsx(NodeEditor, { node: child, path: [...path, index], dispatch: dispatch }) }) }, `${listId}/${index}`))) })) : (_jsx(DragList, { dragListId: listId, orientation: "vertical", onDrop: handleDrop, onDragProxyMove: defaultDragProxyMove, children: (listDomProps) => (_jsx("div", { ...listDomProps, className: cn('ab-QueryBuilder__group-children', listDomProps.className), children: node.children.map((child, index) => {
34
+ 'twa:bg-(--ab-cmp-query-builder-group__background)'), children: [showHeader && (_jsxs(Flex, { alignItems: "center", className: "twa:gap-2 twa:my-1 twa:w-full", children: [showCombinator && (_jsx(CombinatorSelector, { value: node.combinator, onChange: (combinator) => dispatch({ type: 'setCombinator', groupPath: path, combinator }) })), _jsx(Box, { className: "twa:flex-1" }), showGroupDelete && (_jsx(RowActions, { rail: qb.hideInlineAdd ? 'compact' : 'full', hideAdd: true, onDelete: () => dispatch({ type: 'delete', path }) })), isRoot && showCombinator && qb.rootHeaderEnd] })), isEmpty ? (_jsx(PrimitiveEditor, { node: emptyQlPrimitive(), path: [...path, 0], dispatch: seedDispatch, hideAdd: true, hideDelete: true })) : (_jsxs(_Fragment, { children: [hideDragHandles ? (_jsx("div", { className: "ab-QueryBuilder__group-children", children: node.children.map((child, index) => (_jsx(Flex, { className: "ab-QueryBuilder__row", alignItems: "center", children: _jsx(Box, { className: "ab-QueryBuilder__row-body twa:flex-1 twa:min-w-0", children: _jsx(NodeEditor, { node: child, path: [...path, index], dispatch: dispatch }) }) }, `${listId}/${index}`))) })) : (_jsx(DragList, { dragListId: listId, orientation: "vertical", onDrop: handleDrop, onDragProxyMove: defaultDragProxyMove, children: (listDomProps) => (_jsx("div", { ...listDomProps, className: cn('ab-QueryBuilder__group-children', listDomProps.className), children: node.children.map((child, index) => {
35
35
  const childId = `${listId}/${index}`;
36
36
  return (_jsx(DragList.DraggableItem, { id: childId, children: (itemDomProps) => {
37
37
  const { onPointerDown, ...rest } = itemDomProps;
@@ -88,5 +88,10 @@ export interface QueryBuilderProps {
88
88
  * @defaultValue 'auto'
89
89
  */
90
90
  layout?: QueryBuilderLayoutMode;
91
+ /**
92
+ * Extra control on the right of the root AND/OR row, once there are
93
+ * two or more conditions. Hidden while the editor has a single condition.
94
+ */
95
+ rootHeaderEnd?: React.ReactNode;
91
96
  }
92
97
  export declare const QueryBuilder: React.FunctionComponent<QueryBuilderProps>;
@@ -104,7 +104,7 @@ export const QueryBuilder = (props) => {
104
104
  : 'query-builder2-invalid-expression', className: "twa:my-2 twa:w-full twa:max-w-full twa:text-2 twa:leading-snug twa:bg-background twa:text-foreground", children: _jsxs(Flex, { flexDirection: "column", className: "twa:gap-3", alignItems: "flex-start", children: [_jsxs(Flex, { flexDirection: "column", className: "twa:gap-2", children: [_jsx(Box, { children: primaryLine }), typeMismatchMessages.map((message) => (_jsx(Box, { children: message }, message))), _jsx(Box, { children: "Please edit the Expression in the Expression Editor." })] }), clearExpressionButton] }) }));
105
105
  }
106
106
  else if (!isQlPredicateError(root) && isQlGroup(root)) {
107
- body = (_jsx(QueryBuilderProvider, { module: props.module, columnScope: props.columnScope, getColumns: props.getColumns, getFields: props.getFields, subject: props.subject, hideInlineAdd: props.hideInlineAdd ?? true, hideAddGroup: props.hideAddGroup, hideLockedSubject: props.hideLockedSubject, hideDragHandles: props.hideDragHandles, layout: props.layout ?? 'auto', children: props.hideDragHandles ? (_jsx(Box, { "data-name": "query-builder2-editor", className: "twa:my-2", children: _jsx(NodeEditor, { node: root, path: [], isRoot: true, dispatch: dispatch }) })) : (_jsx(DragDropProvider, { children: _jsx(Box, { "data-name": "query-builder2-editor", className: "twa:my-2", children: _jsx(NodeEditor, { node: root, path: [], isRoot: true, dispatch: dispatch }) }) })) }));
107
+ body = (_jsx(QueryBuilderProvider, { module: props.module, columnScope: props.columnScope, getColumns: props.getColumns, getFields: props.getFields, subject: props.subject, hideInlineAdd: props.hideInlineAdd ?? true, hideAddGroup: props.hideAddGroup, hideLockedSubject: props.hideLockedSubject, hideDragHandles: props.hideDragHandles, layout: props.layout ?? 'auto', rootHeaderEnd: props.rootHeaderEnd, children: props.hideDragHandles ? (_jsx(Box, { "data-name": "query-builder2-editor", className: "twa:my-2", children: _jsx(NodeEditor, { node: root, path: [], isRoot: true, dispatch: dispatch }) })) : (_jsx(DragDropProvider, { children: _jsx(Box, { "data-name": "query-builder2-editor", className: "twa:my-2", children: _jsx(NodeEditor, { node: root, path: [], isRoot: true, dispatch: dispatch }) }) })) }));
108
108
  }
109
109
  return (_jsxs(Box, { className: twMerge(QUERY_BUILDER_CLASSNAME, QUERY_BUILDER_LAYOUT_CLASS[props.layout ?? 'auto']), children: [body, !props.hideExpressionPreview && (_jsxs(Card, { shadow: false, className: "twa:mt-12", children: [_jsxs(Card.Title, { className: "twa:justify-between twa:gap-2", children: [_jsxs(Flex, { flexDirection: "column", className: "twa:min-w-0 twa:gap-0.5", children: [_jsx(Box, { className: "twa:font-medium", children: "Output Expression" }), _jsx(Box, { className: "twa:text-xs twa:opacity-70 twa:font-normal", children: cannotDisplayInQueryBuilder
110
110
  ? 'Readonly view of the current Expression'
@@ -7,6 +7,7 @@ import * as ModuleConstants from '../../../Utilities/Constants/ModuleConstants';
7
7
  import { cn } from '../../../lib/utils';
8
8
  import { useAdaptable } from '../../../View/AdaptableContext';
9
9
  import AdaptableInput from '../../../View/Components/AdaptableInput';
10
+ import { AdaptableDateInlineInput } from '../../../View/Components/AdaptableInput/AdaptableDateInlineInput';
10
11
  import { FloatingFilterValues } from '../../../View/Filter/ColumnFilter/components/FloatingFilterValues';
11
12
  import { QueryBuilderColumnSelector } from './QueryBuilderColumnSelector';
12
13
  import { FieldSelector } from '../../../View/Components/Selectors/FieldSelector';
@@ -96,7 +97,7 @@ export const PrimitiveColumnOrFieldSelector = (props) => {
96
97
  input = (_jsx(Box, { "data-id": "query-input-row-display", "data-name": "qb2-whole-row", "data-slot": "select-trigger", className: subjectPillClassName, children: "Whole Row" }));
97
98
  }
98
99
  else {
99
- input = (_jsx(Box, { "data-id": "query-input-scope-display", "data-slot": "select-trigger", className: subjectPillClassName, children: scopeMeta?.description ?? '$SCOPE' }));
100
+ input = (_jsx(Box, { "data-id": "query-input-scope-display", "data-slot": "select-trigger", className: subjectPillClassName, children: "Scoped Columns" }));
100
101
  }
101
102
  const typeOptions = [
102
103
  {
@@ -155,8 +156,12 @@ export const PrimitiveColumnOrFieldSelector = (props) => {
155
156
  };
156
157
  export const PrimitiveValueInput = (props) => {
157
158
  const adaptable = useAdaptable();
158
- const { layout } = useQueryBuilder();
159
+ const { layout, module } = useQueryBuilder();
159
160
  const isStackedLayout = layout === 'stacked';
161
+ const showDatePicker = adaptable.api.optionsApi.getFilterOptions().showDatePicker;
162
+ const useInlineDateInput = !showDatePicker &&
163
+ (module === ModuleConstants.ColumnFilterModuleId ||
164
+ module === ModuleConstants.GridFilterModuleId);
160
165
  const allowedModes = props.allowedModes ?? DEFAULT_QUERY_BUILDER_INPUT_MODES;
161
166
  const hasFields = React.useMemo(() => {
162
167
  return adaptable.api.expressionApi.internalApi.getAvailableFields()?.length > 0;
@@ -218,6 +223,11 @@ export const PrimitiveValueInput = (props) => {
218
223
  } }));
219
224
  case 'date': {
220
225
  const dateStr = typeof currentLiteralValue === 'string' ? currentLiteralValue : '';
226
+ if (useInlineDateInput) {
227
+ return (_jsx(AdaptableDateInlineInput, { ...common, value: dateStr, onChange: (value) => {
228
+ props.onChange(value ? literalOf('date', value) : undefined);
229
+ } }));
230
+ }
221
231
  return (_jsx(AdaptableInput, { ...common, type: "date", value: dateStr, onChange: (event) => {
222
232
  const raw = event.target.value;
223
233
  props.onChange(literalOf('date', raw));
@@ -109,6 +109,12 @@ export interface QueryBuilderContextValue {
109
109
  * narrow (container query).
110
110
  */
111
111
  layout?: QueryBuilderLayoutMode;
112
+ /**
113
+ * Extra control rendered on the right of the root group's AND/OR row.
114
+ * Shown only once that row exists (≥2 conditions). Used by the column
115
+ * filter popups for Clear All.
116
+ */
117
+ rootHeaderEnd?: React.ReactNode;
112
118
  }
113
119
  export declare const useQueryBuilder: () => QueryBuilderContextValue;
114
120
  export interface QueryBuilderProviderProps {
@@ -123,6 +129,7 @@ export interface QueryBuilderProviderProps {
123
129
  hideLockedSubject?: boolean;
124
130
  hideDragHandles?: boolean;
125
131
  layout?: QueryBuilderLayoutMode;
132
+ rootHeaderEnd?: React.ReactNode;
126
133
  children: React.ReactNode;
127
134
  }
128
135
  /**
@@ -11,7 +11,7 @@ export const useQueryBuilder = () => {
11
11
  }
12
12
  return context;
13
13
  };
14
- export const QueryBuilderProvider = ({ module, columnScope, getColumns, getFields, subject, hideInlineAdd, hideAddGroup, hideLockedSubject, hideDragHandles, layout = 'auto', children, }) => {
14
+ export const QueryBuilderProvider = ({ module, columnScope, getColumns, getFields, subject, hideInlineAdd, hideAddGroup, hideLockedSubject, hideDragHandles, layout = 'auto', rootHeaderEnd, children, }) => {
15
15
  const adaptable = useAdaptable();
16
16
  const api = adaptable.api;
17
17
  const lockedSubject = React.useMemo(() => {
@@ -72,6 +72,7 @@ export const QueryBuilderProvider = ({ module, columnScope, getColumns, getField
72
72
  hideLockedSubject,
73
73
  hideDragHandles,
74
74
  layout,
75
+ rootHeaderEnd,
75
76
  };
76
77
  }, [
77
78
  module,
@@ -88,6 +89,7 @@ export const QueryBuilderProvider = ({ module, columnScope, getColumns, getField
88
89
  hideLockedSubject,
89
90
  hideDragHandles,
90
91
  layout,
92
+ rootHeaderEnd,
91
93
  ]);
92
94
  return _jsx(QueryBuilderContext.Provider, { value: value, children: children });
93
95
  };
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
3
- PUBLISH_TIMESTAMP: 1791295847529 || Date.now(),
4
- VERSION: "24.0.0-canary.0" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1793185013782 || Date.now(),
4
+ VERSION: "24.0.0-canary.10" || '--current-version--',
5
5
  };
@@ -7,4 +7,4 @@ export declare function normalizeTableLayoutModel(layout: TableLayoutModel, opti
7
7
  export declare function normalizePivotLayoutModel(layout: PivotLayoutModel): PivotLayoutModel;
8
8
  export declare function normalizeLayoutModel(layout: TableLayoutModel | PivotLayoutModel, options?: {
9
9
  isTree: boolean;
10
- }): PivotLayoutModel | TableLayoutModel;
10
+ }): TableLayoutModel | PivotLayoutModel;
@@ -1,4 +1,4 @@
1
1
  import { PivotLayoutModel, TableLayoutModel } from './LayoutManagerModel';
2
2
  export declare function simplifyTableLayoutModel(layout: TableLayoutModel): TableLayoutModel;
3
3
  export declare function simplifyPivotLayoutModel(layout: PivotLayoutModel): PivotLayoutModel;
4
- export declare function simplifyLayoutModel(layout: TableLayoutModel | PivotLayoutModel): PivotLayoutModel | TableLayoutModel;
4
+ export declare function simplifyLayoutModel(layout: TableLayoutModel | PivotLayoutModel): TableLayoutModel | PivotLayoutModel;