@finos/legend-query-builder 4.14.41 → 4.14.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderParametersPanel.js +2 -20
  3. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderSideBar.js +14 -5
  6. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  7. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -5
  8. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  9. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +5 -10
  10. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  12. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +3 -35
  13. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  14. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  15. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -19
  16. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  17. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  18. package/lib/components/result/QueryBuilderResultPanel.js +1 -2
  19. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  20. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  21. package/lib/components/shared/BasicValueSpecificationEditor.js +9 -7
  22. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  23. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  24. package/lib/components/shared/QueryBuilderVariableSelector.js +1 -8
  25. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  26. package/lib/index.css +2 -2
  27. package/lib/index.css.map +1 -1
  28. package/lib/package.json +1 -1
  29. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +0 -1
  30. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  31. package/lib/stores/QueryBuilderPropertyEditorState.js +1 -2
  32. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  33. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  34. package/lib/stores/QueryBuilderState.js +0 -12
  35. package/lib/stores/QueryBuilderState.js.map +1 -1
  36. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +0 -1
  37. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  38. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +0 -8
  39. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  40. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +0 -1
  41. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  42. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +0 -16
  43. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  44. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +0 -3
  45. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  46. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +3 -49
  47. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  48. package/package.json +1 -1
  49. package/src/components/QueryBuilderParametersPanel.tsx +0 -55
  50. package/src/components/QueryBuilderSideBar.tsx +35 -0
  51. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +46 -60
  52. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +3 -53
  53. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +19 -132
  54. package/src/components/result/QueryBuilderResultPanel.tsx +1 -9
  55. package/src/components/shared/BasicValueSpecificationEditor.tsx +29 -18
  56. package/src/components/shared/QueryBuilderVariableSelector.tsx +0 -22
  57. package/src/stores/QueryBuilderPropertyEditorState.ts +1 -2
  58. package/src/stores/QueryBuilderState.ts +0 -14
  59. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +0 -11
  60. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +0 -24
  61. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +7 -65
@@ -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;AAkSxE,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAwGjD,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"}
@@ -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 { observer } from 'mobx-react-lite';
18
- import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelFormValidatedTextField, QuestionCircleIcon, PanelFormSection, } from '@finos/legend-art';
18
+ import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelFormValidatedTextField, QuestionCircleIcon, } 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
21
  import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
@@ -26,10 +26,6 @@ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
26
26
  import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
27
27
  import { useCallback, useState } from 'react';
28
28
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
29
- import { deepClone } from '@finos/legend-shared';
30
- import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
31
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
32
- import { createSupportedFunctionExpression } from '../stores/shared/ValueSpecificationEditorHelper.js';
33
29
  const buildMultiplicityOption = (multiplicity) => ({
34
30
  label: getMultiplicityPrettyDescription(multiplicity),
35
31
  value: multiplicity,
@@ -71,8 +67,6 @@ const VariableExpressionEditor = observer((props) => {
71
67
  const nameInputRef = useCallback((ref) => {
72
68
  ref?.focus();
73
69
  }, []);
74
- const [defaultMilestoningValue, setDefaultMilestoningValue] = useState(deepClone(lambdaParameterState.value));
75
- const isMilestoningParameter = queryBuilderState.milestoningState.isMilestoningParameter(lambdaParameterState.parameter);
76
70
  const getValidationMessage = (input) => !hasEditedName
77
71
  ? undefined
78
72
  : !input
@@ -94,9 +88,6 @@ const VariableExpressionEditor = observer((props) => {
94
88
  if (isCreating) {
95
89
  queryParametersState.addParameter(lambdaParameterState);
96
90
  }
97
- if (isMilestoningParameter) {
98
- queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, defaultMilestoningValue);
99
- }
100
91
  handleCancel();
101
92
  };
102
93
  return (_jsx(Dialog, { open: Boolean(lambdaParameterState), onClose: handleCancel, classes: {
@@ -111,16 +102,7 @@ const VariableExpressionEditor = observer((props) => {
111
102
  darkMode: !applicationStore.layoutService
112
103
  .TEMPORARY__isLightColorThemeEnabled,
113
104
  }) })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Multiplicity" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The multiplity determines how many values a parameter can have. Default is set to mandatory single vlue." }), _jsx(CustomSelectorInput, { placeholder: "Choose a multiplicity...", options: multilicityOptions, onChange: changeMultiplicity, value: selectedMultiplicity, hasError: !validParamMultiplicityList.includes(selectedMultiplicity.value), darkMode: !applicationStore.layoutService
114
- .TEMPORARY__isLightColorThemeEnabled })] }), isMilestoningParameter && defaultMilestoningValue && (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Value" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Choose a default value for this milestoning parameter" }), _jsx("div", { className: "query-builder__variable-editor", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: defaultMilestoningValue, setValueSpecification: (val) => {
115
- setDefaultMilestoningValue(deepClone(val));
116
- }, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
117
- expectedType: selectedType.value,
118
- match: selectedType.value === PrimitiveType.DATETIME,
119
- }, resetValue: () => {
120
- const now = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
121
- setDefaultMilestoningValue(now);
122
- queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, now);
123
- } }) })] }))] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Update', disabled: !isNameValid, onClick: handleApply }), _jsx(ModalFooterButton, { onClick: handleCancel, text: "Cancel", type: "secondary" })] })] }) }));
105
+ .TEMPORARY__isLightColorThemeEnabled })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Update', disabled: !isNameValid, onClick: handleApply }), _jsx(ModalFooterButton, { onClick: handleCancel, text: "Cancel", type: "secondary" })] })] }) }));
124
106
  });
