@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
@@ -13,37 +13,149 @@ type AdaptableReducerObject = {
13
13
  [key: string]: (...args: any[]) => any;
14
14
  };
15
15
  /**
16
- * Base class for all AdapTable Plugins
16
+ * Base class for an AdapTable plugin (OpenFin, ipushpull, interop.io, Master-Detail).
17
+ *
18
+ * Construct the plugin with its options and pass the instance in `AdaptableOptions.plugins`. The lifecycle methods run in the order they are declared.
17
19
  */
18
20
  export declare abstract class AdaptablePlugin {
21
+ /**
22
+ * Options the plugin was constructed with.
23
+ */
19
24
  options?: any;
25
+ /**
26
+ * Named callbacks the plugin registers for AdapTable to call.
27
+ */
20
28
  private values;
29
+ /**
30
+ * Id of this plugin. AdapTable uses it to find the plugin and its state.
31
+ */
21
32
  pluginId: string;
22
33
  constructor(options?: any);
34
+ /**
35
+ * Registers a named callback for AdapTable to call later via {@link AdaptablePlugin.getProperty}.
36
+ *
37
+ * @param name Callback name
38
+ * @param fn Function AdapTable will invoke
39
+ */
23
40
  registerProperty(name: string, fn: (...args: any) => any): void;
41
+ /**
42
+ * Returns a function that calls the callback registered under `name`.
43
+ *
44
+ * The returned function does nothing when no callback is registered.
45
+ *
46
+ * @param name Callback name passed to {@link AdaptablePlugin.registerProperty}
47
+ * @returns A function that invokes the registered callback
48
+ */
24
49
  getProperty(name: string): any;
50
+ /**
51
+ * Adds the plugin's reducers to AdapTable's store.
52
+ */
25
53
  rootReducer?: (rootReducer: AdaptableReducerObject) => AdaptableReducerObject;
54
+ /**
55
+ * Redux middleware the plugin adds to the store.
56
+ */
26
57
  reduxMiddleware?: (adaptable: IAdaptable) => Redux.Middleware;
58
+ /**
59
+ * Whether a callback was registered under `name`.
60
+ *
61
+ * @param name Callback name passed to {@link AdaptablePlugin.registerProperty}
62
+ * @returns `true` when that callback exists
63
+ */
27
64
  hasProperty(name: string): boolean;
65
+ /**
66
+ * Runs before AdapTable initialises. Change `adaptableOptions` or the AG Grid options here.
67
+ *
68
+ * @param adaptableOptions Options about to be used
69
+ * @param agGridOptions AG Grid options about to be used
70
+ */
28
71
  beforeInit(adaptableOptions: AdaptableOptions, agGridOptions: AgGridConfig): void;
72
+ /**
73
+ * Runs after AdapTable Options have been normalised.
74
+ *
75
+ * @param adaptable The AdapTable instance
76
+ * @param adaptableOptions Normalised options
77
+ */
29
78
  afterInitOptions(adaptable: IAdaptable, adaptableOptions: AdaptableOptions): void;
79
+ /**
80
+ * Runs after `adaptableApi` exists.
81
+ *
82
+ * @param adaptable The AdapTable instance
83
+ * @param api AdapTable API
84
+ */
30
85
  afterInitApi(adaptable: IAdaptable, api: AdaptableApi): void;
86
+ /**
87
+ * Runs after AdapTable's internal services exist.
88
+ *
89
+ * @param adaptable The AdapTable instance
90
+ */
31
91
  afterInitServices(adaptable: IAdaptable): void;
92
+ /**
93
+ * Runs after Initial State has been loaded into the store.
94
+ *
95
+ * @param adaptable The AdapTable instance
96
+ */
32
97
  afterInitialStateLoaded(adaptable: IAdaptable): void;
98
+ /**
99
+ * Runs after AdapTable modules have been created.
100
+ *
101
+ * @param adaptable The AdapTable instance
102
+ * @param strategies Modules, keyed by module name
103
+ */
33
104
  afterInitModules(adaptable: IAdaptable, strategies: Map<AdaptableModule, IModule>): void;
105
+ /**
106
+ * Runs after the AdapTable store exists.
107
+ *
108
+ * @param adaptable The AdapTable instance
109
+ */
34
110
  afterInitStore(adaptable: IAdaptable): void;
111
+ /**
112
+ * Runs at the end of initialisation, before `AdaptableReady`.
113
+ *
114
+ * @param ab The AdapTable instance
115
+ */
35
116
  afterInit(ab: IAdaptable): void;
117
+ /**
118
+ * Runs after each Layout is applied.
119
+ *
120
+ * @param adaptable The AdapTable instance
121
+ * @param layout Layout that was applied
122
+ */
36
123
  afterSetLayout(adaptable: IAdaptable, layout: Layout): void;
124
+ /**
125
+ * Runs synchronously before a store action is reduced.
126
+ *
127
+ * @param eventName Redux action type
128
+ * @param data Action and the state before it is applied
129
+ * @param adaptableStore AdapTable store
130
+ */
37
131
  onBeforeStoreEvent(eventName: string, data: {
38
132
  action: Redux.Action;
39
133
  state: AdaptableState;
40
134
  }, adaptableStore: IAdaptableStore): void;
135
+ /**
136
+ * Runs after a store action has been reduced.
137
+ *
138
+ * @param eventName Redux action type
139
+ * @param data Action, the state before it, and the state after it
140
+ * @param adaptableStore AdapTable store
141
+ */
41
142
  onStoreEvent(eventName: string, data: {
42
143
  action: Redux.Action;
43
144
  state: AdaptableState;
44
145
  newState: AdaptableState;
45
146
  }, adaptableStore: IAdaptableStore): void;
147
+ /**
148
+ * Runs when AdapTable fires `AdaptableReady`.
149
+ *
150
+ * @param adaptable The AdapTable instance
151
+ * @param adaptableOptions Options the instance was created with
152
+ */
46
153
  onAdaptableReady(adaptable: IAdaptable, adaptableOptions: AdaptableOptions): void;
154
+ /**
155
+ * Changes one AG Grid column property while AdapTable is building the column.
156
+ *
157
+ * Return the value to use, or `undefined` to leave the current value.
158
+ */
47
159
  interceptSetupColumnProperty?: <T extends keyof ColDef>(columnSetupInfo: ColumnSetupInfo, propertyName: T, currentValue: ColDef[T] | undefined, api: AdaptableApi) => ColDef[T] | undefined;
48
160
  }
