@finos/legend-query-builder 4.14.18 → 4.14.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +5 -3
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderConstantExpressionPanel.js +71 -45
  6. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  7. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderDiffPanel.js +2 -1
  9. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  10. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderParametersPanel.js +25 -26
  12. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +11 -2
  14. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  15. package/lib/components/QueryBuilderPropertyExpressionEditor.js +35 -10
  16. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  17. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  18. package/lib/components/QueryBuilderSideBar.js +6 -1
  19. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  20. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderTextEditor.js +3 -3
  22. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  23. package/lib/components/QueryLoader.d.ts.map +1 -1
  24. package/lib/components/QueryLoader.js +5 -3
  25. package/lib/components/QueryLoader.js.map +1 -1
  26. package/lib/components/QueryUsageViewer.d.ts.map +1 -1
  27. package/lib/components/QueryUsageViewer.js +2 -2
  28. package/lib/components/QueryUsageViewer.js.map +1 -1
  29. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +2 -0
  30. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  31. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +19 -2
  32. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  33. package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -1
  34. package/lib/components/data-access/DataAccessOverview.js +6 -1
  35. package/lib/components/data-access/DataAccessOverview.js.map +1 -1
  36. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  37. package/lib/components/execution-plan/ExecutionPlanViewer.js +6 -6
  38. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  39. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  40. package/lib/components/explorer/QueryBuilderExplorerPanel.js +3 -2
  41. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  42. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  43. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -2
  44. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  46. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +6 -3
  47. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  48. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  49. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +4 -3
  50. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  52. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +11 -22
  53. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  54. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +2 -2
  56. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  57. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  58. package/lib/components/result/QueryBuilderResultPanel.js +2 -1
  59. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  60. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  61. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +5 -1
  62. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  63. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
  64. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +11 -2
  65. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  66. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  67. package/lib/components/shared/BasicValueSpecificationEditor.js +25 -22
  68. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  69. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  70. package/lib/components/shared/CustomDatePicker.js +8 -5
  71. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  72. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  73. package/lib/components/shared/LambdaEditor.js +17 -3
  74. package/lib/components/shared/LambdaEditor.js.map +1 -1
  75. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  76. package/lib/components/shared/LambdaParameterValuesEditor.js +2 -2
  77. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  78. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +6 -0
  79. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  80. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +40 -3
  81. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  82. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  83. package/lib/components/watermark/QueryBuilderWatermark.js +28 -12
  84. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  85. package/lib/index.css +17 -1
  86. package/lib/index.css.map +1 -1
  87. package/lib/package.json +1 -1
  88. package/lib/stores/QueryBuilderConstantsState.d.ts +1 -0
  89. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  90. package/lib/stores/QueryBuilderConstantsState.js +7 -1
  91. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  92. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +5 -0
  93. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  94. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
  95. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  96. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -12
  97. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  98. package/package.json +8 -8
  99. package/src/components/QueryBuilder.tsx +14 -2
  100. package/src/components/QueryBuilderConstantExpressionPanel.tsx +145 -69
  101. package/src/components/QueryBuilderDiffPanel.tsx +10 -2
  102. package/src/components/QueryBuilderParametersPanel.tsx +42 -37
  103. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +87 -24
  104. package/src/components/QueryBuilderSideBar.tsx +20 -0
  105. package/src/components/QueryBuilderTextEditor.tsx +6 -4
  106. package/src/components/QueryLoader.tsx +12 -3
  107. package/src/components/QueryUsageViewer.tsx +7 -1
  108. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +40 -4
  109. package/src/components/data-access/DataAccessOverview.tsx +9 -1
  110. package/src/components/execution-plan/ExecutionPlanViewer.tsx +11 -8
  111. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -2
  112. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +5 -2
  113. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +12 -5
  114. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +8 -4
  115. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +56 -72
  116. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +8 -2
  117. package/src/components/result/QueryBuilderResultPanel.tsx +8 -1
  118. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +6 -3
  119. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +14 -4
  120. package/src/components/shared/BasicValueSpecificationEditor.tsx +39 -25
  121. package/src/components/shared/CustomDatePicker.tsx +18 -5
  122. package/src/components/shared/LambdaEditor.tsx +27 -11
  123. package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -1
  124. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +115 -64
  125. package/src/components/watermark/QueryBuilderWatermark.tsx +60 -19
  126. package/src/stores/QueryBuilderConstantsState.ts +12 -0
  127. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +9 -0
  128. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -12
