@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
@@ -1,11 +1,13 @@
1
1
  import { BaseState } from './BaseState';
2
2
  import { AdaptableObject } from './Common/AdaptableObject';
3
3
  /**
4
- * Adaptable State Section for Named Query Module
4
+ * Named Query section of Adaptable State, including Initial State.
5
+ *
6
+ * Each query is a scalar AdapTableQL expression other expressions can call with `QUERY('Name')`. Aggregations are not allowed. `ReturnType` defaults to `'boolean'`, which can be used as a Grid Filter or Alert rule.
5
7
  */
6
8
  export interface NamedQueryState extends BaseState {
7
9
  /**
8
- * Named Queries which can be referenced in other Expressions
10
+ * Named Queries other expressions can reference with `QUERY('Name')`.
9
11
  */
10
12
  NamedQueries?: NamedQuery[];
11
13
  }
@@ -32,13 +34,23 @@ export interface NamedQuery extends AdaptableObject {
32
34
  */
33
35
  Description?: string;
34
36
  /**
35
- * Declared return type of the Expression.
36
- * Defaults to `'boolean'` when omitted (preserves legacy InitialState).
37
+ * Return type of the expression. When omitted, the query is treated as `'boolean'` and can be used as a Grid Filter or Alert rule.
37
38
  */
38
39
  ReturnType?: NamedQueryReturnType;
39
40
  }
41
+ /**
42
+ * A Grid Filter expression kept for this session so it can be offered again in the editor.
43
+ *
44
+ * Session state only. It is not part of Initial State and it is not persisted.
45
+ */
40
46
  export interface CachedQuery {
47
+ /**
48
+ * Expression text that was applied.
49
+ */
41
50
  expression: string;
51
+ /**
52
+ * When the expression was applied.
53
+ */
42
54
  time: Date;
43
55
  }
44
56
  /**
@@ -2,16 +2,20 @@ import { AdaptableObject } from '../types';
2
2
  import { BaseState } from './BaseState';
3
3
  import { AdaptableMessageType } from './Common/AdaptableMessageType';
4
4
  /**
5
- * Adaptable State Section for Note Module
5
+ * Note section of Adaptable State, including Initial State.
6
+ *
7
+ * A Note is one piece of text on one cell, located by `PrimaryKeyValue` and `ColumnId`. It is separate from a Comment thread and from a Free Text Column. `NoteType` defaults to `'Info'` and colours the cell indicator.
6
8
  */
7
9
  export interface NoteState extends BaseState {
8
10
  /**
9
- * Collection of AdapTable Notes
11
+ * Notes to show. One note occupies one cell.
10
12
  */
11
13
  Notes?: AdaptableNotes;
12
14
  }
13
15
  /**
14
- * Note that can be applied to a Cell in AdapTable
16
+ * One piece of text attached to one cell.
17
+ *
18
+ * `PrimaryKeyValue` and `ColumnId` locate the cell. `Text` is the note. `NoteType` colours the indicator and defaults to `'Info'`.
15
19
  */
