@finos/legend-query-builder 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +2 -2
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +4 -4
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +2 -1
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +7 -7
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/package.json +4 -4
- package/src/components/QueryBuilderParametersPanel.tsx +1 -2
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +3 -4
- package/src/stores/QueryBuilderState.ts +2 -1
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +10 -10
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA0BxE,OAAO,EAIL,oBAAoB,EAIrB,MAAM,2BAA2B,CAAC;AAuMnC,eAAO,MAAM,wBAAwB,WAC3B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uBAAuB,EAAE,oBAAoB,CAAC;CAC/C;;CA4EF,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA6FjD,CAAC"}
|
@@ -18,7 +18,7 @@ import { useState } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { Dialog, BlankPanelContent, CustomSelectorInput, PencilIcon, TimesIcon, DollarIcon, PlusIcon, InputWithInlineValidation, DragPreviewLayer, useDragPreviewLayer, BlankPanelPlaceholder, } from '@finos/legend-art';
|
20
20
|
import { QUERY_BUILDER_PARAMETER_DND_TYPE, } from '../stores/QueryBuilderParametersState.js';
|
21
|
-
import { MULTIPLICITY_INFINITE, PRIMITIVE_TYPE, VariableExpression,
|
21
|
+
import { MULTIPLICITY_INFINITE, PRIMITIVE_TYPE, VariableExpression, GenericTypeExplicitReference, GenericType, } from '@finos/legend-graph';
|
22
22
|
import { buildElementOption, variableExpression_setName, LambdaParameterState, LambdaParameterValuesEditor, getPackageableElementOptionFormatter, useApplicationStore, } from '@finos/legend-application';
|
23
23
|
import { useDrag } from 'react-dnd';
|
24
24
|
import { generateEnumerableNameFromToken } from '@finos/legend-shared';
|
@@ -117,7 +117,7 @@ export const QueryBuilderParametersPanel = observer((props) => {
|
|
117
117
|
const varNames = queryBuilderState.parametersState.parameterStates.map((parameter) => parameter.variableName);
|
118
118
|
const addParameter = () => {
|
119
119
|
if (!isReadOnly && !queryBuilderState.isParameterSupportDisabled) {
|
120
|
-
const parmaterState = new LambdaParameterState(new VariableExpression(generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME),
|
120
|
+
const parmaterState = new LambdaParameterState(new VariableExpression(generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME), queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1), GenericTypeExplicitReference.create(new GenericType(queryParameterState.queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING)))), queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
|
121
121
|
queryParameterState.setSelectedParameter(parmaterState);
|
122
122
|
parmaterState.mockParameterValue();
|
123
123
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,UAAU,EACV,QAAQ,EACR,yBAAyB,EACzB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,gCAAgC,GACjC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAEL,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,UAAU,EACV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0B,IAAI,CAChD,8BACG,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,MAAM,CAAC;gCAClD,mBAAmB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CACrD,KAAC,wBAAwB,IAEvB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,uBAAuB,EAAE,SAAS,IAH7B,SAAS,CAAC,IAAI,CAInB,CACH,CAAC,EACH,CAAC,mBAAmB,CAAC,eAAe,CAAC,MAAM,IAAI,CAC9C,KAAC,qBAAqB,IACpB,IAAI,EAAC,iBAAiB,EACtB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,YAAY,EACrB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,8BAA8B,GAC1C,CACH,IACA,CACJ,EACA,iBAAiB,CAAC,0BAA0B,IAAI,CAC/C,KAAC,iBAAiB,+CAAiD,CACpE,IACG,EACL,mBAAmB,CAAC,iBAAiB,IAAI,CACxC,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,mBAAmB,CAAC,iBAAiB,GAC3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,KAAC,2BAA2B,IAC1B,KAAK,EACH,mBAAmB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAE/D,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_QueryBuilder_FunctionExpressionBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,
|
1
|
+
{"version":3,"file":"V1_QueryBuilder_FunctionExpressionBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAqB9B,MAAM,qBAAqB,CAAC;AA6I7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAkBjD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAqDjD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAoDjD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAuFjD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAkIjD,CAAC"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { assertNonNullable, assertTrue, assertType, filterByType, guaranteeType, returnUndefOnError, } from '@finos/legend-shared';
|
17
|
-
import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue,
|
17
|
+
import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue, INTERNAL__UnknownValueSpecification, V1_Variable, V1_serializeValueSpecification, GenericType, GenericTypeExplicitReference, matchFunctionName, InstanceValue, V1_AppliedFunction, V1_Collection, V1_Lambda, V1_ValueSpecificationBuilder, AbstractPropertyExpression, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, CORE_PURE_PATH, } from '@finos/legend-graph';
|
18
18
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../QueryBuilderSupportedFunctions.js';
|
19
19
|
const buildProjectionColumnLambda = (valueSpecification, openVariables, compileContext, processingContext) => {
|
20
20
|
assertType(valueSpecification, V1_Lambda, `Can't build projection column: only support lambda`);
|
@@ -131,7 +131,7 @@ export const V1_buildProjectFunctionExpression = (functionName, parameters, open
|
|
131
131
|
}
|
132
132
|
});
|
133
133
|
// build column expressions taking into account of derivation
|
134
|
-
const processedColumnExpressions = new CollectionInstanceValue(
|
134
|
+
const processedColumnExpressions = new CollectionInstanceValue(compileContext.graph.getMultiplicity(columnExpressions.multiplicity.lowerBound, columnExpressions.multiplicity.upperBound));
|
135
135
|
processedColumnExpressions.values = columnExpressions.values.map((value) => {
|
136
136
|
try {
|
137
137
|
return buildProjectionColumnLambda(value, openVariables, compileContext, processingContext);
|
@@ -182,7 +182,7 @@ export const V1_buildGroupByFunctionExpression = (functionName, parameters, open
|
|
182
182
|
}
|
183
183
|
});
|
184
184
|
// build column expressions taking into account of derivation
|
185
|
-
const processedColumnExpressions = new CollectionInstanceValue(
|
185
|
+
const processedColumnExpressions = new CollectionInstanceValue(compileContext.graph.getMultiplicity(columnExpressions.multiplicity.lowerBound, columnExpressions.multiplicity.upperBound));
|
186
186
|
processedColumnExpressions.values = columnExpressions.values.map((value) => {
|
187
187
|
try {
|
188
188
|
return buildProjectionColumnLambda(value, openVariables, compileContext, processingContext);
|
@@ -192,7 +192,7 @@ export const V1_buildGroupByFunctionExpression = (functionName, parameters, open
|
|
192
192
|
}
|
193
193
|
});
|
194
194
|
// build aggregation expressions taking into account of derivation
|
195
|
-
const processedAggregationExpressions = new CollectionInstanceValue(
|
195
|
+
const processedAggregationExpressions = new CollectionInstanceValue(compileContext.graph.getMultiplicity(aggregationExpressions.multiplicity.lowerBound, aggregationExpressions.multiplicity.upperBound));
|
196
196
|
processedAggregationExpressions.values = aggregationExpressions.values.map((value) => buildAggregationExpression(value, openVariables, compileContext, processingContext));
|
197
197
|
const processedParams = [
|
198
198
|
precedingExperession,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_QueryBuilder_FunctionExpressionBuilder.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,oCAAoC,EACpC,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,YAAY,EACZ,mCAAmC,EACnC,WAAW,EACX,8BAA8B,EAC9B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,GACf,MAAM,qBAAqB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IAEF,MAAM,eAAe,GAAG;QACtB,oBAAoB;QACpB,0BAA0B;QAC1B,+BAA+B;QAC9B,UAAU,CAAC,CAAC,CAA2B,CAAC,gCAAgC,CACvE,IAAI,4BAA4B,CAC9B,cAAc,EACd,iBAAiB,EACjB,aAAa,CACd,CACF;KACF,CAAC;IACF,MAAM,UAAU,GAAG,oCAAoC,CACrD,eAAe,EACf,YAAY,EACZ,cAAc,CACf,CAAC;IACF,UAAU,CAAC,WAAW,GAAG,4BAA4B,CAAC,MAAM,CAC1D,IAAI,WAAW,CAAC,cAAc,CAAC,WAAW,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAC1E,CAAC;IACF,OAAO,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;AACvC,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAEZ,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,EAGT,eAAe,EAIhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,6BAA6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KAAK,OAAO,CAAC,IAAI,CAAC,GAChD,OAAO,CAAC,IAAI,CAAC;IAUf,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAoFlC,IAAI,gBAAgB,IAAI,MAAM,EAAE,GAAG,SAAS,CAE3C;IAED;;;;OAIG;IACH,kCAAkC,IAAI,iBAAiB;IAYvD,IAAI,QAAQ,IAAI,MAAM,CASrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
|
@@ -173,12 +173,13 @@ export class QueryBuilderState {
|
|
173
173
|
this.resetQueryContent();
|
174
174
|
this.setClass(val);
|
175
175
|
this.explorerState.refreshTreeData();
|
176
|
-
this.milestoningState.updateMilestoningConfiguration();
|
177
176
|
this.fetchStructureState.implementation.onClassChange(val);
|
177
|
+
this.milestoningState.updateMilestoningConfiguration();
|
178
178
|
}
|
179
179
|
changeMapping(val) {
|
180
180
|
this.resetQueryResult();
|
181
181
|
this.resetQueryContent();
|
182
|
+
this.milestoningState.updateMilestoningConfiguration();
|
182
183
|
this.setMapping(val);
|
183
184
|
}
|
184
185
|
changeRuntime(val) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,GACV,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,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G,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,4BAA4B,CAAC,mBAAmB;YAChD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAepB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAwIpF,eAAO,MAAM,gBAAgB,oBACV,2BAA2B,kBAC5B,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IA+NF,CAAC"}
|
package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference,
|
16
|
+
import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, INTERNAL__UnknownValueSpecification, V1_serializeRawValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, matchFunctionName, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
|
18
18
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
|
19
19
|
import { buildPropertyExpressionChain } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
|
@@ -51,7 +51,7 @@ const appendResultSetModifier = (resultModifierState, lambda, options) => {
|
|
51
51
|
// build sort()
|
52
52
|
if (resultModifierState.sortColumns.length) {
|
53
53
|
const sortFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT), multiplicityOne);
|
54
|
-
const multiplicity =
|
54
|
+
const multiplicity = resultModifierState.projectionState.queryBuilderState.graphManagerState.graph.getMultiplicity(resultModifierState.sortColumns.length, resultModifierState.sortColumns.length);
|
55
55
|
const collection = new CollectionInstanceValue(multiplicity, undefined);
|
56
56
|
collection.values =
|
57
57
|
resultModifierState.sortColumns.map(buildSortExpression);
|
@@ -86,11 +86,11 @@ export const appendProjection = (projectionState, lambdaFunction, options) => {
|
|
86
86
|
if (projectionState.aggregationState.columns.length) {
|
87
87
|
// aggregation
|
88
88
|
const groupByFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY), multiplicityOne);
|
89
|
-
const colLambdas = new CollectionInstanceValue(
|
89
|
+
const colLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length -
|
90
90
|
projectionState.aggregationState.columns.length, projectionState.columns.length -
|
91
91
|
projectionState.aggregationState.columns.length));
|
92
|
-
const aggregateLambdas = new CollectionInstanceValue(
|
93
|
-
const colAliases = new CollectionInstanceValue(
|
92
|
+
const aggregateLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.aggregationState.columns.length, projectionState.aggregationState.columns.length));
|
93
|
+
const colAliases = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length, projectionState.columns.length));
|
94
94
|
projectionState.columns.forEach((projectionColumnState) => {
|
95
95
|
// column alias
|
96
96
|
const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
|
@@ -143,8 +143,8 @@ export const appendProjection = (projectionState, lambdaFunction, options) => {
|
|
143
143
|
else if (projectionState.columns.length) {
|
144
144
|
// projection
|
145
145
|
const projectFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT), multiplicityOne);
|
146
|
-
const colLambdas = new CollectionInstanceValue(
|
147
|
-
const colAliases = new CollectionInstanceValue(
|
146
|
+
const colLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length, projectionState.columns.length));
|
147
|
+
const colAliases = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length, projectionState.columns.length));
|
148
148
|
projectionState.columns.forEach((projectionColumnState) => {
|
149
149
|
// column alias
|
150
150
|
const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
|
package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EAEzB,mCAAmC,EACnC,iCAAiC,EACjC,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,yDAAyD,CAAC;AAC5G,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AACpG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,gBAAgB,GAGjB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,mBAAmB,GAAG,CAC1B,eAAgC,EACN,EAAE;IAC5B,MAAM,eAAe,GACnB,eAAe,CAAC,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5C,CAAC,CAAC,SAAS;KACd,CACF,CAAC;AACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.2",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -44,9 +44,9 @@
|
|
44
44
|
"@ag-grid-community/client-side-row-model": "28.1.1",
|
45
45
|
"@ag-grid-community/core": "28.1.1",
|
46
46
|
"@ag-grid-community/react": "28.1.1",
|
47
|
-
"@finos/legend-application": "8.0.
|
47
|
+
"@finos/legend-application": "8.0.2",
|
48
48
|
"@finos/legend-art": "3.3.0",
|
49
|
-
"@finos/legend-graph": "17.0.
|
49
|
+
"@finos/legend-graph": "17.0.1",
|
50
50
|
"@finos/legend-server-depot": "4.1.0",
|
51
51
|
"@finos/legend-shared": "6.1.3",
|
52
52
|
"@finos/legend-storage": "3.0.12",
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"serializr": "2.0.5"
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
|
-
"@finos/legend-dev-utils": "2.0.
|
72
|
+
"@finos/legend-dev-utils": "2.0.19",
|
73
73
|
"@jest/globals": "29.1.2",
|
74
74
|
"cross-env": "7.0.3",
|
75
75
|
"eslint": "8.24.0",
|
@@ -39,7 +39,6 @@ import {
|
|
39
39
|
MULTIPLICITY_INFINITE,
|
40
40
|
PRIMITIVE_TYPE,
|
41
41
|
VariableExpression,
|
42
|
-
Multiplicity,
|
43
42
|
GenericTypeExplicitReference,
|
44
43
|
GenericType,
|
45
44
|
} from '@finos/legend-graph';
|
@@ -347,7 +346,7 @@ export const QueryBuilderParametersPanel = observer(
|
|
347
346
|
const parmaterState = new LambdaParameterState(
|
348
347
|
new VariableExpression(
|
349
348
|
generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME),
|
350
|
-
|
349
|
+
queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1),
|
351
350
|
GenericTypeExplicitReference.create(
|
352
351
|
new GenericType(
|
353
352
|
queryParameterState.queryBuilderState.graphManagerState.graph.getPrimitiveType(
|
@@ -33,7 +33,6 @@ import {
|
|
33
33
|
extractElementNameFromPath,
|
34
34
|
V1_AppliedProperty,
|
35
35
|
CollectionInstanceValue,
|
36
|
-
Multiplicity,
|
37
36
|
INTERNAL__UnknownValueSpecification,
|
38
37
|
V1_Variable,
|
39
38
|
V1_serializeValueSpecification,
|
@@ -390,7 +389,7 @@ export const V1_buildProjectFunctionExpression = (
|
|
390
389
|
|
391
390
|
// build column expressions taking into account of derivation
|
392
391
|
const processedColumnExpressions = new CollectionInstanceValue(
|
393
|
-
|
392
|
+
compileContext.graph.getMultiplicity(
|
394
393
|
columnExpressions.multiplicity.lowerBound,
|
395
394
|
columnExpressions.multiplicity.upperBound,
|
396
395
|
),
|
@@ -510,7 +509,7 @@ export const V1_buildGroupByFunctionExpression = (
|
|
510
509
|
|
511
510
|
// build column expressions taking into account of derivation
|
512
511
|
const processedColumnExpressions = new CollectionInstanceValue(
|
513
|
-
|
512
|
+
compileContext.graph.getMultiplicity(
|
514
513
|
columnExpressions.multiplicity.lowerBound,
|
515
514
|
columnExpressions.multiplicity.upperBound,
|
516
515
|
),
|
@@ -532,7 +531,7 @@ export const V1_buildGroupByFunctionExpression = (
|
|
532
531
|
|
533
532
|
// build aggregation expressions taking into account of derivation
|
534
533
|
const processedAggregationExpressions = new CollectionInstanceValue(
|
535
|
-
|
534
|
+
compileContext.graph.getMultiplicity(
|
536
535
|
aggregationExpressions.multiplicity.lowerBound,
|
537
536
|
aggregationExpressions.multiplicity.upperBound,
|
538
537
|
),
|
@@ -246,13 +246,14 @@ export abstract class QueryBuilderState {
|
|
246
246
|
this.resetQueryContent();
|
247
247
|
this.setClass(val);
|
248
248
|
this.explorerState.refreshTreeData();
|
249
|
-
this.milestoningState.updateMilestoningConfiguration();
|
250
249
|
this.fetchStructureState.implementation.onClassChange(val);
|
250
|
+
this.milestoningState.updateMilestoningConfiguration();
|
251
251
|
}
|
252
252
|
|
253
253
|
changeMapping(val: Mapping): void {
|
254
254
|
this.resetQueryResult();
|
255
255
|
this.resetQueryContent();
|
256
|
+
this.milestoningState.updateMilestoningConfiguration();
|
256
257
|
this.setMapping(val);
|
257
258
|
}
|
258
259
|
|
package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts
CHANGED
@@ -20,7 +20,6 @@ import {
|
|
20
20
|
extractElementNameFromPath,
|
21
21
|
GenericType,
|
22
22
|
GenericTypeExplicitReference,
|
23
|
-
Multiplicity,
|
24
23
|
PrimitiveInstanceValue,
|
25
24
|
PRIMITIVE_TYPE,
|
26
25
|
SimpleFunctionExpression,
|
@@ -126,10 +125,11 @@ const appendResultSetModifier = (
|
|
126
125
|
),
|
127
126
|
multiplicityOne,
|
128
127
|
);
|
129
|
-
const multiplicity =
|
130
|
-
resultModifierState.
|
131
|
-
|
132
|
-
|
128
|
+
const multiplicity =
|
129
|
+
resultModifierState.projectionState.queryBuilderState.graphManagerState.graph.getMultiplicity(
|
130
|
+
resultModifierState.sortColumns.length,
|
131
|
+
resultModifierState.sortColumns.length,
|
132
|
+
);
|
133
133
|
const collection = new CollectionInstanceValue(
|
134
134
|
multiplicity,
|
135
135
|
undefined,
|
@@ -215,7 +215,7 @@ export const appendProjection = (
|
|
215
215
|
);
|
216
216
|
|
217
217
|
const colLambdas = new CollectionInstanceValue(
|
218
|
-
|
218
|
+
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
219
219
|
projectionState.columns.length -
|
220
220
|
projectionState.aggregationState.columns.length,
|
221
221
|
projectionState.columns.length -
|
@@ -223,13 +223,13 @@ export const appendProjection = (
|
|
223
223
|
),
|
224
224
|
);
|
225
225
|
const aggregateLambdas = new CollectionInstanceValue(
|
226
|
-
|
226
|
+
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
227
227
|
projectionState.aggregationState.columns.length,
|
228
228
|
projectionState.aggregationState.columns.length,
|
229
229
|
),
|
230
230
|
);
|
231
231
|
const colAliases = new CollectionInstanceValue(
|
232
|
-
|
232
|
+
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
233
233
|
projectionState.columns.length,
|
234
234
|
projectionState.columns.length,
|
235
235
|
),
|
@@ -330,13 +330,13 @@ export const appendProjection = (
|
|
330
330
|
multiplicityOne,
|
331
331
|
);
|
332
332
|
const colLambdas = new CollectionInstanceValue(
|
333
|
-
|
333
|
+
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
334
334
|
projectionState.columns.length,
|
335
335
|
projectionState.columns.length,
|
336
336
|
),
|
337
337
|
);
|
338
338
|
const colAliases = new CollectionInstanceValue(
|
339
|
-
|
339
|
+
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
340
340
|
projectionState.columns.length,
|
341
341
|
projectionState.columns.length,
|
342
342
|
),
|