@finos/legend-query-builder 4.14.25 → 4.14.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderConstantExpressionPanel.js +20 -8
  3. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderParametersPanel.js +18 -14
  6. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  7. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts +4 -0
  8. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  9. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +126 -37
  10. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  11. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +2 -2
  12. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  13. package/lib/components/shared/BasicValueSpecificationEditor.js +12 -11
  14. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  15. package/lib/index.css +2 -2
  16. package/lib/index.css.map +1 -1
  17. package/lib/package.json +1 -1
  18. package/lib/stores/QueryBuilderResultState.d.ts +12 -0
  19. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  20. package/lib/stores/QueryBuilderResultState.js +68 -4
  21. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  22. package/package.json +5 -5
  23. package/src/components/QueryBuilderConstantExpressionPanel.tsx +37 -21
  24. package/src/components/QueryBuilderParametersPanel.tsx +14 -9
  25. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +188 -11
  26. package/src/components/shared/BasicValueSpecificationEditor.tsx +69 -49
  27. package/src/stores/QueryBuilderResultState.ts +82 -4
@@ -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/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAq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,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,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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,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,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAA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BAAiB,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,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,qBAA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AAW,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"}
@@ -15,6 +15,10 @@
15
15
  */
16
16
  import type { QueryBuilderState } from '../../../stores/QueryBuilderState.js';
17
17
  import { type TDSExecutionResult } from '@finos/legend-graph';
