@finos/legend-query-builder 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +4 -3
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +4 -3
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +3 -3
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +1 -0
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +6 -3
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderState.d.ts +1 -0
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +8 -0
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +10 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +2 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +4 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +13 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +2 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +9 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +2 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +4 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +2 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +9 -1
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +2 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +10 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +2 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +6 -0
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/package.json +3 -3
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +8 -1
- package/src/components/QueryBuilderParametersPanel.tsx +8 -1
- package/src/components/shared/CustomDatePicker.tsx +3 -2
- package/src/components/shared/QueryBuilderVariableSelector.tsx +10 -3
- package/src/stores/QueryBuilderState.ts +11 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +13 -0
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +2 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +14 -2
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +19 -2
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +13 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +12 -0
- package/src/stores/filter/QueryBuilderFilterState.ts +13 -0
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +11 -0
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +8 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA+BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkJxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkGjD,CAAC"}
|
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-application';
|
17
|
+
import { buildElementOption, getPackageableElementOptionFormatter, LEGEND_APPLICATION_DOCUMENTATION_KEY, } from '@finos/legend-application';
|
18
18
|
import { BlankPanelPlaceholder, CustomSelectorInput, Dialog, InfoCircleIcon, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormSection, PanelFormTextField, PlusIcon, } from '@finos/legend-art';
|
19
19
|
import { PrimitiveType, VariableExpression, Multiplicity, } from '@finos/legend-graph';
|
20
20
|
import { generateEnumerableNameFromToken } from '@finos/legend-shared';
|
@@ -85,6 +85,7 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
85
85
|
const graph = queryBuilderState.graphManagerState.graph;
|
86
86
|
const isReadOnly = !queryBuilderState.isQuerySupported;
|
87
87
|
const varNames = queryBuilderState.allVariableNames;
|
88
|
+
const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(LEGEND_APPLICATION_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY);
|
88
89
|
const addConstant = () => {
|
89
90
|
if (!isReadOnly) {
|
90
91
|
const defaultVal = buildDefaultInstanceValue(graph, PrimitiveType.STRING);
|
@@ -95,8 +96,8 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
|
|
95
96
|
constantState.setSelectedConstant(constState);
|
96
97
|
}
|
97
98
|
};
|
98
|
-
return (_jsxs("div", { 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", { className: "
|
99
|
-
queryBuilderState.constantState.constants.map((constState) => (_jsx(VariableViewer, { variable: constState.variable, constantValue: constState.value, actions: {
|
99
|
+
return (_jsxs("div", { 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) &&
|
100
|
+
queryBuilderState.constantState.constants.map((constState) => (_jsx(VariableViewer, { queryBuilderState: queryBuilderState, variable: constState.variable, constantValue: constState.value, actions: {
|
100
101
|
editVariable: () => constantState.setSelectedConstant(constState),
|
101
102
|
deleteVariable: () => constantState.removeConstant(constState),
|
102
103
|
}, isReadOnly: isReadOnly }, constState.uuid))), !constantState.constants.length && (_jsx(BlankPanelPlaceholder, { text: "Add a Constants", disabled: isReadOnly, onClick: addConstant, clickActionType: "add", previewText: "No constants", tooltipText: "Click to add a new constant" }))] }) }), constantState.selectedConstant && (_jsx(QueryBuilderConstantExpressionEditor, { constantState: constantState.selectedConstant }))] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,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U,EACV,UAAU,CACX,CAAC;YACF,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;SAC/C;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,gCAAgC,aAC7C,eAAK,SAAS,EAAC,eAAe,aAC5B,eAAK,SAAS,EAAC,sBAAsB,aACnC,cAAK,SAAS,EAAC,6BAA6B,0BAAgB,EAC5D,cACE,SAAS,EAAC,
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,EACpC,oCAAoC,GACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,4FAA4F;AAC5F,wDAAwD;AACxD,MAAM,oCAAoC,GAAG,QAAQ,C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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;AAyMxE,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAyGjD,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
18
|
import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormTextField, InfoCircleIcon, } from '@finos/legend-art';
|
19
19
|
import { VariableExpression, GenericTypeExplicitReference, GenericType, PrimitiveType, Multiplicity, getMultiplicityPrettyDescription, } from '@finos/legend-graph';
|
20
|
-
import { buildElementOption, getPackageableElementOptionFormatter, useApplicationStore, } from '@finos/legend-application';
|
20
|
+
import { buildElementOption, getPackageableElementOptionFormatter, useApplicationStore, LEGEND_APPLICATION_DOCUMENTATION_KEY, } from '@finos/legend-application';
|
21
21
|
import { generateEnumerableNameFromToken } from '@finos/legend-shared';
|
22
22
|
import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
|
23
23
|
import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
@@ -88,6 +88,7 @@ export const QueryBuilderParametersPanel = observer((props) => {
|
|
88
88
|
const isReadOnly = !queryBuilderState.isQuerySupported;
|
89
89
|
const queryParameterState = queryBuilderState.parametersState;
|
90
90
|
const varNames = queryBuilderState.parametersState.parameterStates.map((parameter) => parameter.variableName);
|
91
|
+
const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(LEGEND_APPLICATION_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY);
|
91
92
|
const addParameter = () => {
|
92
93
|
if (!isReadOnly && !queryBuilderState.isParameterSupportDisabled) {
|
93
94
|
const parmaterState = new LambdaParameterState(new VariableExpression(generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME), queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1), GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING))), queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
|
@@ -95,8 +96,8 @@ export const QueryBuilderParametersPanel = observer((props) => {
|
|
95
96
|
parmaterState.mockParameterValue();
|
96
97
|
}
|
97
98
|
};
|
98
|
-
return (_jsxs("div", { 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: "parameters" }), _jsx("div", { className: "
|
99
|
-
queryParameterState.parameterStates.map((pState) => (_jsx(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly, actions: {
|
99
|
+
return (_jsxs("div", { 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: "parameters" }), _jsx("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: _jsx(InfoCircleIcon, {}) })] }), !isReadOnly && !queryBuilderState.isParameterSupportDisabled && (_jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action", tabIndex: -1, onClick: addParameter, title: "Add Parameter", children: _jsx(PlusIcon, {}) }) }))] }), _jsxs("div", { className: "panel__content query-builder__variables__content", children: [!queryBuilderState.isParameterSupportDisabled && (_jsxs(_Fragment, { children: [Boolean(queryParameterState.parameterStates.length) &&
|
100
|
+
queryParameterState.parameterStates.map((pState) => (_jsx(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly, queryBuilderState: queryBuilderState, actions: {
|
100
101
|
editVariable: () => queryParameterState.setSelectedParameter(pState),
|
101
102
|
deleteVariable: () => queryParameterState.removeParameter(pState),
|
102
103
|
} }, pState.uuid))), !queryParameterState.parameterStates.length && (_jsx(BlankPanelPlaceholder, { text: "Add a parameter", disabled: isReadOnly, onClick: addParameter, clickActionType: "add", previewText: "No parameter", tooltipText: "Click to add a new parameter" }))] })), queryBuilderState.isParameterSupportDisabled && (_jsx(BlankPanelContent, { children: "Parameters are not supported" }))] }), queryParameterState.selectedParameter && (_jsx(VariableExpressionEditor, { queryBuilderState: queryBuilderState, lambdaParameterState: queryParameterState.selectedParameter })), queryParameterState.parameterValuesEditorState.showModal && (_jsx(LambdaParameterValuesEditor, { graph: queryBuilderState.graphManagerState.graph, observerContext: queryBuilderState.observableContext, lambdaParametersState: queryParameterState }))] }));
|
@@ -1 +1 @@
|
|
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,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,EACpC,mBAAmB,
|
1
|
+
{"version":3,"file":"QueryBuilderParameters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AC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,mBAAmB,CAAC,iBAAiB,GAC3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,KAAC,2BAA2B,IAC1B,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAChD,eAAe,EAAE,iBAAiB,CAAC,iBAAiB,EACpD,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,wBAAwB,EAGxB,sBAAsB,EAQtB,KAAK,eAAe,
|
1
|
+
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,wBAAwB,EAGxB,sBAAsB,EAQtB,KAAK,eAAe,EAGrB,MAAM,qBAAqB,CAAC;AAqlC7B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,kBAAkB,EAAE,sBAAsB,GAAG,wBAAwB,CAAC;IACtE,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE;QACf,YAAY,EAAE,IAAI,CAAC;QACnB;;;;;;;;;;WAUG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,qBAAqB,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC1D,CAsLA,CAAC"}
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { BasePopover, BaseRadioGroup, CustomSelectorInput, } from '@finos/legend-art';
|
18
|
-
import { PRIMITIVE_TYPE, SimpleFunctionExpression, InstanceValue, GenericType, PrimitiveInstanceValue, GenericTypeExplicitReference, EnumValueExplicitReference, EnumValueInstanceValue, matchFunctionName, SUPPORTED_FUNCTIONS, DAY_OF_WEEK, DURATION_UNIT, PrimitiveType, } from '@finos/legend-graph';
|
18
|
+
import { PRIMITIVE_TYPE, SimpleFunctionExpression, InstanceValue, GenericType, PrimitiveInstanceValue, GenericTypeExplicitReference, EnumValueExplicitReference, EnumValueInstanceValue, matchFunctionName, SUPPORTED_FUNCTIONS, DAY_OF_WEEK, DURATION_UNIT, PrimitiveType, getSupportFunctionFullPath, } from '@finos/legend-graph';
|
19
19
|
import { guaranteeNonNullable, parseNumber, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
|
20
20
|
import { useEffect, useRef, useState } from 'react';
|
21
21
|
import { buildPrimitiveInstanceValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
|
@@ -301,7 +301,7 @@ const buildCustomDateOptionUnitValue = (valueSpecification) => guaranteeNonNulla
|
|
301
301
|
*/
|
302
302
|
const buildCustomDateOptionReferenceMomentValue = (pureDateAjustFunction) => {
|
303
303
|
const funcName = pureDateAjustFunction.parametersValues[0].functionName;
|
304
|
-
switch (funcName) {
|
304
|
+
switch (getSupportFunctionFullPath(funcName)) {
|
305
305
|
case SUPPORTED_FUNCTIONS.TODAY:
|
306
306
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.TODAY;
|
307
307
|
case SUPPORTED_FUNCTIONS.NOW:
|
@@ -342,7 +342,7 @@ const buildCustomDateOption = (valueSpecification) => {
|
|
342
342
|
*/
|
343
343
|
const buildDatePickerOption = (valueSpecification) => {
|
344
344
|
if (valueSpecification instanceof SimpleFunctionExpression) {
|
345
|
-
switch (valueSpecification.functionName) {
|
345
|
+
switch (getSupportFunctionFullPath(valueSpecification.functionName)) {
|
346
346
|
case SUPPORTED_FUNCTIONS.TODAY:
|
347
347
|
return new DatePickerOption(CUSTOM_DATE_PICKER_OPTION.TODAY, CUSTOM_DATE_PICKER_OPTION.TODAY);
|
348
348
|
case SUPPORTED_FUNCTIONS.NOW:
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,aAAa,EAEb,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AACpG,OAAO,EACL,oCAAoC,EACpC,sBAAsB,EACtB,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,yDAAyD,CAAC;AAEjE,IAAK,yBAaJ;AAbD,WAAK,yBAAyB;IAC5B,4DAA+B,CAAA;IAC/B,4DAA+B,CAAA;IAC/B,4CAAe,CAAA;IACf,wCAAW,CAAA;IACX,oDAAuB,CAAA;IACvB,0DAA6B,CAAA;IAC7B,4DAA+B,CAAA;IAC/B,0DAA6B,CAAA;IAC7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CAAC,QAAQ,CAAC,EACvB,eAAe,EAAE;oBACf,OAAO,EAAE,WAAW;iBACrB,EACD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,4BAA4B,EACrC,YAAY,EAAE;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,QAAQ;iBACrB,EACD,eAAe,EAAE;oBACf,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,QAAQ;iBACrB,aAED,KAAC,cAAc,IACb,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAC7B,QAAQ,EAAE,4BAA4B,EACtC,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,qBAAqB,EAC9B,IAAI,EAAE,CAAC,GACP,EACD,4BAA4B,EAAE,IACnB,IACb,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,aAAa,EAEb,aAAa,EACb,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AACpG,OAAO,EACL,oCAAoC,EACpC,sBAAsB,EACtB,uBAAuB,EACvB,iCAA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,mBAAmB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACjE,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAEzB,OAAO,CACL,8BACE,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,+CAA+C,EACrD,OAAO,EAAE,2BAA2B,YAEnC,gBAAgB,CAAC,KAAK,GAChB,EACT,MAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,EACvB,eAAe,EAAE;oBACf,OAAO,EAAE,WAAW;iBACrB,EACD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,4BAA4B,EACrC,YAAY,EAAE;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,QAAQ;iBACrB,EACD,eAAe,EAAE;oBACf,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,QAAQ;iBACrB,aAED,KAAC,cAAc,IACb,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAC7B,QAAQ,EAAE,4BAA4B,EACtC,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,qBAAqB,EAC9B,IAAI,EAAE,CAAC,GACP,EACD,4BAA4B,EAAE,IACnB,IACb,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
@@ -18,6 +18,7 @@ import type { ValueSpecification, VariableExpression } from '@finos/legend-graph
|
|
18
18
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
19
19
|
export declare const VariableViewer: ((props: {
|
20
20
|
variable: VariableExpression;
|
21
|
+
queryBuilderState: QueryBuilderState;
|
21
22
|
isReadOnly: boolean;
|
22
23
|
constantValue?: ValueSpecification | undefined;
|
23
24
|
actions?: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderVariableSelector.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAWH,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAQ3E,eAAO,MAAM,cAAc,WACjB;IACN,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE;QACR,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;CACH;;
|
1
|
+
{"version":3,"file":"QueryBuilderVariableSelector.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAWH,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAQ3E,eAAO,MAAM,cAAc,WACjB;IACN,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE;QACR,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;CACH;;CA+FF,CAAC;AAEF,eAAO,MAAM,gBAAgB;uBAEN,iBAAiB;oCACJ,kBAAkB,KAAK,OAAO;;;CA2CjE,CAAC"}
|
@@ -20,13 +20,16 @@ import { useDrag } from 'react-dnd';
|
|
20
20
|
import { getValueSpecificationStringValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
|
21
21
|
import { QUERY_BUILDER_VARIABLE_DND_TYPE, VariableInfoTooltip, } from './BasicValueSpecificationEditor.js';
|
22
22
|
export const VariableViewer = observer((props) => {
|
23
|
-
const { variable, constantValue, actions, isReadOnly } = props;
|
23
|
+
const { variable, constantValue, actions, isReadOnly, queryBuilderState } = props;
|
24
24
|
const valueString = constantValue
|
25
25
|
? getValueSpecificationStringValue(constantValue)
|
26
26
|
: undefined;
|
27
27
|
const name = variable.name;
|
28
28
|
const variableType = variable.genericType?.value.rawType;
|
29
29
|
const typeName = variableType?.name;
|
30
|
+
const isVariableUsed = queryBuilderState.isVariableUsed(variable);
|
31
|
+
const deleteDisabled = isReadOnly || isVariableUsed;
|
32
|
+
const deleteTitle = isVariableUsed ? 'Used in query' : 'Remove';
|
30
33
|
const editVariable = () => {
|
31
34
|
actions?.editVariable();
|
32
35
|
};
|
@@ -38,13 +41,13 @@ export const VariableViewer = observer((props) => {
|
|
38
41
|
item: { variable: variable },
|
39
42
|
}), [variable]);
|
40
43
|
useDragPreviewLayer(dragPreviewConnector);
|
41
|
-
return (_jsxs("div", { className: "query-builder__variables__variable", ref: dragConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.variable.name === '' ? '(unknown)' : item.variable.name, types: [QUERY_BUILDER_VARIABLE_DND_TYPE] }), _jsxs("div", { onClick: editVariable, className: "query-builder__variables__variable__content", children: [_jsx("div", { className: "query-builder__variables__variable__icon", children: _jsx("div", { className: "query-builder__variables__variable-icon", children: constantValue ? (_jsx("div", { className: "icon query-builder__variables__variable-icon", children: "C" })) : (_jsx(DollarIcon, {})) }) }), _jsxs("div", { className: "query-builder__variables__variable__label", children: [name, valueString ? (_jsx("div", { className: "query-builder__constants__value", children: valueString })) : (_jsx("div", { className: "query-builder__variables__variable__type", children: _jsx("div", { className: "query-builder__variables__variable__type__label", children: typeName }) }))] })] }), actions && (_jsxs("div", { className: "query-builder__variables__variable__actions", children: [_jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, disabled: isReadOnly, onClick: editVariable, title: "Edit", children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, onClick: deleteVariable, disabled:
|
44
|
+
return (_jsxs("div", { className: "query-builder__variables__variable", ref: dragConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.variable.name === '' ? '(unknown)' : item.variable.name, types: [QUERY_BUILDER_VARIABLE_DND_TYPE] }), _jsxs("div", { onClick: editVariable, className: "query-builder__variables__variable__content", children: [_jsx("div", { className: "query-builder__variables__variable__icon", children: _jsx("div", { className: "query-builder__variables__variable-icon", children: constantValue ? (_jsx("div", { className: "icon query-builder__variables__variable-icon", children: "C" })) : (_jsx(DollarIcon, {})) }) }), _jsxs("div", { className: "query-builder__variables__variable__label", children: [name, valueString ? (_jsx("div", { className: "query-builder__constants__value", children: valueString })) : (_jsx("div", { className: "query-builder__variables__variable__type", children: _jsx("div", { className: "query-builder__variables__variable__type__label", children: typeName }) }))] })] }), actions && (_jsxs("div", { className: "query-builder__variables__variable__actions", children: [_jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, disabled: isReadOnly, onClick: editVariable, title: "Edit", children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, onClick: deleteVariable, disabled: deleteDisabled, title: deleteTitle, children: _jsx(TimesIcon, {}) }), _jsx(VariableInfoTooltip, { variable: variable, children: _jsx("div", { className: "value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) })] }))] }));
|
42
45
|
});
|
43
46
|
export const VariableSelector = observer((props) => {
|
44
47
|
const { queryBuilderState, filterBy } = props;
|
45
48
|
const isReadOnly = !queryBuilderState.isQuerySupported;
|
46
49
|
const filteredParameterStates = queryBuilderState.parametersState.parameterStates.filter((p) => filterBy ? filterBy(p.parameter) : true);
|
47
50
|
const filteredConstantState = queryBuilderState.constantState.constants.filter((c) => filterBy ? filterBy(c.variable) : true);
|
48
|
-
return (_jsxs(_Fragment, { children: [_jsxs(PanelFormListItems, { title: "Available parameters", children: [filteredParameterStates.length === 0 && (_jsx(_Fragment, { children: " No available parameters " })), filteredParameterStates.map((pState) => (_jsx(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly }, pState.uuid)))] }), Boolean(filteredConstantState.length) && (_jsx(PanelFormListItems, { title: "Available constants", children: filteredConstantState.map((constantState) => (_jsx(VariableViewer, { variable: constantState.variable, constantValue: constantState.value, isReadOnly: isReadOnly }, constantState.uuid))) }))] }));
|
51
|
+
return (_jsxs(_Fragment, { children: [_jsxs(PanelFormListItems, { title: "Available parameters", children: [filteredParameterStates.length === 0 && (_jsx(_Fragment, { children: " No available parameters " })), filteredParameterStates.map((pState) => (_jsx(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly, queryBuilderState: queryBuilderState }, pState.uuid)))] }), Boolean(filteredConstantState.length) && (_jsx(PanelFormListItems, { title: "Available constants", children: filteredConstantState.map((constantState) => (_jsx(VariableViewer, { variable: constantState.variable, constantValue: constantState.value, queryBuilderState: queryBuilderState, isReadOnly: isReadOnly }, constantState.uuid))) }))] }));
|
49
52
|
});
|
50
53
|
//# sourceMappingURL=QueryBuilderVariableSelector.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderVariableSelector.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAEL,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CACpC,CAAC,
|
1
|
+
{"version":3,"file":"QueryBuilderVariableSelector.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAEL,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CACpC,CAAC,KASA,EAAE,EAAE;IACH,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,GACvE,KAAK,CAAC;IACR,MAAM,WAAW,GAAG,aAAa;QAC/B,CAAC,CAAC,gCAAgC,CAAC,aAAa,CAAC;QACjD,CAAC,CAAC,SAAS,CAAC;IACd,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;IAC3B,MAAM,YAAY,GAAG,QAAQ,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;IACzD,MAAM,QAAQ,GAAG,YAAY,EAAE,IAAI,CAAC;IACpC,MAAM,cAAc,GAAG,iBAAiB,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClE,MAAM,cAAc,GAAG,UAAU,IAAI,cAAc,CAAC;IACpD,MAAM,WAAW,GAAG,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC;IAChE,MAAM,YAAY,GAAG,GAAS,EAAE;QAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;IAC1B,CAAC,CAAC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