@finos/legend-query-builder 4.9.0 → 4.9.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +4 -1
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +5 -1
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +1 -4
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +4 -4
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +2 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +2 -2
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts +0 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +2 -18
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +14 -4
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/package.json +9 -9
- package/src/__lib__/QueryBuilderTesting.ts +5 -1
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +1 -5
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +1 -0
- package/src/components/filter/QueryBuilderFilterPanel.tsx +12 -3
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +4 -2
- package/src/stores/QueryBuilderConstantsState.ts +1 -32
- package/src/stores/explorer/QueryBuilderExplorerState.ts +18 -2
@@ -20,7 +20,10 @@ export declare enum QUERY_BUILDER_TEST_ID {
|
|
20
20
|
QUERY_BUILDER_TDS = "query__builder__tds",
|
21
21
|
QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
|
22
22
|
QUERY_BUILDER_GRAPH_FETCH = "query__builder__graph__fetch",
|
23
|
-
|
23
|
+
QUERY_BUILDER_FILTER_PANEL = "query__builder__filter__panel",
|
24
|
+
QUERY_BUILDER_FILTER_TREE = "query__builder__filter__tree",
|
25
|
+
QUERY_BUILDER_FILTER_TREE_NODE = "query__builder__filter__tree__node",
|
26
|
+
QUERY_BUILDER_FILTER_TREE_NODE_CONTENT = "query__builder__filter__tree__node-content",
|
24
27
|
QUERY_BUILDER_POST_FILTER = "query__builder__post-filter",
|
25
28
|
QUERY_BUILDER_WINDOW_GROUPBY = "query__builder__window",
|
26
29
|
QUERY_BUILDER_EXPLORER = "query__builder__explorer",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,wCAAwC,+CAA+C;IACvF,yBAAyB,iCAAiC;IAC1D,
|
1
|
+
{"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,wCAAwC,+CAA+C;IACvF,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,yBAAyB,gCAAgC;IACzD,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IACpE,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;CACrD"}
|
@@ -21,7 +21,11 @@ export var QUERY_BUILDER_TEST_ID;
|
|
21
21
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS"] = "query__builder__tds";
|
22
22
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
|
23
23
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_GRAPH_FETCH"] = "query__builder__graph__fetch";
|
24
|
-
|
24
|
+
// filter panel
|
25
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_PANEL"] = "query__builder__filter__panel";
|
26
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE"] = "query__builder__filter__tree";
|
27
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE_NODE"] = "query__builder__filter__tree__node";
|
28
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE_NODE_CONTENT"] = "query__builder__filter__tree__node-content";
|
25
29
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_POST_FILTER"] = "query__builder__post-filter";
|
26
30
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_WINDOW_GROUPBY"] = "query__builder__window";
|
27
31
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_EXPLORER"] = "query__builder__explorer";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAqBX;AArBD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,kEAAyC,CAAA;IACzC,gHAAuF,CAAA;IACvF,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,8FAAqE,CAAA;IACrE,8GAAqF,CAAA;IACrF,kFAAyD,CAAA;IACzD,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;AACtD,CAAC,EArBW,qBAAqB,KAArB,qBAAqB,QAqBhC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA8PxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkJjD,CAAC"}
|
@@ -95,10 +95,7 @@ const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
|
|
95
95
|
const { constantState } = props;
|
96
96
|
const queryBuilderState = constantState.queryBuilderState;
|
97
97
|
const lambdaState = constantState.lambdaState;
|
98
|
-
const close = () =>
|
99
|
-
queryBuilderState.constantState.setSelectedConstant(undefined);
|
100
|
-
flowResult(constantState.updateVariableExpressionType()).catch(queryBuilderState.applicationStore.alertUnhandledError);
|
101
|
-
};
|
98
|
+
const close = () => queryBuilderState.constantState.setSelectedConstant(undefined);
|
102
99
|
const applicationStore = queryBuilderState.applicationStore;
|
103
100
|
const changeConstantName = (event) => {
|
104
101
|
variableExpression_setName(constantState.variable, event.target.value);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,yBAAyB,EACzB,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,8BAA8B,EA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AE
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,yBAAyB,EACzB,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,GAC9C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CA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AAC,CAAC,SAAS;iCAChB,EACD,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,EAGL,KAAK,gBAAgB,EAqCtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,gCAAgC,EAQtC,MAAM,oDAAoD,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,OAAO,EACL,KAAK,IAAI,EACT,KAAK,YAAY,EAEjB,KAAK,EAWN,MAAM,qBAAqB,CAAC;AAsC7B,eAAO,MAAM,6BAA6B,SAClC,gCAAgC,qBACnB,iBAAiB,KACnC,OAkBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAA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CAoKjD,CAAC"}
|
@@ -229,7 +229,7 @@ const QueryBuilderExplorerTreeNodeContainer = observer((props) => {
|
|
229
229
|
: prettyCONSTName(node.label)
|
230
230
|
: node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
231
231
|
? TYPE_CAST_TOKEN + node.label
|
232
|
-
: node.label }), isDerivedProperty && (_jsx("div", { className: "query-builder-explorer-tree__node__label__derived-property", title: "Property is derived and may require user to specify parameter values", children: "(...)" })), isMultiple && (_jsx("div", { className: "query-builder-explorer-tree__node__label__multiple", title: "Multiple values of this property can cause row explosion", children: "*" }))] }), _jsxs("div", { className: "query-builder-explorer-tree__node__actions", children: [allowPreview && (_jsx("button", { className: "query-builder-explorer-tree__node__action", disabled: explorerState.previewDataState.isGeneratingPreviewData, tabIndex: -1, title: "Preview Data", onClick: previewData, children: _jsx(EyeIcon, {}) })), node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsx(QueryBuilderPropertyInfoTooltip, { property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) }))] })] }))] }) }));
|
232
|
+
: node.label }), isDerivedProperty && (_jsx("div", { className: "query-builder-explorer-tree__node__label__derived-property", title: "Property is derived and may require user to specify parameter values", children: "(...)" })), isMultiple && (_jsx("div", { className: "query-builder-explorer-tree__node__label__multiple", title: "Multiple values of this property can cause row explosion", children: "*" }))] }), _jsxs("div", { className: "query-builder-explorer-tree__node__actions", children: [allowPreview && (_jsx("button", { className: "query-builder-explorer-tree__node__action", disabled: explorerState.previewDataState.isGeneratingPreviewData, tabIndex: -1, title: "Preview Data", onClick: previewData, children: _jsx(EyeIcon, {}) })), node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsx(QueryBuilderPropertyInfoTooltip, { property: node.property, path: node.id, isMapped: node.mappingData.mapped, type: node.type, children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) }))] })] }))] }) }));
|
233
233
|
});
|
234
234
|
const QueryBuilderExplorerTreeNodeView = observer((props) => {
|
235
235
|
const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,EACL,SAAS,EACT,WAAW,EACX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AqD,aAClE,KAAC,qBAAqB,IACpB,SAAS,EACP,aAAa,CAAC,iCAAiC,CAAC,YAAY,GAE9D,EACF,KAAC,gBAAgB,IACf,WAAW,EAAE,CAAC,IAAwC,EAAU,EAAE,CAChE,aAAa,CAAC,oBAAoB;4BAChC,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;4BAClC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAErB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC1D,EACD,aAAa,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAC9D,KAAC,iBAAiB,cACf,aAAa,CAAC,iCAAiC,CAAC,OAAO,GACtC,CACrB,CAAC,CAAC,CAAC,CACF,8BACG,CAAC,aAAa,CAAC,QAAQ,IAAI,CAC1B,KAAC,iBAAiB,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,S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,KAAC,gBAAgB,IAAC,SAAS,EAAC,mCAAmC,GAAG,GACrD,IACI,EACpB,wBAAwB,CAAC,iBAAiB,IAAI,CAC7C,KAAC,+BAA+B,IAC9B,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,eAAe,CAAC,OAAO,GACvC,CACH,IACW,EAEd,eAAK,SAAS,EAAC,qDAAqD,aAClE,KAAC,qBAAqB,IACpB,SAAS,EACP,aAAa,CAAC,iCAAiC,CAAC,YAAY,GAE9D,EACF,KAAC,gBAAgB,IACf,WAAW,EAAE,CAAC,IAAwC,EAAU,EAAE,CAChE,aAAa,CAAC,oBAAoB;4BAChC,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;4BAClC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAErB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC1D,EACD,aAAa,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAC9D,KAAC,iBAAiB,cACf,aAAa,CAAC,iCAAiC,CAAC,OAAO,GACtC,CACrB,CAAC,CAAC,CAAC,CACF,8BACG,CAAC,aAAa,CAAC,QAAQ,IAAI,CAC1B,KAAC,iBAAiB,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,EAIL,6BAA6B,EAM7B,uCAAuC,EACvC,KAAK,uBAAuB,EAC7B,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAIL,oCAAoC,EACrC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAiB3E,OAAO,EACL,0BAA0B,EAO3B,MAAM,qBAAqB,CAAC;AAiD7B;;GAEG;AACH,eAAO,MAAM,yBAAyB,uBAChB,0BAA0B,eACjC,uBAAuB,mBACnB,uCAAuC,KACvD,IAoLF,CAAC;AA4DF,eAAO,MAAM,6CAA6C,UAKzD,CAAC;AAEF,eAAO,MAAM,6BAA6B,0EAIzC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,EAIL,6BAA6B,EAM7B,uCAAuC,EACvC,KAAK,uBAAuB,EAC7B,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAIL,oCAAoC,EACrC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAiB3E,OAAO,EACL,0BAA0B,EAO3B,MAAM,qBAAqB,CAAC;AAiD7B;;GAEG;AACH,eAAO,MAAM,yBAAyB,uBAChB,0BAA0B,eACjC,uBAAuB,mBACnB,uCAAuC,KACvD,IAoLF,CAAC;AA4DF,eAAO,MAAM,6CAA6C,UAKzD,CAAC;AAEF,eAAO,MAAM,6BAA6B,0EAIzC,CAAC;AA+rBF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsRjD,CAAC"}
|
@@ -419,7 +419,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
419
419
|
// context menu
|
420
420
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
421
421
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
422
|
-
return (_jsx(ContextMenu, { content: _jsx(QueryBuilderFilterConditionContextMenu, { queryBuilderState: queryBuilderState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { ref: ref, className: clsx('tree-view__node__container query-builder-filter-tree__node__container', {
|
422
|
+
return (_jsx(ContextMenu, { content: _jsx(QueryBuilderFilterConditionContextMenu, { queryBuilderState: queryBuilderState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { ref: ref, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTENT, className: clsx('tree-view__node__container query-builder-filter-tree__node__container', {
|
423
423
|
'query-builder-filter-tree__node__container--no-hover': filterState.isRearrangingConditions,
|
424
424
|
'query-builder-filter-tree__node__container--selected': node === filterState.selectedNode,
|
425
425
|
'query-builder-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
@@ -433,7 +433,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
433
433
|
});
|
434
434
|
const QueryBuilderFilterTreeNodeView = observer((props) => {
|
435
435
|
const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
|
436
|
-
return (_jsxs("div", { className: "tree-view__node__block", children: [_jsx(QueryBuilderFilterTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }), node.isOpen &&
|
436
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE, className: "tree-view__node__block", children: [_jsx(QueryBuilderFilterTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }), node.isOpen &&
|
437
437
|
getChildNodes(node).map((childNode) => (_jsx(QueryBuilderFilterTreeNodeView, { node: childNode, level: level + 1, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: innerProps }, childNode.id)))] }));
|
438
438
|
});
|
439
439
|
const QueryBuilderFilterTree = observer((props) => {
|
@@ -446,7 +446,7 @@ const QueryBuilderFilterTree = observer((props) => {
|
|
446
446
|
const getChildNodes = (node) => node instanceof QueryBuilderFilterTreeOperationNodeData
|
447
447
|
? node.childrenIds.map((id) => filterState.getNode(id))
|
448
448
|
: [];
|
449
|
-
return (_jsx("div", { className: "tree-view__node__root query-builder-filter-tree__root", children: rootNodes.map((node) => (_jsx(QueryBuilderFilterTreeNodeView, { level: 0, node: node, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
|
449
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE, className: "tree-view__node__root query-builder-filter-tree__root", children: rootNodes.map((node) => (_jsx(QueryBuilderFilterTreeNodeView, { level: 0, node: node, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
|
450
450
|
queryBuilderState,
|
451
451
|
} }, node.id))) }));
|
452
452
|
});
|
@@ -550,7 +550,7 @@ export const QueryBuilderFilterPanel = observer((props) => {
|
|
550
550
|
}), [handleDrop]);
|
551
551
|
const addFilterRef = useRef(null);
|
552
552
|
dropTargetConnector(addFilterRef);
|
553
|
-
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.
|
553
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_PANEL, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "filter" }) }), _jsx("div", { className: "panel__header__actions", children: _jsx(DropdownMenu, { className: "panel__header__action", title: "Show Filter Options Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: createCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Condition" })] }), _jsxs(MenuContentItem, { disabled: !(filterState.selectedNode instanceof
|
554
554
|
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusCircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Group From Condition" })] }), _jsxs(MenuContentItem, { disabled: !allowGroupCreation, title: !allowGroupCreation
|
555
555
|
? 'Please select a filter node first to create logical group'
|
556
556
|
: '', onClick: createGroupCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(NewFolderIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Logical Group" })] }), _jsxs(MenuContentItem, { onClick: pruneTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(TrashIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Cleanup Tree" })] }), _jsxs(MenuContentItem, { onClick: simplifyTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(CircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Simplify Tree" })] }), _jsxs(MenuContentItem, { onClick: collapseTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(CompressIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Collapse Tree" })] }), _jsxs(MenuContentItem, { onClick: expandTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(ExpandIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Expand Tree" })] })] }), children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) }) })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { isDragOver: isDragOver && filterState.isEmpty, isDroppable: isDroppable && filterState.isEmpty, dropTargetConnector: dropTargetConnector, children: [filterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a filter condition", tooltipText: "Drag and drop properties here" })), !filterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_FILTER_DND_TYPE) }), _jsx(QueryBuilderFilterTree, { queryBuilderState: queryBuilderState })] })), isDroppable && !filterState.isEmpty && (_jsx("div", { ref: addFilterRef, className: "query-builder-filter-tree__free-drop-zone__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, className: "query-builder-filter-tree__free-drop-zone", label: "Add filter to main group", children: _jsx(_Fragment, {}) }) }))] }) })] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,6BAA6B,EAC7B,oBAAoB,EACpB,uCAAuC,EACvC,4CAA4C,EAC5C,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GAExC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,4CAA4C,C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Z,UAAU,EAAE,UAAU,IAAI,WAAW,CAAC,OAAO,EAC7C,WAAW,EAAE,WAAW,IAAI,WAAW,CAAC,OAAO,EAC/C,mBAAmB,EAAE,mBAAmB,aAEvC,WAAW,CAAC,OAAO,IAAI,CACtB,KAAC,qBAAqB,IACpB,IAAI,EAAC,wBAAwB,EAC7B,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,CAAC,WAAW,CAAC,OAAO,IAAI,CACvB,8BACE,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA2C,EACnC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACnD,EACF,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC/D,CACJ,EACA,WAAW,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,CACtC,cACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,0BAA0B,YAEhC,mBAAK,GACyB,GAC5B,CACP,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV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AC,OAAO,IAAI,CACtC,cACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,0BAA0B,YAEhC,mBAAK,GACyB,GAC5B,CACP,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -15,12 +15,13 @@
|
|
15
15
|
*/
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
17
17
|
import { type TooltipPlacement } from '@finos/legend-art';
|
18
|
-
import { type AbstractProperty } from '@finos/legend-graph';
|
18
|
+
import { type AbstractProperty, type Type } from '@finos/legend-graph';
|
19
19
|
export declare const QueryBuilderPropertyInfoTooltip: React.FC<{
|
20
20
|
property: AbstractProperty;
|
21
21
|
path: string;
|
22
22
|
isMapped: boolean;
|
23
23
|
children: React.ReactElement;
|
24
24
|
placement?: TooltipPlacement | undefined;
|
25
|
+
type?: Type | undefined;
|
25
26
|
}>;
|
26
27
|
//# sourceMappingURL=QueryBuilderPropertyInfoTooltip.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,mBAAmB,CAAC;AACnE,OAAO,EACL,KAAK,gBAAgB,
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,mBAAmB,CAAC;AACnE,OAAO,EACL,KAAK,gBAAgB,EAKrB,KAAK,IAAI,EACV,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC;IACrD,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CA6EA,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { Tooltip } from '@finos/legend-art';
|
18
18
|
import { DerivedProperty, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
|
19
19
|
export const QueryBuilderPropertyInfoTooltip = (props) => {
|
20
|
-
const { property, path, isMapped, children, placement } = props;
|
20
|
+
const { property, path, isMapped, children, placement, type } = props;
|
21
21
|
const documentation = property.taggedValues
|
22
22
|
.filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
|
23
23
|
CORE_PURE_PATH.PROFILE_DOC &&
|
@@ -32,6 +32,6 @@ export const QueryBuilderPropertyInfoTooltip = (props) => {
|
|
32
32
|
// NOTE: somehow, this is the only workaround we have, if for example
|
33
33
|
// we set `appear = true`, the tooltip will jump out of position
|
34
34
|
timeout: 0,
|
35
|
-
}, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: property.genericType.value.rawType.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Path" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(property.multiplicity) })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Derived Property" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: property instanceof DerivedProperty ? 'Yes' : 'No' })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Mapped" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: isMapped ? 'Yes' : 'No' })] }), Boolean(documentation.length) && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: documentation.join('\n\n') })] }))] }), children: children }));
|
35
|
+
}, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: type?.path ?? property.genericType.value.rawType.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Path" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(property.multiplicity) })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Derived Property" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: property instanceof DerivedProperty ? 'Yes' : 'No' })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Mapped" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: isMapped ? 'Yes' : 'No' })] }), Boolean(documentation.length) && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: documentation.join('\n\n') })] }))] }), children: children }));
|
36
36
|
};
|
37
37
|
//# sourceMappingURL=QueryBuilderPropertyInfoTooltip.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAyB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAEL,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAyB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAEL,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,GAEb,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,+BAA+B,GAOvC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACtE,MAAM,aAAa,GAAG,QAAQ,CAAC,YAAY;SACxC,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI;QACvC,cAAc,CAAC,WAAW;QAC5B,WAAW,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,YAAY,CAC/C;SACA,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW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KAAK,CAAC,CAAC,CAAC,IAAI,GACpB,IACF,EAEL,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAChC,eAAK,SAAS,EAAC,8BAA8B,aAC3C,cAAK,SAAS,EAAC,qCAAqC,8BAE9C,EACN,cAAK,SAAS,EAAC,qCAAqC,YACjD,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,GACvB,IACF,CACP,IACG,YAGP,QAAQ,GACD,CACX,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -49,7 +49,6 @@ export declare class QueryBuilderCalculatedConstantExpressionState extends Query
|
|
49
49
|
lambdaState: QueryBuilderConstantLambdaEditorState;
|
50
50
|
constructor(queryBuilderState: QueryBuilderState, variable: VariableExpression, value: PlainObject);
|
51
51
|
setValue(val: PlainObject): void;
|
52
|
-
updateVariableExpressionType(): GeneratorFn<void>;
|
53
52
|
}
|
54
53
|
export declare class QueryBuilderConstantsState implements Hashable {
|
55
54
|
readonly queryBuilderState: QueryBuilderState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantsState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EAIvB,kBAAkB,
|
1
|
+
{"version":3,"file":"QueryBuilderConstantsState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EAIvB,kBAAkB,EAInB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,QAAQ,EAOb,KAAK,WAAW,EAChB,KAAK,WAAW,EAIhB,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,M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BAGjD,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,kBAAkB,EAC5B,KAAK,EAAE,WAAW;IAiBpB,QAAQ,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI;CAGjC;AAED,qBAAa,0BAA2B,YAAW,QAAQ;IACzD,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,iBAAiB,UAAS;IAC1B,SAAS,EAAE,mCAAmC,EAAE,CAAM;IACtD,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,CAAC;gBAEtD,iBAAiB,EAAE,iBAAiB;IAehD,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIxC,WAAW,CAAC,GAAG,EAAE,mCAAmC,GAAG,IAAI;IAI3D,cAAc,CAAC,GAAG,EAAE,mCAAmC,GAAG,IAAI;IAI9D,mBAAmB,CACjB,GAAG,EAAE,mCAAmC,GAAG,SAAS,GACnD,IAAI;IAIP,mBAAmB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO;IASvD,mBAAmB,CAAC,GAAG,EAAE,yCAAyC,GAAG,IAAI;IAuBzE,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -13,9 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { GenericType, GenericTypeExplicitReference, observe_ValueSpecification, VariableExpression, buildSourceInformationSourceId, ParserError, GRAPH_MANAGER_EVENT,
|
16
|
+
import { GenericType, GenericTypeExplicitReference, observe_ValueSpecification, VariableExpression, buildSourceInformationSourceId, ParserError, GRAPH_MANAGER_EVENT, } from '@finos/legend-graph';
|
17
17
|
import { hashArray, deleteEntry, addUniqueEntry, IllegalStateError, uuid, assertErrorThrown, LogEvent, changeEntry, assertTrue, ActionState, } from '@finos/legend-shared';
|
18
|
-
import { action,
|
18
|
+
import { action, makeObservable, observable } from 'mobx';
|
19
19
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
|
20
20
|
import { buildDefaultEmptyStringRawLambda, buildDefaultInstanceValue, } from './shared/ValueSpecificationEditorHelper.js';
|
21
21
|
import { valueSpecification_setGenericType } from './shared/ValueSpecificationModifierHelper.js';
|
@@ -157,7 +157,6 @@ export class QueryBuilderCalculatedConstantExpressionState extends QueryBuilderC
|
|
157
157
|
lambdaState: observable,
|
158
158
|
value: observable,
|
159
159
|
setValue: action,
|
160
|
-
updateVariableExpressionType: flow,
|
161
160
|
});
|
162
161
|
this.value = value;
|
163
162
|
this.lambdaState = new QueryBuilderConstantLambdaEditorState(this);
|
@@ -166,21 +165,6 @@ export class QueryBuilderCalculatedConstantExpressionState extends QueryBuilderC
|
|
166
165
|
setValue(val) {
|
167
166
|
this.value = val;
|
168
167
|
}
|
169
|
-
*updateVariableExpressionType() {
|
170
|
-
try {
|
171
|
-
if (this.lambdaState.lambdaString) {
|
172
|
-
yield flowResult(this.lambdaState.convertLambdaGrammarStringToObject());
|
173
|
-
}
|
174
|
-
const rawLambda = new RawLambda([], [this.value]);
|
175
|
-
const type = (yield this.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(rawLambda, new PureModel(new CoreModel([]), new SystemModel([]), [])));
|
176
|
-
const resolvedType = this.queryBuilderState.graphManagerState.graph.getType(type);
|
177
|
-
valueSpecification_setGenericType(this.variable, GenericTypeExplicitReference.create(new GenericType(resolvedType)));
|
178
|
-
}
|
179
|
-
catch (error) {
|
180
|
-
assertErrorThrown(error);
|
181
|
-
this.queryBuilderState.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
|
182
|
-
}
|
183
|
-
}
|
184
168
|
}
|
185
169
|
export class QueryBuilderConstantsState {
|
186
170
|
queryBuilderState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantsState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,8BAA8B,EAC9B,WAAW,EACX,mBAAmB,
|
1
|
+
{"version":3,"file":"QueryBuilderConstantsState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,8BAA8B,EAC9B,WAAW,EACX,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,IAAI,EACJ,iBAAiB,EAGjB,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAErF,OAAO,EACL,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE,MAAM,OAAgB,mCAAmC;IAC9C,iBAAiB,CAAoB;IACrC,IAAI,GAAG,IAAI,EAAE,CAAC;IACvB,QAAQ,CAAqB;IAE7B,YACE,iBAAoC,EACpC,QAA4B;QAE5B,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,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,2BAA2B,CAC/E,GAAG,CAAC,KAAK,CACV,CAAC;YACJ,MAAM,aAAa,GAAG,IAAI,6CAA6C,CACrE,IAAI,CAAC,iBAAiB,EACtB,GAAG,CAAC,QAAQ,EACZ,OAAO,CACR,CAAC;YACF,UAAU,CACR,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,aAAa,CAAC,EAC/C,0CAA0C,CAC3C,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,cAAc;YACjD,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -53,7 +53,7 @@ export declare class QueryBuilderExplorerTreeRootNodeData extends QueryBuilderEx
|
|
53
53
|
export declare class QueryBuilderExplorerTreePropertyNodeData extends QueryBuilderExplorerTreeNodeData {
|
54
54
|
property: AbstractProperty;
|
55
55
|
parentId: string;
|
56
|
-
constructor(id: string, label: string, dndText: string, property: AbstractProperty, parentId: string, isPartOfDerivedPropertyBranch: boolean, mappingData: QueryBuilderExplorerTreeNodeMappingData);
|
56
|
+
constructor(id: string, label: string, dndText: string, property: AbstractProperty, parentId: string, isPartOfDerivedPropertyBranch: boolean, mappingData: QueryBuilderExplorerTreeNodeMappingData, type?: Type | undefined);
|
57
57
|
}
|
58
58
|
export declare class QueryBuilderExplorerTreeSubTypeNodeData extends QueryBuilderExplorerTreeNodeData {
|
59
59
|
subclass: Class;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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CAAC;;IAalD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIlC,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,cAAc,CAAC,GAAG,EAAE,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"}
|
@@ -62,8 +62,8 @@ export class QueryBuilderExplorerTreeRootNodeData extends QueryBuilderExplorerTr
|
|
62
62
|
export class QueryBuilderExplorerTreePropertyNodeData extends QueryBuilderExplorerTreeNodeData {
|
63
63
|
property;
|
64
64
|
parentId;
|
65
|
-
constructor(id, label, dndText, property, parentId, isPartOfDerivedPropertyBranch, mappingData) {
|
66
|
-
super(id, label, dndText, isPartOfDerivedPropertyBranch, property.genericType.value.rawType, mappingData);
|
65
|
+
constructor(id, label, dndText, property, parentId, isPartOfDerivedPropertyBranch, mappingData, type) {
|
66
|
+
super(id, label, dndText, isPartOfDerivedPropertyBranch, type ?? property.genericType.value.rawType, mappingData);
|
67
67
|
this.property = property;
|
68
68
|
this.parentId = parentId;
|
69
69
|
}
|
@@ -99,7 +99,8 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (node, explorerSt
|
|
99
99
|
continue;
|
100
100
|
}
|
101
101
|
let parentPropertyExpression;
|
102
|
-
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
102
|
+
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData ||
|
103
|
+
parentNode.mappingData.entityMappedProperty?.subType) {
|
103
104
|
parentPropertyExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE));
|
104
105
|
}
|
105
106
|
else {
|
@@ -239,11 +240,20 @@ export const getQueryBuilderPropertyNodeData = (property, parentNode, modelCover
|
|
239
240
|
parentNode.property._OWNER === property._OWNER) {
|
240
241
|
return undefined;
|
241
242
|
}
|
243
|
+
const _subclasses = property.genericType.value.rawType instanceof Class
|
244
|
+
? getAllSubclasses(property.genericType.value.rawType)
|
245
|
+
: [];
|
246
|
+
const subClass = mappingNodeData.entityMappedProperty?.subType
|
247
|
+
? _subclasses.find((c) => c.path === mappingNodeData.entityMappedProperty?.subType)
|
248
|
+
: undefined;
|
242
249
|
const propertyNode = new QueryBuilderExplorerTreePropertyNodeData(generateExplorerTreePropertyNodeID(parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
243
250
|
? ''
|
244
251
|
: parentNode.id, property.name), property.name, `${parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
245
252
|
? `${VARIABLE_REFERENCE_TOKEN}x`
|
246
|
-
: parentNode.dndText}.${property.name}`, property, parentNode.id, isPartOfDerivedPropertyBranch, mappingNodeData
|
253
|
+
: parentNode.dndText}.${property.name}`, property, parentNode.id, isPartOfDerivedPropertyBranch, mappingNodeData,
|
254
|
+
// Inorder to cast the properties to the right subType based on what mapping analysis
|
255
|
+
// returns we assign the type of the property node to the mapped subClass
|
256
|
+
subClass);
|
247
257
|
if (propertyNode.type instanceof Class) {
|
248
258
|
propertyNode.childrenIds =
|
249
259
|
generateExplorerTreeClassNodeChildrenIDs(propertyNode);
|
@@ -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,+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AC7B,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,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,EACx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,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"}
|
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.3",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,13 +42,13 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.0.
|
46
|
-
"@finos/legend-art": "7.0.
|
47
|
-
"@finos/legend-graph": "31.3.
|
48
|
-
"@finos/legend-lego": "1.1.
|
49
|
-
"@finos/legend-server-depot": "6.0.
|
50
|
-
"@finos/legend-shared": "10.0.
|
51
|
-
"@finos/legend-storage": "3.0.
|
45
|
+
"@finos/legend-application": "15.0.44",
|
46
|
+
"@finos/legend-art": "7.0.44",
|
47
|
+
"@finos/legend-graph": "31.3.4",
|
48
|
+
"@finos/legend-lego": "1.1.37",
|
49
|
+
"@finos/legend-server-depot": "6.0.31",
|
50
|
+
"@finos/legend-shared": "10.0.27",
|
51
|
+
"@finos/legend-storage": "3.0.77",
|
52
52
|
"@testing-library/react": "14.0.0",
|
53
53
|
"@types/react": "18.2.22",
|
54
54
|
"@types/react-dom": "18.2.7",
|
@@ -65,7 +65,7 @@
|
|
65
65
|
"sql-formatter": "13.0.0"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
|
-
"@finos/legend-dev-utils": "2.0.
|
68
|
+
"@finos/legend-dev-utils": "2.0.81",
|
69
69
|
"@jest/globals": "29.7.0",
|
70
70
|
"cross-env": "7.0.3",
|
71
71
|
"eslint": "8.49.0",
|
@@ -22,7 +22,11 @@ export enum QUERY_BUILDER_TEST_ID {
|
|
22
22
|
QUERY_BUILDER_TDS = 'query__builder__tds',
|
23
23
|
QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = 'query-builder__tds__result-modifier-prompt',
|
24
24
|
QUERY_BUILDER_GRAPH_FETCH = 'query__builder__graph__fetch',
|
25
|
-
|
25
|
+
// filter panel
|
26
|
+
QUERY_BUILDER_FILTER_PANEL = 'query__builder__filter__panel',
|
27
|
+
QUERY_BUILDER_FILTER_TREE = 'query__builder__filter__tree',
|
28
|
+
QUERY_BUILDER_FILTER_TREE_NODE = 'query__builder__filter__tree__node',
|
29
|
+
QUERY_BUILDER_FILTER_TREE_NODE_CONTENT = 'query__builder__filter__tree__node-content',
|
26
30
|
QUERY_BUILDER_POST_FILTER = 'query__builder__post-filter',
|
27
31
|
QUERY_BUILDER_WINDOW_GROUPBY = 'query__builder__window',
|
28
32
|
QUERY_BUILDER_EXPLORER = 'query__builder__explorer',
|
@@ -218,12 +218,8 @@ const QuerryBuilderCalculatedConstantExpressionEditor = observer(
|
|
218
218
|
const { constantState } = props;
|
219
219
|
const queryBuilderState = constantState.queryBuilderState;
|
220
220
|
const lambdaState = constantState.lambdaState;
|
221
|
-
const close = (): void =>
|
221
|
+
const close = (): void =>
|
222
222
|
queryBuilderState.constantState.setSelectedConstant(undefined);
|
223
|
-
flowResult(constantState.updateVariableExpressionType()).catch(
|
224
|
-
queryBuilderState.applicationStore.alertUnhandledError,
|
225
|
-
);
|
226
|
-
};
|
227
223
|
const applicationStore = queryBuilderState.applicationStore;
|
228
224
|
const changeConstantName: React.ChangeEventHandler<HTMLInputElement> = (
|
229
225
|
event,
|
@@ -621,6 +621,7 @@ const QueryBuilderExplorerTreeNodeContainer = observer(
|
|
621
621
|
property={node.property}
|
622
622
|
path={node.id}
|
623
623
|
isMapped={node.mappingData.mapped}
|
624
|
+
type={node.type}
|
624
625
|
>
|
625
626
|
<div className="query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info">
|
626
627
|
<InfoCircleIcon />
|
@@ -932,6 +932,9 @@ const QueryBuilderFilterTreeNodeContainer = observer(
|
|
932
932
|
>
|
933
933
|
<div
|
934
934
|
ref={ref}
|
935
|
+
data-testid={
|
936
|
+
QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTENT
|
937
|
+
}
|
935
938
|
className={clsx(
|
936
939
|
'tree-view__node__container query-builder-filter-tree__node__container',
|
937
940
|
{
|
@@ -1036,7 +1039,10 @@ const QueryBuilderFilterTreeNodeView = observer(
|
|
1036
1039
|
innerProps,
|
1037
1040
|
} = props;
|
1038
1041
|
return (
|
1039
|
-
<div
|
1042
|
+
<div
|
1043
|
+
data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE}
|
1044
|
+
className="tree-view__node__block"
|
1045
|
+
>
|
1040
1046
|
<QueryBuilderFilterTreeNodeContainer
|
1041
1047
|
node={node}
|
1042
1048
|
level={level + 1}
|
@@ -1079,7 +1085,10 @@ const QueryBuilderFilterTree = observer(
|
|
1079
1085
|
? node.childrenIds.map((id) => filterState.getNode(id))
|
1080
1086
|
: [];
|
1081
1087
|
return (
|
1082
|
-
<div
|
1088
|
+
<div
|
1089
|
+
data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE}
|
1090
|
+
className="tree-view__node__root query-builder-filter-tree__root"
|
1091
|
+
>
|
1083
1092
|
{rootNodes.map((node) => (
|
1084
1093
|
<QueryBuilderFilterTreeNodeView
|
1085
1094
|
key={node.id}
|
@@ -1248,7 +1257,7 @@ export const QueryBuilderFilterPanel = observer(
|
|
1248
1257
|
|
1249
1258
|
return (
|
1250
1259
|
<div
|
1251
|
-
data-testid={QUERY_BUILDER_TEST_ID.
|
1260
|
+
data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_PANEL}
|
1252
1261
|
className="panel"
|
1253
1262
|
>
|
1254
1263
|
<div className="panel__header">
|
@@ -21,6 +21,7 @@ import {
|
|
21
21
|
getMultiplicityDescription,
|
22
22
|
CORE_PURE_PATH,
|
23
23
|
PURE_DOC_TAG,
|
24
|
+
type Type,
|
24
25
|
} from '@finos/legend-graph';
|
25
26
|
|
26
27
|
export const QueryBuilderPropertyInfoTooltip: React.FC<{
|
@@ -29,8 +30,9 @@ export const QueryBuilderPropertyInfoTooltip: React.FC<{
|
|
29
30
|
isMapped: boolean;
|
30
31
|
children: React.ReactElement;
|
31
32
|
placement?: TooltipPlacement | undefined;
|
33
|
+
type?: Type | undefined;
|
32
34
|
}> = (props) => {
|
33
|
-
const { property, path, isMapped, children, placement } = props;
|
35
|
+
const { property, path, isMapped, children, placement, type } = props;
|
34
36
|
const documentation = property.taggedValues
|
35
37
|
.filter(
|
36
38
|
(taggedValue) =>
|
@@ -60,7 +62,7 @@ export const QueryBuilderPropertyInfoTooltip: React.FC<{
|
|
60
62
|
<div className="query-builder__tooltip__item">
|
61
63
|
<div className="query-builder__tooltip__item__label">Type</div>
|
62
64
|
<div className="query-builder__tooltip__item__value">
|
63
|
-
{property.genericType.value.rawType.path}
|
65
|
+
{type?.path ?? property.genericType.value.rawType.path}
|
64
66
|
</div>
|
65
67
|
</div>
|
66
68
|
<div className="query-builder__tooltip__item">
|
@@ -24,10 +24,6 @@ import {
|
|
24
24
|
buildSourceInformationSourceId,
|
25
25
|
ParserError,
|
26
26
|
GRAPH_MANAGER_EVENT,
|
27
|
-
RawLambda,
|
28
|
-
PureModel,
|
29
|
-
CoreModel,
|
30
|
-
SystemModel,
|
31
27
|
} from '@finos/legend-graph';
|
32
28
|
import {
|
33
29
|
type Hashable,
|
@@ -44,7 +40,7 @@ import {
|
|
44
40
|
assertTrue,
|
45
41
|
ActionState,
|
46
42
|
} from '@finos/legend-shared';
|
47
|
-
import { action,
|
43
|
+
import { action, makeObservable, observable } from 'mobx';
|
48
44
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
|
49
45
|
import type { QueryBuilderState } from './QueryBuilderState.js';
|
50
46
|
import {
|
@@ -264,7 +260,6 @@ export class QueryBuilderCalculatedConstantExpressionState
|
|
264
260
|
lambdaState: observable,
|
265
261
|
value: observable,
|
266
262
|
setValue: action,
|
267
|
-
updateVariableExpressionType: flow,
|
268
263
|
});
|
269
264
|
this.value = value;
|
270
265
|
this.lambdaState = new QueryBuilderConstantLambdaEditorState(this);
|
@@ -277,32 +272,6 @@ export class QueryBuilderCalculatedConstantExpressionState
|
|
277
272
|
setValue(val: PlainObject): void {
|
278
273
|
this.value = val;
|
279
274
|
}
|
280
|
-
|
281
|
-
*updateVariableExpressionType(): GeneratorFn<void> {
|
282
|
-
try {
|
283
|
-
if (this.lambdaState.lambdaString) {
|
284
|
-
yield flowResult(this.lambdaState.convertLambdaGrammarStringToObject());
|
285
|
-
}
|
286
|
-
const rawLambda = new RawLambda([], [this.value]);
|
287
|
-
const type =
|
288
|
-
(yield this.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(
|
289
|
-
rawLambda,
|
290
|
-
new PureModel(new CoreModel([]), new SystemModel([]), []),
|
291
|
-
)) as string;
|
292
|
-
const resolvedType =
|
293
|
-
this.queryBuilderState.graphManagerState.graph.getType(type);
|
294
|
-
valueSpecification_setGenericType(
|
295
|
-
this.variable,
|
296
|
-
GenericTypeExplicitReference.create(new GenericType(resolvedType)),
|
297
|
-
);
|
298
|
-
} catch (error) {
|
299
|
-
assertErrorThrown(error);
|
300
|
-
this.queryBuilderState.applicationStore.logService.error(
|
301
|
-
LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
|
302
|
-
error,
|
303
|
-
);
|
304
|
-
}
|
305
|
-
}
|
306
275
|
}
|
307
276
|
|
308
277
|
export class QueryBuilderConstantsState implements Hashable {
|
@@ -152,13 +152,14 @@ export class QueryBuilderExplorerTreePropertyNodeData extends QueryBuilderExplor
|
|
152
152
|
parentId: string,
|
153
153
|
isPartOfDerivedPropertyBranch: boolean,
|
154
154
|
mappingData: QueryBuilderExplorerTreeNodeMappingData,
|
155
|
+
type?: Type | undefined,
|
155
156
|
) {
|
156
157
|
super(
|
157
158
|
id,
|
158
159
|
label,
|
159
160
|
dndText,
|
160
161
|
isPartOfDerivedPropertyBranch,
|
161
|
-
property.genericType.value.rawType,
|
162
|
+
type ?? property.genericType.value.rawType,
|
162
163
|
mappingData,
|
163
164
|
);
|
164
165
|
this.property = property;
|
@@ -233,7 +234,10 @@ export const buildPropertyExpressionFromExplorerTreeNodeData = (
|
|
233
234
|
}
|
234
235
|
|
235
236
|
let parentPropertyExpression;
|
236
|
-
if (
|
237
|
+
if (
|
238
|
+
parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData ||
|
239
|
+
parentNode.mappingData.entityMappedProperty?.subType
|
240
|
+
) {
|
237
241
|
parentPropertyExpression = new SimpleFunctionExpression(
|
238
242
|
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE),
|
239
243
|
);
|
@@ -444,6 +448,15 @@ export const getQueryBuilderPropertyNodeData = (
|
|
444
448
|
) {
|
445
449
|
return undefined;
|
446
450
|
}
|
451
|
+
const _subclasses =
|
452
|
+
property.genericType.value.rawType instanceof Class
|
453
|
+
? getAllSubclasses(property.genericType.value.rawType)
|
454
|
+
: [];
|
455
|
+
const subClass = mappingNodeData.entityMappedProperty?.subType
|
456
|
+
? _subclasses.find(
|
457
|
+
(c) => c.path === mappingNodeData.entityMappedProperty?.subType,
|
458
|
+
)
|
459
|
+
: undefined;
|
447
460
|
const propertyNode = new QueryBuilderExplorerTreePropertyNodeData(
|
448
461
|
generateExplorerTreePropertyNodeID(
|
449
462
|
parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
@@ -461,6 +474,9 @@ export const getQueryBuilderPropertyNodeData = (
|
|
461
474
|
parentNode.id,
|
462
475
|
isPartOfDerivedPropertyBranch,
|
463
476
|
mappingNodeData,
|
477
|
+
// Inorder to cast the properties to the right subType based on what mapping analysis
|
478
|
+
// returns we assign the type of the property node to the mapped subClass
|
479
|
+
subClass,
|
464
480
|
);
|
465
481
|
if (propertyNode.type instanceof Class) {
|
466
482
|
propertyNode.childrenIds =
|