@adaptabletools/adaptable 24.0.0-canary.8 → 24.0.0-canary.9

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 +17 -8
  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
package/agGrid.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Adaptable, { AdaptableWizardView } from './src/agGrid';
1
+ import Adaptable from './src/agGrid';
2
2
  import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
3
  import { AdaptableNumberEditor, AdaptableReactNumberEditor } from './src/agGrid/editors/AdaptableNumberEditor';
4
4
  import { AdaptablePercentageEditor, AdaptableReactPercentageEditor } from './src/agGrid/editors/AdaptablePercentageEditor';
@@ -8,7 +8,6 @@ import { AdaptableUpgradeHelper, type UpgradeConfig } from './src/migration/Adap
8
8
  import { iconToString } from './src/components/icons';
9
9
  export default Adaptable;
10
10
  export declare const _AdaptableAgGrid: typeof AdaptableAgGrid;
11
- export declare const AdaptableNoCodeWizard: typeof import("./src/agGrid/Adaptable").AdaptableNoCodeWizard;
12
11
  export declare const _AdaptableLogger: typeof import("./types").AdaptableLogger;
13
12
  export declare const AdaptableQL: {
14
13
  ScalarFunctions: import("./vendor/aql/index.js").ScalarFunctionName[];
@@ -57,4 +56,4 @@ export declare const AdaptableColumnType: {
57
56
  */
58
57
  PivotAggregationTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
59
58
  };
60
- export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, type UpgradeConfig, };
59
+ export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, type UpgradeConfig, };
package/agGrid.js CHANGED
@@ -1,4 +1,4 @@
1
- import Adaptable, { AdaptableNoCodeWizard as ABWizard, AdaptableWizardView, AdaptableLogger as ABLogger, } from './src/agGrid';
1
+ import Adaptable, { AdaptableLogger as ABLogger } from './src/agGrid';
2
2
  import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
3
  import { aggregationCallableNames as aggregatedScalarExpressionFunctionNames, scalarFunctionNames as scalarExpressionFunctionNames, } from "./vendor/aql/index.js";
4
4
  import { AdaptableNumberEditor, AdaptableReactNumberEditor, } from './src/agGrid/editors/AdaptableNumberEditor';
@@ -10,7 +10,6 @@ import { ACTION_COLUMN_TYPE, CALCULATED_COLUMN_TYPE, FDC3_COLUMN_TYPE, FREE_TEXT
10
10
  import { iconToString } from './src/components/icons';
11
11
  export default Adaptable;
12
12
  export const _AdaptableAgGrid = AdaptableAgGrid;
13
- export const AdaptableNoCodeWizard = ABWizard;
14
13
  export const _AdaptableLogger = ABLogger;
15
14
  export const AdaptableQL = {
16
15
  ScalarFunctions: scalarExpressionFunctionNames,
@@ -29,4 +28,4 @@ export const AdaptableColumnType = {
29
28
  PivotColumnTotal: PIVOT_COLUMN_TOTAL_COLUMN_TYPE,
30
29
  PivotAggregationTotal: PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE,
31
30
  };
32
- export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, };
31
+ export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, };
package/aql.d.ts CHANGED
@@ -70,6 +70,26 @@ export interface ExpressionFunctionDescription {
70
70
  signatures: string[];
71
71
  examples: string[];
72
72
  category?: string;
73
+ /**
74
+ * Modules whose Expressions offer the Function (a context requirement such
75
+ * as data-change events, or product policy). Absent when every Module
76
+ * offers it; empty when only system-internal evaluation (Layout row
77
+ * summaries, Cell Summaries) does.
78
+ */
79
+ modules?: AdaptableStandardExpressionModule[];
80
+ }
81
+ /**
82
+ * What a Module's Expressions may be (see {@link validateExpression}): the
83
+ * kinds it evaluates and the Function families it offers.
84
+ */
85
+ export interface ExpressionModuleCapabilities {
86
+ module: AdaptableStandardExpressionModule;
87
+ /** Kinds the Module evaluates, the default (what an Expression without further hints is) first */
88
+ kinds: AdaptableQLExpressionKind[];
89
+ /** Whether observable brace calls (`CHANGE_COUNT{[price], WITHIN(5m)}`) are accepted */
90
+ observableCalls: boolean;
91
+ /** Whether the data-change Functions (`ANY_CHANGE`, `PERCENT_CHANGE`, `ABSOLUTE_CHANGE`) are available */
92
+ dataChangeFunctions: boolean;
73
93
  }