125
107
  export const QueryBuilderParametersPanel = observer((props) => {
126
108
  const { queryBuilderState } = props;
@@ -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,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE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H,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,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,GACnB,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;A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,KAAK,EAAE,OAAO,CAAA;CAAE,KAAK,MAAM,SAAS,CAkBjD,CAAC;AAyJJ,eAAO,MAAM,mBAAmB,WACtB;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,MAAM,SAAS,CAAC;CAC3B;;CA2CF,CAAC"}
@@ -14,10 +14,10 @@ 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 { CustomSelectorInput, createFilter, CogIcon, clsx, PanelHeader, compareLabelFn, } from '@finos/legend-art';
17
+ import { CustomSelectorInput, createFilter, CogIcon, ClockIcon, clsx, PanelHeader, compareLabelFn, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
20
- import { LATEST_DATE, PrimitiveInstanceValue, VariableExpression, PackageableElementExplicitReference, RuntimePointer, VARIABLE_REFERENCE_TOKEN, isElementDeprecated, PrimitiveType, } from '@finos/legend-graph';
20
+ import { LATEST_DATE, PrimitiveInstanceValue, VariableExpression, getMilestoneTemporalStereotype, PackageableElementExplicitReference, RuntimePointer, VARIABLE_REFERENCE_TOKEN, isElementDeprecated, PrimitiveType, } from '@finos/legend-graph';
21
21
  import { useApplicationStore } from '@finos/legend-application';
22
22
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
23
23
  import { MilestoningParametersEditor } from './explorer/QueryBuilderMilestoningEditor.js';
@@ -38,10 +38,17 @@ export const getParameterValue = (parameter) => {
38
38
  }
39
39
  };
40
40
  const generateClassLabel = (val, queryBuilderState) => {
41
+ const milestoneStereotype = getMilestoneTemporalStereotype(val, queryBuilderState.graphManagerState.graph);
41
42
  const isDeprecatedClass = isElementDeprecated(val, queryBuilderState.graphManagerState.graph);
42
- return (_jsx("div", { className: clsx('query-builder__setup__class-option-label', {
43
+ let milestoningTooltipText;
44
+ if (milestoneStereotype) {
45
+ milestoningTooltipText = queryBuilderState.milestoningState
46
+ .getMilestoningImplementation(milestoneStereotype)
47
+ .getMilestoningToolTipText();
48
+ }
49
+ return (_jsxs("div", { className: clsx('query-builder__setup__class-option-label', {
43
50
  'query-builder__setup__class-option-label--deprecated': isDeprecatedClass,
44
- }), children: _jsx("div", { className: "query-builder__setup__class-option-label__name", children: val.name }) }));
51
+ }), children: [_jsx("div", { className: "query-builder__setup__class-option-label__name", children: val.name }), milestoningTooltipText && (_jsx(ClockIcon, { className: "query-builder__setup__class-option-label__milestoning", title: `This class is milestoned:\n${milestoningTooltipText}` }))] }));
45
52
  };
46
53
  export const QueryBuilderClassSelector = observer((props) => {
47
54
  const { queryBuilderState, classes, onClassChange, noMatchMessage } = props;
@@ -72,6 +79,8 @@ export const QueryBuilderClassSelector = observer((props) => {
72
79
  queryBuilderState.changeClass(val.value);
73
80
  onClassChange?.(val.value);
74
81
  };
82
+ // milestoning
83
+ const showMilestoningEditor = () => milestoningState.setShowMilestoningEditor(true);
75
84
  return (_jsx("div", { className: "query-builder__setup__config-group query-builder__setup__config-group--class", children: _jsxs("div", { className: "query-builder__setup__config-group__item ", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "entity", htmlFor: "query-builder__setup__class-selector", children: "Entity" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__class-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector query-builder__setup__config-group__item__selector__milestoned", placeholder: classOptions.length
76
85
  ? 'Choose an entity...'
77
86
  : noMatchMessage ?? 'No entity found', disabled: classOptions.length < 1 ||
@@ -79,7 +88,7 @@ export const QueryBuilderClassSelector = observer((props) => {
79
88
  .TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
80
89
  darkMode: !applicationStore.layoutService
81
90
  .TEMPORARY__isLightColorThemeEnabled,
82
- }) }), milestoningState.isMilestonedQuery && (_jsx(MilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] }) }));
91
+ }) }), queryBuilderState.isQuerySupported && (_jsx("button", { className: "btn--dark btn__icon--dark query-builder__setup__milestoning", tabIndex: -1, onClick: showMilestoningEditor, disabled: !milestoningState.isMilestonedQuery, title: "Edit Milestoning Parameters", children: _jsx(ClockIcon, {}) })), milestoningState.isMilestonedQuery && (_jsx(MilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] }) }));
83
92
  });