16
20
  export interface AdaptableNote extends AdaptableObject {
17
21
  /**
@@ -1,14 +1,24 @@
1
1
  import { BaseState } from './BaseState';
2
2
  import { AdaptableObject } from './Common/AdaptableObject';
3
3
  /**
4
- * Internal State used by AdapTable for managing the OpenFin plugin
4
+ * OpenFin session state.
5
+ *
6
+ * Held under transient `Plugins` state for the current session. It is not part of Initial State and it is not persisted.
5
7
  */
6
8
  export interface OpenFinState extends BaseState {
9
+ /**
10
+ * Report currently streaming to OpenFin. Absent when live data is stopped.
11
+ */
7
12
  CurrentLiveOpenFinReport?: OpenFinReport;
13
+ /**
14
+ * Report name selected in the OpenFin UI.
15
+ */
8
16
  OpenFinCurrentReportName?: string;
9
17
  }
10
18
  /**
11
- * An OpenFin report
19
+ * A report streaming to OpenFin.
20
+ *
21
+ * `ReportName` is a report in Export state.
12
22
  */
13
23
  export interface OpenFinReport extends AdaptableObject {
14
24
  /**
@@ -2,16 +2,20 @@ import { BaseState } from './BaseState';
2
2
  import { ColumnScope, NumberScopeDataType } from './Common/ColumnScope';
3
3
  import { SuspendableObject } from '../types';
4
4
  /**
5
- * Adaptable State Section for Plus Minus Module
5
+ * Plus Minus section of Adaptable State, including Initial State.
6
+ *
7
+ * Each nudge adds or subtracts `NudgeValue` from numeric cells in `Scope`. The increment key adds `NudgeValue`; the decrement key subtracts it. A nudge's own keys override `plusMinusOptions`, which override the default `+` and `-` keys.
6
8
  */
7
9
  export interface PlusMinusState extends BaseState {
8
10
  /**
9
- * Array of Plus Minus Nudges
11
+ * Nudges to apply. Each one names numeric columns, the amount, and optional keys.
10
12
  */
11
13
  PlusMinusNudges?: PlusMinusNudge[];
12
14
  }
13
15
  /**
14
- * Defines a Plus Minus Rule - used in the Plus Minus Module
16
+ * Adds or subtracts a fixed amount from numeric cells.
17
+ *
18
+ * `Scope` is numeric columns only. The increment key sets the cell to its current value plus `NudgeValue`; the decrement key subtracts `NudgeValue`. Omit `Rule` to apply the nudge on every row in scope. Suspend with `IsSuspended`.
15
19
  */
16
20
  export interface PlusMinusNudge extends SuspendableObject {
17
21
  /**
@@ -23,7 +27,7 @@ export interface PlusMinusNudge extends SuspendableObject {
23
27
  */
24
28
  Scope: ColumnScope<NumberScopeDataType>;
25
29
  /**
26
- * Amount by which to update cell when Rule is applied
30
+ * Amount added by the increment key and subtracted by the decrement key.
27
31
  */
28
32
  NudgeValue: number;
29
33
  /**
@@ -1,17 +1,45 @@
1
1
  import { ScreenPopup, ConfirmationPopup, PromptPopup, WindowPopup, FormPopup } from '../Utilities/Interface/MessagePopups';
2
2
  import { BaseState } from './BaseState';
3
3
  import { ProgressIndicatorConfig } from './Common/ProgressIndicatorConfig';
4
+ /**
5
+ * Progress indicator for this session, plus whether it is currently showing.
6
+ *
7
+ * Session state only. It is not part of Initial State and it is not persisted.
8
+ */
4
9
  export interface ProgressIndicator extends ProgressIndicatorConfig {
10
+ /**
11
+ * Whether the progress indicator is on screen.
12
+ */
5
13
  active: boolean;
6
14
  }
7
15
  /**
8
- * Internal state to manage open popups - NOT persisted by Redux
16
+ * Popups open in this session.
17
+ *
18
+ * Session state only. It is not part of Initial State and it is not persisted. Each property is always present. Its `ShowScreenPopup`, `ShowConfirmationPopup` or equivalent flag is false when that popup is closed.
9
19
  */
10
20
  export interface PopupState extends BaseState {
21
+ /**
22
+ * Full-screen popup, when one is open.
23
+ */
11
24
  ScreenPopup: ScreenPopup;
25
+ /**
26
+ * Window popup, when one is open.
27
+ */
12
28
  WindowPopup: WindowPopup;
29
+ /**
30
+ * Form popup, when one is open.
31
+ */
13
32
  FormPopup: FormPopup;
33
+ /**
34
+ * Confirmation popup, when one is open.
35
+ */
14
36
  ConfirmationPopup: ConfirmationPopup;
37
+ /**
38
+ * Prompt popup, when one is open.
39
+ */
15
40
  PromptPopup: PromptPopup;
41
+ /**
42
+ * Progress indicator and whether it is showing.
43
+ */
16
44
  ProgressIndicator: ProgressIndicator;
17
45
  }
@@ -1,7 +1,9 @@
1
1
  import { AdaptableStyle } from './Common/AdaptableStyle';
2
2
  import { BaseState } from './BaseState';
3
3
  /**
4
- * Adaptable State Section for Quick Search Module
4
+ * Quick Search section of Adaptable State, including Initial State.
5
+ *
6
+ * `QuickSearchText` is the search restored at startup. `CellMatchStyle` highlights matching cells. `TextMatchStyle` and `CurrentTextMatchStyle` highlight the matching text inside a cell; those two styles are not available with the Server-Side Row Model.
5
7
  */
6
8
  export interface QuickSearchState extends BaseState {
7
9
  /**
@@ -13,11 +15,15 @@ export interface QuickSearchState extends BaseState {
13
15
  */
14
16
  CellMatchStyle?: Omit<AdaptableStyle, 'ClassName'>;
15
17
  /**
16
- * Style used to highlight matching text within a cell (not availale in SSRM)
18
+ * Style used to highlight matching text within a cell (not available with the Server-Side Row Model)
19
+ *
20
+ * @defaultValue `var(--ab-color-quick-search-match)` background and `var(--ab-color-quick-search-match-foreground)` text
17
21
  */
18
22
  TextMatchStyle?: Omit<AdaptableStyle, 'ClassName'>;
19
23
  /**
20
- * Style used to highlight matching text within current match (not availale in SSRM)
24
+ * Style used to highlight the current match within a cell (not available with the Server-Side Row Model)
25
+ *
26
+ * @defaultValue `var(--ab-color-quick-search-current-match)` background, `var(--ab-color-quick-search-current-match-foreground)` text, bold
21
27
  */
22
28
  CurrentTextMatchStyle?: Omit<AdaptableStyle, 'ClassName'>;
23
29
  }
@@ -1,15 +1,17 @@
1
1
  import { IRowNode } from 'ag-grid-enterprise';
2
2
  import { AdaptableColumn } from '../Common/AdaptableColumn';
3
3
  /**
4
- * Very lightweight object to define an AdapTable Cell
4
+ * A cell located by its primary key and column id.
5
+ *
6
+ * Used wherever AdapTable names one cell: Notes, Comments, highlights and other cell lookups.
5
7
  */
6
8
  export type CellAddress = {
7
9
  /**
8
- * Value in Primary Key Column
10
+ * Value in the primary key column for the row.
9
11
  */
10
12
  PrimaryKeyValue: string | number;
11
13
  /**
12
- * Id of Column containing the Note
14
+ * Column id of the cell.
13
15
  */
14
16
  ColumnId: string;
15
17
  };
@@ -1,26 +1,27 @@
1
1
  /**
2
- * Defines a range of Cell - used in Grid Api Selection methods
3
- * Typically use either PrimaryKey Values or Row Indexes
2
+ * A rectangular cell selection passed to `selectCellRange`.
3
+ *
4
+ * `columnIds` is required. The rows are resolved from primary keys when `primaryKeyValueEnd` is set: the start row is `primaryKeyValueStart` and the end row is `primaryKeyValueEnd`. When `primaryKeyValueEnd` is omitted, both rows are resolved from `rowIndexStart` and `rowIndexEnd`. A range with only `primaryKeyValueStart` is resolved by row index. Omit `rowIndexEnd` and the range is the single start row.
4
5
  */
5
6
  export interface GridCellRange {
6
7
  /**
7
- * Columns to select
8
+ * Column ids in the selection. Required.
8
9
  */
9
10
  columnIds: string[];
10
11
  /**
11
- * Primary Key value of row at start of range
12
+ * Primary key of the first row. Used when `primaryKeyValueEnd` is set.
12
13
  */
13
14
  primaryKeyValueStart?: any;
14
15
  /**
15
- * Primary Key value of row at end of range
16
+ * Primary key of the last row. When this is set, both row ends are resolved by primary key.
16
17
  */
17
18
  primaryKeyValueEnd?: any;
18
19
  /**
19
- * Index of row at start of range
20
+ * Index of the first row. Used when `primaryKeyValueEnd` is omitted.
20
21
  */
21
22
  rowIndexStart?: any;
22
23
  /**
23
- * Index of row at end of range
24
+ * Index of the last row. Used when `primaryKeyValueEnd` is omitted. When this is omitted too, the range is the single start row.
24
25
  */
25
26
  rowIndexEnd?: any;
26
27
  }
@@ -9,7 +9,7 @@ export interface SelectedCellInfo<TData = any> {
9
9
  */
10
10
  columns: AdaptableColumn<TData>[];
11
11
  /**
12
- * Array of GridCells (which provide cell value, primary kev value and other info)
12
+ * Selected cells. Each entry has the cell value, the Primary Key value and the column. Empty when nothing is selected.
13
13
  */
14
14
  gridCells: GridCell<TData>[];
15
15
  }
@@ -2,16 +2,20 @@ import { BaseState } from './BaseState';
2
2
  import { ColumnScope, NumberScopeDataType } from './Common/ColumnScope';
3
3
  import { SuspendableObject } from '../types';
4
4
  /**
5
- * Adaptable State Section for Shortcut Module
5
+ * Shortcut section of Adaptable State, including Initial State.
6
+ *
7
+ * Each shortcut updates a numeric cell while its editor is open and `ShortcutKey` is pressed. The cell value is the first operand and `ShortcutValue` is the second. `ShortcutOperation` is `'Add'`, `'Subtract'`, `'Multiply'` or `'Divide'`. The first shortcut whose key and scope match is used. A `ShortcutValue` of `0` is ignored.
6
8
  */
7
9
  export interface ShortcutState extends BaseState {
8
10
  /**
9
- * Collection of Shortcuts - designed to speed up data entry
11
+ * Shortcuts to apply. Each one names numeric columns, a key, an operation and the second operand.
10
12
  */
11
13
  Shortcuts?: Shortcut[];
12
14
  }
13
15
  /**
14
- * Used to define a Shortcut as used in Shortcut State
16
+ * A key that updates a numeric cell with an arithmetic operation.
17
+ *
18
+ * `Scope` is numeric columns only. Pressing `ShortcutKey` sets the cell to `cellValue` combined with `ShortcutValue` by `ShortcutOperation`. Suspend with `IsSuspended`.
15
19
  */
16
20
  export interface Shortcut extends SuspendableObject {
17
21
  /**
@@ -1,12 +1,13 @@
1
1
  import { BaseState } from '../types';
2
2
  import { AdaptableStatusBarPanel } from './Common/Types';
3
3
  /**
4
- * Adaptable State Section for the Adaptable Status Bar
4
+ * Status Bar section of Adaptable State, including Initial State.
5
+ *
6
+ * Each entry is one AG Grid status panel. Its `Key` must match `gridOptions.statusBar.statusPanels[].key`, and that panel's `statusPanel` must be `'AdaptableStatusPanel'`. AG Grid places the panel with `align`: `'left'`, `'center'` or `'right'`. When `StatusBars` is omitted, no AdapTable status bars are shown.
5
7
  */
6
8
  export interface StatusBarState extends BaseState {
7
9
  /**
8
- * Adaptable Status Bars to display - can be unlimited and displayed in 3 locations
9
- * @defaultValue null
10
+ * Status bars to show. Each `Key` matches an AG Grid `statusPanels` entry whose component is `AdaptableStatusPanel`.
10
11
  */
11
12
  StatusBars?: AdaptableStatusBar[];
12
13
  }
@@ -15,15 +16,15 @@ export interface StatusBarState extends BaseState {
15
16
  */
16
17
  export declare const ADAPTABLE_STATUS_PANEL = "AdaptableStatusPanel";
17
18
  /**
18
- * Defines an Adaptable Status Bar
19
+ * One AdapTable status bar, rendered inside an AG Grid status panel.
19
20
  */
20
21
  export interface AdaptableStatusBar {
21
22
  /**
22
- * Key of Status Bar Panel as defined in AG Grid GridOptions - ensure keys are the same (note: AG Grid statusPanel is lowercase 'key')
23
+ * Must equal the `key` of an AG Grid `statusPanels` entry (AG Grid spells the property `key`). That entry's `statusPanel` is `'AdaptableStatusPanel'`.
23
24
  */
24
25
  Key: string;
25
26
  /**
26
- * Module Status Panels to render inside Adaptable Status Bar
27
+ * AdapTable module panels drawn inside this status bar.
27
28
  */
28
29
  StatusBarPanels?: AdaptableStatusBarPanel[];
29
30
  }
@@ -10,60 +10,92 @@ import { RangeBarStyle } from './StyledColumns/RangeBarStyle';
10
10
  import { RatingStyle } from './StyledColumns/RatingStyle';
11
11
  import { SparklineStyle } from './StyledColumns/SparklineStyle';
12
12
  /**
13
- * Adaptable State Section for Styled Column Module
13
+ * Styled Column section of Adaptable State, including Initial State.
14
+ *
15
+ * Each entry replaces the normal cell rendering of one column with a single visual style.
14
16
  */
15
17
  export interface StyledColumnState extends BaseState {
16
18
  /**
17
- * Collection of Styled Columns
19
+ * Styled Columns to apply. Each one names a column and sets exactly one style property.
18
20
  */
19
21
  StyledColumns?: StyledColumn[];
20
22
  }
21
23
  /**
22
- * Core Styled Column object
24
+ * One column drawn with a Styled Column.
25
+ *
26
+ * Set exactly one of `GradientStyle`, `PercentBarStyle`, `BulletChartStyle`, `RangeBarStyle`, `RatingStyle`, `IconStyle`, `BadgeStyle` or `SparklineStyle`. The Settings Panel edits them as alternatives and clears the others when the type changes.
27
+ *
28
+ * If a cell-renderer style is combined with another, AdapTable uses the first match in this order: Percent Bar, Bullet Chart, Range Bar, Rating, Icon, Badge, Sparkline. `GradientStyle` is the cell background rather than a replacement renderer, so it still paints when it is set.
29
+ *
30
+ * Suspend with `IsSuspended` (inherited from {@link SuspendableObject}). A suspended Styled Column is kept in state and is not drawn.
23
31
  */
24
32
  export interface StyledColumn extends SuspendableObject {
25
33
  /**
26
- * Unique Name of Styled Column - used to identify it in Adaptable UI and APIs
34
+ * Name shown in the Settings Panel and used by `styledColumnApi` to find this definition.
35
+ *
36
+ * Unique among Styled Columns.
27
37
  */
28
38
  Name: string;
29
39
  /**
30
- * Id of Column being styled
40
+ * `colId` of the column this style draws.
41
+ *
42
+ * AdapTable uses the first Styled Column with this `ColumnId`.
31
43
  */
32
44
  ColumnId: string;
33
45
  /**
34
- * Which rows will render the Styled Column (data / group / summary total)
46
+ * Which row kinds draw the style: data (leaf) rows, group rows, summary rows and grand-total rows.
47
+ *
48
+ * Each `Exclude*` flag turns that kind off. When `RowScope` is omitted, Badge draws on every row kind and every other style draws on every kind except group rows.
49
+ *
50
+ * Sparkline ignores this for non-data rows: it only draws on leaf rows, because the cell value has to be the array of points.
35
51
  */
36
52
  RowScope?: RowScope;
37
53
  /**
38
- * Styles a numeric column with a Gradient
54
+ * Numeric column. Tints the cell background by where the value sits in a range.
55
+ *
56
+ * The cell text stays. Set `CellRanges` for bands (a traffic-light scale), or `ZeroCentred` for a diverging colour either side of 0. `ColumnComparison` measures this cell against another column. `RangeValueType` is `Number` (the default) or `Percentage` (0–100).
39
57
  */
40
58
  GradientStyle?: GradientStyle;
41
59
  /**
42
- * Styles a numeric column so each cell displays a 'Bar'
60
+ * Numeric column. Draws a bar whose length is the cell value on the column's scale.
61
+ *
62
+ * `CellRanges` colours the bar by which band the value falls in. `Origin` is where the bar grows from: `Auto` (the default), `Zero`, `Min`, or a fixed number. `ColumnComparison` measures the cell against another column.
43
63
  */
44
64
  PercentBarStyle?: PercentBarStyle;
45
65
  /**
46
- * Displays a Sparkline Chart in an array column
66
+ * Numeric-array column. The cell value is the series, and AG Grid's sparkline renderer draws it.
67
+ *
68
+ * `options` is an AG Charts sparkline options object (`type: 'line'`, `'bar'`, `'area'` or `'column'`). Only leaf data rows are drawn.
47
69
  */
48
70
  SparklineStyle?: SparklineStyle;
49
71
  /**
50
- * Displays cell values in Column as a Badge
72
+ * Any column. Draws the cell value as a pill. A `numberArray` or `textArray` column draws one pill per element; other array types are drawn as a single value.
73
+ *
74
+ * `Badges` is the list of pill definitions. A `Rule` is an AdapTableQL boolean expression, evaluated per cell (and per element on a number or text array). Rules are tried in list order and the first match wins. A badge with no `Rule` is the fallback when no rule matches; if several have no rule, the first of those is used. `Density`, `Spacing` and `OverflowMode` (`Truncate`, `Wrap` or `Scroll`) apply to the whole column.
51
75
  */
52
76
  BadgeStyle?: BadgeStyle;
53
77
  /**
54
- * Styles a numeric column with single-row Bullet Chart, showing value as bar, target as marker and optional bands behind bar
78
+ * Numeric column. Draws a bullet chart in the cell: the value as a bar, a target as a marker, and optional qualitative bands behind the bar.
79
+ *
80
+ * `CellRanges` colours those background bands (poor / ok / good). They are not a colour switch for the bar itself, which is what Percent Bar uses `CellRanges` for. `TargetProperties` supplies the target. `Orientation` is `Horizontal` (the default) or `Vertical`; a vertical chart needs a tall row.
55
81
  */
56
82
  BulletChartStyle?: BulletChartStyle;
57
83
  /**
58
- * Styles a numeric column as a Rating - row of icons filled according to cell value
84
+ * Numeric column. Draws a row of icons (stars by default) filled in proportion to the cell value.
85
+ *
86
+ * `Max` is both the number of icons and the top of the scale, in the same units as the cell value. The default is 5, so a value of 4 fills four of five stars. The value is clamped to `[0, Max]`. `AllowHalf` (the default) fills the boundary icon by the fraction; otherwise the value rounds to a whole icon. `Icon` is `Star`, `Heart`, `Circle` or `Thumb`.
59
87
  */
60
88
  RatingStyle?: RatingStyle;
61
89
  /**
62
- * Styles a numeric column as Range Bar - track showing where cell value sits between Min and Max
90
+ * Numeric column. Draws a track from `Min` to `Max` and a marker at the cell value.
91
+ *
92
+ * `Min` and `Max` are required. Each can be a number, another column's `colId` (that row's value), or `Col-Min`, `Col-Max`, `Col-Avg` or `Col-Median` across the visible rows. `Reference` is an optional second marker (a target or a previous close). `CellRanges` draws background bands on the track.
63
93
  */
64
94
  RangeBarStyle?: RangeBarStyle;
65
95
  /**
66
- * Styles a column where each cell displays an icon looked up from a list of key → icon mappings
96
+ * Scalar column. Looks the cell value up in `Mappings` (and an optional `Preset`) and draws the matching icon.
97
+ *
98
+ * Array columns are not supported; use `BadgeStyle` to draw one glyph per array element. `Preset` is `Flags`, `Currencies`, `Trend` or `Status`. `MatchMode` is `Exact` (the default) or `CaseInsensitive`. When nothing matches, `FallbackProperties.Mode` is `Hide` (the default), `ShowText` or `Icon`.
67
99
  */
68
100
  IconStyle?: IconStyle;
69
101
  }
@@ -7,10 +7,14 @@ import { NumericStyledColumn } from './Common/NumericStyledColumn';
7
7
  export interface ZeroCentredColors {
8
8
  /**
9
9
  * Colour applied to negative cell values (`Col-Min`…`0`)
10
+ *
11
+ * @defaultValue `var(--ab-color-destructive)`
10
12
  */
11
13
  NegativeColor: string;
12
14
  /**
13
15
  * Colour applied to positive cell values (`0`…`Col-Max`)
16
+ *
17
+ * @defaultValue `var(--ab-color-success)`
14
18
  */
15
19
  PositiveColor: string;
16
20
  }
@@ -138,18 +138,35 @@ export interface CustomSharedEntity<T = any> {
138
138
  Tags?: AdaptableObjectTag[];
139
139
  }
140
140
  /**
141
- * Defines Objects which have been imported into Team Sharing
141
+ * How one module imports a shared object.
142
+ *
143
+ * Used while a Team Share is applied. It is not part of Initial State. `ModuleEntities` are the objects already in that module. `AddAction` adds an imported object. `EditAction` updates an existing one.
142
144
  */
143
145
  export interface TeamSharingImportInfo<T extends AdaptableObject> {
146
+ /**
147
+ * Objects of this module that are already in local state.
148
+ */
144
149
  ModuleEntities: T[];
150
+ /**
151
+ * Action creator that adds one imported object.
152
+ */
145
153
  AddAction: (entity: T) => any;
154
+ /**
155
+ * Action creator that updates one imported object.
156
+ */
146
157
  EditAction: (entity: T) => any;
147
158
  }
148
159
  /**
149
160
  * Describes an AdaptableObject which is being Team Shared
150
161
  */
151
162
  export interface AdaptableSharedEntityConfig {
163
+ /**
164
+ * Description stored on the shared object.
165
+ */
152
166
  description: string;
167
+ /**
168
+ * `Snapshot` shares the object once (`Revision` stays 1). `Active` keeps it linked and increases `Revision` when the object changes.
169
+ */
153
170
  type: SharedEntityType;
154
171
  }
155
172
  /**
@@ -174,15 +191,42 @@ export interface CustomSharedEntityConfig {
174
191
  Tags?: AdaptableObjectTag[];
175
192
  }
176
193
  /**
177
- * Type of Shared Entity - Snapshot or Active
194
+ * How a Team Share behaves.
195
+ *
196
+ * `Snapshot` is a one-time copy (`Revision` stays 1). `Active` stays linked to the original and its `Revision` increases when that object changes.
178
197
  */
179
198
  export type SharedEntityType = 'Snapshot' | 'Active';
199
+ /**
200
+ * One shared object and the Redux action that imports it.
201
+ *
202
+ * Produced while an import is running. It is not part of Initial State.
203
+ */
180
204
  export interface TeamSharingImportStep {
205
+ /**
206
+ * Shared AdapTable object being imported.
207
+ */
181
208
  sharedEntity: AdaptableSharedEntity;
209
+ /**
210
+ * Redux action that applies this object to local state.
211
+ */
182
212
  importAction: Redux.Action;
183
213
  }
214
+ /**
215
+ * Active shares whose remote revision is newer than the revision last applied locally.
216
+ *
217
+ * Keyed by the shared entity `Uuid`. Session data used to decide whether to show an update. It is not part of Initial State.
218
+ */
184
219
  export type SharedEntityActiveStatus = Record<TypeUuid, {
220
+ /**
221
+ * The remote shared object.
222
+ */
185
223
  sharedEntity: AdaptableSharedEntity;
224
+ /**
225
+ * Revision of the copy last applied locally.
226
+ */
186
227
  importedRevision: number;
228
+ /**
229
+ * Revision currently on the shared object.
230
+ */
187
231
  sharedRevision: number;
188
232
  }>;
@@ -6,11 +6,13 @@ import { TypeHint } from './Common/Types';
6
6
  */
7
7
  export type SystemThemeName = TypeHint<string, 'light' | 'dark' | 'os'>;
8
8
  /**
9
- * Theme section of Adaptable State
9
+ * Theme section of Adaptable State, including Initial State.
10
+ *
11
+ * `CurrentTheme` is `'light'` (the default), `'dark'`, or `'os'`. `SystemThemes` limits which shipped themes are offered. Omit it to offer all of them.
10
12
  */
11
13
  export interface ThemeState extends BaseState {
12
14
  /**
13
- * Name of current Theme or theme set at startup; leave blank if using 'Light Theme', set to 'dark' for 'Dark Theme'
15
+ * Shipped theme that is active: `'light'`, `'dark'`, or `'os'` (follows the operating system). When omitted, the theme is `'light'`.
14
16
  */
15
17
  CurrentTheme?: SystemThemeName;
16
18
  /**
@@ -53,10 +55,30 @@ export type SystemThemeEntry = SystemThemeName | SystemThemeOptions;
53
55
  * @deprecated User-defined themes are deprecated; customise shipped themes via CSS variables and use SystemThemeOptions for AG Grid pairing
54
56
  */
55
57
  export interface AdaptableTheme extends AdaptableObject {
58
+ /**
59
+ * Theme name. For a shipped theme this is `light`, `dark` or `os`.
60
+ */
56
61
  Name: string;
62
+ /**
63
+ * Text shown for this theme in the theme list.
64
+ */
57
65
  Description: string;
66
+ /**
67
+ * CSS class of a legacy AG Grid theme.
68
+ *
69
+ * @deprecated Unused with the AG Grid Theming API. Pair a shipped theme with an AG Grid mode via {@link SystemThemeOptions.AgThemeMode}.
70
+ */
58
71
  AgGridClassName?: string;
72
+ /**
73
+ * CSS variables this theme sets, keyed by variable name (for example `--ab-color-primary`).
74
+ */
59
75
  CSSVariables?: Record<string, string>;
76
+ /**
77
+ * Whether the theme is a light or dark palette. Used when AdapTable picks contrasting UI colours.
78
+ */
60
79
  Variant?: 'light' | 'dark';
80
+ /**
81
+ * AG Grid theme mode applied with this theme: `light`, `dark`, `dark-blue`, or a custom mode defined in AG Grid.
82
+ */
61
83
  AgThemeMode?: TypeHint<string, 'light' | 'dark' | 'dark-blue'>;
62
84
  }
@@ -1,12 +1,15 @@
1
1
  import { BaseState } from './BaseState';
2
2
  import { AdaptableModuleButtons, AdaptableToolPanel } from './Common/Types';
3
3
  /**
4
- * Adaptable State Section for the AdapTable ToolPanel
4
+ * Tool Panel section of Adaptable State, including Initial State.
5
+ *
6
+ * `ToolPanels` is the list of panels and whether each is expanded or collapsed. When it is omitted, AdapTable shows a collapsed panel for every module and for every custom tool panel. `ModuleButtons` are the shortcut buttons in the tool panel; the default is an empty list.
5
7
  */
6
8
  export interface ToolPanelState extends BaseState {
7
9
  /**
8
- * Adaptable Tool Panels which are viaible
9
- * @defaultValue ToolPanels for all available Modules (subject to Entitlement rules)
10
+ * Tool panels to show, and whether each is expanded or collapsed.
11
+ *
12
+ * When omitted, every module and every custom tool panel is included, collapsed.
10
13
  */
11
14
  ToolPanels?: AdaptableToolPanelDefinition[];
12
15
  /**
@@ -16,7 +19,9 @@ export interface ToolPanelState extends BaseState {
16
19
  ModuleButtons?: AdaptableModuleButtons;
17
20
  }
18
21
  /**
19
- * Defines a ToolPanel - Name and VisibilityMode (Expanded / Collapsed)
22
+ * One tool panel.
23
+ *
24
+ * `Name` is an AdapTable module or a custom panel from Tool Panel Options. `VisibilityMode` is `'expanded'` (the panel body is open) or `'collapsed'` (only the header is shown). The default is `'collapsed'`.
20
25
  */
21
26
  export interface AdaptableToolPanelDefinition {
22
27
  /**
@@ -24,7 +29,7 @@ export interface AdaptableToolPanelDefinition {
24
29
  */
25
30
  Name: AdaptableToolPanel | string;
26
31
  /**
27
- * Whether the ToolPanel is 'expanded' or 'collapsed'
32
+ * `'expanded'` shows the panel body. `'collapsed'` shows only the header.
28
33
  * @defaultValue 'collapsed'
29
34
  */
30
35
  VisibilityMode?: 'expanded' | 'collapsed';
@@ -1,8 +1,8 @@
1
1
  import { BaseState } from './BaseState';
2
2
  /**
3
- * Adaptable State Section for the User Interface
3
+ * User Interface section of Adaptable State, including Initial State.
4
4
  *
5
- * Controls the visibility and behaviour of AdapTable UI elements
5
+ * `HideAdaptableUI` hides the Dashboard, Tool Panel, Status Bar, and the column and context menus. The default is false.
6
6
  */
7
7
  export interface UserInterfaceState extends BaseState {
8
8
  /**