74
94
  /**
75
95
  * Validates an AdapTableQL Expression without a grid. Mirrors
@@ -99,6 +119,14 @@ export declare function migrateExpression(expression: string, options?: {
99
119
  }): MigrateExpressionResult;
100
120
  /**
101
121
  * Every system Expression Function, aggregation, observable function and
102
- * clause, with its signatures and examples.
122
+ * clause, with its signatures and examples, and the Modules that offer it
123
+ * when that is not every Module.
103
124
  */
104
125
  export declare function getExpressionFunctionCatalogue(): ExpressionFunctionDescription[];
126
+ /**
127
+ * Which Expression kinds each standard Module evaluates and which Function
128
+ * families it offers — the rules {@link validateExpression} applies when
129
+ * `module` is passed, as data. Derived from the same constants, so the two
130
+ * cannot disagree.
131
+ */
132
+ export declare function getExpressionModuleCapabilities(): ExpressionModuleCapabilities[];
package/aql.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CLAUSE_DOCS, SYSTEM_AGGREGATION_CATALOGUE, compileValueExpression, isAST_Function, mapDataTypeToStaticType, migrateExpression as migrateAqlExpression, normalizeAst, parse, validateAqlExpression, validateExpressionTypes, } from "./vendor/aql/index.js";
2
- import { AGGREGATED_BOOLEAN_MODULES, moduleAllowsObservableCalls, } from './src/aql/expressionFunctionAvailability';
2
+ import { AGGREGATED_BOOLEAN_MODULES, DATA_CHANGE_MODULES, moduleAllowsObservableCalls, } from './src/aql/expressionFunctionAvailability';
3
3
  import { getMissingColumnIssues } from './src/aql/getMissingColumnIssues';
4
4
  import { mapLegacyKindToValidationRequest, toMigrateOptions, } from './src/aql/legacyExpressionKinds';
5
5
  import { systemAggregatedExpressionFunctions, systemAggregationClauseFunctions, systemObservableExpressionFunctions, systemScalarExpressionFunctions, } from './src/aql/systemExpressionFunctions';
@@ -167,6 +167,29 @@ export function migrateExpression(expression, options) {
167
167
  ...(result.notes?.length ? { notes: result.notes.map((note) => note.message) } : {}),
168
168
  };
169
169
  }
170
+ const MODULE_STANDARD_KINDS = {
171
+ Alert: ['boolean'],
172
+ CalculatedColumn: ['scalar', 'boolean'],
173
+ ColumnFilter: ['boolean'],
174
+ Export: ['boolean'],
175
+ FlashingCell: ['boolean'],
176
+ FormatColumn: ['boolean'],
177
+ GridFilter: ['boolean'],
178
+ NamedQuery: ['boolean', 'scalar'],
179
+ PlusMinus: ['boolean'],
180
+ StyledColumn: ['boolean'],
181
+ };
182
+ const STANDARD_MODULES = Object.keys(MODULE_STANDARD_KINDS);
183
+ function modulesOf(entry) {
184
+ const available = entry?.isAvailable;
185
+ if (!Array.isArray(available)) {
186
+ return {};
187
+ }
188
+ const standard = STANDARD_MODULES;
189
+ return {
190
+ modules: available.filter((module) => standard.includes(module)),
191
+ };
192
+ }
170
193
  export function getExpressionFunctionCatalogue() {
171
194
  const scalar = Object.entries(systemScalarExpressionFunctions).map(([name, fn]) => ({
172
195
  name,
@@ -177,6 +200,7 @@ export function getExpressionFunctionCatalogue() {
177
200
  signatures: fn.signatures ?? [],
178
201
  examples: fn.examples ?? [],
179
202
  category: fn.category,
203
+ ...modulesOf(fn),
180
204
  }));
181
205
  const aggregations = SYSTEM_AGGREGATION_CATALOGUE.callables()
182
206
  .filter((callable) => callable.system)
@@ -188,6 +212,7 @@ export function getExpressionFunctionCatalogue() {
188
212
  signatures: callable.docs.signatures ?? [],
189
213
  examples: callable.docs.examples ?? [],
190
214
  category: callable.docs.category,
215
+ ...modulesOf(aggregationPool[callable.name]),
191
216
  }));
