@finos/legend-query-builder 4.4.0 → 4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +8 -2
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +7 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +109 -27
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.d.ts +23 -0
- package/lib/components/execution-plan/ImplementationViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/ImplementationViewer.js +35 -0
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -0
- package/lib/components/execution-plan/PartialClassResultViewer.d.ts +21 -0
- package/lib/components/execution-plan/PartialClassResultViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/PartialClassResultViewer.js +24 -0
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +43 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +47 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +43 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/ResultTypeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +5 -1
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +16 -3
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.d.ts +6 -0
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +34 -12
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +57 -0
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.d.ts +28 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.js +42 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +7 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +16 -10
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +21 -8
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts +2 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +31 -19
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.d.ts +15 -1
- package/lib/stores/execution-plan/ExecutionPlanState.d.ts.map +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.js +50 -3
- package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +16 -4
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +6 -4
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +43 -9
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +3 -2
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +7 -5
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +5 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/package.json +5 -5
- package/src/components/QueryBuilderResultPanel.tsx +7 -2
- package/src/components/execution-plan/AllocationExecutionNodeViewer.tsx +1 -1
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +233 -57
- package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +1 -0
- package/src/components/execution-plan/ImplementationViewer.tsx +76 -0
- package/src/components/execution-plan/PartialClassResultViewer.tsx +55 -0
- package/src/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.tsx +190 -0
- package/src/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.tsx +219 -0
- package/src/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.tsx +204 -0
- package/src/components/execution-plan/ResultTypeViewer.tsx +4 -0
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +66 -44
- package/src/components/execution-plan/SequenceExecutionNodeViewer.tsx +79 -15
- package/src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx +264 -0
- package/src/components/execution-plan/TempTableStrategyViewer.tsx +97 -0
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +23 -9
- package/src/components/filter/QueryBuilderFilterPanel.tsx +43 -7
- package/src/components/shared/CustomDatePicker.tsx +65 -27
- package/src/components/shared/QueryBuilderVariableSelector.tsx +4 -1
- package/src/stores/execution-plan/ExecutionPlanState.ts +64 -1
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +17 -7
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +73 -9
- package/src/stores/filter/QueryBuilderFilterState.ts +13 -5
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -0
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +14 -1
- package/tsconfig.json +7 -0
package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAIL,KAAK,yCAAyC,EAC/C,MAAM,qBAAqB,CAAC;AAkB7B,eAAO,MAAM,+CAA+C,EAAE,KAAK,CAAC,EAAE,CAAC;IACrE,gBAAgB,EAAE,yCAAyC,CAAC;IAC5D,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAwNC,CAAC"}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { observer } from 'mobx-react-lite';
|
18
|
+
import { EXECUTION_PLAN_VIEW_MODE, } from '../../stores/execution-plan/ExecutionPlanState.js';
|
19
|
+
import { PartialClassResultType, PropertyGraphFetchTree, RootGraphFetchTree, } from '@finos/legend-graph';
|
20
|
+
import { PanelListItem, PanelDivider, Button, PanelContent, TreeView, } from '@finos/legend-art';
|
21
|
+
import { guaranteeType, isNonNullable } from '@finos/legend-shared';
|
22
|
+
import { buildGraphFetchTreeData, buildPropertyGraphFetchTreeData, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
23
|
+
import { QueryBuilderGraphFetchTreeNodeContainer } from '../fetch-structure/QueryBuilderGraphFetchTreePanel.js';
|
24
|
+
import { PartialClassResultTypeViewer } from './PartialClassResultViewer.js';
|
25
|
+
export const StoreMappingGlobalGraphFetchExecutionNodeViewer = observer((props) => {
|
26
|
+
const { storeMappingNode, executionPlanState } = props;
|
27
|
+
let treeData = undefined;
|
28
|
+
try {
|
29
|
+
if (storeMappingNode.graphFetchTree instanceof RootGraphFetchTree) {
|
30
|
+
treeData = buildGraphFetchTreeData(guaranteeType(storeMappingNode.graphFetchTree, RootGraphFetchTree), true);
|
31
|
+
}
|
32
|
+
else if (storeMappingNode.graphFetchTree instanceof PropertyGraphFetchTree) {
|
33
|
+
treeData = buildPropertyGraphFetchTreeData(storeMappingNode.graphFetchTree);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
catch {
|
37
|
+
//do nothing
|
38
|
+
}
|
39
|
+
const getChildNodes = (node) => node.childrenIds
|
40
|
+
.map((id) => {
|
41
|
+
if (treeData) {
|
42
|
+
return treeData.nodes.get(id);
|
43
|
+
}
|
44
|
+
return null;
|
45
|
+
})
|
46
|
+
.filter(isNonNullable);
|
47
|
+
const isReadOnly = true;
|
48
|
+
const applicationStore = executionPlanState.applicationStore;
|
49
|
+
return (_jsx(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: _jsxs("div", { className: "query-builder__store-mapping-global-graph-fetch__container", children: [_jsx(PanelListItem, { className: "query-builder__store-mapping-global-graph-fetch__container__label", children: "Store Mapping Global Graph Fetch Execution Node Details" }), _jsx(PanelDivider, {}), _jsxs("table", { className: "table query-builder__store-mapping-global-graph-fetch__container__table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "table__cell--left", children: "Property" }), _jsx("th", { className: "table__cell--left", children: "Details" })] }) }), _jsxs("tbody", { children: [storeMappingNode.parentIndex !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " ParentIndex" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.parentIndex })] })), storeMappingNode.enableConstraints !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "EnableConstraints" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.enableConstraints.toString() })] })), storeMappingNode.checked !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "Checked" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.checked.toString() })] })), storeMappingNode.authDependent !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "AuthDependent" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.authDependent.toString() })] })), storeMappingNode.store && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "Store" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.store })] })), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "LocalTreeIndices" }), _jsx("td", { className: "table__cell--left", children: `[${storeMappingNode.localTreeIndices.toString()}]` })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "DependencyIndices" }), _jsx("td", { className: "table__cell--left", children: `[${storeMappingNode.dependencyIndices.toString()}]` })] })] })] }), _jsx(PanelDivider, {}), treeData && (_jsxs(_Fragment, { children: [_jsx(PanelListItem, { className: "query-builder__store-mapping-global-graph-fetch__container__label2", children: "Graph Fetch Tree" }), _jsx("div", { className: "query-builder__store-mapping-global-graph-fetch__container__config-group__content", children: _jsx("div", { className: "query-builder__store-mapping-global-graph-fetch__container__config-group__item", children: _jsx(TreeView, { components: {
|
50
|
+
TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
|
51
|
+
}, className: "query-builder-graph-fetch-tree__container__tree", treeData: treeData, getChildNodes: getChildNodes, innerProps: {
|
52
|
+
isReadOnly,
|
53
|
+
} }) }) }), _jsx(PanelDivider, {})] })), storeMappingNode.xStorePropertyFetchDetails && (_jsxs(_Fragment, { children: [_jsx(PanelListItem, { className: "query-builder__store-mapping-global-graph-fetch__container__xstore", children: "xStorePropertyFetchDetails" }), _jsx(PanelDivider, {}), _jsxs("table", { className: "table query-builder__store-mapping-global-graph-fetch__container__table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "table__cell--left", children: "Property" }), _jsx("th", { className: "table__cell--left", children: "Details" })] }) }), _jsxs("tbody", { children: [_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " propertyPath " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.propertyPath })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " sourceMappingId " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails
|
54
|
+
.sourceMappingId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " sourceSetId " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.sourceSetId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " subTree " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.subTree })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " supportsCaching " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.supportsCaching.toString() })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " targetMappingId " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails
|
55
|
+
.targetMappingId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " targetSetId" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.targetSetId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "targetPropertiesOrdered" }), _jsx("td", { className: "table__cell--left", children: `[${storeMappingNode.xStorePropertyFetchDetails.targetPropertiesOrdered.toString()}]` })] })] })] })] })), storeMappingNode.resultType instanceof PartialClassResultType && (_jsx(PartialClassResultTypeViewer, { resultType: storeMappingNode.resultType })), _jsx(PanelDivider, {}), _jsx("div", { className: "query-builder__store-mapping-global-graph-fetch__container__btn", children: _jsx(Button, { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), text: "View JSON" }) }), _jsx(PanelDivider, {})] }) }));
|
56
|
+
});
|
57
|
+
//# sourceMappingURL=StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreMappingGlobalGraphFetchExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,wBAAwB,GACzB,MAAM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W,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAE/D,IAAI,EAAC,WAAW,GAChB,GACE,EACN,KAAC,YAAY,KAAG,IACZ,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type TempTableStrategy } from '@finos/legend-graph';
|
18
|
+
import { type ExecutionPlanState } from '../../stores/execution-plan/ExecutionPlanState.js';
|
19
|
+
export declare enum TEMP_TABLE_STRATEGY_TYPES {
|
20
|
+
RESULT_SET = "resultSet",
|
21
|
+
TEMP_FILE = "tempFile",
|
22
|
+
SUB_QUERY = "subQuery"
|
23
|
+
}
|
24
|
+
export declare const TempTableStrategyViewer: React.FC<{
|
25
|
+
tempTableStrategy: TempTableStrategy;
|
26
|
+
executionPlanState: ExecutionPlanState;
|
27
|
+
}>;
|
28
|
+
//# sourceMappingURL=TempTableStrategyViewer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TempTableStrategyViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/TempTableStrategyViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAE5F,oBAAY,yBAAyB;IACnC,UAAU,cAAc;IACxB,SAAS,aAAa;IACtB,SAAS,aAAa;CACvB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAyDC,CAAC"}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { PanelDivider, PanelListItem } from '@finos/legend-art';
|
18
|
+
import { LoadFromResultSetAsValueTuplesTempTableStrategy, LoadFromSubQueryTempTableStrategy, LoadFromTempFileTempTableStrategy, } from '@finos/legend-graph';
|
19
|
+
import { observer } from 'mobx-react-lite';
|
20
|
+
import { ExecutionNodeViewer, generateExecutionNodeLabel, } from './ExecutionPlanViewer.js';
|
21
|
+
import {} from '../../stores/execution-plan/ExecutionPlanState.js';
|
22
|
+
export var TEMP_TABLE_STRATEGY_TYPES;
|
23
|
+
(function (TEMP_TABLE_STRATEGY_TYPES) {
|
24
|
+
TEMP_TABLE_STRATEGY_TYPES["RESULT_SET"] = "resultSet";
|
25
|
+
TEMP_TABLE_STRATEGY_TYPES["TEMP_FILE"] = "tempFile";
|
26
|
+
TEMP_TABLE_STRATEGY_TYPES["SUB_QUERY"] = "subQuery";
|
27
|
+
})(TEMP_TABLE_STRATEGY_TYPES || (TEMP_TABLE_STRATEGY_TYPES = {}));
|
28
|
+
export const TempTableStrategyViewer = observer((props) => {
|
29
|
+
const { tempTableStrategy, executionPlanState } = props;
|
30
|
+
let _type = '';
|
31
|
+
if (tempTableStrategy instanceof LoadFromResultSetAsValueTuplesTempTableStrategy) {
|
32
|
+
_type = TEMP_TABLE_STRATEGY_TYPES.RESULT_SET;
|
33
|
+
}
|
34
|
+
else if (tempTableStrategy instanceof LoadFromTempFileTempTableStrategy) {
|
35
|
+
_type = TEMP_TABLE_STRATEGY_TYPES.TEMP_FILE;
|
36
|
+
}
|
37
|
+
if (tempTableStrategy instanceof LoadFromSubQueryTempTableStrategy) {
|
38
|
+
_type = TEMP_TABLE_STRATEGY_TYPES.SUB_QUERY;
|
39
|
+
}
|
40
|
+
return (_jsxs("div", { className: "query-builder__temp-table-strategy__container", children: [_type && (_jsxs(PanelListItem, { className: "query-builder__temp-table-strategy__container__item", children: ["Type: ", _type] })), _jsx(PanelListItem, { className: "query-builder__temp-table-strategy__container__header", children: `Create Temp Table (${generateExecutionNodeLabel(tempTableStrategy.createTempTableNode)})` }), _jsx(ExecutionNodeViewer, { executionNode: tempTableStrategy.createTempTableNode, executionPlanState: executionPlanState, viewJson: false }), _jsx(PanelDivider, {}), _jsx(PanelListItem, { className: "query-builder__temp-table-strategy__container__header", children: `Load Temp Table (${generateExecutionNodeLabel(tempTableStrategy.loadTempTableNode)})` }), _jsx(ExecutionNodeViewer, { executionNode: tempTableStrategy.loadTempTableNode, executionPlanState: executionPlanState, viewJson: false }), _jsx(PanelDivider, {}), _jsx(PanelListItem, { className: "query-builder__temp-table-strategy__container__header", children: `Drop Temp Table (${generateExecutionNodeLabel(tempTableStrategy.dropTempTableNode)})` }), _jsx(ExecutionNodeViewer, { executionNode: tempTableStrategy.dropTempTableNode, executionPlanState: executionPlanState, viewJson: false }), _jsx(PanelDivider, {})] }));
|
41
|
+
});
|
42
|
+
//# sourceMappingURL=TempTableStrategyViewer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TempTableStrategyViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/TempTableStrategyViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,+CAA+C,EAC/C,iCAAiC,EACjC,iCAAiC,GAElC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAA2B,MAAM,mDAAmD,CAAC;AAE5F,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,qDAAwB,CAAA;IACxB,mDAAsB,CAAA;IACtB,mDAAsB,CAAA;AACxB,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAG/B,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACxD,IAAI,KAAK,GAAG,EAAE,CAAC;IACf,IACE,iBAAiB,YAAY,+CAA+C,EAC5E;QACA,KAAK,GAAG,yBAAyB,CAAC,UAAU,CAAC;KAC9C;SAAM,IAAI,iBAAiB,YAAY,iCAAiC,EAAE;QACzE,KAAK,GAAG,yBAAyB,CAAC,SAAS,CAAC;KAC7C;IACD,IAAI,iBAAiB,YAAY,iCAAiC,EAAE;QAClE,KAAK,GAAG,yBAAyB,CAAC,SAAS,CAAC;KAC7C;IACD,OAAO,CACL,eAAK,SAAS,EAAC,+CAA+C,aAC3D,KAAK,IAAI,CACR,MAAC,aAAa,IAAC,SAAS,EAAC,qDAAqD,uBACrE,KAAK,IACE,CACjB,EACD,KAAC,aAAa,IAAC,SAAS,EAAC,uDAAuD,YAC7E,sBAAsB,0BAA0B,CAC/C,iBAAiB,CAAC,mBAAmB,CACtC,GAAG,GACU,EAChB,KAAC,mBAAmB,IAClB,aAAa,EAAE,iBAAiB,CAAC,mBAAmB,EACpD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,EACF,KAAC,YAAY,KAAG,EAEhB,KAAC,aAAa,IAAC,SAAS,EAAC,uDAAuD,YAC7E,oBAAoB,0BAA0B,CAC7C,iBAAiB,CAAC,iBAAiB,CACpC,GAAG,GACU,EAChB,KAAC,mBAAmB,IAClB,aAAa,EAAE,iBAAiB,CAAC,iBAAiB,EAClD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,EACF,KAAC,YAAY,KAAG,EAEhB,KAAC,aAAa,IAAC,SAAS,EAAC,uDAAuD,YAC7E,oBAAoB,0BAA0B,CAC7C,iBAAiB,CAAC,iBAAiB,CACpC,GAAG,GACU,EAChB,KAAC,mBAAmB,IAClB,aAAa,EAAE,iBAAiB,CAAC,iBAAiB,EAClD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,EACF,KAAC,YAAY,KAAG,IACZ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -13,9 +13,15 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type TreeNodeContainerProps } from '@finos/legend-art';
|
18
|
+
import { type QueryBuilderGraphFetchTreeData, type QueryBuilderGraphFetchTreeNodeData } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
17
19
|
import { type GraphFetchSerializationState, GraphFetchExternalFormatSerializationState, type QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
18
20
|
import { Binding } from '@finos/legend-graph';
|
21
|
+
export declare const QueryBuilderGraphFetchTreeNodeContainer: React.FC<TreeNodeContainerProps<QueryBuilderGraphFetchTreeNodeData, {
|
22
|
+
isReadOnly: boolean;
|
23
|
+
removeNode?: (node: QueryBuilderGraphFetchTreeNodeData) => void;
|
24
|
+
}>>;
|
19
25
|
export declare const QueryBuilderGraphFetchExternalConfig: ((props: {
|
20
26
|
graphFetchState: QueryBuilderGraphFetchTreeState;
|
21
27
|
serializationState: GraphFetchExternalFormatSerializationState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAKH,OAAO,EACL,KAAK,sBAAsB,EA8B5B,MAAM,mBAAmB,CAAC;AAS3B,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAGxC,MAAM,4EAA4E,CAAC;AAKpF,OAAO,EACL,KAAK,4BAA4B,EACjC,0CAA0C,EAI1C,KAAK,+BAA+B,EACrC,MAAM,6EAA6E,CAAC;AAErF,OAAO,EAEL,OAAO,EAKR,MAAM,qBAAqB,CAAC;AAmC7B,eAAO,MAAM,uCAAuC,EAAE,KAAK,CAAC,EAAE,CAC5D,sBAAsB,CACpB,kCAAkC,EAClC;IACE,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,kCAAkC,KAAK,IAAI,CAAC;CACjE,CACF,CA2FF,CAAC;AA+IF,eAAO,MAAM,oCAAoC,WACvC;IACN,eAAe,EAAE,+BAA+B,CAAC;IACjD,kBAAkB,EAAE,0CAA0C,CAAC;IAC/D,qBAAqB,EAAE,8BAA8B,CAAC;IACtD,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;;CAoFF,CAAC;AAEF,eAAO,MAAM,kCAAkC;qBAE1B,+BAA+B;wBAC5B,4BAA4B;cACtC,8BAA8B;2BACjB,8BAA8B,KAAK,IAAI;gBAClD,OAAO;;;CA2QtB,CAAC;AAoFF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,mBAAmB,EAAE,+BAA+B,CAAA;CAAE;;CAwCjE,CAAC"}
|
@@ -17,14 +17,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useCallback } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { useDrop } from 'react-dnd';
|
20
|
-
import { clsx, TreeView, BlankPanelPlaceholder, ChevronDownIcon, ChevronRightIcon, TimesIcon, CheckSquareIcon, SquareIcon, InfoCircleIcon, PanelDropZone, BlankPanelContent, Dialog, ModalHeader, Modal, ModalBody, Panel, PanelForm, PanelFormTextField, PanelFormBooleanField, ModalFooterButton, ModalFooter, SerializeIcon, ResizablePanel, ResizablePanelSplitter, ResizablePanelGroup, BufferIcon, CustomSelectorInput, FolderIcon, } from '@finos/legend-art';
|
20
|
+
import { clsx, TreeView, BlankPanelPlaceholder, ChevronDownIcon, ChevronRightIcon, TimesIcon, CheckSquareIcon, SquareIcon, InfoCircleIcon, PanelDropZone, BlankPanelContent, Dialog, ModalHeader, Modal, ModalBody, Panel, PanelForm, PanelFormTextField, PanelFormBooleanField, ModalFooterButton, ModalFooter, SerializeIcon, ResizablePanel, ResizablePanelSplitter, ResizablePanelGroup, BufferIcon, CustomSelectorInput, FolderIcon, PURE_UnknownElementTypeIcon, } from '@finos/legend-art';
|
21
21
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
22
22
|
import { deepClone, filterByType, guaranteeNonNullable, isNonNullable, prettyCONSTName, } from '@finos/legend-shared';
|
23
23
|
import { removeNodeRecursively, isGraphFetchTreeDataEmpty, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
24
24
|
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
25
25
|
import { GraphFetchExternalFormatSerializationState, GraphFetchPureSerializationState, PureSerializationConfig, SERIALIZATION_TYPE, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
26
26
|
import { QueryBuilderTextEditorMode } from '../../stores/QueryBuilderTextEditorState.js';
|
27
|
-
import { Binding, Package, getDescendantsOfPackage, } from '@finos/legend-graph';
|
27
|
+
import { Binding, Package, getDescendantsOfPackage, PropertyGraphFetchTree, RootGraphFetchTree, } from '@finos/legend-graph';
|
28
28
|
import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
|
29
29
|
import { buildElementOption, getClassPropertyIcon, } from '@finos/legend-lego/graph-editor';
|
30
30
|
const getBindingFormatter = (props) => function BindingLabel(option) {
|
@@ -33,21 +33,27 @@ const getBindingFormatter = (props) => function BindingLabel(option) {
|
|
33
33
|
: 'packageable-element-option-label';
|
34
34
|
return (_jsxs("div", { className: className, children: [_jsx("div", { className: `${className}__name`, children: option.label }), option.value.package && (_jsx("div", { className: `${className}__tag`, children: option.value.path })), _jsx("div", { className: `${className}__tag`, children: option.value.contentType })] }));
|
35
35
|
};
|
36
|
-
const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
|
36
|
+
export const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
|
37
37
|
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
38
|
-
const { removeNode } = innerProps;
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
const { isReadOnly, removeNode } = innerProps;
|
39
|
+
let property, type, subType;
|
40
|
+
if (node.tree instanceof PropertyGraphFetchTree) {
|
41
|
+
property = node.tree.property.value;
|
42
|
+
type = property.genericType.value.rawType;
|
43
|
+
subType = node.tree.subType?.value;
|
44
|
+
}
|
45
|
+
else if (node.tree instanceof RootGraphFetchTree) {
|
46
|
+
type = node.tree.class.value;
|
47
|
+
}
|
42
48
|
const isExpandable = Boolean(node.childrenIds.length);
|
43
49
|
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
44
|
-
const nodeTypeIcon = getClassPropertyIcon(type);
|
50
|
+
const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (_jsx(PURE_UnknownElementTypeIcon, {}));
|
45
51
|
const toggleExpandNode = () => onNodeSelect?.(node);
|
46
|
-
const deleteNode = () => removeNode(node);
|
52
|
+
const deleteNode = () => removeNode?.(node);
|
47
53
|
return (_jsxs("div", { className: "tree-view__node__container query-builder-graph-fetch-tree__node__container", style: {
|
48
54
|
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2)}rem`,
|
49
55
|
display: 'flex',
|
50
|
-
}, children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }) })), _jsx("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type
|
56
|
+
}, children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }) })), _jsx("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type?.name }) })] })] }), _jsx("div", { className: "query-builder-graph-fetch-tree__node__actions", children: _jsx("button", { className: "query-builder-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, disabled: isReadOnly, children: _jsx(TimesIcon, {}) }) })] }));
|
51
57
|
};
|
52
58
|
const PureSerializationConfigModal = observer((props) => {
|
53
59
|
const { pureSerializationState, graphFetchState, config } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAEL,IAAI,EACJ,QAAQ,EACR,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,iBA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,CAAC;IACtC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;IAClE,MAAM,mBAAmB,GAAG,GAAS,EAAE,CACrC,mBAAmB,CAAC,iBAAiB,CAAC,eAAe,CAAC,SAAS,CAC7D,0BAA0B,CAAC,IAAI,CAChC,CAAC;IACJ,IACE,kBAAkB,YAAY,gCAAgC;QAC9D,kBAAkB,YAAY,0CAA0C,EACxE;QACA,OAAO,CACL,KAAC,+BAA+B,IAC9B,mBAAmB,EAAE,mBAAmB,EACxC,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAC;KACH;IACD,OAAO,CACL,6BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,gBAAgB,YAE1B,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kCAAkC,aAC/C,cAAK,SAAS,EAAC,qCAAqC,2DAE9C,EAEN,iBACE,SAAS,EAAC,yDAAyD,EACnE,OAAO,EAAE,mBAAmB,kCAGrB,IACL,GACY,GAChB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAEL,IAAI,EACJ,QAAQ,EACR,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,KAAK,EACL,SAAS,EACT,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,aA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,EAAE,kBAAkB,EACtC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,KAAK,EACjB,cAAc,EAAE,cAAc,GAC9B,CACH,IACa,GACZ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+D,EAAE,EAAE;IAClE,MAAM,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC;IACtC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;IAClE,MAAM,mBAAmB,GAAG,GAAS,EAAE,CACrC,mBAAmB,CAAC,iBAAiB,CAAC,eAAe,CAAC,SAAS,CAC7D,0BAA0B,CAAC,IAAI,CAChC,CAAC;IACJ,IACE,kBAAkB,YAAY,gCAAgC;QAC9D,kBAAkB,YAAY,0CAA0C,EACxE;QACA,OAAO,CACL,KAAC,+BAA+B,IAC9B,mBAAmB,EAAE,mBAAmB,EACxC,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAC;KACH;IACD,OAAO,CACL,6BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,gBAAgB,YAE1B,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kCAAkC,aAC/C,cAAK,SAAS,EAAC,qCAAqC,2DAE9C,EAEN,iBACE,SAAS,EAAC,yDAAyD,EACnE,OAAO,EAAE,mBAAmB,kCAGrB,IACL,GACY,GAChB,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;
|
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;AAsrBF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsRjD,CAAC"}
|
@@ -16,11 +16,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
16
16
|
*/
|
17
17
|
import { useRef, useState, useCallback, forwardRef, useMemo } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx, ContextMenu, DropdownMenu, MenuContent, MenuContentItem, BlankPanelPlaceholder, FilledTriangleIcon, CompressIcon, ExpandIcon, TrashIcon, NewFolderIcon, CircleIcon, CaretDownIcon, PlusIcon, ChevronDownIcon, ChevronRightIcon, PlusCircleIcon, TimesIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, PanelContent, MoreVerticalIcon, MenuContentItemIcon, MenuContentItemLabel, } from '@finos/legend-art';
|
19
|
+
import { clsx, ContextMenu, DropdownMenu, MenuContent, MenuContentItem, BlankPanelPlaceholder, FilledTriangleIcon, CompressIcon, ExpandIcon, TrashIcon, NewFolderIcon, CircleIcon, CaretDownIcon, PlusIcon, ChevronDownIcon, ChevronRightIcon, PlusCircleIcon, TimesIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, PanelContent, MoreVerticalIcon, MenuContentItemIcon, MenuContentItemLabel, InfoCircleIcon, } from '@finos/legend-art';
|
20
20
|
import { QUERY_BUILDER_FILTER_DND_TYPE, FilterConditionState, QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeBlankConditionNodeData, QueryBuilderFilterTreeGroupNodeData, QueryBuilderFilterTreeExistsNodeData, QueryBuilderFilterTreeOperationNodeData, } from '../../stores/filter/QueryBuilderFilterState.js';
|
21
21
|
import { useDrag, useDragLayer, useDrop } from 'react-dnd';
|
22
22
|
import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
23
|
-
import { QueryBuilderPropertyExpressionBadge } from '../QueryBuilderPropertyExpressionEditor.js';
|
23
|
+
import { QueryBuilderPropertyExpressionBadge, QueryBuilderPropertyExpressionEditor, } from '../QueryBuilderPropertyExpressionEditor.js';
|
24
24
|
import { assertErrorThrown, assertTrue, debounce, generateEnumerableNameFromToken, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, UnsupportedOperationError, } from '@finos/legend-shared';
|
25
25
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
26
26
|
import { ActionAlertActionType, ActionAlertType, useApplicationStore, } from '@finos/legend-application';
|
@@ -111,9 +111,12 @@ export const buildFilterTreeWithExists = (propertyExpression, filterState, targe
|
|
111
111
|
// employees->exists($x.name == 'Bob' && $x.id == '1') instead of creating
|
112
112
|
// employess->exists($x.name == 'Bob) && employess->exists($x.id == '1')
|
113
113
|
const parentPropertyChainIndex = existsLambdaPropertyChains.findIndex((p) => p instanceof AbstractPropertyExpression &&
|
114
|
-
p.func.value ===
|
114
|
+
p.func.value ===
|
115
|
+
targetDropNode.propertyExpressionState.propertyExpression.func
|
116
|
+
.value &&
|
115
117
|
p.func.ownerReference.value.path ===
|
116
|
-
targetDropNode.propertyExpression.func
|
118
|
+
targetDropNode.propertyExpressionState.propertyExpression.func
|
119
|
+
.ownerReference.value.path);
|
117
120
|
if (parentPropertyChainIndex >= 0) {
|
118
121
|
parentNode = targetDropNode;
|
119
122
|
existsLambdaPropertyChains = existsLambdaPropertyChains.slice(parentPropertyChainIndex + 1);
|
@@ -142,9 +145,10 @@ export const buildFilterTreeWithExists = (propertyExpression, filterState, targe
|
|
142
145
|
cn instanceof QueryBuilderFilterTreeExistsNodeData &&
|
143
146
|
p.func.value ===
|
144
147
|
guaranteeType(cn, QueryBuilderFilterTreeExistsNodeData)
|
145
|
-
.propertyExpression.func.value &&
|
148
|
+
.propertyExpressionState.propertyExpression.func.value &&
|
146
149
|
p.func.ownerReference.value.path ===
|
147
|
-
cn.propertyExpression.func.ownerReference
|
150
|
+
cn.propertyExpressionState.propertyExpression.func.ownerReference
|
151
|
+
.value.path);
|
148
152
|
if (parentPropertyChainIndex >= 0) {
|
149
153
|
parentNode = targetDropNode;
|
150
154
|
existsLambdaPropertyChains = existsLambdaPropertyChains.slice(parentPropertyChainIndex + 1);
|
@@ -158,7 +162,7 @@ export const buildFilterTreeWithExists = (propertyExpression, filterState, targe
|
|
158
162
|
}
|
159
163
|
// 3. Create exists tree node for all the property chains and add them to the filter tree
|
160
164
|
for (let i = 0; i < existsLambdaPropertyChains.length - 1; ++i) {
|
161
|
-
const existsNode = new QueryBuilderFilterTreeExistsNodeData(parentNode?.id);
|
165
|
+
const existsNode = new QueryBuilderFilterTreeExistsNodeData(filterState, parentNode?.id);
|
162
166
|
existsNode.setPropertyExpression(existsLambdaPropertyChains[i]);
|
163
167
|
existsNode.lambdaParameterName = existsLambdaParamNames[i];
|
164
168
|
filterState.nodes.set(existsNode.id, existsNode);
|
@@ -229,7 +233,16 @@ const QueryBuilderFilterGroupConditionEditor = observer((props) => {
|
|
229
233
|
});
|
230
234
|
const QueryBuilderFilterExistsConditionEditor = observer((props) => {
|
231
235
|
const { node, humanizePropertyName, isDragOver, isDroppable } = props;
|
232
|
-
|
236
|
+
const hasDerivedPropertyInExpression = Boolean(node.propertyExpressionState.derivedPropertyExpressionStates.length);
|
237
|
+
const isValid = node.propertyExpressionState.isValid;
|
238
|
+
const setDerivedPropertyArguments = () => {
|
239
|
+
if (hasDerivedPropertyInExpression) {
|
240
|
+
node.propertyExpressionState.setIsEditingDerivedProperty(true);
|
241
|
+
}
|
242
|
+
};
|
243
|
+
return (_jsx("div", { className: "query-builder-filter-tree__node__label__content dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: `Add to Exists Group`, children: _jsxs("div", { className: "query-builder-filter-tree__exists-node", title: "This is an exists filter on the collection property", children: [_jsx("div", { className: "query-builder-filter-tree__exists-node__label", children: getPropertyChainName(node.propertyExpressionState.propertyExpression, humanizePropertyName) }), _jsx("div", { className: "query-builder-filter-tree__exists-node__exists--label", children: "exists" }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-filter-tree__exists-node__exists--label__action', {
|
244
|
+
'query-builder-filter-tree__exists-node__exists--label__action--error': !isValid,
|
245
|
+
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: node.propertyExpressionState })] }) }) }));
|
233
246
|
});
|
234
247
|
const QueryBuilderFilterConditionEditor = observer((props) => {
|
235
248
|
const { node, isDragOver } = props;
|
@@ -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;A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I,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,SAAS,EACT,aAAa,EACb,UA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ACtB,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,6 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
17
17
|
import { type PureModel, type Type, type ValueSpecification, SimpleFunctionExpression, PrimitiveInstanceValue, type ObserverContext } from '@finos/legend-graph';
|
18
|
+
import { type ApplicationStore, type LegendApplicationConfig, type LegendApplicationPlugin, type LegendApplicationPluginManager } from '@finos/legend-application';
|
18
19
|
export declare enum CUSTOM_DATE_PICKER_OPTION {
|
19
20
|
ABSOLUTE_DATE = "Absolute Date",
|
20
21
|
ABSOLUTE_TIME = "Absolute Time",
|
@@ -46,7 +47,7 @@ declare class DatePickerOption {
|
|
46
47
|
/**
|
47
48
|
* Build DatePickerOption from pure date functions or PrimitiveInstanceValue
|
48
49
|
*/
|
49
|
-
export declare const buildDatePickerOption: (valueSpecification: SimpleFunctionExpression | PrimitiveInstanceValue) => DatePickerOption;
|
50
|
+
export declare const buildDatePickerOption: (valueSpecification: SimpleFunctionExpression | PrimitiveInstanceValue, applicationStore: ApplicationStore<LegendApplicationConfig, LegendApplicationPluginManager<LegendApplicationPlugin>>) => DatePickerOption;
|
50
51
|
export declare const CustomDatePicker: React.FC<{
|
51
52
|
valueSpecification: PrimitiveInstanceValue | SimpleFunctionExpression;
|
52
53
|
graph: PureModel;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,wBAAwB,EAGxB,sBAAsB,EAKtB,KAAK,eAAe,EAErB,MAAM,qBAAq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