@finos/legend-query-builder 4.2.4 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +3 -1
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderResultPanel.js +11 -2
  6. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  7. package/lib/components/QueryBuilderSideBar.d.ts +16 -0
  8. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderSideBar.js +85 -7
  10. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  11. package/lib/components/QueryChat.d.ts.map +1 -1
  12. package/lib/components/QueryChat.js +1 -1
  13. package/lib/components/QueryChat.js.map +1 -1
  14. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -2
  15. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  16. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  17. package/lib/components/explorer/QueryBuilderExplorerPanel.js +5 -1
  18. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  19. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  20. package/lib/components/workflows/ClassQueryBuilder.js +13 -9
  21. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  22. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  23. package/lib/components/workflows/MappingQueryBuilder.js +13 -11
  24. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  25. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  26. package/lib/components/workflows/ServiceQueryBuilder.js +3 -2
  27. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  28. package/lib/index.css +1 -1
  29. package/lib/index.d.ts +1 -0
  30. package/lib/index.d.ts.map +1 -1
  31. package/lib/index.js +1 -0
  32. package/lib/index.js.map +1 -1
  33. package/lib/package.json +1 -1
  34. package/lib/stores/QueryBuilderExecutionContextState.d.ts +34 -0
  35. package/lib/stores/QueryBuilderExecutionContextState.d.ts.map +1 -0
  36. package/lib/stores/QueryBuilderExecutionContextState.js +59 -0
  37. package/lib/stores/QueryBuilderExecutionContextState.js.map +1 -0
  38. package/lib/stores/QueryBuilderInternalizeState.d.ts +24 -0
  39. package/lib/stores/QueryBuilderInternalizeState.d.ts.map +1 -0
  40. package/lib/stores/QueryBuilderInternalizeState.js +26 -0
  41. package/lib/stores/QueryBuilderInternalizeState.js.map +1 -0
  42. package/lib/stores/QueryBuilderResultState.js +5 -5
  43. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  44. package/lib/stores/QueryBuilderState.d.ts +7 -5
  45. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  46. package/lib/stores/QueryBuilderState.js +19 -17
  47. package/lib/stores/QueryBuilderState.js.map +1 -1
  48. package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
  49. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  50. package/lib/stores/QueryBuilderStateBuilder.js +27 -2
  51. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  52. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  53. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +28 -2
  54. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  55. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
  56. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +2 -2
  57. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  58. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
  59. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +6 -4
  60. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  61. package/lib/stores/explorer/QueryBuilderExplorerState.js +9 -9
  62. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  63. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +2 -1
  64. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  65. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +25 -2
  66. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  67. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +1 -1
  68. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  69. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  70. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -1
  71. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  72. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  73. package/lib/stores/filter/QueryBuilderFilterState.js +2 -1
  74. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  75. package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -1
  76. package/lib/stores/workflows/ClassQueryBuilderState.js +2 -1
  77. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
  78. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +23 -0
  79. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -0
  80. package/lib/stores/workflows/FunctionQueryBuilderState.js +27 -0
  81. package/lib/stores/workflows/FunctionQueryBuilderState.js.map +1 -0
  82. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  83. package/lib/stores/workflows/ServiceQueryBuilderState.js +7 -7
  84. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  85. package/package.json +4 -4
  86. package/src/components/QueryBuilder.tsx +5 -1
  87. package/src/components/QueryBuilderResultPanel.tsx +13 -3
  88. package/src/components/QueryBuilderSideBar.tsx +211 -7
  89. package/src/components/QueryChat.tsx +2 -1
  90. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +2 -2
  91. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -1
  92. package/src/components/workflows/ClassQueryBuilder.tsx +17 -9
  93. package/src/components/workflows/MappingQueryBuilder.tsx +15 -11
  94. package/src/components/workflows/ServiceQueryBuilder.tsx +3 -2
  95. package/src/index.ts +1 -0
  96. package/src/stores/QueryBuilderExecutionContextState.ts +69 -0
  97. package/src/stores/QueryBuilderInternalizeState.ts +34 -0
  98. package/src/stores/QueryBuilderResultState.ts +6 -6
  99. package/src/stores/QueryBuilderState.ts +28 -21
  100. package/src/stores/QueryBuilderStateBuilder.ts +79 -1
  101. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +50 -1
  102. package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +4 -2
  103. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +6 -4
  104. package/src/stores/explorer/QueryBuilderExplorerState.ts +9 -9
  105. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +64 -2
  106. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +1 -1
  107. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +4 -2
  108. package/src/stores/filter/QueryBuilderFilterState.ts +5 -2
  109. package/src/stores/workflows/ClassQueryBuilderState.ts +2 -1
  110. package/src/stores/workflows/FunctionQueryBuilderState.ts +38 -0
  111. package/src/stores/workflows/ServiceQueryBuilderState.ts +7 -11
  112. package/tsconfig.json +3 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE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AC,kBAAkB,CACtE,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;gBACJ,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;aAC1C;YAAC,MAAM;gBACN,aAAa;aACd;YACD,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;YAEpE,SAAS;YACT,MAAM,CAAC,OAAO;gBACZ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,qBAAqB,CACvE,SAAS,EACT,MAAM,CAAC,OAAO,CACf,CAAC;YACJ,IAAI,KAAK,EAAE;gBACT,2BAA2B,CAAC,oCAAoC,CAC9D,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,MAAM,CACP,CAAC;aACH;iBAAM;gBACL,2BAA2B,CAAC,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,MAAM,CACP,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,M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,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CACtE,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;gBACJ,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;aAC1C;YAAC,MAAM;gBACN,aAAa;aACd;YACD,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;YAEpE,SAAS;YACT,MAAM,CAAC,OAAO;gBACZ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,qBAAqB,CACvE,SAAS,EACT,MAAM,CAAC,OAAO,CACf,CAAC;YACJ,IAAI,KAAK,EAAE;gBACT,2BAA2B,CAAC,oCAAoC,CAC9D,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,MAAM,CACP,CAAC;aACH;iBAAM;gBACL,2BAA2B,CAAC,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,MAAM,CACP,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
