@finos/legend-query-builder 4.7.4 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderConstantExpressionPanel.js +24 -8
  3. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  4. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +5 -3
  6. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +8 -1
  9. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  10. package/lib/components/shared/LambdaEditor.d.ts +1 -11
  11. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  12. package/lib/components/shared/LambdaEditor.js +11 -4
  13. package/lib/components/shared/LambdaEditor.js.map +1 -1
  14. package/lib/index.css +2 -2
  15. package/lib/index.css.map +1 -1
  16. package/lib/package.json +1 -1
  17. package/lib/stores/QueryBuilderConstantsState.d.ts +2 -1
  18. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  19. package/lib/stores/QueryBuilderConstantsState.js +9 -1
  20. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  21. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  22. package/lib/stores/QueryBuilderState.js +1 -0
  23. package/lib/stores/QueryBuilderState.js.map +1 -1
  24. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +1 -1
  25. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  26. package/lib/stores/QueryBuilderTypeaheadHelper.js +190 -30
  27. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  28. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -0
  29. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  30. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  31. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +1 -0
  32. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  33. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +4 -0
  34. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  35. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +1 -0
  36. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  37. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +3 -0
  38. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  39. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  40. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  41. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +25 -1
  42. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  43. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -1
  44. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  45. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -0
  46. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  47. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +9 -2
  48. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  49. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +40 -6
  50. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  51. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +1 -0
  52. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
  53. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +8 -1
  54. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  55. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +1 -0
  56. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
  57. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +7 -1
  58. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  59. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +4 -0
  60. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
  61. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
  62. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +1 -0
  63. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
  64. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +7 -1
  65. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  66. package/package.json +3 -3
  67. package/src/components/QueryBuilderConstantExpressionPanel.tsx +81 -24
  68. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +11 -1
  69. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +12 -1
  70. package/src/components/shared/LambdaEditor.tsx +15 -2
  71. package/src/stores/QueryBuilderConstantsState.ts +12 -0
  72. package/src/stores/QueryBuilderState.ts +1 -0
  73. package/src/stores/QueryBuilderTypeaheadHelper.ts +382 -54
  74. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -0
  75. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +5 -0
  76. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +4 -0
  77. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +43 -1
  78. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -0
  79. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +66 -9
  80. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +14 -0
  81. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
  82. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +7 -0
  83. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
@@ -13,46 +13,206 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { PrimitiveInstanceValue, PRIMITIVE_TYPE, TDSExecutionResult, } from '@finos/legend-graph';
17
- import { guaranteeType, isNonNullable, isString } from '@finos/legend-shared';
16
+ import { AbstractPropertyExpression, PrimitiveInstanceValue, PRIMITIVE_TYPE, TDSExecutionResult, DerivedProperty, Class, SimpleFunctionExpression, matchFunctionName, PrimitiveType, Multiplicity, getMilestoneTemporalStereotype, extractElementNameFromPath, CollectionInstanceValue, GenericTypeExplicitReference, GenericType, CORE_PURE_PATH, FunctionType, LambdaFunction, PackageableElementExplicitReference, PropertyExplicitReference, getAllClassDerivedProperties, VariableExpression, buildRawLambdaFromLambdaFunction, INTERNAL__UnknownValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, V1_serializeRawValueSpecification, } from '@finos/legend-graph';
17
+ import { getNullableFirstEntry, guaranteeNonNullable, guaranteeType, isNonNullable, isString, UnsupportedOperationError, } from '@finos/legend-shared';
18
18
  import { QueryBuilderPostFilterOperator_StartWith } from './fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js';
