@finos/legend-query-builder 4.2.4 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) 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/QueryBuilderSideBar.d.ts +16 -0
  5. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  6. package/lib/components/QueryBuilderSideBar.js +85 -7
  7. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  8. package/lib/components/QueryChat.d.ts.map +1 -1
  9. package/lib/components/QueryChat.js +1 -1
  10. package/lib/components/QueryChat.js.map +1 -1
  11. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -2
  12. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  13. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  14. package/lib/components/explorer/QueryBuilderExplorerPanel.js +5 -1
  15. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  16. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  17. package/lib/components/workflows/ClassQueryBuilder.js +13 -9
  18. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  19. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  20. package/lib/components/workflows/MappingQueryBuilder.js +13 -11
  21. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  22. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  23. package/lib/components/workflows/ServiceQueryBuilder.js +3 -2
  24. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  25. package/lib/index.css +1 -1
  26. package/lib/index.d.ts +1 -0
  27. package/lib/index.d.ts.map +1 -1
  28. package/lib/index.js +1 -0
  29. package/lib/index.js.map +1 -1
  30. package/lib/package.json +1 -1
  31. package/lib/stores/QueryBuilderExecutionContextState.d.ts +34 -0
  32. package/lib/stores/QueryBuilderExecutionContextState.d.ts.map +1 -0
  33. package/lib/stores/QueryBuilderExecutionContextState.js +59 -0
  34. package/lib/stores/QueryBuilderExecutionContextState.js.map +1 -0
  35. package/lib/stores/QueryBuilderInternalizeState.d.ts +24 -0
  36. package/lib/stores/QueryBuilderInternalizeState.d.ts.map +1 -0
  37. package/lib/stores/QueryBuilderInternalizeState.js +26 -0
  38. package/lib/stores/QueryBuilderInternalizeState.js.map +1 -0
  39. package/lib/stores/QueryBuilderResultState.js +5 -5
  40. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  41. package/lib/stores/QueryBuilderState.d.ts +7 -5
  42. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  43. package/lib/stores/QueryBuilderState.js +19 -17
  44. package/lib/stores/QueryBuilderState.js.map +1 -1
  45. package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
  46. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  47. package/lib/stores/QueryBuilderStateBuilder.js +27 -2
  48. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  49. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  50. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +28 -2
  51. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  52. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
  53. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +2 -2
  54. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  55. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
  56. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +6 -4
  57. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  58. package/lib/stores/explorer/QueryBuilderExplorerState.js +9 -9
  59. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  60. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +2 -1
  61. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  62. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +25 -2
  63. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  64. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +1 -1
  65. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  66. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  67. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -1
  68. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  69. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  70. package/lib/stores/filter/QueryBuilderFilterState.js +2 -1
  71. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  72. package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -1
  73. package/lib/stores/workflows/ClassQueryBuilderState.js +2 -1
  74. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
  75. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +23 -0
  76. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -0
  77. package/lib/stores/workflows/FunctionQueryBuilderState.js +27 -0
  78. package/lib/stores/workflows/FunctionQueryBuilderState.js.map +1 -0
  79. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  80. package/lib/stores/workflows/ServiceQueryBuilderState.js +7 -7
  81. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  82. package/package.json +4 -4
  83. package/src/components/QueryBuilder.tsx +5 -1
  84. package/src/components/QueryBuilderSideBar.tsx +211 -7
  85. package/src/components/QueryChat.tsx +2 -1
  86. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +2 -2
  87. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -1
  88. package/src/components/workflows/ClassQueryBuilder.tsx +17 -9
  89. package/src/components/workflows/MappingQueryBuilder.tsx +15 -11
  90. package/src/components/workflows/ServiceQueryBuilder.tsx +3 -2
  91. package/src/index.ts +1 -0
  92. package/src/stores/QueryBuilderExecutionContextState.ts +69 -0
  93. package/src/stores/QueryBuilderInternalizeState.ts +34 -0
  94. package/src/stores/QueryBuilderResultState.ts +6 -6
  95. package/src/stores/QueryBuilderState.ts +28 -21
  96. package/src/stores/QueryBuilderStateBuilder.ts +79 -1
  97. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +50 -1
  98. package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +4 -2
  99. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +6 -4
  100. package/src/stores/explorer/QueryBuilderExplorerState.ts +9 -9
  101. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +64 -2
  102. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +1 -1
  103. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +4 -2
  104. package/src/stores/filter/QueryBuilderFilterState.ts +5 -2
  105. package/src/stores/workflows/ClassQueryBuilderState.ts +2 -1
  106. package/src/stores/workflows/FunctionQueryBuilderState.ts +38 -0
  107. package/src/stores/workflows/ServiceQueryBuilderState.ts +7 -11
  108. package/tsconfig.json +3 -0