@@ -21,7 +21,7 @@ import { QueryBuilderTextEditorState } from './QueryBuilderTextEditorState.js';
21
21
  import { QueryBuilderExplorerState } from './explorer/QueryBuilderExplorerState.js';
22
22
  import { QueryBuilderResultState } from './QueryBuilderResultState.js';
23
23
  import { QueryBuilderUnsupportedQueryState } from './QueryBuilderUnsupportedQueryState.js';
24
- import { type Class, type Mapping, type Runtime, type GraphManagerState, RawLambda, VariableExpression, ObserverContext, type ValueSpecification, type Type } from '@finos/legend-graph';
24
+ import { type Class, type Mapping, type Runtime, type GraphManagerState, type ValueSpecification, type Type, RawLambda, VariableExpression, ObserverContext } from '@finos/legend-graph';
25
25
  import type { CommandRegistrar, GenericLegendApplicationStore } from '@finos/legend-application';
26
26
  import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
27
27
  import { QueryBuilderParametersState } from './QueryBuilderParametersState.js';
@@ -31,6 +31,8 @@ import { QueryBuilderMilestoningState } from './milestoning/QueryBuilderMileston
31
31
  import { QueryBuilderWatermarkState } from './watermark/QueryBuilderWatermarkState.js';
32
32
  import { QueryBuilderConstantsState } from './QueryBuilderConstantsState.js';
33
33
  import { QueryBuilderCheckEntitlementsState } from './entitlements/QueryBuilderCheckEntitlementsState.js';
34
+ import type { QueryBuilderInternalizeState } from './QueryBuilderInternalizeState.js';
35
+ import { type QueryBuilderExecutionContextState } from './QueryBuilderExecutionContextState.js';
34
36
  export declare abstract class QueryBuilderState implements CommandRegistrar {
35
37
  readonly applicationStore: GenericLegendApplicationStore;
36
38
  readonly graphManagerState: GraphManagerState;
@@ -57,8 +59,8 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
57
59
  isCalendarEnabled: boolean;
58
60
  isQueryChatOpened: boolean;
59
61
  class?: Class | undefined;
60
- mapping?: Mapping | undefined;
61
- runtimeValue?: Runtime | undefined;
62
+ executionContextState: QueryBuilderExecutionContextState;
63
+ internalizeState?: QueryBuilderInternalizeState | undefined;
62
64
  TEMPORARY__setupPanelContentRenderer?: (() => React.ReactNode) | undefined;
63
65
  constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState);
64
66
  get isMappingReadOnly(): boolean;
@@ -74,14 +76,14 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
74
76
  get allVariables(): VariableExpression[];
75
77
  get allVariableNames(): string[];
76
78
  setIsQueryChatOpened(val: boolean): void;
79
+ setInternalize(val: QueryBuilderInternalizeState | undefined): void;
77
80
  setShowFunctionsExplorerPanel(val: boolean): void;
78
81
  setShowParametersPanel(val: boolean): void;
79
82
  setIsEditingWatermark(val: boolean): void;
80
83
  setIsCheckingEntitlments(val: boolean): void;
81
84
  setIsCalendarEnabled(val: boolean): void;
82
85
  setClass(val: Class | undefined): void;
83
- setMapping(val: Mapping | undefined): void;
84
- setRuntimeValue(val: Runtime | undefined): void;
86
+ setExecutionContextState(val: QueryBuilderExecutionContextState): void;
85
87
  get isQuerySupported(): boolean;
86
88
  registerCommands(): void;