18
+ export declare const enum QueryBuilderDataGridCustomAggregationFunction {
19
+ wavg = "wavg",
20
+ WAVG = "WAVG"
21
+ }
18
22
  export declare const QueryBuilderTDSGridResult: ((props: {
19
23
  executionResult: TDSExecutionResult;
20
24
  queryBuilderState: QueryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAsM9E,eAAO,MAAM,yBAAyB,WAC5B;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAoMF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AA8C9E,0BAAkB,6CAA6C;IAC7D,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AA2KD,eAAO,MAAM,yBAAyB,WAC5B;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAgWF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -14,17 +14,23 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { clsx } from '@finos/legend-art';
18
17
  import { observer } from 'mobx-react-lite';
19
18
  import { PRIMITIVE_TYPE } from '@finos/legend-graph';
20
- import { useState, useCallback } from 'react';
19
+ import { useState, useCallback, useEffect } from 'react';
21
20
  import { DataGrid, } from '@finos/legend-lego/data-grid';
22
21
  import { getRowDataFromExecutionResult, filterByOrOutValues, } from './QueryBuilderTDSResultShared.js';
22
+ import { QueryBuilderResultWavgAggregationState, } from '../../../stores/QueryBuilderResultState.js';
23
23
  import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
24
24
  import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
25
- import { isNumber, isString, isValidURL } from '@finos/legend-shared';
25
+ import { assertErrorThrown, isNumber, isString, isValidURL, } from '@finos/legend-shared';
26
26
  import { useApplicationStore } from '@finos/legend-application';
27
27
  import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
28
+ import { clsx, Modal, ModalBody, ModalHeader, ModalFooter, ModalFooterButton, Dialog, CustomSelectorInput, } from '@finos/legend-art';
29
+ export var QueryBuilderDataGridCustomAggregationFunction;
30
+ (function (QueryBuilderDataGridCustomAggregationFunction) {
31
+ QueryBuilderDataGridCustomAggregationFunction["wavg"] = "wavg";
32
+ QueryBuilderDataGridCustomAggregationFunction["WAVG"] = "WAVG";
33
+ })(QueryBuilderDataGridCustomAggregationFunction || (QueryBuilderDataGridCustomAggregationFunction = {}));
28
34
  const getAggregationTDSColumnCustomizations = (result, columnName) => {
29
35
  const columnType = result.builder.columns.find((col) => col.name === columnName)?.type;
30
36
  switch (columnType) {
@@ -45,7 +51,7 @@ const getAggregationTDSColumnCustomizations = (result, columnName) => {
45
51
  case PRIMITIVE_TYPE.FLOAT:
46
52
  return {
47
53
  filter: 'agNumberColumnFilter',
48
- allowedAggFuncs: ['count', 'sum', 'max', 'min', 'avg'],
54
+ allowedAggFuncs: ['count', 'sum', 'max', 'min', 'avg', 'wavg'],
49
55
  };
50
56
  default:
51
57
  return {
@@ -144,13 +150,14 @@ const getColDefs = (executionResult, resultState) => executionResult.result.colu
144
150
  export const QueryBuilderTDSGridResult = observer((props) => {
145
151
  const { executionResult, queryBuilderState } = props;
146
152
  const applicationStore = useApplicationStore();
153
+ const darkMode = !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;
147
154
  const [columnAPi, setColumnApi] = useState(undefined);
155
+ const [aggFuncParams, setAggFuncParams] = useState(undefined);
148
156
  const resultState = queryBuilderState.resultState;
149
157
  const isLocalModeEnabled = queryBuilderState.isLocalModeEnabled;
150
158
  const colDefs = isLocalModeEnabled
151
159
  ? getLocalColDefs(executionResult, resultState)
152
160
  : getColDefs(executionResult, resultState);
153
- const darkMode = !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;
154
161
  const onSaveGridColumnState = () => {
155
162
  if (!columnAPi) {
156
163
  return;
@@ -160,6 +167,9 @@ export const QueryBuilderTDSGridResult = observer((props) => {
160
167
  isPivotModeEnabled: columnAPi.isPivotMode(),
161
168
  isLocalModeEnabled: true,
162
169
  previewLimit: resultState.previewLimit,
170
+ ...(resultState.wavgAggregationState?.weightedColumnIdPairs && {
171
+ weightedColumnPairs: resultState.wavgAggregationState.weightedColumnIdPairs,
172
+ }),
163
173
  });
164
174
  };
165
175
  const getSelectedCells = (api) => {
@@ -227,38 +237,117 @@ export const QueryBuilderTDSGridResult = observer((props) => {
227
237
  resultState.mousedOverCell,
228
238
  resultState.queryBuilderState.fetchStructureState.implementation,
229
239
  ]);
230
- return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_VALUES_TDS, className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('query-builder__result__tds-grid', {
240
+ const weightedColumnOptions = columnAPi
241
+ ?.getColumns()
242
+ ?.filter((c) => c.getColDef().cellDataType === 'number')
243
+ .map((col) => ({
244
+ label: col.getColId(),
245
+ value: col.getColId(),
246
+ }));
247
+ const selectedWeightedColumn = aggFuncParams?.colDef.field &&
248
+ resultState.wavgAggregationState?.weightedColumnIdPairs.get(aggFuncParams.colDef.field)
249
+ ? {
250
+ label: resultState.wavgAggregationState.weightedColumnIdPairs.get(aggFuncParams.colDef.field),
251
+ value: resultState.wavgAggregationState.weightedColumnIdPairs.get(aggFuncParams.colDef.field),
252
+ }
253
+ : null;
254
+ const onWeightedColumnOptionChange = async (option) => {
255
+ if (aggFuncParams?.colDef.field && option?.value) {
256
+ resultState.wavgAggregationState?.addWeightedColumnIdPair(aggFuncParams.colDef.field, option.value);
257
+ }
258
+ };
259
+ const weightedAverage = (param) => {
260
+ if (param.colDef.field) {
261
+ if (!resultState.wavgAggregationState) {
262
+ resultState.setWavgAggregationState(new QueryBuilderResultWavgAggregationState());
263
+ }
264
+ resultState.wavgAggregationState?.addWeightedColumnIdPair(param.colDef.field, param.colDef.field);
265
+ resultState.wavgAggregationState?.setIsApplyingWavg(true);
266
+ setAggFuncParams(param);
267
+ }
268
+ else {
269
+ applicationStore.notificationService.notifyError('The id of this column can`t be retrieved to perform weighted average');
270
+ }
271
+ };
272
+ const weightedAverageHelper = (param) => {
273
+ try {
274
+ const column = param.colDef.field;
275
+ if (column) {
276
+ const weightedColumnId = resultState.wavgAggregationState?.weightedColumnIdPairs.get(column);
277
+ if (weightedColumnId) {
278
+ const weightedColumnSum = param.rowNode.allLeafChildren
279
+ .map((node) => node.data[weightedColumnId])
280
+ .reduce((a, b) => a + b);
281
+ const weightedColumnMultiply = param.rowNode.allLeafChildren
282
+ .map((node) => node.data[weightedColumnId] * node.data[column])
283
+ .reduce((a, b) => a + b);
284
+ if (weightedColumnSum !== 0) {
285
+ onSaveGridColumnState();
286
+ return weightedColumnMultiply / weightedColumnSum;
287
+ }
288
+ else {
289
+ applicationStore.notificationService.notifyError('The weighted column sum is 0');
290
+ }
291
+ }
292
+ else {
293
+ applicationStore.notificationService.notifyError('The weighted column Id is not defined');
294
+ }
295
+ }
296
+ }
297
+ catch (error) {
298
+ assertErrorThrown(error);
299
+ applicationStore.notificationService.notifyError(error);
300
+ }
301
+ return -1;
302
+ };
303
+ useEffect(() => {
304
+ if (aggFuncParams) {
305
+ aggFuncParams.columnApi.setColumnAggFunc(aggFuncParams.colDef.field, QueryBuilderDataGridCustomAggregationFunction.WAVG);
306
+ }
307
+ }, [resultState.wavgAggregationState, aggFuncParams]);
308
+ return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_VALUES_TDS, className: "query-builder__result__values__table", children: _jsxs("div", { className: clsx('query-builder__result__tds-grid', {
231
309
  'ag-theme-balham': !darkMode,
232
310
  'ag-theme-balham-dark': darkMode,
233
- }), children: isLocalModeEnabled ? (_jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), onGridReady: (params) => {
234
- setColumnApi(params.columnApi);
235
- params.columnApi.setPivotMode(Boolean(resultState.gridConfig?.isPivotModeEnabled));
236
- }, gridOptions: {
237
- suppressScrollOnNewData: true,
238
- getRowId: (data) => data.data.rowNumber,
239
- rowSelection: 'multiple',
240
- pivotPanelShow: 'always',
241
- rowGroupPanelShow: 'always',
242
- enableRangeSelection: true,
243
- },
244
- // NOTE: when column definition changed, we need to force refresh the cell to make sure the cell renderer is updated
245
- // See https://stackoverflow.com/questions/56341073/how-to-refresh-an-ag-grid-when-a-change-occurs-inside-a-custom-cell-renderer-com
246
- onRowDataUpdated: (params) => {
247
- params.api.refreshCells({ force: true });
248
- }, suppressFieldDotNotation: true, suppressContextMenu: false, columnDefs: colDefs, sideBar: ['columns', 'filters'], onColumnVisible: onSaveGridColumnState, onColumnPinned: onSaveGridColumnState, onColumnResized: onSaveGridColumnState, onColumnRowGroupChanged: onSaveGridColumnState, onColumnValueChanged: onSaveGridColumnState, onColumnPivotChanged: onSaveGridColumnState, onColumnPivotModeChanged: onSaveGridColumnState })) : (_jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), gridOptions: {
249
- suppressScrollOnNewData: true,
250
- getRowId: (data) => data.data.rowNumber,
251
- rowSelection: 'multiple',
252
- enableRangeSelection: true,
253
- },
254
- // NOTE: when column definition changed, we need to force refresh the cell to make sure the cell renderer is updated
255
- // See https://stackoverflow.com/questions/56341073/how-to-refresh-an-ag-grid-when-a-change-occurs-inside-a-custom-cell-renderer-com
256
- onRowDataUpdated: (params) => {
257
- params.api.refreshCells({ force: true });
258
- }, onRangeSelectionChanged: (event) => {
259
- const selectedCells = getSelectedCells(event.api);
260
- resultState.setSelectedCells([]);
261
- selectedCells.forEach((cell) => resultState.addSelectedCell(cell));
262
- }, suppressFieldDotNotation: true, suppressClipboardPaste: false, suppressContextMenu: false, columnDefs: colDefs, getContextMenuItems: (params) => getContextMenuItems(params) })) }) }));
311
+ }), children: [isLocalModeEnabled ? (_jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), onGridReady: (params) => {
312
+ setColumnApi(params.columnApi);
313
+ params.columnApi.setPivotMode(Boolean(resultState.gridConfig?.isPivotModeEnabled));
314
+ }, gridOptions: {
315
+ suppressScrollOnNewData: true,
316
+ getRowId: (data) => data.data.rowNumber,
317
+ rowSelection: 'multiple',
318
+ pivotPanelShow: 'always',
319
+ rowGroupPanelShow: 'always',
320
+ enableRangeSelection: true,
321
+ },
322
+ // NOTE: when column definition changed, we need to force refresh the cell to make sure the cell renderer is updated
323
+ // See https://stackoverflow.com/questions/56341073/how-to-refresh-an-ag-grid-when-a-change-occurs-inside-a-custom-cell-renderer-com
324
+ onRowDataUpdated: (params) => {
325
+ params.api.refreshCells({ force: true });
326
+ }, suppressFieldDotNotation: true, suppressContextMenu: false, columnDefs: colDefs, aggFuncs: {
327
+ wavg: weightedAverage,
328
+ WAVG: weightedAverageHelper,
329
+ }, sideBar: ['columns', 'filters'], onColumnVisible: onSaveGridColumnState, onColumnPinned: onSaveGridColumnState, onColumnResized: onSaveGridColumnState, onColumnRowGroupChanged: onSaveGridColumnState, onColumnValueChanged: onSaveGridColumnState, onColumnPivotChanged: onSaveGridColumnState, onColumnPivotModeChanged: onSaveGridColumnState })) : (_jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), gridOptions: {
330
+ suppressScrollOnNewData: true,
331
+ getRowId: (data) => data.data.rowNumber,
332
+ rowSelection: 'multiple',
333
+ enableRangeSelection: true,
334
+ },
335
+ // NOTE: when column definition changed, we need to force refresh the cell to make sure the cell renderer is updated
336
+ // See https://stackoverflow.com/questions/56341073/how-to-refresh-an-ag-grid-when-a-change-occurs-inside-a-custom-cell-renderer-com
337
+ onRowDataUpdated: (params) => {
338
+ params.api.refreshCells({ force: true });
339
+ }, onRangeSelectionChanged: (event) => {
340
+ const selectedCells = getSelectedCells(event.api);
341
+ resultState.setSelectedCells([]);
342
+ selectedCells.forEach((cell) => resultState.addSelectedCell(cell));
343
+ }, suppressFieldDotNotation: true, suppressClipboardPaste: false, suppressContextMenu: false, columnDefs: colDefs, getContextMenuItems: (params) => getContextMenuItems(params) })), resultState.wavgAggregationState?.isApplyingWavg && (_jsx(Dialog, { open: resultState.wavgAggregationState.isApplyingWavg, onClose: () => resultState.wavgAggregationState?.setIsApplyingWavg(false), classes: {
344
+ root: 'editor-modal__root-container',
345
+ container: 'editor-modal__container',
346
+ paper: 'editor-modal__content',
347
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService
348
+ .TEMPORARY__isLightColorThemeEnabled, className: "query-editor__blocking-alert", children: [_jsx(ModalHeader, { title: "Applying Weighted Average" }), _jsxs(ModalBody, { children: [_jsx("div", { className: "query-builder__result__tds-grid__text", children: "choose a weighted column from dropdown" }), _jsx(CustomSelectorInput, { options: weightedColumnOptions, onChange: onWeightedColumnOptionChange, value: selectedWeightedColumn, placeholder: 'Choose a weighted column', darkMode: !applicationStore.layoutService
349
+ .TEMPORARY__isLightColorThemeEnabled })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: () => {
350
+ resultState.wavgAggregationState?.setIsApplyingWavg(false);
351
+ }, text: "Apply" }) })] }) }))] }) }));
263
352
  });
