@adaptabletools/adaptable 24.0.0-canary.8 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/agGrid.d.ts +2 -3
  2. package/agGrid.js +2 -3
  3. package/aql.d.ts +29 -1
  4. package/aql.js +49 -1
  5. package/devtools.d.ts +55 -1
  6. package/index.css +0 -19
  7. package/index.d.ts +2 -3
  8. package/index.js +2 -3
  9. package/package.json +1 -1
  10. package/src/AdaptableOptions/ActionColumnOptions.d.ts +24 -0
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +97 -69
  12. package/src/AdaptableOptions/AdaptablePlugin.d.ts +113 -1
  13. package/src/AdaptableOptions/AlertOptions.d.ts +0 -2
  14. package/src/AdaptableOptions/ChartingOptions.d.ts +11 -5
  15. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +30 -0
  16. package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
  17. package/src/AdaptableOptions/CommentOptions.d.ts +12 -4
  18. package/src/AdaptableOptions/ContextMenuOptions.d.ts +31 -1
  19. package/src/AdaptableOptions/DashboardOptions.d.ts +0 -3
  20. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -2
  21. package/src/AdaptableOptions/EditOptions.d.ts +18 -2
  22. package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
  23. package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
  24. package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
  25. package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
  26. package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
  27. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
  28. package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
  29. package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
  30. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +10 -1
  31. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
  32. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +6 -2
  33. package/src/AdaptableState/AdaptableState.d.ts +98 -4
  34. package/src/AdaptableState/AlertState.d.ts +20 -21
  35. package/src/AdaptableState/ApplicationState.d.ts +5 -3
  36. package/src/AdaptableState/BaseState.d.ts +9 -2
  37. package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
  38. package/src/AdaptableState/ChartingState.d.ts +10 -5
  39. package/src/AdaptableState/CommentState.d.ts +10 -4
  40. package/src/AdaptableState/Common/AdaptableAlert.d.ts +6 -2
  41. package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
  42. package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
  43. package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
  44. package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
  45. package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
  46. package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
  47. package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
  48. package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
  49. package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
  50. package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
  51. package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
  52. package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
  53. package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
  54. package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
  55. package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
  56. package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
  57. package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
  58. package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
  59. package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
  60. package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
  61. package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
  62. package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
  63. package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
  64. package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
  65. package/src/AdaptableState/Common/Enums.d.ts +21 -0
  66. package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
  67. package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
  68. package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
  69. package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
  70. package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
  71. package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
  72. package/src/AdaptableState/Common/RowScope.d.ts +3 -1
  73. package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
  74. package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
  75. package/src/AdaptableState/Common/Schedule.d.ts +10 -2
  76. package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
  77. package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
  78. package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
  79. package/src/AdaptableState/Common/Types.d.ts +9 -0
  80. package/src/AdaptableState/CustomSortState.d.ts +8 -5
  81. package/src/AdaptableState/DashboardState.d.ts +14 -10
  82. package/src/AdaptableState/ExportState.d.ts +12 -4
  83. package/src/AdaptableState/FlashingCellState.d.ts +8 -5
  84. package/src/AdaptableState/FormatColumnState.d.ts +28 -8
  85. package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
  86. package/src/AdaptableState/IPushPullState.d.ts +39 -3
  87. package/src/AdaptableState/InitialState.d.ts +9 -9
  88. package/src/AdaptableState/InternalState.d.ts +183 -3
  89. package/src/AdaptableState/LayoutState.d.ts +64 -21
  90. package/src/AdaptableState/NamedQueryState.d.ts +16 -4
  91. package/src/AdaptableState/NoteState.d.ts +7 -3
  92. package/src/AdaptableState/OpenFinState.d.ts +12 -2
  93. package/src/AdaptableState/PlusMinusState.d.ts +8 -4
  94. package/src/AdaptableState/PopupState.d.ts +29 -1
  95. package/src/AdaptableState/QuickSearchState.d.ts +5 -3
  96. package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
  97. package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
  98. package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
  99. package/src/AdaptableState/ShortcutState.d.ts +7 -3
  100. package/src/AdaptableState/StatusBarState.d.ts +7 -6
  101. package/src/AdaptableState/StyledColumnState.d.ts +46 -14
  102. package/src/AdaptableState/TeamSharingState.d.ts +46 -2
  103. package/src/AdaptableState/ThemeState.d.ts +24 -2
  104. package/src/AdaptableState/ToolPanelState.d.ts +10 -5
  105. package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
  106. package/src/AdaptableState/Uuid.d.ts +6 -0
  107. package/src/Api/ActionColumnApi.d.ts +3 -1
  108. package/src/Api/AdaptableApi.d.ts +54 -50
  109. package/src/Api/AlertApi.d.ts +20 -12
  110. package/src/Api/ApplicationApi.d.ts +6 -2
  111. package/src/Api/BulkUpdateApi.d.ts +2 -1
  112. package/src/Api/CalculatedColumnApi.d.ts +4 -1
  113. package/src/Api/CalendarApi.d.ts +10 -0
  114. package/src/Api/CellSummaryApi.d.ts +9 -3
  115. package/src/Api/ChartingApi.d.ts +22 -7
  116. package/src/Api/ColumnApi.d.ts +71 -4
  117. package/src/Api/ColumnFilterApi.d.ts +13 -3
  118. package/src/Api/ColumnMenuApi.d.ts +13 -2
  119. package/src/Api/ColumnScopeApi.d.ts +27 -1
  120. package/src/Api/CommentApi.d.ts +10 -7
  121. package/src/Api/ContextMenuApi.d.ts +11 -1
  122. package/src/Api/CustomSortApi.d.ts +6 -2
  123. package/src/Api/DashboardApi.d.ts +30 -9
  124. package/src/Api/DataChangeHistoryApi.d.ts +9 -3
  125. package/src/Api/DataImportApi.d.ts +1 -1
  126. package/src/Api/EntitlementApi.d.ts +6 -1
  127. package/src/Api/EventApi.d.ts +67 -19
  128. package/src/Api/Events/AdaptableReady.d.ts +6 -2
  129. package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
  130. package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
  131. package/src/Api/Events/AlertFired.d.ts +8 -2
  132. package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
  133. package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
  134. package/src/Api/Events/CellChanged.d.ts +6 -2
  135. package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
  136. package/src/Api/Events/ChartChanged.d.ts +16 -8
  137. package/src/Api/Events/CommentChanged.d.ts +8 -2
  138. package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
  139. package/src/Api/Events/DashboardChanged.d.ts +27 -6
  140. package/src/Api/Events/DataImported.d.ts +8 -4
  141. package/src/Api/Events/DataSetSelected.d.ts +6 -2
  142. package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
  143. package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
  144. package/src/Api/Events/GridFilterApplied.d.ts +11 -3
  145. package/src/Api/Events/GridSorted.d.ts +6 -2
  146. package/src/Api/Events/LayoutChanged.d.ts +36 -5
  147. package/src/Api/Events/LiveDataChanged.d.ts +21 -5
  148. package/src/Api/Events/NoteChanged.d.ts +5 -1
  149. package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
  150. package/src/Api/Events/RowChanged.d.ts +6 -2
  151. package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
  152. package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
  153. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
  154. package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
  155. package/src/Api/Events/ThemeSelected.d.ts +6 -2
  156. package/src/Api/ExportApi.d.ts +59 -32
  157. package/src/Api/ExpressionApi.d.ts +24 -1
  158. package/src/Api/Fdc3Api.d.ts +16 -3
  159. package/src/Api/FlashingCellApi.d.ts +6 -1
  160. package/src/Api/FormatColumnApi.d.ts +18 -11
  161. package/src/Api/FreeTextColumnApi.d.ts +4 -2
  162. package/src/Api/GridApi.d.ts +92 -19
  163. package/src/Api/IPushPullApi.d.ts +19 -2
  164. package/src/Api/Internal/EventInternalApi.d.ts +2 -1
  165. package/src/Api/Internal/EventInternalApi.js +7 -0
  166. package/src/Api/InteropioPluginApi.d.ts +2 -1
  167. package/src/Api/LayoutApi.d.ts +29 -15
  168. package/src/Api/NamedQueryApi.d.ts +10 -6
  169. package/src/Api/NoteApi.d.ts +15 -11
  170. package/src/Api/OpenFinApi.d.ts +8 -2
  171. package/src/Api/OptionsApi.d.ts +43 -1
  172. package/src/Api/PluginsApi.d.ts +6 -1
  173. package/src/Api/PlusMinusApi.d.ts +2 -1
  174. package/src/Api/QuickSearchApi.d.ts +6 -1
  175. package/src/Api/RowFormApi.d.ts +8 -7
  176. package/src/Api/ShortcutApi.d.ts +3 -1
  177. package/src/Api/SmartEditApi.d.ts +4 -1
  178. package/src/Api/StateApi.d.ts +30 -2
  179. package/src/Api/StatusBarApi.d.ts +2 -0
  180. package/src/Api/StyledColumnApi.d.ts +23 -12
  181. package/src/Api/SystemStatusApi.d.ts +18 -6
  182. package/src/Api/TeamSharingApi.d.ts +8 -1
  183. package/src/Api/ThemeApi.d.ts +18 -9
  184. package/src/Api/ToolPanelApi.d.ts +12 -7
  185. package/src/Api/UserInterfaceApi.d.ts +10 -1
  186. package/src/Redux/Store/AdaptableStore.js +1 -1
  187. package/src/agGrid/Adaptable.d.ts +0 -12
  188. package/src/agGrid/Adaptable.js +0 -52
  189. package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
  190. package/src/agGrid/AdaptableLogger.d.ts +74 -1
  191. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
  192. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
  193. package/src/agGrid/index.d.ts +1 -6
  194. package/src/agGrid/index.js +1 -3
  195. package/src/aql/ExpressionEvaluation.d.ts +27 -0
  196. package/src/aql/types.d.ts +22 -0
  197. package/src/env.js +2 -2
  198. package/src/migration/legacyAdaptableQuery.d.ts +29 -4
  199. package/src/setupDevTools.js +223 -0
  200. package/src/types.d.ts +0 -2
  201. package/tsconfig.esm.tsbuildinfo +1 -1
  202. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
  203. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
  204. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
  205. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
  206. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
  207. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
  208. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
  209. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
  210. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
  211. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
  212. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
  213. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
  214. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
  215. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
  216. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
  217. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
  218. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
  219. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
  220. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
  221. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
  222. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
  223. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
  224. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
  225. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
  226. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
  227. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
  228. package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
  229. package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
  230. package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
  231. package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
  232. package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
  233. package/src/View/AdaptableWizardView/Wizard.js +0 -98
  234. package/src/View/AdaptableWizardView/index.d.ts +0 -4
  235. package/src/View/AdaptableWizardView/index.js +0 -4
