@finos/legend-query-builder 4.14.9 → 4.14.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/lib/__lib__/QueryBuilderEvent.d.ts +2 -1
  2. package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderEvent.js +1 -0
  4. package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
  5. package/lib/__lib__/QueryBuilderTesting.d.ts +3 -1
  6. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderTesting.js +3 -0
  8. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  9. package/lib/components/QueryBuilder.d.ts.map +1 -1
  10. package/lib/components/QueryBuilder.js +45 -27
  11. package/lib/components/QueryBuilder.js.map +1 -1
  12. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  13. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +86 -44
  14. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  15. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  16. package/lib/components/shared/LambdaEditor.js +10 -5
  17. package/lib/components/shared/LambdaEditor.js.map +1 -1
  18. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  19. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +12 -11
  20. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  21. package/lib/index.css +2 -2
  22. package/lib/index.css.map +1 -1
  23. package/lib/package.json +1 -1
  24. package/lib/stores/QueryBuilderChangeHistoryState.d.ts +35 -0
  25. package/lib/stores/QueryBuilderChangeHistoryState.d.ts.map +1 -0
  26. package/lib/stores/QueryBuilderChangeHistoryState.js +106 -0
  27. package/lib/stores/QueryBuilderChangeHistoryState.js.map +1 -0
  28. package/lib/stores/QueryBuilderState.d.ts +2 -0
  29. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  30. package/lib/stores/QueryBuilderState.js +6 -0
  31. package/lib/stores/QueryBuilderState.js.map +1 -1
  32. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts +2 -2
  33. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -1
  34. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +7 -7
  35. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  36. package/package.json +5 -5
  37. package/src/__lib__/QueryBuilderEvent.ts +2 -0
  38. package/src/__lib__/QueryBuilderTesting.ts +3 -0
  39. package/src/components/QueryBuilder.tsx +41 -0
  40. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +174 -94
  41. package/src/components/shared/LambdaEditor.tsx +10 -8
  42. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +81 -65
  43. package/src/stores/QueryBuilderChangeHistoryState.ts +129 -0
  44. package/src/stores/QueryBuilderState.ts +6 -0
  45. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +7 -12
  46. package/tsconfig.json +1 -0
@@ -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,e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AAC,IAAI,CAsB3B,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,CAAC,KAA4B,EAAE,EAAE;IACpE,MAAM,EACJ,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,SAAS,EACT,aAAa,GACd,GAAG,KAAK,CAAC;IACV,MAAM,gCAAgC,GAAG,OAAO,CAC9C,GAAG,EAAE,CACH,QAAQ;QACN,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,QAAQ,CACN,GAAG,EAAE,CAAC,iBAAiB,CAAC,kCAAkC,EAAE,EAC5D,IAAI,CACL,EACP,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAC9B,CAAC;IACF,OAAO,CACL,KAAC,kBAAkB,IAEjB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,gCAAgC,EACzD,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,IAAI,EACtB,cAAc,EAAE,IAAI,EACpB,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,IAAI,IAXb,iBAAiB,CAAC,IAAI,CAY3B,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -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,EAEtB,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,eAA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AAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACvD,CAgGA,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ShareBoxIcon, Tooltip, } from '@finos/legend-art';
17
+ import { ShareBoxIcon, Tooltip, ClickAwayListener, } from '@finos/legend-art';
18
18
  import { DerivedProperty, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
19
19
  import { useState } from 'react';
20
20
  export const QueryBuilderTaggedValueInfoTooltip = (props) => {
@@ -40,15 +40,16 @@ export const QueryBuilderTaggedValueInfoTooltip = (props) => {
40
40
  };
41
41
  export const QueryBuilderPropertyInfoTooltip = (props) => {
42
42
  const { title, property, path, isMapped, children, placement, type, explorerState, } = props;
43
- return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
44
- tooltip: 'query-builder__tooltip',
45
- arrow: 'query-builder__tooltip__arrow',
46
- tooltipPlacementRight: 'query-builder__tooltip--right',
47
- }, TransitionProps: {
48
- // disable transition
49
- // NOTE: somehow, this is the only workaround we have, if for example
50
- // we set `appear = true`, the tooltip will jump out of position
51
- timeout: 0,
52
- }, 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: children }));
43
+ const [open, setIsOpen] = useState(false);
44
+ return (_jsx(ClickAwayListener, { onClickAway: () => setIsOpen(false), children: _jsx("div", { children: _jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
45
+ tooltip: 'query-builder__tooltip',
46
+ arrow: 'query-builder__tooltip__arrow',
47
+ tooltipPlacementRight: 'query-builder__tooltip--right',
48
+ }, open: open, onClose: () => setIsOpen(false), TransitionProps: {
49
+ // disable transition
50
+ // NOTE: somehow, this is the only workaround we have, if for example
51
+ // we set `appear = true`, the tooltip will jump out of position
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
54
  };
54
55
  //# 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,GACR,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,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AC,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,uBAAa,EACjE,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,YAGP,QAAQ,GACD,CACX,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;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,GAA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