19
- import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from './fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
20
- import { QueryBuilderProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
21
- import { QueryBuilderTDSState } from './fetch-structure/tds/QueryBuilderTDSState.js';
19
+ import { getTDSColumnDerivedProperyFromType, } from './fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
20
+ import { QueryBuilderDerivationProjectionColumnState, QueryBuilderProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
22
21
  import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
23
- const initializeQueryBuilderState = (queryBuilderState) => {
24
- const builderState = queryBuilderState.INTERNAL__toBasicQueryBuilderState();
25
- const tdsState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderTDSState);
26
- tdsState.resultSetModifierState.distinct = true;
27
- tdsState.resultSetModifierState.limit = DEFAULT_TYPEAHEAD_SEARCH_LIMIT;
28
- return builderState;
22
+ import { QUERY_BUILDER_PURE_PATH, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../graph/QueryBuilderMetaModelConst.js';
23
+ import { functionExpression_setParametersValues, variableExpression_setName, } from './shared/ValueSpecificationModifierHelper.js';
24
+ import { createSupportedFunctionExpression } from './shared/ValueSpecificationEditorHelper.js';
25
+ import { buildGetAllFunction } from './QueryBuilderValueSpecificationBuilder.js';
26
+ import { getPropertyChainName } from './QueryBuilderPropertyEditorState.js';
27
+ import { buildGenericLambdaFunctionInstanceValue } from './QueryBuilderValueSpecificationHelper.js';
28
+ import { DEFAULT_LAMBDA_VARIABLE_NAME, DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME, } from './QueryBuilderConfig.js';
29
+ const buildPropertyExpressionChainWithDefaultMilestoningDates = (propertyExpression, lambdaParameterName, observerContext) => {
30
+ const newPropertyExpression = new AbstractPropertyExpression('');
31
+ newPropertyExpression.func = propertyExpression.func;
32
+ newPropertyExpression.parametersValues = [
33
+ ...propertyExpression.parametersValues,
34
+ ];
35
+ let nextExpression;
36
+ let currentExpression = newPropertyExpression;
37
+ while (currentExpression instanceof AbstractPropertyExpression) {
38
+ nextExpression = getNullableFirstEntry(currentExpression.parametersValues);
39
+ if (nextExpression instanceof AbstractPropertyExpression) {
40
+ const parameterValue = new AbstractPropertyExpression('');
41
+ parameterValue.func = nextExpression.func;
42
+ parameterValue.parametersValues = [...nextExpression.parametersValues];
43
+ nextExpression = parameterValue;
44
+ currentExpression.parametersValues[0] = parameterValue;
45
+ }
46
+ if (currentExpression instanceof AbstractPropertyExpression &&
47
+ currentExpression.func.value.genericType.value.rawType instanceof Class &&
48
+ currentExpression.func.value._OWNER._generatedMilestonedProperties
49
+ .length !== 0 &&
50
+ currentExpression.func.value instanceof DerivedProperty &&
51
+ !currentExpression.func.value._OWNER.derivedProperties.includes(currentExpression.func.value)) {
52
+ const parameterValue = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
53
+ const parameterValues = currentExpression.parametersValues.length === 2
54
+ ? [parameterValue]
55
+ : [parameterValue, parameterValue];
56
+ functionExpression_setParametersValues(currentExpression, [
57
+ guaranteeNonNullable(currentExpression.parametersValues[0]),
58
+ ...parameterValues,
59
+ ], observerContext);
60
+ }
61
+ currentExpression = nextExpression;
62
+ // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
63
+ // $x.employees->subType(@Person)->subType(@Staff)
64
+ while (currentExpression instanceof SimpleFunctionExpression &&
65
+ matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
66
+ currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
67
+ }
68
+ }
69
+ // Update the root lambda name based on the parent's lambda parameter name.
70
+ if (currentExpression instanceof VariableExpression) {
71
+ variableExpression_setName(currentExpression, lambdaParameterName);
72
+ }
73
+ return newPropertyExpression;
29
74
  };
30
- const buildColumnTypeaheadQuery = (builderState, columnState, value) => {
31
- const tdsState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderTDSState);
32
- let projectionColumnState;
33
- if (columnState instanceof QueryBuilderProjectionColumnState) {
34
- projectionColumnState = columnState;
75
+ const buildRawLambda = (queryBuilderState, propertyExpression, aggregationOperator, colLambda, colType, colName, value) => {
76
+ if (!propertyExpression && !(colLambda && colType && colName)) {
77
+ throw new UnsupportedOperationError(`Can't build typeahead query`);
78
+ }
79
+ const lambdaFunction = new LambdaFunction(new FunctionType(PackageableElementExplicitReference.create(queryBuilderState.graphManagerState.graph.getType(CORE_PURE_PATH.ANY)), Multiplicity.ONE));
80
+ // build getAll function
81
+ const _class = guaranteeNonNullable(queryBuilderState.class);
82
+ const getAllFn = buildGetAllFunction(guaranteeNonNullable(queryBuilderState.class), Multiplicity.ONE);
83
+ const milestoningStereotype = getMilestoneTemporalStereotype(_class, queryBuilderState.graphManagerState.graph);
84
+ if (milestoningStereotype) {
85
+ // build milestoning parameter(s) for getAll()
86
+ queryBuilderState.milestoningState
87
+ .getMilestoningImplementation(milestoningStereotype)
88
+ .buildGetAllWithDefaultParameters(getAllFn);
89
+ }
90
+ lambdaFunction.expressionSequence[0] = getAllFn;
91
+ // projection
92
+ const columnName = propertyExpression
93
+ ? getPropertyChainName(propertyExpression, false)
94
+ : colName;
95
+ if (aggregationOperator) {
96
+ const groupByFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY));
97
+ const colLambdas = new CollectionInstanceValue(Multiplicity.ZERO);
98
+ const aggregateLambdas = new CollectionInstanceValue(Multiplicity.ONE);
99
+ const colAliases = new CollectionInstanceValue(Multiplicity.ONE);
100
+ const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
101
+ colAlias.values.push(columnName);
102
+ colAliases.values.push(colAlias);
103
+ const columnLambda = propertyExpression
104
+ ? buildGenericLambdaFunctionInstanceValue(DEFAULT_LAMBDA_VARIABLE_NAME, [propertyExpression], queryBuilderState.graphManagerState.graph)
105
+ : colLambda;
106
+ const aggregateFunctionExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG));
107
+ const aggregateLambda = buildGenericLambdaFunctionInstanceValue(DEFAULT_LAMBDA_VARIABLE_NAME, [
108
+ aggregationOperator.buildAggregateExpression(propertyExpression, DEFAULT_LAMBDA_VARIABLE_NAME, queryBuilderState.graphManagerState.graph),
109
+ ], queryBuilderState.graphManagerState.graph);
110
+ aggregateFunctionExpression.parametersValues = [
111
+ guaranteeNonNullable(columnLambda),
112
+ aggregateLambda,
113
+ ];
114
+ aggregateLambdas.values.push(aggregateFunctionExpression);
115
+ groupByFunction.parametersValues = [
116
+ lambdaFunction.expressionSequence[0],
117
+ colLambdas,
118
+ aggregateLambdas,
119
+ colAliases,
120
+ ];
121
+ lambdaFunction.expressionSequence[0] = groupByFunction;
35
122
  }
36
123
  else {
37
- projectionColumnState = columnState.projectionColumnState;
38
- const aggregationState = tdsState.aggregationState;
39
- aggregationState.columns = [columnState];
124
+ const projectFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT));
125
+ const colLambdas = new CollectionInstanceValue(Multiplicity.ONE);
126
+ const colAliases = new CollectionInstanceValue(Multiplicity.ONE);
127
+ // column alias
128
+ const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
129
+ colAlias.values.push(columnName);
130
+ colAliases.values.push(colAlias);
131
+ const columnLambda = propertyExpression
132
+ ? buildGenericLambdaFunctionInstanceValue(DEFAULT_LAMBDA_VARIABLE_NAME, [propertyExpression], queryBuilderState.graphManagerState.graph)
133
+ : colLambda;
134
+ colLambdas.values.push(guaranteeNonNullable(columnLambda));
135
+ projectFunction.parametersValues = [
136
+ lambdaFunction.expressionSequence[0],
137
+ colLambdas,
138
+ colAliases,
139
+ ];
140
+ lambdaFunction.expressionSequence[0] = projectFunction;
40
141
  }
