@finos/legend-query-builder 4.15.2 → 4.15.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
  2. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderTesting.js +2 -0
  4. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  5. package/lib/components/data-cube/QueryBuilderDataCube.d.ts.map +1 -1
  6. package/lib/components/data-cube/QueryBuilderDataCube.js +6 -7
  7. package/lib/components/data-cube/QueryBuilderDataCube.js.map +1 -1
  8. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  9. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +38 -33
  10. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  12. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +12 -5
  13. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  14. package/lib/components/filter/QueryBuilderFilterPanel.js +2 -2
  15. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  16. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  17. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +4 -3
  18. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  19. package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts +2 -2
  20. package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
  21. package/lib/components/result/tds/QueryBuilderTDSResultShared.js +157 -19
  22. package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
  23. package/lib/index.css +2 -2
  24. package/lib/index.css.map +1 -1
  25. package/lib/index.d.ts +1 -1
  26. package/lib/index.d.ts.map +1 -1
  27. package/lib/index.js.map +1 -1
  28. package/lib/package.json +1 -1
  29. package/lib/stores/QueryBuilderState.d.ts +6 -1
  30. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  31. package/lib/stores/QueryBuilderState.js +3 -0
  32. package/lib/stores/QueryBuilderState.js.map +1 -1
  33. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +17 -6
  34. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -1
  35. package/lib/stores/explorer/QueryFunctionsExplorerState.js +142 -59
  36. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
  37. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +1 -1
  38. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -1
  39. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  40. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  41. package/lib/stores/filter/QueryBuilderFilterState.js +8 -3
  42. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  43. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
  44. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  45. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +2 -2
  46. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  47. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +3 -3
  48. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  49. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +2 -2
  50. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  51. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +3 -3
  52. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  53. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +2 -2
  54. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  55. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +2 -2
  56. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  57. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +1 -1
  58. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  59. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +2 -2
  60. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  61. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +1 -1
  62. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  63. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +2 -2
  64. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  65. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +2 -2
  66. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  67. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +2 -2
  68. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  69. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +2 -2
  70. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  71. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +2 -2
  72. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  73. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +1 -1
  74. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  75. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +2 -2
  76. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  77. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +1 -1
  78. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  79. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +2 -2
  80. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  81. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +2 -2
  82. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  83. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +3 -3
  84. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  85. package/package.json +6 -6
  86. package/src/__lib__/QueryBuilderTesting.ts +2 -0
  87. package/src/components/data-cube/QueryBuilderDataCube.tsx +15 -25
  88. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +63 -70
  89. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +23 -11
  90. package/src/components/filter/QueryBuilderFilterPanel.tsx +2 -2
  91. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +7 -3
  92. package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +334 -26
  93. package/src/index.ts +1 -0
  94. package/src/stores/QueryBuilderState.ts +12 -0
  95. package/src/stores/explorer/QueryFunctionsExplorerState.ts +227 -94
  96. package/src/stores/filter/QueryBuilderFilterOperator.ts +1 -1
  97. package/src/stores/filter/QueryBuilderFilterState.ts +10 -5
  98. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
  99. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +3 -5
  100. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +3 -5
  101. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +2 -2
  102. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +2 -4
  103. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +2 -4
  104. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -2
  105. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +2 -2
  106. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +2 -4
  107. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +2 -4
  108. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +3 -5
