@finos/legend-query-builder 4.14.47 → 4.14.49
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts +3 -1
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderDocumentation.js +2 -0
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +59 -46
- 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 -24
- 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/{QueryBuilderMilestoningEditor.d.ts → QueryBuilderMilestoningParameterEditor.d.ts} +6 -3
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +53 -0
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -0
- 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.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +201 -29
- 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 +55 -36
- 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/graph-manager/QueryBuilderConfig.d.ts +4 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.js +5 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +3 -3
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +1 -0
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +1 -0
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +8 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js +4 -2
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +13 -2
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +8 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +25 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +5 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +62 -3
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +8 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.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/__lib__/QueryBuilderDocumentation.ts +2 -0
- package/src/components/QueryBuilder.tsx +44 -0
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
- package/src/components/QueryBuilderParametersPanel.tsx +55 -0
- package/src/components/QueryBuilderSideBar.tsx +0 -42
- package/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx +114 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +445 -19
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +134 -21
- package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
- package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
- package/src/graph-manager/QueryBuilderConfig.ts +6 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +4 -1
- package/src/stores/QueryLoaderState.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -0
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts +6 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -0
- package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +23 -0
- package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
- package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +45 -0
- package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +3 -0
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +95 -7
- package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
- package/tsconfig.json +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +0 -102
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +0 -1
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +0 -364
@@ -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
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,EAC7C,0CAA0C,GAC3C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;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AAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,EAC7C,0CAA0C,GAC3C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,qBAA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E,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,6EAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,QAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,uFACzC,CACH,uFACA,sFACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,uFACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,12 +16,12 @@
|
|
16
16
|
import { type QueryBuilderDiffViewState } from '../stores/QueryBuilderChangeDetectionState.js';
|
17
17
|
export declare const QueryBuilderDiffViewPanel: ((props: {
|
18
18
|
diffViewState: QueryBuilderDiffViewState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
export declare const QueryBuilderDiffViewPanelDiaglog: ((props: {
|
23
23
|
diffViewState: QueryBuilderDiffViewState;
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
24
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
25
25
|
displayName: string;
|
26
26
|
};
|
27
27
|
//# sourceMappingURL=QueryBuilderDiffPanel.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/QueryBuilderDiffPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -32,9 +33,9 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
|
|
32
33
|
useEffect(() => {
|
33
34
|
diffViewState.generateGrammarDiff();
|
34
35
|
}, [diffViewState]);
|
35
|
-
return (
|
36
|
+
return (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "query-builder__diff-panel__header", children: Object.values(QueryBuilderDiffViewMode).map((mode) => (_jsxDEV("button", { onClick: onChangeMode(mode), className: clsx('query-builder__diff-panel__mode', {
|
36
37
|
'query-builder__diff-panel__mode--selected': mode === diffViewState.mode,
|
37
|
-
}), children: mode }, mode))) }),
|
38
|
+
}), children: mode }, mode, false, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 67 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__diff-panel__content", children: [diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (_jsxDEV(CodeDiffView, { language: CODE_EDITOR_LANGUAGE.PURE, from: fromGrammarText, to: toGrammarText }, void 0, false, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 72 }, this)), diffViewState.mode === QueryBuilderDiffViewMode.JSON && (_jsxDEV(JSONDiffView, { from: JSON.stringify({
|
38
39
|
parameters: diffViewState.initialQuery.parameters
|
39
40
|
? pruneSourceInformation(diffViewState.initialQuery.parameters)
|
40
41
|
: undefined,
|
@@ -48,16 +49,16 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
|
|
48
49
|
body: diffViewState.currentQuery.body
|
49
50
|
? pruneSourceInformation(diffViewState.currentQuery.body)
|
50
51
|
: undefined,
|
51
|
-
}, null, DEFAULT_TAB_SIZE) }))] })] }));
|
52
|
+
}, null, DEFAULT_TAB_SIZE) }, void 0, false, { fileName: _jsxFileName, lineNumber: 83, columnNumber: 69 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 13 }, this));
|
52
53
|
});
|
53
54
|
export const QueryBuilderDiffViewPanelDiaglog = observer((props) => {
|
54
55
|
const { diffViewState } = props;
|
55
56
|
const applicationStore = diffViewState.changeDetectionState.querybuilderState.applicationStore;
|
56
57
|
const close = () => diffViewState.changeDetectionState.hideDiffViewPanel();
|
57
|
-
return (
|
58
|
+
return (_jsxDEV(Dialog, { open: Boolean(diffViewState), onClose: close, classes: {
|
58
59
|
root: 'editor-modal__root-container',
|
59
60
|
container: 'editor-modal__container',
|
60
61
|
paper: 'editor-modal__content',
|
61
|
-
}, children:
|
62
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal'), children: [_jsxDEV(ModalHeader, { children: [_jsxDEV(ModalTitle, { title: "Query Diff" }, void 0, false, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 13 }, this), _jsxDEV(ModalHeaderActions, { children: _jsxDEV("button", { className: "modal__header__action", tabIndex: -1, onClick: close, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 152, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 147, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 144, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__diff-panel", children: _jsxDEV(QueryBuilderDiffViewPanel, { diffViewState: diffViewState }, void 0, false, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { className: "query-builder__diff-panel__actions", children: _jsxDEV(ModalFooterButton, { title: "Close Modal", onClick: close, type: "secondary", children: "Close" }, void 0, false, { fileName: _jsxFileName, lineNumber: 160, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 13 }, this));
|
62
63
|
});
|
63
64
|
//# sourceMappingURL=QueryBuilderDiffPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderDiffPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderDiffPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,oBAAoB,EACpB,YAAY,EACZ,YAAY,GACb,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAAmD,EAAE,EAAE;IACtD,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,eAAe,GAAG,aAAa,CAAC,uBAAuB,CAAC;IAC9D,MAAM,aAAa,GAAG,aAAa,CAAC,uBAAuB,CAAC;IAE5D,UAAU;IACV,MA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SAAS,yFAAG,uFACN,uFACU,uFACT,EACd,QAAC,SAAS,IAAC,SAAS,EAAC,2BAA2B,YAC9C,QAAC,yBAAyB,IAAC,aAAa,EAAE,aAAa,uFAAI,uFACjD,EACZ,QAAC,WAAW,IAAC,SAAS,EAAC,oCAAoC,YACzD,QAAC,iBAAiB,IAChB,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,WAAW,0GAGE,uFACR,sFACR,uFACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
17
17
|
export declare const QueryBuilderParametersPanel: ((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=QueryBuilderParametersPanel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkSxE,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAwGjD,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/QueryBuilderParametersPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -15,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
16
|
* limitations under the License.
|
16
17
|
*/
|
17
18
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelFormValidatedTextField, QuestionCircleIcon, } from '@finos/legend-art';
|
19
|
+
import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelFormValidatedTextField, QuestionCircleIcon, PanelFormSection, } from '@finos/legend-art';
|
19
20
|
import { VariableExpression, GenericTypeExplicitReference, GenericType, PrimitiveType, Multiplicity, getMultiplicityPrettyDescription, isValidIdentifier, } from '@finos/legend-graph';
|
20
21
|
import { useApplicationStore } from '@finos/legend-application';
|
21
22
|
import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
@@ -26,6 +27,10 @@ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
|
26
27
|
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
27
28
|
import { useCallback, useState } from 'react';
|
28
29
|
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
30
|
+
import { deepClone } from '@finos/legend-shared';
|
31
|
+
import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
|
32
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
|
33
|
+
import { createSupportedFunctionExpression } from '../stores/shared/ValueSpecificationEditorHelper.js';
|
29
34
|
const buildMultiplicityOption = (multiplicity) => ({
|
30
35
|
label: getMultiplicityPrettyDescription(multiplicity),
|
31
36
|
value: multiplicity,
|
@@ -67,6 +72,8 @@ const VariableExpressionEditor = observer((props) => {
|
|
67
72
|
const nameInputRef = useCallback((ref) => {
|
68
73
|
ref?.focus();
|
69
74
|
}, []);
|
75
|
+
const [defaultMilestoningValue, setDefaultMilestoningValue] = useState(deepClone(lambdaParameterState.value));
|
76
|
+
const isMilestoningParameter = queryBuilderState.milestoningState.isMilestoningParameter(lambdaParameterState.parameter);
|
70
77
|
const getValidationMessage = (input) => !hasEditedName
|
71
78
|
? undefined
|
72
79
|
: !input
|
@@ -88,21 +95,33 @@ const VariableExpressionEditor = observer((props) => {
|
|
88
95
|
if (isCreating) {
|
89
96
|
queryParametersState.addParameter(lambdaParameterState);
|
90
97
|
}
|
98
|
+
if (isMilestoningParameter) {
|
99
|
+
queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, defaultMilestoningValue);
|
100
|
+
}
|
91
101
|
handleCancel();
|
92
102
|
};
|
93
|
-
return (
|
103
|
+
return (_jsxDEV(Dialog, { open: Boolean(lambdaParameterState), onClose: handleCancel, classes: {
|
94
104
|
root: 'editor-modal__root-container',
|
95
105
|
container: 'editor-modal__container',
|
96
106
|
paper: 'editor-modal__content',
|
97
|
-
}, children:
|
107
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsxDEV(ModalHeader, { title: `${isCreating ? 'Create Parameter' : 'Update Parameter'}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsxDEV(PanelFormValidatedTextField, { name: "Parameter Name", prompt: "Name of the parameter. Should be descriptive of its purpose.", value: selectedName, update: (value) => {
|
98
108
|
setSelectedName(value ?? '');
|
99
109
|
setHasEditedName(true);
|
100
|
-
}, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }),
|
110
|
+
}, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }, void 0, false, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the parameter." }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
|
101
111
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
102
112
|
darkMode: !applicationStore.layoutService
|
103
113
|
.TEMPORARY__isLightColorThemeEnabled,
|
104
|
-
}) })] }),
|
105
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
114
|
+
}) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Multiplicity" }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "The multiplity determines how many values a parameter can have. Default is set to mandatory single vlue." }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { placeholder: "Choose a multiplicity...", options: multilicityOptions, onChange: changeMultiplicity, value: selectedMultiplicity, hasError: !validParamMultiplicityList.includes(selectedMultiplicity.value), darkMode: !applicationStore.layoutService
|
115
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 230, columnNumber: 13 }, this), isMilestoningParameter && defaultMilestoningValue && (_jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Value" }, void 0, false, { fileName: _jsxFileName, lineNumber: 256, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Choose a default value for this milestoning parameter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 259, columnNumber: 17 }, this), _jsxDEV("div", { className: "query-builder__variable-editor", children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: defaultMilestoningValue, setValueSpecification: (val) => {
|
116
|
+
setDefaultMilestoningValue(deepClone(val));
|
117
|
+
}, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
118
|
+
expectedType: selectedType.value,
|
119
|
+
match: selectedType.value === PrimitiveType.DATETIME,
|
120
|
+
}, resetValue: () => {
|
121
|
+
const now = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
|
122
|
+
setDefaultMilestoningValue(now);
|
123
|
+
queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, now);
|
124
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 263, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 262, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 68 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 191, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { text: isCreating ? 'Create' : 'Update', disabled: !isNameValid, onClick: handleApply }, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { onClick: handleCancel, text: "Cancel", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 296, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 290, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 182, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 13 }, this));
|
106
125
|
});
|
107
126
|
export const QueryBuilderParametersPanel = observer((props) => {
|
108
127
|
const { queryBuilderState } = props;
|
@@ -116,10 +135,10 @@ export const QueryBuilderParametersPanel = observer((props) => {
|
|
116
135
|
parmaterState.mockParameterValue();
|
117
136
|
}
|
118
137
|
};
|
119
|
-
return (
|
120
|
-
queryParameterState.parameterStates.map((pState) => (
|
138
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PARAMETERS, 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: "parameters" }, void 0, false, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 13 }, this), _jsxDEV("div", { onClick: seeDocumentation, className: "query-builder__variables__info", title: `Parameters are variables assigned to your query. They are dynamic in nature and can change for each execution.`, children: _jsxDEV(QuestionCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 347, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 342, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 340, columnNumber: 11 }, this), !isReadOnly && !queryBuilderState.isParameterSupportDisabled && (_jsxDEV("div", { className: "panel__header__actions", children: _jsxDEV("button", { className: "panel__header__action", tabIndex: -1, onClick: addParameter, title: "Add Parameter", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 352, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 350, columnNumber: 77 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content query-builder__variables__content", children: [!queryBuilderState.isParameterSupportDisabled && (_jsxDEV(_Fragment, { children: [Boolean(queryParameterState.parameterStates.length) &&
|
139
|
+
queryParameterState.parameterStates.map((pState) => (_jsxDEV(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly, queryBuilderState: queryBuilderState, actions: {
|
121
140
|
editVariable: () => queryParameterState.setSelectedParameter(pState),
|
122
141
|
deleteVariable: () => queryParameterState.removeParameter(pState),
|
123
|
-
} }, pState.uuid))), !queryParameterState.parameterStates.length && (
|
142
|
+
} }, pState.uuid, false, { fileName: _jsxFileName, lineNumber: 367, columnNumber: 70 }, this))), !queryParameterState.parameterStates.length && (_jsxDEV(BlankPanelPlaceholder, { text: "Add a parameter", disabled: isReadOnly, onClick: addParameter, clickActionType: "add", previewText: "No parameter", tooltipText: "Click to add a new parameter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 381, columnNumber: 64 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 364, columnNumber: 62 }, this)), queryBuilderState.isParameterSupportDisabled && (_jsxDEV(BlankPanelContent, { children: "Parameters are not supported" }, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 61 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 363, columnNumber: 9 }, this), queryParameterState.selectedParameter && (_jsxDEV(VariableExpressionEditor, { queryBuilderState: queryBuilderState, lambdaParameterState: queryParameterState.selectedParameter }, void 0, false, { fileName: _jsxFileName, lineNumber: 397, columnNumber: 52 }, this)), queryParameterState.parameterValuesEditorState.showModal && (_jsxDEV(LambdaParameterValuesEditor, { graph: queryBuilderState.graphManagerState.graph, observerContext: queryBuilderState.observerContext, lambdaParametersState: queryParameterState }, void 0, false, { fileName: _jsxFileName, lineNumber: 403, columnNumber: 71 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 334, columnNumber: 13 }, this));
|
124
143
|
});
|
125
144
|
//# sourceMappingURL=QueryBuilderParametersPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,qBAAqB,EACrB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAA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B,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,YAAY,EACrB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,8BAA8B,uFAC1C,CACH,uFACA,CACJ,EACA,iBAAiB,CAAC,0BAA0B,IAAI,CAC/C,QAAC,iBAAiB,mIAAiD,CACpE,sFACG,EACL,mBAAmB,CAAC,iBAAiB,IAAI,CACxC,QAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,mBAAmB,CAAC,iBAAiB,uFAC3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,QAAC,2BAA2B,IAC1B,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAChD,eAAe,EAAE,iBAAiB,CAAC,eAAe,EAClD,qBAAqB,EAAE,mBAAmB,uFAC1C,CACH,uFACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { type QueryBuilderPropertyExpressionState } from '../stores/QueryBuilderPropertyEditorState.js';
|
17
17
|
export declare const QueryBuilderPropertyExpressionEditor: ((props: {
|
18
18
|
propertyExpressionState: QueryBuilderPropertyExpressionState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
export declare const QueryBuilderEditablePropertyName: ((props: {
|
@@ -25,7 +25,7 @@ export declare const QueryBuilderEditablePropertyName: ((props: {
|
|
25
25
|
error: string | undefined;
|
26
26
|
title: string;
|
27
27
|
defaultColumnName: string;
|
28
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
28
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
29
29
|
displayName: string;
|
30
30
|
};
|
31
31
|
export declare const QueryBuilderPropertyExpressionBadge: ((props: {
|
@@ -33,7 +33,7 @@ export declare const QueryBuilderPropertyExpressionBadge: ((props: {
|
|
33
33
|
propertyExpressionState: QueryBuilderPropertyExpressionState;
|
34
34
|
setColumnName?: (columnName: string) => void;
|
35
35
|
error?: string | undefined;
|
36
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
36
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
37
37
|
displayName: string;
|
38
38
|
};
|
39
39
|
//# sourceMappingURL=QueryBuilderPropertyExpressionEditor.d.ts.map
|