@finos/legend-query-builder 4.14.24 → 4.14.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAuUxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAmJjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAmWxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2IjD,CAAC"}
@@ -17,15 +17,14 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
18
18
  import { BlankPanelPlaceholder, clsx, CustomSelectorInput, Dialog, InfoCircleIcon, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelFormSection, PanelFormValidatedTextField, PlusIcon, } from '@finos/legend-art';
19
19
  import { PrimitiveType, VariableExpression, Multiplicity, isValidIdentifier, } from '@finos/legend-graph';
20
- import { deepClone, generateEnumerableNameFromToken, } from '@finos/legend-shared';
20
+ import { deepClone } from '@finos/legend-shared';
21
21
  import { observer } from 'mobx-react-lite';
22
- import { DEFAULT_CONSTANT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
23
22
  import { QueryBuilderSimpleConstantExpressionState, QueryBuilderCalculatedConstantExpressionState, cloneQueryBuilderConstantLambdaEditorState, } from '../stores/QueryBuilderConstantsState.js';
24
23
  import { buildDefaultInstanceValue } from '../stores/shared/ValueSpecificationEditorHelper.js';
25
24
  import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
26
25
  import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
27
26
  import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
28
- import React, { useEffect, useMemo, useState } from 'react';
27
+ import React, { useCallback, useEffect, useMemo, useState } from 'react';
29
28
  import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
30
29
  import { LambdaEditor } from './shared/LambdaEditor.js';
31
30
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
@@ -53,6 +52,12 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
53
52
  const stateName = varExpression.name;
54
53
  const [selectedName, setSelectedName] = useState(stateName);
55
54
  const [isNameValid, setIsNameValid] = useState(true);
55
+ const [hasEditedName, setHasEditedName] = useState(false);
56
+ const [nameInputRef, setNameInputRef] = useState(null);
57
+ const handleNameInputRef = useCallback((ref) => {
58
+ ref?.focus();
59
+ setNameInputRef(ref);
60
+ }, []);
56
61
  // Value
57
62
  const stateValue = constantState.value;
58
63
  const [selectedValue, setSelectedValue] = useState(deepClone(stateValue));
@@ -69,6 +74,12 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
69
74
  const typeOptions = queryBuilderState.graphManagerState.graph.primitiveTypes
70
75
  .map(buildElementOption)
71
76
  .concat(queryBuilderState.graphManagerState.graph.enumerations.map(buildElementOption));
77
+ const handleValueInputRef = (ref) => {
78
+ if ((!isCreating || hasEditedName) &&
79
+ document.activeElement !== nameInputRef) {
80
+ ref?.focus();
81
+ }
82
+ };
72
83
  // Modal lifecycle actions
73
84
  const handleCancel = () => {
74
85
  variableState.setSelectedConstant(undefined);
@@ -92,7 +103,10 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
92
103
  paper: 'editor-modal__content',
93
104
  }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: `${isCreating ? 'Create Constant' : 'Update Constant'}` }), _jsxs(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsx(PanelFormValidatedTextField, { name: "Constant Name", prompt: "Name of constant. Should be descriptive of its purpose.", update: (value) => {
94
105
  setSelectedName(value ?? '');
95
- }, validate: (constantInput) => getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue), value: selectedName, isReadOnly: false }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the constant." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
106
+ setHasEditedName(true);
107
+ }, onBlur: () => setHasEditedName(true), validate: (constantInput) => !hasEditedName
108
+ ? undefined
109
+ : getConstantNameValidationMessage(constantInput, allVariableNames, stateName), onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), value: selectedName, isReadOnly: false, ref: handleNameInputRef }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the constant." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
96
110
  .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
97
111
  darkMode: !applicationStore.layoutService
98
112
  .TEMPORARY__isLightColorThemeEnabled,
@@ -101,7 +115,7 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
101
115
  }, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
102
116
  expectedType: selectedType.value,
103
117
  match: selectedType.value === PrimitiveType.DATETIME,
104
- }, resetValue: resetConstantValue }) })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Apply', disabled: !isNameValid, onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
118
+ }, resetValue: resetConstantValue, ref: handleValueInputRef }) })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Apply', disabled: !isNameValid, onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
105
119
  });
106
120
  const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
107
121
  // Read current state
@@ -146,13 +160,11 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
146
160
  const constantState = queryBuilderState.constantState;
147
161
  const graph = queryBuilderState.graphManagerState.graph;