@@ -2,122 +2,144 @@ import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
2
2
  import { ColumnScope, ScopeDataType } from '../AdaptableState/Common/ColumnScope';
3
3
  import { CellColorRange } from '../AdaptableState/StyledColumns/Common/NumericStyledColumn';
4
4
  /**
5
- * Provides access to a suite of functions related to the `Column Scope` object
5
+ * Whether a column is inside a Column Scope, and the columns, types and data types a scope contains.
6
6
  */
7
7
  export interface ColumnScopeApi {
8
8
  /**
9
9
  * True if Column is in given Scope
10
10
  * @param column Column to check
11
11
  * @param scope The Scope to check
12
+ * @returns True if Column is in given Scope
12
13
  */
13
14
  isColumnInScope(column: AdaptableColumn | undefined, scope: ColumnScope): boolean;
14
15
  /**
15
16
  * Returns list of all Columns in the given Scope
16
17
  * @param scope the Scope to check
18
+ * @returns List of all Columns in the given Scope
17
19
  */
18
20
  getColumnsInScope(scope: ColumnScope): AdaptableColumn[];
19
21
  /**
20
22
  * True if Scope is empty
21
23
  * @param scope Scope to check
24
+ * @returns True if Scope is empty
22
25
  */
23
26
  scopeIsEmpty(scope: ColumnScope): boolean;
24
27
  /**
25
28
  * True if Scope is 'All'
26
29
  * @param scope Scope to check
30
+ * @returns True if Scope is 'All'
27
31
  */
28
32
  scopeIsAll(scope: ColumnScope): boolean;
29
33
  /**
30
34
  * True if Scope contains DataTypes
31
35
  * @param scope Scope to check
36
+ * @returns True if Scope contains DataTypes
32
37
  */
33
38
  scopeHasDataType(scope: ColumnScope): boolean;
34
39
  /**
35
40
  * True if Scope contains ColumnTypes
36
41
  * @param scope Scope to check
42
+ * @returns True if Scope contains ColumnTypes
37
43
  */
38
44
  scopeHasColumnType(scope: ColumnScope): boolean;
39
45
  /**
40
46
  * True if Scope is DataTypes and contains just 'Boolean'
41
47
  * @param scope Scope to check
48
+ * @returns True if Scope is DataTypes and contains just 'Boolean'
42
49
  */
43
50
  scopeHasOnlyBooleanDataType(scope: ColumnScope): boolean;
44
51
  /**
45
52
  * True if Scope contains just 1 ColumnId
46
53
  * @param scope Scope to check
54
+ * @returns True if Scope contains just 1 ColumnId
47
55
  */
48
56
  isSingleColumnScope(scope: ColumnScope): boolean;
49
57
  /**
50
58
  * Gets the only Column in given Scope
51
59
  * @param scope Scope to check
60
+ * @returns The only Column in given Scope
52
61
  */
53
62
  getSingleColumnInScope(scope: ColumnScope): string | undefined;
54
63
  /**
55
64
  * True if Scope contains just 1 numeric Column
56
65
  * @param scope Scope to check
66
+ * @returns True if Scope contains just 1 numeric Column
57
67
  */
58
68
  isSingleNumericColumnScope(scope: ColumnScope): boolean;
59
69
  /**
60
70
  * True if Scope contains just 1 boolean Column
61
71
  * @param scope Scope to check
72
+ * @returns True if Scope contains just 1 boolean Column
62
73
  */
63
74
  isSingleBooleanColumnScope(scope: ColumnScope): boolean;
64
75
  /**
65
76
  * True if all selected columns are boolean
66
77
  * @param scope Scope to check
78
+ * @returns True if all selected columns are boolean
67
79
  */
68
80
  areAllBooleanColumnsInScope(scope: ColumnScope): boolean;
69
81
  /**
70
82
  * True if Scope contains ColumnIds
71
83
  * @param scope Scope to check
84
+ * @returns True if Scope contains ColumnIds
72
85
  */
73
86
  scopeHasColumns(scope: ColumnScope): boolean;
74
87
  /**
75
88
  * Gets string representation of the Scope
76
89
  * @param scope Scope to check
90
+ * @returns String representation of the Scope
77
91
  */
78
92
  getScopeToString(scope: ColumnScope): string;
79
93
  /**
80
94
  * Whether PK column is included in Scope's column section
81
95
  * @param scope Scope to check
96
+ * @returns `true` when PK column is included in Scope's column section
82
97
  */
83
98
  isPrimaryKeyColumnInScopeColumns(scope: ColumnScope): boolean;
84
99
  /**
85
100
  * True if Column is in Scope's 'ColumnIds' section
86
101
  * @param column Column to check
87
102
  * @param scope Scope to check
103
+ * @returns True if Column is in Scope's 'ColumnIds' section
88
104
  */
89
105
  isColumnInScopeColumns(column: AdaptableColumn, scope: ColumnScope): boolean;
90
106
  /**
91
107
  * Returns all the ColumnIds in the Scope
92
108
  * @param scope Scope to check
109
+ * @returns All the ColumnIds in the Scope
93
110
  */
94
111
  getColumnIdsInScope(scope: ColumnScope): string[] | undefined;
95
112
  /**
96
113
  * Returns all the ColumnTypes in the Scope
97
114
  * @param scope Scope to check
115
+ * @returns All the ColumnTypes in the Scope
98
116
  */
99
117
  getColumnTypesInScope(scope: ColumnScope): string[] | undefined;
100
118
  /**
101
119
  * Returns all the DataTypes in the Scope
102
120
  * @param scope Scope to check
121
+ * @returns All the DataTypes in the Scope
103
122
  */
104
123
  getDataTypesInScope(scope: ColumnScope): ScopeDataType[] | undefined;
105
124
  /**
106
125
  * True if Scope has Numeric DataType containing Column
107
126
  * @param column Column to check
108
127
  * @param scope Scope to check
128
+ * @returns True if Scope has Numeric DataType containing Column
109
129
  */
110
130
  isColumnInNumericScope(column: AdaptableColumn, scope: ColumnScope): boolean;
111
131
  /**
112
132
  * True if Scope has text DataType containing Column
113
133
  * @param column Column to check
114
134
  * @param scope Scope to check
135
+ * @returns True if Scope has text DataType containing Column
115
136
  */
116
137
  isColumnInTextScope(column: AdaptableColumn, scope: ColumnScope): boolean;
117
138
  /**
118
139
  * True if Scope has Data DataType which contains Column
119
140
  * @param column Column to check
120
141
  * @param scope Scope to check
142
+ * @returns True if Scope has Data DataType which contains Column
121
143
  */
122
144
  isColumnInDateScope(column: AdaptableColumn, scope: ColumnScope): boolean;
123
145
  /**
@@ -134,11 +156,13 @@ export interface ColumnScopeApi {
134
156
  *
135
157
  * @param scopeA first Scope
136
158
  * @param scopeB second Scope
159
+ * @returns True if first scope is in second Scope Scope A | Scope B | Result =========================================================================== All * true * All true DataTypes DataTypes all DataTypes from A should be in B ColumnIds ColumnIds all ColumnIds from A should be in B ColumnIds DataTypes all DataTypes of ColumnIds from A should be in B DataTypes ColumnIds false
137
160
  */
138
161
  isScopeInScope(scopeA: ColumnScope, scopeB: ColumnScope): boolean;
139
162
  /**
140
163
  * Provides a description for the Scope
141
164
  * @param scope The Scope to check
165
+ * @returns A description of the scope
142
166
  */
143
167
  getScopeDescription(scope: ColumnScope): string;
144
168
  /**
@@ -148,11 +172,13 @@ export interface ColumnScopeApi {
148
172
  * sample values yet, returns one `0` → `0` gray range.
149
173
  *
150
174
  * @param scope Scope to use (must resolve to a single column for range sampling)
175
+ * @returns A single `CellColorRange` for Styled Column wizards (Gradient, Percent Bar, Bullet Chart): `Col-Min` → `Col-Max` with neutral gray, matching the colour used when adding a range in the Ranges UI. If the column has no sample values yet, returns one `0` → `0` gray range
151
176
  */
152
177
  createCellColorRangesForScope(scope: ColumnScope): CellColorRange[];
153
178
  /**
154
179
  * Gets any ColumnId from the Scope
155
180
  * @param scope Scope to check
181
+ * @returns Any ColumnId from the Scope
156
182
  */
157
183
  getAnyColumnIdForScope(scope: ColumnScope): string | undefined;
158
184
  }