41
- tdsState.projectionColumns = [projectionColumnState];
42
- const postConditionState = new PostFilterConditionState(tdsState.postFilterState, columnState, value, new QueryBuilderPostFilterOperator_StartWith());
43
- const postFilterNode = new QueryBuilderPostFilterTreeConditionNodeData(undefined, postConditionState);
44
- tdsState.postFilterState.addNodeFromNode(postFilterNode, undefined);
45
- return builderState.resultState.buildExecutionRawLambda();
142
+ // append post filter
143
+ const operator = new QueryBuilderPostFilterOperator_StartWith();
144
+ const tdsPropertyExpression = new AbstractPropertyExpression('');
145
+ let tdsDerivedPropertyName;
146
+ const correspondingTDSDerivedProperty = operator.getTDSColumnGetter();
147
+ if (correspondingTDSDerivedProperty) {
148
+ tdsDerivedPropertyName = correspondingTDSDerivedProperty;
149
+ }
150
+ else {
151
+ const type = propertyExpression?.func.value.genericType.value.rawType ?? colType;
152
+ tdsDerivedPropertyName = getTDSColumnDerivedProperyFromType(guaranteeNonNullable(type));
153
+ }
154
+ tdsPropertyExpression.func = PropertyExplicitReference.create(guaranteeNonNullable(getAllClassDerivedProperties(queryBuilderState.graphManagerState.graph.getClass(QUERY_BUILDER_PURE_PATH.TDS_ROW)).find((p) => p.name === tdsDerivedPropertyName)));
155
+ const variableName = new VariableExpression(DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME, Multiplicity.ONE);
156
+ const colInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
157
+ colInstanceValue.values = [columnName];
158
+ tdsPropertyExpression.parametersValues = [variableName, colInstanceValue];
159
+ const postFilterExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.STARTS_WITH));
160
+ postFilterExpression.parametersValues.push(tdsPropertyExpression);
161
+ if (value) {
162
+ postFilterExpression.parametersValues.push(value);
163
+ }
164
+ const filterLambda = buildGenericLambdaFunctionInstanceValue(DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME, [postFilterExpression], queryBuilderState.graphManagerState.graph);
165
+ // build post-filter expression
166
+ const filterExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER));
167
+ const projectExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0]);
168
+ filterExpression.parametersValues = [projectExpression, filterLambda];
169
+ lambdaFunction.expressionSequence[0] = filterExpression;
170
+ // append distinct and take
171
+ const postFilterExp = lambdaFunction.expressionSequence[0];
172
+ let currentExpression = postFilterExp;
173
+ const distinctFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT));
174
+ distinctFunction.parametersValues[0] = currentExpression;
175
+ currentExpression = distinctFunction;
176
+ const limit = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.INTEGER)));
177
+ limit.values = [DEFAULT_TYPEAHEAD_SEARCH_LIMIT];
178
+ const takeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE));
179
+ takeFunction.parametersValues[0] = currentExpression;
180
+ takeFunction.parametersValues[1] = limit;
181
+ currentExpression = takeFunction;
182
+ lambdaFunction.expressionSequence[0] = currentExpression;
183
+ return buildRawLambdaFromLambdaFunction(lambdaFunction, queryBuilderState.graphManagerState);
46
184
  };