264
353
  //# sourceMappingURL=QueryBuilderTDSGridResult.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EACL,QAAQ,GAQT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAO1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OA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AE,CAAC,MAAM,EAAE,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,uBAAuB,EAAE,CAAC,KAAK,EAAE,EAAE;oBACjC,MAAM,aAAa,GAAG,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBAClD,WAAW,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;oBACjC,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAC7B,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC,CAClC,CAAC;gBACJ,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,sBAAsB,EAAE,KAAK,EAC7B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,EACnB,mBAAmB,EAAE,CAAC,MAAM,EAAoC,EAAE,CAChE,mBAAmB,CAAC,MAAM,CAAC,GAE7B,CACH,GACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,QAAQ,GAST,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,sCAAsC,GAIvC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM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,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,GAExC,IACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,GAAG,EAAE;wCACZ,WAAW,CAAC,oBAAoB,EAAE,iBAAiB,CACjD,KAAK,CACN,CAAC;oCACJ,CAAC,EACD,IAAI,EAAC,OAAO,GACZ,GACU,IACR,GACD,CACV,IACG,GACF,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/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;AAc9B,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;AAoxBD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC;IACnD,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,EAAE,eAAe,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,qBAAqB,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EACX;QACE,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC7B,SAAS,EAAE,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"}