49
161
  export {};
@@ -11,7 +11,6 @@ export interface AlertOptions<TData = any> {
11
11
  * How many alerts held in State at any one time; when limit is breached, oldest alert will be removed
12
12
  *
13
13
  * @defaultValue 20
14
- * @noCodeItem
15
14
  */
16
15
  maxAlertsInStore?: number;
17
16
  /**
@@ -58,7 +57,6 @@ export interface AlertOptions<TData = any> {
58
57
  * Shows Alert if Primary Key column in Adaptable Options is not present or incorrect
59
58
  *
60
59
  * @defaultValue false
61
- * @noCodeItem
62
60
  * @uiLabel Show Missing Primary Key Warning
63
61
  */
64
62
  showMissingPrimaryKeyAlert?: boolean;
@@ -1,13 +1,14 @@
1
1
  import { ExternalChartDefinition } from '../AdaptableState/ChartingState';
2
2
  import { BaseContext } from '../types';
3
3
  /**
4
- * Options for managing AG Grid's Charts
4
+ * How charts are saved and where they open.
5
+ *
6
+ * AG Grid chart definitions the user saves are stored in Charting state. These options decide whether that happens automatically, and which element a chart is drawn into.
5
7
  */
6
8
  export interface ChartingOptions {
7
9
  /**
8
10
  * Behaviour for saving Charts: auto, manual (via popup) or none
9
11
  * @defaultValue 'none'
10
- * @noCodeItem
11
12
  */
12
13
  saveChartBehaviour?: SaveChartBehaviour;
13
14
  /**
@@ -18,16 +19,21 @@ export interface ChartingOptions {
18
19
  */
19
20
  restoreChartsOnReady?: boolean | 'all' | string[];
20
21
  /**
21
- * Locations to display saved Charts
22
+ * Elements a saved chart can be drawn into, offered by name when the user opens a chart.
23
+ *
24
+ * Omit this to open charts only in AG Grid's own window.
22
25
  */
23
26
  chartContainers?: ChartContainer[];
24
27
  /**
25
- * Name of AG Grid Chart Container
28
+ * Name shown for AG Grid's own chart window in the container list.
29
+ *
26
30
  * @defaultValue 'AG Grid Window'
27
31
  */
28
32
  agGridContainerName?: string;
29
33
  /**
30
- * Set of properties for managing behaviour of external (i.e non AG Grid) charts
34
+ * Show, hide, delete and preview for charts that are not AG Grid charts.
35
+ *
36
+ * Required when the chart is drawn by the application. AdapTable calls these instead of opening an AG Grid chart.
31
37
  *
32
38
  * @defaultValue {}
33
39
  */
@@ -30,10 +30,25 @@ export interface CustomColumnMenuContext<TData = any> extends ColumnMenuContext<
30
30
  * Default structure of AG Grid Menu Items
31
31
  */
32
32
  defaultAgGridMenuStructure: (AgGridMenuItem<AgGridColumnMenuItemType> | {
33
+ /**
34
+ * Always `Group`. The item is a submenu of AG Grid column-menu entries.
35
+ */
33
36
  menuType: 'Group';
37
+ /**
38
+ * Text of the submenu.
39
+ */
34
40
  label: string;
41
+ /**
42
+ * AG Grid column-menu entries shown when the submenu opens.
43
+ */
35
44
  subMenuItems: AgGridMenuItem<AgGridColumnMenuItemType>[];
45
+ /**
46
+ * When `true`, the submenu cannot be opened.
47
+ */
36
48
  disabled?: boolean;
49
+ /**
50
+ * Icon drawn next to the submenu label.
51
+ */
37
52
  icon?: AdaptableIcon;
38
53
  })[];
39
54
  }
@@ -45,10 +60,25 @@ export type CustomColumnMenuItem = AgGridMenuItem<AgGridColumnMenuItemType> | Ad
45
60
  * Defines a Grouped Menu Item in the Column Menu
46
61
  */
47
62
  export type CustomGroupColumnMenuItem = {
63
+ /**
64
+ * Always `Group`. The item is a submenu, not a clickable command.
65
+ */
48
66
  menuType: 'Group';
67
+ /**
68
+ * Text of the submenu.
69
+ */
49
70
  label: string;
71
+ /**
72
+ * Items shown when the submenu opens.
73
+ */
50
74
  subMenuItems: CustomColumnMenuItem[];
75
+ /**
76
+ * When `true`, the submenu cannot be opened.
77
+ */
51
78
  disabled?: boolean;
79
+ /**
80
+ * Icon drawn next to the submenu label.
81
+ */
52
82
  icon?: AdaptableIcon;
53
83
  };
54
84
  /**
@@ -28,14 +28,12 @@ export interface ColumnOptions {
28
28
  * Log warning to console if AdapTable cannot find a column
29
29
  *
30
30
  * @defaultValue true
31
- * @noCodeItem
32
31
  */
33
32
  showMissingColumnsWarning?: boolean;
34
33
  /**
35
34
  * Appends the name of the Column Group to a Column's Friendly Name
36
35
  *
37
36
  * @defaultValue false
38
- * @noCodeItem
39
37
  */
40
38
  addColumnGroupToColumnFriendlyName?: boolean;
41
39
  }
