@finos/legend-query-builder 4.14.49 → 4.14.50
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.js +45 -46
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +18 -19
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +6 -7
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +10 -11
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +13 -14
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.js +11 -12
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +7 -8
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +3 -4
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +2 -3
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +24 -25
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +3 -4
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +3 -4
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -3
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts +1 -1
- package/lib/components/data-access/DataAccessOverview.js +16 -17
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +3 -4
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +2 -3
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +3 -4
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js +33 -34
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +2 -3
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +3 -4
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +2 -3
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -7
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +3 -4
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +4 -5
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +6 -7
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +3 -4
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +2 -3
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +30 -31
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +19 -20
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +3 -4
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +17 -18
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +8 -9
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +3 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +23 -24
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +26 -27
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +2 -3
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +13 -14
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +8 -9
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +40 -41
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +28 -29
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +19 -20
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.js +16 -17
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +10 -11
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +4 -5
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +8 -9
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +37 -38
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +20 -21
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +13 -14
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +6 -7
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +3 -4
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +9 -10
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +3 -4
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.js +7 -8
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +5 -6
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +5 -6
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +5 -6
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +3 -3
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -31,21 +30,21 @@ const QueryBuilderFetchStructureEditor = observer((props) => {
|
|
31
30
|
const fetchStructureState = queryBuilderState.fetchStructureState;
|
32
31
|
const fetchStructureImplementation = fetchStructureState.implementation;
|
33
32
|
if (fetchStructureImplementation instanceof QueryBuilderTDSState) {
|
34
|
-
return
|
33
|
+
return _jsx(QueryBuilderTDSPanel, { tdsState: fetchStructureImplementation });
|
35
34
|
}
|
36
35
|
else if (fetchStructureImplementation instanceof QueryBuilderGraphFetchTreeState) {
|
37
|
-
return (
|
36
|
+
return (_jsx(QueryBuilderGraphFetchPanel, { graphFetchTreeState: fetchStructureImplementation }));
|
38
37
|
}
|
39
|
-
return (
|
38
|
+
return (_jsx(PanelContent, { children: _jsx(BlankPanelContent, { children: _jsx("div", { className: "query-builder__unsupported-view__main", children: _jsx("div", { className: "query-builder__unsupported-view__summary", children: "Unsupported fetch structure" }) }) }) }));
|
40
39
|
});
|
41
40
|
export const QueryBuilderFetchStructurePanel = observer((props) => {
|
42
41
|
const { queryBuilderState } = props;
|
43
42
|
const fetchStructureState = queryBuilderState.fetchStructureState;
|
44
43
|
const fetchConfig = queryBuilderState.workflowState.getFetchStructureLayoutConfig(queryBuilderState);
|
45
|
-
return (
|
46
|
-
.length !== 0 && (
|
47
|
-
.fetchStructureValidationIssues }
|
44
|
+
return (_jsxs(Panel, { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FETCH_STRUCTURE, children: [_jsxs(PanelHeader, { children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: fetchConfig.label }), fetchStructureState.implementation.fetchStructureValidationIssues
|
45
|
+
.length !== 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: fetchStructureState.implementation
|
46
|
+
.fetchStructureValidationIssues }))] }), fetchConfig.showInFetchPanel ? (_jsx(PanelHeaderActions, { children: _jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsx("button", { onClick: onChangeFetchStructureImplementation(type, fetchStructureState), className: clsx('query-builder__fetch__structure__mode', {
|
48
47
|
'query-builder__fetch__structure__mode--selected': type === fetchStructureState.implementation.type,
|
49
|
-
}), children: prettyCONSTName(type) }, type
|
48
|
+
}), children: prettyCONSTName(type) }, type))) }) })) : null] }), _jsx(QueryBuilderFetchStructureEditor, { queryBuilderState: queryBuilderState })] }));
|
50
49
|
});
|
51
50
|
//# sourceMappingURL=QueryBuilderFetchStructurePanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EAC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{
|
|
28
28
|
serializationTreeData: QueryBuilderGraphFetchTreeData;
|
29
29
|
bindings: Binding[];
|
30
30
|
isReadOnly: boolean;
|
31
|
-
}) => import("react/jsx-
|
31
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
32
32
|
displayName: string;
|
33
33
|
};
|
34
34
|
export declare const QueryBuilderGraphFetchTreeExplorer: ((props: {
|
@@ -37,12 +37,12 @@ export declare const QueryBuilderGraphFetchTreeExplorer: ((props: {
|
|
37
37
|
treeData: QueryBuilderGraphFetchTreeData;
|
38
38
|
updateTreeData: (data: QueryBuilderGraphFetchTreeData) => void;
|
39
39
|
isReadOnly: boolean;
|
40
|
-
}) => import("react/jsx-
|
40
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
41
41
|
displayName: string;
|
42
42
|
};
|
43
43
|
export declare const QueryBuilderGraphFetchPanel: ((props: {
|
44
44
|
graphFetchTreeState: QueryBuilderGraphFetchTreeState;
|
45
|
-
}) => import("react/jsx-
|
45
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
46
46
|
displayName: string;
|
47
47
|
};
|
48
48
|
//# sourceMappingURL=QueryBuilderGraphFetchTreePanel.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -32,7 +31,7 @@ const getBindingFormatter = (props) => function BindingLabel(option) {
|
|
32
31
|
const className = props.darkMode
|
33
32
|
? 'packageable-element-option-label--dark'
|
34
33
|
: 'packageable-element-option-label';
|
35
|
-
return (
|
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 })] }));
|
36
35
|
};
|
37
36
|
export const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
|
38
37
|
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
@@ -47,14 +46,14 @@ export const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
|
|
47
46
|
type = node.tree.class.value;
|
48
47
|
}
|
49
48
|
const isExpandable = Boolean(node.childrenIds.length);
|
50
|
-
const nodeExpandIcon = isExpandable ? (node.isOpen ? (
|
51
|
-
const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (
|
49
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
50
|
+
const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (_jsx(PURE_UnknownElementTypeIcon, {}));
|
52
51
|
const toggleExpandNode = () => onNodeSelect?.(node);
|
53
52
|
const deleteNode = () => removeNode?.(node);
|
54
|
-
return (
|
53
|
+
return (_jsxs("div", { className: "tree-view__node__container query-builder-graph-fetch-tree__node__container", style: {
|
55
54
|
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2)}rem`,
|
56
55
|
display: 'flex',
|
57
|
-
}, children: [
|
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, {}) }) })] }));
|
58
57
|
};
|
59
58
|
const PureSerializationConfigModal = observer((props) => {
|
60
59
|
const { pureSerializationState, graphFetchState, config } = props;
|
@@ -72,13 +71,13 @@ const PureSerializationConfigModal = observer((props) => {
|
|
72
71
|
graphFetchState.queryBuilderState.applicationStore.notificationService.notifySuccess('Serialization config removed');
|
73
72
|
};
|
74
73
|
const close = () => pureSerializationState.setConfigModal(false);
|
75
|
-
return (
|
74
|
+
return (_jsx(Dialog, { open: pureSerializationState.configModal, onClose: close, classes: {
|
76
75
|
root: 'editor-modal__root-container',
|
77
76
|
container: 'editor-modal__container',
|
78
77
|
paper: 'editor-modal__content',
|
79
|
-
}, children:
|
78
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "query-builder-graph-fetch-config", children: [_jsx(ModalHeader, { title: `${toAdd ? 'Add Serialization Config' : 'Edit Serialization Config'}` }), _jsx(ModalBody, { className: "query-builder-graph-fetch-config__content", children: _jsx(Panel, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormTextField, { name: "Type Key Name", value: config.typeKeyName, isReadOnly: false, update: (value) => config.setTypeName(value ?? ''), errorMessage: config.typeKeyName === ''
|
80
79
|
? `Type key name can't be empty`
|
81
|
-
: undefined }
|
80
|
+
: undefined }), _jsx(PanelFormTextField, { name: "Date Time Format", value: config.dateTimeFormat, isReadOnly: false, update: (value) => config.setDateTimeFormat(value === '' ? undefined : value) }), _jsx(PanelFormBooleanField, { name: "Include Type", value: config.includeType, isReadOnly: false, update: (value) => config.setIncludeType(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Include Enum Type", value: config.includeEnumType, isReadOnly: false, update: (value) => config.setInclueEnumType(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Remove Properties With Null Values", value: config.removePropertiesWithNullValues, isReadOnly: false, update: (value) => config.setRemovePropertiesWithNullValues(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Remove properties with empty sets", value: config.removePropertiesWithEmptySets, isReadOnly: false, update: (value) => config.setRemovePropertiesWithEmptySets(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Use Fully Qualified Type Path", value: config.fullyQualifiedTypePath, isReadOnly: false, update: (value) => config.setFullyQualifiedTypePath(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Include Object Reference", value: config.includeObjectReference, isReadOnly: false, update: (value) => config.setIncludeObjectReference(Boolean(value)) })] }) }) }), _jsxs(ModalFooter, { children: [!toAdd && (_jsx(ModalFooterButton, { className: "btn--caution", text: "Remove Config", onClick: removeConfig })), _jsx(ModalFooterButton, { className: "modal__footer__close-btn", onClick: handleAction, type: toAdd ? 'primary' : 'secondary', children: toAdd ? 'Add Config' : 'Close' })] })] }) }));
|
82
81
|
});
|
83
82
|
export const QueryBuilderGraphFetchExternalConfig = observer((props) => {
|
84
83
|
const { graphFetchState, serializationState, serializationTreeData, bindings, isReadOnly, } = props;
|
@@ -111,16 +110,16 @@ export const QueryBuilderGraphFetchExternalConfig = observer((props) => {
|
|
111
110
|
serializationState.setGraphFetchTree({ ...serializationTreeData });
|
112
111
|
}
|
113
112
|
};
|
114
|
-
return (
|
113
|
+
return (_jsx("div", { className: "query-builder-graph-fetch-external-format", children: _jsxs("div", { className: "service-execution-editor__configuration__items", children: [_jsxs("div", { className: "service-execution-editor__configuration__item", children: [_jsx("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsx(BufferIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown service-execution-editor__configuration__item__dropdown", disabled: isReadOnly, options: bindingOptions, onChange: onBindingChange, value: selectedBinding, formatOptionLabel: getBindingFormatter({
|
115
114
|
darkMode: !applicationStore.layoutService
|
116
115
|
.TEMPORARY__isLightColorThemeEnabled,
|
117
116
|
}), darkMode: !applicationStore.layoutService
|
118
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
117
|
+
.TEMPORARY__isLightColorThemeEnabled })] }), _jsxs("div", { className: "service-execution-editor__configuration__item", children: [_jsx("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsx(FolderIcon, {}) }), _jsx(TreeView, { components: {
|
119
118
|
TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
|
120
119
|
}, className: "query-builder-graph-fetch-tree__container__tree", treeData: serializationTreeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
|
121
120
|
isReadOnly,
|
122
121
|
removeNode,
|
123
|
-
} }
|
122
|
+
} })] })] }) }));
|
124
123
|
});
|
125
124
|
export const QueryBuilderGraphFetchTreeExplorer = observer((props) => {
|
126
125
|
const { graphFetchState, serializationState, treeData, updateTreeData, isReadOnly, } = props;
|
@@ -204,22 +203,22 @@ export const QueryBuilderGraphFetchTreeExplorer = observer((props) => {
|
|
204
203
|
});
|
205
204
|
}
|
206
205
|
};
|
207
|
-
return (
|
206
|
+
return (_jsxs("div", { className: "query-builder-graph-fetch-tree", children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__toolbar", children: [_jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(SERIALIZATION_TYPE).map((type) => (_jsx("button", { onClick: onChangeSerializationType(type), className: clsx('query-builder__fetch__structure__mode', {
|
208
207
|
'query-builder__fetch__structure__mode--selected': type === serializationState.getLabel(),
|
209
|
-
}), children: prettyCONSTName(type) }, type
|
208
|
+
}), children: prettyCONSTName(type) }, type))) }), _jsxs("div", { className: "query-builder-graph-fetch-tree__actions", children: [serializationState instanceof GraphFetchPureSerializationState && (_jsx("div", { className: "query-builder-graph-fetch-tree__actions__action", children: _jsxs("button", { className: "query-builder-graph-fetch-tree__actions__action-btn__label", onClick: openConfigModal, title: `${serializationState.config
|
210
209
|
? 'Edit pure serialization config'
|
211
|
-
: 'Add pure serialization config'}`, tabIndex: -1, children: [
|
210
|
+
: 'Add pure serialization config'}`, tabIndex: -1, children: [_jsx(SerializeIcon, { className: "query-builder-graph-fetch-tree__actions__action-btn__label__icon" }), _jsx("div", { className: "query-builder-graph-fetch-tree__actions__action-btn__label__title", children: serializationState.config ? 'Edit Config' : 'Add Config' })] }) })), _jsxs("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleChecked, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
212
211
|
'panel__content__form__section__toggler__btn--toggled': graphFetchState.isChecked,
|
213
|
-
}), children: graphFetchState.isChecked ? (
|
214
|
-
serializationState.configModal && (
|
215
|
-
PureSerializationConfig.createDefault() }
|
212
|
+
}), children: graphFetchState.isChecked ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Check graph fetch" }), _jsx("div", { className: "query-builder-graph-fetch-tree__toolbar__hint-icon", children: _jsx(InfoCircleIcon, { title: "With this enabled, while executing, violations of constraints will reported as part of the result, rather than causing a failure" }) })] })] })] }), _jsxs("div", { className: "query-builder-graph-fetch-tree__container", children: [serializationState instanceof GraphFetchPureSerializationState &&
|
213
|
+
serializationState.configModal && (_jsx(PureSerializationConfigModal, { pureSerializationState: serializationState, graphFetchState: graphFetchState, config: serializationState.config ??
|
214
|
+
PureSerializationConfig.createDefault() })), _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { children: _jsxs("div", { className: "query-builder-graph-fetch-external-format__config-group", children: [_jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header", children: _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header__title", children: "Graph Fetch Tree" }) }), _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__content", children: _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__item", children: _jsx(TreeView, { components: {
|
216
215
|
TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
|
217
216
|
}, className: "query-builder-graph-fetch-tree__container__tree", treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
|
218
217
|
isReadOnly,
|
219
218
|
removeNode,
|
220
|
-
} }
|
219
|
+
} }) }) })] }) }), _jsx(ResizablePanelSplitter, {}), serializationState instanceof
|
221
220
|
GraphFetchExternalFormatSerializationState &&
|
222
|
-
serializationState.treeData && (
|
221
|
+
serializationState.treeData && (_jsx(ResizablePanel, { children: _jsxs("div", { className: "query-builder-graph-fetch-external-format__config-group", children: [_jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header", children: _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header__title", children: "Externalize" }) }), _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__content", children: _jsx("div", { className: "query-builder-graph-fetch-external-format_config-group__item", children: _jsx(QueryBuilderGraphFetchExternalConfig, { graphFetchState: graphFetchState, serializationState: serializationState, serializationTreeData: serializationState.treeData, bindings: compatibleBindings, isReadOnly: false }) }) })] }) }))] })] })] }));
|
223
222
|
});
|
224
223
|
const QueryBuilderGraphFetchTreePanel = observer((props) => {
|
225
224
|
const { graphFetchTreeState, serializationState } = props;
|
@@ -254,7 +253,7 @@ const QueryBuilderGraphFetchTreePanel = observer((props) => {
|
|
254
253
|
isDragOver: monitor.isOver({ shallow: true }),
|
255
254
|
}),
|
256
255
|
}), [handleDrop]);
|
257
|
-
return (
|
256
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, className: "panel__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, contentClassName: "query-builder-graph-fetch-panel", children: [(!treeData || isGraphFetchTreeDataEmpty(treeData)) && (_jsx(BlankPanelPlaceholder, { text: "Add a graph fetch property", tooltipText: "Drag and drop properties here" })), treeData && !isGraphFetchTreeDataEmpty(treeData) && (_jsx(QueryBuilderGraphFetchTreeExplorer, { graphFetchState: graphFetchTreeState, serializationState: serializationState, treeData: treeData, isReadOnly: false, updateTreeData: updateTreeData }))] }) }));
|
258
257
|
});
|
259
258
|
export const QueryBuilderGraphFetchPanel = observer((props) => {
|
260
259
|
const { graphFetchTreeState } = props;
|
@@ -262,8 +261,8 @@ export const QueryBuilderGraphFetchPanel = observer((props) => {
|
|
262
261
|
const handleTextModeClick = () => graphFetchTreeState.queryBuilderState.textEditorState.openModal(QueryBuilderTextEditorMode.TEXT);
|
263
262
|
if (serializationState instanceof GraphFetchPureSerializationState ||
|
264
263
|
serializationState instanceof GraphFetchExternalFormatSerializationState) {
|
265
|
-
return (
|
264
|
+
return (_jsx(QueryBuilderGraphFetchTreePanel, { graphFetchTreeState: graphFetchTreeState, serializationState: serializationState }));
|
266
265
|
}
|
267
|
-
return (
|
266
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, children: _jsx(BlankPanelContent, { children: _jsxs("div", { className: "unsupported-element-editor__main", children: [_jsx("div", { className: "unsupported-element-editor__summary", children: "Unsupported Graph Fetch Serialization Type" }), _jsx("button", { className: "btn--dark unsupported-element-editor__to-text-mode__btn", onClick: handleTextModeClick, children: "Edit in text mode" })] }) }) }));
|
268
267
|
});
|
269
268
|
//# sourceMappingURL=QueryBuilderGraphFetchTreePanel.js.map
|
@@ -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,E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AAS,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,CAAC;QACD,OAAO,CACL,QAAC,+BAA+B,IAC9B,mBAAmB,EAAE,mBAAmB,EACxC,kBAAkB,EAAE,kBAAkB,uFACtC,CACH,CAAC;IACJ,CAAC;IACD,OAAO,CACL,gCAAkB,qBAAqB,CAAC,yBAAyB,YAC/D,QAAC,iBAAiB,cAChB,iBAAK,SAAS,EAAC,kCAAkC,aAC/C,iBAAK,SAAS,EAAC,qCAAqC,+IAE9C,EAEN,oBACE,SAAS,EAAC,yDAAyD,EACnE,OAAO,EAAE,mBAAmB,sHAGrB,uFACL,sFACY,uFAChB,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,aAAa,EACb,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACnB,UAAU,EACV,mBAAmB,EACnB,UAAU,EACV,2BAA2B,GA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GrB,IACL,GACY,GAChB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -20,12 +20,12 @@ export declare const QueryBuilderColumnBadge: ((props: {
|
|
20
20
|
colState: QueryBuilderTDSColumnState;
|
21
21
|
onColumnChange?: ((columnState: QueryBuilderProjectionColumnState) => Promise<void>) | undefined;
|
22
22
|
removeColumn?: () => void;
|
23
|
-
}) => import("react/jsx-
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
24
24
|
displayName: string;
|
25
25
|
};
|
26
26
|
export declare const QueryBuilderPostFilterPanel: ((props: {
|
27
27
|
queryBuilderState: QueryBuilderState;
|
28
|
-
}) => import("react/jsx-
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
29
29
|
displayName: string;
|
30
30
|
};
|
31
31
|
//# sourceMappingURL=QueryBuilderPostFilterPanel.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -48,7 +47,7 @@ const QueryBuilderPostFilterConditionContextMenu = observer(forwardRef(function
|
|
48
47
|
const newGroupWithCondition = () => {
|
49
48
|
postFilterState.newGroupWithConditionFromNode(undefined, node);
|
50
49
|
};
|
51
|
-
return (
|
50
|
+
return (_jsxs(MenuContent, { ref: ref, children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createCondition, children: "Add New Condition" })), node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createGroupCondition, children: "Add New Logical Group" })), node instanceof QueryBuilderPostFilterTreeConditionNodeData && (_jsx(MenuContentItem, { onClick: newGroupWithCondition, children: "Form a New Logical Group" })), _jsx(MenuContentItem, { onClick: removeNode, children: "Remove" })] }));
|
52
51
|
}));
|
53
52
|
const QueryBuilderPostFilterGroupConditionEditor = observer((props) => {
|
54
53
|
const { node, isDragOver, isDroppable: isDroppable } = props;
|
@@ -59,10 +58,10 @@ const QueryBuilderPostFilterGroupConditionEditor = observer((props) => {
|
|
59
58
|
: QUERY_BUILDER_GROUP_OPERATION.AND);
|
60
59
|
};
|
61
60
|
const operationName = node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND ? 'AND' : 'OR';
|
62
|
-
return (
|
61
|
+
return (_jsx("div", { className: "query-builder-post-filter-tree__node__label__content dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: `Add to Logical Group '${operationName}'`, children: _jsxs("div", { className: clsx('query-builder-post-filter-tree__group-node', {
|
63
62
|
'query-builder-post-filter-tree__group-node--and': node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND,
|
64
63
|
'query-builder-post-filter-tree__group-node--or': node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.OR,
|
65
|
-
}), title: "Switch Operation", onClick: switchOperation, children: [
|
64
|
+
}), title: "Switch Operation", onClick: switchOperation, children: [_jsx("div", { className: "query-builder-post-filter-tree__group-node__label", children: node.groupOperation }), _jsx("button", { className: "query-builder-post-filter-tree__group-node__action", children: _jsx(FilledTriangleIcon, {}) })] }) }) }));
|
66
65
|
});
|
67
66
|
export const QueryBuilderColumnBadge = observer((props) => {
|
68
67
|
const { colState, onColumnChange, removeColumn } = props;
|
@@ -85,12 +84,12 @@ export const QueryBuilderColumnBadge = observer((props) => {
|
|
85
84
|
isDragOver: monitor.isOver({ shallow: true }),
|
86
85
|
}),
|
87
86
|
}), [applicationStore, handleDrop]);
|
88
|
-
const renderColumnBadgeContent = () => (
|
87
|
+
const renderColumnBadgeContent = () => (_jsxs("div", { className: "query-builder-column-badge__content", children: [type && (_jsx("div", { className: clsx('query-builder-column-badge__type', {
|
89
88
|
'query-builder-column-badge__type--class': type instanceof Class,
|
90
89
|
'query-builder-column-badge__type--enumeration': type instanceof Enumeration,
|
91
90
|
'query-builder-column-badge__type--primitive': type instanceof PrimitiveType,
|
92
|
-
}), children: renderPropertyTypeIcon(type) }
|
93
|
-
return onColumnChange ? (
|
91
|
+
}), children: renderPropertyTypeIcon(type) })), _jsx("div", { className: "query-builder-column-badge__property", title: `${colState.columnName}`, children: colState.columnName }), _jsx(QueryBuilderColumnInfoTooltip, { columnState: colState, placement: "bottom-end", children: _jsx("div", { className: "query-builder-column-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) }), removeColumn && (_jsx("button", { className: "query-builder-column-badge__action", name: "Reset", title: "Reset", onClick: removeColumn, children: _jsx(RefreshIcon, {}) }))] }));
|
92
|
+
return onColumnChange ? (_jsx("div", { ref: dropConnector, className: "query-builder-column-badge", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Property", children: renderColumnBadgeContent() }) })) : (_jsx("div", { className: "query-builder-column-badge", children: renderColumnBadgeContent() }));
|
94
93
|
});
|
95
94
|
const isProjectionColumnDragSource = (itemToTest) => Object.hasOwn(itemToTest, 'columnState');
|
96
95
|
const canDropItemOntoNodeValue = (item, condition) => {
|
@@ -172,28 +171,28 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
172
171
|
const renderRightVal = () => {
|
173
172
|
if (rightConditionValue instanceof PostFilterValueSpecConditionValueState &&
|
174
173
|
rightConditionValue.value) {
|
175
|
-
return (
|
174
|
+
return (_jsx("div", { ref: dropConnector, className: "query-builder-post-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: rightConditionValue.value, setValueSpecification: changeValueSpecification, graph: graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
176
175
|
expectedType: guaranteeNonNullable(node.condition.leftConditionValue.getColumnType()),
|
177
|
-
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(rightConditionValue.value) }
|
176
|
+
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(rightConditionValue.value) }) }) }));
|
178
177
|
}
|
179
178
|
else if (rightConditionValue instanceof
|
180
179
|
PostFilterTDSColumnValueConditionValueState) {
|
181
180
|
const changeRightCol = async (columnState) => {
|
182
181
|
rightConditionValue.changeCol(columnState);
|
183
182
|
};
|
184
|
-
return (
|
183
|
+
return (_jsx("div", { ref: dropConnector, className: "query-builder-post-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx("div", { className: "query-builder-post-filter-tree__condition-node__property", children: _jsx(QueryBuilderColumnBadge, { colState: rightConditionValue.tdsColumn, onColumnChange: isFilterValueDroppable ? changeRightCol : undefined, removeColumn: removeTDSColumnValue }) }) }) }));
|
185
184
|
}
|
186
185
|
return null;
|
187
186
|
};
|
188
|
-
return (
|
187
|
+
return (_jsx("div", { className: "query-builder-post-filter-tree__node__label__content dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver && !isFilterValueDragOver, alwaysShowChildren: true, className: "query-builder-post-filter-tree__node__drop-zone-placeholder", children: _jsxs("div", { className: "query-builder-post-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-post-filter-tree__condition-node__property", children: _jsx(QueryBuilderColumnBadge, { colState: node.condition.leftConditionValue }) }), _jsxs(DropdownMenu, { className: "query-builder-post-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-post-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid))) }), menuProps: {
|
189
188
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
190
189
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
191
190
|
elevation: 7,
|
192
|
-
}, children: [
|
191
|
+
}, children: [_jsx("div", { className: "query-builder-post-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel() }), _jsx("div", { className: "query-builder-post-filter-tree__condition-node__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), renderRightVal()] }) }) }));
|
193
192
|
});
|
194
193
|
const QueryBuilderPostFilterBlankConditionEditor = observer((props) => {
|
195
194
|
const { isDragOver, isDroppable } = props;
|
196
|
-
return (
|
195
|
+
return (_jsx("div", { className: "query-builder-post-filter-tree__node__label__content", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: "Create Condition", children: _jsx("div", { className: "query-builder-post-filter-tree__blank-node", children: "blank" }) }) }));
|
197
196
|
});
|
198
197
|
const QueryBuilderPostFilterTreeNodeContainer = observer((props) => {
|
199
198
|
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
@@ -282,22 +281,22 @@ const QueryBuilderPostFilterTreeNodeContainer = observer((props) => {
|
|
282
281
|
(monitor.getItemType() === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE ||
|
283
282
|
monitor.getItemType() === QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE),
|
284
283
|
}));
|
285
|
-
return (
|
284
|
+
return (_jsx(ContextMenu, { content: _jsx(QueryBuilderPostFilterConditionContextMenu, { tdsState: tdsState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { ref: ref, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTENT, className: clsx('tree-view__node__container query-builder-post-filter-tree__node__container', {
|
286
285
|
'query-builder-post-filter-tree__node__container--no-hover': postFilterState.isRearrangingConditions,
|
287
286
|
'query-builder-post-filter-tree__node__container--selected': node === postFilterState.selectedNode,
|
288
287
|
'query-builder-post-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
289
|
-
}), children: [
|
288
|
+
}), children: [_jsxs("div", { className: "query-builder-post-filter-tree__node__content", style: {
|
290
289
|
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2) + 1.5}rem`,
|
291
290
|
display: 'flex',
|
292
|
-
}, onClick: selectNode, children: [isExpandable && (
|
291
|
+
}, onClick: selectNode, children: [isExpandable && (_jsx("div", { className: "query-builder-post-filter-tree__expand-icon", onClick: toggleExpandNode, children: node.isOpen ? _jsx(ChevronDownIcon, {}) : _jsx(ChevronRightIcon, {}) })), _jsxs("div", { className: clsx('tree-view__node__label query-builder-post-filter-tree__node__label', {
|
293
292
|
'query-builder-post-filter-tree__node__label--expandable': isExpandable,
|
294
|
-
}), children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (
|
295
|
-
QueryBuilderPostFilterTreeBlankConditionNodeData && (
|
293
|
+
}), children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(QueryBuilderPostFilterGroupConditionEditor, { node: node, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderPostFilterTreeConditionNodeData && (_jsx(QueryBuilderPostFilterConditionEditor, { node: node, isDragOver: deepIsDragOver })), node instanceof
|
294
|
+
QueryBuilderPostFilterTreeBlankConditionNodeData && (_jsx(QueryBuilderPostFilterBlankConditionEditor, { node: node, isDragOver: isDragOver, isDroppable: isDroppable }))] })] }), _jsx("div", { className: "query-builder-post-filter-tree__node__actions", children: _jsx("button", { className: "query-builder-post-filter-tree__node__action", tabIndex: -1, title: "Remove", onClick: removeNode, children: _jsx(TimesIcon, {}) }) })] }) }));
|
296
295
|
});
|
297
296
|
const QueryBuilderPostFilterTreeNodeView = observer((props) => {
|
298
297
|
const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
|
299
|
-
return (
|
300
|
-
getChildNodes(node).map((childNode) => (
|
298
|
+
return (_jsxs("div", { className: "tree-view__node__block", children: [_jsx(QueryBuilderPostFilterTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }), node.isOpen &&
|
299
|
+
getChildNodes(node).map((childNode) => (_jsx(QueryBuilderPostFilterTreeNodeView, { node: childNode, level: level + 1, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: innerProps }, childNode.id)))] }));
|
301
300
|
});
|
302
301
|
const QueryBuilderPostFilterTree = observer((props) => {
|
303
302
|
const { tdsState } = props;
|
@@ -307,9 +306,9 @@ const QueryBuilderPostFilterTree = observer((props) => {
|
|
307
306
|
const getChildNodes = (node) => node instanceof QueryBuilderPostFilterTreeGroupNodeData
|
308
307
|
? node.childrenIds.map((id) => postFilterState.getNode(id))
|
309
308
|
: [];
|
310
|
-
return (
|
309
|
+
return (_jsx("div", { className: "tree-view__node__root query-builder-post-filter-tree__root", children: rootNodes.map((node) => (_jsx(QueryBuilderPostFilterTreeNodeView, { level: 0, node: node, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
|
311
310
|
tdsState: tdsState,
|
312
|
-
} }, node.id
|
311
|
+
} }, node.id))) }));
|
313
312
|
});
|
314
313
|
const QueryBuilderPostFilterPanelContent = observer((props) => {
|
315
314
|
const { tdsState } = props;
|
@@ -402,14 +401,14 @@ const QueryBuilderPostFilterPanelContent = observer((props) => {
|
|
402
401
|
(monitor.getItemType() === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE ||
|
403
402
|
monitor.getItemType() === QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE),
|
404
403
|
}));
|
405
|
-
return (
|
406
|
-
QueryBuilderPostFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [
|
404
|
+
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "post-filter" }), postFilterState.allValidationIssues.length !== 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: postFilterState.allValidationIssues }))] }), _jsx("div", { className: "panel__header__actions", children: _jsx(DropdownMenu, { className: "panel__header__action", title: "Show Post-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: !(postFilterState.selectedNode instanceof
|
405
|
+
QueryBuilderPostFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusCircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Group From Condition" })] }), _jsxs(MenuContentItem, { disabled: !allowGroupCreation, title: !allowGroupCreation
|
407
406
|
? 'Please select a filter node first to create logical group'
|
408
|
-
: '', onClick: createGroupCondition, children: [
|
407
|
+
: '', 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 && postFilterState.isEmpty, isDroppable: isDroppable && postFilterState.isEmpty, dropTargetConnector: dropTargetConnector, children: [_jsx(PanelLoadingIndicator, { isLoading: Boolean(postFilterState.derivedColumnBeingDropped) }), postFilterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a post-filter condition", tooltipText: "Drag and drop properties here" })), !postFilterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE) }), _jsx(QueryBuilderPostFilterTree, { tdsState: tdsState })] })), isDroppable && !postFilterState.isEmpty && (_jsx("div", { ref: addPostFilterRef, className: "query-builder-post-filter-tree__free-drop-zone__container", children: _jsxs(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, className: "query-builder-post-filter-tree__free-drop-zone", label: "Add post-filter to main group", children: [_jsx(_Fragment, {}), ' '] }) }))] }) })] }));
|
409
408
|
});
|
410
409
|
export const QueryBuilderPostFilterPanel = observer((props) => {
|
411
410
|
const { queryBuilderState } = props;
|
412
411
|
const fetchStructureImplementation = queryBuilderState.fetchStructureState.implementation;
|
413
|
-
return (
|
412
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER_PANEL, className: "panel", children: [fetchStructureImplementation instanceof QueryBuilderTDSState && (_jsx(QueryBuilderPostFilterPanelContent, { tdsState: fetchStructureImplementation })), !(fetchStructureImplementation instanceof QueryBuilderTDSState) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "post-filter" }) }) }), _jsx(PanelContent, { children: _jsx(BlankPanelContent, { children: "Post-filter is not supported for the current fetch-structure" }) })] }))] }));
|
414
413
|
});
|
415
414
|
//# sourceMappingURL=QueryBuilderPostFilterPanel.js.map
|