@finos/legend-query-builder 4.11.17 → 4.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  2. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +19 -33
  3. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  4. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +28 -2
  6. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
  9. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  10. package/lib/graph/QueryBuilderMetaModelConst.d.ts +7 -3
  11. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
  12. package/lib/graph/QueryBuilderMetaModelConst.js +8 -2
  13. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
  14. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  15. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +9 -3
  16. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  17. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +2 -0
  18. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  19. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +20 -0
  20. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  21. package/lib/index.css +2 -2
  22. package/lib/index.css.map +1 -1
  23. package/lib/package.json +1 -1
  24. package/lib/stores/QueryBuilderState.d.ts +6 -1
  25. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  26. package/lib/stores/QueryBuilderState.js +15 -5
  27. package/lib/stores/QueryBuilderState.js.map +1 -1
  28. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  29. package/lib/stores/QueryBuilderStateBuilder.js +50 -5
  30. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  31. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +1 -0
  32. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  33. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +49 -12
  34. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  35. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  36. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +4 -2
  37. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  38. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts +2 -0
  39. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -1
  40. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +6 -0
  41. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  42. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
  43. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +4 -2
  44. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  45. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts +1 -0
  46. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  47. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +30 -4
  48. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  49. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  50. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +16 -0
  51. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  52. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +1 -0
  53. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
  54. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +4 -1
  55. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  56. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +1 -0
  57. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
  58. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +10 -1
  59. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  60. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  61. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +5 -0
  62. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  63. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +4 -0
  64. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
  65. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
  66. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +15 -0
  67. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  68. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +191 -3
  69. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  70. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +1 -0
  71. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
  72. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +10 -1
  73. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  74. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.d.ts.map +1 -1
  75. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +4 -2
  76. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -1
  77. package/package.json +5 -5
  78. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +106 -35
  79. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +84 -0
  80. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +13 -0
  81. package/src/graph/QueryBuilderMetaModelConst.ts +9 -2
  82. package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +30 -1
  83. package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +65 -0
  84. package/src/stores/QueryBuilderState.ts +25 -6
  85. package/src/stores/QueryBuilderStateBuilder.ts +124 -5
  86. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +76 -12
  87. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +4 -1
  88. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +7 -0
  89. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +7 -2
  90. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +68 -1
  91. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +27 -0
  92. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +9 -0
  93. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +22 -1
  94. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +7 -0
  95. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +7 -0
  96. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +279 -1
  97. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +22 -1
  98. package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +4 -2
@@ -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;AA+N3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgDjD,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;;CA+EjD,CAAC"}
@@ -16,24 +16,19 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
18
  import { useCallback } from 'react';
19
- import { GenericType, GenericTypeExplicitReference, MILESTONING_STEREOTYPE, observe_PrimitiveInstanceValue, PrimitiveInstanceValue, PRIMITIVE_TYPE, PrimitiveType, } from '@finos/legend-graph';
19
+ import { GenericType, GenericTypeExplicitReference, observe_PrimitiveInstanceValue, PrimitiveInstanceValue, PRIMITIVE_TYPE, PrimitiveType, } from '@finos/legend-graph';
20
20
  import { guaranteeNonNullable } from '@finos/legend-shared';
21
21
  import { useDrop } from 'react-dnd';
22
- import { Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelEntryDropZonePlaceholder, PanelFormSection, } from '@finos/legend-art';
22
+ import { Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelEntryDropZonePlaceholder, PanelFormBooleanField, PanelFormSection, } from '@finos/legend-art';
23
23
  import { generateDefaultValueForPrimitiveType } from '../../stores/QueryBuilderValueSpecificationHelper.js';
24
24
  import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
25
25
  import { instanceValue_setValues } from '../../stores/shared/ValueSpecificationModifierHelper.js';
26
26
  import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
27
27
  const MilestoningParameterEditor = observer((props) => {
28
- const { queryBuilderState, stereotype } = props;
28
+ const { queryBuilderState, parameter, setParameter } = props;
29
29
  const handleDrop = useCallback((item) => {
30
- if (stereotype === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL) {
31
- queryBuilderState.milestoningState.setBusinessDate(item.variable);
32
- }
33
- else {
34
- queryBuilderState.milestoningState.setProcessingDate(item.variable);
35
- }
36
- }, [queryBuilderState, stereotype]);
30
+ setParameter(item.variable);
31
+ }, [setParameter]);
37
32
  const [{ isDragOver }, dropConnector] = useDrop(() => ({
38
33
  accept: [QUERY_BUILDER_VARIABLE_DND_TYPE],
39
34
  drop: (item, monitor) => {
@@ -47,40 +42,26 @@ const MilestoningParameterEditor = observer((props) => {
47
42
  }),
48
43
  }),
49
44
  }), [handleDrop]);
