@finos/legend-query-builder 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/lib/components/QueryBuilder.d.ts +1 -0
  2. package/lib/components/QueryBuilder.d.ts.map +1 -1
  3. package/lib/components/QueryBuilder.js +24 -20
  4. package/lib/components/QueryBuilder.js.map +1 -1
  5. package/lib/components/QueryBuilderDiffPanel.d.ts +1 -0
  6. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  7. package/lib/components/QueryBuilderParametersPanel.d.ts +1 -0
  8. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderParametersPanel.js +4 -8
  10. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  11. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -0
  12. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  13. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -2
  14. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  15. package/lib/components/QueryBuilderResultPanel.d.ts +1 -0
  16. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  17. package/lib/components/QueryBuilderResultPanel.js +4 -2
  18. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  19. package/lib/components/QueryBuilderSideBar.d.ts +1 -0
  20. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderTextEditor.d.ts +1 -0
  22. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  23. package/lib/components/QueryBuilderTextEditor.js +4 -4
  24. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  25. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -0
  26. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  27. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  28. package/lib/components/explorer/QueryBuilderExplorerPanel.js +3 -3
  29. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  30. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -0
  31. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  32. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +1 -0
  33. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  34. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +6 -6
  35. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  36. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -0
  37. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  38. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -0
  39. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  40. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +1 -0
  41. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  42. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts +1 -0
  43. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +1 -1
  44. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js +6 -6
  45. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +1 -1
  46. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -0
  47. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  48. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -0
  49. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -1
  50. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -0
  51. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  52. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +3 -3
  53. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  54. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -0
  55. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  56. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -0
  57. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  58. package/lib/components/shared/LambdaEditor.d.ts +1 -0
  59. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  60. package/lib/components/shared/LambdaEditor.js +3 -3
  61. package/lib/components/shared/LambdaEditor.js.map +1 -1
  62. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -0
  63. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  64. package/lib/components/shared/LambdaParameterValuesEditor.js +3 -3
  65. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  66. package/lib/components/watermark/QueryBuilderWatermark.d.ts +23 -0
  67. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -0
  68. package/lib/components/watermark/QueryBuilderWatermark.js +67 -0
  69. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -0
  70. package/lib/graphManager/QueryBuilderHashUtils.d.ts +1 -0
  71. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
  72. package/lib/graphManager/QueryBuilderHashUtils.js +2 -0
  73. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
  74. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +1 -0
  75. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -1
  76. package/lib/graphManager/QueryBuilderSupportedFunctions.js +2 -0
  77. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -1
  78. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  79. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +4 -1
  80. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  81. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -0
  82. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  83. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +29 -2
  84. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  85. package/lib/index.css +2 -2
  86. package/lib/index.css.map +1 -1
  87. package/lib/package.json +2 -2
  88. package/lib/stores/QueryBuilderState.d.ts +4 -0
  89. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  90. package/lib/stores/QueryBuilderState.js +12 -0
  91. package/lib/stores/QueryBuilderState.js.map +1 -1
  92. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  93. package/lib/stores/QueryBuilderStateBuilder.js +12 -1
  94. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  95. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  96. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +7 -1
  97. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  98. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  99. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +2 -1
  100. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  101. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +31 -0
  102. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -0
  103. package/lib/stores/watermark/QueryBuilderWatermarkState.js +69 -0
  104. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -0
  105. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.d.ts +19 -0
  106. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.d.ts.map +1 -0
  107. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +30 -0
  108. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -0
  109. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts +19 -0
  110. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -0
  111. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +30 -0
  112. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -0
  113. package/package.json +7 -7
  114. package/src/components/QueryBuilder.tsx +141 -109
  115. package/src/components/QueryBuilderParametersPanel.tsx +27 -35
  116. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +16 -11
  117. package/src/components/QueryBuilderResultPanel.tsx +18 -0
  118. package/src/components/QueryBuilderTextEditor.tsx +22 -17
  119. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +16 -11
  120. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +27 -18
  121. package/src/components/fetch-structure/QueryBuilderOlapGroupByPanel.tsx +22 -18
  122. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +11 -9
  123. package/src/components/shared/LambdaEditor.tsx +20 -17
  124. package/src/components/shared/LambdaParameterValuesEditor.tsx +17 -10
  125. package/src/components/watermark/QueryBuilderWatermark.tsx +185 -0
  126. package/src/graphManager/QueryBuilderHashUtils.ts +3 -0
  127. package/src/graphManager/QueryBuilderSupportedFunctions.ts +2 -0
  128. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +14 -0
  129. package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +76 -0
  130. package/src/stores/QueryBuilderState.ts +14 -0
  131. package/src/stores/QueryBuilderStateBuilder.ts +17 -1
  132. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +11 -1
  133. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +2 -1
  134. package/src/stores/watermark/QueryBuilderWatermarkState.ts +114 -0
  135. package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +50 -0
  136. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +46 -0
  137. package/tsconfig.json +4 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2DH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA4YrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAkJ3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA2DH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA4YrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAkJ3C,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
