@finos/legend-query-builder 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/lib/index.css +1 -1
  2. package/lib/package.json +1 -1
  3. package/lib/stores/QueryBuilderPropertyEditorState.js +6 -6
  4. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  5. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  6. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +3 -3
  7. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  8. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +2 -2
  9. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  10. package/lib/stores/filter/QueryBuilderFilterState.js +2 -2
  11. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  12. package/lib/stores/workflows/ClassQueryBuilderState.js +3 -3
  13. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
  14. package/lib/stores/workflows/MappingQueryBuilderState.js +3 -3
  15. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  16. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
  17. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  18. package/package.json +9 -9
  19. package/src/stores/QueryBuilderPropertyEditorState.ts +6 -6
  20. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +3 -5
  21. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +2 -2
  22. package/src/stores/filter/QueryBuilderFilterState.ts +2 -2
  23. package/src/stores/workflows/ClassQueryBuilderState.ts +3 -3
  24. package/src/stores/workflows/MappingQueryBuilderState.ts +3 -3
  25. package/src/stores/workflows/ServiceQueryBuilderState.ts +2 -2
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v3.0.3
1
+ /** @license @finos/legend-query-builder v3.0.4
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, computed, makeObservable, observable } from 'mobx';
17
- import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, hashArray, prettyCONSTName, } from '@finos/legend-shared';
17
+ import { getNullableFirstEntry, guaranteeNonNullable, guaranteeType, hashArray, prettyCONSTName, } from '@finos/legend-shared';
18
18
  import { Class, AbstractPropertyExpression, DerivedProperty, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, InstanceValue, PrimitiveInstanceValue, VariableExpression, SimpleFunctionExpression, matchFunctionName, TYPE_CAST_TOKEN, observe_AbstractPropertyExpression, GenericTypeExplicitReference, GenericType, PropertyExplicitReference, PrimitiveType, } from '@finos/legend-graph';
19
19
  import { createNullishValue, generateDefaultValueForPrimitiveType, } from './QueryBuilderValueSpecificationHelper.js';
20
20
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
@@ -28,14 +28,14 @@ export const getPropertyChainName = (propertyExpression, humanizePropertyName) =
28
28
  const chunks = [propertyNameDecorator(propertyExpression.func.value.name)];
29
29
  let currentExpression = propertyExpression;
30
30
  while (currentExpression instanceof AbstractPropertyExpression) {
31
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
31
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
32
32
  // Take care of chain of subtypes (a pattern that is not useful, but we want to support and potentially rectify)
33
33
  // $x.employees->subType(@Person)->subType(@Staff).department
34
34
  while (currentExpression instanceof SimpleFunctionExpression &&
35
35
  matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
36
36
  const subtypeChunk = `${TYPE_CAST_TOKEN}(${propertyNameDecorator(currentExpression.parametersValues.filter((param) => param instanceof InstanceValue)[0]?.genericType?.value.rawType.name ?? '')})`;
37
37
  chunks.unshift(subtypeChunk);
38
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
38
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
39
39
  }
40
40
  if (currentExpression instanceof AbstractPropertyExpression) {
41
41
  chunks.unshift(propertyNameDecorator(currentExpression.func.value.name));
@@ -62,7 +62,7 @@ export const getPropertyPath = (propertyExpression) => {
62
62
  const propertyNameChain = [propertyExpression.func.value.name];
63
63
  let currentExpression = propertyExpression;
64
64
  while (currentExpression instanceof AbstractPropertyExpression) {
65
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
65
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
66
66
  if (currentExpression instanceof AbstractPropertyExpression) {
67
67
  propertyNameChain.unshift(currentExpression.func.value.name);
68
68
  }
@@ -235,12 +235,12 @@ export class QueryBuilderPropertyExpressionState {
235
235
  const derivedPropertyExpressionState = new QueryBuilderDerivedPropertyExpressionState(this.queryBuilderState, currentExpression, this);
236
236
  result.push(derivedPropertyExpressionState);
237
237
  }
238
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
238
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
239
239
  // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
240
240
  // $x.employees->subType(@Person)->subType(@Staff)
241
241
  while (currentExpression instanceof SimpleFunctionExpression &&
242
242
  matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
243
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
243
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
244
244
  }
245
245
  }
246
246
  this.requiresExistsHandling = requiresExistsHandling;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyEdit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AA+B,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;IAClE,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,yBAAyB;YAC5D,IAAI,CAAC,kBAAkB;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderPropertyEditorState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderPropertyEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EAEb,SAAS,EACT,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,EAKL,0BAA0B,EAC1B,eAAe,EACf,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,aAAa,EACb,sBAAsB,EAEtB,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EACf,kCAAkC,EAClC,4BAA4B,EAC5B,WAAW,EACX,yBAAyB,EACzB,aAAa,GAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EACL,0BAA0B,EAC1B,sCAAsC,EACtC,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAE1G,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,kBAA8C,EAC9C,oBAA6B,EACrB,EAAE;IACV,MAAM,qBAAqB,GAAG,oBAAoB;QAChD,CAAC,CAAC,eAA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Y,wBAAwB;gBACrD,iBAAiB,CACf,iBAAiB,CAAC,YAAY,EAC9B,iCAAiC,CAAC,OAAO,CAC1C,EACD;gBACA,iBAAiB,GAAG,qBAAqB,CACvC,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;aACH;SACF;QACD,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,+BAA+B,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;IAClE,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,yBAAyB;YAC5D,IAAI,CAAC,kBAAkB;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAS1B,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAqBhE,eAAO,MAAM,4BAA4B,uBACnB,0BAA0B,qBAC3B,iBAAiB,uBACf,MAAM,YACjB,2BAA2B,sCAOD,OAAO,KAC1C,kBAmHF,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/C;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnD,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAS1B,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAqBhE,eAAO,MAAM,4BAA4B,uBACnB,0BAA0B,qBAC3B,iBAAiB,uBACf,MAAM,YACjB,2BAA2B,sCAOD,OAAO,KAC1C,kBAiHF,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/C;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnD,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { AbstractPropertyExpression, Class, DerivedProperty, INTERNAL__PropagatedValue, matchFunctionName, MILESTONING_VERSION_PROPERTY_SUFFIX, PropertyExplicitReference, SimpleFunctionExpression, VariableExpression, } from '@finos/legend-graph';
17
- import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
17
+ import { getNullableFirstEntry, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
18
18
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
19
19
  import { functionExpression_setParametersValues, propertyExpression_setFunc, variableExpression_setName, } from './shared/ValueSpecificationModifierHelper.js';
20
20
  /**
@@ -42,7 +42,7 @@ TEMPORARY__disableDatePropagation) => {
42
42
  let nextExpression;
43
43
  let currentExpression = newPropertyExpression;
44
44
  while (currentExpression instanceof AbstractPropertyExpression) {
45
- nextExpression = getNullableFirstElement(currentExpression.parametersValues);
45
+ nextExpression = getNullableFirstEntry(currentExpression.parametersValues);
46
46
  if (nextExpression instanceof AbstractPropertyExpression) {
47
47
  const parameterValue = new AbstractPropertyExpression('');
48
48
  parameterValue.func = nextExpression.func;
@@ -109,7 +109,7 @@ TEMPORARY__disableDatePropagation) => {
109
109
  // $x.employees->subType(@Person)->subType(@Staff)
110
110
  while (currentExpression instanceof SimpleFunctionExpression &&
111
111
  matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
112
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
112
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
113
113
  }
114
114
  }
115
115
  // Update the root lambda name based on the parent's lambda parameter name.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,eAAe,EACf,yBAAyB,EACzB,iBAAiB,EACjB,mCAAmC,EACnC,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,OAAO,EACL,sCAAsC,EACtC,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,8CAA8C,CAAC;AAEtD;;GAEG;AACH,MAAM,iCAAiC,GAAG,CACxC,SAAoC,EAChB,EAAE;IACtB,IAAI,SAAS,CAAC,QAAQ,EAAE,YAAY,yBAAyB,EAAE;QAC7D,OAAO,iCAAiC,CACtC,aAAa,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,yBAAyB,CAAC,CAC/D,CAAC;KACH;IACD,OAAO,SAAS,CAAC,QAAQ,EAAE,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,kBAA8C,EAC9C,iBAAoC,EACpC,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CAAiC,CAAC,cAAc,CAAC,CAAC;6BACrD;iCAAM;gCACL,yBAAyB,CAAC,gBAAgB,GAAG;oCAC3C,oBAAoB,CAClB,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC;yCACzD,gBAAgB,CAAC,CAAC,CAAC,CACvB;iCACF,CAAC;6BACH;yBACF;6BAAM;4BACL,yBAAyB,CAAC,gBAAgB,CAAC,KAAK,GAAG,CAAC,CAAC;gCACnD,iCAAiC,CAAC,cAAc,CAAC,CAAC;yBACrD;qBACF;gBACH,CAAC,CAAC,CAAC;aACJ;SACF;QACD,iBAAiB,GAAG,cAAc,CAAC;QACnC,oGAAoG;QACpG,kDAAkD;QAClD,OACE,iBAAiB,YAAY,wBAAwB;YACrD,iBAAiB,CACf,iBAAiB,CAAC,YAAY,EAC9B,iCAAiC,CAAC,OAAO,CAC1C,EACD;YACA,iBAAiB,GAAG,uBAAuB,CACzC,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;SACH;KACF;IAED,2EAA2E;IAC3E,IAAI,iBAAiB,YAAY,kBAAkB,EAAE;QACnD,0BAA0B,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;KACpE;IACD,OAAO,qBAAqB,CAAC;AAC/B,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,eAAe,EACf,yBAAyB,EACzB,iBAAiB,EACjB,mCAAmC,EACnC,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,OAAO,EACL,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
  * limitations under the License.
15
15
  */