148
162
  const isReadOnly = !queryBuilderState.isQuerySupported;
149
- const varNames = queryBuilderState.allVariableNames;
150
163
  const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY);
151
164
  const addConstant = () => {
152
165
  if (!isReadOnly) {
153
166
  const defaultVal = buildDefaultInstanceValue(graph, PrimitiveType.STRING, queryBuilderState.observerContext);
154
- const constantName = generateEnumerableNameFromToken(varNames, DEFAULT_CONSTANT_VARIABLE_NAME);
155
- const variableEx = new VariableExpression(constantName, Multiplicity.ONE);
167
+ const variableEx = new VariableExpression('', Multiplicity.ONE);
156
168
  variableEx.genericType = defaultVal.genericType;
157
169
  const constState = new QueryBuilderSimpleConstantExpressionState(queryBuilderState, variableEx, defaultVal);
158
170
  constantState.setSelectedConstant(constState);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src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,QAAQ,KAAG,GACL,GACL,CACP,IACG,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,8BACG,OAAO,CAAC,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC;4BACjD,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC5D,KAAC,cAAc,IAEb,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,UAAU,CAAC,QAAQ,EAC7B,KAAK,EAAE;oCACL,GAAG,EACD,UAAU;wCACV,yCAAyC;wCACvC,CAAC,CAAC,UAAU,CAAC,KAAK;wCAClB,CAAC,CAAC,SAAS;iCAChB,EACD,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,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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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 +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;AAmOxE,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2GjD,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;AA2OxE,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAwGjD,CAAC"}
@@ -18,15 +18,13 @@ import { observer } from 'mobx-react-lite';
18
18
  import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, InfoCircleIcon, ModalFooterButton, PanelFormValidatedTextField, } from '@finos/legend-art';
19
19
  import { VariableExpression, GenericTypeExplicitReference, GenericType, PrimitiveType, Multiplicity, getMultiplicityPrettyDescription, isValidIdentifier, } from '@finos/legend-graph';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
- import { generateEnumerableNameFromToken } from '@finos/legend-shared';
22
- import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
23
21
  import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
24
22
  import { LambdaParameterState } from '../stores/shared/LambdaParameterState.js';
25
23
  import { LambdaParameterValuesEditor } from './shared/LambdaParameterValuesEditor.js';
26
24
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
27
25
  import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
28
26
  import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
29
- import { useState } from 'react';
27
+ import { useCallback, useState } from 'react';
30
28
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
31
29
  const buildMultiplicityOption = (multiplicity) => ({
32
30
  label: getMultiplicityPrettyDescription(multiplicity),
@@ -65,14 +63,20 @@ const VariableExpressionEditor = observer((props) => {
65
63
  const stateName = varState.name;
66
64
  const [selectedName, setSelectedName] = useState(stateName);
67
65
  const [isNameValid, setIsNameValid] = useState(true);
68
- const getValidationMessage = (input) => !input
69
- ? `Parameter name can't be empty`
70
- : allVariableNames.filter((e) => e === input).length > 0 &&
71
- input !== stateName
72
- ? 'Parameter name already exists'
73
- : isValidIdentifier(input, true) === false
74
- ? 'Parameter name must be text with no spaces and not start with an uppercase letter or number'
75
- : undefined;
66
+ const [hasEditedName, setHasEditedName] = useState(false);
67
+ const nameInputRef = useCallback((ref) => {
68
+ ref?.focus();
69
+ }, []);
70
+ const getValidationMessage = (input) => !hasEditedName
71
+ ? undefined
72
+ : !input
73
+ ? `Parameter name can't be empty`
74
+ : allVariableNames.filter((e) => e === input).length > 0 &&
75
+ input !== stateName
76
+ ? 'Parameter name already exists'
77
+ : isValidIdentifier(input, true) === false
78
+ ? 'Parameter name must be text with no spaces and not start with an uppercase letter or number'
79
+ : undefined;
76
80
  // modal lifecycle actions
77
81
  const handleCancel = () => {
78
82
  queryParametersState.setSelectedParameter(undefined);
@@ -92,7 +96,8 @@ const VariableExpressionEditor = observer((props) => {
92
96
  paper: 'editor-modal__content',
93
97
  }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: `${isCreating ? 'Create Parameter' : 'Update Parameter'}` }), _jsxs(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsx(PanelFormValidatedTextField, { name: "Parameter Name", prompt: "Name of the parameter. Should be descriptive of its purpose.", value: selectedName, update: (value) => {
94
98
  setSelectedName(value ?? '');
95
- }, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue), isReadOnly: false }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the parameter." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
99
+ setHasEditedName(true);
100
+ }, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the parameter." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
96
101
  .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
97
102
  darkMode: !applicationStore.layoutService
98
103
  .TEMPORARY__isLightColorThemeEnabled,
@@ -103,11 +108,10 @@ export const QueryBuilderParametersPanel = observer((props) => {
103
108
  const { queryBuilderState } = props;
104
109
  const isReadOnly = !queryBuilderState.isQuerySupported;
105
110
  const queryParameterState = queryBuilderState.parametersState;
106
- const varNames = queryBuilderState.parametersState.parameterStates.map((parameter) => parameter.variableName);
107
111
  const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY);
108
112
  const addParameter = () => {
109
113
  if (!isReadOnly && !queryBuilderState.isParameterSupportDisabled) {
110
- const parmaterState = new LambdaParameterState(new VariableExpression(generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME), queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1), GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING))), queryBuilderState.observerContext, queryBuilderState.graphManagerState.graph);
114
+ const parmaterState = new LambdaParameterState(new VariableExpression('', queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1), GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING))), queryBuilderState.observerContext, queryBuilderState.graphManagerState.graph);
111
115
  queryParameterState.setSelectedParameter(parmaterState);
112
116
  parmaterState.mockParameterValue();
113
117
  }