@@ -44,6 +44,7 @@ export declare enum QUERY_BUILDER_TEST_ID {
44
44
  QUERY_BUILDER_PREVIEW_DATA_MODAL = "query__builder__preview-data__modal",
45
45
  QUERY_BUILDER_PARAMETERS = "query-builder__parameters",
46
46
  QUERY_BUILDER_CONSTANTS = "query-builder__constants",
47
+ QUERY_BUILDER_FUNCTIONS = "query-builder__functions",
47
48
  QUERY_BUILDER_TOOLTIP_ICON = "query-builder__tooltip__icon",
48
49
  QUERY_BUILDER_RESULT_VALUES = "QUERY_BUILDER_RESULT_VALUES",
49
50
  QUERY_BUILDER_RESULT_VALUES_TDS = "QUERY_BUILDER_RESULT_VALUES_TDS",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,6BAA6B,qCAAqC;IAClE,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,oCAAoC,6CAA6C;IACjF,uCAAuC,gDAAgD;IACvF,wCAAwC,iDAAiD;IACzF,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qD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qD;IAEhG,4BAA4B,2BAA2B;IAEvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,8BAA8B,sCAAsC;IAEpE,gCAAgC,wCAAwC;IAExE,wBAAwB,8BAA8B;IAEtD,uBAAuB,6BAA6B;IAEpD,uBAAuB,6BAA6B;IAEpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IACpE,uCAAuC,gDAAgD;IAEvF,mCAAmC,4CAA4C;IAC/E,mDAAmD,0DAA0D;IAC7G,8CAA8C,uDAAuD;CACtG"}
@@ -52,6 +52,8 @@ export var QUERY_BUILDER_TEST_ID;
52
52
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_PARAMETERS"] = "query-builder__parameters";
53
53
  // constant panel
54
54
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_CONSTANTS"] = "query-builder__constants";
55
+ // function panel
56
+ QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FUNCTIONS"] = "query-builder__functions";
55
57
  // other
56
58
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TOOLTIP_ICON"] = "query-builder__tooltip__icon";
57
59
  // result panel
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAoDX;AApDD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,0EAAiD,CAAA;IACjD,sEAA6C,CAAA;IAC7C,2FAAkE,CAAA;IAClE,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,0GAAiF,CAAA;IACjF,gHAAuF,CAAA;IACvF,kHAAyF,CAAA;IACzF,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,8FAAqE,CAAA;IACrE,qHAA4F,CAAA;IAC5F,2HAAkG,CAAA;IAClG,6HAAoG,CAAA;IACpG,yHAAgG,CAAA;IAChG,wBAAwB;IACxB,gFAAuD,CAAA;IACvD,iBAAiB;IACjB,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,6FAAoE,CAAA;IACpE,oBAAoB;IACpB,iGAAwE,CAAA;IACxE,kBAAkB;IAClB,+EAAsD,CAAA;IACtD,iBAAiB;IACjB,6EAAoD,CAAA;IACpD,QAAQ;IACR,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,gHAAuF,CAAA;IACvF,wBAAwB;IACxB,wGAA+E,CAAA;IAC/E,sIAA6G,CAAA;IAC7G,8HAAqG,CAAA;AACvG,CAAC,EApDW,qBAAqB,KAArB,qBAAqB,QAoDhC"}
1
+ {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAsDX;AAtDD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,0EAAiD,CAAA;IACjD,sEAA6C,CAAA;IAC7C,2FAAkE,CAAA;IAClE,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,0GAAiF,CAAA;IACjF,gHAAuF,CAAA;IACvF,kHAAyF,CAAA;IACzF,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,8FAAqE,CAAA;IACrE,qHAA4F,CAAA;IAC5F,2HAAkG,CAAA;IAClG,6HAAoG,CAAA;IACpG,yHAAgG,CAAA;IAChG,wBAAwB;IACxB,gFAAuD,CAAA;IACvD,iBAAiB;IACjB,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,6FAAoE,CAAA;IACpE,oBAAoB;IACpB,iGAAwE,CAAA;IACxE,kBAAkB;IAClB,+EAAsD,CAAA;IACtD,iBAAiB;IACjB,6EAAoD,CAAA;IACpD,iBAAiB;IACjB,6EAAoD,CAAA;IACpD,QAAQ;IACR,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,gHAAuF,CAAA;IACvF,wBAAwB;IACxB,wGAA+E,CAAA;IAC/E,sIAA6G,CAAA;IAC7G,8HAAqG,CAAA;AACvG,CAAC,EAtDW,qBAAqB,KAArB,qBAAqB,QAsDhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderDataCube.d.ts","sourceRoot":"","sources":["../../../src/components/data-cube/QueryBuilderDataCube.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAqC3E,eAAO,MAAM,0BAA0B,WAC7B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgDjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderDataCube.d.ts","sourceRoot":"","sources":["../../../src/components/data-cube/QueryBuilderDataCube.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAoC3E,eAAO,MAAM,0BAA0B,WAC7B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAuCjD,CAAC"}
@@ -17,8 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  import { DataCube, DataCubeProvider } from '@finos/legend-data-cube';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { QueryBuilderDataCubeApplicationEngine } from '../../stores/data-cube/QueryBuilderDataCubeApplicationEngine.js';
20
- import { clsx, Dialog, EmptyWindowRestoreIcon, Modal, TimesIcon, WindowMaximizeIcon, } from '@finos/legend-art';
21
- import { useState } from 'react';
20
+ import { clsx, Dialog, Modal, ModalFooter, ModalFooterButton, TimesIcon, } from '@finos/legend-art';
22
21
  import { createDataCubeEngineFromQueryBuilder } from '../../stores/data-cube/QueryBuilderDataCubeEngineHelper.js';
23
22
  const QueryBuilderDataCube = observer((props) => {
24
23
  const { queryBuilderState } = props;
@@ -31,11 +30,11 @@ const QueryBuilderDataCube = observer((props) => {
31
30
  });
32
31
  export const QueryBuilderDataCubeDialog = observer((props) => {
33
32
  const { queryBuilderState } = props;
34
- const [isMaximized, setIsMaximized] = useState(false);
35
- const toggleMaximize = () => setIsMaximized(!isMaximized);
36
33
  const closeModal = () => queryBuilderState.setIsCubeEnabled(false);
37
- return (_jsx(Dialog, { open: true, onClose: closeModal, classes: { container: 'dataspace-info-modal__container' }, children: _jsxs(Modal, { darkMode: false, className: clsx('editor-modal query-builder__dialog', {
38
- 'query-builder__dialog--expanded': isMaximized,
39
- }), children: [_jsx("div", { className: "query-builder__dialog__header", children: _jsxs("div", { className: "query-builder__dialog__header__actions", children: [_jsx("button", { className: "query-builder__dialog__header__action", tabIndex: -1, onClick: toggleMaximize, title: isMaximized ? 'Minimize' : 'Maximize', children: isMaximized ? (_jsx(EmptyWindowRestoreIcon, {})) : (_jsx(WindowMaximizeIcon, {})) }), _jsx("button", { className: "query-builder__dialog__header__action", tabIndex: -1, onClick: closeModal, title: "Close", children: _jsx(TimesIcon, {}) })] }) }), _jsx("div", { className: "query-builder__dialog__content", children: _jsx(QueryBuilderDataCube, { queryBuilderState: queryBuilderState }) })] }) }));
34
+ return (_jsx(Dialog, { open: true, onClose: closeModal, classes: {
35
+ root: 'editor-modal__root-container',
36
+ container: 'editor-modal__container',
37
+ paper: 'editor-modal__content',
38
+ }, children: _jsxs(Modal, { darkMode: false, className: clsx('editor-modal query-builder-data-cube__dialog'), children: [_jsx("div", { className: "query-builder-data-cube__dialog__header", children: _jsx("div", { className: "query-builder-data-cube__dialog__header__actions", children: _jsx("button", { className: "query-builder-data-cube__dialog__header__action", tabIndex: -1, onClick: closeModal, title: "Close", children: _jsx(TimesIcon, {}) }) }) }), _jsx("div", { className: "query-builder-data-cube__dialog__content", children: _jsx(QueryBuilderDataCube, { queryBuilderState: queryBuilderState }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closeModal, children: "Close" }) })] }) }));
40
39
  });
41
40
  //# sourceMappingURL=QueryBuilderDataCube.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderDataCube.js","sourceRoot":"","sources":["../../../src/components/data-cube/QueryBuilderDataCube.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qCAAqC,EAAE,MAAM,iEAAiE,CAAC;AACxH,OAAO,EACL,IAAI,EACJ,MAAM,EACN,sBAAsB,EACtB,KAAK,EACL,SAAS,EACT,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,oCAAoC,EAAE,MAAM,4DAA4D,CAAC;AAElH,MAAM,oBAAoB,GAAG,QAAQ,CACnC,CAAC,K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E,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,YAE3C,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,sBAAsB,KAAG,CAC3B,CAAC,CAAC,CAAC,CACF,KAAC,kBAAkB,KAAG,CACvB,GACM,EACT,iBACE,SAAS,EAAC,uCAAuC,EACjD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,UAAU,EACnB,KAAK,EAAC,OAAO,YAEb,KAAC,SAAS,KAAG,GACN,IACL,GACF,EACN,cAAK,SAAS,EAAC,gCAAgC,YAC7C,KAAC,oBAAoB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GAC1D,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderDataCube.js","sourceRoot":"","sources":["../../../src/components/data-cube/QueryBuilderDataCube.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qCAAqC,EAAE,MAAM,iEAAiE,CAAC;AACxH,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oCAAoC,EAAE,MAAM,4DAA4D,CAAC;AAElH,MAAM,oBAAoB,GAAG,QAAQ,CACnC,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,IAAI,qCAAqC,CAChE,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;IACF,MAAM,kBAAkB,GACtB,oCAAoC,CAAC,iBAAiB,CAAC,CAAC;IAC1D,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,gBAAgB,IACf,WAAW,EAAE,gBAAgB,EAC7B,MAAM,EAAE,kBAAkB,YAE1B,KAAC,QAAQ,KAAG,GACK,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAChD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACnE,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,UAAU,EACnB,OAAO,EAAE;YACP,IAAI,EAAE,8BAA8B;YACpC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,uBAAuB;SAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EAAE,KAAK,EACf,SAAS,EAAE,IAAI,CAAC,8CAA8C,CAAC,aAE/D,cAAK,SAAS,EAAC,yCAAyC,YACtD,cAAK,SAAS,EAAC,kDAAkD,YAC/D,iBACE,SAAS,EAAC,iDAAiD,EAC3D,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,UAAU,EACnB,KAAK,EAAC,OAAO,YAEb,KAAC,SAAS,KAAG,GACN,GACL,GACF,EACN,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,oBAAoB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GAC1D,EACN,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,UAAU,sBAA2B,GACrD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+CH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAmV3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA4KjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6CH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgV3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA0KjD,CAAC"}
@@ -17,69 +17,71 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { useEffect, useState } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { FolderIcon, FolderOpenIcon, InfoCircleIcon, SubjectIcon, Tooltip, ViewHeadlineIcon, ChevronDownIcon, ChevronRightIcon, PURE_FunctionIcon, CompressIcon, TreeView, BlankPanelContent, MenuContentItem, ControlledDropdownMenu, MenuContent, CheckIcon, MenuContentItemIcon, MenuContentItemLabel, MoreVerticalIcon, DragPreviewLayer, useDragPreviewLayer, } from '@finos/legend-art';
20
- import { generateFunctionsExplorerTreeNodeData, getFunctionsExplorerTreeNodeChildren, QUERY_BUILDER_FUNCTION_DND_TYPE, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
20
+ import { getFunctionsExplorerTreeNodeChildren, QUERY_BUILDER_FUNCTION_DND_TYPE, generateFunctionsExplorerTreeNodeDataFromFunctionAnalysisInfo, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
21
21
  import { useDrag } from 'react-dnd';
22
- import { ConcreteFunctionDefinition, generateFunctionPrettyName, getElementRootPackage, Package, ROOT_PACKAGE_NAME, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
22
+ import { getElementRootPackage, ROOT_PACKAGE_NAME, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
23
23
  import { QueryBuilderTelemetryHelper } from '../../__lib__/QueryBuilderTelemetryHelper.js';
24
- const isDependencyTreeNode = (node) => getElementRootPackage(node.packageableElement).name ===
25
- ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT;
24
+ import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
25
+ const isDependencyTreeNode = (node) => node.package !== undefined &&
26
+ getElementRootPackage(node.package).name ===
27
+ ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT;
26
28
  const QueryBuilderFunctionInfoTooltip = (props) => {
27
- const { element, children, placement } = props;
28
- const documentation = element.taggedValues
29
+ const { children, placement, functionInfo } = props;
30
+ const documentation = functionInfo.taggedValues
29
31
  .filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
30
32
  CORE_PURE_PATH.PROFILE_DOC &&
31
33
  taggedValue.tag.value.value === PURE_DOC_TAG)
32
34
  .map((taggedValue) => taggedValue.value);
35
+ const generateParameterCallString = () => {
36
+ if (functionInfo.parameterInfoList.length &&
37
+ functionInfo.parameterInfoList.length > 0) {
38
+ return functionInfo.parameterInfoList
39
+ .map((param) => `${param.name}: ${param.type}${getMultiplicityDescription(param.multiplicity)}`)
40
+ .join('; ');
41
+ }
42
+ return '';
43
+ };
33
44
  return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
34
45
  tooltip: 'query-builder__tooltip',
35
46
  arrow: 'query-builder__tooltip__arrow',
36
47
  tooltipPlacementRight: 'query-builder__tooltip--right',
37
48
  }, TransitionProps: {
38
49
  timeout: 0,
39
- }, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Function Name" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Parameters" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.parameters
40
- .map((param) => `${param.name}: ${param.type.value.name}${getMultiplicityDescription(param.multiplicity)}`)
41
- .join('; ') })] }), 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') })] })), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Return Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.returnType.value.name })] })] }), children: _jsx("span", { children: children }) }));
50
+ }, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Function Name" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: functionInfo.functionPath })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Parameters" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: generateParameterCallString() })] }), 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') })] })), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Return Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: functionInfo.returnType })] })] }), children: _jsx("span", { children: children }) }));
42
51
  };