192
217
  const observables = Object.entries(systemObservableExpressionFunctions).map(([name, fn]) => ({
193
218
  name,
@@ -198,7 +223,9 @@ export function getExpressionFunctionCatalogue() {
198
223
  signatures: fn.signatures ?? [],
199
224
  examples: fn.examples ?? [],
200
225
  category: fn.category,
226
+ ...modulesOf(fn),
201
227
  }));
228
+ const observablePool = systemObservableExpressionFunctions;
202
229
  const clauses = Object.entries(CLAUSE_DOCS).map(([name, docs]) => ({
203
230
  name,
204
231
  callForm: 'paren',
@@ -207,6 +234,27 @@ export function getExpressionFunctionCatalogue() {
207
234
  signatures: docs.signatures,
208
235
  examples: docs.examples,
209
236
  category: docs.category,
237
+ ...modulesOf(aggregationPool[name] ?? observablePool[name]),
210
238
  }));
211
239
  return [...scalar, ...aggregations, ...observables, ...clauses];
212
240
  }
241
+ export function getExpressionModuleCapabilities() {
242
+ const aggregatedBoolean = AGGREGATED_KIND_MODULES.aggregatedBoolean;
243
+ const aggregatedScalar = AGGREGATED_KIND_MODULES.aggregatedScalar;
244
+ const dataChange = DATA_CHANGE_MODULES;
245
+ return STANDARD_MODULES.map((module) => {
246
+ const kinds = [...MODULE_STANDARD_KINDS[module]];
247
+ if (aggregatedScalar.includes(module)) {
248
+ kinds.push('aggregatedScalar');
249
+ }
250
+ if (aggregatedBoolean.includes(module)) {
251
+ kinds.push('aggregatedBoolean');
252
+ }
253
+ return {
254
+ module,
255
+ kinds,
256
+ observableCalls: moduleAllowsObservableCalls(module),
257
+ dataChangeFunctions: dataChange.includes(module),
258
+ };
259
+ });
260
+ }
package/devtools.d.ts CHANGED
@@ -18,6 +18,49 @@ export type DevToolsInstanceInfo = {
18
18
  * `id` and `dataType` match the `columns` input of the AdapTable MCP server's
19
19
  * `check_state` and `check_expression` tools.
20
20
  */
21
+ /** One row of the read-only column summary shown in DevTools. */
22
+ export type DevToolsColumnSummaryRow = {
23
+ key: string;
24
+ value: string;
25
+ };
26
+ /** A column the DevTools column picker can select. */
27
+ export type DevToolsColumnOption = {
28
+ id: string;
29
+ friendlyName: string;
30
+ };
31
+ /**
32
+ * One tag from a Settings Panel object summary. `color` is a resolved CSS colour
33
+ * (a colour variable is computed in the page) so the panel can draw the swatch.
34
+ */
35
+ export type DevToolsObjectTag = {
36
+ text: string;
37
+ variant?: 'default' | 'accent' | 'expression';
38
+ color?: string;
39
+ italic?: boolean;
40
+ };
41
+ /** One labelled row of tags, matching a Settings Panel summary row. */
42
+ export type DevToolsObjectRow = {
43
+ label: string;
44
+ tags: DevToolsObjectTag[];
45
+ };
46
+ /**
47
+ * An AdapTable object scoped to the column (Alert, Format Column, Styled Column, …).
48
+ * `rows` are the same summary tags the Settings Panel shows. Read-only.
49
+ */
50
+ export type DevToolsScopedObject = {
51
+ module: string;
52
+ rows: DevToolsObjectRow[];
53
+ };
54
+ /**
55
+ * Read-only Column Info for one column, returned by
56
+ * `window.__ADAPTABLE_DEVTOOLS__.getColumnInfo()`.
57
+ */
58
+ export type DevToolsColumnDetail = {
59
+ columnId: string;
60
+ columns: DevToolsColumnOption[];
61
+ summary: DevToolsColumnSummaryRow[];
62
+ scopedObjects: DevToolsScopedObject[];
63
+ };
21
64
  export type DevToolsColumnInfo = {
22
65
  /** AdapTable column id (AG Grid `colId`) */
23
66
  id: string;
@@ -136,6 +179,11 @@ export interface AdaptableDevToolsGlobal {
136
179
  getPersistentState(adaptableId?: string): AdaptablePersistentState;
137
180
  /** Columns AdapTable knows about, with data types and visibility */
138
181
  getColumns(adaptableId?: string): DevToolsColumnInfo[];
182
+ /**
183
+ * Read-only Column Info for one column: summary plus the objects scoped to it.
184
+ * Omit `columnId` to use the first column. Does not include distinct cell values.
185
+ */
186
+ getColumnInfo(adaptableId?: string, columnId?: string): DevToolsColumnDetail;
139
187
  /** The facts shown in the Settings Panel Grid Info section */
140
188
  getGridInfo(adaptableId?: string): DevToolsGridInfo;
141
189
  /**
@@ -190,7 +238,7 @@ export type DevToolsHostPageMessagePayload = {
190
238
  adaptableId: string;
191
239
  [key: string]: any;
192
240
  };
193
- export type DevToolsHostPageMessageType = 'mount' | 'update' | 'unmount' | 'log' | 'state-change';
241
+ export type DevToolsHostPageMessageType = 'mount' | 'update' | 'unmount' | 'log' | 'state-change' | 'column-info';
194
242
  export type DevToolsGridRuntime = {
195
243
  allRowsCount: number;
196
244
  visibleRowsCount: number;
@@ -247,5 +295,11 @@ export type DevToolsHostPageMessage = {
247
295
  primaryKey?: string;
248
296
  settingsPanelNavigation?: DevToolsSettingsPanelNavigationGroup[];
249
297
  };
298
+ } | {
299
+ type: Extract<DevToolsHostPageMessageType, 'column-info'>;
300
+ payload: {
301
+ adaptableId: string;
302
+ columnInfo: DevToolsColumnDetail;
303
+ };
250
304
  } | DevToolsHostPageLogMessage);
251
305
  export type DevToolsHookFn = (adaptableId: string, options: null | DevToolsFnOptions) => void;
package/index.css CHANGED
@@ -7068,10 +7068,6 @@
7068
7068
  --ab-cmp-icon__fill: var(--ab-icon-fill);
7069
7069
  --ab-cmp-icon__height: 17px;
7070
7070
  --ab-cmp-icon__width: 17px;
7071
- --ab-cmp-wizard__padding: calc(var(--ab-base-space) * 16);
7072
- --ab-cmp-wizard__margin: var(--ab-base-space);
7073
- --ab-cmp-wizard__background: var(--ab-color-primary);
7074
- --ab-cmp-wizard__color: var(--ab-color-primary-foreground);
7075
7071
  --ab-cmp-button-border-radius: 0px;
7076
7072
  --ab-cmp-button-disabled-opacity: 0.5;
7077
7073
  --ab-cmp-button-background: var(--ab-color-primary);
@@ -9040,21 +9036,6 @@
9040
9036
  bottom: calc(var(--ab-popover-triangle-size) * -1);
9041
9037
  transform: translate3d(calc(var(--ab-popover-triangle-size) * -0.5), 0px, 0px);
9042
9038
  }
9043
- .ab-NocodeWizard,.ab-NocodeWizard *,.ab-NocodeWizard *:before,.ab-NocodeWizard *:after {
9044
- box-sizing: border-box;
9045
- }
9046
- .ab-NocodeWizard {
9047
- padding: var(--ab-cmp-wizard__padding);
9048
- margin: var(--ab-cmp-wizard__margin);
9049
- background: var(--ab-cmp-wizard__background);
9050
- color: var(--ab-cmp-wizard__color);
9051
- height: 100%;
9052
- }
9053
- .ab-NocodeWizardFormBox {
9054
- border: 1px solid var(--ab-color-primarydark);
9055
- border-radius: var(--ab-border-radius);
9056
- background-color: var(--ab-color-background);
9057
- }
9058
9039
  .ab-Button.ab-Button {
9059
9040
  border-radius: var(--ab-cmp-button-border-radius);
9060
9041
  padding: calc(var(--ab-base-space) * 2);
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Adaptable, { AdaptableWizardView } from './src/agGrid';
1
+ import Adaptable from './src/agGrid';
2
2
  import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
3
  import { AdaptableNumberEditor, AdaptableReactNumberEditor } from './src/agGrid/editors/AdaptableNumberEditor';
4
4
  import { AdaptablePercentageEditor, AdaptableReactPercentageEditor } from './src/agGrid/editors/AdaptablePercentageEditor';
@@ -10,7 +10,6 @@ export * from './src/types';
10
10
  export default Adaptable;
11
11
  export { Adaptable };
12
12
  export declare const _AdaptableAgGrid: typeof AdaptableAgGrid;
13
- export declare const AdaptableNoCodeWizard: typeof import("./src/agGrid/Adaptable").AdaptableNoCodeWizard;
14
13
  export declare const _AdaptableLogger: typeof import("./src/types").AdaptableLogger;
15
14
  export declare const AdaptableQL: {
16
15
  ScalarFunctions: import("./vendor/aql/index.js").ScalarFunctionName[];
@@ -59,4 +58,4 @@ export declare const AdaptableColumnType: {
59
58
  */
60
59
  PivotAggregationTotal: import("./src/types").AdaptableColumnTypeName;
61
60
  };
62
- export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, type UpgradeConfig, };
61
+ export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, type UpgradeConfig, };
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import Adaptable, { AdaptableNoCodeWizard as ABWizard, AdaptableWizardView, AdaptableLogger as ABLogger, } from './src/agGrid';
1
+ import Adaptable, { AdaptableLogger as ABLogger } from './src/agGrid';
2
2
  import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
3
  import { aggregationCallableNames as aggregatedScalarExpressionFunctionNames, scalarFunctionNames as scalarExpressionFunctionNames, } from "./vendor/aql/index.js";
4
4
  import { AdaptableNumberEditor, AdaptableReactNumberEditor, } from './src/agGrid/editors/AdaptableNumberEditor';
@@ -12,7 +12,6 @@ export * from './src/types';
12
12
  export default Adaptable;
13
13
  export { Adaptable };
14
14
  export const _AdaptableAgGrid = AdaptableAgGrid;
15
- export const AdaptableNoCodeWizard = ABWizard;
16
15
  export const _AdaptableLogger = ABLogger;
17
16
  export const AdaptableQL = {
18
17
  ScalarFunctions: scalarExpressionFunctionNames,
@@ -31,4 +30,4 @@ export const AdaptableColumnType = {
31
30
  PivotColumnTotal: PIVOT_COLUMN_TOTAL_COLUMN_TYPE,
32
31
  PivotAggregationTotal: PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE,
33
32
  };
34
- export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, };
33
+ export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "24.0.0-canary.8",
3
+ "version": "24.0.0-canary.9",
4
4
  "description": "Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -121,6 +121,9 @@ export type ActionColumnControl<TData = any, CTX = ActionColumnContext<TData>> =
121
121
  * A standard clickable button.
122
122
  */
123
123
  export interface ButtonControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
124
+ /**
125
+ * Discriminator. Set to `'button'`.
126
+ */
124
127
  type: 'button';
125
128
  /**
126
129
  * Handler invoked when the button is clicked. May return a `Promise`, in which
@@ -140,6 +143,9 @@ export interface ButtonControl<TData = any, CTX = ActionColumnContext<TData>> ex
140
143
  * A built-in Row command (opens the relevant Row Form).
141
144
  */
142
145
  export interface CommandControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
146
+ /**
147
+ * Discriminator. Set to `'command'`.
148
+ */
143
149
  type: 'command';
144
150
  /**
145
151
  * The built-in command to run: `'create'`, `'clone'`, `'edit'` or `'delete'`.
@@ -154,6 +160,9 @@ export interface CommandControl<TData = any, CTX = ActionColumnContext<TData>> e
154
160
  * Shared properties for {@link ToggleControl}.
155
161
  */
156
162
  export interface ToggleControlBase<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
163
+ /**
164
+ * Discriminator. Set to `'toggle'`.
165
+ */
157
166
  type: 'toggle';
158
167
  /**
159
168
  * How the toggle is rendered:
@@ -197,6 +206,9 @@ export type ToggleControl<TData = any, CTX = ActionColumnContext<TData>> = Toggl
197
206
  * A hyperlink (external URL, `mailto:`, internal drill-through, etc.).
198
207
  */
199
208
  export interface LinkControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
209
+ /**
210
+ * Discriminator. Set to `'link'`.
211
+ */
200
212
  type: 'link';
201
213
  /**
202
214
  * The link target - static string or a function of the context.
@@ -212,6 +224,9 @@ export interface LinkControl<TData = any, CTX = ActionColumnContext<TData>> exte
212
224
  * A dropdown that fires `onChange` when a value is selected (e.g. to set a status).
213
225
  */
214
226
  export interface SelectControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
227
+ /**
228
+ * Discriminator. Set to `'select'`.
229
+ */
215
230
  type: 'select';
216
231
  /**
217
232
  * The options to choose from - a static array or a function of the context.
@@ -236,6 +251,9 @@ export interface SelectControl<TData = any, CTX = ActionColumnContext<TData>> ex
236
251
  * dropdown menus and split buttons (a primary action plus a chevron of extras).
237
252
  */
238
253
  export interface MenuControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
254
+ /**
255
+ * Discriminator. Set to `'menu'`.
256
+ */
239
257
  type: 'menu';
240
258
  /**
241
259
  * `'dropdown'` (default) shows a single trigger; `'split'` renders `primary`
@@ -257,6 +275,9 @@ export interface MenuControl<TData = any, CTX = ActionColumnContext<TData>> exte
257
275
  * row, reusing the full Adaptable Form engine (fields, validation, layout).
258
276
  */
259
277
  export interface FormControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
278
+ /**
279
+ * Discriminator. Set to `'form'`.
280
+ */
260
281
  type: 'form';
261
282
  /**
262
283
  * The Form to display. Its `onSubmit` receives the entered `formData` and the
@@ -272,6 +293,9 @@ export interface FormControl<TData = any, CTX = ActionColumnContext<TData>> exte
272
293
  * Escape hatch: render bespoke framework content (React / Angular / Vue) in the cell.
273
294
  */
274
295
  export interface CustomControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
296
+ /**
297
+ * Discriminator. Set to `'custom'`.
298
+ */
275
299
  type: 'custom';
276
300
  /**
277
301
  * React render function returning a node for the cell, with full row context injected.