@@ -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,cAAc,EACd,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,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,E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BAAiB,EACtB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,YAAY,EACrB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,8BAA8B,GAC1C,CACH,IACA,CACJ,EACA,iBAAiB,CAAC,0BAA0B,IAAI,CAC/C,KAAC,iBAAiB,+CAAiD,CACpE,IACG,EACL,mBAAmB,CAAC,iBAAiB,IAAI,CACxC,KAAC,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,eAAe,EAClD,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
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,cAAc,EACd,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,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,o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,IAAI,CAC9C,KAAC,qBAAqB,IACpB,IAAI,EAAC,iBAAiB,EACtB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,YAAY,EACrB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,8BAA8B,GAC1C,CACH,IACA,CACJ,EACA,iBAAiB,CAAC,0BAA0B,IAAI,CAC/C,KAAC,iBAAiB,+CAAiD,CACpE,IACG,EACL,mBAAmB,CAAC,iBAAiB,IAAI,CACxC,KAAC,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,eAAe,EAClD,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -44,7 +44,7 @@ export interface QueryBuilderVariableDragSource {
44
44
  *
45
45
  * See https://github.com/finos/legend-studio/pull/1021
46
46
  */
47
- export declare const BasicValueSpecificationEditor: React.FC<{
47
+ export declare const BasicValueSpecificationEditor: import("react").ForwardRefExoticComponent<{
48
48
  valueSpecification: ValueSpecification;
49
49
  graph: PureModel;
50
50
  obseverContext: ObserverContext;
@@ -59,6 +59,6 @@ export declare const BasicValueSpecificationEditor: React.FC<{
59
59
  reloadValues: DebouncedFunc<(inputValue: string) => GeneratorFn<void>> | undefined;
60
60
  cleanUpReloadValues?: () => void;
61
61
  } | undefined;
62
- }>;
62
+ } & import("react").RefAttributes<HTMLInputElement>>;
63
63
  export {};
64
64
  //# sourceMappingURL=BasicValueSpecificationEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSp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,OAAO,CAAC;QACnB,YAAY,EACR,aAAa,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,WAAW,CAAC,IAAI,CAAC,CAAC,GACxD,SAAS,CAAC;QACd,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;KAClC,GACD,SAAS,CAAC;CACf,CA+KA,CAAC"}
1
+ {"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,OAAO,EACL,KAAK,gBAAgB,EAiBtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAMd,kBAAkB,EASlB,KAAK,eAAe,EAGrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAoB9B,KAAK,eAAe,GAAG;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC1C,CAkDA,CAAC;AAEF,eAAO,MAAM,+BAA+B,aAAa,CAAC;AAE1D,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AA4xBD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;wBAGlB,kBAAkB;WAC/B,SAAS;oBACA,eAAe;qBACd,eAAe;gBACpB,MAAM,GAAG,SAAS;iCACD,kBAAkB,KAAK,IAAI;gBAC5C,MAAM,IAAI;iBACT,OAAO;;gBAGN,MAAM,EAAE,GAAG,SAAS;mBACjB,OAAO;iDAEa,MAAM,KAAK,YAAY,IAAI,CAAC;8BAErC,MAAM,IAAI;;oDAsLxC,CAAC"}
@@ -20,7 +20,7 @@ import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue
20
20
  import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, guaranteeIsNumber, csvStringify, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
22
22
  import { observer } from 'mobx-react-lite';
23
- import { useEffect, useRef, useState } from 'react';
23
+ import { forwardRef, useEffect, useImperativeHandle, useRef, useState, } from 'react';
24
24
  import { instanceValue_setValue, instanceValue_setValues, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
25
25
  import { CustomDatePicker } from './CustomDatePicker.js';
26
26
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
@@ -49,7 +49,7 @@ const VariableExpressionParameterEditor = observer((props) => {
49
49
  'value-spec-editor__variable__constant': isConstant,
50
50
  }), children: [_jsx("div", { className: "value-spec-editor__variable__icon", children: isConstant ? _jsx("div", { className: "icon", children: "C" }) : _jsx(DollarIcon, {}) }), _jsxs("div", { className: "value-spec-editor__variable__label", children: [_jsx("div", { className: "value-spec-editor__variable__text", children: varName }), _jsx(VariableInfoTooltip, { variable: valueSpecification, children: _jsx("div", { className: "value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "value-spec-editor__variable__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] })] })] }));