43
52
  const QueryBuilderFunctionsExplorerListEntry = observer((props) => {
44
- const { queryBuilderState, element, rootPackageName } = props;
45
- const node = generateFunctionsExplorerTreeNodeData(queryBuilderState, element, rootPackageName);
46
- const functionPrettyName = generateFunctionPrettyName(element, {
47
- fullPath: true,
48
- });
53
+ const { element } = props;
54
+ const node = generateFunctionsExplorerTreeNodeDataFromFunctionAnalysisInfo(element);
49
55
  const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
50
56
  type: QUERY_BUILDER_FUNCTION_DND_TYPE,
51
57
  item: { node: node },
52
58
  }), [node]);
53
59
  useDragPreviewLayer(dragPreviewConnector);
54
- return (_jsxs("div", { className: "query-builder__functions-explorer__function", ref: dragConnector, children: [_jsxs("div", { className: "query-builder__functions-explorer__function__content", children: [_jsx("div", { className: "query-builder__functions-explorer__function__icon", children: _jsx("div", { className: "query-builder__functions-explorer__function-icon", children: _jsx(PURE_FunctionIcon, {}) }) }), _jsx("div", { className: "query-builder__functions-explorer__function__label", title: functionPrettyName, children: functionPrettyName })] }), _jsx("div", { className: "query-builder__functions-explorer__function__actions", children: _jsx(QueryBuilderFunctionInfoTooltip, { element: node.packageableElement, children: _jsx("div", { className: "query-builder__functions-explorer__function__action query-builder__functions-explorer__function__node__info", children: _jsx(InfoCircleIcon, {}) }) }) })] }));
60
+ return (_jsxs("div", { className: "query-builder__functions-explorer__function", ref: dragConnector, children: [_jsxs("div", { className: "query-builder__functions-explorer__function__content", children: [_jsx("div", { className: "query-builder__functions-explorer__function__icon", children: _jsx("div", { className: "query-builder__functions-explorer__function-icon", children: _jsx(PURE_FunctionIcon, {}) }) }), _jsx("div", { className: "query-builder__functions-explorer__function__label", title: element.functionPrettyName, children: element.functionPrettyName })] }), _jsx("div", { className: "query-builder__functions-explorer__function__actions", children: _jsx(QueryBuilderFunctionInfoTooltip, { functionInfo: element, children: _jsx("div", { className: "query-builder__functions-explorer__function__action query-builder__functions-explorer__function__node__info", children: _jsx(InfoCircleIcon, {}) }) }) })] }));
55
61
  });