@@ -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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B,CAAC,cAAc,CAAC,mBAAmB,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,kCAAkC;QAChC,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,UAAU,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QAC5C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,mBAAmB;YACtD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
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,0BAA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CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,kCAAkC;QAChC,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,qBAAqB,CAAC,OAAO;YACtC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC;QACrC,UAAU,CAAC,qBAAqB,CAAC,YAAY;YAC3C,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;QAC1C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,mBAAmB;YACtD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -14,7 +14,7 @@
14
14
  * 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;AA8B7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAqEnF;;;;;;;;;;;;;GAaG;AACH,qBAAa,uCACX,YAAW,yBAAyB,CAAC,IAAI,CAAC;IAE1C,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4DG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjE,QAAQ,CAAC,YAAY,EAAE,cAAc,CAAC;IAEtC,OAAO;IAUP,MAAM,CAAC,OAAO,CACZ,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EAC1C,YAAY,EAAE,cAAc,EAC5B,iBAAiB,EAAE,iBAAiB,GACnC,IAAI;IAUP,yCAAyC,CACvC,kBAAkB,EAAE,mCAAmC,GACtD,IAAI;IA6BP,+BAA+B,CAC7B,kBAAkB,EAAE,yBAAyB,GAC5C,IAAI;IAIP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,8BAA8B,CAC5B,kBAAkB,EAAE,wBAAwB,GAC3C,IAAI;IAyRP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,gCAAgC,CAC9B,kBAAkB,EAAE,0BAA0B,GAC7C,IAAI;IA4BP,mBAAmB,CAAC,kBAAkB,EAAE,aAAa,GAAG,IAAI;IAI5D,gCAAgC,CAC9B,kBAAkB,EAAE,0BAA0B,GAC7C,IAAI;IAIP,6BAA6B,CAC3B,kBAAkB,EAAE,uBAAuB,GAC1C,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;IAcP,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;CAGR;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,G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Ac,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,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,aAAa,EAIb,iBAAiB,EACjB,KAAK,EAGL,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAElB,8BAA8B,EAG9B,mBAAmB,EACnB,WAAW,EACX,2BAA2B,EAC3B,OAAO,EACP,kBAAkB,EAClB,cAAc,EACd,mCAAmC,GACpC,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,GAC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AC,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 +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,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;AAGzF,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,a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qBAAqB,CAAC,cAAc,CAAC,CAAC;SAC1C;QACD,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC;KACvD;IAED,kBAAkB;IAClB,wBAAwB,CAAC,iBAAiB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IAE3E,eAAe;IACf,qBAAqB,CAAC,iBAAiB,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IAErE,wBAAwB;IACxB,mBAAmB,CACjB,iBAAiB,CAAC,mBAAmB,EACrC,cAAc,EACd,OAAO,CACR,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
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH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Ac,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,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,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AuB,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;;;;;;;;;;;;;;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gB,CAAC,MAAM,CAAC,CAAC;QAClE,iBAAiB,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACvE,IAAI,gBAAgB,CAAC,OAAO,EAAE;YAC5B,iBAAiB,CAAC,YAAY,GAAG,KAAK,CAAC,UAAU,CAC/C,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
+ {"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;A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AAiB,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
  });
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderCheckEntitlementsState.js","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAGL,cAAc,EACd,iBAAiB,EACjB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,4BAA4B,GAC7B,MAAM,mCAAmC,CAAC;AAE3C,MAAM,OAAO,kCAAkC;IACpC,iBAAiB,CAAoB;IAE9C,eAAe,CAA+B;IAC9C,2BAA2B,GAAG,KAAK,CAAC;IAEpC,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,2BAA2B,EAAE,UAAU;YACvC,eAAe,EAAE,UAAU;YAC3B,8BAA8B,EAAE,MAAM;YACtC,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,8BAA8B,CAAC,G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AG;oBACf,GAAI,SAAS,CAAC,IAAiB;oBAC/B,GAAI,SAAS,CAAC,IAAiB;iBAChC,CAAC;gBACF,OAAO,SAAS,CAAC;aAClB;SACF;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,IAAI,CAAC,2BAA2B;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderCheckEntitlementsState.js","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAGL,cAAc,EACd,iBAAiB,EACjB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,4BAA4B,GAC7B,MAAM,mCAAmC,CAAC;AAE3C,MAAM,OAAO,kCAAkC;IACpC,iBAAiB,CAAoB;IAE9C,eAAe,CAA+B;IAC9C,2BAA2B,GAAG,KAAK,CAAC;IAEpC,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,2BAA2B,EAAE,UAAU;YACvC,eAAe,EAAE,UAAU;YAC3B,8BAA8B,EAAE,MAAM;YACtC,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,8BAA8B,CAAC,GAAY;QACzC,IAAI,CAAC,2BAA2B,GAAG,GAAG,CAAC;QAEvC,IAAI,CAAC,eAAe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AAS,CAAC,IAAiB;oBAC/B,GAAI,SAAS,CAAC,IAAiB;iBAChC,CAAC;gBACF,OAAO,SAAS,CAAC;aAClB;SACF;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,IAAI,CAAC,2BAA2B;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -366,7 +366,7 @@ export class QueryBuilderExplorerState {
366
366
  }