47
185
  export const buildPropertyTypeaheadQuery = (queryBuilderState, propertyExpression, value) => {
48
- const builderState = initializeQueryBuilderState(queryBuilderState);
49
- const tdsState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderTDSState);
50
- const columnState = new QueryBuilderSimpleProjectionColumnState(tdsState, propertyExpression, false);
51
- return buildColumnTypeaheadQuery(builderState, columnState, value);
186
+ const newPropertyExpression = buildPropertyExpressionChainWithDefaultMilestoningDates(propertyExpression, DEFAULT_LAMBDA_VARIABLE_NAME, queryBuilderState.observerContext);
187
+ return buildRawLambda(queryBuilderState, newPropertyExpression, undefined, undefined, undefined, undefined, value);
52
188
  };
53
189
  export const buildProjectionColumnTypeaheadQuery = (queryBuilderState, columnState, value) => {
54
- const builderState = initializeQueryBuilderState(queryBuilderState);
55
- return buildColumnTypeaheadQuery(builderState, columnState, value);
190
+ let propertyExpression = undefined;
191
+ let aggregationOperator = undefined;
192
+ let columnLambda = undefined;
193
+ let columnName = undefined;
194
+ let columnType = undefined;
195
+ let column;
196
+ if (columnState instanceof QueryBuilderProjectionColumnState) {
197
+ column = columnState;
198
+ }
199
+ else {
200
+ column = columnState.projectionColumnState;
201
+ aggregationOperator = columnState.operator;
202
+ }
203
+ if (column instanceof QueryBuilderDerivationProjectionColumnState) {
204
+ columnLambda = new INTERNAL__UnknownValueSpecification(V1_serializeRawValueSpecification(V1_transformRawLambda(column.lambda, new V1_GraphTransformerContextBuilder(
205
+ // TODO?: do we need to include the plugins here?
206
+ []).build())));
207
+ columnName = column.columnName;
208
+ columnType = column.returnType;
209
+ }
210
+ else {
211
+ propertyExpression =
212
+ buildPropertyExpressionChainWithDefaultMilestoningDates(guaranteeType(column, QueryBuilderSimpleProjectionColumnState)
213
+ .propertyExpressionState.propertyExpression, DEFAULT_LAMBDA_VARIABLE_NAME, queryBuilderState.observerContext);
214
+ }
215
+ return buildRawLambda(queryBuilderState, propertyExpression, aggregationOperator, columnLambda, columnType, columnName, value);
56
216
  };