16
16
  import { Enumeration, PRIMITIVE_TYPE, observe_ValueSpecification, PrimitiveType, } from '@finos/legend-graph';
17
- import { addUniqueEntry, assertErrorThrown, assertTrue, deleteEntry, getNullableFirstElement, guaranteeNonNullable, guaranteeType, IllegalStateError, UnsupportedOperationError, uuid, filterByType, ActionState, hashArray, uniq, isNonNullable, } from '@finos/legend-shared';
17
+ import { addUniqueEntry, assertErrorThrown, assertTrue, deleteEntry, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, IllegalStateError, UnsupportedOperationError, uuid, filterByType, ActionState, hashArray, uniq, isNonNullable, } from '@finos/legend-shared';
18
18
  import { action, computed, flow, flowResult, makeObservable, observable, } from 'mobx';
19
19
  import { DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
20
20
  import { QueryBuilderAggregateColumnState } from '../aggregation/QueryBuilderAggregationState.js';
@@ -377,7 +377,7 @@ export class QueryBuilderPostFilterState {
377
377
  }
378
378
  getRootNode() {
379
379
  assertTrue(this.rootIds.length < 2, 'Query builder post-filter tree cannot have more than 1 root');
380
- const rootId = getNullableFirstElement(this.rootIds);
380
+ const rootId = getNullableFirstEntry(this.rootIds);
381
381
  return rootId ? this.getNode(rootId) : undefined;
382
382
  }
383
383
  addRootNode(node) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAML,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,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,CAAC,CAAC;aACjE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;aACnC,MAAM,CAAC,aAAa,CAAC;aACrB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,kCAAkC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CACxE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAML,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,EACL,iCAAiC,EAEjC,2CAA2C,GAC5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAC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,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, computed, makeObservable, observable, flow } from 'mobx';
