@finos/legend-query-builder 4.14.48 → 4.14.49
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 +46 -45
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +22 -22
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +7 -6
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +29 -10
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +14 -13
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +14 -20
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +8 -7
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +4 -3
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +3 -2
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +25 -24
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +4 -3
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +4 -3
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +3 -2
- 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 +17 -16
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +3 -2
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +4 -3
- 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 +34 -33
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +3 -2
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +4 -3
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +3 -2
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +5 -4
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +4 -3
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +3 -2
- 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 +31 -30
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +20 -19
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +4 -3
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +18 -17
- 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 +9 -8
- 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 +24 -23
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +4 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +76 -54
- 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 +3 -2
- 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 +14 -13
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +9 -8
- 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.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +48 -39
- 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 +29 -28
- 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 +20 -19
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +19 -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 +11 -10
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +5 -4
- 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 +9 -8
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +38 -37
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +21 -20
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +14 -13
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +7 -6
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +4 -3
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +10 -9
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +4 -3
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +15 -7
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +6 -5
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +6 -5
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +6 -5
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +3 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +40 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
- package/src/components/QueryBuilderParametersPanel.tsx +55 -0
- package/src/components/QueryBuilderSideBar.tsx +0 -20
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +22 -6
- package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
- package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +54 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
@@ -16,7 +16,7 @@
|
|
16
16
|
import { type QueryBuilderState } from '../stores/QueryBuilderState.js';
|
17
17
|
export declare const QueryBuilder: ((props: {
|
18
18
|
queryBuilderState: QueryBuilderState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilder.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilder.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -50,7 +51,7 @@ const QueryBuilderPostGraphFetchPanel = observer((props) => {
|
|
50
51
|
if (!graphFetchState.TEMPORARY__showPostFetchStructurePanel) {
|
51
52
|
return null;
|
52
53
|
}
|
53
|
-
return (
|
54
|
+
return (_jsxDEV(QueryBuilderFilterPanel, { queryBuilderState: graphFetchState.queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 13 }, this));
|
54
55
|
});
|
55
56
|
const QueryBuilderStatusBar = observer((props) => {
|
56
57
|
const { queryBuilderState } = props;
|
@@ -60,28 +61,28 @@ const QueryBuilderStatusBar = observer((props) => {
|
|
60
61
|
const compile = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
|
61
62
|
const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
|
62
63
|
const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
|
63
|
-
return (
|
64
|
+
return (_jsxDEV("div", { className: "query-builder__status-bar", children: [_jsxDEV("div", { className: "query-builder__status-bar__left" }, void 0, false, { fileName: _jsxFileName, lineNumber: 124, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__status-bar__right", children: [queryBuilderState.changeDetectionState.initState.hasCompleted && (_jsxDEV(_Fragment, { children: [_jsxDEV("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__view-diff-btn'), disabled: !queryBuilderState.changeDetectionState.hasChanged ||
|
64
65
|
!queryBuilderState.canBuildQuery, onClick: showDiff, tabIndex: -1, title: !queryBuilderState.canBuildQuery
|
65
66
|
? 'Please fix query errors to show changes'
|
66
67
|
: queryBuilderState.changeDetectionState.hasChanged
|
67
68
|
? 'Show changes'
|
68
|
-
: 'Query has not been changed', children:
|
69
|
+
: 'Query has not been changed', children: _jsxDEV(DiffIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 15 }, this), queryBuilderState.changeDetectionState.diffViewState && (_jsxDEV(QueryBuilderDiffViewPanelDiaglog, { diffViewState: queryBuilderState.changeDetectionState.diffViewState }, void 0, false, { fileName: _jsxFileName, lineNumber: 148, columnNumber: 73 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 78 }, this)), queryBuilderState.isQueryChatOpened && (_jsxDEV(QueryChat, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 52 }, this)), !queryBuilderState.config?.TEMPORARY__disableQueryBuilderChat && (_jsxDEV("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
69
70
|
'query-builder__status-bar__action__toggler--toggled': queryBuilderState.isQueryChatOpened === true,
|
70
|
-
}), onClick: openQueryChat, tabIndex: -1, title: "Open Query Chat", children:
|
71
|
+
}), onClick: openQueryChat, tabIndex: -1, title: "Open Query Chat", children: _jsxDEV(ChatIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 173, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 160, columnNumber: 78 }, this)), _jsxDEV("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__compile-btn', {
|
71
72
|
'query-builder__status-bar__compile-btn--wiggling': queryBuilderState.queryCompileState.isInProgress,
|
72
|
-
}), disabled: queryBuilderState.queryCompileState.isInProgress, onClick: compile, tabIndex: -1, title: "Compile (F9)", children:
|
73
|
+
}), disabled: queryBuilderState.queryCompileState.isInProgress, onClick: compile, tabIndex: -1, title: "Compile (F9)", children: _jsxDEV(HammerIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 176, columnNumber: 11 }, this), _jsxDEV("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
73
74
|
'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
|
74
75
|
QueryBuilderTextEditorMode.JSON,
|
75
76
|
}), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.JSON), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
76
77
|
? 'Please fix query errors to show query protocol'
|
77
|
-
: 'Show Query Protocol', children: `{ }` }),
|
78
|
+
: 'Show Query Protocol', children: `{ }` }, void 0, false, { fileName: _jsxFileName, lineNumber: 191, columnNumber: 11 }, this), _jsxDEV("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
78
79
|
'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
|
79
80
|
QueryBuilderTextEditorMode.TEXT,
|
80
81
|
}), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
81
82
|
? 'Please fix query errors to edit in Pure'
|
82
|
-
: 'Edit Pure', children:
|
83
|
+
: 'Edit Pure', children: _jsxDEV(HackerIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 11 }, this), _jsxDEV("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
83
84
|
'query-builder__status-bar__action__toggler--toggled': !applicationStore.assistantService.isHidden,
|
84
|
-
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children:
|
85
|
+
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children: _jsxDEV(AssistantIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 245, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 233, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 125, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 122, columnNumber: 13 }, this));
|
85
86
|
});
|
86
87
|
export const QueryBuilder = observer((props) => {
|
87
88
|
const { queryBuilderState } = props;
|
@@ -207,11 +208,11 @@ export const QueryBuilder = observer((props) => {
|
|
207
208
|
.TEMPORARY__showPostFetchStructurePanel;
|
208
209
|
const renderPostFetchStructure = () => {
|
209
210
|
if (fetchStructureState.implementation instanceof QueryBuilderTDSState) {
|
210
|
-
return (
|
211
|
+
return (_jsxDEV(QueryBuilderPostTDSPanel, { tdsState: fetchStructureState.implementation }, void 0, false, { fileName: _jsxFileName, lineNumber: 417, columnNumber: 17 }, this));
|
211
212
|
}
|
212
213
|
else if (fetchStructureState.implementation instanceof
|
213
214
|
QueryBuilderGraphFetchTreeState) {
|
214
|
-
return (
|
215
|
+
return (_jsxDEV(QueryBuilderPostGraphFetchPanel, { graphFetchState: fetchStructureState.implementation }, void 0, false, { fileName: _jsxFileName, lineNumber: 426, columnNumber: 17 }, this));
|
215
216
|
}
|
216
217
|
return null;
|
217
218
|
};
|
@@ -243,7 +244,7 @@ export const QueryBuilder = observer((props) => {
|
|
243
244
|
const extraHelpMenuContentItems = applicationStore.pluginManager
|
244
245
|
.getApplicationPlugins()
|
245
246
|
.flatMap((plugin) => plugin.getExtraQueryBuilderHelpMenuActionConfigurations?.() ?? [])
|
246
|
-
.map((item) => (
|
247
|
+
.map((item) => (_jsxDEV(MenuContentItem, { title: item.title ?? '', disabled: item.disableFunc?.(queryBuilderState) ?? false, onClick: () => item.onClick(queryBuilderState), children: [item.icon && _jsxDEV(MenuContentItemIcon, { children: item.icon }, void 0, false, { fileName: _jsxFileName, lineNumber: 494, columnNumber: 24 }, this), _jsxDEV(MenuContentItemLabel, { children: item.label }, void 0, false, { fileName: _jsxFileName, lineNumber: 495, columnNumber: 11 }, this)] }, item.key, true, { fileName: _jsxFileName, lineNumber: 487, columnNumber: 23 }, this)));
|
247
248
|
const compileQuery = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
|
248
249
|
const showDiff = () => queryBuilderState.changeDetectionState.showDiffViewPanel();
|
249
250
|
const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
|
@@ -259,75 +260,75 @@ export const QueryBuilder = observer((props) => {
|
|
259
260
|
}
|
260
261
|
}
|
261
262
|
}, [queryBuilderState, queryBuilderState.hashCode]);
|
262
|
-
return (
|
263
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", ref: queryBuilderRef, children: [_jsxDEV(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }, void 0, false, { fileName: _jsxFileName, lineNumber: 530, columnNumber: 9 }, this), _jsxDEV("div", { className: clsx('query-builder__body', {
|
263
264
|
'query-builder__body__status-bar': queryBuilderState.workflowState.showStatusBar,
|
264
|
-
}), children: [
|
265
|
+
}), children: [_jsxDEV(PanelLoadingIndicator, { isLoading: queryBuilderState.resultState.exportState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 539, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__content", children: [_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_ACTIONS, className: "query-builder__header", children: [_jsxDEV("div", { className: "query-builder__header__statuses", children: [queryBuilderState.isCalendarEnabled && (_jsxDEV("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsxDEV(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }, void 0, false, { fileName: _jsxFileName, lineNumber: 553, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 548, columnNumber: 58 }, this)), applicationStore.pluginManager
|
265
266
|
.getApplicationPlugins()
|
266
267
|
.flatMap((plugin) => plugin.getExtraQueryBuilderHeaderTitleConfigurations?.() ?? [])
|
267
|
-
.map((actionConfig) => (
|
268
|
-
queryBuilderState.isQuerySupported, undo: undo }),
|
269
|
-
queryBuilderState.isQuerySupported, redo: redo })] }), applicationStore.pluginManager
|
268
|
+
.map((actionConfig) => (_jsxDEV(Fragment, { children: actionConfig.renderer(queryBuilderState) }, actionConfig.key, false, { fileName: _jsxFileName, lineNumber: 564, columnNumber: 43 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 547, columnNumber: 15 }, this), _jsxDEV("div", { className: "query-builder__header__actions", children: [_jsxDEV("div", { className: "query-builder__header__actions__undo-redo", children: [_jsxDEV(UndoButton, { parent: queryBuilderRef, canUndo: queryBuilderState.changeHistoryState.canUndo &&
|
269
|
+
queryBuilderState.isQuerySupported, undo: undo }, void 0, false, { fileName: _jsxFileName, lineNumber: 572, columnNumber: 19 }, this), _jsxDEV(RedoButton, { parent: queryBuilderRef, canRedo: queryBuilderState.changeHistoryState.canRedo &&
|
270
|
+
queryBuilderState.isQuerySupported, redo: redo }, void 0, false, { fileName: _jsxFileName, lineNumber: 580, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 571, columnNumber: 17 }, this), applicationStore.pluginManager
|
270
271
|
.getApplicationPlugins()
|
271
272
|
.flatMap((plugin) => plugin.getExtraQueryBuilderHeaderActionConfigurations?.() ??
|
272
273
|
[])
|
273
274
|
.sort((A, B) => B.category - A.category)
|
274
|
-
.map((actionConfig) => (
|
275
|
+
.map((actionConfig) => (_jsxDEV(Fragment, { children: actionConfig.renderer(queryBuilderState) }, actionConfig.key, false, { fileName: _jsxFileName, lineNumber: 599, columnNumber: 43 }, this))), _jsxDEV(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 614, columnNumber: 76 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 613, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Function(s)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 618, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 609, columnNumber: 23 }, this), !queryBuilderState.isParameterSupportDisabled && (_jsxDEV(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
275
276
|
queryBuilderState.parametersState.parameterStates
|
276
|
-
.length > 0, children: [
|
277
|
-
queryBuilderState.constantState.constants.length > 0, children: [
|
278
|
-
.showConstantPanel ? (
|
279
|
-
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [
|
277
|
+
.length > 0, children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 632, columnNumber: 71 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 631, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Parameter(s)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 636, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 622, columnNumber: 74 }, this)), _jsxDEV(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
|
278
|
+
queryBuilderState.constantState.constants.length > 0, children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.constantState
|
279
|
+
.showConstantPanel ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 651, columnNumber: 53 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 649, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Constant(s)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 655, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 641, columnNumber: 24 }, this), _jsxDEV(MenuContentItem, { onClick: toggleShowFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
280
|
+
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 670, columnNumber: 71 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 669, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Filter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 674, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 660, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: onChangeFetchStructureImplementation(isTDSState
|
280
281
|
? FETCH_STRUCTURE_IMPLEMENTATION.GRAPH_FETCH
|
281
|
-
: FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE, fetchStructureState), disabled: !queryBuilderState.isQuerySupported, children: [
|
282
|
+
: FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE, fetchStructureState), disabled: !queryBuilderState.isQuerySupported, children: [_jsxDEV(MenuContentItemIcon, { children: isTDSState ? _jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 686, columnNumber: 40 }, this) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 685, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Tabular Data Structure" }, void 0, false, { fileName: _jsxFileName, lineNumber: 688, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 676, columnNumber: 23 }, this), _jsxDEV(MenuContentDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 692, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: toggleShowOLAPGroupByPanel, disabled: !queryBuilderState.isQuerySupported ||
|
282
283
|
!(queryBuilderState.fetchStructureState
|
283
284
|
.implementation instanceof QueryBuilderTDSState) ||
|
284
285
|
queryBuilderState.fetchStructureState.implementation
|
285
|
-
.windowState.windowColumns.length > 0, children: [
|
286
|
+
.windowState.windowColumns.length > 0, children: [_jsxDEV(MenuContentItemIcon, { children: isTDSState &&
|
286
287
|
guaranteeType(queryBuilderState.fetchStructureState
|
287
|
-
.implementation, QueryBuilderTDSState).showWindowFuncPanel ? (
|
288
|
+
.implementation, QueryBuilderTDSState).showWindowFuncPanel ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 711, columnNumber: 52 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 705, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Window Function(s)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 715, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 693, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: toggleShowPostFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
288
289
|
!(queryBuilderState.fetchStructureState
|
289
290
|
.implementation instanceof QueryBuilderTDSState) ||
|
290
|
-
Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [
|
291
|
+
Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
|
291
292
|
.implementation instanceof QueryBuilderTDSState &&
|
292
293
|
queryBuilderState.fetchStructureState.implementation
|
293
|
-
.showPostFilterPanel ? (
|
294
|
+
.showPostFilterPanel ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 736, columnNumber: 53 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 732, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Post-Filter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 740, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 719, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
|
294
295
|
!(queryBuilderState.fetchStructureState
|
295
|
-
.implementation instanceof QueryBuilderTDSState), children: [
|
296
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 755, columnNumber: 67 }, this)) : (_jsxDEV(CalendarClockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 757, columnNumber: 32 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 754, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Enable Calendar" }, void 0, false, { fileName: _jsxFileName, lineNumber: 761, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 744, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: toggleTypedRelation, disabled: !queryBuilderState.isQuerySupported ||
|
296
297
|
!(queryBuilderState.fetchStructureState
|
297
|
-
.implementation instanceof QueryBuilderTDSState), children: [
|
298
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsxDEV(MenuContentItemIcon, { children: queryBuilderState.isFetchStructureTyped ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 776, columnNumber: 71 }, this)) : null }, void 0, false, { fileName: _jsxFileName, lineNumber: 775, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Enable Typed TDS (BETA)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 780, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 765, columnNumber: 23 }, this), _jsxDEV(MenuContentDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 784, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: (queryBuilderState.isQuerySupported &&
|
298
299
|
queryBuilderState.fetchStructureState
|
299
300
|
.implementation instanceof QueryBuilderTDSState &&
|
300
301
|
queryBuilderState.fetchStructureState.implementation
|
301
302
|
.projectionColumns.length === 0) ||
|
302
303
|
!queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
303
304
|
? 'Please fix query errors to check entitlements'
|
304
|
-
: '', children: [
|
305
|
+
: '', children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(DataAccessIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 802, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 801, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Check Entitlements" }, void 0, false, { fileName: _jsxFileName, lineNumber: 804, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 785, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: editPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
305
306
|
? 'Please fix query errors to edit in Pure'
|
306
|
-
: undefined, children: [
|
307
|
+
: undefined, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(HackerIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 818, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 817, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Edit Pure" }, void 0, false, { fileName: _jsxFileName, lineNumber: 820, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 808, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: showPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
307
308
|
? 'Please fix query errors to edit in Pure'
|
308
|
-
: undefined, children: [
|
309
|
+
: undefined, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(CodeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 832, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 831, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Pure" }, void 0, false, { fileName: _jsxFileName, lineNumber: 834, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 822, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: showProtocol, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
309
310
|
? 'Please fix query errors to show query protocol'
|
310
|
-
: undefined, children: [
|
311
|
-
.hasCompleted && (
|
311
|
+
: undefined, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(SerializeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 846, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 845, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Protocol" }, void 0, false, { fileName: _jsxFileName, lineNumber: 848, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 836, columnNumber: 23 }, this), _jsxDEV(MenuContentItem, { onClick: compileQuery, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(HammerIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 854, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 853, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Compile Query (F9)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 856, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 852, columnNumber: 23 }, this), queryBuilderState.changeDetectionState.initState
|
312
|
+
.hasCompleted && (_jsxDEV(MenuContentItem, { disabled: !queryBuilderState.changeDetectionState.hasChanged, onClick: showDiff, title: queryBuilderState.changeDetectionState.hasChanged
|
312
313
|
? 'Show changes'
|
313
|
-
: 'Query has not been changed', children: [
|
314
|
-
?.TEMPORARY__disableQueryBuilderChat && (
|
314
|
+
: 'Query has not been changed', children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(DiffIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 874, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 873, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Query Diff" }, void 0, false, { fileName: _jsxFileName, lineNumber: 876, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 861, columnNumber: 43 }, this)), !queryBuilderState.config
|
315
|
+
?.TEMPORARY__disableQueryBuilderChat && (_jsxDEV(MenuContentItem, { onClick: openQueryChat, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(ChatIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 885, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 884, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Open Query Chat" }, void 0, false, { fileName: _jsxFileName, lineNumber: 887, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 882, columnNumber: 66 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 607, columnNumber: 28 }, this), menuProps: {
|
315
316
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
316
317
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
317
318
|
elevation: 7,
|
318
|
-
}, children: [
|
319
|
+
}, children: [_jsxDEV("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }, void 0, false, { fileName: _jsxFileName, lineNumber: 900, columnNumber: 19 }, this), _jsxDEV(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 903, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 604, columnNumber: 17 }, this), _jsxDEV(DropdownMenu, { className: "query-builder__header__advanced-dropdown", content: _jsxDEV(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxDEV(MenuContentItem, { onClick: openQueryTutorial, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(DocumentationIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 913, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 912, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Open Documentation" }, void 0, false, { fileName: _jsxFileName, lineNumber: 915, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 910, columnNumber: 42 }, this)), frequentlyAskedQuestionEntry && (_jsxDEV(MenuContentItem, { onClick: openFrequentlyAskedQuestions, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(QuestionIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 923, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 922, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Frequently Asked Questions" }, void 0, false, { fileName: _jsxFileName, lineNumber: 925, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 920, columnNumber: 57 }, this)), supportTicketsEntry && (_jsxDEV(MenuContentItem, { onClick: openSupportTickets, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(QuestionIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 933, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 932, columnNumber: 27 }, this), _jsxDEV(MenuContentItemLabel, { children: "Open Support Tickets" }, void 0, false, { fileName: _jsxFileName, lineNumber: 935, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 930, columnNumber: 48 }, this)), _jsxDEV(MenuContentItem, { onClick: toggleAssistant, children: [_jsxDEV(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsxDEV(CheckIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 942, columnNumber: 75 }, this)) : (_jsxDEV(AssistantIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 944, columnNumber: 32 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 941, columnNumber: 25 }, this), _jsxDEV(MenuContentItemLabel, { children: "Show Virtual Assistant" }, void 0, false, { fileName: _jsxFileName, lineNumber: 948, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 940, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 907, columnNumber: 28 }, this), children: [_jsxDEV("div", { className: "query-builder__header__advanced-dropdown__label", title: "See more options", children: "Help..." }, void 0, false, { fileName: _jsxFileName, lineNumber: 955, columnNumber: 19 }, this), _jsxDEV(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 961, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 905, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 570, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 543, columnNumber: 13 }, this), _jsxDEV("div", { className: "query-builder__main", children: _jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxDEV(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 450, minSize: 300, children: _jsxDEV(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxDEV(ResizablePanel, { minSize: 40, direction: 1, children: _jsxDEV(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 977, columnNumber: 31 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 976, columnNumber: 29 }, this), queryBuilderState.showFunctionsExplorerPanel && (_jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 982, columnNumber: 79 }, this)), queryBuilderState.showFunctionsExplorerPanel && (_jsxDEV(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
|
319
320
|
? [1, -1]
|
320
|
-
: -1, children:
|
321
|
-
.showConstantPanel &&
|
322
|
-
.showConstantPanel && (
|
323
|
-
.showCheckEntitlementsViewer && (
|
321
|
+
: -1, children: _jsxDEV(QueryBuilderFunctionsExplorerPanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 994, columnNumber: 33 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 985, columnNumber: 79 }, this)), queryBuilderState.showParametersPanel && (_jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1000, columnNumber: 72 }, this)), queryBuilderState.showParametersPanel && (_jsxDEV(ResizablePanel, { minSize: 40, direction: -1, children: _jsxDEV(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1005, columnNumber: 33 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1003, columnNumber: 72 }, this)), queryBuilderState.constantState
|
322
|
+
.showConstantPanel && _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1012, columnNumber: 52 }, this), queryBuilderState.constantState
|
323
|
+
.showConstantPanel && (_jsxDEV(ResizablePanel, { minSize: 40, direction: -1, children: _jsxDEV(QueryBuilderConstantExpressionPanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1016, columnNumber: 33 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1014, columnNumber: 54 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 974, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 971, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 970, columnNumber: 23 }, this), _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1024, columnNumber: 23 }, this), _jsxDEV(ResizablePanel, { minSize: 300, children: _jsxDEV(QueryBuilderFetchStructurePanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1026, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1025, columnNumber: 23 }, this), showPostFetchStructurePanel && (_jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1030, columnNumber: 56 }, this)), showPostFetchStructurePanel && (_jsxDEV(ResizablePanel, { minSize: 300, children: renderPostFetchStructure() }, void 0, false, { fileName: _jsxFileName, lineNumber: 1033, columnNumber: 56 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 968, columnNumber: 40 }, this)) : (_jsxDEV(QueryBuilderUnsupportedQueryEditor, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1039, columnNumber: 24 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 967, columnNumber: 17 }, this), queryBuilderState.isResultPanelHidden ? null : (_jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1045, columnNumber: 66 }, this)), queryBuilderState.isResultPanelHidden ? null : (_jsxDEV(ResizablePanel, { size: 300, minSize: 40, children: _jsxDEV(QueryBuilderResultPanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1050, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1048, columnNumber: 66 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 966, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 965, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 542, columnNumber: 11 }, this), queryBuilderState.isQueryChatOpened && (_jsxDEV(QueryChat, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1058, columnNumber: 52 }, this)), queryBuilderState.textEditorState.mode && (_jsxDEV(QueryBuilderTextEditor, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1061, columnNumber: 55 }, this)), queryBuilderState.changeDetectionState.diffViewState && (_jsxDEV(QueryBuilderDiffViewPanelDiaglog, { diffViewState: queryBuilderState.changeDetectionState.diffViewState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1064, columnNumber: 69 }, this)), queryBuilderState.checkEntitlementsState
|
324
|
+
.showCheckEntitlementsViewer && (_jsxDEV(Dialog, { open: queryBuilderState.checkEntitlementsState
|
324
325
|
.showCheckEntitlementsViewer, onClose: handleClose, classes: {
|
325
326
|
root: 'editor-modal__root-container',
|
326
327
|
container: 'editor-modal__container',
|
327
328
|
paper: 'editor-modal__content',
|
328
|
-
}, children:
|
329
|
-
.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [
|
330
|
-
.dataAccessState ? (
|
331
|
-
.dataAccessState })) : (
|
329
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService
|
330
|
+
.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsxDEV(ModalHeader, { title: "Query Entitlements" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1092, columnNumber: 17 }, this), _jsxDEV(ModalBody, { className: "query-builder__data-access-overview", children: _jsxDEV("div", { className: "query-builder__data-access-overview__container", children: queryBuilderState.checkEntitlementsState
|
331
|
+
.dataAccessState ? (_jsxDEV(DataAccessOverview, { dataAccessState: queryBuilderState.checkEntitlementsState
|
332
|
+
.dataAccessState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1096, columnNumber: 43 }, this)) : (_jsxDEV(BlankPanelContent, { children: "No data access information available" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1103, columnNumber: 26 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1094, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1093, columnNumber: 17 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Close", onClick: handleClose, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1111, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1110, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1085, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1072, columnNumber: 46 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 533, columnNumber: 9 }, this), queryBuilderState.workflowState.showStatusBar ? (_jsxDEV(QueryBuilderStatusBar, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1121, columnNumber: 59 }, this)) : null] }, void 0, true, { fileName: _jsxFileName, lineNumber: 524, columnNumber: 13 }, this));
|
332
333
|
});
|
333
334
|
//# sourceMappingURL=QueryBuilder.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,EACJ,iBAAiB,EACjB,QAAQ,EACR,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,gCAAgC,GAEjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,mBAAmB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BAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,EACJ,iBAAiB,EACjB,QAAQ,EACR,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,gCAAgC,GAEjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,M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AuB;yBAC/B,YAED,QAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iCAC5B,mCAAmC,EAExC,SAAS,EAAC,cAAc,aAExB,QAAC,WAAW,IAAC,KAAK,EAAC,oBAAoB,wFAAG,EAC1C,QAAC,SAAS,IAAC,SAAS,EAAC,qCAAqC,YACxD,iBAAK,SAAS,EAAC,gDAAgD,YAC5D,iBAAiB,CAAC,sBAAsB;6CACtC,eAAe,CAAC,CAAC,CAAC,CACnB,QAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,wFAEpB,CACH,CAAC,CAAC,CAAC,CACF,QAAC,iBAAiB,4IAEE,CACrB,wFACG,wFACI,EACZ,QAAC,WAAW,cACV,QAAC,iBAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,wFAChB,wFACU,wFACR,wFACD,CACV,sFACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,QAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,wFAAI,CAChE,CAAC,CAAC,CAAC,IAAI,uFACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
17
17
|
export declare const QueryBuilderConstantExpressionPanel: ((props: {
|
18
18
|
queryBuilderState: QueryBuilderState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilderConstantExpressionPanel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAiYxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA4IjD,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderConstantExpressionPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -17,10 +18,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
18
|
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
18
19
|
import { BlankPanelPlaceholder, clsx, CustomSelectorInput, Dialog, InfoCircleIcon, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelFormSection, PanelFormValidatedTextField, PlusIcon, } from '@finos/legend-art';
|
19
20
|
import { PrimitiveType, VariableExpression, Multiplicity, isValidIdentifier, InstanceValue, } from '@finos/legend-graph';
|
20
|
-
import { deepClone } from '@finos/legend-shared';
|
21
21
|
import { observer } from 'mobx-react-lite';
|
22
22
|
import { QueryBuilderSimpleConstantExpressionState, QueryBuilderCalculatedConstantExpressionState, cloneQueryBuilderConstantLambdaEditorState, } from '../stores/QueryBuilderConstantsState.js';
|
23
|
-
import { buildDefaultInstanceValue } from '../stores/shared/ValueSpecificationEditorHelper.js';
|
23
|
+
import { buildDefaultInstanceValue, cloneValueSpecification, } from '../stores/shared/ValueSpecificationEditorHelper.js';
|
24
24
|
import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
|
25
25
|
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
26
26
|
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
@@ -59,7 +59,7 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
|
|
59
59
|
}, []);
|
60
60
|
// Value
|
61
61
|
const stateValue = constantState.value;
|
62
|
-
const [selectedValue, setSelectedValue] = useState(
|
62
|
+
const [selectedValue, setSelectedValue] = useState(cloneValueSpecification(stateValue, queryBuilderState.observerContext));
|
63
63
|
const [shouldFocusOnValue, setShouldFocusOnValue] = useState(!isCreating);
|
64
64
|
const handleValueInputRef = useCallback((ref) => {
|
65
65
|
if (shouldFocusOnValue) {
|
@@ -112,27 +112,27 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
|
|
112
112
|
const valSpec = buildDefaultInstanceValue(queryBuilderState.graphManagerState.graph, selectedType.value, queryBuilderState.observerContext, queryBuilderState.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
|
113
113
|
setSelectedValue(valSpec);
|
114
114
|
};
|
115
|
-
return (
|
115
|
+
return (_jsxDEV(Dialog, { open: Boolean(constantState), onClose: handleCancel, classes: {
|
116
116
|
root: 'editor-modal__root-container',
|
117
117
|
container: 'editor-modal__container',
|
118
118
|
paper: 'editor-modal__content',
|
119
|
-
}, children:
|
119
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsxDEV(ModalHeader, { title: `${isCreating ? 'Create Constant' : 'Update Constant'}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsxDEV(PanelFormValidatedTextField, { name: "Constant Name", prompt: "Name of constant. Should be descriptive of its purpose.", update: (value) => {
|
120
120
|
setSelectedName(value ?? '');
|
121
121
|
setHasEditedName(true);
|
122
122
|
}, onBlur: () => setHasEditedName(true), validate: (constantInput) => !hasEditedName
|
123
123
|
? undefined
|
124
|
-
: getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), value: selectedName, isReadOnly: false, ref: handleNameInputRef }),
|
124
|
+
: getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), value: selectedName, isReadOnly: false, ref: handleNameInputRef }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 13 }, this), _jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the constant." }, void 0, false, { fileName: _jsxFileName, lineNumber: 239, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
|
125
125
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
126
126
|
darkMode: !applicationStore.layoutService
|
127
127
|
.TEMPORARY__isLightColorThemeEnabled,
|
128
|
-
}) })] }),
|
129
|
-
setSelectedValue(
|
128
|
+
}) }, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 235, columnNumber: 13 }, this), _jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Value" }, void 0, false, { fileName: _jsxFileName, lineNumber: 259, columnNumber: 15 }, this), _jsxDEV("div", { className: "query-builder__variable-editor", children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: selectedValue, setValueSpecification: (val) => {
|
129
|
+
setSelectedValue(cloneValueSpecification(val, queryBuilderState.observerContext));
|
130
130
|
}, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
131
131
|
expectedType: selectedType.value,
|
132
132
|
match: selectedType.value === PrimitiveType.DATETIME,
|
133
|
-
}, resetValue: resetConstantValue, ref: handleValueInputRef }) })] })] }),
|
133
|
+
}, resetValue: resetConstantValue, ref: handleValueInputRef }, void 0, false, { fileName: _jsxFileName, lineNumber: 263, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 262, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 258, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 210, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { text: isCreating ? 'Create' : 'Apply', disabled: !isNameValid ||
|
134
134
|
(selectedValue instanceof InstanceValue &&
|
135
|
-
!isValidInstanceValue(selectedValue)), onClick: handleApply }),
|
135
|
+
!isValidInstanceValue(selectedValue)), onClick: handleApply }, void 0, false, { fileName: _jsxFileName, lineNumber: 286, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 295, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 285, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 201, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 191, columnNumber: 13 }, this));
|
136
136
|
});
|
137
137
|
const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
|
138
138
|
// Read current state
|
@@ -160,17 +160,17 @@ const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
|
|
160
160
|
pretty: true,
|
161
161
|
})).catch(applicationStore.alertUnhandledError);
|
162
162
|
}, [applicationStore, lambdaStateCopy]);
|
163
|
-
return (
|
163
|
+
return (_jsxDEV(Dialog, { open: true, onClose: handleCancel, classes: {
|
164
164
|
root: 'editor-modal__root-container',
|
165
165
|
container: 'editor-modal__container',
|
166
166
|
paper: 'editor-modal__content',
|
167
|
-
}, children:
|
167
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder__constants__modal', {
|
168
168
|
'query-builder__constants__modal--has-error': Boolean(lambdaStateCopy.parserError),
|
169
|
-
}), children: [
|
169
|
+
}), children: [_jsxDEV(ModalHeader, { children: [_jsxDEV("div", { className: "modal__title", children: "Update Calculated Constants" }, void 0, false, { fileName: _jsxFileName, lineNumber: 365, columnNumber: 13 }, this), lambdaStateCopy.parserError && (_jsxDEV("div", { className: "modal__title__error-badge", children: "Failed to parse query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 366, columnNumber: 46 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 364, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: _jsxDEV("div", { className: clsx('query-builder__constants__modal__content', {
|
170
170
|
backdrop__element: Boolean(lambdaStateCopy.parserError),
|
171
|
-
}), children: [
|
171
|
+
}), children: [_jsxDEV("div", { className: "query-builder__constants__modal__name", children: _jsxDEV(PanelFormValidatedTextField, { value: name, isReadOnly: false, className: "query-builder__constants__modal__name__input input--dark", placeholder: "Constant Name", update: (value) => {
|
172
172
|
setName(value ?? '');
|
173
|
-
}, validate: (constantInput) => getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue) }) }),
|
173
|
+
}, validate: (constantInput) => getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue) }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 15 }, this), _jsxDEV(LambdaEditor, { className: "query-builder__constants__lambda-editor", disabled: lambdaStateCopy.convertingLambdaToStringState.isInProgress, lambdaEditorState: lambdaStateCopy, forceBackdrop: false, autoFocus: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 399, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 373, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 372, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { className: "btn btn--dark", onClick: handleApply, disabled: Boolean(lambdaStateCopy.parserError) || !isNameValid, children: "Apply" }, void 0, false, { fileName: _jsxFileName, lineNumber: 411, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { className: "btn btn--dark", onClick: handleCancel, type: "secondary", children: "Cancel" }, void 0, false, { fileName: _jsxFileName, lineNumber: 418, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 354, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 344, columnNumber: 13 }, this));
|
174
174
|
});
|
175
175
|
export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
176
176
|
const { queryBuilderState } = props;
|
@@ -189,10 +189,10 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
189
189
|
};
|
190
190
|
const renderConstantModal = (val) => {
|
191
191
|
if (val instanceof QueryBuilderSimpleConstantExpressionState) {
|
192
|
-
return (
|
192
|
+
return (_jsxDEV(QueryBuilderSimpleConstantExpressionEditor, { constantState: val }, void 0, false, { fileName: _jsxFileName, lineNumber: 465, columnNumber: 17 }, this));
|
193
193
|
}
|
194
194
|
else if (val instanceof QueryBuilderCalculatedConstantExpressionState) {
|
195
|
-
return (
|
195
|
+
return (_jsxDEV(QuerryBuilderCalculatedConstantExpressionEditor, { constantState: val }, void 0, false, { fileName: _jsxFileName, lineNumber: 469, columnNumber: 17 }, this));
|
196
196
|
}
|
197
197
|
return null;
|
198
198
|
};
|
@@ -208,8 +208,8 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
208
208
|
}
|
209
209
|
return undefined;
|
210
210
|
};
|
211
|
-
return (
|
212
|
-
queryBuilderState.constantState.constants.map((constState) => (
|
211
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_CONSTANTS, className: "panel query-builder__variables", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__label", children: "constants" }, void 0, false, { fileName: _jsxFileName, lineNumber: 509, columnNumber: 13 }, this), _jsxDEV("div", { onClick: seeDocumentation, className: "query-builder__variables__info", title: `Constants are static values set to a variable name that can be leveraged within your query. They remain the same for ALL executions`, children: _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 515, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 510, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 508, columnNumber: 11 }, this), !isReadOnly && (_jsxDEV("div", { className: "panel__header__actions", children: _jsxDEV("button", { className: "panel__header__action", tabIndex: -1, onClick: addConstant, title: "Add Constant", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 526, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 520, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 518, columnNumber: 28 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 507, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content query-builder__variables__content", children: _jsxDEV(_Fragment, { children: [Boolean(queryBuilderState.constantState.constants) &&
|
212
|
+
queryBuilderState.constantState.constants.map((constState) => (_jsxDEV(VariableViewer, { queryBuilderState: queryBuilderState, variable: constState.variable, value: {
|
213
213
|
val: constState instanceof
|
214
214
|
QueryBuilderSimpleConstantExpressionState
|
215
215
|
? constState.value
|
@@ -217,7 +217,7 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
217
217
|
}, actions: {
|
218
218
|
editVariable: () => constantState.setSelectedConstant(constState),
|
219
219
|
deleteVariable: () => constantState.removeConstant(constState),
|
220
|
-
}, extraContextMenuActions: getExtraContextMenu(constState), isReadOnly: isReadOnly }, constState.uuid))), !constantState.constants.length && (
|
221
|
-
renderConstantModal(constantState.selectedConstant)] }));
|
220
|
+
}, extraContextMenuActions: getExtraContextMenu(constState), isReadOnly: isReadOnly }, constState.uuid, false, { fileName: _jsxFileName, lineNumber: 534, columnNumber: 78 }, this))), !constantState.constants.length && (_jsxDEV(BlankPanelPlaceholder, { text: "Add a Constant", disabled: isReadOnly, onClick: addConstant, clickActionType: "add", previewText: "No constants", tooltipText: "Click to add a new constant" }, void 0, false, { fileName: _jsxFileName, lineNumber: 556, columnNumber: 50 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 532, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 531, columnNumber: 9 }, this), constantState.selectedConstant &&
|
221
|
+
renderConstantModal(constantState.selectedConstant)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 502, columnNumber: 13 }, this));
|
222
222
|
});
|
223
223
|
//# sourceMappingURL=QueryBuilderConstantExpressionPanel.js.map
|