56
62
  const QueryBuilderFunctionsExplorerTreeNodeContainer = observer((props) => {
57
63
  const { node, level, stepPaddingInRem, onNodeSelect } = props;
58
- const isPackage = node.packageableElement instanceof Package;
59
- const name = node.packageableElement instanceof ConcreteFunctionDefinition
60
- ? generateFunctionPrettyName(node.packageableElement)
61
- : node.packageableElement.name;
64
+ const name = node.functionAnalysisInfo
65
+ ? node.functionAnalysisInfo.functionPrettyName.split(`${node.functionAnalysisInfo.packagePath}::`)[1]
66
+ : (node.package?.name ?? '');
62
67
  const isExpandable = Boolean(node.childrenIds.length);
63
68
  const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
64
69
  const iconPackageColor = isDependencyTreeNode(node)
65
70
  ? 'color--dependency'
66
71
  : '';
67
- const nodeTypeIcon = isPackage ? (node.isOpen ? (_jsx(FolderOpenIcon, { className: iconPackageColor })) : (_jsx(FolderIcon, { className: iconPackageColor }))) : (_jsx(PURE_FunctionIcon, {}));
72
+ const nodeTypeIcon = node.package ? (node.isOpen ? (_jsx(FolderOpenIcon, { className: iconPackageColor })) : (_jsx(FolderIcon, { className: iconPackageColor }))) : (_jsx(PURE_FunctionIcon, {}));
68
73
  const selectNode = () => {
69
74
  onNodeSelect?.(node);
70
75
  };
71
76
  const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
72
77
  type: QUERY_BUILDER_FUNCTION_DND_TYPE,
73
- item: () => node.packageableElement instanceof ConcreteFunctionDefinition
74
- ? { node }
75
- : {},
78
+ item: () => (node.functionAnalysisInfo ? { node } : {}),
76
79
  }), [node]);
