@adaptabletools/adaptable 22.0.11 → 22.1.0-canary.1

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 (75) hide show
  1. package/index.css +19 -1
  2. package/index.css.map +1 -1
  3. package/package.json +3 -4
  4. package/src/AdaptableOptions/DashboardOptions.d.ts +2 -2
  5. package/src/AdaptableState/Common/AdaptablePredicate.js +1 -1
  6. package/src/AdaptableState/InitialState.d.ts +2 -2
  7. package/src/AdaptableState/LayoutState.d.ts +44 -0
  8. package/src/Api/CalendarApi.d.ts +15 -0
  9. package/src/Api/ColumnScopeApi.d.ts +5 -0
  10. package/src/Api/Implementation/CalendarApiImpl.d.ts +3 -0
  11. package/src/Api/Implementation/CalendarApiImpl.js +10 -0
  12. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  13. package/src/Api/Implementation/ColumnApiImpl.js +14 -0
  14. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -0
  15. package/src/Api/Implementation/ColumnScopeApiImpl.js +12 -0
  16. package/src/Api/Implementation/LayoutHelpers.js +12 -0
  17. package/src/Api/Internal/AlertInternalApi.js +4 -1
  18. package/src/Api/Internal/FormatColumnInternalApi.js +3 -3
  19. package/src/Strategy/FlashingCellModule.js +1 -0
  20. package/src/Strategy/PlusMinusModule.js +3 -3
  21. package/src/Strategy/SmartEditModule.js +1 -1
  22. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  23. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -1
  24. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +41 -2
  25. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  26. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +31 -2
  27. package/src/Utilities/Helpers/AdaptableHelper.js +30 -4
  28. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -0
  29. package/src/Utilities/Services/MetamodelService.js +18 -18
  30. package/src/Utilities/Services/QueryLanguageService.d.ts +2 -0
  31. package/src/Utilities/Services/QueryLanguageService.js +20 -8
  32. package/src/Utilities/Services/ValidationService.js +3 -1
  33. package/src/View/Components/EntityRulesEditor/index.js +1 -1
  34. package/src/View/Components/ModuleValueSelector/index.js +9 -1
  35. package/src/View/Components/ReorderDraggable/index.js +22 -36
  36. package/src/View/Components/ValueSelector/index.js +46 -50
  37. package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -1
  38. package/src/View/Layout/Wizard/LayoutWizard.js +16 -1
  39. package/src/View/Layout/Wizard/sections/ColumnsSection.js +31 -19
  40. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +1 -1
  41. package/src/View/Layout/Wizard/sections/RowSelectionSection.d.ts +8 -0
  42. package/src/View/Layout/Wizard/sections/RowSelectionSection.js +140 -0
  43. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +0 -1
  44. package/src/agGrid/AdaptableAgGrid.js +10 -0
  45. package/src/components/Dashboard/Dashboard.js +1 -1
  46. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  47. package/src/components/DragAndDropContext/ModuleManager.js +12 -37
  48. package/src/components/DragAndDropContext/TabList.d.ts +11 -6
  49. package/src/components/DragAndDropContext/TabList.js +78 -36
  50. package/src/components/DragAndDropContext/UnusedPanel.js +10 -21
  51. package/src/components/ExpressionEditor/BaseEditorInput.d.ts +2 -0
  52. package/src/components/ExpressionEditor/BaseEditorInput.js +4 -0
  53. package/src/components/ExpressionEditor/EditorInput.d.ts +3 -1
  54. package/src/components/ExpressionEditor/EditorInput.js +20 -9
  55. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +2 -1
  56. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +3 -12
  57. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +17 -19
  58. package/src/components/ExpressionEditor/index.d.ts +2 -1
  59. package/src/components/ExpressionEditor/index.js +1 -1
  60. package/src/components/Tree/TreeDropdown/index.js +38 -27
  61. package/src/components/dnd/index.d.ts +3 -13
  62. package/src/components/dnd/index.js +4 -55
  63. package/src/env.js +2 -2
  64. package/src/layout-manager/src/LayoutManagerModel.d.ts +2 -1
  65. package/src/layout-manager/src/index.d.ts +10 -0
  66. package/src/layout-manager/src/index.js +156 -4
  67. package/src/layout-manager/src/normalizeLayoutModel.js +8 -0
  68. package/src/layout-manager/src/simplifyLayoutModel.js +6 -0
  69. package/src/metamodel/adaptable-metamodel-model.d.ts +22 -13
  70. package/src/metamodel/adaptable.metamodel.d.ts +3792 -5143
  71. package/src/metamodel/adaptable.metamodel.js +1 -1
  72. package/src/parser/src/parser.js +55 -1218
  73. package/src/parser/src/types.d.ts +5 -0
  74. package/src/types.d.ts +1 -1
  75. package/tsconfig.esm.tsbuildinfo +1 -1
@@ -66,6 +66,11 @@ export interface ExpressionContext extends BaseContext {
66
66
  * Pivot Result Column when evaluating a Pivoted Column
67
67
  */
68
68
  pivotResultColumn?: Column;
69
+ /**
70
+ * Column scope for the expression (if applicable).
71
+ * Technically this is a Column ID
72
+ */
73
+ columnScope?: string;
69
74
  }
70
75
  /**
71
76
  * Key-Value map of Expression Names and their implementation
package/src/types.d.ts CHANGED
@@ -194,7 +194,7 @@ export type { StyledColumn, StyledColumnState, PercentBarStyle, GradientStyle, C
194
194
  export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, FreeTextColumnSettings, } from './AdaptableState/FreeTextColumnState';
195
195
  export type { StatusBarState, AdaptableStatusBar } from './AdaptableState/StatusBarState';
196
196
  export type { IPushPullDomain, IPushPullReport, IPushPullSchedule, IPushPullState, } from './AdaptableState/IPushPullState';
197
- export type { Layout, LayoutState, LayoutArray, LayoutBase, TableLayout, PivotLayout, RowGroupValues, ColumnGroupValues, RowGroupValuesWithExceptionKeys, GroupKeys, ColumnGroupValuesWithExceptionKeys, ColumnStringMap, ColumnNumberMap, ColumnBooleanFalseMap, ColumnDirectionMap, ColumnSizingMap, ColumnSizingDefinition, PivotTotalPosition, } from './AdaptableState/LayoutState';
197
+ export type { Layout, LayoutState, LayoutArray, LayoutBase, TableLayout, PivotLayout, RowGroupValues, ColumnGroupValues, RowGroupValuesWithExceptionKeys, GroupKeys, ColumnGroupValuesWithExceptionKeys, ColumnStringMap, ColumnNumberMap, ColumnBooleanFalseMap, ColumnDirectionMap, ColumnSizingMap, ColumnSizingDefinition, PivotTotalPosition, LayoutRowSelection, } from './AdaptableState/LayoutState';
198
198
  export type { RowSummary, RowSummaryPosition } from './AdaptableState/Common/RowSummary';
199
199
  export type { OpenFinReport, OpenFinSchedule, OpenFinState } from './AdaptableState/OpenFinState';
200
200
  export type { PlusMinusNudge, PlusMinusState } from './AdaptableState/PlusMinusState';