@@ -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,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,iBAAiB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AAE,IAAI,EAClB,YAAY,EAAE,IAAI,IAXb,iBAAiB,CAAC,IAAI,CAY3B,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAI7B,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;;CA+FF,CAAC"}
1
+ {"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAI7B,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;;CAkGF,CAAC"}
@@ -44,7 +44,7 @@ export const LambdaParameterValuesEditor = observer((props) => {
44
44
  root: 'editor-modal__root-container',
45
45
  container: 'editor-modal__container',
46
46
  paper: 'editor-modal__content',
47
- }, 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) => {
47
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, 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) => {
48
48
  const variableType = paramState.variableType ?? PrimitiveType.STRING;
49
49
  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) => {
50
50
  paramState.setValue(val);
@@ -52,6 +52,6 @@ export const LambdaParameterValuesEditor = observer((props) => {
52
52
  expectedType: variableType,
53
53
  match: variableType === PrimitiveType.DATETIME,
54
54
  }, className: "query-builder__parameters__value__editor", resetValue: () => paramState.mockParameterValue() }))] }, paramState.uuid));
55
- }) }), _jsxs(ModalFooter, { children: [isClosingAction && (_jsx(ModalFooterStatus, { children: " Closing..." })), submitAction && (_jsx(ModalFooterButton, { inProgressText: isSubmitAction ? `${submitAction.label}...` : undefined, onClick: submit, text: prettyCONSTName(submitAction.label) })), _jsx(ModalFooterButton, { inProgressText: isClosingAction ? 'Closing...' : undefined, onClick: close, text: "Close" })] })] }) }));
55
+ }) }), _jsxs(ModalFooter, { children: [isClosingAction && (_jsx(ModalFooterStatus, { children: " Closing..." })), submitAction && (_jsx(ModalFooterButton, { inProgressText: isSubmitAction ? `${submitAction.label}...` : undefined, onClick: submit, text: prettyCONSTName(submitAction.label) })), _jsx(ModalFooterButton, { inProgressText: isClosingAction ? 'Closing...' : undefined, onClick: close, text: "Close", type: "secondary" })] })] }) }));
56
56
  });
57
57
  //# sourceMappingURL=LambdaParameterValuesEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaParameterValuesE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D,SAAS,EAAC,0CAA0C,EACpD,UAAU,EAAE,GAAS,EAAE,CAAC,UAAU,CAAC,kBAAkB,EAAE,GACvD,CACH,KA5BI,UAAU,CAAC,IAAI,CA6BhB,CACP,CAAC;oBACJ,CAAC,CAAC,GACQ,EACZ,MAAC,WAAW,eACT,eAAe,IAAI,CAClB,KAAC,iBAAiB,8BAAgC,CACnD,EACA,YAAY,IAAI,CACf,KAAC,iBAAiB,IAChB,cAAc,EACZ,cAAc,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,SAAS,EAEzD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,GACzC,CACH,EACD,KAAC,iBAAiB,IAChB,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,EAC1D,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,OAAO,GACZ,IACU,IACR,GACD,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,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,+EAA+E;AAC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AAC,YAAY,CAAC,CAAC,CAAC,SAAS,EAC1D,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,WAAW,GAChB,IACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -30,4 +30,10 @@ export declare const QueryBuilderPropertyInfoTooltip: React.FC<{
30
30
  type?: Type | undefined;
31
31
  explorerState?: QueryBuilderExplorerState | undefined;
32
32
  }>;