77
80
  useDragPreviewLayer(dragPreviewConnector);
78
81
  return (_jsx("div", { children: _jsx("div", { className: "tree-view__node__container query-builder__functions-explorer__tree__node__container", onClick: selectNode, ref: !isExpandable ? dragConnector : undefined, style: {
79
82
  paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1) + 0.5}rem`,
80
83
  display: 'flex',
81
- }, children: _jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder__functions-explorer__tree__node__icon", children: [_jsx("div", { className: "query-builder__functions-explorer__tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: 'query-builder__functions-explorer__tree__type-icon', children: nodeTypeIcon })] }), _jsx("div", { className: "tree-view__node__label query-builder__functions-explorer__tree__node__label--with-action", title: name, children: name }), _jsx("div", { className: "query-builder__functions-explorer__tree__node__actions", children: node.packageableElement instanceof
82
- ConcreteFunctionDefinition && (_jsx(QueryBuilderFunctionInfoTooltip, { element: node.packageableElement, children: _jsx("div", { className: "query-builder__functions-explorer__tree__node__action query-builder__functions-explorer__tree__node__info", children: _jsx(InfoCircleIcon, {}) }) })) })] }) }) }));
84
+ }, children: _jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder__functions-explorer__tree__node__icon", children: [_jsx("div", { className: "query-builder__functions-explorer__tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: 'query-builder__functions-explorer__tree__type-icon', children: nodeTypeIcon })] }), _jsx("div", { className: "tree-view__node__label query-builder__functions-explorer__tree__node__label--with-action", title: name, children: name }), _jsx("div", { className: "query-builder__functions-explorer__tree__node__actions", children: node.functionAnalysisInfo && (_jsx(QueryBuilderFunctionInfoTooltip, { functionInfo: node.functionAnalysisInfo, children: _jsx("div", { className: "query-builder__functions-explorer__tree__node__action query-builder__functions-explorer__tree__node__info", children: _jsx(InfoCircleIcon, {}) }) })) })] }) }) }));
83
85
  });
84
86
  const QueryBuilderPackableElementExplorerTree = observer((props) => {
85
87
  const { queryBuilderState, rootPackageName, showDependencyFuncions } = props;
@@ -136,21 +138,24 @@ export const QueryBuilderFunctionsExplorerPanel = observer((props) => {
136
138
  QueryBuilderTelemetryHelper.logEvent_TogglePanelFunctionExplorerDependencyView(queryBuilderState.applicationStore.telemetryService);
137
139
  setShowDependencyFuncions(!showDependencyFuncions);
138
140
  };
141
+ useEffect(() => {
142
+ queryFunctionsState.initializeTreeData();
143
+ }, [queryFunctionsState]);
139
144
  useEffect(() => {
140
145
  QueryBuilderTelemetryHelper.logEvent_RenderPanelFunctionExplorer(queryBuilderState.applicationStore.telemetryService);
141
146
  }, [queryBuilderState.applicationStore]);
142
- return (_jsxs("div", { className: "panel query-builder__functions-explorer", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "functions" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, children: viewAsTree && _jsx(CompressIcon, { title: "Collapse Tree" }) }), _jsx("div", { className: "panel__header__action query-builder__functions-explorer__custom-icon", children: !viewAsTree ? (_jsx(SubjectIcon, { title: "View as Tree", onClick: toggleViewAsListOrAsTree })) : (_jsx(ViewHeadlineIcon, { title: "View as List", onClick: toggleViewAsListOrAsTree })) }), _jsx(ControlledDropdownMenu, { className: "panel__header__action", title: "Show Options Menu...", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: toggleShowDependencyFunctions, children: [_jsx(MenuContentItemIcon, { children: showDependencyFuncions ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Show functions from dependency projects" })] }) }), menuProps: {
147
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FUNCTIONS, className: "panel query-builder__functions-explorer", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "functions" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, children: viewAsTree && _jsx(CompressIcon, { title: "Collapse Tree" }) }), _jsx("div", { className: "panel__header__action query-builder__functions-explorer__custom-icon", children: !viewAsTree ? (_jsx(SubjectIcon, { title: "View as Tree", onClick: toggleViewAsListOrAsTree })) : (_jsx(ViewHeadlineIcon, { title: "View as List", onClick: toggleViewAsListOrAsTree })) }), _jsx(ControlledDropdownMenu, { className: "panel__header__action", title: "Show Options Menu...", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: toggleShowDependencyFunctions, children: [_jsx(MenuContentItemIcon, { children: showDependencyFuncions ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Show functions from dependency projects" })] }) }), menuProps: {
143
148
  anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
144
149
  transformOrigin: { vertical: 'top', horizontal: 'left' },
145
150
  elevation: 7,
146
- }, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] })] }), _jsxs("div", { className: "panel__content query-builder__functions-explorer__content", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => generateFunctionPrettyName(item.node.packageableElement, { fullPath: true }), types: [QUERY_BUILDER_FUNCTION_DND_TYPE] }), ((showDependencyFuncions &&
147
- (!queryFunctionsState.dependencyTreeData ||
148
- queryFunctionsState.dependencyTreeData.rootIds.length === 0)) ||
151
+ }, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] })] }), _jsxs("div", { className: "panel__content query-builder__functions-explorer__content", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.functionAnalysisInfo?.functionPrettyName ?? '', types: [QUERY_BUILDER_FUNCTION_DND_TYPE] }), ((showDependencyFuncions &&
152
+ queryFunctionsState.dependencyFunctionExplorerStates.length ===
153
+ 0) ||
149
154
  !showDependencyFuncions) &&
150
155
  queryFunctionsState.treeData?.rootIds.length === 0 && (_jsx(BlankPanelContent, { children: "No user-defined functions available" })), viewAsTree && (_jsxs(_Fragment, { children: [queryFunctionsState.treeData && (_jsx(QueryBuilderPackableElementExplorerTree, { queryBuilderState: queryBuilderState, rootPackageName: ROOT_PACKAGE_NAME.MAIN, showDependencyFuncions: showDependencyFuncions })), showDependencyFuncions &&
151
- queryFunctionsState.dependencyTreeData &&
152
- queryFunctionsState.dependencyTreeData.rootIds.length !== 0 && (_jsx(QueryBuilderPackableElementExplorerTree, { queryBuilderState: queryBuilderState, rootPackageName: ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT, showDependencyFuncions: showDependencyFuncions }))] })), !viewAsTree && (_jsxs(_Fragment, { children: [queryFunctionsState.functionExplorerStates.map((funcExplorerState) => (_jsx(QueryBuilderFunctionsExplorerListEntry, { queryBuilderState: queryBuilderState, element: funcExplorerState.concreteFunctionDefinition, rootPackageName: ROOT_PACKAGE_NAME.MAIN }, funcExplorerState.uuid))), showDependencyFuncions &&
153
- queryFunctionsState.dependencyTreeData &&
154
- queryFunctionsState.dependencyTreeData.rootIds.length !== 0 && (_jsxs(_Fragment, { children: [queryFunctionsState.treeData?.rootIds.length !== 0 && (_jsx("div", { className: "query-builder__functions-explorer__separator" })), queryFunctionsState.dependencyFunctionExplorerStates.map((funcExplorerState) => (_jsx(QueryBuilderFunctionsExplorerListEntry, { queryBuilderState: queryBuilderState, element: funcExplorerState.concreteFunctionDefinition, rootPackageName: ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT }, funcExplorerState.uuid)))] }))] }))] })] }));
156
+ queryFunctionsState.dependencyFunctionExplorerStates.length !==
157
+ 0 && (_jsx(QueryBuilderPackableElementExplorerTree, { queryBuilderState: queryBuilderState, rootPackageName: ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT, showDependencyFuncions: showDependencyFuncions }))] })), !viewAsTree && (_jsxs(_Fragment, { children: [queryFunctionsState.functionExplorerStates.map((funcExplorerState) => (_jsx(QueryBuilderFunctionsExplorerListEntry, { element: funcExplorerState.functionAnalysisInfo }, funcExplorerState.uuid))), showDependencyFuncions &&
158
+ queryFunctionsState.dependencyFunctionExplorerStates.length >
159
+ 0 && (_jsxs(_Fragment, { children: [queryFunctionsState.treeData?.rootIds.length !== 0 && (_jsx("div", { className: "query-builder__functions-explorer__separator" })), queryFunctionsState.dependencyFunctionExplorerStates.map((funcExplorerState) => (_jsx(QueryBuilderFunctionsExplorerListEntry, { element: funcExplorerState.functionAnalysisInfo }, funcExplorerState.uuid)))] }))] }))] })] }));
155
160
  });
156
161
  //# sourceMappingURL=QueryBuilderFunctionsExplorerPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,qCAAqC,EACrC,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,EACrB,OAAO,EACP,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAE3F,MAAM,oBAAoB,GAAG,CAC3B,IAA+C,EACtC,EAAE,CACX,qBAAqB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,IAAI;IACnD,iBAAiB,CAAC,uBAAuB,CAAC;AAE5C,MAAM,+BAA+B,GAIhC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC/C,MAAM,aAAa,GAAG,OAAO,CAAC,YAAY;SACvC,MAAM,CACL,C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AAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,iBAAiB,CAAC,uBAAuB,EAC1D,sBAAsB,EAAE,sBAAsB,GAC9C,CACH,IACF,CACJ,EAEA,CAAC,UAAU,IAAI,CACd,8BACG,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAC7C,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EAAE,iBAAiB,CAAC,IAAI,IAHlC,iBAAiB,CAAC,IAAI,CAI3B,CACH,CACF,EACA,sBAAsB;gCACrB,mBAAmB,CAAC,kBAAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,8BACG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CACrD,cAAK,SAAS,EAAC,8CAA8C,GAAG,CACjE,EACA,mBAAmB,CAAC,gCAAgC,CAAC,GAAG,CACvD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EACb,iBAAiB,CAAC,uBAAuB,IAJtC,iBAAiB,CAAC,IAAI,CAM3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EA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AmB,CAAC,gCAAgC,CAAC,MAAM;oCACzD,CAAC,IAAI,CACL,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,iBAAiB,CAAC,uBAAuB,EAC1D,sBAAsB,EAAE,sBAAsB,GAC9C,CACH,IACF,CACJ,EAEA,CAAC,UAAU,IAAI,CACd,8BACG,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAC7C,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,OAAO,EAAE,iBAAiB,CAAC,oBAAoB,IAD1C,iBAAiB,CAAC,IAAI,CAE3B,CACH,CACF,EACA,sBAAsB;gCACrB,mBAAmB,CAAC,gCAAgC,CAAC,MAAM;oCACzD,CAAC,IAAI,CACL,8BACG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CACrD,cAAK,SAAS,EAAC,8CAA8C,GAAG,CACjE,EACA,mBAAmB,CAAC,gCAAgC,CAAC,GAAG,CACvD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,OAAO,EAAE,iBAAiB,CAAC,oBAAoB,IAD1C,iBAAiB,CAAC,IAAI,CAE3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,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;AAkFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA2mCrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAwc3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAknCrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CA8c3C,CAAC"}
@@ -25,7 +25,7 @@ import { QueryResultModifierModal } from './QueryBuilderResultModifierPanel.js';
25
25
  import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
26
26
  import { flowResult } from 'mobx';
27
27
  import { useApplicationStore } from '@finos/legend-application';
28
- import { generateFunctionCallString, LAMBDA_PIPE, VARIABLE_REFERENCE_TOKEN, AbstractPropertyExpression, PRIMITIVE_TYPE, Property, PropertyExplicitReference, VariableExpression, Multiplicity, PrimitiveType, GenericType, GenericTypeExplicitReference, observe_PrimitiveInstanceValue, PrimitiveInstanceValue, } from '@finos/legend-graph';
28
+ import { LAMBDA_PIPE, VARIABLE_REFERENCE_TOKEN, AbstractPropertyExpression, PRIMITIVE_TYPE, Property, PropertyExplicitReference, VariableExpression, Multiplicity, PrimitiveType, GenericType, GenericTypeExplicitReference, observe_PrimitiveInstanceValue, PrimitiveInstanceValue, generateFunctionCallStringFromFunctionAnalysisInfo, } from '@finos/legend-graph';
29
29
  import { QUERY_BUILDER_FUNCTION_DND_TYPE, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
30
30
  import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../stores/QueryBuilderConfig.js';
31
31
  import { InlineLambdaEditor } from '../shared/LambdaEditor.js';
@@ -86,8 +86,12 @@ const QueryBuilderDerivationProjectionColumnEditor = observer((props) => {
86
86
  projectionColumnState.derivationLambdaEditorState.setLambdaString(`${projectionColumnState.derivationLambdaEditorState.lambdaString}${VARIABLE_REFERENCE_TOKEN}${item.variable.name}`);
87
87
  }
88
88
  else if (type === QUERY_BUILDER_FUNCTION_DND_TYPE) {
89
- projectionColumnState.derivationLambdaEditorState.setLambdaString(`${projectionColumnState.derivationLambdaEditorState.lambdaString}${`${generateFunctionCallString(item.node
90
- .packageableElement)}`}`);
89
+ const functionAnalysisInfo = item.node.functionAnalysisInfo;
90
+ const functionPrettyName = functionAnalysisInfo
91
+ ? generateFunctionCallStringFromFunctionAnalysisInfo(projectionColumnState.tdsState.queryBuilderState
92
+ .graphManagerState.graph, functionAnalysisInfo)
93
+ : '';
94
+ projectionColumnState.derivationLambdaEditorState.setLambdaString(`${projectionColumnState.derivationLambdaEditorState.lambdaString}${functionPrettyName}`);
91
95
  }
92
96
  else {
93
97
  projectionColumnState.derivationLambdaEditorState.setLambdaString(projectionColumnState.derivationLambdaEditorState.lambdaString +
@@ -490,8 +494,11 @@ export const QueryBuilderTDSPanel = observer((props) => {
490
494
  switch (type) {
491
495
  case QUERY_BUILDER_FUNCTION_DND_TYPE: {
492
496
  const derivationProjectionColumn = new QueryBuilderDerivationProjectionColumnState(tdsState, tdsState.queryBuilderState.graphManagerState.graphManager.createDefaultBasicRawLambda({ addDummyParameter: true }));
493
- derivationProjectionColumn.derivationLambdaEditorState.setLambdaString(`${DEFAULT_LAMBDA_VARIABLE_NAME}${LAMBDA_PIPE}${generateFunctionCallString(item.node
494
- .packageableElement)}`);
497
+ const functionAnalysisInfo = item.node.functionAnalysisInfo;
498
+ const functionPrettyName = functionAnalysisInfo
499
+ ? generateFunctionCallStringFromFunctionAnalysisInfo(tdsState.queryBuilderState.graphManagerState.graph, functionAnalysisInfo)
500
+ : '';
501
+ derivationProjectionColumn.derivationLambdaEditorState.setLambdaString(`${DEFAULT_LAMBDA_VARIABLE_NAME}${LAMBDA_PIPE}${functionPrettyName} `);
495
502
  tdsState.addColumn(derivationProjectionColumn);
496
503
  break;
497
504
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;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BuilderTDSPanel.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,cAAc,EACd,SAAS,EACT,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,YAAY,EACZ,OAAO,EACP,cAAc,EACd,WAAW,EACX,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,+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,EACL,gCAAgC,EAChC,mCAAmC,GACpC,MAAM,4CAA4C,CAAC;AACpD,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,WAAW,EACX,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,QAAQ,EACR,yBAAyB,EACzB,kBAAkB,EAClB,YAA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AA+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"}
@@ -526,11 +526,11 @@ const QueryBuilderFilterConditionEditor = observer((props) => {
526
526
  useEffect(() => {
527
527
  node.setIsNewlyAdded(false);
528
528
  }, [node]);
529
- return (_jsx("div", { className: "dnd__entry__container", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT, children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver && !isFilterValueDragOver, alwaysShowChildren: true, children: _jsxs("div", { className: "query-builder-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__property", children: _jsx(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: node.condition.propertyExpressionState }) }), _jsxs(ControlledDropdownMenu, { className: "query-builder-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(node.condition) }, op.uuid))) }), menuProps: {
529
+ return (_jsx("div", { className: "dnd__entry__container", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT, children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver && !isFilterValueDragOver, alwaysShowChildren: true, children: _jsxs("div", { className: "query-builder-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__property", children: _jsx(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: node.condition.propertyExpressionState }) }), _jsxs(ControlledDropdownMenu, { className: "query-builder-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid))) }), menuProps: {
530
530
  anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
531
531
  transformOrigin: { vertical: 'top', horizontal: 'left' },
532
532
  elevation: 7,
533
- }, children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel(node.condition) }), _jsx("div", { className: "query-builder-filter-tree__condition-node__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), renderRightValue()] }) }) }));
533
+ }, children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel() }), _jsx("div", { className: "query-builder-filter-tree__condition-node__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), renderRightValue()] }) }) }));
534
534
  });
535
535
  const QueryBuilderFilterBlankConditionEditor = observer((props) => {
536
536
  const { isDragOver, isDroppable } = props;