50
- let milestoningParameter;
51
- if (stereotype === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL) {
52
- milestoningParameter = guaranteeNonNullable(queryBuilderState.milestoningState.businessDate);
53
- }
54
- else {
55
- milestoningParameter = guaranteeNonNullable(queryBuilderState.milestoningState.processingDate);
56
- }
57
45
  const resetMilestoningParameter = () => {
58
- const parameter = observe_PrimitiveInstanceValue(new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE))), queryBuilderState.observerContext);
59
- instanceValue_setValues(parameter, [generateDefaultValueForPrimitiveType(PRIMITIVE_TYPE.STRICTDATE)], queryBuilderState.observerContext);
60
- if (stereotype === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL) {
61
- queryBuilderState.milestoningState.setBusinessDate(parameter);
62
- }
63
- else {
64
- queryBuilderState.milestoningState.setProcessingDate(parameter);
65
- }
46
+ const param = observe_PrimitiveInstanceValue(new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE))), queryBuilderState.observerContext);
47
+ instanceValue_setValues(param, [generateDefaultValueForPrimitiveType(PRIMITIVE_TYPE.STRICTDATE)], queryBuilderState.observerContext);
48
+ setParameter(param);
66
49
  };
67
- return (_jsx("div", { ref: dropConnector, className: "query-builder__variable-editor", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Milestoning Parameter Value", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: milestoningParameter, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, setValueSpecification: (val) => stereotype === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL
68
- ? queryBuilderState.milestoningState.setBusinessDate(val)
69
- : queryBuilderState.milestoningState.setProcessingDate(val), typeCheckOption: {
50
+ return (_jsx("div", { ref: dropConnector, className: "query-builder__variable-editor", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Milestoning Parameter Value", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: parameter, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, setValueSpecification: (val) => setParameter(val), typeCheckOption: {
70
51
  expectedType: PrimitiveType.DATE,
71
- }, resetValue: resetMilestoningParameter, isConstant: queryBuilderState.constantState.isValueSpecConstant(milestoningParameter) }) }) }));
52
+ }, resetValue: resetMilestoningParameter, isConstant: queryBuilderState.constantState.isValueSpecConstant(parameter) }) }) }));
72
53
  });
73
54
  const BiTemporalMilestoningEditor = observer((props) => {
74
55
  const { queryBuilderState } = props;
75
- return (_jsxs(_Fragment, { children: [_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL })] })] }));
56
+ return (_jsxs(_Fragment, { children: [_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.processingDate), setParameter: (val) => queryBuilderState.milestoningState.setProcessingDate(val) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.businessDate), setParameter: (val) => queryBuilderState.milestoningState.setBusinessDate(val) })] })] }));
76
57
  });
77
58
  const BusinessTemporalMilestoningEditor = observer((props) => {
78
59
  const { queryBuilderState } = props;
79
- return (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL }, "BusinessDate")] }));
60
+ return (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.businessDate), setParameter: (val) => queryBuilderState.milestoningState.setBusinessDate(val) }, "BusinessDate")] }));
80
61
  });
81
62
  const ProcessingTemporalMilestoningEditor = observer((props) => {
82
63
  const { queryBuilderState } = props;
83
- return (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL }, "BusinessDate")] }));
64
+ return (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.processingDate), setParameter: (val) => queryBuilderState.milestoningState.setProcessingDate(val) }, "BusinessDate")] }));
84
65
  });
85
66
  const TemporalMilestoningEditor = (props) => {
86
67
  const { queryBuilderState } = props;
@@ -98,6 +79,10 @@ const TemporalMilestoningEditor = (props) => {
98
79
  return null;
99
80
  }
100
81
  };
82
+ const AllVersionsInRangelMilestoningParametersEditor = observer((props) => {
83
+ const { queryBuilderState } = props;
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
+ });
101
86
  export const MilestoningParametersEditor = observer((props) => {
102
87
  const { queryBuilderState } = props;
103
88
  const milestoningState = queryBuilderState.milestoningState;
@@ -110,6 +95,7 @@ export const MilestoningParametersEditor = observer((props) => {
110
95
  root: 'editor-modal__root-container',
111
96
  container: 'editor-modal__container',
112
97
  paper: 'editor-modal__content',
113
- }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: "Milestoning Parameters" }), _jsxs(ModalBody, { className: "query-builder__variables__modal__body", children: [_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 }) })] }) }));
98
+ }, children: _jsxs(Modal, { darkMode: true, 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 &&
99
+ 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 }) })] }) }));
114
100
  });