@@ -1,14 +1,14 @@
1
1
  import { CommentThread } from '../AdaptableState/CommentState';
2
2
  import { AdaptableComment, CellAddress } from '../types';
3
3
  /**
4
- * Provides run-time access to Comment Module and related State
4
+ * Comments on cells. A thread holds the comments for one cell.
5
5
  */
6
6
  export interface CommentApi {
7
7
  /**
8
8
  * Add a Comment to a Comment Thread
9
9
  *
10
- * @param comment comment
11
- * @param cellAddress cell where comment is added
10
+ * @param commentText Text of the comment
11
+ * @param cellAddress Cell the comment is added to
12
12
  */
13
13
  addComment(commentText: string, cellAddress: CellAddress): void;
14
14
  /**
@@ -20,27 +20,30 @@ export interface CommentApi {
20
20
  editComment(comment: AdaptableComment, cellAddress?: CellAddress): void;
21
21
  /**
22
22
  * Delete a Comment
23
- * @param address Location of the comment, if not provided all comments will be traversed to find the comment
23
+ * @param comment Comment to delete
24
+ * @param cellAddress Cell the comment belongs to
24
25
  */
25
26
  deleteComment(comment: AdaptableComment, cellAddress: CellAddress): void;
26
27
  /**
27
28
  * Create a new Comment Thread
28
29
  *
29
- * @param commentThread
30
+ * @param commentThread Thread to create, including the cell it belongs to
30
31
  */
31
32
  addCommentThread(commentThread: CommentThread): void;
32
33
  /**
33
34
  * Delete all Comments for a particular cell
34
- * @param cellAddress
35
+ * @param cellAddress Cell whose comments are deleted
35
36
  */
36
37
  deleteCommentThread(cellAddress: CellAddress): void;
37
38
  /**
38
39
  * Return the Comment Thread for a particular cell
39
- * @param cellAddress
40
+ * @param cellAddress Cell to read
41
+ * @returns Return the Comment Thread for a particular cell
40
42
  */
41
43
  getCommentThreadForCell(cellAddress: CellAddress): CommentThread | undefined;
42
44
  /**
43
45
  * Return all Comment Threads in the grid
46
+ * @returns Return all Comment Threads in the grid
44
47
  */
45
48
  getAllComments(): CommentThread[];
46
49
  /**
@@ -1,6 +1,6 @@
1
1
  import { CustomContextMenuContext, AdaptableSystemContextMenuItem, AdaptableContextMenuItemName, MenuCategory, AdaptableIcon, CustomContextMenuItem, CustomGroupContextMenuItem } from '../types';
2
2
  /**
3
- * Provides run-time access to Context Menu
3
+ * The right-click menu: the default items, and adding or removing items.
4
4
  */
5
5
  export interface ContextMenuApi {
6
6
  /**
@@ -10,54 +10,63 @@ export interface ContextMenuApi {
10
10
  /**
11
11
  * Creates default menu structure; useful as final line in custom implementation
12
12
  * @param context Current Menu Context
13
+ * @returns The default menu: the AG Grid items, a separator, then the AdapTable items
13
14
  */
14
15
  createDefaultMenuStructure(context: CustomContextMenuContext): any;
15
16
  /**
16
17
  * Gets all Menu Items in a given category
17
18
  * @param category Category to filter on
18
19
  * @param context Current Menu Context
20
+ * @returns All Menu Items in a given category
19
21
  */
20
22
  getContextMenuItemsByCategory(category: MenuCategory, context: CustomContextMenuContext): AdaptableSystemContextMenuItem<AdaptableContextMenuItemName>[];
21
23
  /**
22
24
  * Gets all Menu Items in given categories
23
25
  * @param categories Categories to filter on
24
26
  * @param context Current Menu Context
27
+ * @returns All Menu Items in given categories
25
28
  */
26
29
  getContextMenuItemsByCategories(categories: MenuCategory[], context: CustomContextMenuContext): AdaptableSystemContextMenuItem<AdaptableContextMenuItemName>[];
27
30
  /**
28
31
  * Returns the Menu Item with given name
29
32
  * @param menuItemName Menu Item to filter on
30
33
  * @param context Current Menu Context
34
+ * @returns The Menu Item with given name
31
35
  */
32
36
  getContextMenuItemByName(menuItemName: AdaptableContextMenuItemName, context: CustomContextMenuContext): AdaptableSystemContextMenuItem<AdaptableContextMenuItemName>;
33
37
  /**
34
38
  * Returns the Menu Items with given names
35
39
  * @param menuItemNames Menu Items to filter on
36
40
  * @param context Current Menu Context
41
+ * @returns The Menu Items with given names
37
42
  */
38
43
  getContextMenuItemsByNames(menuItemNames: AdaptableContextMenuItemName[], context: CustomContextMenuContext): AdaptableSystemContextMenuItem<AdaptableContextMenuItemName>[];
39
44
  /**
40
45
  * Returns Menu Item with given label
41
46
  * @param label Label to filter on
42
47
  * @param context Current Menu Context
48
+ * @returns Menu Item with given label
43
49
  */
44
50
  getContextMenuItemByLabel(label: string, context: CustomContextMenuContext): AdaptableSystemContextMenuItem<AdaptableContextMenuItemName>;
45
51
  /**
46
52
  * Returns Menu Items with given labels
47
53
  * @param labels Labels to filter on
48
54
  * @param context Current Menu Context
55
+ * @returns Menu Items with given labels
49
56
  */
50
57
  getContextMenuItemsByLabels(labels: string[], context: CustomContextMenuContext): AdaptableSystemContextMenuItem<AdaptableContextMenuItemName>[];
51
58
  /**
52
59
  * Removes Menu Item with given name
53
60
  * @param menuItemName name of Menu Item to remove
54
61
  * @param context Current Menu Context
62
+ * @returns The menu items that remain
55
63
  */
56
64
  removeAdaptableContextMenuItemByName(menuItemName: AdaptableContextMenuItemName, context: CustomContextMenuContext): any;
57
65
  /**
58
66
  * Removes Menu Items with given names
59
67
  * @param menuItemNames names of Menu Items to remove
60
68
  * @param context Current Menu Context
69
+ * @returns The menu items that remain
61
70
  */
62
71
  removeAdaptableContextMenuItemsByNames(menuItemNames: AdaptableContextMenuItemName[], context: CustomContextMenuContext): any;
63
72
  /**
@@ -66,6 +75,7 @@ export interface ContextMenuApi {
66
75
  * @param subMenuItems Menu Items to place in Group
67
76
  * @param disabled whether group is disabled
68
77
  * @param icon icon for the Group Menu Item
78
+ * @returns The group menu item
69
79
  */
70
80
  createGroupMenu(label: string, subMenuItems: CustomContextMenuItem[], disabled?: boolean, icon?: AdaptableIcon): CustomGroupContextMenuItem;
71
81
  }
@@ -1,15 +1,17 @@
1
1
  import { ColumnValuesComparer } from '../AdaptableOptions/CustomSortOptions';
2
2
  import { CustomSortState, CustomSort } from '../AdaptableState/CustomSortState';
3
3
  /**
4
- * Provides run-time access to the Custom Sort function
4
+ * Custom sort orders for columns: the values to show first, and which sorts are active.
5
5
  */
6
6
  export interface CustomSortApi {
7
7
  /**
8
8
  * Retrieves Custom Sort section from Adaptable State
9
+ * @returns Custom Sort section from Adaptable State
9
10
  */
10
11
  getCustomSortState(): CustomSortState;
11
12
  /**
12
13
  * Retrieves all Custom Sorts in Adaptable State
14
+ * @returns All Custom Sorts in Adaptable State
13
15
  */
14
16
  getCustomSorts(): CustomSort[];
15
17
  /**
@@ -31,6 +33,7 @@ export interface CustomSortApi {
31
33
  getLiveCustomSorts(): CustomSort[];
32
34
  /**
33
35
  * Returns all Custom Sort Comparers in Custom Sort Options that are currently applied
36
+ * @returns All Custom Sort Comparers in Custom Sort Options that are currently applied
34
37
  */
35
38
  getLiveCustomSortComparers(): ColumnValuesComparer[];
36
39
  /**
@@ -75,11 +78,12 @@ export interface CustomSortApi {
75
78
  /**
76
79
  * Edits a Custom Sort
77
80
  * @param customSort Custom Sort to Edit
81
+ * @returns The Custom Sort after it is saved
78
82
  */
79
83
  editCustomSort(customSort: CustomSort): CustomSort;
80
84
  /**
81
85
  * Removes Custom Sort for a given ColumnId
82
- * @param column columnId on which to delete the Custom Sort
86
+ * @param columnId Column whose Custom Sort is removed
83
87
  */
84
88
  deleteCustomSort(columnId: string): void;
85
89
  /**
@@ -8,19 +8,23 @@ import { CustomToolbar, DashboardButtonContext } from '../AdaptableOptions/Dashb
8
8
  export interface DashboardApi {
9
9
  /**
10
10
  * Retrieves Dashboard section from Adaptable State
11
+ * @returns Dashboard section from Adaptable State
11
12
  */
12
13
  getDashboardState(): DashboardState;
13
14
  /**
14
15
  * Retrieves all Custom Toolbars
16
+ * @returns All Custom Toolbars
15
17
  */
16
18
  getCustomToolbars(): CustomToolbar[];
17
19
  /**
18
20
  * Retrieves all Custom Buttons
21
+ * @returns All Custom Buttons
19
22
  */
20
23
  getCustomDashboardButtons(): AdaptableButton<DashboardButtonContext>[];
21
24
  /**
22
25
  * Retrieves first Custom Button with given Label
23
26
  * @param buttonLabel the label of the Custom Button to retrieve
27
+ * @returns First Custom Button with given Label
24
28
  */
25
29
  getCustomDashboardButtonByLabel(buttonLabel: string): AdaptableButton<DashboardButtonContext> | undefined;
26
30
  /**
@@ -29,13 +33,15 @@ export interface DashboardApi {
29
33
  */
30
34
  setModuleButtons(moduleButtons: AdaptableModuleButtons): void;
31
35
  /**
32
- * Sets title of Dashboard Header
36
+ * Sets the title shown in the Dashboard header.
37
+ * @param title Title to display
33
38
  */
34
39
  setDashboardTitle(title: string): void;
35
40
  /**
36
41
  * Returns the HTML Element for the given Custom Toolbar. This should only be used in Vanilla AdapTable for toolbars created via a `render` function.
37
42
  * @param customToolbarName the name of the Custom Toolbar
38
43
  *
44
+ * @returns The HTML Element for the given Custom Toolbar. This should only be used in Vanilla AdapTable for toolbars created via a `render` function
39
45
  */
40
46
  getCustomToolbarHTMLElement(customToolbarName: string): HTMLElement | null;
41
47
  /**
@@ -48,6 +54,7 @@ export interface DashboardApi {
48
54
  /**
49
55
  * Returns Custom Toolbar with the given name
50
56
  * @param customToolbarName the name of the Custom Toolbar
57
+ * @returns Custom Toolbar with the given name
51
58
  */
52
59
  getCustomToolbarByName(customToolbarName: string): CustomToolbar;
53
60
  /**
@@ -93,30 +100,34 @@ export interface DashboardApi {
93
100
  showDashboard(): void;
94
101
  /**
95
102
  * Returns current Active Tab index (if there is one)
103
+ * @returns Current Active Tab index (if there is one)
96
104
  */
97
105
  getActiveTabIndex(): number | undefined;
98
106
  /**
99
107
  * Returns current Active Tab (if there is one)
108
+ * @returns Current Active Tab (if there is one)
100
109
  */
101
110
  getActiveTab(): DashboardTab | undefined;
102
111
  /**
103
- * Sets Active Tab in Dashboard
112
+ * Selects the Dashboard tab at this index.
104
113
  *
105
- * @param tabIndex the tab index to set
114
+ * @param tabIndex Zero-based index of the tab
106
115
  */
107
116
  setActiveTabIndex(tabIndex: number): void;
108
117
  /**
109
- * Sets Active Tab in Dashboard
110
- * @param tabName name of tab to set
118
+ * Selects the Dashboard tab with this name.
119
+ * @param tabName Name of the tab
111
120
  */
112
121
  setActiveTab(tabName: string): void;
113
122
  /**
114
123
  * Retrieves all Toolbars in Active Tab
124
+ * @returns All Toolbars in Active Tab
115
125
  */
116
126
  getCurrentToolbars(): AdaptableDashboardToolbars | string[];
117
127
  /**
118
128
  * Checks if a given Toolbar is visible
119
129
  * @param toolbar toolbar to check visibility for
130
+ * @returns `true` when a given Toolbar is visible
120
131
  */
121
132
  isToolbarVisible(toolbar: AdaptableDashboardToolbar | string): boolean;
122
133
  /**
@@ -126,52 +137,62 @@ export interface DashboardApi {
126
137
  /**
127
138
  * Retrieves the Tab from State that matches inputted name
128
139
  * @param tabName the tab to check
140
+ * @returns The Tab from State that matches inputted name
129
141
  */
130
142
  getTabByName(tabName: string): DashboardTab;
131
143
  /**
132
144
  * Is Dashboard Collapsed
145
+ * @returns `true` when dashboard Collapsed
133
146
  */
134
147
  isDashboardCollapsed(): boolean;
135
148
  /**
136
149
  * Is Dashboard Expanded
150
+ * @returns `true` when dashboard Expanded
137
151
  */
138
152
  isDashboardExpanded(): boolean;
139
153
  /**
140
154
  * Is Dashboard Floating
155
+ * @returns `true` when dashboard Floating
141
156
  */
142
157
  isDashboardFloating(): boolean;
143
158
  /**
144
159
  * Is Dashboard Docked
160
+ * @returns `true` when dashboard Docked
145
161
  */
146
162
  isDashboardDocked(): boolean;
147
163
  /**
148
164
  * Is Dashboard Hidden
165
+ * @returns `true` when dashboard Hidden
149
166
  */
150
167
  isDashboardHidden(): boolean;
151
168
  /**
152
169
  * Is Dashboard Visible
170
+ * @returns `true` when dashboard Visible
153
171
  */
154
172
  isDashboardVisible(): boolean;
155
173
  /**
156
- * Updates the Tabs in the Dashboard
157
- * @param Tabs
174
+ * Replaces the tabs shown in the Dashboard.
175
+ * @param Tabs Tabs to set, in order
158
176
  */
159
177
  setTabs(Tabs: DashboardTab[]): void;
160
178
  /**
161
179
  * Retrieves the Tabs in the Dashboard
180
+ * @returns The Tabs in the Dashboard
162
181
  */
163
182
  getTabs(): DashboardTab[];
164
183
  /**
165
184
  * Retrieves the Module Buttons in the Dashboard
185
+ * @returns The Module Buttons in the Dashboard
166
186
  */
167
187
  getModuleButtons(): AdaptableModuleButtons;
168
188
  /**
169
- * Sets pinned toolbars
170
- * @param toolbars
189
+ * Pins toolbars so they stay visible when the active tab changes.
190
+ * @param toolbars Toolbars to pin
171
191
  */
172
192
  setPinnedToolbars(toolbars: AdaptableDashboardToolbars | string[]): void;
173
193
  /**
174
194
  * Retrieves pinned toolbars
195
+ * @returns Pinned toolbars
175
196
  */
176
197
  getPinnedToolbars(): AdaptableDashboardToolbars | string[];
177
198
  }
@@ -1,11 +1,12 @@
1
1
  import { CellDataChangedInfo } from '../AdaptableState/Common/CellDataChangedInfo';
2
2
  import { GridCell } from '../types';
3
3
  /**
4
- * Provides run-time access to the Data Change History Module
5
- **/
4
+ * The history of cell value changes: the log, the latest change for a cell, and undo.
5
+ */
6
6
  export interface DataChangeHistoryApi {
7
7
  /**
8
8
  * Retrieves current Data Change History mode: 'ACTIVE', 'INACTIVE', 'SUSPENDED'
9
+ * @returns Current Data Change History mode: 'ACTIVE', 'INACTIVE', 'SUSPENDED'
9
10
  */
10
11
  getDataChangeHistoryMode(): 'ACTIVE' | 'INACTIVE' | 'SUSPENDED';
11
12
  /**
@@ -24,10 +25,13 @@ export interface DataChangeHistoryApi {
24
25
  suspendDataChangeHistory(): void;
25
26
  /**
26
27
  * Retrieves all data changes which are currently available
28
+ * @returns All data changes which are currently available
27
29
  */
28
30
  getDataChangeHistoryLog(): CellDataChangedInfo[];
29
31
  /**
30
- * Retrieves last data change for a given Cell
32
+ * The most recent change recorded for a cell.
33
+ * @param gridCell Cell to look up
34
+ * @returns The most recent change recorded for a cell
31
35
  */
32
36
  getDataChangeForGridCell(gridCell: GridCell): CellDataChangedInfo | undefined;
33
37
  /**
@@ -40,11 +44,13 @@ export interface DataChangeHistoryApi {
40
44
  * Reverts provided data change to its previous value and returns GridCell that was undone
41
45
  *
42
46
  * @param dataChangeInfo the change to be undone
47
+ * @returns Reverts provided data change to its previous value and returns GridCell that was undone
43
48
  */
44
49
  undoDataChangeHistoryEntry(dataChangeInfo: CellDataChangedInfo): GridCell | undefined;
45
50
  /**
46
51
  * Reverts all data changes to previous values and returns GridCells that were undone
47
52
  *
53
+ * @returns Reverts all data changes to previous values and returns GridCells that were undone
48
54
  */
49
55
  undoAllDataChangeHistoryEntries(): GridCell[];
50
56
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provides run-time access to the Settings Panel
2
+ * Data Import. Opens the wizard that imports rows into the grid.
3
3
  **/
4
4
  export interface DataImportApi {
5
5
  /**
@@ -1,31 +1,36 @@
1
1
  import { AdaptableModule, AccessLevel, AdaptableObject } from '../types';
2
2
  /**
3
- * Provides functions for Entitlements and Permissions
3
+ * Whether a module is hidden, read-only or fully available, and whether an object is read-only.
4
4
  **/
5
5
  export interface EntitlementApi {
6
6
  /**
7
7
  * Returns Access Level of a Module
8
8
  * @param adaptableModule Module to Check
9
+ * @returns Access Level of a Module
9
10
  */
10
11
  getEntitlementAccessLevelForModule(adaptableModule: AdaptableModule): AccessLevel;
11
12
  /**
12
13
  * Is the Adaptable Object ReadOnly
13
14
  * @param object Object to Check
15
+ * @returns `true` when the Adaptable Object ReadOnly
14
16
  */
15
17
  isObjectReadonly(object: AdaptableObject): boolean;
16
18
  /**
17
19
  * Is Module Hidden
18
20
  * @param adaptableModule Module to Check
21
+ * @returns `true` when module Hidden
19
22
  */
20
23
  isModuleHiddenEntitlement(adaptableModule: AdaptableModule): boolean;
21
24
  /**
22
25
  * Is Module Full
23
26
  * @param adaptableModule Module to Check
27
+ * @returns `true` when module Full
24
28
  */
25
29
  isModuleFullEntitlement(adaptableModule: AdaptableModule): boolean;
26
30
  /**
27
31
  * Is Module ReadOnly
28
32
  * @param adaptableModule Module to Check
33
+ * @returns `true` when module ReadOnly
29
34
  */
30
35
  isModuleReadOnlyEntitlement(adaptableModule: AdaptableModule): boolean;
31
36
  }