@adaptabletools/adaptable 18.1.2 → 18.1.4-canary.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 (42) hide show
  1. package/package.json +1 -1
  2. package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -1
  3. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +5 -13
  4. package/src/AdaptableOptions/CommentOptions.d.ts +5 -0
  5. package/src/AdaptableOptions/NoteOptions.d.ts +6 -0
  6. package/src/Api/CommentApi.d.ts +4 -0
  7. package/src/Api/Implementation/CommentsApiImpl.d.ts +1 -0
  8. package/src/Api/Implementation/CommentsApiImpl.js +3 -0
  9. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +3 -8
  10. package/src/Api/Internal/AlertInternalApi.d.ts +1 -0
  11. package/src/Api/Internal/AlertInternalApi.js +9 -8
  12. package/src/Api/UserInterfaceApi.d.ts +4 -8
  13. package/src/PredefinedConfig/Common/CustomWindowConfig.d.ts +13 -0
  14. package/src/PredefinedConfig/Common/CustomWindowConfig.js +1 -0
  15. package/src/PredefinedConfig/Common/ProgressIndicatorConfig.d.ts +23 -0
  16. package/src/PredefinedConfig/Common/ProgressIndicatorConfig.js +1 -0
  17. package/src/PredefinedConfig/Common/RowSummary.d.ts +8 -1
  18. package/src/PredefinedConfig/SystemState.d.ts +3 -5
  19. package/src/Redux/ActionsReducers/SystemRedux.d.ts +4 -9
  20. package/src/Redux/ActionsReducers/SystemRedux.js +5 -7
  21. package/src/Strategy/LayoutModule.js +4 -2
  22. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +1 -1
  23. package/src/Utilities/Extensions/ObjectExtensions.d.ts +3 -0
  24. package/src/Utilities/Extensions/ObjectExtensions.js +9 -0
  25. package/src/Utilities/Services/QueryLanguageService.js +1 -0
  26. package/src/Utilities/Services/RowSummaryService.js +12 -3
  27. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +9 -1
  28. package/src/View/Comments/CommentsEditor.js +13 -1
  29. package/src/View/Layout/Wizard/sections/RowSummarySection.js +39 -11
  30. package/src/View/Note/NoteEditor.js +12 -5
  31. package/src/agGrid/AdaptableAgGrid.d.ts +3 -3
  32. package/src/agGrid/AdaptableAgGrid.js +9 -5
  33. package/src/agGrid/AgGridColumnAdapter.d.ts +1 -1
  34. package/src/agGrid/defaultAdaptableOptions.js +6 -0
  35. package/src/components/ExpressionEditor/ExpressionPreview.js +12 -6
  36. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +17 -5
  37. package/src/env.js +2 -2
  38. package/src/metamodel/adaptable.metamodel.d.ts +24 -0
  39. package/src/metamodel/adaptable.metamodel.js +1 -1
  40. package/src/parser/src/types.d.ts +12 -8
  41. package/src/types.d.ts +3 -1
  42. package/tsconfig.esm.tsbuildinfo +1 -1
@@ -131,19 +131,19 @@ context: ExpressionContext) => any;
131
131
  export declare const isAST_Function: (node: AST_Expression) => node is AST_Function;
132
132
  export interface AggregatedExpressionFunction {
133
133
  /**
134
- * Expression description
134
+ * Description of the Aggregated Expression Function
135
135
  */
136
136
  description?: string;
137
137
  /**
138
- * Example Signatures for the function
138
+ * Example Signatures for the Aggregated Expression Function
139
139
  */
140
140
  signatures?: string[];
141
141
  /**
142
- * Examples how the function can be used
142
+ * Examples to use the Aggregated Expression Function
143
143
  */
144
144
  examples?: string[];
145
145
  /**
146
- * Mandaatory Initial Value for the aggregation
146
+ * Mandatory Initial Value for the aggregation
147
147
  */
148
148
  initialValue: any;
149
149
  /**
@@ -165,6 +165,10 @@ export interface AggregatedExpressionFunction {
165
165
  * Optional filter which is applied to each row before the reducer is called. If the filter returns false, the row is NOT included in the aggregation.
166
166
  */
167
167
  filterRow?: (context: AggregatedExpressionFilteRowContext) => boolean;
168
+ /**
169
+ * Optional argument types.
170
+ */
171
+ inputTypes?: ExpressionFunctionInputType[];
168
172
  }