115
101
  //# 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,sBAAsB,EACtB,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,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,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAChD,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,IAAoC,EAAQ,EAAE;QAC7C,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,EAAE,uBAAuB;SAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EAAE,IAAI,EACd,SAAS,EAAC,8CAA8C,aAExD,KAAC,WAAW,IAAC,KAAK,EAAC,wBAAwB,GAAG,EAC9C,MAAC,SAAS,IAAC,SAAS,EAAC,uCAAuC,aAC1D,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,GAAI,GACtC,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
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,CA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B,KAAK,EAAE,gBAAgB,CAAC,oBAAoB,EAC5C,IAAI,EAAC,cAAc,EACnB,MAAM,EAAC,iDAAiD,EACxD,MAAM,EAAE,CAAC,KAA0B,EAAQ,EAAE,CAC3C,gBAAgB,CAAC,cAAc,CAAC,KAAK,CAAC,GAExC,CACH,EACA,gBAAgB,CAAC,oBAAoB;4BACpC,gBAAgB,CAAC,qCAAqC,IAAI,CACxD,8BACE,KAAC,qBAAqB,IACpB,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,gBAAgB,CAAC,2BAA2B,EACnD,IAAI,EAAC,wBAAwB,EAC7B,MAAM,EAAC,uDAAuD,EAC9D,MAAM,EAAE,CAAC,KAA0B,EAAQ,EAAE,CAC3C,gBAAgB,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAE/C,EAED,gBAAgB,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,GAAI,GACtC,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;AAuBH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAwJrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CA+E3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAwJrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAmK3C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -81,12 +81,38 @@ export const QueryResultModifierModal = observer((props) => {
81
81
  const val = event.target.value;
82
82
  resultSetModifierState.setLimit(val === '' ? undefined : parseInt(val, 10));
83
83
  };
84
+ const handleSliceStartChange = (start, end) => {
85
+ const slice = [start, end];
86
+ resultSetModifierState.setSlice(slice);
87
+ };
88
+ const clearSlice = () => {
89
+ resultSetModifierState.setSlice(undefined);
90
+ };
91
+ const addSlice = () => {
92
+ resultSetModifierState.setSlice([0, 1]);
93
+ };
94
+ const changeSliceStart = (event) => {
95
+ const currentSlice = resultSetModifierState.slice;
96
+ const val = event.target.value;
97
+ const start = typeof val === 'number' ? val : parseInt(val, 10);
98
+ if (currentSlice) {
99
+ handleSliceStartChange(start, currentSlice[1]);
100
+ }
101
+ };
102
+ const changeSliceEnd = (event) => {
103
+ const currentSlice = resultSetModifierState.slice;
104
+ const val = event.target.value;
105
+ const end = typeof val === 'number' ? val : parseInt(val, 10);
106
+ if (currentSlice) {
107
+ handleSliceStartChange(currentSlice[0], end);
108
+ }
109
+ };
84
110
  return (_jsx(Dialog, { open: Boolean(resultSetModifierState.showModal), onClose: close, classes: {
85
111
  root: 'editor-modal__root-container',
86
112
  container: 'editor-modal__container',
87
113
  paper: 'editor-modal__content',
88
114
  }, children: _jsxs(Modal, { darkMode: true, className: "editor-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, { tdsState: tdsState }), _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: toggleDistinct, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
89
115
  'panel__content__form__section__toggler__btn--toggled': distinct,
90
- }), 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("div", { 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", { className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "number", value: limitResults ?? '', onChange: changeValue })] })] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
116
+ }), 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("div", { 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", { className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "number", value: limitResults ?? '', onChange: changeValue })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { 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" }), resultSetModifierState.slice ? (_jsx(_Fragment, { children: _jsxs("div", { className: "query-builder__result__slice", children: [_jsx("input", { className: "input--dark query-builder__result__slice__input", spellCheck: false, value: resultSetModifierState.slice[0], onChange: changeSliceStart, type: "number" }), _jsx("div", { className: "query-builder__result__slice__range", children: ".." }), _jsx("input", { className: "input--dark query-builder__result__slice__input", spellCheck: false, value: resultSetModifierState.slice[1], onChange: changeSliceEnd, type: "number" }), _jsx("button", { className: "query-builder__projection__options__sort__remove-btn btn--dark btn--caution", onClick: clearSlice, tabIndex: -1, title: "Remove", children: _jsx(TimesIcon, {}) })] }) })) : (_jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", onClick: addSlice, tabIndex: -1, children: "Add Slice" }) }))] })] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
91
117
  });
92
118
  //# sourceMappingURL=QueryBuilderResultModifierPanel.js.map
@@ -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,EACV,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,iEAAiE,CAAC;AAClG,OAAO,E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,IAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAC,cAAc,aAC7C,KAAC,WAAW,IAAC,KAAK,EAAC,qBAAqB,GAAG,EAC3C,KAAC,SAAS,IAAC,SAAS,EAAC,wCAAwC,YAC3D,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,iBAAiB,IAAC,QAAQ,EAAE,QAAQ,GAAI,EACzC,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,8CAA8C,yCAEvD,EACN,eACE,SAAS,EAAC,wCAAwC,EAClD,OAAO,EAAE,cAAc,aAEvB,iBACE,SAAS,EAAE,IAAI,CACb,6CAA6C,EAC7C;oDACE,sDAAsD,EACpD,QAAQ;iDACX,CACF,EACD,QAAQ,EAAE,CAAC,CAAC,YAEX,QAAQ,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,CAAC,CAAC,CAAC,KAAC,UAAU,KAAG,GACzC,EACT,cAAK,SAAS,EAAC,gDAAgD,uDAEzD,IACF,IACF,EACN,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,8CAA8C,8BAEvD,EACN,cAAK,SAAS,EAAC,+CAA+C,iFAGxD,EACN,gBACE,SAAS,EAAC,kFAAkF,EAC5F,UAAU,EAAE,KAAK,EACjB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,YAAY,IAAI,EAAE,EACzB,QAAQ,EAAE,WAAW,GACrB,IACE,IACF,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG,GACtC,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;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,cAAK,SAAS,EAAC,8CAA8C,sBAEvD,EACN,cAAK,SAAS,EAAC,+CAA+C,uIAGxD,EACL,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC9B,4BACE,eAAK,SAAS,EAAC,8BAA8B,aAC3C,gBACE,SAAS,EAAC,iDAAiD,EAC3D,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,EACtC,QAAQ,EAAE,gBAAgB,EAC1B,IAAI,EAAC,QAAQ,GACb,EACF,cAAK,SAAS,EAAC,qCAAqC,mBAE9C,EACN,gBACE,SAAS,EAAC,iDAAiD,EAC3D,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,EACtC,QAAQ,EAAE,cAAc,EACxB,IAAI,EAAC,QAAQ,GACb,EACF,iBACE,SAAS,EAAC,6EAA6E,EACvF,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,QAAQ,YAEd,KAAC,SAAS,KAAG,GACN,IACL,GACL,CACJ,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,oDAAoD,YACjE,iBACE,SAAS,EAAC,sEAAsE,EAChF,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,CAAC,CAAC,0BAGL,GACL,CACP,IACG,IACF,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG,GACtC,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;AA8EH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA21BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAoS3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8EH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA21BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAiT3C,CAAC"}
@@ -423,7 +423,7 @@ export const QueryBuilderTDSPanel = observer((props) => {
423
423
  }, [applicationStore, tdsState]);
424
424
  const addProjectionRef = useRef(null);
425
425
  dropTargetConnector(addProjectionRef);
426
- 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)))] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
426
+ 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]}` })] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
427
427
  ? 'No projection columns to clear'
428
428
  : '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 === ''
429
429
  ? '(unknown)'
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,YAAY,EACZ,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAEL,OAAO,EACP,OAAO,EACP,YAAY,GACb,MAAM,WAAW,CAAC;AACnB,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,0BAA0B,EAC1B,WAAW,EACX,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,QAA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EACA,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CACpC,6BACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,oCAAoC,YAE9C,eAAK,GAAG,EAAE,4BAA4B,aACpC,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA4C,EACpC,EAAE,CACV,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,EAAE;4CAChC,CAAC,CAAC,WAAW;4CACb,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAEjC,KAAK,EAAE,CAAC,wCAAwC,CAAC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,SAAS,EAAE,EAAE,CAAC,CAC3D,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,EAC5C,iBAAiB,EAAE,iBAAiB,EACpC,kCAAkC,EAChC,kCAAkC,EAEpC,4BAA4B,EAC1B,4BAA4B,EAE9B,qCAAqC,EACnC,qCAAqC,EAEvC,+BAA+B,EAC7B,+BAA+B,EAEjC,SAAS,EAAE,SAAS,IAff,qBAAqB,CAAC,IAAI,CAgB/B,CACH,CAAC,IACE,GACF,CACP,EACA,WAAW,IAAI,CAAC,OAAO,IAAI,CAC1B,cACE,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,yBAAyB,YAE/B,mBAAK,GACyB,GAC5B,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OA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@ -54,12 +54,15 @@ export declare enum QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS {
54
54
  CALENDAR_WTD = "meta::pure::functions::date::calendar::wtd",
55
55
  CALENDAR_YTD = "meta::pure::functions::date::calendar::ytd"
56
56
  }
57
+ export declare enum QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS {
58
+ GET_ALL = "meta::pure::functions::collection::getAll",
59
+ GET_ALL_VERSIONS = "meta::pure::functions::collection::getAllVersions",
60
+ GET_ALL_VERSIONS_IN_RANGE = "meta::pure::functions::collection::getAllVersionsInRange"
61
+ }
57
62
  export declare enum QUERY_BUILDER_SUPPORTED_FUNCTIONS {
58
63
  AND = "meta::pure::functions::boolean::and",
59
64
  EXISTS = "meta::pure::functions::collection::exists",
60
65
  FILTER = "meta::pure::functions::collection::filter",
61
- GET_ALL = "meta::pure::functions::collection::getAll",
62
- GET_ALL_VERSIONS = "meta::pure::functions::collection::getAllVersions",
63
66
  NOT = "meta::pure::functions::boolean::not",
64
67
  OR = "meta::pure::functions::boolean::or",
65
68
  TAKE = "meta::pure::functions::collection::take",
@@ -127,7 +130,8 @@ export declare enum QUERY_BUILDER_SUPPORTED_FUNCTIONS {
127
130
  CHECKED = "meta::pure::dataQuality::checked",
128
131
  MERGERUNTIMES = "meta::pure::runtime::mergeRuntimes",
129
132
  TABLE_TO_TDS = "meta::pure::tds::tableToTDS",
130
- TABLE_REFERENCE = "meta::relational::functions::database::tableReference"
133
+ TABLE_REFERENCE = "meta::relational::functions::database::tableReference",
134
+ SLICE = "meta::pure::functions::collection::slice"
131
135
  }
132
136
  export declare enum TDS_COLUMN_GETTER {
133
137
  GET_STRING = "getString",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMetaModelConst.d.ts","sourceRoot":"","sources":["../../src/graph/QueryBuilderMetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,uBAAuB;IAEjC,OAAO,4BAA4B;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D,QAAQ,qCAAqC;IAC7C,QAAQ,qCAAqC;IAC7C,GAAG,qCAAqC;IACxC,GAAG,qCAAqC;IACxC,kBAAkB,kDAAkD;IACpE,cAAc,8CAA8C;IAC5D,GAAG,qCAAqC;IACxC,iBAAiB,uDAAuD;IAGxE,SAAS,4CAA4C;IAGrD,YAAY,iCAAiC;IAC7C,SAAS,4CAA4C;IACrD,iBAAiB,mDAAmD;IACpE,eAAe,iDAAiD;IAChE,eAAe,iDAAiD;IAGhE,WAAW,2DAA2D;IACtE,uCAAuC,4DAA4D;IACnG,IAAI,8BAA8B;IAClC,OAAO,qCAAqC;IAC5C,aAAa,uCAAuC;IAGpD,YAAY,gCAAgC;IAC5C,eAAe,0DAA0D;IAGzE,KAAK,6CAA6C;CACnD;AAED,oBAAY,iBAAiB;IAC3B,UAAU,cAAc;IACxB,UAAU,cAAc;IACxB,WAAW,eAAe;IAC1B,SAAS,aAAa;IACtB,WAAW,eAAe;IAC1B,QAAQ,YAAY;IACpB,YAAY,gBAAgB;IAC5B,cAAc,kBAAkB;IAChC,WAAW,eAAe;IAC1B,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,WAAW,cAAc;CAC1B;AAED,oBAAY,gBAAgB;IAC1B,GAAG,QAAQ;IACX,IAAI,SAAS;CACd"}
@@ -59,13 +59,17 @@ export var QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS;
59
59
  QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_WTD"] = "meta::pure::functions::date::calendar::wtd";
60
60
  QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_YTD"] = "meta::pure::functions::date::calendar::ytd";
61
61
  })(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS || (QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS = {}));
62
+ export var QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS;
63
+ (function (QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS) {
64
+ QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS["GET_ALL"] = "meta::pure::functions::collection::getAll";
65
+ QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS["GET_ALL_VERSIONS"] = "meta::pure::functions::collection::getAllVersions";
66
+ QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS["GET_ALL_VERSIONS_IN_RANGE"] = "meta::pure::functions::collection::getAllVersionsInRange";
67
+ })(QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS || (QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS = {}));
62
68
  export var QUERY_BUILDER_SUPPORTED_FUNCTIONS;
63
69
  (function (QUERY_BUILDER_SUPPORTED_FUNCTIONS) {
64
70
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["AND"] = "meta::pure::functions::boolean::and";
65
71
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["EXISTS"] = "meta::pure::functions::collection::exists";
66
72
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["FILTER"] = "meta::pure::functions::collection::filter";
67
- QUERY_BUILDER_SUPPORTED_FUNCTIONS["GET_ALL"] = "meta::pure::functions::collection::getAll";
68
- QUERY_BUILDER_SUPPORTED_FUNCTIONS["GET_ALL_VERSIONS"] = "meta::pure::functions::collection::getAllVersions";
69
73
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["NOT"] = "meta::pure::functions::boolean::not";
70
74
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["OR"] = "meta::pure::functions::boolean::or";
71
75
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["TAKE"] = "meta::pure::functions::collection::take";
@@ -143,6 +147,8 @@ export var QUERY_BUILDER_SUPPORTED_FUNCTIONS;
143
147
  // TOTDS
144
148
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["TABLE_TO_TDS"] = "meta::pure::tds::tableToTDS";
145
149
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["TABLE_REFERENCE"] = "meta::relational::functions::database::tableReference";
150
+ // SLICE
151
+ QUERY_BUILDER_SUPPORTED_FUNCTIONS["SLICE"] = "meta::pure::functions::collection::slice";
146
152
  })(QUERY_BUILDER_SUPPORTED_FUNCTIONS || (QUERY_BUILDER_SUPPORTED_FUNCTIONS = {}));
147
153
  export var TDS_COLUMN_GETTER;
148
154
  (function (TDS_COLUMN_GETTER) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMetaModelConst.js","sourceRoot":"","sources":["../../src/graph/QueryBuilderMetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,uBAYX;AAZD,WAAY,uBAAuB;IACjC,MAAM;IACN,8DAAmC,CAAA;IACnC,oEAAyC,CAAA;IACzC,kFAAuD,CAAA;IAEvD,OAAO;IACP,sFAA2D,CAAA;IAC3D,iFAAsD,CAAA;IAEtD,gBAAgB;IAChB,2GAAgF,CAAA;AAClF,CAAC,EAZW,uBAAuB,KAAvB,uBAAuB,QAYlC;AAED,MAAM,CAAN,IAAY,sDAgCX;AAhCD,WAAY,sDAAsD;IAChE,mIAAyE,CAAA;IACzE,sHAA4D,CAAA;IAC5D,mHAAyD,CAAA;IACzD,yHAA+D,CAAA;IAC/D,gIAAsE,CAAA;IACtE,gIAAsE,CAAA;IACtE,qHAA2D,CAAA;IAC3D,yHAA+D,CAAA;IAC/D,2HAAiE,CAAA;IACjE,uHAA6D,CAAA;IAC7D,yHAA+D,CAAA;IAC/D,2HAAiE,CAAA;IACjE,yHAA+D,CAAA;IAC/D,qHAA2D,CAAA;IAC3D,uHAA6D,CAAA;IAC7D,uHAA6D,CAAA;IAC7D,gIAAsE,CAAA;IACtE,kIAAwE,CAAA;IACxE,mHAAyD,CAAA;IACzD,yHAA+D,CAAA;IAC/D,qHAA2D,CAAA;IAC3D,uHAA6D,CAAA;IAC7D,yHAA+D,C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IACxD,kFAA6C,CAAA;IAC7C,kFAA6C,CAAA;IAC7C,6EAAwC,CAAA;IACxC,6EAAwC,CAAA;IACxC,yGAAoE,CAAA;IACpE,iGAA4D,CAAA;IAC5D,6EAAwC,CAAA;IACxC,6GAAwE,CAAA;IAExE,YAAY;IACZ,0FAAqD,CAAA;IAErD,OAAO;IACP,kFAA6C,CAAA;IAC7C,0FAAqD,CAAA;IACrD,yGAAoE,CAAA;IACpE,qGAAgE,CAAA;IAChE,qGAAgE,CAAA;IAEhE,kBAAkB;IAClB,2GAAsE,CAAA;IACtE,wIAAmG,CAAA;IACnG,uEAAkC,CAAA;IAClC,iFAA4C,CAAA;IAC5C,yFAAoD,CAAA;IAEpD,QAAQ;IACR,iFAA4C,CAAA;IAC5C,8GAAyE,CAAA;IAEzE,QAAQ;IACR,uFAAkD,CAAA;AACpD,CAAC,EA7FW,iCAAiC,KAAjC,iCAAiC,QA6F5C;AAED,MAAM,CAAN,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC3B,6CAAwB,CAAA;IACxB,6CAAwB,CAAA;IACxB,+CAA0B,CAAA;IAC1B,2CAAsB,CAAA;IACtB,+CAA0B,CAAA;IAC1B,yCAAoB,CAAA;IACpB,iDAA4B,CAAA;IAC5B,qDAAgC,CAAA;IAChC,+CAA0B,CAAA;IAC1B,yCAAoB,CAAA;IACpB,uCAAkB,CAAA;IAClB,8CAAyB,CAAA;AAC3B,CAAC,EAbW,iBAAiB,KAAjB,iBAAiB,QAa5B;AAED,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,iCAAa,CAAA;AACf,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAaH,OAAO,EAGL,KAAK,4BAA4B,EAIjC,KAAK,iCAAiC,EACtC,2BAA2B,EAQ5B,MAAM,qBAAqB,CAAC;AAM7B,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,qCAAqC,IAAI,4BAA4B,EAAE;IAmLvE,0CAA0C,IAAI,iCAAiC,EAAE;CAqB3F"}
1
+ {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAeH,OAAO,EAGL,KAAK,4BAA4B,EAIjC,KAAK,iCAAiC,EACtC,2BAA2B,EAQ5B,MAAM,qBAAqB,CAAC;AAO7B,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,qCAAqC,IAAI,4BAA4B,EAAE;IA6MvE,0CAA0C,IAAI,iCAAiC,EAAE;CAqB3F"}
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import packageJson from '../../../../package.json' assert { type: 'json' };
17
- import { V1_buildExistsFunctionExpression, V1_buildFilterFunctionExpression, V1_buildGetAllFunctionExpression, V1_buildGroupByFunctionExpression, V1_buildOLAPGroupByFunctionExpression, V1_buildProjectFunctionExpression, V1_buildSubTypePropertyExpressionTypeInference, V1_buildWatermarkFunctionExpression, } from './v1/V1_QueryValueSpecificationBuilderHelper.js';
17
+ import { V1_buildExistsFunctionExpression, V1_buildFilterFunctionExpression, V1_buildGetAllFunctionExpression, V1_buildGetAllVersionsFunctionExpression, V1_buildGetAllVersionsInRangeFunctionExpression, V1_buildGroupByFunctionExpression, V1_buildOLAPGroupByFunctionExpression, V1_buildProjectFunctionExpression, V1_buildSubTypePropertyExpressionTypeInference, V1_buildWatermarkFunctionExpression, } from './v1/V1_QueryValueSpecificationBuilderHelper.js';
18
18
  import { PureProtocolProcessorPlugin, matchFunctionName, SimpleFunctionExpression, extractElementNameFromPath, V1_buildGenericFunctionExpression, GenericType, GenericTypeExplicitReference, PrimitiveType, } from '@finos/legend-graph';
19
- import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../../../graph/QueryBuilderMetaModelConst.js';
19
+ import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS, QUERY_BUILDER_SUPPORTED_FUNCTIONS, QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS, } from '../../../graph/QueryBuilderMetaModelConst.js';
20
20
  export class QueryBuilder_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
21
21
  constructor() {
22
22
  super(packageJson.extensions.pureProtocolProcessorPlugin, packageJson.version);
@@ -24,9 +24,15 @@ export class QueryBuilder_PureProtocolProcessorPlugin extends PureProtocolProces
24
24
  V1_getExtraFunctionExpressionBuilders() {
25
25
  return [
26
26
  (functionName, parameters, openVariables, compileContext, processingContext) => {
27
- if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
27
+ if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS.GET_ALL)) {
28
28
  return V1_buildGetAllFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
29
29
  }
30
+ else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS.GET_ALL_VERSIONS_IN_RANGE)) {
31
+ return V1_buildGetAllVersionsInRangeFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
32
+ }
33
+ else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS.GET_ALL_VERSIONS)) {
34
+ return V1_buildGetAllVersionsFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
35
+ }
30
36
  else if (matchFunctionName(functionName, [
31
37
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
32
38
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3E,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,qCAAqC,EACrC,iCAAiC,EACjC,8CAA8C,EAC9C,mCAAmC,GACpC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,iCAAiC,EACjC,WAAW,EACX,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sDAAsD,EACtD,iCAAiC,GAClC,MAAM,8CAA8C,CAAC;AAEtD,MAAM,OAAO,wCAAyC,SAAQ,2BAA2B;IACvF;QACE,KAAK,CACH,WAAW,CAAC,UAAU,CAAC,2BAA2B,EAClD,WAAW,CAAC,OAAO,CACpB,CAAC;IACJ,CAAC;IAEQ,qCAAqC;QAC5C,OAAO;YACL,CACE,YAAoB,EACpB,UAAmC,EACnC,aAAuB,EACvB,cAAsC,EACtC,iBAAuC,EACD,EAAE;gBACxC,IACE,iBAAiB,CACf,YAAY,EACZ,iCAAiC,CAAC,OAAO,CAC1C,EACD;oBACA,OAAO,gCAAgC,CACrC,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;iBACH;qBAAM,IACL,iBAAiB,CAAC,YAAY,EAAE;oBAC9B,iCAAiC,CAAC,MAAM;oBACxC,iCAAiC,CAAC,UAAU;iBAC7C,CAAC,EACF;oBACA,OAAO,gCAAgC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oB,EAAE;gBACrE,IAAI,YAAY,GACd,gBAAgB,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;gBAC/C,IACE,gBAAgB,YAAY,wBAAwB;oBACpD,iBAAiB,CACf,gBAAgB,CAAC,YAAY,EAC7B,0BAA0B,CACxB,iCAAiC,CAAC,OAAO,CAC1C,CACF,EACD;oBACA,YAAY;wBACV,8CAA8C,CAAC,gBAAgB,CAAC,CAAC;iBACpE;gBACD,OAAO,YAAY,CAAC;YACtB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3E,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,wCAAwC,EACxC,+CAA+C,EAC/C,iCAAiC,EACjC,qCAAqC,EACrC,iCAAiC,EACjC,8CAA8C,EAC9C,mCAAmC,GACpC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,iCAAiC,EACjC,WAAW,EACX,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sDAAsD,EACtD,iCAAiC,EACjC,yCAAyC,GAC1C,MAAM,8CAA8C,CAAC;AAEtD,MAAM,OAAO,wCAAyC,SAAQ,2BAA2B;IACvF;QACE,KAAK,CACH,WAAW,CAAC,UAAU,CAAC,2BAA2B,EAClD,WAAW,CAAC,OAAO,CACpB,CAAC;IACJ,CAAC;IAEQ,qCAAqC;QAC5C,OAAO;YACL,CACE,YAAoB,EACpB,UAAmC,EACnC,aAAuB,EACvB,cAAsC,EAC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oBACA,MAAM,UAAU,GAAG,iCAAiC,CAClD,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;oBACF,UAAU,CAAC,WAAW,GAAG,4BAA4B,CAAC,MAAM,CAC1D,IAAI,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,CACpC,CAAC;oBACF,OAAO,UAAU,CAAC;iBACnB;qBAAM,IACL,iBAAiB,CACf,YAAY,EACZ,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CACjD;oBACD,iBAAiB,CACf,YAAY,EACZ,MAAM,CAAC,MAAM,CACX,sDAAsD,CACvD,CACF,EACD;oBACA,qFAAqF;oBACrF,6FAA6F;oBAC7F,kDAAkD;oBAClD,OAAO,iCAAiC,CACtC,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,0CAA0C;QACjD,OAAO;YACL,CAAC,gBAAgD,EAAoB,EAAE;gBACrE,IAAI,YAAY,GACd,gBAAgB,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;gBAC/C,IACE,gBAAgB,YAAY,wBAAwB;oBACpD,iBAAiB,CACf,gBAAgB,CAAC,YAAY,EAC7B,0BAA0B,CACxB,iCAAiC,CAAC,OAAO,CAC1C,CACF,EACD;oBACA,YAAY;wBACV,8CAA8C,CAAC,gBAAgB,CAAC,CAAC;iBACpE;gBACD,OAAO,YAAY,CAAC;YACtB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -15,6 +15,8 @@
15
15
  */
16
16
  import { type V1_GraphBuilderContext, type V1_ProcessingContext, V1_ValueSpecification, type SimpleFunctionExpression, type Type } from '@finos/legend-graph';
17
17
  export declare const V1_buildGetAllFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => SimpleFunctionExpression;
18
+ export declare const V1_buildGetAllVersionsInRangeFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => SimpleFunctionExpression;
19
+ export declare const V1_buildGetAllVersionsFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => SimpleFunctionExpression;
18
20
  export declare const V1_buildExistsFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => SimpleFunctionExpression;
19
21
  export declare const V1_buildFilterFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => SimpleFunctionExpression;
20
22
  export declare const V1_buildProjectFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => SimpleFunctionExpression;
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,qBAAqB,EAErB,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EA2BV,MAAM,qBAAqB,CAAC;AAmT7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAmBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAkDF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAqDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBA4FF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAuIF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA8D7B,CAAC;AAEF,eAAO,MAAM,qCAAqC,iBAClC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA4H7B,CAAC;AAEF,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
1
+ {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,qBAAqB,EAErB,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EA2BV,MAAM,qBAAqB,CAAC;AAmT7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAmBF,CAAC;AAEF,eAAO,MAAM,+CAA+C,iBAC5C,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAwBF,CAAC;AAEF,eAAO,MAAM,wCAAwC,iBACrC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAyBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAkDF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAqDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBA4FF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAuIF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA8D7B,CAAC;AAEF,eAAO,MAAM,qCAAqC,iBAClC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA4H7B,CAAC;AAEF,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
@@ -104,6 +104,26 @@ export const V1_buildGetAllFunctionExpression = (functionName, parameters, openV
104
104
  expression.multiplicity = precedingExpression.multiplicity;
105
105
  return expression;
106
106
  };
107
+ export const V1_buildGetAllVersionsInRangeFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
108
+ const expression = V1_buildGenericFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
109
+ const precedingExpression = expression.parametersValues[0];
110
+ assertType(precedingExpression, InstanceValue, `Can't build getAllVersionsInRange() expression: only support getAllVersionsInRange() immediately following a class`);
111
+ const parameterValues = expression.parametersValues;
112
+ assertTrue(parameterValues.length === 3, `Can't build getAllVersionsInRange() expression: only support getAllVersionsRange() with start and end date`);
113
+ expression.genericType = precedingExpression.genericType;
114
+ expression.multiplicity = precedingExpression.multiplicity;
115
+ return expression;
116
+ };
117
+ export const V1_buildGetAllVersionsFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
118
+ const expression = V1_buildGenericFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
119
+ const precedingExpression = expression.parametersValues[0];
120
+ assertType(precedingExpression, InstanceValue, `Can't build getAllVersions() expression: only support getAllVersions() immediately following a class`);
121
+ const parameterValues = expression.parametersValues;
122
+ assertTrue(parameterValues.length === 1, `Can't build getAllVersions() expression: only support getAllVersions() with no paremters`);
123
+ expression.genericType = precedingExpression.genericType;
124
+ expression.multiplicity = precedingExpression.multiplicity;
125
+ return expression;
126
+ };
107
127
  export const V1_buildExistsFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
108
128
  assertTrue(parameters.length === 2, `Can't build exists() expression: exists() expects 1 argument`);
109
129
  const precedingExpression = parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));