17
- import { assertTrue, getNullableFirstElement, guaranteeNonNullable, guaranteeType, IllegalStateError, uuid, addUniqueEntry, deleteEntry, assertErrorThrown, filterByType, ActionState, hashArray, isNonNullable, } from '@finos/legend-shared';
17
+ import { assertTrue, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, IllegalStateError, uuid, addUniqueEntry, deleteEntry, assertErrorThrown, filterByType, ActionState, hashArray, isNonNullable, } from '@finos/legend-shared';
18
18
  import { QueryBuilderPropertyExpressionState } from '../QueryBuilderPropertyEditorState.js';
19
19
  import { observe_ValueSpecification, } from '@finos/legend-graph';
20
20
  import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
@@ -304,7 +304,7 @@ export class QueryBuilderFilterState {
304
304
  }
305
305
  getRootNode() {
306
306
  assertTrue(this.rootIds.length < 2, 'Query builder filter tree cannot have more than 1 root');
307
- const rootId = getNullableFirstElement(this.rootIds);
307
+ const rootId = getNullableFirstEntry(this.rootIds);
308
308
  return rootId ? this.getNode(rootId) : undefined;
309
309
  }
310
310
  getParentNode(node) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,WAAW,EACX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C,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC;IAED,UAAU;QACR,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,OAAO,OAAO,CACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;aAC5B,MAAM,CAAC,YAAY,CAAC,uCAAuC,CAAC,CAAC;aAC7D,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;aACnC,MAAM,CAAC,aAAa,CAAC;aACrB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,kCAAkC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CACxE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,YAAY;YAC/C,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { getClassCompatibleMappings, getMappingCompatibleRuntimes, RuntimePointer, PackageableElementExplicitReference, } from '@finos/legend-graph';