367
367
  refreshTreeData() {
368
368
  const _class = this.queryBuilderState.class;
369
- const _mapping = this.queryBuilderState.mapping;
369
+ const _mapping = this.queryBuilderState.executionContextState.mapping;
370
370
  this.setTreeData(_class && _mapping && this.mappingModelCoverageAnalysisResult
371
371
  ? getQueryBuilderTreeData(_class, this.mappingModelCoverageAnalysisResult)
372
372
  : undefined);
@@ -374,16 +374,16 @@ export class QueryBuilderExplorerState {
374
374
  *analyzeMappingModelCoverage() {
375
375
  // We will only refetch if the analysis result's mapping has changed.
376
376
  // This makes the assumption that the mapping has not been edited, which is a valid assumption since query is not for editing mappings
377
- if (this.queryBuilderState.mapping &&
378
- this.queryBuilderState.mapping.path !==
379
- this.mappingModelCoverageAnalysisResult?.mapping.path) {
377
+ if (this.queryBuilderState.executionContextState.mapping &&
378
+ this.queryBuilderState.executionContextState.mapping !==
379
+ this.mappingModelCoverageAnalysisResult?.mapping) {
380
380
  this.mappingModelCoverageAnalysisState.inProgress();
381
381
  QueryBuilderTelemetryHelper.logEvent_QueryMappingModelCoverageAnalysisLaunched(this.queryBuilderState.applicationStore.telemetryService);
382
382
  const stopWatch = new StopWatch();
383
383
  const report = reportGraphAnalytics(this.queryBuilderState.graphManagerState.graph);
384
384
  this.mappingModelCoverageAnalysisState.setMessage('Analyzing Mapping...');
385
385
  try {
386
- this.mappingModelCoverageAnalysisResult = (yield flowResult(this.queryBuilderState.graphManagerState.graphManager.analyzeMappingModelCoverage(this.queryBuilderState.mapping, this.queryBuilderState.graphManagerState.graph)));
386
+ this.mappingModelCoverageAnalysisResult = (yield flowResult(this.queryBuilderState.graphManagerState.graphManager.analyzeMappingModelCoverage(this.queryBuilderState.executionContextState.mapping, this.queryBuilderState.graphManagerState.graph)));
387
387
  this.refreshTreeData();
388
388
  report.timings =
389
389
  this.queryBuilderState.applicationStore.timeService.finalizeTimingsRecord(stopWatch, report.timings);
@@ -399,14 +399,14 @@ export class QueryBuilderExplorerState {
399
399
  }
400
400
  }
401
401
  *previewData(node) {
402
- const runtime = this.queryBuilderState.runtimeValue;
402
+ const runtime = this.queryBuilderState.executionContextState.runtimeValue;
403
403
  if (!runtime) {
404
404
  this.queryBuilderState.applicationStore.notificationService.notifyWarning(`Can't preview data for property '${node.property.name}': runtime is not specified`);
405
405
  return;
406
406
  }
407
407
  if (!node.mappingData.mapped ||
408
408
  !this.queryBuilderState.class ||
409
- !this.queryBuilderState.mapping) {
409
+ !this.queryBuilderState.executionContextState.mapping) {
410
410
  return;
411
411
  }
412
412
  if (this.previewDataState.isGeneratingPreviewData) {
@@ -423,7 +423,7 @@ export class QueryBuilderExplorerState {
423
423
  case PRIMITIVE_TYPE.INTEGER:
424
424
  case PRIMITIVE_TYPE.DECIMAL:
425
425
  case PRIMITIVE_TYPE.FLOAT: {
426
- const previewResult = (yield this.queryBuilderState.graphManagerState.graphManager.runQuery(buildNumericPreviewDataQuery(this.queryBuilderState, propertyExpression), this.queryBuilderState.mapping, runtime, this.queryBuilderState.graphManagerState.graph));
426
+ const previewResult = (yield this.queryBuilderState.graphManagerState.graphManager.runQuery(buildNumericPreviewDataQuery(this.queryBuilderState, propertyExpression), this.queryBuilderState.executionContextState.mapping, runtime, this.queryBuilderState.graphManagerState.graph));
427
427
  assertType(previewResult, TDSExecutionResult, `Unexpected preview data format`);
428
428
  const previewResultData = previewResult.result;
429
429
  // transpose the result
@@ -444,7 +444,7 @@ export class QueryBuilderExplorerState {
444
444
  case PRIMITIVE_TYPE.DATE:
445
445
  case PRIMITIVE_TYPE.STRICTDATE:
446
446
  case PRIMITIVE_TYPE.DATETIME: {
447
- const previewResult = (yield this.queryBuilderState.graphManagerState.graphManager.runQuery(buildNonNumericPreviewDataQuery(this.queryBuilderState, propertyExpression), this.queryBuilderState.mapping, runtime, this.queryBuilderState.graphManagerState.graph));
447
+ const previewResult = (yield this.queryBuilderState.graphManagerState.graphManager.runQuery(buildNonNumericPreviewDataQuery(this.queryBuilderState, propertyExpression), this.queryBuilderState.executionContextState.mapping, runtime, this.queryBuilderState.graphManagerState.graph));
448
448
  assertType(previewResult, TDSExecutionResult, `Unexpected preview data format`);
449
449
  this.previewDataState.setPreviewData(previewResult.result);
450
450
  break;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,cAAc,EACd,kBAAkB,EAElB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACx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CAAC,iBAAiB,EACtB,kBAAkB,CACnB,EACD,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAC9B,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAoB,CAAC;oBACxB,UAAU,CACR,aAAa,EACb,kBAAkB,EAClB,gCAAgC,CACjC,CAAC;oBACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAClC,aAAa,CAAC,MAAiC,CAChD,CAAC;oBACF,MAAM;iBACP;gBACD;oBACE,MAAM,IAAI,yBAAyB,CACjC,4CAA4C,YAAY,CAAC,IAAI,GAAG,CACjE,CAAC;aACL;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,q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@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type LambdaFunction, SimpleFunctionExpression } from '@finos/legend-graph';
17
- import type { QueryBuilderState } from '../../QueryBuilderState.js';
17
+ import { type QueryBuilderState } from '../../QueryBuilderState.js';
18
18
  export declare const processGraphFetchExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
19
+ export declare const processInternalizeExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
19
20
  export declare const processGraphFetchSerializeExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
20
21
  export declare const processGraphFetchExternalizeExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
21
22
  //# sourceMappingURL=QueryBuilderGraphFetchTreeStateBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeStateBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,KAAK,cAAc,EAInB,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAYpE,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA0CF,CAAC;AA+DF,eAAO,MAAM,oCAAoC,eACnC,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IAgIF,CAAC;AAEF,eAAO,MAAM,sCAAsC,eACrC,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA2FF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeStateBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,KAAK,cAAc,EAInB,wBAAwB,EAWzB,MAAM,qBAAqB,CAAC;AAc7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAapE,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA0CF,CAAC;AAEF,eAAO,MAAM,4BAA4B,eAC3B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IAqDF,CAAC;AA+DF,eAAO,MAAM,oCAAoC,eACnC,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IAgIF,CAAC;AAEF,eAAO,MAAM,sCAAsC,eACrC,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA2FF,CAAC"}