87
89
  isVariableUsed(variable: VariableExpression): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAKtB,SAAS,EACT,kBAAkB,EAElB,eAAe,EAIf,KAAK,kBAAkB,EAEvB,KAAK,IAAI,EAQV,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACV,gBAAgB,EAChB,6BAA6B,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AAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE;QAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;IAS3E,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAKjC,yBAAyB,IAAI,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,SAAS;IAcxE,UAAU,CAAC,OAAO,CAAC,EAAE;QAAE,qBAAqB,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS;IAoBnE,cAAc,IAAI,SAAS;IA0C3B,kBAAkB,IAAI,IAAI;IAW1B,mBAAmB,CACjB,KAAK,EAAE,SAAS,EAChB,sBAAsB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,IAAI;IAQP;;OAEG;IACH,gBAAgB,CACd,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE;QACR,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC9C,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACrC,sBAAsB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,SAAS,CAAC;KACtE,GACA,IAAI;IAyEN,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAwFlC,IAAI,mBAAmB,IAAI,MAAM,EAAE,CAElC;IAED;;;;OAIG;IACH,kCAAkC,IAAI,iBAAiB;IAcvD,IAAI,QAAQ,IAAI,MAAM,CAWrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -36,6 +36,7 @@ import { QueryBuilderConstantsState } from './QueryBuilderConstantsState.js';
36
36
  import { QueryBuilderCheckEntitlementsState } from './entitlements/QueryBuilderCheckEntitlementsState.js';
37
37
  import { QueryBuilderTDSState } from './fetch-structure/tds/QueryBuilderTDSState.js';
38
38
  import { QUERY_BUILDER_PURE_PATH } from '../graph/QueryBuilderMetaModelConst.js';