17
- import { getNullableFirstElement } from '@finos/legend-shared';
17
+ import { getNullableFirstEntry } from '@finos/legend-shared';
18
18
  import { renderClassQueryBuilderSetupPanelContent } from '../../components/workflows/ClassQueryBuilder.js';
19
19
  import { QueryBuilderState } from '../QueryBuilderState.js';
20
20
  export class ClassQueryBuilderState extends QueryBuilderState {
@@ -33,7 +33,7 @@ export class ClassQueryBuilderState extends QueryBuilderState {
33
33
  return;
34
34
  }
35
35
  // try to select the first compatible mapping
36
- const possibleNewMapping = getNullableFirstElement(compatibleMappings);
36
+ const possibleNewMapping = getNullableFirstEntry(compatibleMappings);
37
37
  if (possibleNewMapping) {
38
38
  this.changeMapping(possibleNewMapping);
39
39
  this.propagateMappingChange(possibleNewMapping);
@@ -48,7 +48,7 @@ export class ClassQueryBuilderState extends QueryBuilderState {
48
48
  // try to select the first compatible runtime,
49
49
  // if none found, just unset the current runtime value
50
50
  const compatibleRuntimes = getMappingCompatibleRuntimes(mapping, this.graphManagerState.usableRuntimes);
51
- const possibleNewRuntime = getNullableFirstElement(compatibleRuntimes);
51
+ const possibleNewRuntime = getNullableFirstEntry(compatibleRuntimes);
52
52
  if (possibleNewRuntime) {
53
53
  this.changeRuntime(new RuntimePointer(PackageableElementExplicitReference.create(possibleNewRuntime)));
54
54
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ClassQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/ClassQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,4BAA4B,EAC5B,cAAc,EACd,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAE,wCAAwC,EAAE,MAAM,iDAAiD,CAAC;AAC3G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,OAAO,sBAAuB,SAAQ,iBAAiB;IAClD,oCAAoC,GAAG,GAAoB,EAAE,CACpE,wCAAwC,CAAC,IAAI,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,oBAAoB,CAAC,MAAa;QAChC,MAAM,kBAAkB,GAAG,0BAA0B,CACnD,MAAM,EACN,IAAI,CAAC,iBAAiB,CAAC,cAAc,CACtC,CAAC;QACF,YAAY;QACZ,MAAM,0BAA0B,GAC9B,IAAI,CAAC,OAAO,IAAI,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5D,IAAI,IAAI,CAAC,iBAAiB,IAAI,0BAA0B,EAAE;YACxD,OAAO;SACR;QACD,6CAA6C;QAC7C,MAAM,kBAAkB,GAAG,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;QACvE,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;YACvC,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;SACjD;IACH,CAAC;IAED;;;;OAIG;IACH,sBAAsB,CAAC,OAAgB;QACrC,8CAA8C;QAC9C,sDAAsD;QACtD,MAAM,kBAAkB,GAAG,4BAA4B,CACrD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,cAAc,CACtC,CAAC;QACF,MAAM,kBAAkB,GAAG,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;QACvE,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,aAAa,CAChB,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAC/D,CACF,CAAC;SACH;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"ClassQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/ClassQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,4BAA4B,EAC5B,cAAc,EACd,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,wCAAwC,EAAE,MAAM,iDAAiD,CAAC;AAC3G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,OAAO,sBAAuB,SAAQ,iBAAiB;IAClD,oCAAoC,GAAG,GAAoB,EAAE,CACpE,wCAAwC,CAAC,IAAI,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,oBAAoB,CAAC,MAAa;QAChC,MAAM,kBAAkB,GAAG,0BAA0B,CACnD,MAAM,EACN,IAAI,CAAC,iBAAiB,CAAC,cAAc,CACtC,CAAC;QACF,YAAY;QACZ,MAAM,0BAA0B,GAC9B,IAAI,CAAC,OAAO,IAAI,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5D,IAAI,IAAI,CAAC,iBAAiB,IAAI,0BAA0B,EAAE;YACxD,OAAO;SACR;QACD,6CAA6C;QAC7C,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;QACrE,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;YACvC,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;SACjD;IACH,CAAC;IAED;;;;OAIG;IACH,sBAAsB,CAAC,OAAgB;QACrC,8CAA8C;QAC9C,sDAAsD;QACtD,MAAM,kBAAkB,GAAG,4BAA4B,CACrD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,cAAc,CACtC,CAAC;QACF,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;QACrE,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,aAAa,CAChB,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAC/D,CACF,CAAC;SACH;IACH,CAAC;CACF"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { getMappingCompatibleRuntimes, RuntimePointer, PackageableElementExplicitReference, getMappingCompatibleClasses, } from '@finos/legend-graph';
17
- import { getNullableFirstElement } from '@finos/legend-shared';
17
+ import { getNullableFirstEntry } from '@finos/legend-shared';
18
18
  import { renderMappingQueryBuilderSetupPanelContent } from '../../components/workflows/MappingQueryBuilder.js';
19
19
  import { QueryBuilderState } from '../QueryBuilderState.js';
20
20
  export class MappingQueryBuilderState extends QueryBuilderState {
@@ -37,7 +37,7 @@ export class MappingQueryBuilderState extends QueryBuilderState {
37
37
  // try to select the first compatible runtime,
38
38
  // if none found, just unset the current runtime value
39
39
  const compatibleRuntimes = getMappingCompatibleRuntimes(mapping, this.graphManagerState.usableRuntimes);
40
- const possibleNewRuntime = getNullableFirstElement(compatibleRuntimes);
40
+ const possibleNewRuntime = getNullableFirstEntry(compatibleRuntimes);
41
41
  if (possibleNewRuntime) {
42
42
  this.changeRuntime(new RuntimePointer(PackageableElementExplicitReference.create(possibleNewRuntime)));
43
43
  }
@@ -45,7 +45,7 @@ export class MappingQueryBuilderState extends QueryBuilderState {
45
45
  // if there is no chosen class or the chosen one is not compatible
46
46
  // with the mapping then pick a compatible class if possible
47
47
  if (!this.class || !compatibleClasses.includes(this.class)) {
48
- const possibleNewClass = getNullableFirstElement(compatibleClasses);
48
+ const possibleNewClass = getNullableFirstEntry(compatibleClasses);
49
49
  if (possibleNewClass) {
50
50
  this.changeClass(possibleNewClass);
51
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MappingQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/MappingQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,4BAA4B,EAC5B,cAAc,EACd,mCAAmC,EACnC,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,0CAA0C,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,eAAe,CAAwC;IACvD,eAAe,CAAwC;IAEvD,oCAAoC,GAAG,GAAoB,EAAE,CACpE,0CAA0C,CAAC,IAAI,CAAC,CAAC;IAEnD,YACE,gBAA+C,EAC/C,iBAAoC,EACpC,eAAsD,EACtD,eAAsD;QAEtD,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE3C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;IAED;;;;;;OAMG;IACH,sBAAsB,CAAC,OAAgB;QACrC,8CAA8C;QAC9C,sDAAsD;QACtD,MAAM,kBAAkB,GAAG,4BAA4B,CACrD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,cAAc,CACtC,CAAC;QACF,MAAM,kBAAkB,GAAG,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;QACvE,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,aAAa,CAChB,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAC/D,CACF,CAAC;SACH;QAED,MAAM,iBAAiB,GAAG,2BAA2B,CACnD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,aAAa,CACrC,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;YACpE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"MappingQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/MappingQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL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AG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;YAClE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { getMappingCompatibleClasses, PureMultiExecution, PureSingleExecution, } from '@finos/legend-graph';
17
- import { assertTrue, getNullableFirstElement, guaranteeNonNullable, IllegalStateError, } from '@finos/legend-shared';
17
+ import { assertTrue, getNullableFirstEntry, guaranteeNonNullable, IllegalStateError, } from '@finos/legend-shared';
18
18
  import { action, makeObservable, observable } from 'mobx';
19
19
  import { renderServiceQueryBuilderSetupPanelContent } from '../../components/workflows/ServiceQueryBuilder.js';
20
20
  import { QueryBuilderState } from '../QueryBuilderState.js';
@@ -93,7 +93,7 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
93
93
  // if there is no chosen class or the chosen one is not compatible
94
94
  // with the mapping then pick a compatible class if possible
95
95
  if (!this.class || !compatibleClasses.includes(this.class)) {
96
- const possibleNewClass = getNullableFirstElement(compatibleClasses);
96
+ const possibleNewClass = getNullableFirstEntry(compatibleClasses);
97
97
  if (possibleNewClass) {
98
98
  this.changeClass(possibleNewClass);
99
99
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/ServiceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAKL,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,0CAA0C,EAAE,MAAM,mDAAmD,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B,CAC7B,gBAAyC;QAEzC,MAAM,OAAO,GAAG,gBAAgB,CAAC,OAAO,CAAC;QACzC,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC;QACxD,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;QAElD,MAAM,iBAAiB,GAAG,2BAA2B,CACnD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,aAAa,CACrC,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;YACpE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"ServiceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/ServiceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAKL,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,0CAA0C,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAQ5D,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,OAAO,CAAU;IACjB,cAAc,CAAwB;IACtC,iBAAiB,GAA8B,EAAE,CAAC;IAClD,eAAe,C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AAgB,CAAC,YAAY,CAAC,CAAC;QAElD,MAAM,iBAAiB,GAAG,2BAA2B,CACnD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,aAAa,CACrC,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;YAClE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,13 +42,13 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.1",
46
- "@finos/legend-art": "7.0.2",
47
- "@finos/legend-graph": "28.0.2",
48
- "@finos/legend-lego": "0.1.7",
49
- "@finos/legend-server-depot": "5.0.0",
50
- "@finos/legend-shared": "9.0.0",
51
- "@finos/legend-storage": "3.0.49",
45
+ "@finos/legend-application": "15.0.2",
46
+ "@finos/legend-art": "7.0.3",
47
+ "@finos/legend-graph": "28.0.3",
48
+ "@finos/legend-lego": "0.1.8",
49
+ "@finos/legend-server-depot": "5.0.1",
50
+ "@finos/legend-shared": "10.0.0",
51
+ "@finos/legend-storage": "3.0.50",
52
52
  "@testing-library/react": "14.0.0",
53
53
  "@types/react": "18.0.37",
54
54
  "@types/react-dom": "18.0.11",
@@ -63,7 +63,7 @@
63
63
  "sql-formatter": "12.2.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.0.54",
66
+ "@finos/legend-dev-utils": "2.0.55",
67
67
  "@jest/globals": "29.5.0",
68
68
  "cross-env": "7.0.3",
69
69
  "eslint": "8.38.0",
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { action, computed, makeObservable, observable } from 'mobx';
18
18
  import {
19
- getNullableFirstElement,
19
+ getNullableFirstEntry,
20
20
  guaranteeNonNullable,
21
21
  guaranteeType,
22
22
  type Hashable,
@@ -72,7 +72,7 @@ export const getPropertyChainName = (
72
72
  const chunks = [propertyNameDecorator(propertyExpression.func.value.name)];
73
73
  let currentExpression: ValueSpecification | undefined = propertyExpression;
74
74
  while (currentExpression instanceof AbstractPropertyExpression) {
75
- currentExpression = getNullableFirstElement(
75
+ currentExpression = getNullableFirstEntry(
76
76
  currentExpression.parametersValues,
77
77
  );
78
78
  // Take care of chain of subtypes (a pattern that is not useful, but we want to support and potentially rectify)
@@ -90,7 +90,7 @@ export const getPropertyChainName = (
90
90
  )[0]?.genericType?.value.rawType.name ?? '',
91
91
  )})`;
92
92
  chunks.unshift(subtypeChunk);
93
- currentExpression = getNullableFirstElement(
93
+ currentExpression = getNullableFirstEntry(
94
94
  currentExpression.parametersValues,
95
95
  );
96
96
  }
@@ -124,7 +124,7 @@ export const getPropertyPath = (
124
124
  const propertyNameChain = [propertyExpression.func.value.name];
125
125
  let currentExpression: ValueSpecification | undefined = propertyExpression;
126
126
  while (currentExpression instanceof AbstractPropertyExpression) {
127
- currentExpression = getNullableFirstElement(
127
+ currentExpression = getNullableFirstEntry(
128
128
  currentExpression.parametersValues,
129
129
  );
130
130
  if (currentExpression instanceof AbstractPropertyExpression) {
@@ -403,7 +403,7 @@ export class QueryBuilderPropertyExpressionState implements Hashable {
403
403
  );
404
404
  result.push(derivedPropertyExpressionState);
405
405
  }
406
- currentExpression = getNullableFirstElement(
406
+ currentExpression = getNullableFirstEntry(
407
407
  currentExpression.parametersValues,
408
408
  );
409
409
  // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
@@ -415,7 +415,7 @@ export class QueryBuilderPropertyExpressionState implements Hashable {
415
415
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE,
416
416
  )
417
417
  ) {
418
- currentExpression = getNullableFirstElement(
418
+ currentExpression = getNullableFirstEntry(
419
419
  currentExpression.parametersValues,
420
420
  );
421
421
  }
@@ -27,7 +27,7 @@ import {
27
27
  type ValueSpecification,
28
28
  } from '@finos/legend-graph';
29
29
  import {
30
- getNullableFirstElement,
30
+ getNullableFirstEntry,
31
31
  guaranteeNonNullable,
32
32
  guaranteeType,
33
33
  } from '@finos/legend-shared';
@@ -75,9 +75,7 @@ export const buildPropertyExpressionChain = (
75
75
  let nextExpression: ValueSpecification | undefined;
76
76
  let currentExpression: ValueSpecification | undefined = newPropertyExpression;
77
77
  while (currentExpression instanceof AbstractPropertyExpression) {
78
- nextExpression = getNullableFirstElement(
79
- currentExpression.parametersValues,
80
- );
78
+ nextExpression = getNullableFirstEntry(currentExpression.parametersValues);
81
79
  if (nextExpression instanceof AbstractPropertyExpression) {
82
80
  const parameterValue = new AbstractPropertyExpression('');
83
81
  parameterValue.func = nextExpression.func;
@@ -169,7 +167,7 @@ export const buildPropertyExpressionChain = (
169
167
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE,
170
168
  )
171
169
  ) {
172
- currentExpression = getNullableFirstElement(
170
+ currentExpression = getNullableFirstEntry(
173
171
  currentExpression.parametersValues,
174
172
  );
175
173
  }
@@ -32,7 +32,7 @@ import {
32
32
  assertErrorThrown,
33
33
  assertTrue,
34
34
  deleteEntry,
35
- getNullableFirstElement,
35
+ getNullableFirstEntry,
36
36
  guaranteeNonNullable,
37
37
  guaranteeType,
38
38
  IllegalStateError,
@@ -557,7 +557,7 @@ export class QueryBuilderPostFilterState
557
557
  this.rootIds.length < 2,
558
558
  'Query builder post-filter tree cannot have more than 1 root',
559
559
  );
560
- const rootId = getNullableFirstElement(this.rootIds);
560
+ const rootId = getNullableFirstEntry(this.rootIds);
561
561
  return rootId ? this.getNode(rootId) : undefined;
562
562
  }
563
563
 
@@ -19,7 +19,7 @@ import type { TreeNodeData, TreeData } from '@finos/legend-art';
19
19
  import {
20
20
  type GeneratorFn,
21
21
  assertTrue,
22
- getNullableFirstElement,
22
+ getNullableFirstEntry,
23
23
  guaranteeNonNullable,
24
24
  guaranteeType,
25
25
  IllegalStateError,
@@ -456,7 +456,7 @@ export class QueryBuilderFilterState
456
456
  this.rootIds.length < 2,
457
457
  'Query builder filter tree cannot have more than 1 root',
458
458
  );
459
- const rootId = getNullableFirstElement(this.rootIds);
459
+ const rootId = getNullableFirstEntry(this.rootIds);
460
460
  return rootId ? this.getNode(rootId) : undefined;
461
461
  }
462
462
 
@@ -22,7 +22,7 @@ import {
22
22
  RuntimePointer,
23
23
  PackageableElementExplicitReference,
24
24
  } from '@finos/legend-graph';
25
- import { getNullableFirstElement } from '@finos/legend-shared';
25
+ import { getNullableFirstEntry } from '@finos/legend-shared';
26
26
  import type React from 'react';
27
27
  import { renderClassQueryBuilderSetupPanelContent } from '../../components/workflows/ClassQueryBuilder.js';
28
28
  import { QueryBuilderState } from '../QueryBuilderState.js';
@@ -49,7 +49,7 @@ export class ClassQueryBuilderState extends QueryBuilderState {
49
49
  return;
50
50
  }
51
51
  // try to select the first compatible mapping
52
- const possibleNewMapping = getNullableFirstElement(compatibleMappings);
52
+ const possibleNewMapping = getNullableFirstEntry(compatibleMappings);
53
53
  if (possibleNewMapping) {
54
54
  this.changeMapping(possibleNewMapping);
55
55
  this.propagateMappingChange(possibleNewMapping);
@@ -68,7 +68,7 @@ export class ClassQueryBuilderState extends QueryBuilderState {
68
68
  mapping,
69
69
  this.graphManagerState.usableRuntimes,
70
70
  );
71
- const possibleNewRuntime = getNullableFirstElement(compatibleRuntimes);
71
+ const possibleNewRuntime = getNullableFirstEntry(compatibleRuntimes);
72
72
  if (possibleNewRuntime) {
73
73
  this.changeRuntime(
74
74
  new RuntimePointer(
@@ -24,7 +24,7 @@ import {
24
24
  PackageableElementExplicitReference,
25
25
  getMappingCompatibleClasses,
26
26
  } from '@finos/legend-graph';
27
- import { getNullableFirstElement } from '@finos/legend-shared';
27
+ import { getNullableFirstEntry } from '@finos/legend-shared';
28
28
  import { renderMappingQueryBuilderSetupPanelContent } from '../../components/workflows/MappingQueryBuilder.js';
29
29
  import { QueryBuilderState } from '../QueryBuilderState.js';
30
30
 
@@ -61,7 +61,7 @@ export class MappingQueryBuilderState extends QueryBuilderState {
61
61
  mapping,
62
62
  this.graphManagerState.usableRuntimes,
63
63
  );
64
- const possibleNewRuntime = getNullableFirstElement(compatibleRuntimes);
64
+ const possibleNewRuntime = getNullableFirstEntry(compatibleRuntimes);
65
65
  if (possibleNewRuntime) {
66
66
  this.changeRuntime(
67
67
  new RuntimePointer(
@@ -77,7 +77,7 @@ export class MappingQueryBuilderState extends QueryBuilderState {
77
77
  // if there is no chosen class or the chosen one is not compatible
78
78
  // with the mapping then pick a compatible class if possible
79
79
  if (!this.class || !compatibleClasses.includes(this.class)) {
80
- const possibleNewClass = getNullableFirstElement(compatibleClasses);
80
+ const possibleNewClass = getNullableFirstEntry(compatibleClasses);
81
81
  if (possibleNewClass) {
82
82
  this.changeClass(possibleNewClass);
83
83
  }
@@ -26,7 +26,7 @@ import {
26
26
  } from '@finos/legend-graph';
27
27
  import {
28
28
  assertTrue,
29
- getNullableFirstElement,
29
+ getNullableFirstEntry,
30
30
  guaranteeNonNullable,
31
31
  IllegalStateError,
32
32
  } from '@finos/legend-shared';
@@ -159,7 +159,7 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
159
159
  // if there is no chosen class or the chosen one is not compatible
160
160
  // with the mapping then pick a compatible class if possible
161
161
  if (!this.class || !compatibleClasses.includes(this.class)) {
162
- const possibleNewClass = getNullableFirstElement(compatibleClasses);
162
+ const possibleNewClass = getNullableFirstEntry(compatibleClasses);
163
163
  if (possibleNewClass) {
164
164
  this.changeClass(possibleNewClass);
165
165
  }