33
+ export declare const QueryBuilderDerivationInfoTooltip: React.FC<{
34
+ title: string;
35
+ children: React.ReactElement;
36
+ placement?: TooltipPlacement | undefined;
37
+ type?: Type | undefined;
38
+ }>;
33
39
  //# sourceMappingURL=QueryBuilderPropertyInfoTooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyInfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAEL,KAAK,gBAAgB,EAGtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,WAAW,EAKjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAEpG,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B,CAiFA,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,IAAI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-38,8 +38,8 @@ export const QueryBuilderTaggedValueInfoTooltip = (props) => {
38
38
  .slice(3)
39
39
  .map((taggedValue) => taggedValueCellRender(taggedValue))] })] })) : (_jsx(_Fragment, { children: Boolean(documentation.length) && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: documentation.join('\n\n') })] })) })) }));
40
40
  };
41
- export const QueryBuilderPropertyInfoTooltip = (props) => {
42
- const { title, property, path, isMapped, children, placement, type, explorerState, } = props;
41
+ const QueryBuilderBaseInfoTooltip = (props) => {
42
+ const { title, data, placement, children, footerElement } = props;
43
43
  const [open, setIsOpen] = useState(false);
44
44
  return (_jsx(ClickAwayListener, { onClickAway: () => setIsOpen(false), children: _jsx("div", { children: _jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
45
45
  tooltip: 'query-builder__tooltip',
@@ -50,6 +50,43 @@ export const QueryBuilderPropertyInfoTooltip = (props) => {
50
50
  // NOTE: somehow, this is the only workaround we have, if for example
51
51
  // we set `appear = true`, the tooltip will jump out of position
52
52
  timeout: 0,
53
- }, disableFocusListener: true, disableHoverListener: true, disableTouchListener: true, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsx("div", { className: "query-builder__tooltip__header", children: title }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: type?.path ?? property.genericType.value.rawType.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Path" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: path }), explorerState && (_jsx("div", { className: "query-builder__tooltip__item__action", children: _jsx("button", { onClick: () => explorerState.highlightTreeNode(path), title: "Show in tree", children: _jsx(ShareBoxIcon, { color: "white" }) }) }))] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(property.multiplicity) })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Derived Property" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: property instanceof DerivedProperty ? 'Yes' : 'No' })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Mapped" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: isMapped ? 'Yes' : 'No' })] }), _jsx(QueryBuilderTaggedValueInfoTooltip, { taggedValues: property.taggedValues })] }), children: _jsx("div", { onClick: () => setIsOpen(true), children: children }) }) }) }));
53
+ }, disableFocusListener: true, disableHoverListener: true, disableTouchListener: true, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsx("div", { className: "query-builder__tooltip__header", children: title }), data.map((elem) => (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: elem.label }), _jsx("div", { className: "query-builder__tooltip__item__value", children: elem.value }), elem.actionButton] }, elem.label))), footerElement] }), children: _jsx("div", { onClick: () => setIsOpen(true), children: children }) }) }) }));
54
+ };
55
+ export const QueryBuilderPropertyInfoTooltip = (props) => {
56
+ const { title, property, path, isMapped, children, placement, type, explorerState, } = props;
57
+ const data = [
58
+ {
59
+ label: 'Type',
60
+ value: type?.path ?? property.genericType.value.rawType.path,
61
+ },
62
+ {
63
+ label: 'Path',
64
+ value: path,
65
+ actionButton: explorerState ? (_jsx("div", { className: "query-builder__tooltip__item__action", children: _jsx("button", { onClick: () => explorerState.highlightTreeNode(path), title: "Show in tree", children: _jsx(ShareBoxIcon, { color: "white" }) }) })) : undefined,
66
+ },
67
+ {
68
+ label: 'Multiplicity',
69
+ value: getMultiplicityDescription(property.multiplicity),
70
+ },
71
+ {
72
+ label: 'Derived Property',
73
+ value: property instanceof DerivedProperty ? 'Yes' : 'No',
74
+ },
75
+ {
76
+ label: 'Mapped',
77
+ value: isMapped ? 'Yes' : 'No',
78
+ },
79
+ ];
80
+ return (_jsx(QueryBuilderBaseInfoTooltip, { title: title, data: data, placement: placement, footerElement: _jsx(QueryBuilderTaggedValueInfoTooltip, { taggedValues: property.taggedValues }), children: children }));
81
+ };
82
+ export const QueryBuilderDerivationInfoTooltip = (props) => {
83
+ const { title, children, placement, type } = props;
84
+ const data = [
85
+ {
86
+ label: 'Type',
87
+ value: type?.path ?? 'undefined',
88
+ },
89
+ ];
90
+ return (_jsx(QueryBuilderBaseInfoTooltip, { title: title, data: data, placement: placement, children: children }));
54
91
  };
