@finos/legend-query-builder 4.9.3 → 4.9.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +4 -5
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +2 -2
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +0 -16
- package/lib/package.json +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +26 -8
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +6 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +5 -4
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
- package/package.json +3 -3
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +18 -15
- package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +3 -4
- package/src/stores/explorer/QueryBuilderExplorerState.ts +43 -13
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +10 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +2 -3
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +7 -6
package/lib/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAGL,WAAW,EAEX,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,kCAAkC,EAEvC,KAAK,YAAY,EACjB,0BAA0B,EAC1B,KAAK,EAWL,YAAY,EAKZ,oBAAoB,EAWrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAKvF,oBAAY,oCAAoC;IAC9C,IAAI,SAAS;IACb,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,kBAAkB,uB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AE,uBAAuB,GAAG,SAAS,GAAG,IAAI;CAG/D;AAED,qBAAa,yBAAyB;IACpC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,gBAAgB,uCAA8C;IACvE,QAAQ,CAAC,mBAAmB,EAAE,+BAA+B,CAAC;IAC9D,QAAQ,CAAC,EAAE,QAAQ,CAAC,gCAAgC,CAAC,GAAG,SAAS,CAAC;IAClE,oBAAoB,UAAQ;IAC5B,sBAAsB,UAAS;IAC/B,uBAAuB,UAAQ;IAC/B,iCAAiC,cAAwB;IACzD,kCAAkC,CAAC,EAAE,kCAAkC,CAAC;gBAE5D,iBAAiB,EAAE,iBAAiB;IAuBhD,IAAI,mBAAmB,IAAI,QAAQ,CAAC,gCAAgC,CAAC,CAKpE;IAED,WAAW,CACT,GAAG,EAAE,QAAQ,CAAC,gCAAgC,CAAC,GAAG,SAAS,GAC1D,IAAI;IAIP,WAAW,IAAI,IAAI;IAMnB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI3C,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI7C,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,eAAe,IAAI,IAAI;IAatB,2BAA2B,IAAI,WAAW,CAAC,IAAI,CAAC;IA8ChD,WAAW,CACV,IAAI,EAAE,wCAAwC,GAC7C,WAAW,CAAC,IAAI,CAAC;CA0GrB"}
|
@@ -89,8 +89,9 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (node, explorerSt
|
|
89
89
|
let parentNode = treeData.nodes.get(node.parentId) ??
|
90
90
|
propertySearchIndexedTreeNodes.find((n) => n.id === node.parentId);
|
91
91
|
let currentNode = node;
|
92
|
-
while (
|
93
|
-
parentNode instanceof
|
92
|
+
while (currentNode &&
|
93
|
+
(parentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
94
|
+
parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData)) {
|
94
95
|
// NOTE: here, we deliberately simplify subtypes chain
|
95
96
|
// $x.employees->subType(@Person)->subType(@Staff).department will be simplified to $x.employees->subType(@Staff).department
|
96
97
|
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData &&
|
@@ -99,9 +100,18 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (node, explorerSt
|
|
99
100
|
continue;
|
100
101
|
}
|
101
102
|
let parentPropertyExpression;
|
102
|
-
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
103
|
+
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
|
104
|
+
parentPropertyExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE));
|
105
|
+
}
|
106
|
+
else if (parentNode instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
103
107
|
parentNode.mappingData.entityMappedProperty?.subType) {
|
104
108
|
parentPropertyExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE));
|
109
|
+
currentExpression.parametersValues.push(parentPropertyExpression);
|
110
|
+
currentExpression = parentPropertyExpression;
|
111
|
+
parentPropertyExpression = new AbstractPropertyExpression('');
|
112
|
+
propertyExpression_setFunc(parentPropertyExpression, PropertyExplicitReference.create(guaranteeNonNullable(parentNode.property)));
|
113
|
+
currentNode = parentNode;
|
114
|
+
parentNode = treeData.nodes.get(parentNode.parentId);
|
105
115
|
}
|
106
116
|
else {
|
107
117
|
parentPropertyExpression = new AbstractPropertyExpression('');
|
@@ -115,7 +125,11 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (node, explorerSt
|
|
115
125
|
}
|
116
126
|
currentExpression = parentPropertyExpression;
|
117
127
|
currentNode = parentNode;
|
118
|
-
parentNode =
|
128
|
+
parentNode =
|
129
|
+
parentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
130
|
+
parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
131
|
+
? treeData.nodes.get(parentNode.parentId)
|
132
|
+
: undefined;
|
119
133
|
if (!parentNode &&
|
120
134
|
(currentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
121
135
|
currentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData)) {
|
@@ -128,7 +142,7 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (node, explorerSt
|
|
128
142
|
}
|
129
143
|
}
|
130
144
|
currentExpression.parametersValues.push(projectionColumnLambdaVariable);
|
131
|
-
if (currentExpression instanceof SimpleFunctionExpression) {
|
145
|
+
if (currentNode && currentExpression instanceof SimpleFunctionExpression) {
|
132
146
|
const subclass = new InstanceValue(Multiplicity.ONE, GenericTypeExplicitReference.create(new GenericType(currentNode.type)));
|
133
147
|
currentExpression.parametersValues.push(subclass);
|
134
148
|
}
|
@@ -246,9 +260,13 @@ export const getQueryBuilderPropertyNodeData = (property, parentNode, modelCover
|
|
246
260
|
const subClass = mappingNodeData.entityMappedProperty?.subType
|
247
261
|
? _subclasses.find((c) => c.path === mappingNodeData.entityMappedProperty?.subType)
|
248
262
|
: undefined;
|
249
|
-
const propertyNode = new QueryBuilderExplorerTreePropertyNodeData(
|
250
|
-
?
|
251
|
-
|
263
|
+
const propertyNode = new QueryBuilderExplorerTreePropertyNodeData(subClass
|
264
|
+
? generateExplorerTreeSubtypeNodeID(generateExplorerTreePropertyNodeID(parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
265
|
+
? ''
|
266
|
+
: parentNode.id, property.name), subClass.path)
|
267
|
+
: generateExplorerTreePropertyNodeID(parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
268
|
+
? ''
|
269
|
+
: parentNode.id, property.name), property.name, `${parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
252
270
|
? `${VARIABLE_REFERENCE_TOKEN}x`
|
253
271
|
: parentNode.dndText}.${property.name}`, property, parentNode.id, isPartOfDerivedPropertyBranch, mappingNodeData,
|
254
272
|
// Inorder to cast the properties to the right subType based on what mapping analysis
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,cAAc,EACd,kBAAkB,EAElB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,GAE7B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAE3F,MAAM,CAAN,IAAY,oCAKX;AALD,WAAY,oCAAoC;IAC9C,qDAAa,CAAA;IACb,yEAAiC,CAAA;IACj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BAC3B,KAAK,cAAc,CAAC,IAAI,CAAC;gBACzB,KAAK,cAAc,CAAC,UAAU,CAAC;gBAC/B,KAAK,cAAc,CAAC,QAAQ,CAAC,CAAC;oBAC5B,MAAM,aAAa,GACjB,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,QAAQ,CACnE,+BAA+B,CAC7B,IAAI,CAAC,iBAAiB,EACtB,kBAAkB,CACnB,EACD,IAAI,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,OAAO,EACpD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAoB,CAAC;oBACxB,UAAU,CACR,aAAa,EACb,kBAAkB,EAClB,gCAAgC,CACjC,CAAC;oBACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAClC,aAAa,CAAC,MAAiC,CAChD,CAAC;oBACF,MAAM;iBACP;gBACD;oBACE,MAAM,IAAI,yBAAyB,CACjC,4CAA4C,YAAY,CAAC,IAAI,GAAG,CACjE,CAAC;aACL;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,i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M,IAAI,yBAAyB,CACjC,4CAA4C,YAAY,CAAC,IAAI,GAAG,CACjE,CAAC;aACL;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeUtil.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,gBAAgB,EAErB,KAAK,IAAI,EACT,kBAAkB,EAGlB,sBAAsB,EAGvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,gCAAgC,EACrC,wCAAwC,EAEzC,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAQpE,qBAAa,kCACX,YAAW,YAAY,EAAE,QAAQ;IAEjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,kBAAkB,CAAC;IAC3D,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,EAAE,MAAM,EAAE,CAAM;gBAGzB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,kBAAkB,EAAE,sBAAsB,GAAG,kBAAkB;IAcjE,IAAI,IAAI,IAAI,IAAI,CAWf;IAED,IAAI,QAAQ,IAAI,MAAM,CASrB;CACF;AAED,MAAM,WAAW,8BACf,SAAQ,QAAQ,CAAC,kCAAkC,CAAC;IACpD,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,eAAO,MAAM,4BAA4B,aAC7B,gBAAgB,gBACZ,MAAM,GAAG,SAAS,WACvB,IAAI,GAAG,SAAS,KACxB,MAGC,CAAC;AAEL,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAGC,CAAC;AAoDL;;GAEG;AACH,eAAO,MAAM,uBAAuB,SAC5B,kBAAkB,gBACX,OAAO,KACnB,8BAgBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,iBAC5B,sBAAsB,KACnC,8BAWF,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAC1B,8BAA8B,KACvC,OAA8C,CAAC;AA6ClD,eAAO,MAAM,qBAAqB,aACtB,8BAA8B,QAClC,kCAAkC,KACvC,IAGF,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,8BAA8B,oBACtB,SAAS,gCAAgC,CAAC,QACtD,wCAAwC,qBAC3B,iBAAiB,KACnC,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeUtil.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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cACpB,MAAM,GAAG,SAAS,KAC7B,MAGC,CAAC;AAoDL;;GAEG;AACH,eAAO,MAAM,uBAAuB,SAC5B,kBAAkB,gBACX,OAAO,KACnB,8BAgBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,iBAC5B,sBAAsB,KACnC,8BAWF,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAC1B,8BAA8B,KACvC,OAA8C,CAAC;AA6ClD,eAAO,MAAM,qBAAqB,aACtB,8BAA8B,QAClC,kCAAkC,KACvC,IAGF,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,8BAA8B,oBACtB,SAAS,gCAAgC,CAAC,QACtD,wCAAwC,qBAC3B,iBAAiB,KACnC,IAkHF,CAAC"}
|
@@ -170,6 +170,12 @@ export const addQueryBuilderPropertyNode = (treeData, explorerTreeData, node, qu
|
|
170
170
|
}
|
171
171
|
parentExplorerTreeNode = explorerTreeData.nodes.get(parentExplorerTreeNode.parentId);
|
172
172
|
}
|
173
|
+
if (parentExplorerTreeNode instanceof
|
174
|
+
QueryBuilderExplorerTreePropertyNodeData &&
|
175
|
+
parentExplorerTreeNode.mappingData.entityMappedProperty?.subType &&
|
176
|
+
parentExplorerTreeNode.type instanceof Class) {
|
177
|
+
subType = PackageableElementExplicitReference.create(parentExplorerTreeNode.type);
|
178
|
+
}
|
173
179
|
if (parentExplorerTreeNode instanceof QueryBuilderExplorerTreePropertyNodeData) {
|
174
180
|
const propertyGraphFetchTree = new PropertyGraphFetchTree(PropertyExplicitReference.create(parentExplorerTreeNode.property), subType);
|
175
181
|
propertyGraphFetchTree.subTrees.push(propertyGraphFetchTrees[0]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,cAAc,EACd,W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C,aAAa,EACb,sBAAsB,CAAC,OAAO,EAAE,KAAK,CACtC,CAAC;QACF,MAAM,sBAAsB,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QACjE,IAAI,sBAAsB,EAAE;YAC1B,UAAU,GAAG,sBAAsB,CAAC;SACrC;aAAM;YACL,UAAU,GAAG,sBAAsB,CAAC;YACpC,MAAM;SACP;KACF;IAED,0EAA0E;IAC1E,IAAI,UAAU,EAAE;QACd,MAAM,SAAS,GAAG,sBAAsB,CACtC,UAAU,EACV,UAAU,EACV,QAAQ,CAAC,KAAK,CACf,CAAC;QACF,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;QAC5C,IAAI,UAAU,EAAE;YACd,cAAc,CAAC,UAAU,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YACrD,yBAAyB,CACvB,UAAU,CAAC,IAAI,EACf,SAAS,CAAC,IAAI,EACd,iBAAiB,CAAC,eAAe,CAClC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YAC/C,yBAAyB,CACvB,QAAQ,CAAC,IAAI,EACb,SAAS,CAAC,IAAI,EACd,iBAAiB,CAAC,eAAe,CAClC,CAAC;SACH;KACF;AACH,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,cAAc,EACd,WAAW,EACX,SAAS,EAET,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAIL,kBAAkB,EAClB,yBAAyB,EACzB,KAAK,EACL,sBAAsB,EACtB,mCAAmC,EACnC,eAA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,aAAa,GAAG,4BAA4B,CAC1C,sBAAsB,CAAC,QAAQ,CAAC,KAAK,EACrC,aAAa,EACb,sBAAsB,CAAC,OAAO,EAAE,KAAK,CACtC,CAAC;QACF,MAAM,sBAAsB,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QACjE,IAAI,sBAAsB,EAAE;YAC1B,UAAU,GAAG,sBAAsB,CAAC;SACrC;aAAM;YACL,UAAU,GAAG,sBAAsB,CAAC;YACpC,MAAM;SACP;KACF;IAED,0EAA0E;IAC1E,IAAI,UAAU,EAAE;QACd,MAAM,SAAS,GAAG,sBAAsB,CACtC,UAAU,EACV,UAAU,EACV,QAAQ,CAAC,KAAK,CACf,CAAC;QACF,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;QAC5C,IAAI,UAAU,EAAE;YACd,cAAc,CAAC,UAAU,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YACrD,yBAAyB,CACvB,UAAU,CAAC,IAAI,EACf,SAAS,CAAC,IAAI,EACd,iBAAiB,CAAC,eAAe,CAClC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YAC/C,yBAAyB,CACvB,QAAQ,CAAC,IAAI,EACb,SAAS,CAAC,IAAI,EACd,iBAAiB,CAAC,eAAe,CAClC,CAAC;SACH;KACF;AACH,CAAC,CAAC"}
|
package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts
CHANGED
@@ -14,14 +14,14 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { AbstractPropertyExpression, INTERNAL__UnknownValueSpecification, type
|
17
|
+
import { AbstractPropertyExpression, INTERNAL__UnknownValueSpecification, type SimpleFunctionExpression, type ValueSpecification } from '@finos/legend-graph';
|
18
18
|
import { type QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
|
19
19
|
import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
|
20
20
|
import type { QUERY_BUILDER_CALENDAR_TYPE } from '../../../../graph-manager/QueryBuilderConst.js';
|
21
21
|
export declare abstract class QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
22
|
dateColumn?: AbstractPropertyExpression | undefined;
|
23
23
|
calendarType: QUERY_BUILDER_CALENDAR_TYPE;
|
24
|
-
endDate:
|
24
|
+
endDate: ValueSpecification;
|
25
25
|
lambdaParameterName: string;
|
26
26
|
constructor();
|
27
27
|
abstract getLabel(): string;
|
@@ -32,7 +32,7 @@ export declare abstract class QueryBuilderAggregateCalendarFunction implements H
|
|
32
32
|
setDateColumn(val: AbstractPropertyExpression): void;
|
33
33
|
setLambdaParameterName(val: string): void;
|
34
34
|
setCalendarType(val: QUERY_BUILDER_CALENDAR_TYPE): void;
|
35
|
-
setEndDate(val:
|
35
|
+
setEndDate(val: ValueSpecification): void;
|
36
36
|
abstract get hashCode(): string;
|
37
37
|
}
|
38
38
|
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction.d.ts.map
|
package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,0BAA0B,EAC1B,mCAAmC,EAEnC,KAAK,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateCalendarFunction.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderA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jC"}
|
package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,0BAA0B,EAC1B,mCAAmC,EACnC,2BAA2B,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateCalendarFunction.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,0BAA0B,EAC1B,mCAAmC,EACnC,2BAA2B,GAG5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,uCAAuC,EACvC,2CAA2C,GAC5C,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,MAAM,OAAgB,qCAAqC;IAGzD,UAAU,CAA0C;IACpD,YAAY,CAA+B;IAC3C,OAAO,CAAsB;IAC7B,mBAAmB,GAAW,4BAA4B,CAAC;IAE3D;QACE,cAAc,CAAC,IAAI,EAAE;YACnB,UAAU,EAAE,UAAU;YACtB,mBAAmB,EAAE,UAAU;YAC/B,YAAY,EAAE,UAAU;YACxB,OAAO,EAAE,UAAU;YACnB,aAAa,EAAE,MAAM;YACrB,eAAe,EAAE,MAAM;YACvB,sBAAsB,EAAE,MAAM;YAC9B,UAAU,EAAE,MAAM;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAcD,wCAAwC,CACtC,oBAAsD,EACtD,YAAgC;QAEhC,IAAI,YAGS,CAAC;QACd,IACE,oBAAoB,CAAC,qBAAqB;YACxC,uCAAuC;YACzC,YAAY,YAAY,2BAA2B,EACnD;YACA,YAAY,GAAG,aAAa,CAC1B,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAC7C,0BAA0B,CAC3B,CAAC;SACH;aAAM,IACL,oBAAoB,CAAC,qBAAqB;YAC1C,2CAA2C,EAC3C;YACA,YAAY,GAAG,aAAa,CAC1B,YAAY,EACZ,mCAAmC,CACpC,CAAC;SACH;QACD,IAAI,CAAC,YAAY,EAAE;YACjB,MAAM,IAAI,yBAAyB,CACjC,0EAA0E,CAC3E,CAAC;SACH;QACD,OAAO,IAAI,CAAC,+BAA+B,CAAC,YAAY,CAAC,CAAC;IAC5D,CAAC;IAOD,aAAa,CAAC,GAA+B;QAC3C,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;IACxB,CAAC;IAED,sBAAsB,CAAC,GAAW;QAChC,IAAI,CAAC,mBAAmB,GAAG,GAAG,CAAC;IACjC,CAAC;IAED,eAAe,CAAC,GAAgC;QAC9C,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;IAC1B,CAAC;IAED,UAAU,CAAC,GAAuB;QAChC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC;IACrB,CAAC;CAGF"}
|
@@ -13,10 +13,10 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
16
|
+
import { ValueSpecification, SimpleFunctionExpression, AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
17
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
18
|
import { type QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
19
19
|
import { QUERY_BUILDER_CALENDAR_TYPE } from '../../../../../graph-manager/QueryBuilderConst.js';
|
20
|
-
export declare const buildCalendarFunctionExpression: (calendarFunctionFullPath: string, dateColumn: AbstractPropertyExpression | undefined, calendarType: QUERY_BUILDER_CALENDAR_TYPE, endDate:
|
20
|
+
export declare const buildCalendarFunctionExpression: (calendarFunctionFullPath: string, dateColumn: AbstractPropertyExpression | undefined, calendarType: QUERY_BUILDER_CALENDAR_TYPE, endDate: ValueSpecification, targetColumn: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification) => ValueSpecification;
|
21
21
|
export declare const updateAggregateColumnState: (expression: SimpleFunctionExpression, calendarFunctionFullPath: string, calendarFunction: QueryBuilderAggregateCalendarFunction, aggregateColumnState: QueryBuilderAggregateColumnState) => void;
|
22
22
|
//# sourceMappingURL=QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EAGxB,0BAA0B,EAO1B,KAAK,mCAAmC,EAEzC,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACzG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAGhG,eAAO,MAAM,+BAA+B,6BAChB,MAAM,cACpB,0BAA0B,GAAG,SAAS,gBACpC,2BAA2B,WAChC,kBAAkB,gBAEvB,0BAA0B,GAC1B,mCAAmC,KACtC,kBAmBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,eACzB,wBAAwB,4BACV,MAAM,oBACd,qCAAqC,wBACjC,gCAAgC,KACrD,IA8HF,CAAC"}
|
@@ -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 { SimpleFunctionExpression, extractElementNameFromPath, matchFunctionName, AbstractPropertyExpression, PrimitiveInstanceValue, GenericType, GenericTypeExplicitReference, PrimitiveType, PRIMITIVE_TYPE, VariableExpression, DerivedProperty, } from '@finos/legend-graph';
|
16
|
+
import { ValueSpecification, SimpleFunctionExpression, extractElementNameFromPath, matchFunctionName, AbstractPropertyExpression, PrimitiveInstanceValue, GenericType, GenericTypeExplicitReference, PrimitiveType, PRIMITIVE_TYPE, VariableExpression, DerivedProperty, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeType, assertTrue, UnsupportedOperationError, guaranteeNonNullable, } from '@finos/legend-shared';
|
18
18
|
import {} from '../QueryBuilderAggregateCalendarFunction.js';
|
19
19
|
import { QUERY_BUILDER_CALENDAR_TYPE } from '../../../../../graph-manager/QueryBuilderConst.js';
|
@@ -64,10 +64,11 @@ export const updateAggregateColumnState = (expression, calendarFunctionFullPath,
|
|
64
64
|
calendarFunction.setLambdaParameterName(lambdaParameterName);
|
65
65
|
const calendarTypeParameter = guaranteeType(expression.parametersValues[1], PrimitiveInstanceValue, `Can't process ${extractElementNameFromPath(calendarFunctionFullPath)}() expression: only support ${extractElementNameFromPath(calendarFunctionFullPath)}() with second parameter as PrimitiveInstancevalue`);
|
66
66
|
assertTrue(Object.values(QUERY_BUILDER_CALENDAR_TYPE).find((val) => val === calendarTypeParameter.values[0]) !== undefined, `Can't process ${extractElementNameFromPath(calendarFunctionFullPath)}() expression: only support ${extractElementNameFromPath(calendarFunctionFullPath)}() calendar types NY and LDN`);
|
67
|
-
const endDate = guaranteeType(expression.parametersValues[2],
|
68
|
-
assertTrue(endDate.genericType
|
67
|
+
const endDate = guaranteeType(expression.parametersValues[2], ValueSpecification, `Can't process ${extractElementNameFromPath(calendarFunctionFullPath)}() expression: only support ${extractElementNameFromPath(calendarFunctionFullPath)}() with third parameter as ValueSpecification`);
|
68
|
+
assertTrue(endDate.genericType?.value.rawType.name === PRIMITIVE_TYPE.STRICTDATE ||
|
69
|
+
endDate.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATE ||
|
69
70
|
dateColumn.func.value.genericType.value.rawType.name ===
|
70
|
-
PRIMITIVE_TYPE.DATE, `Can't process ${extractElementNameFromPath(calendarFunctionFullPath)}() expression: only support ${extractElementNameFromPath(calendarFunctionFullPath)}() with third parameter of type
|
71
|
+
PRIMITIVE_TYPE.DATE, `Can't process ${extractElementNameFromPath(calendarFunctionFullPath)}() expression: only support ${extractElementNameFromPath(calendarFunctionFullPath)}() with third parameter of type Date`);
|
71
72
|
calendarFunction.calendarType = calendarTypeParameter
|
72
73
|
.values[0];
|
73
74
|
calendarFunction.endDate = endDate;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarF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,gBAAgB,CAAC,CAAC,CAAC,EAC9B,kBAAkB,EAClB,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,+BAA+B,0BAA0B,CACxD,wBAAwB,CACzB,+CAA+C,CACjD,CAAC;QACF,UAAU,CACR,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,cAAc,CAAC,UAAU;YACnE,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,cAAc,CAAC,IAAI;YAC/D,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;gBAClD,cAAc,CAAC,IAAI,EAEvB,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,+BAA+B,0BAA0B,CACxD,wBAAwB,CACzB,sCAAsC,CACxC,CAAC;QAEF,gBAAgB,CAAC,YAAY,GAAG,qBAAqB;aAClD,MAAM,CAAC,CAAC,CAAgC,CAAC;QAC5C,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;QACnC,gBAAgB,CAAC,UAAU,GAAG,UAAU,CAAC;QACzC,UAAU,CACR,gBAAgB,CAAC,sBAAsB,CACrC,oBAAoB,CAAC,qBAAqB,CAC3C,EACD,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,kEAAkE,CACpE,CAAC;QACF,oBAAoB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;QACvD,oBAAoB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;KAC5D;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.9.
|
3
|
+
"version": "4.9.4",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -44,8 +44,8 @@
|
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "15.0.44",
|
46
46
|
"@finos/legend-art": "7.0.44",
|
47
|
-
"@finos/legend-graph": "31.3.
|
48
|
-
"@finos/legend-lego": "1.1.
|
47
|
+
"@finos/legend-graph": "31.3.5",
|
48
|
+
"@finos/legend-lego": "1.1.38",
|
49
49
|
"@finos/legend-server-depot": "6.0.31",
|
50
50
|
"@finos/legend-shared": "10.0.27",
|
51
51
|
"@finos/legend-storage": "3.0.77",
|
@@ -265,24 +265,28 @@ const QueryBuilderDerivationProjectionColumnEditor = observer(
|
|
265
265
|
);
|
266
266
|
|
267
267
|
type CalendarFunctionOption = {
|
268
|
-
label: string
|
268
|
+
label: string;
|
269
269
|
value: QueryBuilderAggregateCalendarFunction;
|
270
270
|
};
|
271
271
|
|
272
|
+
const formatCalendarFunctionOptionLabel = (
|
273
|
+
option: CalendarFunctionOption,
|
274
|
+
): React.ReactNode => (
|
275
|
+
<div
|
276
|
+
className="query-builder__projection__calendar__function__label"
|
277
|
+
title={option.value.getLabel()}
|
278
|
+
>
|
279
|
+
<FunctionIcon className="query-builder__projection__calendar__function__label__icon" />
|
280
|
+
<div className="query-builder__projection__calendar__function__label__title">
|
281
|
+
{option.value.getLabel()}
|
282
|
+
</div>
|
283
|
+
</div>
|
284
|
+
);
|
285
|
+
|
272
286
|
const buildCalendarFunctionOption = (
|
273
287
|
calendarFunction: QueryBuilderAggregateCalendarFunction,
|
274
288
|
): CalendarFunctionOption => ({
|
275
|
-
label: (
|
276
|
-
<div
|
277
|
-
className="query-builder__projection__calendar__function__label"
|
278
|
-
title={calendarFunction.getLabel()}
|
279
|
-
>
|
280
|
-
<FunctionIcon className="query-builder__projection__calendar__function__label__icon" />
|
281
|
-
<div className="query-builder__projection__calendar__function__label__title">
|
282
|
-
{calendarFunction.getLabel()}
|
283
|
-
</div>
|
284
|
-
</div>
|
285
|
-
),
|
289
|
+
label: calendarFunction.getLabel(),
|
286
290
|
value: calendarFunction,
|
287
291
|
});
|
288
292
|
|
@@ -865,6 +869,7 @@ const QueryBuilderProjectionColumnEditor = observer(
|
|
865
869
|
options={calendarFunctionOptions}
|
866
870
|
onChange={onCalendarFunctionOptionChange}
|
867
871
|
value={selectedCalendarFunctionOption}
|
872
|
+
formatOptionLabel={formatCalendarFunctionOptionLabel}
|
868
873
|
placeholder="Select Calendar Function"
|
869
874
|
isClearable={true}
|
870
875
|
escapeClearsValue={true}
|
@@ -880,9 +885,7 @@ const QueryBuilderProjectionColumnEditor = observer(
|
|
880
885
|
defaultEndDate
|
881
886
|
}
|
882
887
|
setValueSpecification={(val: ValueSpecification): void => {
|
883
|
-
|
884
|
-
aggregateColumnState.calendarFunction?.setEndDate(val);
|
885
|
-
}
|
888
|
+
aggregateColumnState.calendarFunction?.setEndDate(val);
|
886
889
|
}}
|
887
890
|
graph={tdsState.queryBuilderState.graphManagerState.graph}
|
888
891
|
obseverContext={tdsState.queryBuilderState.observerContext}
|
@@ -26,7 +26,7 @@ import {
|
|
26
26
|
import {
|
27
27
|
type V1_GraphBuilderContext,
|
28
28
|
type V1_ProcessingContext,
|
29
|
-
|
29
|
+
V1_ValueSpecification,
|
30
30
|
type ValueSpecification,
|
31
31
|
type SimpleFunctionExpression,
|
32
32
|
type Type,
|
@@ -50,7 +50,6 @@ import {
|
|
50
50
|
VariableExpression,
|
51
51
|
Multiplicity,
|
52
52
|
PrimitiveType,
|
53
|
-
V1_CStrictDate,
|
54
53
|
V1_CString,
|
55
54
|
CORE_PURE_PATH,
|
56
55
|
FunctionType,
|
@@ -203,8 +202,8 @@ const buildCalendarFunctionExpression = (
|
|
203
202
|
);
|
204
203
|
guaranteeType(
|
205
204
|
currentPropertyExpression.parameters[2],
|
206
|
-
|
207
|
-
`Can't build calendar aggregation column: only support third parameter of calendar function as
|
205
|
+
V1_ValueSpecification,
|
206
|
+
`Can't build calendar aggregation column: only support third parameter of calendar function as Date`,
|
208
207
|
);
|
209
208
|
const dateColumn =
|
210
209
|
currentPropertyExpression.parameters[0].accept_ValueSpecificationVisitor(
|
@@ -218,10 +218,11 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (
|
|
218
218
|
let parentNode =
|
219
219
|
treeData.nodes.get(node.parentId) ??
|
220
220
|
propertySearchIndexedTreeNodes.find((n) => n.id === node.parentId);
|
221
|
-
let currentNode: QueryBuilderExplorerTreeNodeData = node;
|
221
|
+
let currentNode: QueryBuilderExplorerTreeNodeData | undefined = node;
|
222
222
|
while (
|
223
|
-
|
224
|
-
parentNode instanceof
|
223
|
+
currentNode &&
|
224
|
+
(parentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
225
|
+
parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData)
|
225
226
|
) {
|
226
227
|
// NOTE: here, we deliberately simplify subtypes chain
|
227
228
|
// $x.employees->subType(@Person)->subType(@Staff).department will be simplified to $x.employees->subType(@Staff).department
|
@@ -234,13 +235,28 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (
|
|
234
235
|
}
|
235
236
|
|
236
237
|
let parentPropertyExpression;
|
237
|
-
if (
|
238
|
-
|
238
|
+
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
|
239
|
+
parentPropertyExpression = new SimpleFunctionExpression(
|
240
|
+
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE),
|
241
|
+
);
|
242
|
+
} else if (
|
243
|
+
parentNode instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
239
244
|
parentNode.mappingData.entityMappedProperty?.subType
|
240
245
|
) {
|
241
246
|
parentPropertyExpression = new SimpleFunctionExpression(
|
242
247
|
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE),
|
243
248
|
);
|
249
|
+
currentExpression.parametersValues.push(parentPropertyExpression);
|
250
|
+
currentExpression = parentPropertyExpression;
|
251
|
+
parentPropertyExpression = new AbstractPropertyExpression('');
|
252
|
+
propertyExpression_setFunc(
|
253
|
+
parentPropertyExpression,
|
254
|
+
PropertyExplicitReference.create(
|
255
|
+
guaranteeNonNullable(parentNode.property),
|
256
|
+
),
|
257
|
+
);
|
258
|
+
currentNode = parentNode;
|
259
|
+
parentNode = treeData.nodes.get(parentNode.parentId);
|
244
260
|
} else {
|
245
261
|
parentPropertyExpression = new AbstractPropertyExpression('');
|
246
262
|
propertyExpression_setFunc(
|
@@ -266,7 +282,11 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (
|
|
266
282
|
}
|
267
283
|
currentExpression = parentPropertyExpression;
|
268
284
|
currentNode = parentNode;
|
269
|
-
parentNode =
|
285
|
+
parentNode =
|
286
|
+
parentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
287
|
+
parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
288
|
+
? treeData.nodes.get(parentNode.parentId)
|
289
|
+
: undefined;
|
270
290
|
if (
|
271
291
|
!parentNode &&
|
272
292
|
(currentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
@@ -281,7 +301,7 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (
|
|
281
301
|
}
|
282
302
|
}
|
283
303
|
currentExpression.parametersValues.push(projectionColumnLambdaVariable);
|
284
|
-
if (currentExpression instanceof SimpleFunctionExpression) {
|
304
|
+
if (currentNode && currentExpression instanceof SimpleFunctionExpression) {
|
285
305
|
const subclass = new InstanceValue(
|
286
306
|
Multiplicity.ONE,
|
287
307
|
GenericTypeExplicitReference.create(new GenericType(currentNode.type)),
|
@@ -458,12 +478,22 @@ export const getQueryBuilderPropertyNodeData = (
|
|
458
478
|
)
|
459
479
|
: undefined;
|
460
480
|
const propertyNode = new QueryBuilderExplorerTreePropertyNodeData(
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
481
|
+
subClass
|
482
|
+
? generateExplorerTreeSubtypeNodeID(
|
483
|
+
generateExplorerTreePropertyNodeID(
|
484
|
+
parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
485
|
+
? ''
|
486
|
+
: parentNode.id,
|
487
|
+
property.name,
|
488
|
+
),
|
489
|
+
subClass.path,
|
490
|
+
)
|
491
|
+
: generateExplorerTreePropertyNodeID(
|
492
|
+
parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
493
|
+
? ''
|
494
|
+
: parentNode.id,
|
495
|
+
property.name,
|
496
|
+
),
|
467
497
|
property.name,
|
468
498
|
`${
|
469
499
|
parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
@@ -302,6 +302,16 @@ export const addQueryBuilderPropertyNode = (
|
|
302
302
|
parentExplorerTreeNode.parentId,
|
303
303
|
);
|
304
304
|
}
|
305
|
+
if (
|
306
|
+
parentExplorerTreeNode instanceof
|
307
|
+
QueryBuilderExplorerTreePropertyNodeData &&
|
308
|
+
parentExplorerTreeNode.mappingData.entityMappedProperty?.subType &&
|
309
|
+
parentExplorerTreeNode.type instanceof Class
|
310
|
+
) {
|
311
|
+
subType = PackageableElementExplicitReference.create(
|
312
|
+
parentExplorerTreeNode.type,
|
313
|
+
);
|
314
|
+
}
|
305
315
|
if (
|
306
316
|
parentExplorerTreeNode instanceof QueryBuilderExplorerTreePropertyNodeData
|
307
317
|
) {
|