84
93
  export const buildRuntimeValueOption = (runtimeValue) => ({
85
94
  value: runtimeValue,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,WAAW,EACX,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAKL,WAAW,EACX,sBAAsB,EACtB,kBAAkB,EAClB,mCAAmC,EACnC,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAG1F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,SAAyC,EACrB,EAAE;IACtB,IAAI,SAAS,YAAY,kBAAkB,EAAE,CAAC;QAC5C,OAAO,GAAG,wBAAwB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC;IACxD,CAAC;SAAM,CAAC;QACN,IACE,SAAS,YAAY,sB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AAiB,EACpC,OAAO,EAAE,OAAO,GAChB,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CACzC,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC9C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,sCAAsC,GAC1C,gBAAgB,CAAC,aAAa;SAC3B,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,CACxD,CAAC;IACN,MAAM,4BAA4B,GAChC,sCAAsC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC1C,sCAAsC,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAC7D,CAAC,CAAC,CAAC,CACF,mBAAK,CACN,CAAC;IAEJ,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CACb,yBAAyB,EACzB,iBAAiB,CAAC,gBAAgB,CACnC,aAED,6BACe,qBAAqB,CAAC,mBAAmB,EACtD,SAAS,EAAC,4BAA4B,YAEtC,cAAK,SAAS,EAAC,8CAA8C,YAC1D,iBAAiB,CAAC,oCAAoC,EAAE,EAAE,IAAI,CAC7D,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,GACG,GACF,EACN,cAAK,SAAS,EAAC,+BAA+B,YAC3C,4BAA4B,GACzB,EACN,cAAK,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAO,IAC9D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -14,11 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
17
- export declare const MilestoningParametersEditorContent: ((props: {
18
- queryBuilderState: QueryBuilderState;
19
- }) => import("react/jsx-runtime").JSX.Element) & {
20
- displayName: string;
21
- };
22
17
  export declare const MilestoningParametersEditor: ((props: {
23
18
  queryBuilderState: QueryBuilderState;
24
19
  }) => import("react/jsx-runtime").JSX.Element) & {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningEditor.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAuQ3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2DjD,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkCjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderMilestoningEditor.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAuQ3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkFjD,CAAC"}
@@ -83,25 +83,20 @@ const AllVersionsInRangelMilestoningParametersEditor = observer((props) => {
83
83
  const { queryBuilderState } = props;
84
84
  return (_jsxs("div", { className: "query-builder__milestoning-panel__all-versions-in-range-editor", children: [_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Start Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.startDate), setParameter: (val) => queryBuilderState.milestoningState.setStartDate(val) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "End Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.endDate), setParameter: (val) => queryBuilderState.milestoningState.setEndDate(val) })] })] }));
85
85
  });
86
- export const MilestoningParametersEditorContent = observer((props) => {
86
+ export const MilestoningParametersEditor = observer((props) => {
87
87
  const { queryBuilderState } = props;
88
+ const applicationStore = queryBuilderState.applicationStore;
88
89
  const milestoningState = queryBuilderState.milestoningState;
90
+ const close = () => milestoningState.setShowMilestoningEditor(false);
89
91
  const isCompatibleMilestoningParameter = (variable) => variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.STRICTDATE ||
90
92
  variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.LATESTDATE ||
91
93
  variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATE ||
92
94
  variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATETIME;
93
- return (_jsxs(_Fragment, { children: [milestoningState.isCurrentClassMilestoned && (_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsEnabled, name: "all Versions", prompt: "Query All Milestoned Versions of the Root Class", update: (value) => milestoningState.setAllVersions(value) })), milestoningState.isAllVersionsEnabled &&
94
- milestoningState.isCurrentClassSupportsVersionsInRange && (_jsxs(_Fragment, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsInRangeEnabled, name: " All Versions In Range", prompt: "Optionally apply a date range to get All Versions for", update: (value) => milestoningState.setAllVersionsInRange(value) }), milestoningState.isAllVersionsInRangeEnabled && (_jsx(AllVersionsInRangelMilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] })), _jsx(TemporalMilestoningEditor, { queryBuilderState: queryBuilderState }), _jsx(PanelFormSection, { children: _jsx("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }) }), _jsx("div", { className: "panel__content__form__section__list__items", children: _jsx(VariableSelector, { queryBuilderState: queryBuilderState, filterBy: isCompatibleMilestoningParameter }) })] }));
95
- });
96
- export const MilestoningParametersEditor = observer((props) => {
97
- const { queryBuilderState } = props;
98
- const applicationStore = queryBuilderState.applicationStore;
99
- const milestoningState = queryBuilderState.milestoningState;
100
- const close = () => milestoningState.setShowMilestoningEditor(false);
101
95
  return (_jsx(Dialog, { open: milestoningState.showMilestoningEditor, onClose: close, classes: {
102
96
  root: 'editor-modal__root-container',
103
97
  container: 'editor-modal__container',
104
98
  paper: 'editor-modal__content',
105
- }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: "Milestoning Parameters" }), _jsx(ModalBody, { className: "query-builder__variables__modal__body", children: _jsx(MilestoningParametersEditorContent, { queryBuilderState: queryBuilderState }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: close, type: "secondary" }) })] }) }));
99
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: "Milestoning Parameters" }), _jsxs(ModalBody, { className: "query-builder__variables__modal__body", children: [milestoningState.isCurrentClassMilestoned && (_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsEnabled, name: "all Versions", prompt: "Query All Milestoned Versions of the Root Class", update: (value) => milestoningState.setAllVersions(value) })), milestoningState.isAllVersionsEnabled &&
100
+ milestoningState.isCurrentClassSupportsVersionsInRange && (_jsxs(_Fragment, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsInRangeEnabled, name: " All Versions In Range", prompt: "Optionally apply a date range to get All Versions for", update: (value) => milestoningState.setAllVersionsInRange(value) }), milestoningState.isAllVersionsInRangeEnabled && (_jsx(AllVersionsInRangelMilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] })), _jsx(TemporalMilestoningEditor, { queryBuilderState: queryBuilderState }), _jsx(PanelFormSection, { children: _jsx("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }) }), _jsx("div", { className: "panel__content__form__section__list__items", children: _jsx(VariableSelector, { queryBuilderState: queryBuilderState, filterBy: isCompatibleMilestoningParameter }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: close, type: "secondary" }) })] }) }));
106
101
  });
107
102
  //# sourceMappingURL=QueryBuilderMilestoningEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningEditor.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,6BAA6B,EAE7B,+BAA+B,GAChC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE7E,MAAM,0BAA0B,GAAG,QAAQ,CACzC,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC7D,MAAM,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EAAC,8CAA8C,0DAEvD,GACW,EACnB,cAAK,SAAS,EAAC,4CAA4C,YACzD,KAAC,gBAAgB,IACf,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,gCAAgC,GAC1C,GACE,IACL,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,gBAAgB,CAAC;IAC5D,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,gBAAgB,CAAC;IAC5D,MAAM,KAAK,GAAG,GAAS,EAAE,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;IAC3E,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,gBAAgB,CAAC,qBAAqB,EAC5C,OAAO,EAAE,KAAK,EACd,OAAO,EAAE;YACP,IAAI,EAAE,8BAA8B;YACpC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,uBAAuB;SAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,8CAA8C,aAExD,KAAC,WAAW,IAAC,KAAK,EAAC,wBAAwB,GAAG,EAC9C,KAAC,SAAS,IAAC,SAAS,EAAC,uCAAuC,YAC1D,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,GACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,WAAW,GAAG,GACvD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderMilestoningEditor.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.ts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gB,CAAC,2BAA2B,IAAI,CAC/C,KAAC,8CAA8C,IAC7C,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACH,KAAC,yBAAyB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,EACnE,KAAC,gBAAgB,cACf,cAAK,SAAS,EAAC,8CAA8C,0DAEvD,GACW,EACnB,cAAK,SAAS,EAAC,4CAA4C,YACzD,KAAC,gBAAgB,IACf,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,gCAAgC,GAC1C,GACE,IACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,WAAW,GAAG,GACvD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+BH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA+LrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAyY3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+BH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA8LrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAwV3C,CAAC"}
@@ -20,13 +20,12 @@ import { SortColumnState } from '../../stores/fetch-structure/tds/QueryResultSet
20
20
  import { addUniqueEntry, clone, deepClone, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
21
21
  import { useApplicationStore } from '@finos/legend-application';
22
22
  import { COLUMN_SORT_TYPE } from '../../graph/QueryBuilderMetaModelConst.js';
23
- import { useCallback, useEffect, useRef, useState } from 'react';
23
+ import { useCallback, useEffect, useState } from 'react';
24
24
  import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
25
25
  import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
26
26
  import { PrimitiveType, Multiplicity, areMultiplicitiesEqual, } from '@finos/legend-graph';
27
27
  import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
28
28
  import { useDrop } from 'react-dnd';
29
- import { MilestoningParametersEditorContent } from '../explorer/QueryBuilderMilestoningEditor.js';
30
29
  const ColumnSortEditor = observer((props) => {
31
30
  const { sortColumns, setSortColumns, sortState, tdsColumns } = props;
32
31
  const applicationStore = useApplicationStore();
@@ -102,26 +101,6 @@ export const QueryResultModifierModal = observer((props) => {
102
101
  const [slice, setSlice] = useState(stateSlice ?? [undefined, undefined]);
103
102
  const watermarkState = tdsState.queryBuilderState.watermarkState;
104
103
  const [watermarkValue, setWatermarkValue] = useState(deepClone(watermarkState.value));
105
- //milestoning config
106
- const milestoningState = tdsState.queryBuilderState.milestoningState;
107
- const businessDate = useRef(milestoningState.businessDate);
108
- const processingDate = useRef(milestoningState.processingDate);
109
- const isAllVersionsEnabled = useRef(milestoningState.isAllVersionsEnabled);
110
- const isAllVersionsInRangeEnabled = useRef(milestoningState.isAllVersionsInRangeEnabled);
111
- const startDate = useRef(milestoningState.startDate);
112
- const endDate = useRef(milestoningState.endDate);
113
- const resetMilestoningToInitial = () => {
114
- if (isAllVersionsInRangeEnabled.current) {
115
- milestoningState.setAllVersionsInRange(isAllVersionsInRangeEnabled.current);
116
- milestoningState.setStartDate(startDate.current);
117
- milestoningState.setEndDate(endDate.current);
118
- }
119
- else {
120
- milestoningState.setAllVersions(isAllVersionsEnabled.current);
121
- }
122
- milestoningState.setBusinessDate(businessDate.current);
123
- milestoningState.setProcessingDate(processingDate.current);
124
- };
125
104
  // Sync temp state with tdsState when modal is opened/closed
126
105
  useEffect(() => {
127
106
  setSortColumns(cloneSortColumnStateArray(stateSortColumns));
@@ -138,10 +117,7 @@ export const QueryResultModifierModal = observer((props) => {
138
117
  stateSlice,
139
118
  ]);
140
119
  // Handle user actions
141
- const closeModal = () => {
142
- resetMilestoningToInitial();
143
- resultSetModifierState.setShowModal(false);
144
- };
120
+ const closeModal = () => resultSetModifierState.setShowModal(false);
145
121
  const applyChanges = () => {
146
122
  resultSetModifierState.setSortColumns(sortColumns);
147
123
  resultSetModifierState.setDistinct(distinct);
@@ -154,13 +130,6 @@ export const QueryResultModifierModal = observer((props) => {
154
130
  }
155
131
  resultSetModifierState.setShowModal(false);
156
132
  watermarkState.setValue(watermarkValue);
157
- businessDate.current = milestoningState.businessDate;
158
- processingDate.current = milestoningState.processingDate;
159
- isAllVersionsEnabled.current = milestoningState.isAllVersionsEnabled;
160
- isAllVersionsInRangeEnabled.current =
161
- milestoningState.isAllVersionsInRangeEnabled;
162
- startDate.current = milestoningState.startDate;
163
- endDate.current = milestoningState.endDate;
164
133
  };
165
134
  const handleLimitResultsChange = (event) => {
166
135
  const val = event.target.value.replace(/[^0-9]/g, '');
@@ -229,8 +198,7 @@ export const QueryResultModifierModal = observer((props) => {
229
198
  root: 'editor-modal__root-container',
230
199
  container: 'editor-modal__container',
231
200
  paper: 'editor-modal__content',
232
- }, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__projection__modal", children: [_jsx(ModalHeader, { title: "Query Options" }), _jsx(ModalBody, { className: "query-builder__projection__modal__body", children: _jsxs("div", { className: "query-builder__projection__options", children: [tdsState.queryBuilderState.milestoningState
233
- .isMilestonedQuery && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__projection__options__section-name", children: "Milestoning" }), _jsx(MilestoningParametersEditorContent, { queryBuilderState: tdsState.queryBuilderState }), _jsx("div", { className: "query-builder__projection__options__section-name", children: "Other" })] })), _jsx(ColumnsSortEditor, { projectionColumns: tdsState.projectionColumns, sortColumns: sortColumns, setSortColumns: setSortColumns, tdsColumns: tdsState.tdsColumns }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Eliminate Duplicate Rows" }), _jsxs("div", { className: "panel__content__form__section__toggler", onClick: () => setDistinct(!distinct), children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
201
+ }, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__projection__modal", children: [_jsx(ModalHeader, { title: "Result Set Modifier" }), _jsx(ModalBody, { className: "query-builder__projection__modal__body", children: _jsxs("div", { className: "query-builder__projection__options", children: [_jsx(ColumnsSortEditor, { projectionColumns: tdsState.projectionColumns, sortColumns: sortColumns, setSortColumns: setSortColumns, tdsColumns: tdsState.tdsColumns }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Eliminate Duplicate Rows" }), _jsxs("div", { className: "panel__content__form__section__toggler", onClick: () => setDistinct(!distinct), children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
234
202
  'panel__content__form__section__toggler__btn--toggled': distinct,
235
203
  }), tabIndex: -1, children: distinct ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Remove duplicate rows from the results" })] })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("label", { htmlFor: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__header__label", children: "Limit Results" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Specify the maximum total number of rows the output will produce" }), _jsx("input", { id: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "text", value: limitResults ?? '', onChange: handleLimitResultsChange })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("label", { htmlFor: "query-builder__projection__modal__slice-start-input", className: "panel__content__form__section__header__label", children: "Slice" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Reduce the number of rows in the provided TDS, selecting the set of rows in the specified range between start and stop" }), _jsxs("div", { className: "query-builder__result__slice", children: [_jsx("div", { className: "query-builder__result__slice__input__wrapper", children: _jsx(InputWithInlineValidation, { id: "query-builder__projection__modal__slice-start-input", className: "input--dark query-builder__result__slice__input panel__content__form__section__input", spellCheck: false, value: slice[0] ?? '', onChange: changeSliceStart, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }) }), _jsx("div", { className: "query-builder__result__slice__range", children: ".." }), _jsx("div", { className: "query-builder__result__slice__input__wrapper", children: _jsx(InputWithInlineValidation, { className: "input--dark query-builder__result__slice__input panel__content__form__section__input", spellCheck: false, value: slice[1] ?? '', onChange: changeSliceEnd, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }) })] })] }), _jsxs(_Fragment, { children: [_jsxs(PanelFormSection, { children: [_jsx("label", { className: "panel__content__form__section__header__label", children: "Watermark" }), _jsxs("button", { className: clsx('panel__content__form__section__toggler', 'panel__content__form__section__toggler__btn', {
236
204
  'panel__content__form__section__toggler__btn--toggled': watermarkValue,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultModifierPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,mBAAmB,EACnB,eAAe,EACf,UAAU,E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AAC,CAAC;4DAChC,CAAC,EACD,KAAK,EACH,cAAc,CAAC,iBAAiB,CAAC,iBAAiB;iEAC/C,KAAK,EAEV,cAAc,EACZ,cAAc,CAAC,iBAAiB,CAAC,eAAe,EAElD,eAAe,EAAE;gEACf,YAAY,EAAE,aAAa,CAAC,MAAM;6DACnC,EACD,UAAU,EAAE,GAAG,EAAE,CACf,iBAAiB,CACf,cAAc,CAAC,eAAe,EAAE,CACjC,EAEH,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC,aAAa,CAAC,mBAAmB,CAC5E,cAAc,CACf,GACD,GACY,GACZ,GACW,EACnB,KAAC,YAAY,KAAG,EAChB,KAAC,gBAAgB,IACf,QAAQ,EAAE,kCAAkC,EAC5C,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,GAC7C,IACD,CACJ,IACA,IACC,GACI,EACZ,MAAC,WAAW,eACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,YAAY,EACrB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,cAAc,GACxB,EACF,KAAC,iBAAiB,IAChB,OAAO,EAAE,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,WAAW,GAChB,IACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultModifierPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAA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B,IAChB,OAAO,EAAE,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,WAAW,GAChB,IACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA24BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAkb3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA24BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAiU3C,CAAC"}
@@ -436,25 +436,7 @@ export const QueryBuilderTDSPanel = observer((props) => {
436
436
  }, [applicationStore, tdsState]);
437
437
  const addProjectionRef = useRef(null);
438
438
  dropTargetConnector(addProjectionRef);
439
- return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsxs("div", { className: "query-builder__projection__result-modifier-prompt", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT, children: [_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__header", children: [_jsxs("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, title: "Configure Query Options...", children: [_jsx(CogIcon, { className: "query-builder__projection__result-modifier-prompt__header__label__icon" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: tdsState.isQueryOptionsSet
440
- ? 'Query Options'
441
- : 'Set Query Options' })] }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__divider", children: tdsState.isQueryOptionsSet && ' - ' }), tdsState.queryBuilderState.milestoningState.businessDate && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Business Date" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: getNameOfValueSpecification(tdsState.queryBuilderState.milestoningState.getMilestoningParameterValue(tdsState.queryBuilderState.milestoningState
442
- .businessDate) ??
443
- tdsState.queryBuilderState.milestoningState
444
- .businessDate, tdsState.queryBuilderState) }) })] })), tdsState.queryBuilderState.milestoningState.processingDate && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Processing Date" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: getNameOfValueSpecification(tdsState.queryBuilderState.milestoningState.getMilestoningParameterValue(tdsState.queryBuilderState.milestoningState
445
- .processingDate) ??
446
- tdsState.queryBuilderState.milestoningState
447
- .processingDate, tdsState.queryBuilderState) }) })] })), tdsState.queryBuilderState.milestoningState
448
- .isAllVersionsEnabled &&
449
- !tdsState.queryBuilderState.milestoningState
450
- .isAllVersionsInRangeEnabled && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "All Versions" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: "Yes" }) })] })), tdsState.queryBuilderState.milestoningState
451
- .isAllVersionsInRangeEnabled &&
452
- tdsState.queryBuilderState.milestoningState.startDate &&
453
- tdsState.queryBuilderState.milestoningState.endDate && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "All Versions" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsxs("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: ["(", getNameOfValueSpecification(tdsState.queryBuilderState.milestoningState.getMilestoningParameterValue(tdsState.queryBuilderState.milestoningState
454
- .startDate) ??
455
- tdsState.queryBuilderState.milestoningState
456
- .startDate, tdsState.queryBuilderState), ' ', "-", ' ', getNameOfValueSpecification(tdsState.queryBuilderState.milestoningState.getMilestoningParameterValue(tdsState.queryBuilderState.milestoningState.endDate) ??
457
- tdsState.queryBuilderState.milestoningState.endDate, tdsState.queryBuilderState), ")"] }) })] }))] }), tdsState.resultSetModifierState.limit && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Max Rows" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: tdsState.resultSetModifierState.limit }) })] })), tdsState.resultSetModifierState.distinct && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Eliminate Duplicate Rows" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: "Yes" }) })] })), tdsState.resultSetModifierState.sortColumns.length > 0 && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Sort" }), tdsState.resultSetModifierState.sortColumns.map((columnState) => (_jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: `${columnState.columnState.columnName} ${columnState.sortType}` }) }, columnState.columnState.uuid)))] })), tdsState.resultSetModifierState.slice && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Slice" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: `${tdsState.resultSetModifierState.slice[0]},${tdsState.resultSetModifierState.slice[1]}` }) })] })), tdsState.queryBuilderState.watermarkState.value && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Watermark" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: getNameOfValueSpecification(tdsState.queryBuilderState.watermarkState.value, tdsState.queryBuilderState) })] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
439
+ return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsxs("div", { className: "query-builder__projection__result-modifier-prompt", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT, children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__header", children: _jsxs("button", { className: "query-builder__projection__result-modifier-prompt__header__label", onClick: openResultSetModifierEditor, title: "Configure result set modifiers...", children: [_jsx(CogIcon, { className: "query-builder__projection__result-modifier-prompt__header__label__icon" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: "Query Options" })] }) }), tdsState.resultSetModifierState.limit && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Max Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: tdsState.resultSetModifierState.limit })] })), tdsState.resultSetModifierState.distinct && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Eliminate Duplicate Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: "Yes" })] })), tdsState.resultSetModifierState.sortColumns.length > 0 && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Sort" }), tdsState.resultSetModifierState.sortColumns.map((columnState) => (_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${columnState.columnState.columnName} ${columnState.sortType}` }, columnState.columnState.uuid)))] })), tdsState.resultSetModifierState.slice && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Slice" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${tdsState.resultSetModifierState.slice[0]},${tdsState.resultSetModifierState.slice[1]}` })] })), tdsState.queryBuilderState.watermarkState.value && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Watermark" }), _jsx("button", { className: "query-builder__projection__result-modifier-prompt__header__label editable-value", onClick: openResultSetModifierEditor, children: getNameOfValueSpecification(tdsState.queryBuilderState.watermarkState.value, tdsState.queryBuilderState) })] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
458
440
  ? 'No projection columns to clear'
459
441
  : 'Clear all projection columns', children: _jsx(TrashIcon, { className: "query-builder__icon query-builder__icon__query-option--small" }) }), _jsx("button", { className: "panel__header__action", onClick: addNewBlankDerivation, tabIndex: -1, title: "Add a new derivation", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_PROJECTION, className: "query-builder__projection__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver && isEmpty, isDroppable: isDroppable && isEmpty, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS, className: "query-builder__projection__columns", children: _jsxs("div", { ref: rearrangeColumnDropConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
460
442
  ? '(unknown)'