@adaptabletools/adaptable 18.0.0-canary.12 → 18.0.0-canary.13

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 (106) hide show
  1. package/base.css +1 -1
  2. package/base.css.map +1 -1
  3. package/index.css +1 -1
  4. package/index.css.map +1 -1
  5. package/package.json +1 -1
  6. package/src/AdaptableOptions/MenuOptions.d.ts +1 -53
  7. package/src/AdaptableOptions/MenuOptions.js +3 -3
  8. package/src/Api/AdaptableApi.d.ts +2 -2
  9. package/src/Api/ConfigApi.d.ts +2 -3
  10. package/src/Api/GridApi.d.ts +2 -1
  11. package/src/Api/Implementation/ActionColumnApiImpl.js +3 -6
  12. package/src/Api/Implementation/ConfigApiImpl.js +7 -7
  13. package/src/Api/Implementation/GridApiImpl.d.ts +2 -1
  14. package/src/Api/Implementation/GridApiImpl.js +8 -1
  15. package/src/Api/Implementation/NoteApiImpl.d.ts +2 -2
  16. package/src/Api/Implementation/NoteApiImpl.js +8 -8
  17. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +0 -3
  18. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -8
  19. package/src/Api/Internal/ActionRowInternalApi.js +1 -1
  20. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -2
  21. package/src/Api/Internal/AdaptableInternalApi.js +11 -11
  22. package/src/Api/Internal/CalculatedColumnInternalApi.js +3 -2
  23. package/src/Api/Internal/Fdc3InternalApi.js +2 -2
  24. package/src/Api/Internal/FreeTextColumnInternalApi.js +3 -2
  25. package/src/Api/Internal/GridInternalApi.d.ts +2 -0
  26. package/src/Api/Internal/GridInternalApi.js +15 -0
  27. package/src/Api/NoteApi.d.ts +5 -5
  28. package/src/Api/OptionsApi.d.ts +2 -2
  29. package/src/Api/UserInterfaceApi.d.ts +0 -11
  30. package/src/PredefinedConfig/AdaptableState.d.ts +1 -1
  31. package/src/PredefinedConfig/CommentState.d.ts +16 -12
  32. package/src/PredefinedConfig/Common/TransposeConfig.d.ts +6 -0
  33. package/src/PredefinedConfig/Common/TransposeConfig.js +1 -0
  34. package/src/PredefinedConfig/Common/Types.d.ts +4 -4
  35. package/src/PredefinedConfig/Common/Types.js +4 -1
  36. package/src/PredefinedConfig/NoteState.d.ts +1 -1
  37. package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -1
  38. package/src/Redux/ActionsReducers/NoteRedux.d.ts +38 -0
  39. package/src/Redux/ActionsReducers/{NotesRedux.js → NoteRedux.js} +20 -20
  40. package/src/Redux/ActionsReducers/SystemRedux.d.ts +1 -1
  41. package/src/Redux/Store/AdaptableStore.js +7 -7
  42. package/src/Strategy/{CommentsModule.d.ts → CommentModule.d.ts} +1 -5
  43. package/src/Strategy/{CommentsModule.js → CommentModule.js} +5 -6
  44. package/src/Strategy/LayoutModule.d.ts +1 -0
  45. package/src/Strategy/LayoutModule.js +17 -1
  46. package/src/Strategy/{NotesModule.d.ts → NoteModule.d.ts} +2 -1
  47. package/src/Strategy/{NotesModule.js → NoteModule.js} +7 -3
  48. package/src/Strategy/Utilities/getScopeViewItems.js +3 -0
  49. package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
  50. package/src/Utilities/Constants/ModuleConstants.js +6 -6
  51. package/src/Utilities/Defaults/DefaultSettingsPanel.js +2 -2
  52. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +10 -0
  53. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -3
  54. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  55. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +15 -0
  56. package/src/Utilities/ObjectFactory.d.ts +3 -3
  57. package/src/Utilities/ObjectFactory.js +4 -24
  58. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -0
  59. package/src/Utilities/Services/AggregatedScalarLiveValue.js +12 -10
  60. package/src/Utilities/Services/CellPopupService.js +2 -2
  61. package/src/Utilities/Services/ModuleService.js +4 -0
  62. package/src/Utilities/Services/QueryLanguageService.js +2 -2
  63. package/src/Utilities/Services/SummaryService.d.ts +1 -1
  64. package/src/Utilities/adaptableQlUtils.d.ts +2 -0
  65. package/src/Utilities/adaptableQlUtils.js +14 -0
  66. package/src/View/AdaptableViewFactory.js +2 -2
  67. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
  68. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +1 -1
  69. package/src/View/Comments/CommentsEditor.js +1 -1
  70. package/src/View/Comments/CommentsPopup.js +8 -4
  71. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +5 -5
  72. package/src/View/Components/ValueSelector/index.d.ts +1 -0
  73. package/src/View/Components/ValueSelector/index.js +1 -1
  74. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +0 -1
  75. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
  76. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +3 -1
  77. package/src/View/Layout/TransposedPopup.js +19 -18
  78. package/src/View/Layout/Wizard/LayoutWizard.js +8 -0
  79. package/src/View/Layout/Wizard/sections/RowSummarySection.d.ts +8 -0
  80. package/src/View/Layout/Wizard/sections/RowSummarySection.js +140 -0
  81. package/src/View/Note/NotePopup.d.ts +2 -0
  82. package/src/View/{Notes/NotesPopup.js → Note/NotePopup.js} +3 -3
  83. package/src/agGrid/AdaptableAgGrid.js +4 -4
  84. package/src/agGrid/AgGridAdapter.d.ts +1 -0
  85. package/src/agGrid/AgGridAdapter.js +5 -0
  86. package/src/agGrid/AgGridColumnAdapter.js +3 -3
  87. package/src/agGrid/defaultAdaptableOptions.js +0 -7
  88. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +2 -1
  89. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +0 -1
  90. package/src/components/ExpressionEditor/QueryBuilder/utils.js +1 -14
  91. package/src/components/icons/note.js +2 -2
  92. package/src/env.js +2 -2
  93. package/src/metamodel/adaptable.metamodel.d.ts +36 -11
  94. package/src/metamodel/adaptable.metamodel.js +1 -1
  95. package/src/parser/src/parser.js +117 -1257
  96. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +1 -1
  97. package/src/parser/src/predicate/mapQlPredicateToExpression.js +2 -1
  98. package/src/parser/src/types.d.ts +2 -2
  99. package/src/types.d.ts +1 -0
  100. package/tsconfig.esm.tsbuildinfo +1 -1
  101. package/src/Redux/ActionsReducers/NotesRedux.d.ts +0 -38
  102. package/src/View/Notes/NotesPopup.d.ts +0 -2
  103. /package/src/Api/Internal/{NotesInternalApi.d.ts → NoteInternalApi.d.ts} +0 -0
  104. /package/src/Api/Internal/{NotesInternalApi.js → NoteInternalApi.js} +0 -0
  105. /package/src/View/{Notes → Note}/NoteEditor.d.ts +0 -0
  106. /package/src/View/{Notes → Note}/NoteEditor.js +0 -0