@@ -1,6 +1,8 @@
1
1
  import { CommentThread, BaseContext, GridCell } from '../types';
2
2
  /**
3
- * Options for managing Comments and Comment Threads in AdapTable
3
+ * Comments on cells. A thread is the list of comments for one cell.
4
+ *
5
+ * Comments are not stored in AdapTable State. The application loads them with {@link loadCommentThreads} and saves them with {@link persistCommentThreads}.
4
6
  */
5
7
  export interface CommentOptions<TData = any> {
6
8
  /**
@@ -8,12 +10,18 @@ export interface CommentOptions<TData = any> {
8
10
  */
9
11
  isCellCommentable?: (commentableCellContext: CommentableCellContext) => boolean;
10
12
  /**
11
- * Loads the Comment Threads
13
+ * Loads every comment thread when the grid starts.
14
+ *
15
+ * @param commentLoadContext The grid the comments belong to
16
+ * @returns The threads to show. An empty list when there are none
12
17
  */
13
18
  loadCommentThreads?(commentLoadContext: CommentLoadContext): Promise<CommentThread[]>;
14
19
  /**
15
- * Persists the current Comment Threads
16
- * @param commentThreads
20
+ * Saves the threads after a comment is added, edited or deleted.
21
+ *
22
+ * Called with the full set, not only the thread that changed.
23
+ *
24
+ * @param commentThreads Every thread, including the one that just changed
17
25
  */
18
26
  persistCommentThreads?(commentThreads: CommentThread[]): Promise<void>;
19
27
  /**
@@ -40,10 +40,25 @@ export type CustomContextMenuItem = AgGridMenuItem<AgGridContextMenuItemType> |
40
40
  * Defines a Grouped Menu Item in the Context Menu
41
41
  */
42
42
  export type CustomGroupContextMenuItem = {
43
+ /**
44
+ * Always `Group`. The item is a submenu, not a clickable command.
45
+ */
43
46
  menuType: 'Group';
47
+ /**
48
+ * Text of the submenu.
49
+ */
44
50
  label: string;
51
+ /**
52
+ * Items shown when the submenu opens.
53
+ */
45
54
  subMenuItems: CustomContextMenuItem[];
55
+ /**
56
+ * When `true`, the submenu cannot be opened.
57
+ */
46
58
  disabled?: boolean;
59
+ /**
60
+ * Icon drawn next to the submenu label.
61
+ */
47
62
  icon?: AdaptableIcon;
48
63
  };
49
64
  /**
@@ -126,12 +141,27 @@ export type AgGridContextMenuItemType = 'autoSizeAll' | 'expandAll' | 'contractA
126
141
  */
127
142
  export type DefaultAdaptableMenuStructure = (AdaptableSystemContextMenuItem<AdaptableContextMenuItemName> | MenuSeparator)[];
128
143
  /**
129
- * AG Grid section of Context Menu provided by AadapTable by default
144
+ * AG Grid section of the Context Menu that AdapTable provides by default.
130
145
  */
131
146
  export type DefaultAgGridMenuStructure = (AgGridMenuItem<AgGridContextMenuItemType> | {
147
+ /**
148
+ * Always `Group`. The item is a submenu of AG Grid context-menu entries.
149
+ */
132
150
  menuType: 'Group';
151
+ /**
152
+ * Text of the submenu.
153
+ */
133
154
  label: string;
155
+ /**
156
+ * AG Grid context-menu entries shown when the submenu opens.
157
+ */
134
158
  subMenuItems: AgGridMenuItem<AgGridContextMenuItemType>[];
159
+ /**
160
+ * When `true`, the submenu cannot be opened.
161
+ */
135
162
  disabled?: boolean;
163
+ /**
164
+ * Icon drawn next to the submenu label.
165
+ */
136
166
  icon?: AdaptableIcon;
137
167
  })[];
@@ -11,14 +11,12 @@ export interface DashboardOptions {
11
11
  * Whether the Dashboard can be floated; if true (the default), double-clicking Dashboard puts it in float mode
12
12
  *
13
13
  * @defaultValue true
14
- * @noCodeItem
15
14
  */
16
15
  canFloat?: boolean;
17
16
  /**
18
17
  * Shows Quick Search input in Dashboard Header
19
18
  *
20
19
  * @defaultValue true
21
- * @noCodeItem
22
20
  */
23
21
  showQuickSearchInHeader?: boolean;
24
22
  /**
@@ -32,7 +30,6 @@ export interface DashboardOptions {
32
30
  /**
33
31
  * Where in Dashboard to display Module and Custom Buttons
34
32
  * @defaultValue 'right'
35
- * @noCodeItem
36
33
  */
37
34
  buttonsLocation?: DashboardButtonsLocation;
38
35
  }
@@ -8,7 +8,6 @@ export interface DataChangeHistoryOptions<TData = any> {
8
8
  * Make Data Change History active by default
9
9
  *
10
10
  * @defaultValue false
11
- * @noCodeItem
12
11
  */
13
12
  activeByDefault?: boolean;
14
13
  /**
@@ -32,7 +31,6 @@ export interface DataChangeHistoryOptions<TData = any> {
32
31
  * How many data changes are held in State at any one time; when limit is reached, oldest change(s) are deleted from memory
33
32
  *
34
33
  * @defaultValue undefined (all data changes are logged)
35
- * @noCodeItem
36
34
  */
37
35
  maxDataChangesInStore?: number;
38
36
  }
@@ -69,5 +67,8 @@ export interface DataChangeHistoryContext<TData = any> extends ActionColumnConte
69
67
  * A custom AdaptableButton which provides a build in `undo` action
70
68
  */
71
69
  export interface DataChangeHistoryButton<TData = any> extends AdaptableButton<DataChangeHistoryContext<TData>> {
70
+ /**
71
+ * Built-in action the button runs. `'undo'` restores the previous value. `'clear'` removes the change from the log.
72
+ */
72
73
  action?: AdaptableDataChangeHistoryAction;
73
74
  }
@@ -1,5 +1,5 @@
1
1
  import * as GeneralConstants from '../Utilities/Constants/GeneralConstants';
2
- import { getGraySwatchColor, getSwatchColorVar } from '../Utilities/Helpers/UIHelper';
2
+ import { themeColorVar } from '../Utilities/Helpers/UIHelper';
3
3
  import { ACCESS_LEVEL_FULL, EMPTY_STRING, EMPTY_ARRAY, DEFAULT_DATE_FORMAT_PATTERN_WITH_TIME, SYSTEM_REPORT_NAMES, SYSTEM_REPORT_FORMATS, SYSTEM_EXPORT_DESTINATIONS, } from '../Utilities/Constants/GeneralConstants';
4
4
  import { addUuidsToInitialState } from '../Utilities/Helpers/AdaptableHelper';
5
5
  import { defaultsDeep } from '../Utilities/Extensions/ObjectExtensions';
@@ -200,13 +200,13 @@ const DefaultAdaptableOptions = {
200
200
  defaultFlashDuration: 500,
201
201
  defaultFlashTarget: 'cell',
202
202
  defaultDownChangeStyle: {
203
- BackColor: getSwatchColorVar(18),
203
+ BackColor: themeColorVar('flash-down'),
204
204
  },
205
205
  defaultUpChangeStyle: {
206
- BackColor: getSwatchColorVar(7),
206
+ BackColor: themeColorVar('flash-up'),
207
207
  },
208
208
  defaultNeutralChangeStyle: {
209
- BackColor: getGraySwatchColor(),
209
+ BackColor: themeColorVar('flash-neutral'),
210
210
  },
211
211
  },
212
212
  formatColumnOptions: {
@@ -279,7 +279,7 @@ const DefaultAdaptableOptions = {
279
279
  position: undefined,
280
280
  size: undefined,
281
281
  customSettingsPanels: undefined,
282
- gridInfoTabs: ['Grid Options', 'Grid Summary', 'Grid State'],
282
+ gridInfoTabs: ['Grid Summary', 'Layout', 'Grid State', 'Grid Options'],
283
283
  },
284
284
  wizardOptions: {
285
285
  popupType: undefined,
@@ -334,6 +334,12 @@ const DefaultAdaptableOptions = {
334
334
  showOutsideDays: true,
335
335
  datepickerButtons: ['close', 'today'],
336
336
  },
337
+ colourPickerOptions: {
338
+ tabs: ['Custom', 'Palette'],
339
+ orderPaletteColours: true,
340
+ removeDuplicates: true,
341
+ showGroupLabels: false,
342
+ },
337
343
  editableCellStyle: undefined,
338
344
  readOnlyCellStyle: undefined,
339
345
  editedCellStyle: undefined,
@@ -29,11 +29,15 @@ export interface EditOptions<TData = any> {
29
29
  */
30
30
  customEditColumnValues?: (context: CustomEditColumnValuesContext<TData>) => CustomEditColumnValueInfo[] | Promise<CustomEditColumnValueInfo[]>;
31
31
  /**
32
- * Options for Plus Minus module (keyboard increment / decrement)
32
+ * Keys that nudge a numeric cell up or down.
33
+ *
34
+ * A Plus Minus rule can set its own key. These are the keys used when it does not.
33
35
  */
34
36
  plusMinusOptions?: PlusMinusOptions;
35
37
  /**
36
- * Options for Smart Edit module
38
+ * Extra Smart Edit operations, beyond the ones AdapTable ships.
39
+ *
40
+ * A Smart Edit applies one operation to every selected cell.
37
41
  */
38
42
  smartEditOptions?: SmartEditOptions<TData>;
39
43
  }
@@ -58,14 +62,26 @@ export interface CustomEditColumnValuesContext<TData = any> extends AdaptableCol
58
62
  * Information about items in the Edit Controls
59
63
  */
60
64
  export interface EditColumnValueInfo {
65
+ /**
66
+ * Value written into the cell when this item is chosen.
67
+ */
61
68
  value: any;
69
+ /**
70
+ * Text shown for this item. The value is shown when this is omitted.
71
+ */
62
72
  label?: string;
63
73
  }
64
74
  /**
65
75
  * Information about items in the custom Edit Controls
66
76
  */
67
77
  export interface CustomEditColumnValueInfo {
78
+ /**
79
+ * Value written into the cell when this item is chosen.
80
+ */
68
81
  value: any;
82
+ /**
83
+ * Text shown for this item. The value is shown when this is omitted.
84
+ */
69
85
  label?: string;
70
86
  }
71
87
  /**
@@ -257,14 +257,37 @@ export interface ExportFormContext extends FormContext {
257
257
  /**
258
258
  * Type of Export result data: string (CSV), ReportData (JSON), or Blob (Excel)
259
259
  */
260
+ /**
261
+ * Data produced by an export, or returned from `processExport` to replace AdapTable's output.
262
+ *
263
+ * `type` selects the shape of `data`.
264
+ */
260
265
  export type ExportResultData = {
266
+ /**
267
+ * CSV export.
268
+ */
261
269
  type: 'csv';
270
+ /**
271
+ * CSV text.
272
+ */
262
273
  data: string;
263
274
  } | {
275
+ /**
276
+ * JSON export.
277
+ */
264
278
  type: 'json';
279
+ /**
280
+ * Columns and rows of the report.
281
+ */
265
282
  data: ReportData;
266
283
  } | {
284
+ /**
285
+ * Excel export.
286
+ */
267
287
  type: 'excel';
288
+ /**
289
+ * Excel file contents. A `Blob`, or a base64 string.
290
+ */
268
291
  data: Blob | string;
269
292
  };
270
293
  /**
@@ -166,14 +166,12 @@ export interface ExpressionOptions<TData = any> {
166
166
  * Reference a Column's Header (i.e. FriendlyName) in all Expression overviews (instead of ColumnId)
167
167
  *
168
168
  * @defaultValue true
169
- * @noCodeItem
170
169
  */
171
170
  displayColumnFriendlyNamesForExpressions?: boolean;
172
171
  /**
173
172
  * Perform case-sensitive text comparisons when evaluating Expressions
174
173
  *
175
174
  * @defaultValue false
176
- * @noCodeItem
177
175
  */
178
176
  caseSensitiveExpressions?: boolean;
179
177
  /**
@@ -186,7 +184,6 @@ export interface ExpressionOptions<TData = any> {
186
184
  * When an `IN` right-hand value is an ISO string containing `T`, the exact instant is used regardless.
187
185
  *
188
186
  * @defaultValue false
189
- * @noCodeItem
190
187
  */
191
188
  evaluateDatesUsingTime?: boolean | ((context: AdaptableColumnContext) => boolean);
192
189
  /**