17
18
  export declare const QueryBuilderFilterPanel: ((props: {
18
19
  queryBuilderState: QueryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkDH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA0kB3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsOjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkDH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA0kB3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsOjD,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import type { LambdaEditorState } from '../../stores/shared/LambdaEditorState.js';
17
18
  import { type Type } from '@finos/legend-graph';
18
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAwlB/E;;;GAGG;AACH,eAAO,MAAM,YAAY;gBAET,MAAM,GAAG,SAAS;cACpB,OAAO;uBACE,iBAAiB;IACpC;;;;OAIG;mBACY,IAAI,GAAG,SAAS;0BACT,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS;gCACrB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;IACpD;;;;;;;;;;;;;OAaG;mBACY,OAAO;IACtB;;;OAGG;4BACqB,OAAO,KAAK,IAAI;IACxC;;OAEG;uBACgB,OAAO,GAAG,SAAS;IACtC;;;;;OAKG;qBACc,OAAO,GAAG,SAAS;IACpC;;OAEG;mBACY,OAAO,GAAG,SAAS;IAClC;;OAEG;gCACyB,OAAO,GAAG,SAAS;IAC/C;;OAEG;mBACY,OAAO,GAAG,SAAS;oBAClB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;;;CAgG3C,CAAC"}
1
+ {"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAslB/E;;;GAGG;AACH,eAAO,MAAM,YAAY;gBAET,MAAM,GAAG,SAAS;cACpB,OAAO;uBACE,iBAAiB;IACpC;;;;OAIG;mBACY,IAAI,GAAG,SAAS;0BACT,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS;gCACrB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;IACpD;;;;;;;;;;;;;OAaG;mBACY,OAAO;IACtB;;;OAGG;4BACqB,OAAO,KAAK,IAAI;IACxC;;OAEG;uBACgB,OAAO,GAAG,SAAS;IACtC;;;;;OAKG;qBACc,OAAO,GAAG,SAAS;IACpC;;OAEG;mBACY,OAAO,GAAG,SAAS;IAClC;;OAEG;gCACyB,OAAO,GAAG,SAAS;IAC/C;;OAEG;mBACY,OAAO,GAAG,SAAS;oBAClB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;;;CAgG3C,CAAC"}
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { useRef, useEffect, useState, useMemo } from 'react';
18
18
  import { editor as monacoEditorAPI } from 'monaco-editor';
19
19
  import { observer } from 'mobx-react-lite';
20
- import { clsx, disposeEditor, getBaseTextEditorOptions, getEditorValue, normalizeLineEnding, FilledWindowMaximizeIcon, LongArrowAltDownIcon, LongArrowAltUpIcon, Dialog, useResizeDetector, clearMarkers, setErrorMarkers, } from '@finos/legend-art';
20
+ import { clsx, disposeEditor, getBaseTextEditorOptions, getEditorValue, normalizeLineEnding, FilledWindowMaximizeIcon, LongArrowAltDownIcon, LongArrowAltUpIcon, Dialog, useResizeDetector, clearMarkers, setErrorMarkers, Modal, ModalBody, ModalFooter, ModalHeader, ModalTitle, } from '@finos/legend-art';
21
21
  import { debounce, noop, } from '@finos/legend-shared';
22
22
  import { flowResult } from 'mobx';
23
23
  import { ParserError } from '@finos/legend-graph';
@@ -357,9 +357,9 @@ const LambdaEditorPopUp = observer((props) => {
357
357
  root: 'editor-modal__root-container',
358
358
  container: 'editor-modal__container',
359
359
  paper: 'editor-modal__content',
360
- }, children: _jsxs("div", { className: clsx('modal modal--dark editor-modal lambda-editor__popup__modal', {
360
+ }, children: _jsxs(Modal, { darkMode: true, className: clsx('editor-modal lambda-editor__popup__modal', {
361
361
  'lambda-editor__popup__modal--has-error': Boolean(lambdaEditorState.parserError),
362
- }), children: [_jsxs("div", { className: "modal__header", children: [_jsx("div", { className: "modal__title", children: "Edit Lambda" }), lambdaEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse lambda" }))] }), _jsx("div", { className: "modal__body", children: _jsx("div", { className: clsx('lambda-editor__popup__content', className), children: _jsx("div", { ref: ref, "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "text-editor__body", ref: textInputRef }) }) }) }), _jsxs("div", { className: "modal__footer", children: [_jsx("button", { className: "btn btn--dark btn--caution", onClick: discardChanges, children: "Discard changes" }), _jsx("button", { className: "btn btn--dark", onClick: onClose, disabled: Boolean(lambdaEditorState.parserError), children: "Close" })] })] }) }));
362
+ }), children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: "Edit Lambda" }), lambdaEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse lambda" }))] }), _jsx(ModalBody, { children: _jsx("div", { className: clsx('lambda-editor__popup__content', className), children: _jsx("div", { ref: ref, "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "text-editor__body", ref: textInputRef }) }) }) }), _jsxs(ModalFooter, { children: [_jsx("button", { className: "btn btn--dark btn--caution", onClick: discardChanges, children: "Discard changes" }), _jsx("button", { className: "btn btn--dark", onClick: onClose, disabled: Boolean(lambdaEditorState.parserError), children: "Close" })] })] }) }));
363
363
  });