55
92
  //# sourceMappingURL=QueryBuilderPropertyInfoTooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,YAAY,EAEZ,OAAO,EACP,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,oBAAoB,GAA4B,CAAC,KAAK,EAAE,EAAE;QAC9D,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC,CAAC;IACF,MAAM,gBAAgB,GAAG,CAAC,GAAgB,EAAW,EAAE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AS,EAAC,qCAAqC,6BAE9C,EACN,cAAK,SAAS,EAAC,qCAAqC,YACjD,0BAA0B,CAAC,QAAQ,CAAC,YAAY,CAAC,GAC9C,IACF,EACN,eAAK,SAAS,EAAC,8BAA8B,aAC3C,cAAK,SAAS,EAAC,qCAAqC,iCAE9C,EACN,cAAK,SAAS,EAAC,qCAAqC,YACjD,QAAQ,YAAY,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAC/C,IACF,EACN,eAAK,SAAS,EAAC,8BAA8B,aAC3C,cAAK,SAAS,EAAC,qCAAqC,uBAE9C,EACN,cAAK,SAAS,EAAC,qCAAqC,YACjD,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GACpB,IACF,EACN,KAAC,kCAAkC,IACjC,YAAY,EAAE,QAAQ,CAAC,YAAY,GACnC,IACE,YAGR,cAAK,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,YAAG,QAAQ,GAAO,GAC7C,GACN,GACY,CACrB,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,YAAY,EAEZ,OAAO,EACP,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;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CAAC,MAAM,iCAAiC,GAKzC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnD,MAAM,IAAI,GAAG;QACX;YACE,KAAK,EAAE,MAAM;YACb,KAAK,EAAE,IAAI,EAAE,IAAI,IAAI,WAAW;SACjC;KACF,CAAC;IAEF,OAAO,CACL,KAAC,2BAA2B,IAC1B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACmB,CAC/B,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAuF3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAiDjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA6F3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAoFjD,CAAC"}
@@ -17,18 +17,19 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
17
17
  import { Dialog, PanelDropZone, PanelFormBooleanField, PanelForm, PanelDivider, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormSection, ModalFooterButton, } from '@finos/legend-art';
18
18
  import { areMultiplicitiesEqual, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
19
19
  import { observer } from 'mobx-react-lite';
20
- import { useCallback } from 'react';
20
+ import { useCallback, useState } from 'react';
21
21
  import { useDrop } from 'react-dnd';
22
22
  import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
23
23
  import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
24
+ import { clone, deepClone } from '@finos/legend-shared';
24
25
  const isParamaterCompatibleWithWaterMark = (parameter) => PrimitiveType.STRING === parameter.genericType?.value.rawType &&
25
26
  areMultiplicitiesEqual(parameter.multiplicity, Multiplicity.ONE);
26
27
  const WatermarkValueEditor = observer((props) => {
27
- const { watermarkValue, watermarkState } = props;
28
+ const { selectedValue, setSelectedValue, handleResetValue, watermarkState, } = props;
28
29
  const graph = watermarkState.queryBuilderState.graphManagerState.graph;
29
30
  const handleDrop = useCallback((item) => {
30
- watermarkState.setValue(item.variable);
31
- }, [watermarkState]);
31
+ setSelectedValue(item.variable);
32
+ }, [setSelectedValue]);
32
33
  const [{ isParameterValueDragOver }, dropTargetConnector] = useDrop(() => ({
33
34
  accept: [QUERY_BUILDER_VARIABLE_DND_TYPE],
34
35
  drop: (item, monitor) => {
@@ -44,24 +45,39 @@ const WatermarkValueEditor = observer((props) => {
44
45
  }),
45
46
  }),
46
47
  }), [handleDrop]);