51
51
  });
52
- const StringPrimitiveInstanceValueEditor = observer((props) => {
52
+ const StringPrimitiveInstanceValueEditor = observer(forwardRef(function StringPrimitiveInstanceValueEditor(props, ref) {
53
53
  const { valueSpecification, className, resetValue, setValueSpecification, selectorConfig, obseverContext, } = props;
54
54
  const useSelector = Boolean(selectorConfig);
55
55
  const applicationStore = useApplicationStore();
@@ -93,8 +93,8 @@ const StringPrimitiveInstanceValueEditor = observer((props) => {
93
93
  return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [useSelector ? (_jsx(CustomSelectorInput, { className: "value-spec-editor__enum-selector", options: queryOptions, onChange: changeValue, value: selectedValue, inputValue: value, onInputChange: handleInputChange, darkMode: !applicationStore.layoutService
94
94
  .TEMPORARY__isLightColorThemeEnabled, isLoading: isLoading, allowCreateWhileLoading: true, noOptionsMessage: noOptionsMessage, components: {
95
95
  DropdownIndicator: null,
96
- } })) : (_jsx("input", { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, value: value, placeholder: value === '' ? '(empty)' : undefined, onChange: changeInputValue })), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
97
- });
96
+ } })) : (_jsx("input", { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, value: value, placeholder: value === '' ? '(empty)' : undefined, onChange: changeInputValue, ref: ref })), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
97
+ }));
98
98
  const BooleanPrimitiveInstanceValueEditor = observer((props) => {
99
99
  const { valueSpecification, className, resetValue, setValueSpecification, obseverContext, } = props;
100
100
  const value = valueSpecification.values[0];
@@ -106,10 +106,11 @@ const BooleanPrimitiveInstanceValueEditor = observer((props) => {
106
106
  'value-spec-editor__toggler__btn--toggled': value,
107
107
  }), onClick: toggleValue, children: value ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
108
108
  });