@@ -83,7 +83,7 @@ export function mapExpressionToQlPredicate(expression) {
83
83
  }
84
84
  }
85
85
  function getOperatorFromAST(astRootNode) {
86
- if (!['INFIX', 'FUNCTION', 'COLUMN'].includes(astRootNode.metaInfo)) {
86
+ if (!['INFIX', 'FUNCTION', 'VALUE_REF'].includes(astRootNode.metaInfo)) {
87
87
  return undefined;
88
88
  }
89
89
  return astRootNode.type;
@@ -91,7 +91,8 @@ export function getQlPredicateSymbol(predicateName) {
91
91
  function getPredicateType(predicateName) {
92
92
  switch (predicateName) {
93
93
  case 'COL':
94
- return 'COLUMN';
94
+ case 'FIELD':
95
+ return 'VALUE_REF';
95
96
  case 'IF':
96
97
  case 'CASE':
97
98
  return 'CONDITIONAL';
@@ -1,7 +1,7 @@
1
1
  import { IRowNode } from '@ag-grid-community/core';
2
2
  import { BaseContext } from '../../../types';
3
3
  export type AST = AST_Expression[];
4
- export type PredicateType = 'COLUMN' | 'INFIX' | 'UNARY' | 'FUNCTION' | 'CONDITIONAL';
4
+ export type PredicateType = 'VALUE_REF' | 'INFIX' | 'UNARY' | 'FUNCTION' | 'CONDITIONAL';
5
5
  /**
6
6
  * Defines AST of an Expressoin
7
7
  */
@@ -27,7 +27,7 @@ export interface ExpressionContext extends BaseContext {
27
27
  /**
28
28
  * Current AG Grid Row Node being evaluated
29
29
  */
30
- node: any;
30
+ node: IRowNode;
31
31
  /**
32
32
  * All Expression Functions available to AdaptableQL
33
33
  */
package/src/types.d.ts CHANGED
@@ -207,3 +207,4 @@ export type { Fdc3IntentType, Fdc3StandardIntentType, Fdc3CustomIntentType, Comp
207
207
  export type { Fdc3Options, GridDataContextMapping, ActionColumnDefaultConfiguration, ResolveContextDataContext, RaiseIntentConfig, BroadcastConfig, HandleFdc3IntentContext, HandleFdc3Context, Fdc3ButtonContext, Fdc3AdaptableButton, HandleFdc3IntentResolutionContext, UIControlConfig, Fdc3IntentOptions, Fdc3ContextOptions, RaiseIntentConfiguration, BroadcastConfiguration, FDC3ActionColumn, } from './AdaptableOptions/Fdc3Options';
208
208
  export type { CommentState, CommentThread, AdaptableComment } from './PredefinedConfig/CommentState';
209
209
  export type { UpgradeConfig } from '../agGrid';
210
+ export type { TransposeConfig } from './PredefinedConfig/Common/TransposeConfig';