364
364
  /**
365
365
  * This is not strictly meant for lambda. The idea is to create an editor that allows
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,aAAa,EACb,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,6BAA6B,EAC7B,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,mBAAmB,GAGpB,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EA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AC,IAAI,CAqB3B,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import { type PureModel, type ObserverContext } from '@finos/legend-graph';
17
18
  import type { LambdaParametersState } from '../../stores/shared/LambdaParameterState.js';
18
19
  export declare const LambdaParameterValuesEditor: ((props: {
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,SAAS,EAGd,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAIzF,eAAO,MAAM,2BAA2B,WAC9B;IACN,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;;CAqFF,CAAC"}
1
+ {"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,SAAS,EAGd,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAIzF,eAAO,MAAM,2BAA2B,WAC9B;IACN,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;;CAsFF,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { useApplicationStore } from '@finos/legend-application';
18
- import { Dialog } from '@finos/legend-art';
18
+ import { Dialog, Modal, ModalBody, ModalFooter, ModalHeader, } from '@finos/legend-art';
19
19
  import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
20
20
  import { prettyCONSTName } from '@finos/legend-shared';
21
21
  import { observer } from 'mobx-react-lite';
@@ -37,7 +37,7 @@ export const LambdaParameterValuesEditor = observer((props) => {
37
37
  root: 'editor-modal__root-container',
38
38
  container: 'editor-modal__container',
39
39
  paper: 'editor-modal__content',
40
- }, children: _jsxs("div", { className: "modal modal--dark editor-modal lambda-parameter-values__modal", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: "Set Parameter Values" }) }), _jsx("div", { className: "modal__body lambda-parameter-values__modal__body", children: lambdaParametersState.parameterStates.map((paramState) => {
40
+ }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal lambda-parameter-values__modal", children: [_jsx(ModalHeader, { title: "Set Parameter Values" }), _jsx(ModalBody, { className: "lambda-parameter-values__modal__body", children: lambdaParametersState.parameterStates.map((paramState) => {
41
41
  const stringType = graph.getPrimitiveType(PRIMITIVE_TYPE.STRING);
42
42
  const variableType = paramState.variableType ?? stringType;
43
43
  return (_jsxs("div", { className: "panel__content__form__section", children: [_jsxs("div", { className: "lambda-parameter-values__value__label", children: [_jsx("div", { className: "lambda-parameter-values__value__label__name", children: paramState.parameter.name }), _jsx("div", { className: "lambda-parameter-values__value__label__type", children: variableType.name })] }), paramState.value && (_jsx(BasicValueSpecificationEditor, { valueSpecification: paramState.value, setValueSpecification: (val) => {
@@ -47,6 +47,6 @@ export const LambdaParameterValuesEditor = observer((props) => {
47
47
  match: variableType ===
48
48
  graph.getPrimitiveType(PRIMITIVE_TYPE.DATETIME),
49
49
  }, className: "query-builder__parameters__value__editor", resetValue: () => paramState.mockParameterValue() }))] }, paramState.uuid));
50
- }) }), _jsxs("div", { className: "modal__footer", children: [submitAction && (_jsx("button", { className: "btn modal__footer__close-btn", title: submitAction.label, onClick: submit, children: prettyCONSTName(submitAction.label) })), _jsx("button", { className: "btn modal__footer__close-btn", onClick: close, children: "Close" })] })] }) }));
50
+ }) }), _jsxs(ModalFooter, { children: [submitAction && (_jsx("button", { className: "btn modal__footer__close-btn", title: submitAction.label, onClick: submit, children: prettyCONSTName(submitAction.label) })), _jsx("button", { className: "btn modal__footer__close-btn", onClick: close, children: "Close" })] })] }) }));
51
51
  });
52
52
  //# sourceMappingURL=LambdaParameterValuesEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaParameterValuesEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAGL,cAAc,GAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,qBAAqB,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAChE,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,0BAA0B,CAAC;IAC3E,MAAM,KAAK,GAAG,GAAS,EAAE,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;IACpD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,YAAY,GAAG,iBAAiB,CAAC,YAAY,CAAC;IACpD,MAAM,MAAM,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,KAAK,IAAI,EAAE;QAC7D,IAAI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CAAC,cAAc,CAAC,QAAQ,CAAC;qCAClD,EACD,SAAS,EAAC,0CAA0C,EACpD,UAAU,EAAE,GAAS,EAAE,CAAC,UAAU,CAAC,kBAAkB,EAAE,GACvD,CACH,KA9BI,UAAU,CAAC,IAAI,CA+BhB,CACP,CAAC;oBACJ,CAAC,CAAC,GACE,EACN,eAAK,SAAS,EAAC,eAAe,aAC3B,YAAY,IAAI,CACf,iBACE,SAAS,EAAC,8BAA8B,EACxC,KAAK,EAAE,YAAY,CAAC,KAAK,EACzB,OAAO,EAAE,MAAM,YAEd,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,GAC7B,CACV,EACD,iBAAQ,SAAS,EAAC,8BAA8B,EAAC,OAAO,EAAE,KAAK,sBAEtD,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"LambdaParameterValuesEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,cAAc,GAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,qBAAqB,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAChE,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,0BAA0B,CAAC;IAC3E,MAAM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AAU,CAAC,KAAK,EACpC,qBAAqB,EAAE,CACrB,GAAuB,EACjB,EAAE;wCACR,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;oCAC3B,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,eAAe,EAC/B,eAAe,EAAE;wCACf,YAAY,EAAE,YAAY;wCAC1B,KAAK,EACH,YAAY;4CACZ,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,QAAQ,CAAC;qCAClD,EACD,SAAS,EAAC,0CAA0C,EACpD,UAAU,EAAE,GAAS,EAAE,CAAC,UAAU,CAAC,kBAAkB,EAAE,GACvD,CACH,KA9BI,UAAU,CAAC,IAAI,CA+BhB,CACP,CAAC;oBACJ,CAAC,CAAC,GACQ,EACZ,MAAC,WAAW,eACT,YAAY,IAAI,CACf,iBACE,SAAS,EAAC,8BAA8B,EACxC,KAAK,EAAE,YAAY,CAAC,KAAK,EACzB,OAAO,EAAE,MAAM,YAEd,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,GAC7B,CACV,EACD,iBAAQ,SAAS,EAAC,8BAA8B,EAAC,OAAO,EAAE,KAAK,sBAEtD,IACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /// <reference types="react" resolution-mode="require"/>
17
+ import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
18
+ export declare const QueryBuilderWatermarkEditor: ((props: {
19
+ queryBuilderState: QueryBuilderState;
20
+ }) => JSX.Element) & {
21
+ displayName: string;
22
+ };
23
+ //# sourceMappingURL=QueryBuilderWatermark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAuBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA8E3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAoEjD,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { Dialog, PanelDropZone, PanelFormBooleanField, PanelForm, PanelDivider, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormListItems, PanelFormSection, } from '@finos/legend-art';
18
+ import { PRIMITIVE_TYPE } from '@finos/legend-graph';
19
+ import { observer } from 'mobx-react-lite';
20
+ import { useCallback } from 'react';
21
+ import { useDrop } from 'react-dnd';
22
+ import { QUERY_BUILDER_PARAMETER_DND_TYPE, } from '../../stores/QueryBuilderParametersState.js';
23
+ import { VariableExpressionViewer } from '../QueryBuilderParametersPanel.js';
24
+ import { BasicValueSpecificationEditor } from '../shared/BasicValueSpecificationEditor.js';
25
+ const WatermarkValueEditor = observer((props) => {
26
+ const { watermarkValue, watermarkState } = props;
27
+ const graph = watermarkState.queryBuilderState.graphManagerState.graph;
28
+ const handleDrop = useCallback((item) => {
29
+ watermarkState.setValue(item.variable.parameter);
30
+ }, [watermarkState]);
31
+ const [{ isParameterValueDragOver }, dropTargetConnector] = useDrop(() => ({
32
+ accept: [QUERY_BUILDER_PARAMETER_DND_TYPE],
33
+ drop: (item, monitor) => {
34
+ if (!monitor.didDrop() &&
35
+ // Only allows parameters with muliplicity 1 and type string
36
+ watermarkState.isParamaterCompatibleWithWaterMark(item.variable.parameter)) {
37
+ handleDrop(item);
38
+ } // prevent drop event propagation to accomondate for nested DnD
39
+ },
40
+ collect: (monitor) => ({
41
+ isParameterValueDragOver: monitor.isOver({
42
+ shallow: true,
43
+ }),
44
+ }),
45
+ }), [handleDrop]);
46
+ return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__parameter-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: watermarkValue, setValueSpecification: (val) => {
47
+ watermarkState.setValue(val);
48
+ }, graph: graph, obseverContext: watermarkState.queryBuilderState.observableContext, typeCheckOption: {
49
+ expectedType: graph.getPrimitiveType(PRIMITIVE_TYPE.STRING),
50
+ }, resetValue: () => {
51
+ watermarkState.resetValue();
52
+ } }) }) }) }));
53
+ });
54
+ export const QueryBuilderWatermarkEditor = observer((props) => {
55
+ const { queryBuilderState } = props;
56
+ const watermarkState = queryBuilderState.watermarkState;
57
+ const handleClose = () => {
58
+ watermarkState.setIsEditingWatermark(false);
59
+ };
60
+ const compatibleParameters = queryBuilderState.parametersState.parameterStates.filter((p) => watermarkState.isParamaterCompatibleWithWaterMark(p.parameter));
61
+ return (_jsx(Dialog, { open: Boolean(watermarkState.isEditingWatermark), onClose: handleClose, classes: {
62
+ root: 'editor-modal__root-container',
63
+ container: 'editor-modal__container',
64
+ paper: 'editor-modal__content',
65
+ }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Watermark" }), _jsx(ModalBody, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: watermarkState.value !== undefined, prompt: "Enable watermark", update: () => watermarkState.enableWatermark() }), watermarkState.value && (_jsxs(_Fragment, { children: [_jsx(WatermarkValueEditor, { watermarkState: watermarkState, watermarkValue: watermarkState.value }), _jsx(PanelDivider, {}), _jsxs(PanelFormListItems, { title: "List of available parameters", children: [compatibleParameters.length === 0 && (_jsx(_Fragment, { children: " No available parameters " })), compatibleParameters.map((parameter) => (_jsx(VariableExpressionViewer, { queryBuilderState: queryBuilderState, variableExpressionState: parameter, isReadOnly: true, hideActions: true }, parameter.uuid)))] })] }))] }) }), _jsx(ModalFooter, { children: _jsx("button", { className: "btn modal__footer__close-btn", onClick: handleClose, children: "Done" }) })] }) }));
66
+ });
67
+ //# sourceMappingURL=QueryBuilderWatermark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderWatermark.js","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAEL,gCAAgC,GACjC,MAAM,6CAA6C,CAAC;AAGrD,OAAO,EAAE,wBAAwB,EAAE,M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,MAAC,SAAS,eACR,KAAC,qBAAqB,IACpB,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,cAAc,CAAC,KAAK,KAAK,SAAS,EACzC,MAAM,EAAC,kBAAkB,EACzB,MAAM,EAAE,GAAS,EAAE,CAAC,cAAc,CAAC,eAAe,EAAE,GACpD,EACD,cAAc,CAAC,KAAK,IAAI,CACvB,8BACE,KAAC,oBAAoB,IACnB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,CAAC,KAAK,GACpC,EACF,KAAC,YAAY,KAAG,EAChB,MAAC,kBAAkB,IAAC,KAAK,EAAC,8BAA8B,aACrD,oBAAoB,CAAC,MAAM,KAAK,CAAC,IAAI,CACpC,0DAA8B,CAC/B,EACA,oBAAoB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CACvC,KAAC,wBAAwB,IAEvB,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,SAAS,EAClC,UAAU,EAAE,IAAI,EAChB,WAAW,EAAE,IAAI,IAJZ,SAAS,CAAC,IAAI,CAKnB,CACH,CAAC,IACiB,IACpB,CACJ,IACS,GACF,EACZ,KAAC,WAAW,cACV,iBACE,SAAS,EAAC,8BAA8B,EACxC,OAAO,EAAE,WAAW,qBAGb,GACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -54,6 +54,7 @@ export declare enum QUERY_BUILDER_HASH_STRUCTURE {
54
54
  POST_FILTER_OPERATOR_START_WITH = "POST_FILTER_OPERATOR_START_WITH",
55
55
  POST_FILTER_OPERATOR_NOT_START_WITH = "POST_FILTER_OPERATOR_NOT_START_WITH",
56
56
  POST_FILTER_STATE = "POST_FILTER_STATE",
57
+ WATERMARK_STATE = "WATERMARK_STATE",
57
58
  OLAP_GROUPBY_STATE = "OLAP_GROUPBY_STATE",
58
59
  OLAP_GROUPBY_OPERATION_STATE = "OLAP_GROUPBY_OPERATION_STATE",
59
60
  OLAP_GROUPBY_AGG_OPERATION_STATE = "OLAP_GROUPBY_AGG_OPERATION_STATE",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderHashUtils.d.ts","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4BAA4B;IAEtC,gBAAgB,qBAAqB;IAGrC,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,8BAA8B,mCAAmC;IACjE,yBAAyB,8BAA8B;IACvD,kCAAkC,uCAAuC;IACzE,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IAGrC,gCAAgC,qCAAqC;IACrE,qCAAqC,yCAAyC;IAC9E,0CAA0C,+CAA+C;IACzF,2BAA2B,gCAAgC;IAC3D,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,uCAAuC,4CAA4C;IACnF,uBAAuB,4BAA4B;IACnD,2BAA2B,4BAA4B;IACvD,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,oCAAoC,yCAAyC;IAC7E,+BAA+B,oCAAoC;IACnE,mCAAmC,wCAAwC;IAC3E,iBAAiB,sBAAsB;IAGvC,kBAAkB,uBAAuB;IACzC,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,yBAAyB,8BAA8B;IACv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B,0BAA0B;IAC/C,yBAAyB,8BAA8B;IACvD,4BAA4B,iCAAiC;IAC7D,kCAAkC,uCAAuC;IACzE,kBAAkB,uBAAuB;IACzC,sBAAsB,uBAAuB;IAC7C,wBAAwB,6BAA6B;IACrD,4BAA4B,iCAAiC;IAC7D,yBAAyB,8BAA8B;IACvD,+BAA+B,oCAAoC;IACnE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,YAAY,iBAAiB;IAG7B,iBAAiB,sBAAsB;IACvC,0BAA0B,+BAA+B;IAGzD,iBAAiB,sBAAsB;IACvC,uBAAuB,4BAA4B;IACnD,mBAAmB,wBAAwB;CAC5C"}
@@ -58,6 +58,8 @@ export var QUERY_BUILDER_HASH_STRUCTURE;
58
58
  QUERY_BUILDER_HASH_STRUCTURE["POST_FILTER_OPERATOR_START_WITH"] = "POST_FILTER_OPERATOR_START_WITH";
59
59
  QUERY_BUILDER_HASH_STRUCTURE["POST_FILTER_OPERATOR_NOT_START_WITH"] = "POST_FILTER_OPERATOR_NOT_START_WITH";
60
60
  QUERY_BUILDER_HASH_STRUCTURE["POST_FILTER_STATE"] = "POST_FILTER_STATE";
61
+ // watermark state
62
+ QUERY_BUILDER_HASH_STRUCTURE["WATERMARK_STATE"] = "WATERMARK_STATE";
61
63
  // OLAPGroup state
62
64
  QUERY_BUILDER_HASH_STRUCTURE["OLAP_GROUPBY_STATE"] = "OLAP_GROUPBY_STATE";
63
65
  QUERY_BUILDER_HASH_STRUCTURE["OLAP_GROUPBY_OPERATION_STATE"] = "OLAP_GROUPBY_OPERATION_STATE";
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderHashUtils.js","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4BA8FX;AA9FD,WAAY,4BAA4B;IACtC,mBAAmB;IACnB,qEAAqC,CAAA;IAErC,mBAAmB;IACnB,yFAA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nD,2FAA2D,CAAA;IAC3D,qFAAqD,CAAA;IACrD,6FAA6D,CAAA;IAC7D,+EAA+C,CAAA;IAC/C,uFAAuD,CAAA;IACvD,6FAA6D,CAAA;IAC7D,yGAAyE,CAAA;IACzE,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,qFAAqD,CAAA;IACrD,6FAA6D,CAAA;IAC7D,uFAAuD,CAAA;IACvD,mGAAmE,CAAA;IACnE,yFAAyD,CAAA;IACzD,iGAAiE,CAAA;IACjE,6DAA6B,CAAA;IAE7B,oBAAoB;IACpB,uEAAuC,CAAA;IACvC,yFAAyD,CAAA;IAEzD,UAAU;IACV,uEAAuC,CAAA;IACvC,mFAAmD,CAAA;IACnD,2EAA2C,CAAA;AAC7C,CAAC,EA9FW,4BAA4B,GAA5B,4BAA4B,KAA5B,4BAA4B,QA8FvC"}
1
+ {"version":3,"file":"QueryBuilderHashUtils.js","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4BAiGX;AAjGD,WAAY,4BAA4B;IACtC,mBAAmB;IACnB,qEAAqC,CAAA;IAErC,mBAAmB;IACnB,yFAAyD,CAAA;IACzD,qFAAqD,CAAA;IACrD,2FAA2D,CAAA;IAC3D,uGAAuE,CAAA;IACvE,iGAAiE,CAAA;IACjE,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,+GAA+E,CAAA;IAC/E,uGAAuE,CAAA;IACvE,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,uEAAuC,CAAA;IACvC,iGAAiE,CAAA;IACjE,uFAAuD,CAAA;IACvD,yGAAyE,CAAA;IACzE,uFAAuD,CAAA;IACvD,uEAAuC,CAAA;IACvC,qEAAqC,CAAA;IAErC,cAAc;IACd,qGAAqE,CAAA;IACrE,8GAA8E,CAAA;IAC9E,yHAAyF,CAAA;IACzF,2FAA2D,CAAA;IAC3D,6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,mFAAmD,CAAA;IACnD,2EAA2C,CAAA;AAC7C,CAAC,EAjGW,4BAA4B,GAA5B,4BAA4B,KAA5B,4BAA4B,QAiGvC"}
@@ -57,6 +57,7 @@ export declare enum QUERY_BUILDER_SUPPORTED_FUNCTIONS {
57
57
  STD_DEV_SAMPLE = "meta::pure::functions::math::stdDevSample",
58
58
  SUM = "meta::pure::functions::math::sum",
59
59
  UNIQUE_VALUE_ONLY = "meta::pure::functions::collection::uniqueValueOnly",
60
+ WATERMARK = "meta::datalake::functions::forWatermark",
60
61
  OLAP_GROUPBY = "meta::pure::tds::olapGroupBy",
61
62
  OLAP_RANK = "meta::pure::functions::math::olap::rank",
62
63
  OLAP_AVERAGE_RANK = "meta::pure::functions::math::olap::averageRank",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderSupportedFunctions.d.ts","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderSupportedFunctions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,iCAAiC;IAC3C,GAAG,wCAAwC;IAC3C,MAAM,8CAA8C;IACpD,MAAM,8CAA8C;IACpD,OAAO,8CAA8C;IACrD,GAAG,wCAAwC;IAC3C,EAAE,uCAAuC;IACzC,IAAI,4CAA4C;IAChD,OAAO,yCAAyC;IAGhD,WAAW,kDAAkD;IAC7D,mBAAmB,yDAAyD;IAC5E,SAAS,iDAAiD;IAG1D,UAAU,4BAA4B;IACtC,OAAO,yBAAyB;IAChC,QAAQ,0BAA0B;IAClC,OAAO,yBAAyB;IAChC,YAAY,8BAA8B;IAC1C,WAAW,6BAA6B;IACxC,YAAY,6BAA6B;IACzC,QAAQ,0BAA0B;IAClC,QAAQ,0BAA0B;IAClC,QAAQ,0BAA0B;IAGlC,QAAQ,4CAA4C;IACpD,SAAS,4CAA4C;IACrD,KAAK,0CAA0C;IAC/C,YAAY,oDAAoD;IAChE,kBAAkB,yDAAyD;IAC3E,EAAE,0CAA0C;IAC5C,QAAQ,+CAA+C;IACvD,SAAS,iDAAiD;IAC1D,eAAe,sDAAsD;IACrE,WAAW,8CAA8C;IAEzD,OAAO,yCAAyC;IAChD,KAAK,6CAA6C;IAClD,YAAY,+CAA+C;IAC3D,QAAQ,gDAAgD;IACxD,QAAQ,qCAAqC;IAC7C,QAAQ,qCAAqC;IAC7C,GAAG,qCAAqC;IACxC,GAAG,qCAAqC;IACxC,kBAAkB,kDAAkD;IACpE,cAAc,8CAA8C;IAC5D,GAAG,qCAAqC;IACxC,iBAAiB,uDAAuD;IAExE,YAAY,iCAAiC;IAC7C,SAAS,4CAA4C;IACrD,iBAAiB,mDAAmD;IACpE,eAAe,iDAAiD;IAChE,eAAe,iDAAiD;CACjE"}
1
+ {"version":3,"file":"QueryBuilderSupportedFunctions.d.ts","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderSupportedFunctions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,iCAAiC;IAC3C,GAAG,wCAAwC;IAC3C,MAAM,8CAA8C;IACpD,MAAM,8CAA8C;IACpD,OAAO,8CAA8C;IACrD,GAAG,wCAAwC;IAC3C,EAAE,uCAAuC;IACzC,IAAI,4CAA4C;IAChD,OAAO,yCAAyC;IAGhD,WAAW,kDAAkD;IAC7D,mBAAmB,yDAAyD;IAC5E,SAAS,iDAAiD;IAG1D,UAAU,4BAA4B;IACtC,OAAO,yBAAyB;IAChC,QAAQ,0BAA0B;IAClC,OAAO,yBAAyB;IAChC,YAAY,8BAA8B;IAC1C,WAAW,6BAA6B;IACxC,YAAY,6BAA6B;IACzC,QAAQ,0BAA0B;IAClC,QAAQ,0BAA0B;IAClC,QAAQ,0BAA0B;IAGlC,QAAQ,4CAA4C;IACpD,SAAS,4CAA4C;IACrD,KAAK,0CAA0C;IAC/C,YAAY,oDAAoD;IAChE,kBAAkB,yDAAyD;IAC3E,EAAE,0CAA0C;IAC5C,QAAQ,+CAA+C;IACvD,SAAS,iDAAiD;IAC1D,eAAe,sDAAsD;IACrE,WAAW,8CAA8C;IAEzD,OAAO,yCAAyC;IAChD,KAAK,6CAA6C;IAClD,YAAY,+CAA+C;IAC3D,QAAQ,gDAAgD;IACxD,QAAQ,qCAAqC;IAC7C,QAAQ,qCAAqC;IAC7C,GAAG,qCAAqC;IACxC,GAAG,qCAAqC;IACxC,kBAAkB,kDAAkD;IACpE,cAAc,8CAA8C;IAC5D,GAAG,qCAAqC;IACxC,iBAAiB,uDAAuD;IAExE,SAAS,4CAA4C;IAErD,YAAY,iCAAiC;IAC7C,SAAS,4CAA4C;IACrD,iBAAiB,mDAAmD;IACpE,eAAe,iDAAiD;IAChE,eAAe,iDAAiD;CACjE"}
@@ -62,6 +62,8 @@ export var QUERY_BUILDER_SUPPORTED_FUNCTIONS;
62
62
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["STD_DEV_SAMPLE"] = "meta::pure::functions::math::stdDevSample";
63
63
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["SUM"] = "meta::pure::functions::math::sum";
64
64
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["UNIQUE_VALUE_ONLY"] = "meta::pure::functions::collection::uniqueValueOnly";
65
+ // watermark
66
+ QUERY_BUILDER_SUPPORTED_FUNCTIONS["WATERMARK"] = "meta::datalake::functions::forWatermark";
65
67
  // OLAP
66
68
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["OLAP_GROUPBY"] = "meta::pure::tds::olapGroupBy";
67
69
  QUERY_BUILDER_SUPPORTED_FUNCTIONS["OLAP_RANK"] = "meta::pure::functions::math::olap::rank";
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderSupportedFunctions.js","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderSupportedFunctions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,iCAyDX;AAzDD,WAAY,iCAAiC;IAC3C,gFAA2C,CAAA;IAC3C,yFAAoD,CAAA;IACpD,yFAAoD,CAAA;IACpD,0FAAqD,CAAA;IACrD,gFAA2C,CAAA;IAC3C,8EAAyC,CAAA;IACzC,qFAAgD,CAAA;IAChD,qFAAgD,CAAA;IAEhD,cAAc;IACd,kGAA6D,CAAA;IAC7D,iHAA4E,CAAA;IAC5E,+FAA0D,CAAA;IAE1D,MAAM;IACN,2EAAsC,CAAA;IACtC,qEAAgC,CAAA;IAChC,uEAAkC,CAAA;IAClC,qEAAgC,CAAA;IAChC,+EAA0C,CAAA;IAC1C,6EAAwC,CAAA;IACxC,8EAAyC,CAAA;IACzC,uEAAkC,CAAA;IAClC,uEAAkC,CAAA;IAClC,uEAAkC,CAAA;IAElC,SAAS;IACT,yFAAoD,CAAA;IACpD,0FAAqD,CAAA;IACrD,oFAA+C,CAAA;IAC/C,qGAAgE,CAAA;IAChE,gHAA2E,CAAA;IAC3E,iFAA4C,CAAA;IAC5C,4FAAuD,CAAA;IACvD,+FAA0D,CAAA;IAC1D,0GAAqE,CAAA;IACrE,8FAAyD,CAAA;IACzD,cAAc;IACd,qFAAgD,CAAA;IAChD,uFAAkD,CAAA;IAClD,gGAA2D,CAAA;IAC3D,6FAAwD,CAAA;IACxD,kFAA6C,CAAA;IAC7C,kFAA6C,CAAA;IAC7C,6EAAwC,CAAA;IACxC,6EAAwC,CAAA;IACxC,yGAAoE,CAAA;IACpE,iGAA4D,CAAA;IAC5D,6EAAwC,CAAA;IACxC,6GAAwE,CAAA;IACxE,OAAO;IACP,kFAA6C,CAAA;IAC7C,0FAAqD,CAAA;IACrD,yGAAoE,CAAA;IACpE,qGAAgE,CAAA;IAChE,qGAAgE,CAAA;AAClE,CAAC,EAzDW,iCAAiC,GAAjC,iCAAiC,KAAjC,iCAAiC,QAyD5C"}
1
+ {"version":3,"file":"QueryBuilderSupportedFunctions.js","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderSupportedFunctions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,iCA2DX;AA3DD,WAA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","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EAGL,KAAK,4BAA4B,EAIjC,KAAK,iCAAiC,EACtC,2BAA2B,EAK5B,MAAM,qBAAqB,CAAC;AAG7B,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,qCAAqC,IAAI,4BAA4B,EAAE;IA6GvE,0CAA0C,IAAI,iCAAiC,EAAE;CAqB3F"}
1
+ {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAaH,OAAO,EAGL,KAAK,4BAA4B,EAIjC,KAAK,iCAAiC,EACtC,2BAA2B,EAK5B,MAAM,qBAAqB,CAAC;AAG7B,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,qCAAqC,IAAI,4BAA4B,EAAE;IA0HvE,0CAA0C,IAAI,iCAAiC,EAAE;CAqB3F"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import packageJson from '../../../../package.json';
17
- import { V1_buildExistsFunctionExpression, V1_buildFilterFunctionExpression, V1_buildGetAllFunctionExpression, V1_buildGroupByFunctionExpression, V1_buildOlapGroupByFunctionExpression, V1_buildProjectFunctionExpression, V1_buildSubTypePropertyExpressionTypeInference, } from './v1/V1_QueryValueSpecificationBuilderHelper.js';
17
+ import { V1_buildExistsFunctionExpression, V1_buildFilterFunctionExpression, V1_buildGetAllFunctionExpression, V1_buildGroupByFunctionExpression, V1_buildOlapGroupByFunctionExpression, V1_buildProjectFunctionExpression, V1_buildSubTypePropertyExpressionTypeInference, V1_buildWatermarkFunctionExpression, } from './v1/V1_QueryValueSpecificationBuilderHelper.js';
18
18
  import { PureProtocolProcessorPlugin, matchFunctionName, SimpleFunctionExpression, extractElementNameFromPath, V1_buildGenericFunctionExpression, } from '@finos/legend-graph';
19
19
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../QueryBuilderSupportedFunctions.js';
20
20
  export class QueryBuilder_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
@@ -36,6 +36,9 @@ export class QueryBuilder_PureProtocolProcessorPlugin extends PureProtocolProces
36
36
  else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.EXISTS)) {
37
37
  return V1_buildExistsFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
38
38
  }
39
+ else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.WATERMARK)) {
40
+ return V1_buildWatermarkFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
41
+ }
39
42
  else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT)) {
40
43
  return V1_buildProjectFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
41
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,qCAAqC,EACrC,iCAAiC,EACjC,8CAA8C,GAC/C,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAE5F,MAAM,OAAO,wCAAyC,SAAQ,2BAA2B;IACvF;QACE,KAAK,CACH,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C;iBACH;qBAAM,IACL,iBAAiB,CACf,YAAY,EACZ,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CACjD,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"}
1
+ {"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,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,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAE5F,MAAM,OAAO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,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;iBACH;qBAAM,IACL,iBAAiB,CACf,YAAY,EACZ,iCAAiC,CAAC,YAAY,CAC/C,EACD;oBACA,OAAO,qCAAqC,CAC1C,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;iBACH;qBAAM,IACL,iBAAiB,CACf,YAAY,EACZ,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CACjD,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"}
@@ -19,6 +19,7 @@ export declare const V1_buildExistsFunctionExpression: (functionName: string, pa
19
19
  export declare const V1_buildFilterFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => [SimpleFunctionExpression, ValueSpecification[]];
20
20
  export declare const V1_buildProjectFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => [SimpleFunctionExpression, ValueSpecification[]];
21
21
  export declare const V1_buildGroupByFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => [SimpleFunctionExpression, ValueSpecification[]];
22
+ export declare const V1_buildWatermarkFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => [SimpleFunctionExpression, ValueSpecification[]] | undefined;
22
23
  export declare const V1_buildOlapGroupByFunctionExpression: (functionName: string, parameters: V1_ValueSpecification[], openVariables: string[], compileContext: V1_GraphBuilderContext, processingContext: V1_ProcessingContext) => [SimpleFunctionExpression, ValueSpecification[]] | undefined;
23
24
  export declare const V1_buildSubTypePropertyExpressionTypeInference: (inferredVariable: SimpleFunctionExpression) => Type | undefined;
24
25
  //# sourceMappingURL=V1_QueryValueSpecificationBuilderHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EAqBV,MAAM,qBAAqB,CAAC;AA6I7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAkBjD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAqDjD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAoDjD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAuFjD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAkIjD,CAAC;AAEF,eAAO,MAAM,qCAAqC,iBAClC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAAC,GAAG,SAyHrD,CAAC;AAEF,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
1
+ {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EAsBV,MAAM,qBAAqB,CAAC;AA6I7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAkBjD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAqDjD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAqDjD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAuFjD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAkIjD,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAAC,GAAG,SAiErD,CAAC;AAEF,eAAO,MAAM,qCAAqC,iBAClC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAAC,GAAG,SAyHrD,CAAC;AAEF,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { assertNonNullable, assertTrue, assertType, filterByType, guaranteeType, returnUndefOnError, } from '@finos/legend-shared';
17
- import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue, INTERNAL__UnknownValueSpecification, V1_Variable, V1_serializeValueSpecification, GenericType, GenericTypeExplicitReference, matchFunctionName, InstanceValue, V1_AppliedFunction, V1_Collection, V1_Lambda, V1_ValueSpecificationBuilder, AbstractPropertyExpression, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, CORE_PURE_PATH, } from '@finos/legend-graph';
16
+ import { assertNonNullable, assertTrue, assertType, filterByType, guaranteeNonNullable, guaranteeType, returnUndefOnError, } from '@finos/legend-shared';
17
+ import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue, INTERNAL__UnknownValueSpecification, V1_Variable, V1_serializeValueSpecification, GenericType, GenericTypeExplicitReference, matchFunctionName, InstanceValue, V1_AppliedFunction, V1_Collection, V1_Lambda, V1_ValueSpecificationBuilder, AbstractPropertyExpression, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, CORE_PURE_PATH, PRIMITIVE_TYPE, } from '@finos/legend-graph';
18
18
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../QueryBuilderSupportedFunctions.js';
19
19
  const buildProjectionColumnLambda = (valueSpecification, openVariables, compileContext, processingContext) => {
20
20
  assertType(valueSpecification, V1_Lambda, `Can't build projection column: only support lambda`);
@@ -204,6 +204,33 @@ export const V1_buildGroupByFunctionExpression = (functionName, parameters, open
204
204
  expression.genericType = GenericTypeExplicitReference.create(new GenericType(compileContext.resolveType(CORE_PURE_PATH.TDS_ROW).value));
205
205
  return [expression, processedParams];
206
206
  };
207
+ export const V1_buildWatermarkFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
208
+ assertTrue(parameters.length === 2, `Can't build forWatermark() expression: forWatermark() expects 1 argument`);
209
+ const precedingExpression = parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
210
+ assertNonNullable(precedingExpression.genericType, `Can't build forWatermark() expression: preceding expression return type is missing`);
211
+ const lambda = parameters[1];
212
+ if (lambda instanceof V1_Lambda) {
213
+ lambda.parameters.forEach((variable) => {
214
+ if (variable.name && !variable.class) {
215
+ const variableExpression = new VariableExpression(variable.name, precedingExpression.multiplicity);
216
+ variableExpression.genericType = precedingExpression.genericType;
217
+ processingContext.addInferredVariables(variable.name, variableExpression);
218
+ }
219
+ });
220
+ }
221
+ const processedParams = [
222
+ precedingExpression,
223
+ parameters[1].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables)),
224
+ ];
225
+ const watermarkValueParam = guaranteeNonNullable(processedParams[1]);
226
+ const watermarkValueParamType = watermarkValueParam.genericType?.value.rawType;
227
+ assertTrue(compileContext.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING) ===
228
+ watermarkValueParamType, "Can't build forWatermark() expression: watermark parameter is expected to be of type string.");
229
+ const expression = V1_buildBaseSimpleFunctionExpression(processedParams, functionName, compileContext);
230
+ expression.genericType = precedingExpression.genericType;
231
+ expression.multiplicity = precedingExpression.multiplicity;
232
+ return [expression, processedParams];
233
+ };
207
234
  export const V1_buildOlapGroupByFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
208
235
  const processedParams = [];
209
236
  assertTrue(parameters.length === 5 || parameters.length === 4, `Can't build olapGroupBy() expression: olapGroupBy() expects 4 or 5 arguments`);
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,oCAAoC,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AAa,CAAC,CAAC;IACpC,UAAU,EAAE,CAAC;IAEb,mBAAmB;IACnB,MAAM,cAAc,GAClB,UAAU,CAAC,UAAU,CACtB,CAAC,gCAAgC,CAChC,IAAI,4BAA4B,CAC9B,cAAc,EACd,iBAAiB,EACjB,aAAa,CACd,CACF,CAAC;IACF,eAAe,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,UAAU,EAAE,CAAC;IAEb,yBAAyB;IACzB,MAAM,UAAU,GAAG,oCAAoC,CACrD,eAAe,EACf,YAAY,EACZ,cAAc,CACf,CAAC;IACF,UAAU,CAAC,WAAW,GAAG,4BAA4B,CAAC,MAAM,CAC1D,IAAI,WAAW,CAAC,cAAc,CAAC,WAAW,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAC1E,CAAC;IACF,OAAO,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAC5D,gBAA0C,EACxB,EAAE,CACpB,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,CACtC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,YAAY,aAAa,CAC1C,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC"}
1
+ {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,oCAAoC,EACpC,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,mCAAmC,EACnC,WAAW,EACX,8BAA8B,EAC9B,WAAW,EACX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