39
+ import { QueryBuilderExternalExecutionContextState, } from './QueryBuilderExecutionContextState.js';
39
40
  export class QueryBuilderState {
40
41
  applicationStore;
41
42
  graphManagerState;
@@ -62,8 +63,8 @@ export class QueryBuilderState {
62
63
  isCalendarEnabled = false;
63
64
  isQueryChatOpened = false;
64
65
  class;
65
- mapping;
66
- runtimeValue;
66
+ executionContextState;
67
+ internalizeState;
67
68
  // NOTE: this makes it so that we need to import components in stores code,
68
69
  // we probably want to refactor to an extension mechanism
69
70
  TEMPORARY__setupPanelContentRenderer;
@@ -86,9 +87,8 @@ export class QueryBuilderState {
86
87
  isCheckingEntitlments: observable,
87
88
  isCalendarEnabled: observable,
88
89
  changeDetectionState: observable,
90
+ executionContextState: observable,
89
91
  class: observable,
90
- mapping: observable,
91
- runtimeValue: observable,
92
92
  isQueryChatOpened: observable,
93
93
  sideBarClassName: computed,
94
94
  isQuerySupported: computed,
@@ -99,19 +99,19 @@ export class QueryBuilderState {
99
99
  setIsCalendarEnabled: action,
100
100
  setIsCheckingEntitlments: action,
101
101
  setClass: action,
102
- setMapping: action,
103
- setRuntimeValue: action,
104
102
  setIsQueryChatOpened: action,
105
103
  resetQueryResult: action,
106
104
  resetQueryContent: action,
107
105
  changeClass: action,
108
106
  changeMapping: action,
107
+ setExecutionContextState: action,
109
108
  rebuildWithQuery: action,
110
109
  compileQuery: flow,
111
110
  hashCode: computed,
112
111
  });
113
112
  this.applicationStore = applicationStore;
114
113
  this.graphManagerState = graphManagerState;
114
+ this.executionContextState = new QueryBuilderExternalExecutionContextState(this);
115
115
  this.milestoningState = new QueryBuilderMilestoningState(this);
116
116
  this.explorerState = new QueryBuilderExplorerState(this);
117
117
  this.parametersState = new QueryBuilderParametersState(this);
@@ -160,6 +160,9 @@ export class QueryBuilderState {
160
160
  setIsQueryChatOpened(val) {
161
161
  this.isQueryChatOpened = val;
162
162
  }
163
+ setInternalize(val) {
164
+ this.internalizeState = val;
165
+ }
163
166
  setShowFunctionsExplorerPanel(val) {
164
167
  this.showFunctionsExplorerPanel = val;
165
168
  }
@@ -178,11 +181,8 @@ export class QueryBuilderState {
178
181
  setClass(val) {
179
182
  this.class = val;
180
183
  }
181
- setMapping(val) {
182
- this.mapping = val;
183
- }
184
- setRuntimeValue(val) {
185
- this.runtimeValue = val;
184
+ setExecutionContextState(val) {
185
+ this.executionContextState = val;
186
186
  }
187
187
  get isQuerySupported() {
188
188
  return !this.unsupportedQueryState.rawLambda;
@@ -255,11 +255,11 @@ export class QueryBuilderState {
255
255
  this.resetQueryContent();
256
256
  this.milestoningState.updateMilestoningConfiguration();
257
257
  }
258
- this.setMapping(val);
258
+ this.executionContextState.setMapping(val);
259
259
  }
260
260
  changeRuntime(val) {
261
261
  this.resetQueryResult();
262
- this.setRuntimeValue(val);
262
+ this.executionContextState.setRuntimeValue(val);
263
263
  }
264
264
  getCurrentParameterValues() {
265
265
  if (this.parametersState.parameterStates.length) {
@@ -286,8 +286,8 @@ export class QueryBuilderState {
286
286
  }
287
287
  buildFromQuery() {
288
288
  assertTrue(this.isQuerySupported, 'Query must be supported to build from function');
289
- const mapping = guaranteeNonNullable(this.mapping, 'Mapping required to build from() function');
290
- const runtime = guaranteeNonNullable(this.runtimeValue, 'Runtime required to build from query');
289
+ const mapping = guaranteeNonNullable(this.executionContextState.mapping, 'Mapping required to build from() function');
290
+ const runtime = guaranteeNonNullable(this.executionContextState.runtimeValue, 'Runtime required to build from query');
291
291
  const runtimePointer = guaranteeType(runtime, RuntimePointer).packageableRuntime;
292
292
  const lambdaFunc = buildLambdaFunction(this);
293
293
  const currentExpression = guaranteeNonNullable(lambdaFunc.expressionSequence[0]);
@@ -450,8 +450,10 @@ export class QueryBuilderState {
450
450
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
451
451
  const basicState = new INTERNAL__BasicQueryBuilderState(this.applicationStore, this.graphManagerState);
452
452
  basicState.class = this.class;
453
- basicState.mapping = this.mapping;
454
- basicState.runtimeValue = this.runtimeValue;
453
+ basicState.executionContextState.mapping =
454
+ this.executionContextState.mapping;
455
+ basicState.executionContextState.runtimeValue =
456
+ this.executionContextState.runtimeValue;
455
457
  return basicState;
456
458
  }
457
459
  get hashCode() {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAKL,mBAAmB,EACnB,gBAAgB,EAChB,mCAAmC,EACnC,2BAA2B,EAC3B,SAAS,EACT,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EACnB,8BAA8B,EAC9B,gCAAgC,EAEhC,aAAa,EAEb,wBAAwB,EACxB,0BAA0B,EAC1B,mBAAmB,EACnB,mCAAmC,EACnC,aAAa,EACb,YAAY,EACZ,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AA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  * limitations under the License.
15
15
  */
16
16
  import type { QueryBuilderState } from './QueryBuilderState.js';
17
- import { type EnumValueInstanceValue, type FunctionExpression, type GraphFetchTreeInstanceValue, type ValueSpecificationVisitor, type InstanceValue, type INTERNAL__UnknownValueSpecification, type LambdaFunction, type KeyExpressionInstanceValue, type CollectionInstanceValue, type LambdaFunctionInstanceValue, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, type AbstractPropertyExpression, type INTERNAL__PropagatedValue, type ValueSpecification } from '@finos/legend-graph';
17
+ import { type EnumValueInstanceValue, type FunctionExpression, type GraphFetchTreeInstanceValue, type ValueSpecificationVisitor, InstanceValue, type INTERNAL__UnknownValueSpecification, type LambdaFunction, type KeyExpressionInstanceValue, type CollectionInstanceValue, type LambdaFunctionInstanceValue, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, type AbstractPropertyExpression, type INTERNAL__PropagatedValue, type ValueSpecification } from '@finos/legend-graph';
18
18
  import type { QueryBuilderParameterValue } from './QueryBuilderParametersState.js';
19
19
  /**
20
20
  * This is the value specification processor (a.k.a state builder) for query builder.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,mCAAmC,EACxC,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAG/B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,0BAA0B,EAE/B,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AA8B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AGR;AAED,eAAO,MAAM,iBAAiB,eAChB,kBAAkB,EAAE,qBACb,iBAAiB,YAC1B;IACR,eAAe,CAAC,EAAE,IAAI,MAAM,EAAE,0BAA0B,CAAC,GAAG,SAAS,CAAC;CACvE,KACA,IAuCF,CAAC;AAEF,eAAO,MAAM,0BAA0B,mBACrB,cAAc,qBACX,iBAAiB,qBACjB;IACjB,eAAe,CAAC,EAAE,IAAI,MAAM,EAAE,0BAA0B,CAAC,GAAG,SAAS,CAAC;CACvE,KACA,IAeF,CAAC"}
@@ -14,11 +14,11 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { assertNonNullable, assertTrue, assertType, guaranteeIsString, guaranteeNonNullable, guaranteeType, isString, UnsupportedOperationError, } from '@finos/legend-shared';
17
- import { matchFunctionName, Class, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, getMilestoneTemporalStereotype, SUPPORTED_FUNCTIONS, isSuperType, } from '@finos/legend-graph';
17
+ import { InstanceValue, matchFunctionName, Class, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, getMilestoneTemporalStereotype, SUPPORTED_FUNCTIONS, isSuperType, PackageableElementReference, Mapping, PackageableRuntime, RuntimePointer, PackageableElementExplicitReference, } from '@finos/legend-graph';
18
18
  import { processTDSPostFilterExpression } from './fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js';
19
19
  import { processFilterExpression } from './filter/QueryBuilderFilterStateBuilder.js';
20
20
  import { processTDSAggregateExpression, processTDSGroupByExpression, } from './fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js';
21
- import { processGraphFetchExpression, processGraphFetchExternalizeExpression, processGraphFetchSerializeExpression, } from './fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js';
21
+ import { processGraphFetchExpression, processGraphFetchExternalizeExpression, processGraphFetchSerializeExpression, processInternalizeExpression, } from './fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js';
22
22
  import { processTDSDistinctExpression, processTDSProjectExpression, processTDSProjectionColumnPropertyExpression, processTDSProjectionDerivationExpression, processTDSSortDirectionExpression, processTDSSortExpression, processTDSTakeExpression, } from './fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js';
23
23
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS, } from '../graph/QueryBuilderMetaModelConst.js';
24
24
  import { LambdaParameterState } from './shared/LambdaParameterState.js';
@@ -26,6 +26,7 @@ import { processTDS_OLAPGroupByExpression } from './fetch-structure/tds/window/Q
26
26
  import { processWatermarkExpression } from './watermark/QueryBuilderWatermarkStateBuilder.js';
27
27
  import { QueryBuilderConstantExpressionState } from './QueryBuilderConstantsState.js';
28
28
  import { checkIfEquivalent } from './milestoning/QueryBuilderMilestoningHelper.js';
29
+ import { QueryBuilderEmbeddedFromExecutionContextState } from './QueryBuilderExecutionContextState.js';
29
30
  const processGetAllExpression = (expression, queryBuilderState) => {
30
31
  const _class = expression.genericType?.value.rawType;
31
32
  assertType(_class, Class, `Can't process getAll() expression: getAll() return type is missing`);
@@ -57,6 +58,19 @@ const processLetExpression = (expression, queryBuilderState, parentLambda) => {
57
58
  queryBuilderState.constantState.setShowConstantPanel(true);
58
59
  queryBuilderState.constantState.addConstant(constantExpression);
59
60
  };
61
+ const processFromFunction = (expression, queryBuilderState) => {
62
+ // mapping
63
+ const mappingInstanceExpression = guaranteeType(expression.parametersValues[1], InstanceValue, `Can't process from() expression: only support from() with 1st parameter as instance value`);
64
+ const mapping = guaranteeType(guaranteeType(mappingInstanceExpression.values[0], PackageableElementReference, `Can't process from() expression: only support from() with 1st parameter as packagableElement value`).value, Mapping, `Can't process from() expression: only support from() with 1st parameter as mapping value`);
65
+ // runtime
66
+ const runtimeInstanceExpression = guaranteeType(expression.parametersValues[2], InstanceValue, `Can't process from() expression: only support from() with 2nd parameter as instance value`);
67
+ const runtimeVal = guaranteeType(guaranteeType(runtimeInstanceExpression.values[0], PackageableElementReference, `Can't process from() expression: only support from() with 2nd parameter as packagableElement value`).value, PackageableRuntime, `Can't process from() expression: only support from() with 2nd parameter as runtime value`);
68
+ const fromContext = new QueryBuilderEmbeddedFromExecutionContextState(queryBuilderState);
69
+ fromContext.setMapping(mapping);
70
+ fromContext.setRuntimeValue(new RuntimePointer(PackageableElementExplicitReference.create(runtimeVal)));
71
+ queryBuilderState.setExecutionContextState(fromContext);
72
+ return;
73
+ };
60
74
  /**
61
75
  * This is the value specification processor (a.k.a state builder) for query builder.
62
76
  *
@@ -176,6 +190,10 @@ export class QueryBuilderValueSpecificationProcessor {
176
190
  processGetAllExpression(valueSpecification, this.queryBuilderState);
177
191
  return;
178
192
  }
193
+ else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.INTERNALIZE)) {
194
+ processInternalizeExpression(valueSpecification, this.queryBuilderState, this.parentLambda);
195
+ return;
196
+ }
179
197
  else if (matchFunctionName(functionName, [
180
198
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
181
199
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
@@ -271,6 +289,13 @@ export class QueryBuilderValueSpecificationProcessor {
271
289
  processLetExpression(valueSpecification, this.queryBuilderState, this.parentLambda);
272
290
  return;
273
291
  }
292
+ else if (matchFunctionName(functionName, [SUPPORTED_FUNCTIONS.FROM])) {
293
+ const parameters = valueSpecification.parametersValues;
294
+ assertTrue(parameters.length === 3, 'From function expects 2 parameters (mapping and runtime)');
295
+ processFromFunction(valueSpecification, this.queryBuilderState);
296
+ QueryBuilderValueSpecificationProcessor.processChild(guaranteeNonNullable(parameters[0]), valueSpecification, this.parentLambda, this.queryBuilderState);
297
+ return;
298
+ }
274
299
  else if (matchFunctionName(functionName, Object.values(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS))) {
275
300
  this.queryBuilderState.isCalendarEnabled = true;
276
301
  assertTrue(valueSpecification.parametersValues.length === 4, 'Calendar function expected to have four parameters');
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EASL,iBAAiB,EACjB,KAAK,EAGL,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAElB,8BAA8B,EAG9B,mBAAmB,EACnB,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,yEAAyE,CAAC;AACzH,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,0EAA0E,CAAC;AAClF,OAAO,EACL,2BAA2B,EAC3B,sCAAsC,EACtC,oCAAoC,GACrC,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,4CAA4C,EAC5C,wCAAwC,EACxC,iCAAiC,EACjC,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,iCAAiC,EACjC,sDAAsD,GACvD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gEAAgE,CAAC;AAClH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,mCAAmC,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAGnF,MAAM,uBAAuB,GAAG,CAC9B,UAAoC,EACpC,iBAA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AAE,KAAK,CAAC,OAAO,CAAC;oBACvD,IACE,YAAY;wBACZ,SAAS;wBACT,WAAW,CAAC,SAAS,EAAE,YAAY,CAAC,EACpC;wBACA,sBAAsB,GAAG,KAAK,CAAC,KAAK,CAAC;qBACtC;iBACF;YACH,CAAC,CAAC,CAAC;SACJ;QACD,MAAM,cAAc,GAAG,IAAI,oBAAoB,CAC7C,SAAS,EACT,iBAAiB,CAAC,eAAe,EACjC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC1C,CAAC;QACF,IAAI,sBAAsB,EAAE;YAC1B,cAAc,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;SACjD;aAAM;YACL,cAAc,CAAC,kBAAkB,EAAE,CAAC;SACrC;QACD,mBAAmB,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IACH,iBAAiB,CAAC,eAAe,GAAG,mBAAmB,CAAC;AAC1D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,cAA8B,EAC9B,iBAAoC,EACpC,gBAEC,EACK,EAAE;IACR,IAAI,cAAc,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE;QACjD,iBAAiB,CACf,cAAc,CAAC,YAAY,CAAC,UAAU,EACtC,iBAAiB,EACjB,gBAAgB,CACjB,CAAC;KACH;IACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CACnD,uCAAuC,CAAC,OAAO,CAC7C,UAAU,EACV,cAAc,EACd,iBAAiB,CAClB,CACF,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,QAAQ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,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,KAAK,EACV,YAAY,EASZ,cAAc,EACd,wBAAwB,EAIzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAOpG,eAAO,MAAM,mBAAmB,WACtB,KAAK,gBACC,YAAY,KACzB,wBAWF,CAAC;AA+CF,eAAO,MAAM,mBAAmB,sBACX,iBAAiB,YAC1B,2BAA2B,KACpC,cAiFF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,KAAK,EACV,YAAY,EASZ,cAAc,EACd,wBAAwB,EAKzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAWpG,eAAO,MAAM,mBAAmB,WACtB,KAAK,gBACC,YAAY,KACzB,wBAWF,CAAC;AAsFF,eAAO,MAAM,mBAAmB,sBACX,iBAAiB,YAC1B,2BAA2B,KACpC,cAsFF,CAAC"}
@@ -13,12 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { guaranteeNonNullable } from '@finos/legend-shared';
17
- import { Multiplicity, getMilestoneTemporalStereotype, extractElementNameFromPath, InstanceValue, PackageableElementExplicitReference, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, SimpleFunctionExpression, PrimitiveInstanceValue, PrimitiveType, SUPPORTED_FUNCTIONS, } from '@finos/legend-graph';
16
+ import { guaranteeNonNullable, guaranteeType } from '@finos/legend-shared';
17
+ import { Multiplicity, getMilestoneTemporalStereotype, extractElementNameFromPath, InstanceValue, PackageableElementExplicitReference, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, SimpleFunctionExpression, PrimitiveInstanceValue, PrimitiveType, SUPPORTED_FUNCTIONS, RuntimePointer, } from '@finos/legend-graph';
18
18
  import { buildFilterExpression } from './filter/QueryBuilderFilterValueSpecificationBuilder.js';
19
19
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
20
20
  import { buildWatermarkExpression } from './watermark/QueryBuilderWatermarkValueSpecificationBuilder.js';
21
21
  import { buildExecutionQueryFromLambdaFunction } from './shared/LambdaParameterState.js';
22
+ import { QueryBuilderEmbeddedFromExecutionContextState, } from './QueryBuilderExecutionContextState.js';
22
23
  export const buildGetAllFunction = (_class, multiplicity) => {
23
24
  const _func = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL));
24
25
  const classInstance = new InstanceValue(multiplicity, GenericTypeExplicitReference.create(new GenericType(_class)));
@@ -42,6 +43,29 @@ const buildLetExpression = (constantExpressionState) => {
42
43
  letFunc.parametersValues = [leftSide, value];
43
44
  return letFunc;
44
45
  };
46
+ const buildExecutionContextState = (executionState, lambdaFunction) => {
47
+ if (executionState instanceof QueryBuilderEmbeddedFromExecutionContextState) {
48
+ const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build from() expression: preceding expression is not defined`);
49
+ const fromFunc = new SimpleFunctionExpression(extractElementNameFromPath(SUPPORTED_FUNCTIONS.FROM));
50
+ // 1st param
51
+ const mapping = guaranteeNonNullable(executionState.mapping, 'Mapping required for building from() expression');
52
+ const mappingInstance = new InstanceValue(Multiplicity.ONE, undefined);
53
+ mappingInstance.values = [
54
+ PackageableElementExplicitReference.create(mapping),
55
+ ];
56
+ // 2nd parameter
57
+ const runtime = guaranteeType(executionState.runtimeValue, RuntimePointer, 'Runtime Pointer required for building from() expression');
58
+ const runtimeInstance = new InstanceValue(Multiplicity.ONE, undefined);
59
+ runtimeInstance.values = [runtime.packageableRuntime];
60
+ fromFunc.parametersValues = [
61
+ precedingExpression,
62
+ mappingInstance,
63
+ runtimeInstance,
64
+ ];
65
+ lambdaFunction.expressionSequence[0] = fromFunc;
66
+ }
67
+ return lambdaFunction;
68
+ };
45
69
  const buildFetchStructure = (fetchStructureState, lambdaFunction, options) => {
46
70
  fetchStructureState.implementation.appendFetchStructure(lambdaFunction, options);
47
71
  };
@@ -73,6 +97,8 @@ export const buildLambdaFunction = (queryBuilderState, options) => {
73
97
  buildFilterExpression(queryBuilderState.filterState, lambdaFunction);
74
98
  // build fetch-structure
75
99
  buildFetchStructure(queryBuilderState.fetchStructureState, lambdaFunction, options);
100
+ // build execution-state
101
+ buildExecutionContextState(queryBuilderState.executionContextState, lambdaFunction);
76
102
  // build variable expressions
77
103
  if (queryBuilderState.constantState.constants.length) {
78
104
  const letExpressions = queryBuilderState.constantState.constants.map(buildLetExpression);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAEL,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,GACpB,MAAM,qBAAqB,CA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,CAAC,eAAe,CAAC,eAAe,EACjD,iBAAiB,CAAC,iBAAiB,CACpC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,YAAY,CAAC,UAAU;gBACpC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,GAAG,CACnD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACnB,CAAC;SACL;KACF;IACD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAEL,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAGhG,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AACzG,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AAEzF,OAAO,EACL,6CAA6C,GAE9C,MAAM,wCAAwC,CAAC;AAEhD,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,MAAa,EACb,YAA0B,EACA,EAAE;IAC5B,MAAM,KAAK,GAAG,IAAI,wBAAwB,CACxC,0BAA0B,CAAC,iCAAiC,CAAC,OAAO,CAAC,CACtE,CAAC;IACF,MAAM,aAAa,GAAG,IAAI,aAAa,CACrC,YAAY,EACZ,4BAA4B,CAAC,MAAM,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,CAAC,CAAC;IAErE,wBAAwB;IACxB,mBAAmB,CACjB,iBAAiB,CAAC,mBAAmB,EACrC,cAAc,EACd,OAAO,CACR,CAAC;IACF,wBAAwB;IACxB,0BAA0B,CACxB,iBAAiB,CAAC,qBAAqB,EACvC,cAAc,CACf,CAAC;IAEF,6BAA6B;IAC7B,IAAI,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE;QACpD,MAAM,cAAc,GAClB,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QACpE,cAAc,CAAC,kBAAkB,GAAG;YAClC,GAAG,cAAc;YACjB,GAAG,cAAc,CAAC,kBAAkB;SACrC,CAAC;KACH;IACD,mBAAmB;IACnB,IACE,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,MAAM;QACxD,CAAC,OAAO,EAAE,4BAA4B,EACtC;QACA,IAAI,OAAO,EAAE,wBAAwB,EAAE;YACrC,qCAAqC,CACnC,cAAc,EACd,iBAAiB,CAAC,eAAe,CAAC,eAAe,EACjD,iBAAiB,CAAC,iBAAiB,CACpC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,YAAY,CAAC,UAAU;gBACpC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,GAAG,CACnD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACnB,CAAC;SACL;KACF;IACD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateTestUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/__test-utils__/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,KAAK,uBAAuB,EAC5B,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,qCAAqC,EAC1C,KAAK,yBAA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M,2BAA2B,CAAC;AAEnC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,qCAAqC,EAC1C,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,qBAAa,oCACX,SAAQ,8BAA8B,CAAC,uBAAuB,CAC9D,YAAW,yBAAyB;IAEpC,OAAO,CAAC,4BAA4B,CAAqC;IACzE,OAAO,CAAC,uBAAuB,CAAgC;IAC/D,OAAO,CAAC,gBAAgB,CAAyB;IAEjD,OAAO;IAIP,MAAM,CAAC,MAAM,IAAI,oCAAoC;IAIrD,mCAAmC,CACjC,MAAM,EAAE,2BAA2B,GAClC,IAAI;IAIP,8BAA8B,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAIpE,uBAAuB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI;IAItD,0BAA0B,IAAI,sBAAsB,EAAE;IAItD,+BAA+B,IAAI,2BAA2B,EAAE;IAIhE,mBAAmB,IAAI,eAAe,EAAE;CAGzC;AAQD,eAAO,MAAM,iCAAiC,4BAE3C,uBAWF,CAAC;AAEF,eAAO,MAAM,4BAA4B,aAC7B,MAAM,EAAE,cACN,SAAS,GAAG,SAAS,qBAE7B;IACE,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,GACD,SAAS,0CAET,qCAAqC,GACrC,SAAS,KACZ,QAAQ,iBAAiB,CAiD3B,CAAC"}
@@ -80,9 +80,9 @@ export const TEST__setUpQueryBuilderState = async (entities, rawLambda, executio
80
80
  if (executionContext) {
81
81
  const graph = queryBuilderState.graphManagerState.graph;
82
82
  queryBuilderState.class = graph.getClass(executionContext._class);
83
- queryBuilderState.mapping = graph.getMapping(executionContext.mapping);
83
+ queryBuilderState.executionContextState.mapping = graph.getMapping(executionContext.mapping);
84
84
  if (executionContext.runtime) {
85
- queryBuilderState.runtimeValue = graph.getRuntime(executionContext.runtime);
85
+ queryBuilderState.executionContextState.runtimeValue = graph.getRuntime(executionContext.runtime);
86
86
  }
87
87
  }
88
88
  if (rawMappingModelCoverageAnalysisResult && executionContext) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateTestUtils.js","sourceRoot":"","sources":["../../../src/stores/__test-utils__/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EAEvB,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAON,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EACL,gCAAgC,GAEjC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,OAAO,oCACX,SAAQ,8BAAuD;IAGvD,4BAA4B,GAAkC,EAAE,CAAC;IACjE,uBAAuB,GAA6B,EAAE,CAAC;IACvD,gBAAgB,GAAsB,EAAE,CAAC;IAEjD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED,MAAM,CAAC,MAAM;QACX,OAAO,IAAI,oCAAoC,EAAE,CAAC;IACpD,CAAC;IAED,mCAAmC,CACjC,MAAmC;QAEnC,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjD,CA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AK,CAAC;QACxD,iBAAiB,CAAC,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAClE,iBAAiB,CAAC,qBAAqB,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,CAChE,gBAAgB,CAAC,OAAO,CACzB,CAAC;QACF,IAAI,gBAAgB,CAAC,OAAO,EAAE;YAC5B,iBAAiB,CAAC,qBAAqB,CAAC,YAAY,GAAG,KAAK,CAAC,UAAU,CACrE,gBAAgB,CAAC,OAAO,CACzB,CAAC;SACH;KACF;IAED,IAAI,qCAAqC,IAAI,gBAAgB,EAAE;QAC7D,MAAM,KAAK,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;QACxD,SAAS,CACP,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,EAChD,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACtF,qCAAqC,EACrC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAC3C,CACF,CAAC;KACH;IAED,IAAI,qCAAqC,EAAE;QACzC,MAAM,UAAU,CACd,iBAAiB,CAAC,aAAa,CAAC,2BAA2B,EAAE,CAC9D,CAAC;KACH;IAED,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderCheckEntitlementsState.d.ts","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAE3C,qBAAa,kCAAmC,YAAW,QAAQ;IACjE,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,2BAA2B,UAAS;gBAExB,iBAAiB,EAAE,iBAAiB;IAWhD,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IA6BlD,qBAAqB,CACnB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,oBAAoB,EAAE,EACvC,iBAAiB,EAAE,iBAAiB,GACnC,SAAS;IAsBZ,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderCheckEntitlementsState.d.ts","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAE3C,qBAAa,kCAAmC,YAAW,QAAQ;IACjE,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,2BAA2B,UAAS;gBAExB,iBAAiB,EAAE,iBAAiB;IAWhD,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IA+BlD,qBAAqB,CACnB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,oBAAoB,EAAE,EACvC,iBAAiB,EAAE,iBAAiB,GACnC,SAAS;IAsBZ,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
@@ -35,11 +35,13 @@ export class QueryBuilderCheckEntitlementsState {
35
35
  setShowCheckEntitlementsViewer(val) {
36
36
  this.showCheckEntitlementsViewer = val;
37
37
  this.dataAccessState = undefined;
38
- if (this.queryBuilderState.mapping &&
39
- this.queryBuilderState.runtimeValue instanceof RuntimePointer) {
38
+ if (this.queryBuilderState.executionContextState.mapping &&
39
+ this.queryBuilderState.executionContextState.runtimeValue instanceof
40
+ RuntimePointer) {
40
41
  this.dataAccessState = new DataAccessState(this.queryBuilderState.applicationStore, this.queryBuilderState.graphManagerState, {
41
- mapping: this.queryBuilderState.mapping.path,
42
- runtime: this.queryBuilderState.runtimeValue.packageableRuntime.value.path,
42
+ mapping: this.queryBuilderState.executionContextState.mapping.path,
43
+ runtime: this.queryBuilderState.executionContextState.runtimeValue
44
+ .packageableRuntime.value.path,
43
45
  getQuery: async () => this.createExecutableQuery(this.queryBuilderState.buildQuery(), this.queryBuilderState.parametersState.parameterStates, this.queryBuilderState.graphManagerState),
44
46
  graphData: new InMemoryGraphData(this.queryBuilderState.graphManagerState.graph),
45
47
  });