@finos/legend-query-builder 4.14.49 → 4.14.51
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 +9 -9
@@ -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-
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilder.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/QueryBuilder.tsx";
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -51,7 +50,7 @@ const QueryBuilderPostGraphFetchPanel = observer((props) => {
|
|
51
50
|
if (!graphFetchState.TEMPORARY__showPostFetchStructurePanel) {
|
52
51
|
return null;
|
53
52
|
}
|
54
|
-
return (
|
53
|
+
return (_jsx(QueryBuilderFilterPanel, { queryBuilderState: graphFetchState.queryBuilderState }));
|
55
54
|
});
|
56
55
|
const QueryBuilderStatusBar = observer((props) => {
|
57
56
|
const { queryBuilderState } = props;
|
@@ -61,28 +60,28 @@ const QueryBuilderStatusBar = observer((props) => {
|
|
61
60
|
const compile = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
|
62
61
|
const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
|
63
62
|
const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
|
64
|
-
return (
|
63
|
+
return (_jsxs("div", { className: "query-builder__status-bar", children: [_jsx("div", { className: "query-builder__status-bar__left" }), _jsxs("div", { className: "query-builder__status-bar__right", children: [queryBuilderState.changeDetectionState.initState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__view-diff-btn'), disabled: !queryBuilderState.changeDetectionState.hasChanged ||
|
65
64
|
!queryBuilderState.canBuildQuery, onClick: showDiff, tabIndex: -1, title: !queryBuilderState.canBuildQuery
|
66
65
|
? 'Please fix query errors to show changes'
|
67
66
|
: queryBuilderState.changeDetectionState.hasChanged
|
68
67
|
? 'Show changes'
|
69
|
-
: 'Query has not been changed', children:
|
68
|
+
: 'Query has not been changed', children: _jsx(DiffIcon, {}) }), queryBuilderState.changeDetectionState.diffViewState && (_jsx(QueryBuilderDiffViewPanelDiaglog, { diffViewState: queryBuilderState.changeDetectionState.diffViewState }))] })), queryBuilderState.isQueryChatOpened && (_jsx(QueryChat, { queryBuilderState: queryBuilderState })), !queryBuilderState.config?.TEMPORARY__disableQueryBuilderChat && (_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
70
69
|
'query-builder__status-bar__action__toggler--toggled': queryBuilderState.isQueryChatOpened === true,
|
71
|
-
}), onClick: openQueryChat, tabIndex: -1, title: "Open Query Chat", children:
|
70
|
+
}), onClick: openQueryChat, tabIndex: -1, title: "Open Query Chat", children: _jsx(ChatIcon, {}) })), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__compile-btn', {
|
72
71
|
'query-builder__status-bar__compile-btn--wiggling': queryBuilderState.queryCompileState.isInProgress,
|
73
|
-
}), disabled: queryBuilderState.queryCompileState.isInProgress, onClick: compile, tabIndex: -1, title: "Compile (F9)", children:
|
72
|
+
}), disabled: queryBuilderState.queryCompileState.isInProgress, onClick: compile, tabIndex: -1, title: "Compile (F9)", children: _jsx(HammerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
74
73
|
'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
|
75
74
|
QueryBuilderTextEditorMode.JSON,
|
76
75
|
}), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.JSON), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
77
76
|
? 'Please fix query errors to show query protocol'
|
78
|
-
: 'Show Query Protocol', children: `{ }` }
|
77
|
+
: 'Show Query Protocol', children: `{ }` }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
79
78
|
'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
|
80
79
|
QueryBuilderTextEditorMode.TEXT,
|
81
80
|
}), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
82
81
|
? 'Please fix query errors to edit in Pure'
|
83
|
-
: 'Edit Pure', children:
|
82
|
+
: 'Edit Pure', children: _jsx(HackerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
84
83
|
'query-builder__status-bar__action__toggler--toggled': !applicationStore.assistantService.isHidden,
|
85
|
-
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children:
|
84
|
+
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children: _jsx(AssistantIcon, {}) })] })] }));
|
86
85
|
});
|
87
86
|
export const QueryBuilder = observer((props) => {
|
88
87
|
const { queryBuilderState } = props;
|
@@ -208,11 +207,11 @@ export const QueryBuilder = observer((props) => {
|
|
208
207
|
.TEMPORARY__showPostFetchStructurePanel;
|
209
208
|
const renderPostFetchStructure = () => {
|
210
209
|
if (fetchStructureState.implementation instanceof QueryBuilderTDSState) {
|
211
|
-
return (
|
210
|
+
return (_jsx(QueryBuilderPostTDSPanel, { tdsState: fetchStructureState.implementation }));
|
212
211
|
}
|
213
212
|
else if (fetchStructureState.implementation instanceof
|
214
213
|
QueryBuilderGraphFetchTreeState) {
|
215
|
-
return (
|
214
|
+
return (_jsx(QueryBuilderPostGraphFetchPanel, { graphFetchState: fetchStructureState.implementation }));
|
216
215
|
}
|
217
216
|
return null;
|
218
217
|
};
|
@@ -244,7 +243,7 @@ export const QueryBuilder = observer((props) => {
|
|
244
243
|
const extraHelpMenuContentItems = applicationStore.pluginManager
|
245
244
|
.getApplicationPlugins()
|
246
245
|
.flatMap((plugin) => plugin.getExtraQueryBuilderHelpMenuActionConfigurations?.() ?? [])
|
247
|
-
.map((item) => (
|
246
|
+
.map((item) => (_jsxs(MenuContentItem, { title: item.title ?? '', disabled: item.disableFunc?.(queryBuilderState) ?? false, onClick: () => item.onClick(queryBuilderState), children: [item.icon && _jsx(MenuContentItemIcon, { children: item.icon }), _jsx(MenuContentItemLabel, { children: item.label })] }, item.key)));
|
248
247
|
const compileQuery = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
|
249
248
|
const showDiff = () => queryBuilderState.changeDetectionState.showDiffViewPanel();
|
250
249
|
const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
|
@@ -260,75 +259,75 @@ export const QueryBuilder = observer((props) => {
|
|
260
259
|
}
|
261
260
|
}
|
262
261
|
}, [queryBuilderState, queryBuilderState.hashCode]);
|
263
|
-
return (
|
262
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", ref: queryBuilderRef, children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: clsx('query-builder__body', {
|
264
263
|
'query-builder__body__status-bar': queryBuilderState.workflowState.showStatusBar,
|
265
|
-
}), children: [
|
264
|
+
}), children: [_jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.resultState.exportState.isInProgress }), _jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_ACTIONS, className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), applicationStore.pluginManager
|
266
265
|
.getApplicationPlugins()
|
267
266
|
.flatMap((plugin) => plugin.getExtraQueryBuilderHeaderTitleConfigurations?.() ?? [])
|
268
|
-
.map((actionConfig) => (
|
269
|
-
queryBuilderState.isQuerySupported, undo: undo }
|
270
|
-
queryBuilderState.isQuerySupported, redo: redo }
|
267
|
+
.map((actionConfig) => (_jsx(Fragment, { children: actionConfig.renderer(queryBuilderState) }, actionConfig.key)))] }), _jsxs("div", { className: "query-builder__header__actions", children: [_jsxs("div", { className: "query-builder__header__actions__undo-redo", children: [_jsx(UndoButton, { parent: queryBuilderRef, canUndo: queryBuilderState.changeHistoryState.canUndo &&
|
268
|
+
queryBuilderState.isQuerySupported, undo: undo }), _jsx(RedoButton, { parent: queryBuilderRef, canRedo: queryBuilderState.changeHistoryState.canRedo &&
|
269
|
+
queryBuilderState.isQuerySupported, redo: redo })] }), applicationStore.pluginManager
|
271
270
|
.getApplicationPlugins()
|
272
271
|
.flatMap((plugin) => plugin.getExtraQueryBuilderHeaderActionConfigurations?.() ??
|
273
272
|
[])
|
274
273
|
.sort((A, B) => B.category - A.category)
|
275
|
-
.map((actionConfig) => (
|
274
|
+
.map((actionConfig) => (_jsx(Fragment, { children: actionConfig.renderer(queryBuilderState) }, actionConfig.key))), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
276
275
|
queryBuilderState.parametersState.parameterStates
|
277
|
-
.length > 0, children: [
|
278
|
-
queryBuilderState.constantState.constants.length > 0, children: [
|
279
|
-
.showConstantPanel ? (
|
280
|
-
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [
|
276
|
+
.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
|
277
|
+
queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
|
278
|
+
.showConstantPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Constant(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
279
|
+
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Filter" })] }), _jsxs(MenuContentItem, { onClick: onChangeFetchStructureImplementation(isTDSState
|
281
280
|
? FETCH_STRUCTURE_IMPLEMENTATION.GRAPH_FETCH
|
282
|
-
: FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE, fetchStructureState), disabled: !queryBuilderState.isQuerySupported, children: [
|
281
|
+
: FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE, fetchStructureState), disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: isTDSState ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Tabular Data Structure" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: toggleShowOLAPGroupByPanel, disabled: !queryBuilderState.isQuerySupported ||
|
283
282
|
!(queryBuilderState.fetchStructureState
|
284
283
|
.implementation instanceof QueryBuilderTDSState) ||
|
285
284
|
queryBuilderState.fetchStructureState.implementation
|
286
|
-
.windowState.windowColumns.length > 0, children: [
|
285
|
+
.windowState.windowColumns.length > 0, children: [_jsx(MenuContentItemIcon, { children: isTDSState &&
|
287
286
|
guaranteeType(queryBuilderState.fetchStructureState
|
288
|
-
.implementation, QueryBuilderTDSState).showWindowFuncPanel ? (
|
287
|
+
.implementation, QueryBuilderTDSState).showWindowFuncPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Window Function(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowPostFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
289
288
|
!(queryBuilderState.fetchStructureState
|
290
289
|
.implementation instanceof QueryBuilderTDSState) ||
|
291
|
-
Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [
|
290
|
+
Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
|
292
291
|
.implementation instanceof QueryBuilderTDSState &&
|
293
292
|
queryBuilderState.fetchStructureState.implementation
|
294
|
-
.showPostFilterPanel ? (
|
293
|
+
.showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
|
295
294
|
!(queryBuilderState.fetchStructureState
|
296
|
-
.implementation instanceof QueryBuilderTDSState), children: [
|
295
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : (_jsx(CalendarClockIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Enable Calendar" })] }), _jsxs(MenuContentItem, { onClick: toggleTypedRelation, disabled: !queryBuilderState.isQuerySupported ||
|
297
296
|
!(queryBuilderState.fetchStructureState
|
298
|
-
.implementation instanceof QueryBuilderTDSState), children: [
|
297
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isFetchStructureTyped ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Enable Typed TDS (BETA)" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: (queryBuilderState.isQuerySupported &&
|
299
298
|
queryBuilderState.fetchStructureState
|
300
299
|
.implementation instanceof QueryBuilderTDSState &&
|
301
300
|
queryBuilderState.fetchStructureState.implementation
|
302
301
|
.projectionColumns.length === 0) ||
|
303
302
|
!queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
304
303
|
? 'Please fix query errors to check entitlements'
|
305
|
-
: '', children: [
|
304
|
+
: '', children: [_jsx(MenuContentItemIcon, { children: _jsx(DataAccessIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
306
305
|
? 'Please fix query errors to edit in Pure'
|
307
|
-
: undefined, children: [
|
306
|
+
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(HackerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Edit Pure" })] }), _jsxs(MenuContentItem, { onClick: showPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
308
307
|
? 'Please fix query errors to edit in Pure'
|
309
|
-
: undefined, children: [
|
308
|
+
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(CodeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Pure" })] }), _jsxs(MenuContentItem, { onClick: showProtocol, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
310
309
|
? 'Please fix query errors to show query protocol'
|
311
|
-
: undefined, children: [
|
312
|
-
.hasCompleted && (
|
310
|
+
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(SerializeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Protocol" })] }), _jsxs(MenuContentItem, { onClick: compileQuery, children: [_jsx(MenuContentItemIcon, { children: _jsx(HammerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Compile Query (F9)" })] }), queryBuilderState.changeDetectionState.initState
|
311
|
+
.hasCompleted && (_jsxs(MenuContentItem, { disabled: !queryBuilderState.changeDetectionState.hasChanged, onClick: showDiff, title: queryBuilderState.changeDetectionState.hasChanged
|
313
312
|
? 'Show changes'
|
314
|
-
: 'Query has not been changed', children: [
|
315
|
-
?.TEMPORARY__disableQueryBuilderChat && (
|
313
|
+
: 'Query has not been changed', children: [_jsx(MenuContentItemIcon, { children: _jsx(DiffIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Query Diff" })] })), !queryBuilderState.config
|
314
|
+
?.TEMPORARY__disableQueryBuilderChat && (_jsxs(MenuContentItem, { onClick: openQueryChat, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChatIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Query Chat" })] }))] }), menuProps: {
|
316
315
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
317
316
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
318
317
|
elevation: 7,
|
319
|
-
}, children: [
|
318
|
+
}, children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] }), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", content: _jsxs(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: _jsx(DocumentationIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Documentation" })] })), frequentlyAskedQuestionEntry && (_jsxs(MenuContentItem, { onClick: openFrequentlyAskedQuestions, children: [_jsx(MenuContentItemIcon, { children: _jsx(QuestionIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Frequently Asked Questions" })] })), supportTicketsEntry && (_jsxs(MenuContentItem, { onClick: openSupportTickets, children: [_jsx(MenuContentItemIcon, { children: _jsx(QuestionIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Support Tickets" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : (_jsx(AssistantIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Show Virtual Assistant" })] })] }), children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", title: "See more options", children: "Help..." }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] })] })] }), _jsx("div", { className: "query-builder__main", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 300, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 40, direction: 1, children: _jsx(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }) }), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
|
320
319
|
? [1, -1]
|
321
|
-
: -1, children:
|
322
|
-
.showConstantPanel &&
|
323
|
-
.showConstantPanel && (
|
324
|
-
.showCheckEntitlementsViewer && (
|
320
|
+
: -1, children: _jsx(QueryBuilderFunctionsExplorerPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.showParametersPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showParametersPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.constantState
|
321
|
+
.showConstantPanel && _jsx(ResizablePanelSplitter, {}), queryBuilderState.constantState
|
322
|
+
.showConstantPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderConstantExpressionPanel, { queryBuilderState: queryBuilderState }) }))] }) }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { minSize: 300, children: _jsx(QueryBuilderFetchStructurePanel, { queryBuilderState: queryBuilderState }) }), showPostFetchStructurePanel && (_jsx(ResizablePanelSplitter, {})), showPostFetchStructurePanel && (_jsx(ResizablePanel, { minSize: 300, children: renderPostFetchStructure() }))] })) : (_jsx(QueryBuilderUnsupportedQueryEditor, { queryBuilderState: queryBuilderState })) }), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanelSplitter, {})), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanel, { size: 300, minSize: 40, children: _jsx(QueryBuilderResultPanel, { queryBuilderState: queryBuilderState }) }))] }) })] }), queryBuilderState.isQueryChatOpened && (_jsx(QueryChat, { queryBuilderState: queryBuilderState })), queryBuilderState.textEditorState.mode && (_jsx(QueryBuilderTextEditor, { queryBuilderState: queryBuilderState })), queryBuilderState.changeDetectionState.diffViewState && (_jsx(QueryBuilderDiffViewPanelDiaglog, { diffViewState: queryBuilderState.changeDetectionState.diffViewState })), queryBuilderState.checkEntitlementsState
|
323
|
+
.showCheckEntitlementsViewer && (_jsx(Dialog, { open: queryBuilderState.checkEntitlementsState
|
325
324
|
.showCheckEntitlementsViewer, onClose: handleClose, classes: {
|
326
325
|
root: 'editor-modal__root-container',
|
327
326
|
container: 'editor-modal__container',
|
328
327
|
paper: 'editor-modal__content',
|
329
|
-
}, children:
|
330
|
-
.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [
|
331
|
-
.dataAccessState ? (
|
332
|
-
.dataAccessState }
|
328
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService
|
329
|
+
.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Query Entitlements" }), _jsx(ModalBody, { className: "query-builder__data-access-overview", children: _jsx("div", { className: "query-builder__data-access-overview__container", children: queryBuilderState.checkEntitlementsState
|
330
|
+
.dataAccessState ? (_jsx(DataAccessOverview, { dataAccessState: queryBuilderState.checkEntitlementsState
|
331
|
+
.dataAccessState })) : (_jsx(BlankPanelContent, { children: "No data access information available" })) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: handleClose, type: "secondary" }) })] }) }))] }), queryBuilderState.workflowState.showStatusBar ? (_jsx(QueryBuilderStatusBar, { queryBuilderState: queryBuilderState })) : null] }));
|
333
332
|
});
|
334
333
|
//# 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,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AI,CAChE,CAAC,CAAC,CAAC,IAAI,uFACJ,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,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,yCAA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,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,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"}
|
@@ -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-
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilderConstantExpressionPanel.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/QueryBuilderConstantExpressionPanel.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
|
*
|
@@ -112,27 +111,27 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
|
|
112
111
|
const valSpec = buildDefaultInstanceValue(queryBuilderState.graphManagerState.graph, selectedType.value, queryBuilderState.observerContext, queryBuilderState.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
|
113
112
|
setSelectedValue(valSpec);
|
114
113
|
};
|
115
|
-
return (
|
114
|
+
return (_jsx(Dialog, { open: Boolean(constantState), onClose: handleCancel, classes: {
|
116
115
|
root: 'editor-modal__root-container',
|
117
116
|
container: 'editor-modal__container',
|
118
117
|
paper: 'editor-modal__content',
|
119
|
-
}, children:
|
118
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: `${isCreating ? 'Create Constant' : 'Update Constant'}` }), _jsxs(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsx(PanelFormValidatedTextField, { name: "Constant Name", prompt: "Name of constant. Should be descriptive of its purpose.", update: (value) => {
|
120
119
|
setSelectedName(value ?? '');
|
121
120
|
setHasEditedName(true);
|
122
121
|
}, onBlur: () => setHasEditedName(true), validate: (constantInput) => !hasEditedName
|
123
122
|
? undefined
|
124
|
-
: getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), value: selectedName, isReadOnly: false, ref: handleNameInputRef }
|
123
|
+
: getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), value: selectedName, isReadOnly: false, ref: handleNameInputRef }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the constant." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
|
125
124
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
126
125
|
darkMode: !applicationStore.layoutService
|
127
126
|
.TEMPORARY__isLightColorThemeEnabled,
|
128
|
-
}) }
|
127
|
+
}) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Value" }), _jsx("div", { className: "query-builder__variable-editor", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: selectedValue, setValueSpecification: (val) => {
|
129
128
|
setSelectedValue(cloneValueSpecification(val, queryBuilderState.observerContext));
|
130
129
|
}, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
131
130
|
expectedType: selectedType.value,
|
132
131
|
match: selectedType.value === PrimitiveType.DATETIME,
|
133
|
-
}, resetValue: resetConstantValue, ref: handleValueInputRef }
|
132
|
+
}, resetValue: resetConstantValue, ref: handleValueInputRef }) })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Apply', disabled: !isNameValid ||
|
134
133
|
(selectedValue instanceof InstanceValue &&
|
135
|
-
!isValidInstanceValue(selectedValue)), onClick: handleApply }
|
134
|
+
!isValidInstanceValue(selectedValue)), onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
|
136
135
|
});
|
137
136
|
const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
|
138
137
|
// Read current state
|
@@ -160,17 +159,17 @@ const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
|
|
160
159
|
pretty: true,
|
161
160
|
})).catch(applicationStore.alertUnhandledError);
|
162
161
|
}, [applicationStore, lambdaStateCopy]);
|
163
|
-
return (
|
162
|
+
return (_jsx(Dialog, { open: true, onClose: handleCancel, classes: {
|
164
163
|
root: 'editor-modal__root-container',
|
165
164
|
container: 'editor-modal__container',
|
166
165
|
paper: 'editor-modal__content',
|
167
|
-
}, children:
|
166
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder__constants__modal', {
|
168
167
|
'query-builder__constants__modal--has-error': Boolean(lambdaStateCopy.parserError),
|
169
|
-
}), children: [
|
168
|
+
}), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children: "Update Calculated Constants" }), lambdaStateCopy.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse query" }))] }), _jsx(ModalBody, { children: _jsxs("div", { className: clsx('query-builder__constants__modal__content', {
|
170
169
|
backdrop__element: Boolean(lambdaStateCopy.parserError),
|
171
|
-
}), children: [
|
170
|
+
}), children: [_jsx("div", { className: "query-builder__constants__modal__name", children: _jsx(PanelFormValidatedTextField, { value: name, isReadOnly: false, className: "query-builder__constants__modal__name__input input--dark", placeholder: "Constant Name", update: (value) => {
|
172
171
|
setName(value ?? '');
|
173
|
-
}, validate: (constantInput) => getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue) }
|
172
|
+
}, validate: (constantInput) => getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue) }) }), _jsx(LambdaEditor, { className: "query-builder__constants__lambda-editor", disabled: lambdaStateCopy.convertingLambdaToStringState.isInProgress, lambdaEditorState: lambdaStateCopy, forceBackdrop: false, autoFocus: true })] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { className: "btn btn--dark", onClick: handleApply, disabled: Boolean(lambdaStateCopy.parserError) || !isNameValid, children: "Apply" }), _jsx(ModalFooterButton, { className: "btn btn--dark", onClick: handleCancel, type: "secondary", children: "Cancel" })] })] }) }));
|
174
173
|
});
|
175
174
|
export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
176
175
|
const { queryBuilderState } = props;
|
@@ -189,10 +188,10 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
189
188
|
};
|
190
189
|
const renderConstantModal = (val) => {
|
191
190
|
if (val instanceof QueryBuilderSimpleConstantExpressionState) {
|
192
|
-
return (
|
191
|
+
return (_jsx(QueryBuilderSimpleConstantExpressionEditor, { constantState: val }));
|
193
192
|
}
|
194
193
|
else if (val instanceof QueryBuilderCalculatedConstantExpressionState) {
|
195
|
-
return (
|
194
|
+
return (_jsx(QuerryBuilderCalculatedConstantExpressionEditor, { constantState: val }));
|
196
195
|
}
|
197
196
|
return null;
|
198
197
|
};
|
@@ -208,8 +207,8 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
208
207
|
}
|
209
208
|
return undefined;
|
210
209
|
};
|
211
|
-
return (
|
212
|
-
queryBuilderState.constantState.constants.map((constState) => (
|
210
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_CONSTANTS, className: "panel query-builder__variables", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "constants" }), _jsx("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: _jsx(InfoCircleIcon, {}) })] }), !isReadOnly && (_jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action", tabIndex: -1, onClick: addConstant, title: "Add Constant", children: _jsx(PlusIcon, {}) }) }))] }), _jsx("div", { className: "panel__content query-builder__variables__content", children: _jsxs(_Fragment, { children: [Boolean(queryBuilderState.constantState.constants) &&
|
211
|
+
queryBuilderState.constantState.constants.map((constState) => (_jsx(VariableViewer, { queryBuilderState: queryBuilderState, variable: constState.variable, value: {
|
213
212
|
val: constState instanceof
|
214
213
|
QueryBuilderSimpleConstantExpressionState
|
215
214
|
? constState.value
|
@@ -217,7 +216,7 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
217
216
|
}, actions: {
|
218
217
|
editVariable: () => constantState.setSelectedConstant(constState),
|
219
218
|
deleteVariable: () => constantState.removeConstant(constState),
|
220
|
-
}, extraContextMenuActions: getExtraContextMenu(constState), isReadOnly: isReadOnly }, constState.uuid
|
221
|
-
renderConstantModal(constantState.selectedConstant)] }
|
219
|
+
}, extraContextMenuActions: getExtraContextMenu(constState), isReadOnly: isReadOnly }, constState.uuid))), !constantState.constants.length && (_jsx(BlankPanelPlaceholder, { text: "Add a Constant", disabled: isReadOnly, onClick: addConstant, clickActionType: "add", previewText: "No constants", tooltipText: "Click to add a new constant" }))] }) }), constantState.selectedConstant &&
|
220
|
+
renderConstantModal(constantState.selectedConstant)] }));
|
222
221
|
});
|
223
222
|
//# sourceMappingURL=QueryBuilderConstantExpressionPanel.js.map
|