57
217
  export const buildTypeaheadOptions = (result) => {
58
218
  const tdsResult = guaranteeType(result, TDSExecutionResult, 'Typeahead search is only supported for TDS result sets');
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;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AAa,CAC7B,MAAM,EACN,kBAAkB,EAClB,wDAAwD,CACzD,CAAC;IACF,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,SAAS,CAAC,MAAM,CAAC,IAAI;SAClB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;SACvB,MAAM,CAAC,aAAa,CAAC;SACrB,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjB;IACH,CAAC,CAAC,CAAC;IACL,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,GAAmC,EAC1B,EAAE;IACX,IAAI,GAAG,YAAY,sBAAsB,EAAE;QACzC,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;QAC5C,QAAQ,KAAK,CAAC,IAAI,EAAE;YAClB,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC;gBAC1B,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;gBACtC,OAAO,KAAK,CAAC,MAAM,IAAI,8CAA8C,CAAC;aACvE;YACD;gBACE,OAAO,KAAK,CAAC;SAChB;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAG1B,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAElB,eAAe,EACf,KAAK,EACL,wBAAwB,EACxB,iBAAiB,EACjB,aAAa,EAEb,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,uBAAuB,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AC,CAAC;SACvB,MAAM,CAAC,aAAa,CAAC;SACrB,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjB;IACH,CAAC,CAAC,CAAC;IACL,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,GAAmC,EAC1B,EAAE;IACX,IAAI,GAAG,YAAY,sBAAsB,EAAE;QACzC,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;QAC5C,QAAQ,KAAK,CAAC,IAAI,EAAE;YAClB,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC;gBAC1B,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;gBACtC,OAAO,KAAK,CAAC,MAAM,IAAI,8CAA8C,CAAC;aACvE;YACD;gBACE,OAAO,KAAK,CAAC;SAChB;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
@@ -41,6 +41,7 @@ export declare abstract class QueryBuilderFetchStructureImplementationState impl
41
41
  abstract checkBeforeChangingImplementation(onChange: () => void): void;
42
42
  abstract appendFetchStructure(lambdaFunction: LambdaFunction, options?: LambdaFunctionBuilderOption): void;
43
43
  abstract initialize(): void;
44
+ abstract initializeWithQuery(): void;
44
45
  abstract get hashCode(): string;
45
46
  get TEMPORARY__showPostFetchStructurePanel(): boolean;
46
47
  abstract get exportDataFormatOptions(): string[];
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructureImplementationState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EACnB,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Q,CAAC,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IACtE,QAAQ,CAAC,oBAAoB,CAC3B,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,2BAA2B,GACpC,IAAI;IACP,QAAQ,CAAC,UAAU,IAAI,IAAI;IAC3B,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;IAEhC,IAAI,sCAAsC,IAAI,OAAO,CAEpD;IAGD,QAAQ,KAAK,uBAAuB,IAAI,MAAM,EAAE,CAAC;IACjD,QAAQ,CAAC,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;CAC3D"}
1
+ {"version":3,"file":"QueryBuilderFetchStructureImplementationState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,0CAA0C,CAAC;AACzG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE,oBAAY,8BAA8B;IACxC,sBAAsB,2BAA2B;IACjD,WAAW,gBAAgB;CAC5B;AAED,8BAAsB,6CACpB,YAAW,QAAQ;IAEnB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,mBAAmB,EAAE,+BAA+B,CAAC;gBAG5D,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,+BAA+B;IAatD,QAAQ,KAAK,IAAI,IAAI,MAAM,CAAC;IAC5B,QAAQ,KAAK,+BAA+B,IAAI,MAAM,EAAE,CAAC;IACzD,QAAQ,KAAK,8BAA8B,IAAI,MAAM,EAAE,CAAC;IACxD,QAAQ,KAAK,mBAAmB,IAAI,MAAM,EAAE,CAAC;IAE7C,QAAQ,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,SAAS,GAAG,IAAI;IACvD,QAAQ,CAAC,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAC5E,QAAQ,CAAC,qBAAqB,IAAI,IAAI;IACtC,QAAQ,CAAC,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAC5E,QAAQ,CAAC,eAAe,CACtB,KAAK,EAAE,wCAAwC,EAAE,GAChD,IAAI;IACP,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAC9D,QAAQ,CAAC,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IACtE,QAAQ,CAAC,oBAAoB,CAC3B,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,2BAA2B,GACpC,IAAI;IACP,QAAQ,CAAC,UAAU,IAAI,IAAI;IAC3B,QAAQ,CAAC,mBAAmB,IAAI,IAAI;IACpC,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;IAEhC,IAAI,sCAAsC,IAAI,OAAO,CAEpD;IAGD,QAAQ,KAAK,uBAAuB,IAAI,MAAM,EAAE,CAAC;IACjD,QAAQ,CAAC,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;CAC3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructureImplementationState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAOhD,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,mFAAiD,CAAA;IACjD,6DAA2B,CAAA;AAC7B,CAAC,EAHW,8BAA8B,KAA9B,8BAA8B,QAGzC;AAED,MAAM,OAAgB,6CAA6C;IAGxD,iBAAiB,CAAoB;IACrC,mBAAmB,CAAkC;IAE9D,YACE,iBAAoC,EACpC,mBAAoD;QAEpD,cAAc,CAAC,IAAI,EAAE;YACnB,+BAA+B,EAAE,QAAQ;YACzC,8BAA8B,EAAE,QAAQ;YACxC,mBAAmB,EAAE,QAAQ;YAC7B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;IAuBD,IAAI,sCAAsC;QACxC,OAAO,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,SAAS,CAAC;IACtD,CAAC;CAKF"}
1
+ {"version":3,"file":"QueryBuilderFetchStructureImplementationState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAOhD,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,mFAAiD,CAAA;IACjD,6DAA2B,CAAA;AAC7B,CAAC,EAHW,8BAA8B,KAA9B,8BAA8B,QAGzC;AAED,MAAM,OAAgB,6CAA6C;IAGxD,iBAAiB,CAAoB;IACrC,mBAAmB,CAAkC;IAE9D,YACE,iBAAoC,EACpC,mBAAoD;QAEpD,cAAc,CAAC,IAAI,EAAE;YACnB,+BAA+B,EAAE,QAAQ;YACzC,8BAA8B,EAAE,QAAQ;YACxC,mBAAmB,EAAE,QAAQ;YAC7B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;IAwBD,IAAI,sCAAsC;QACxC,OAAO,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,SAAS,CAAC;IACtD,CAAC;CAKF"}
@@ -21,6 +21,7 @@ export declare class QueryBuilderFetchStructureState {
21
21
  implementation: QueryBuilderFetchStructureImplementationState;
22
22
  constructor(queryBuilderState: QueryBuilderState);
23
23
  changeImplementation(type: string): void;
24
+ initializeWithQuery(): void;
24
25
  fetchProperty(node: QueryBuilderExplorerTreeNodeData): void;
25
26
  fetchNodeChildrenProperties(node: QueryBuilderExplorerTreeNodeData): void;
26
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructureState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAEL,KAAK,6CAA6C,EACnD,MAAM,oDAAoD,CAAC;AAE5D,qBAAa,+BAA+B;IAC1C,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,cAAc,EAAE,6CAA6C,CAAC;gBAElD,iBAAiB,EAAE,iBAAiB;IAmBhD,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAyBxC,aAAa,CAAC,IAAI,EAAE,gCAAgC,GAAG,IAAI;IAS3D,2BAA2B,CAAC,IAAI,EAAE,gCAAgC,GAAG,IAAI;CAoB1E"}
1
+ {"version":3,"file":"QueryBuilderFetchStructureState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAEL,KAAK,6CAA6C,EACnD,MAAM,oDAAoD,CAAC;AAE5D,qBAAa,+BAA+B;IAC1C,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,cAAc,EAAE,6CAA6C,CAAC;gBAElD,iBAAiB,EAAE,iBAAiB;IAoBhD,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAyBxC,mBAAmB,IAAI,IAAI;IAI3B,aAAa,CAAC,IAAI,EAAE,gCAAgC,GAAG,IAAI;IAS3D,2BAA2B,CAAC,IAAI,EAAE,gCAAgC,GAAG,IAAI;CAoB1E"}
@@ -27,6 +27,7 @@ export class QueryBuilderFetchStructureState {
27
27
  makeObservable(this, {
28
28
  implementation: observable,
29
29
  changeImplementation: action,
30
+ initializeWithQuery: action,
30
31
  });
31
32
  this.queryBuilderState = queryBuilderState;
32
33
  /**
@@ -53,6 +54,9 @@ export class QueryBuilderFetchStructureState {
53
54
  }
54
55
  this.implementation.initialize();
55
56
  }
57
+ initializeWithQuery() {
58
+ this.implementation.initializeWithQuery();
59
+ }
56
60
  fetchProperty(node) {
57
61
  if (node instanceof QueryBuilderExplorerTreePropertyNodeData &&
58
62
  !(node.type instanceof Class)) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructureState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAk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AAC,IAAsC;QAClD,IACE,IAAI,YAAY,wCAAwC;YACxD,CAAC,CAAC,IAAI,CAAC,IAAI,YAAY,KAAK,CAAC,EAC7B;YACA,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SACzC;IACH,CAAC;IAED,2BAA2B,CAAC,IAAsC;QAChE,IAAI,IAAI,CAAC,IAAI,YAAY,KAAK,EAAE;YAC9B,IAAI,CAAC,cAAc,CAAC,eAAe;YACjC,2FAA2F;YAC3F,iFAAiF;YACjF,IAAI,CAAC,WAAW;iBACb,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CACf,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAG,CAChE,OAAO,CACR,CACF;iBACA,MAAM,CAAC,YAAY,CAAC,wCAAwC,CAAC,CAAC;iBAC9D,MAAM,CACL,CAAC,SAAS,EAAE,EAAE,CACZ,CAAC,CAAC,SAAS,CAAC,IAAI,YAAY,KAAK,CAAC;gBAClC,SAAS,CAAC,WAAW,CAAC,MAAM,CAC/B,CACJ,CAAC;SACH;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderFetchStructureState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAEL,wCAAwC,GACzC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EACL,8BAA8B,GAE/B,M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C;SACzC;IACH,CAAC;IAED,2BAA2B,CAAC,IAAsC;QAChE,IAAI,IAAI,CAAC,IAAI,YAAY,KAAK,EAAE;YAC9B,IAAI,CAAC,cAAc,CAAC,eAAe;YACjC,2FAA2F;YAC3F,iFAAiF;YACjF,IAAI,CAAC,WAAW;iBACb,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CACf,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAG,CAChE,OAAO,CACR,CACF;iBACA,MAAM,CAAC,YAAY,CAAC,wCAAwC,CAAC,CAAC;iBAC9D,MAAM,CACL,CAAC,SAAS,EAAE,EAAE,CACZ,CAAC,CAAC,SAAS,CAAC,IAAI,YAAY,KAAK,CAAC;gBAClC,SAAS,CAAC,WAAW,CAAC,MAAM,CAC/B,CACJ,CAAC;SACH;IACH,CAAC;CACF"}
@@ -100,6 +100,7 @@ export declare class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchSt
100
100
  private updateTreeData;
101
101
  get exportDataFormatOptions(): string[];
102
102
  getExportDataInfo(format: string): ExportDataInfo;
103
+ initializeWithQuery(): void;
103
104
  onClassChange(_class: Class | undefined): void;
104
105
  appendFetchStructure(lambdaFunction: LambdaFunction, options?: LambdaFunctionBuilderOption): void;
105
106
  addProperty(node: QueryBuilderExplorerTreePropertyNodeData, options?: {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAIvB,KAAK,OAAO,EAEb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAA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F"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAIvB,KAAK,OAAO,EAEb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAExG,OAAO,EAIL,KAAK,QAAQ,EAEb,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,MAAM,WAAW;CAClB;AAID,qBAAa,uBAAuB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,8BAA8B,EAAE,OAAO,GAAG,SAAS,CAAC;IACpD,6BAA6B,EAAE,OAAO,GAAG,SAAS,CAAC;IACnD,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C,sBAAsB,EAAE,OAAO,GAAG,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E;QACR,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACA,IAAI;IAkBP,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAInE,qBAAqB,IAAI,IAAI;IAI7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAYnE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAaxE,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IA2B7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAarD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -290,6 +290,9 @@ export class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchStructureI
290
290
  throw new UnsupportedOperationError(`Unsupported Graph Fetch export type ${format}`);
291
291
  }
292
292
  }
293
+ initializeWithQuery() {
294
+ return;
295
+ }
293
296
  onClassChange(_class) {
294
297
  this.updateTreeData(_class);
295
298
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAKL,mCAAmC,EACnC,kBAAkB,EAClB,kBAAkB,EAElB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CA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"version":3,"file":"QueryBuilderGraphFetchTreeState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAKL,mCAAmC,EACnC,kBAAkB,EAClB,kBAAkB,EAElB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EACL,SAAS,EACT,oBAAoB,EACpB,SAAS,EAET,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AAGnG,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,yDAAmC,CAAA;AACrC,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,MAAM,CAAN,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;AACnB,CAAC,EAFW,8BAA8B,KAA9B,8BAA8B,QAEzC;AAED,MAAM,6BAA6B,GAAG,OAAO,CAAC;AAE9C,MAAM,OAAO,uBAAuB;IAClC,WAAW,CAAS;IACpB,cAAc,CAAqB;IACnC,W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QAA4B;QACzC,OAAO,OAAO,CACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;YAC5D,IAAI,IAAI,CAAC,IAAI,YAAY,sBAAsB,EAAE;gBAC/C,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CACrC,kCAAkC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAChD,CAAC;aACH;YACD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE;YACzB,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -60,6 +60,7 @@ export declare class QueryBuilderTDSState extends QueryBuilderFetchStructureImpl
60
60
  getExportDataInfo(format: string): ExportDataInfo;
61
61
  isDuplicateColumn(col: QueryBuilderTDSColumnState): boolean;
62
62
  initialize(): void;
63
+ initializeWithQuery(): void;
63
64
  isColumnInUse(tdsCol: QueryBuilderTDSColumnState): boolean;
64
65
  onClassChange(_class: Class | undefined): void;
65
66
  appendFetchStructure(lambdaFunction: LambdaFunction, options?: LambdaFunctionBuilderOption): void;
@@ -89,5 +90,6 @@ export declare class QueryBuilderTDSState extends QueryBuilderFetchStructureImpl
89
90
  checkBeforeChangingImplementation(onChange: () => void): void;
90
91
  isVariableUsed(variable: VariableExpression): boolean;
91
92
  get hashCode(): string;
93
+ fetchDerivedReturnTypes(): GeneratorFn<void>;
92
94
  }
93
95
  //# sourceMappingURL=QueryBuilderTDSState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSState.d.ts","sourceRo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umns: action,
68
68
  replaceColumn: action,
69
69
  initialize: action,
70
+ initializeWithQuery: action,
70
71
  setShowPostFilterPanel: action,
71
72
  setShowWindowFuncPanel: action,
72
73
  convertDerivationProjectionObjects: flow,
74
+ fetchDerivedReturnTypes: flow,
73
75
  });
74
76
  this.resultSetModifierState = new QueryResultSetModifierState(this);
75
77
  this.postFilterState = new QueryBuilderPostFilterState(this, this.postFilterOperators);
@@ -202,6 +204,9 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
202
204
  this.setShowPostFilterPanel(false);
203
205
  this.setShowWindowFuncPanel(false);
204
206
  }
207
+ initializeWithQuery() {
208
+ flowResult(this.fetchDerivedReturnTypes()).catch(this.queryBuilderState.applicationStore.alertUnhandledError);
209
+ }
205
210
  isColumnInUse(tdsCol) {
206
211
  return Boolean([
207
212
  ...this.postFilterState.referencedTDSColumns,
@@ -414,7 +419,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
414
419
  const columns = this.projectionColumns;
415
420
  const derivationColumns = columns.filter(filterByType(QueryBuilderDerivationProjectionColumnState));
416
421
  if (derivationColumns.length) {
417
- // we will return false if any derivation cols are present as we can't verify is the variable is ued
422
+ // we will return false if any derivation cols are present as we can't verify is the variable is used
418
423
  return false;
419
424
  }
420
425
  const usedInProjection = columns
@@ -432,5 +437,24 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
432
437
  this.resultSetModifierState,
433
438
  ]);
434
439
  }
440
+ *fetchDerivedReturnTypes() {
441
+ try {
442
+ const input = new Map();
443
+ const graph = this.queryBuilderState.graphManagerState.graph;
444
+ const derivedCols = this.projectionColumns.filter(filterByType(QueryBuilderDerivationProjectionColumnState));
445
+ derivedCols.forEach((col) => input.set(col.columnName, col.getIsolatedRawLambda()));
446
+ const result = (yield this.queryBuilderState.graphManagerState.graphManager.getLambdasReturnType(input, graph));
447
+ Array.from(result.results.entries()).forEach((res) => {
448
+ const col = derivedCols.find((d) => d.columnName === res[0]);
449
+ if (col) {
450
+ col.setLambdaReturnType(res[1]);
451
+ }
452
+ });
453
+ }
454
+ catch (error) {
455
+ assertErrorThrown(error);
456
+ this.queryBuilderState.applicationStore.logService.info(LogEvent.create('Unable to fetch derived return types'), error);
457
+ }
458
+ }
435
459
  }
436
460
  //# sourceMappingURL=QueryBuilderTDSState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAE3F,OAAO,EAAE,sCAAsC,EAA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CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAML,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAE3F,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAE/G,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC;AAChH,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GAExC,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,+CAA+C,EAC/C,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,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