47
- return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: watermarkValue, setValueSpecification: (val) => {
48
- watermarkState.setValue(val);
48
+ return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: selectedValue, setValueSpecification: (val) => {
49
+ setSelectedValue(clone(val));
49
50
  }, graph: graph, obseverContext: watermarkState.queryBuilderState.observerContext, typeCheckOption: {
50
51
  expectedType: PrimitiveType.STRING,
51
- }, resetValue: () => {
52
- watermarkState.resetValue();
53
- }, isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(watermarkValue) }) }) }) }));
52
+ }, resetValue: handleResetValue, isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(selectedValue) }) }) }) }));
54
53
  });
55
54
  export const QueryBuilderWatermarkEditor = observer((props) => {
56
55
  const { queryBuilderState } = props;
56
+ const applicationStore = queryBuilderState.applicationStore;
57
57
  const watermarkState = queryBuilderState.watermarkState;
58
- const handleClose = () => {
58
+ const [selectedValue, setSelectedValue] = useState(deepClone(watermarkState.value));
59
+ const handleCancel = () => {
59
60
  watermarkState.setIsEditingWatermark(false);
60
61
  };
61
- return (_jsx(Dialog, { open: Boolean(watermarkState.isEditingWatermark), onClose: handleClose, classes: {
62
+ const handleApply = () => {
63
+ watermarkState.setValue(selectedValue);
64
+ handleCancel();
65
+ };
66
+ const handleResetValue = () => {
67
+ setSelectedValue(watermarkState.getDefaultValue());
68
+ };
69
+ const toggleWatermark = () => {
70
+ if (selectedValue) {
71
+ setSelectedValue(undefined);
72
+ }
73
+ else {
74
+ handleResetValue();
75
+ }
76
+ };
77
+ return (_jsx(Dialog, { open: Boolean(watermarkState.isEditingWatermark), onClose: handleCancel, classes: {
62
78
  root: 'editor-modal__root-container',
63
79
  container: 'editor-modal__container',
64
80
  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, {}), _jsx(VariableSelector, { filterBy: isParamaterCompatibleWithWaterMark, queryBuilderState: queryBuilderState })] }))] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Done", onClick: handleClose }) })] }) }));
81
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__watermark__modal", children: [_jsx(ModalHeader, { title: "Watermark" }), _jsx(ModalBody, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: selectedValue !== undefined, prompt: "Enable watermark", update: toggleWatermark }), selectedValue && (_jsxs(_Fragment, { children: [_jsx(WatermarkValueEditor, { selectedValue: selectedValue, setSelectedValue: setSelectedValue, handleResetValue: handleResetValue, watermarkState: watermarkState }), _jsx(PanelDivider, {}), _jsx(VariableSelector, { filterBy: isParamaterCompatibleWithWaterMark, queryBuilderState: queryBuilderState })] }))] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: "Apply", onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
66
82
  });
67
83
  //# sourceMappingURL=QueryBuilderWatermark.js.map
@@ -1 +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,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,aAAa,GAGd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OA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AQ,EAAE,IAAI,EAAE,SAAS,EAAC,cAAc,aAC7C,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,GAAG,EACjC,KAAC,SAAS,cACR,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,KAAC,gBAAgB,IACf,QAAQ,EAAE,kCAAkC,EAC5C,iBAAiB,EAAE,iBAAiB,GACpC,IACD,CACJ,IACS,GACF,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,WAAW,GAAI,GAC3C,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
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,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,aAAa,GAGd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,C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