109
- const NumberPrimitiveInstanceValueEditor = observer((props) => {
109
+ const NumberPrimitiveInstanceValueEditor = observer(forwardRef(function NumberPrimitiveInstanceValueEditor(props, ref) {
110
110
  const { valueSpecification, isInteger, className, resetValue, setValueSpecification, obseverContext, } = props;
111
111
  const [value, setValue] = useState(valueSpecification.values[0].toString());
112
112
  const inputRef = useRef(null);
113
+ useImperativeHandle(ref, () => inputRef.current, []);
113
114
  const numericValue = isInteger
114
115
  ? Number.parseInt(Number(value).toString(), 10)
115
116
  : Number(value);
@@ -161,7 +162,7 @@ const NumberPrimitiveInstanceValueEditor = observer((props) => {
161
162
  }, [numericValue, valueSpecification]);
162
163
  return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsxs("div", { className: "value-spec-editor__number__input-container", children: [_jsx("input", { ref: inputRef, className: "panel__content__form__section__input value-spec-editor__input value-spec-editor__number__input", spellCheck: false, type: "text" // NOTE: we leave this as text so that we can support expression evaluation
163
164
  , inputMode: "numeric", value: value, onChange: handleInputChange, onBlur: calculateExpression, onKeyDown: onKeyDown }), _jsx("div", { className: "value-spec-editor__number__actions", children: _jsx("button", { className: "value-spec-editor__number__action", title: "Evaluate Expression (Enter)", onClick: calculateExpression, children: _jsx(CalculateIcon, {}) }) })] }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
164
- });
165
+ }));
165
166
  const EnumValueInstanceValueEditor = observer((props) => {
166
167
  const { valueSpecification, className, resetValue, setValueSpecification, obseverContext, } = props;
167
168
  const applicationStore = useApplicationStore();
@@ -367,13 +368,13 @@ const DateInstanceValueEditor = observer((props) => {
367
368
  *
368
369
  * See https://github.com/finos/legend-studio/pull/1021
369
370
  */
370
- export const BasicValueSpecificationEditor = (props) => {
371
+ export const BasicValueSpecificationEditor = forwardRef(function BasicValueSpecificationEditor(props, ref) {
371
372
  const { className, valueSpecification, graph, obseverContext, typeCheckOption, setValueSpecification, resetValue, selectorConfig, isConstant, } = props;
372
373
  if (valueSpecification instanceof PrimitiveInstanceValue) {
373
374
  const _type = valueSpecification.genericType.value.rawType;
374
375
  switch (_type.path) {
375
376
  case PRIMITIVE_TYPE.STRING:
376
- return (_jsx(StringPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, selectorConfig: selectorConfig, obseverContext: obseverContext }));
377
+ return (_jsx(StringPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, selectorConfig: selectorConfig, obseverContext: obseverContext, ref: ref }));
377
378
  case PRIMITIVE_TYPE.BOOLEAN:
378
379
  return (_jsx(BooleanPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext }));
379
380
  case PRIMITIVE_TYPE.NUMBER:
@@ -382,7 +383,7 @@ export const BasicValueSpecificationEditor = (props) => {
382
383
  case PRIMITIVE_TYPE.BINARY:
383
384
  case PRIMITIVE_TYPE.BYTE:
384
385
  case PRIMITIVE_TYPE.INTEGER:
385
- return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, isInteger: _type.path === PRIMITIVE_TYPE.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext }));
386
+ return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, isInteger: _type.path === PRIMITIVE_TYPE.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext, ref: ref }));
386
387
  case PRIMITIVE_TYPE.DATE:
387
388
  case PRIMITIVE_TYPE.STRICTDATE:
388
389
  case PRIMITIVE_TYPE.DATETIME:
@@ -427,10 +428,10 @@ export const BasicValueSpecificationEditor = (props) => {
427
428
  if (simplifiedValue instanceof PrimitiveInstanceValue &&
428
429
  isSubType(simplifiedValue.genericType.value.rawType, PrimitiveType.NUMBER)) {
429
430
  return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: simplifiedValue, isInteger: simplifiedValue.genericType.value.rawType ===
430
- PrimitiveType.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext }));
431
+ PrimitiveType.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext, ref: ref }));
431
432
  }
432
433
  }
433
434
  }
434
435
  return _jsx(UnsupportedValueSpecificationEditor, {});
435
- };
436
+ });
436
437
  //# sourceMappingURL=BasicValueSpecificationEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,EAE1B,iBAAiB,EACjB,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,IAAI,EACJ,cAAc,EACd,iBAAiB,EACjB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,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,CACxC,EACD;YACA,MAAM,eAAe,GAAG,uBAAuB,CAC7C,kBAAkB,EAClB,cAAc,CACf,CAAC;YACF,IACE,eAAe,YAAY,sBAAsB;gBACjD,SAAS,CACP,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,EACzC,aAAa,CAAC,MAAM,CACrB,EACD;gBACA,OAAO,CACL,KAAC,kCAAkC,IACjC,kBAAkB,EAAE,eAAe,EACnC,SAAS,EACP,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO;wBACzC,aAAa,CAAC,OAAO,EAEvB,qBAAqB,EAAE,qBAAqB,EAC5C,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC;aACH;SACF;KACF;IAED,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC"}
1
+ {"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,EAE1B,iBAAiB,EACjB,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAA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