169
173
  export interface AggregatedExpressionReducerContext extends BaseContext {
170
174
  /**
@@ -184,7 +188,7 @@ export interface AggregatedExpressionReducerContext extends BaseContext {
184
188
  */
185
189
  rowNode: IRowNode;
186
190
  /**
187
- * Arguments passed to the function. Column arguments are transformed to their values, e.g. [colId] -> args = [value-of-colId]. Aggregation column and group by column are not included as they are passed as separate arguments.
191
+ * Arguments passed to the function
188
192
  */
189
193
  args: any[];
190
194
  /**
@@ -211,7 +215,7 @@ export interface AggregatedExpressionProcessAggregatedValueContext extends BaseC
211
215
  */
212
216
  rowNodes: IRowNode[];
213
217
  /**
214
- * Arguments passed to the function. Aggregation column and group by column are not included as they are passed as separate arguments.
218
+ * Arguments passed to the function
215
219
  */
216
220
  args: any[];
217
221
  /**
@@ -233,7 +237,7 @@ export interface AggregatedExpressionPrepareRowValueContext extends BaseContext
233
237
  */
234
238
  aggregatedValue: any;
235
239
  /**
236
- * Arguments passed to the function. Column arguments are transformed to their values, e.g. [colId] -> args = [value-of-colId]. Aggregation column and group by column are not included as they are passed as separate arguments.
240
+ * Arguments passed to the function
237
241
  */
238
242
  args: any[];
239
243
  /**
@@ -256,7 +260,7 @@ export interface AggregatedExpressionFilteRowContext extends BaseContext {
256
260
  */
257
261
  rowNode: IRowNode;
258
262
  /**
259
- * Arguments passed to the function. Column arguments are transformed to their values, e.g. [colId] -> args = [value-of-colId]. Aggregation column and group by column are not included as they are passed as separate arguments.
263
+ * Arguments passed to the function
260
264
  */
261
265
  args: any[];
262
266
  /**
package/src/types.d.ts CHANGED
@@ -209,8 +209,10 @@ export type { Shortcut, ShortcutState, ShortcutScopeDataType, } from './Predefin
209
209
  export type { SharedEntity, AdaptableSharedEntity, CustomSharedEntity, TeamSharingState, SharedEntityType, AdaptableSharedEntityConfig, CustomSharedEntityConfig, } from './PredefinedConfig/TeamSharingState';
210
210
  export type { AdaptableTheme, ThemeState } from './PredefinedConfig/ThemeState';
211
211
  export type { ToolPanelState, AdaptableToolPanelDefinition, ToolPanelVisibilityMode, } from './PredefinedConfig/ToolPanelState';
212
- export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, CustomRenderFunction, CustomRenderContext, CustomWindowConfig, } from './AdaptableOptions/AdaptableFrameworkComponent';
212
+ export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, VueFrameworkComponent, CustomRenderFunction, CustomRenderContext, } from './AdaptableOptions/AdaptableFrameworkComponent';
213
213
  export type { Fdc3Options, GridDataContextMapping, ActionColumnDefaultConfiguration, ResolveContextDataContext, RaiseIntentConfig, BroadcastConfig, HandleFdc3IntentContext, HandleFdc3Context, Fdc3ButtonContext, Fdc3AdaptableButton, HandleFdc3IntentResolutionContext, UIControlConfig, Fdc3IntentOptions, Fdc3ContextOptions, RaiseIntentConfiguration, BroadcastConfiguration, FDC3ActionColumn, } from './AdaptableOptions/Fdc3Options';
214
214
  export type { CommentState, CommentThread, AdaptableComment, } from './PredefinedConfig/CommentState';
215
215
  export type { UpgradeConfig } from '../agGrid';
216
+ export type { ProgressIndicatorConfig } from './PredefinedConfig/Common/ProgressIndicatorConfig';
217
+ export type { CustomWindowConfig } from './PredefinedConfig/Common/CustomWindowConfig';
216
218
  export type { TransposeConfig } from './PredefinedConfig/Common/TransposeConfig';