@finos/legend-query-builder 4.14.10 → 4.14.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/lib/__lib__/QueryBuilderTesting.d.ts +3 -1
  2. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderTesting.js +3 -0
  4. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  6. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +91 -44
  7. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  8. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  9. package/lib/components/shared/LambdaEditor.js +10 -5
  10. package/lib/components/shared/LambdaEditor.js.map +1 -1
  11. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  12. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +12 -11
  13. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  14. package/lib/index.css +2 -2
  15. package/lib/index.css.map +1 -1
  16. package/lib/package.json +1 -1
  17. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts +2 -2
  18. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -1
  19. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +7 -7
  20. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  21. package/package.json +5 -5
  22. package/src/__lib__/QueryBuilderTesting.ts +3 -0
  23. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +185 -94
  24. package/src/components/shared/LambdaEditor.tsx +10 -8
  25. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +81 -65
  26. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +7 -12
@@ -39,6 +39,8 @@ export declare enum QUERY_BUILDER_TEST_ID {
39
39
  QUERY_BUILDER_RESULT_VALUES_TDS = "QUERY_BUILDER_RESULT_VALUES_TDS",
40
40
  QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
41
41
  QUERY_BUILDER_RESULT_PANEL = "query__builder__result__panel",
42
- QUERY_BUILDER_RESULT_ANALYTICS = "query__builder__result__analytics"
42
+ QUERY_BUILDER_RESULT_ANALYTICS = "query__builder__result__analytics",
43
+ QUERY_BUILDER_RESULT_MODIFIER_PANEL = "query__builder__result__modifier__panel",
44
+ QUERY_BUILDER_RESULT_MODIFIER_PANEL_SORT_REMOVE_BTN = "query__builder__projection__options__sort__remove-btn"
43
45
  }
44
46
  //# sourceMappingURL=QueryBuilderTesting.d.ts.map
@@ -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,mBAAmB,0BAA0B;IAC7C,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qDAAqD;IAEnG,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;IACpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;CACrE"}
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,mBAAmB,0BAA0B;IAC7C,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qDAAqD;IAEnG,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;IACpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IAEpE,mCAAmC,4CAA4C;IAC/E,mDAAmD,0DAA0D;CAC9G"}
@@ -44,5 +44,8 @@ export var QUERY_BUILDER_TEST_ID;
44
44
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
45
45
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_PANEL"] = "query__builder__result__panel";
46
46
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_ANALYTICS"] = "query__builder__result__analytics";
47
+ // result modifier panel
48
+ QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_MODIFIER_PANEL"] = "query__builder__result__modifier__panel";
49
+ QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_MODIFIER_PANEL_SORT_REMOVE_BTN"] = "query__builder__projection__options__sort__remove-btn";
47
50
  })(QUERY_BUILDER_TEST_ID || (QUERY_BUILDER_TEST_ID = {}));
48
51
  //# sourceMappingURL=QueryBuilderTesting.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBA+BX;AA/BD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,8FAAqE,CAAA;IACrE,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,wHAA+F,CAAA;IAC/F,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;IACpD,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;AACtE,CAAC,EA/BW,qBAAqB,KAArB,qBAAqB,QA+BhC"}
1
+ {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAkCX;AAlCD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,8FAAqE,CAAA;IACrE,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,wHAA+F,CAAA;IAC/F,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;IACpD,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,wBAAwB;IACxB,wGAA+E,CAAA;IAC/E,sIAA6G,CAAA;AAC/G,CAAC,EAlCW,qBAAqB,KAArB,qBAAqB,QAkChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAwJrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAmK3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAyLrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAwN3C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -15,16 +15,17 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, Dialog, CustomSelectorInput, CheckSquareIcon, SquareIcon, TimesIcon, Modal, ModalBody, ModalFooter, ModalHeader, SortIcon, DropdownMenu, MenuContent, MenuContentItem, ModalFooterButton, } from '@finos/legend-art';
18
+ import { clsx, Dialog, CustomSelectorInput, CheckSquareIcon, SquareIcon, TimesIcon, Modal, ModalBody, ModalFooter, ModalHeader, SortIcon, DropdownMenu, MenuContent, MenuContentItem, ModalFooterButton, InputWithInlineValidation, } from '@finos/legend-art';
19
19
  import { SortColumnState } from '../../stores/fetch-structure/tds/QueryResultSetModifierState.js';
20
- import { guaranteeNonNullable } from '@finos/legend-shared';
20
+ import { addUniqueEntry, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
21
21
  import { useApplicationStore } from '@finos/legend-application';
22
22
  import { COLUMN_SORT_TYPE } from '../../graph/QueryBuilderMetaModelConst.js';
23
+ import { useEffect, useState } from 'react';
24
+ import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
23
25
  const ColumnSortEditor = observer((props) => {
24
- const { tdsState, sortState } = props;
26
+ const { sortColumns, setSortColumns, sortState, tdsColumns } = props;
25
27
  const applicationStore = useApplicationStore();
26
- const sortColumns = tdsState.resultSetModifierState.sortColumns;
27
- const projectionOptions = tdsState.tdsColumns
28
+ const projectionOptions = tdsColumns
28
29
  .filter((projectionCol) => projectionCol === sortState.columnState ||
29
30
  !sortColumns.some((sortCol) => sortCol.columnState === projectionCol))
30
31
  .map((projectionCol) => ({
@@ -35,13 +36,17 @@ const ColumnSortEditor = observer((props) => {
35
36
  label: sortState.columnState.columnName,
36
37
  value: sortState,
37
38
  };
39
+ const sortType = sortState.sortType;
38
40
  const onChange = (val) => {
39
41
  if (val !== null) {
40
42
  sortState.setColumnState(val.value);
41
43
  }
42
44
  };
43
- const sortType = sortState.sortType;
44
- const deleteColumnSort = () => tdsState.resultSetModifierState.deleteSortColumn(sortState);
45
+ const deleteColumnSort = () => {
46
+ const newSortColumns = [...sortColumns];
47
+ deleteEntry(newSortColumns, sortState);
48
+ setSortColumns(newSortColumns);
49
+ };
45
50
  const changeSortBy = (sortOp) => () => {
46
51
  sortState.setSortType(sortOp);
47
52
  };
@@ -50,13 +55,11 @@ const ColumnSortEditor = observer((props) => {
50
55
  anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
51
56
  transformOrigin: { vertical: 'top', horizontal: 'left' },
52
57
  elevation: 7,
53
- }, children: _jsx("div", { className: "query-builder__projection__options__sort__sortby--btn", tabIndex: -1, title: "Choose SortBy Operator...", children: _jsx(SortIcon, {}) }) }), _jsx("button", { className: "query-builder__projection__options__sort__remove-btn btn--dark btn--caution", onClick: deleteColumnSort, tabIndex: -1, title: "Remove", children: _jsx(TimesIcon, {}) })] }));
58
+ }, children: _jsx("div", { className: "query-builder__projection__options__sort__sortby--btn", tabIndex: -1, title: "Choose SortBy Operator...", children: _jsx(SortIcon, {}) }) }), _jsx("button", { className: "query-builder__projection__options__sort__remove-btn btn--dark btn--caution", onClick: deleteColumnSort, tabIndex: -1, title: "Remove", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL_SORT_REMOVE_BTN, children: _jsx(TimesIcon, {}) })] }));
54
59
  });
55
60
  const ColumnsSortEditor = observer((props) => {
56
- const { tdsState } = props;
57
- const resultSetModifierState = tdsState.resultSetModifierState;
58
- const sortColumns = resultSetModifierState.sortColumns;
59
- const projectionOptions = tdsState.projectionColumns
61
+ const { projectionColumns, sortColumns, setSortColumns, tdsColumns } = props;
62
+ const projectionOptions = projectionColumns
60
63
  .filter((projectionCol) => !sortColumns.some((sortCol) => sortCol.columnState === projectionCol))
61
64
  .map((projectionCol) => ({
62
65
  label: projectionCol.columnName,
@@ -65,54 +68,98 @@ const ColumnsSortEditor = observer((props) => {
65
68
  const addValue = () => {
66
69
  if (projectionOptions.length > 0) {
67
70
  const sortColumn = new SortColumnState(guaranteeNonNullable(projectionOptions[0]).value);
68
- resultSetModifierState.addSortColumn(sortColumn);
71
+ const newSortColumns = [...sortColumns];
72
+ addUniqueEntry(newSortColumns, sortColumn);
73
+ setSortColumns(newSortColumns);
69
74
  }
70
75
  };
71
- return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Sort and Order" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Choose the column(s) and order direction(s) that the results should be arranged by" }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsx("div", { className: "panel__content__form__section__list__items", children: sortColumns.map((value) => (_jsx(ColumnSortEditor, { tdsState: tdsState, sortState: value }, value.columnState.uuid))) }), _jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !projectionOptions.length, onClick: addValue, tabIndex: -1, children: "Add Value" }) })] })] }));
76
+ return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Sort and Order" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Choose the column(s) and order direction(s) that the results should be arranged by" }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsx("div", { className: "panel__content__form__section__list__items", children: sortColumns.map((value) => (_jsx(ColumnSortEditor, { sortColumns: sortColumns, setSortColumns: setSortColumns, sortState: value, tdsColumns: tdsColumns }, value.columnState.uuid))) }), _jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !projectionOptions.length, onClick: addValue, tabIndex: -1, children: "Add Value" }) })] })] }));
77
+ });
78
+ const cloneSortColumnStateArray = (sortColumns) => sortColumns.map((sortColumn) => {
79
+ const newSortColumn = new SortColumnState(sortColumn.columnState);
80
+ newSortColumn.setSortType(sortColumn.sortType);
81
+ return newSortColumn;
72
82
  });
73
83
  export const QueryResultModifierModal = observer((props) => {
74
- const { tdsState: tdsState } = props;
84
+ // Read current state
85
+ const { tdsState } = props;
75
86
  const resultSetModifierState = tdsState.resultSetModifierState;
76
- const limitResults = resultSetModifierState.limit;
77
- const distinct = resultSetModifierState.distinct;
78
- const close = () => resultSetModifierState.setShowModal(false);
79
- const toggleDistinct = () => resultSetModifierState.toggleDistinct();
80
- const changeValue = (event) => {
81
- const val = event.target.value;
82
- resultSetModifierState.setLimit(val === '' ? undefined : parseInt(val, 10));
83
- };
84
- const handleSliceStartChange = (start, end) => {
85
- const slice = [start, end];
86
- resultSetModifierState.setSlice(slice);
87
+ const stateSortColumns = resultSetModifierState.sortColumns;
88
+ const stateDistinct = resultSetModifierState.distinct;
89
+ const stateLimitResults = resultSetModifierState.limit;
90
+ const stateSlice = resultSetModifierState.slice;
91
+ // Set up temp state for modal lifecycle
92
+ const [sortColumns, setSortColumns] = useState(cloneSortColumnStateArray(stateSortColumns));
93
+ const [distinct, setDistinct] = useState(stateDistinct);
94
+ const [limitResults, setLimitResults] = useState(stateLimitResults);
95
+ const [slice, setSlice] = useState(stateSlice ?? [undefined, undefined]);
96
+ // Sync temp state with tdsState when modal is opened/closed
97
+ useEffect(() => {
98
+ setSortColumns(cloneSortColumnStateArray(stateSortColumns));
99
+ setDistinct(stateDistinct);
100
+ setLimitResults(stateLimitResults);
101
+ setSlice(stateSlice ?? [undefined, undefined]);
102
+ }, [
103
+ resultSetModifierState.showModal,
104
+ stateSortColumns,
105
+ stateDistinct,
106
+ stateLimitResults,
107
+ stateSlice,
108
+ ]);
109
+ // Handle user actions
110
+ const closeModal = () => resultSetModifierState.setShowModal(false);
111
+ const applyChanges = () => {
112
+ resultSetModifierState.setSortColumns(sortColumns);
113
+ resultSetModifierState.setDistinct(distinct);
114
+ resultSetModifierState.setLimit(limitResults);
115
+ if (slice[0] !== undefined && slice[1] !== undefined) {
116
+ resultSetModifierState.setSlice([slice[0], slice[1]]);
117
+ }
118
+ else {
119
+ resultSetModifierState.setSlice(undefined);
120
+ }
121
+ resultSetModifierState.setShowModal(false);
87
122
  };
88
- const clearSlice = () => {
89
- resultSetModifierState.setSlice(undefined);
123
+ const handleLimitResultsChange = (event) => {
124
+ const val = event.target.value.replace(/[^0-9]/g, '');
125
+ setLimitResults(val === '' ? undefined : parseInt(val, 10));
90
126
  };
91
- const addSlice = () => {
92
- resultSetModifierState.setSlice([0, 1]);
127
+ const handleSliceChange = (start, end) => {
128
+ const newSlice = [start, end];
129
+ setSlice(newSlice);
93
130
  };
94
131
  const changeSliceStart = (event) => {
95
- const currentSlice = resultSetModifierState.slice;
96
- const val = event.target.value;
97
- const start = typeof val === 'number' ? val : parseInt(val, 10);
98
- if (currentSlice) {
99
- handleSliceStartChange(start, currentSlice[1]);
132
+ const val = event.target.value.replace(/[^0-9]/g, '');
133
+ if (val === '') {
134
+ handleSliceChange(undefined, slice[1]);
135
+ }
136
+ else {
137
+ const start = typeof val === 'number' ? val : parseInt(val, 10);
138
+ handleSliceChange(start, slice[1]);
100
139
  }
101
140
  };
102
141
  const changeSliceEnd = (event) => {
103
- const currentSlice = resultSetModifierState.slice;
104
- const val = event.target.value;
105
- const end = typeof val === 'number' ? val : parseInt(val, 10);
106
- if (currentSlice) {
107
- handleSliceStartChange(currentSlice[0], end);
142
+ const val = event.target.value.replace(/[^0-9]/g, '');
143
+ if (val === '') {
144
+ handleSliceChange(slice[0], undefined);
145
+ }
146
+ else {
147
+ const end = typeof val === 'number' ? val : parseInt(val, 10);
148
+ handleSliceChange(slice[0], end);
108
149
  }
109
150
  };
110
- return (_jsx(Dialog, { open: Boolean(resultSetModifierState.showModal), onClose: close, classes: {
151
+ // Error states
152
+ const isInvalidSlice = (slice[0] === undefined && slice[1] !== undefined) ||
153
+ (slice[0] !== undefined && slice[1] === undefined) ||
154
+ (slice[0] !== undefined &&
155
+ slice[1] !== undefined &&
156
+ slice[0] >= slice[1]);
157
+ return (_jsx(Dialog, { open: Boolean(resultSetModifierState.showModal), onClose: closeModal, classes: {
111
158
  root: 'editor-modal__root-container',
112
159
  container: 'editor-modal__container',
113
160
  paper: 'editor-modal__content',
114
- }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Result Set Modifier" }), _jsx(ModalBody, { className: "query-builder__projection__modal__body", children: _jsxs("div", { className: "query-builder__projection__options", children: [_jsx(ColumnsSortEditor, { tdsState: tdsState }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Eliminate Duplicate Rows" }), _jsxs("div", { className: "panel__content__form__section__toggler", onClick: toggleDistinct, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
161
+ }, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children: _jsxs(Modal, { darkMode: true, className: "editor-modal query-builder__projection__modal", children: [_jsx(ModalHeader, { title: "Result Set Modifier" }), _jsx(ModalBody, { className: "query-builder__projection__modal__body", children: _jsxs("div", { className: "query-builder__projection__options", children: [_jsx(ColumnsSortEditor, { projectionColumns: tdsState.projectionColumns, sortColumns: sortColumns, setSortColumns: setSortColumns, tdsColumns: tdsState.tdsColumns }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Eliminate Duplicate Rows" }), _jsxs("div", { className: "panel__content__form__section__toggler", onClick: () => setDistinct(!distinct), children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
115
162
  'panel__content__form__section__toggler__btn--toggled': distinct,
116
- }), tabIndex: -1, children: distinct ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Remove duplicate rows from the results" })] })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Limit Results" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Specify the maximum total number of rows the output will produce" }), _jsx("input", { className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "number", value: limitResults ?? '', onChange: changeValue })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Slice" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Reduce the number of rows in the provided TDS, selecting the set of rows in the specified range between start and stop" }), resultSetModifierState.slice ? (_jsx(_Fragment, { children: _jsxs("div", { className: "query-builder__result__slice", children: [_jsx("input", { className: "input--dark query-builder__result__slice__input", spellCheck: false, value: resultSetModifierState.slice[0], onChange: changeSliceStart, type: "number" }), _jsx("div", { className: "query-builder__result__slice__range", children: ".." }), _jsx("input", { className: "input--dark query-builder__result__slice__input", spellCheck: false, value: resultSetModifierState.slice[1], onChange: changeSliceEnd, type: "number" }), _jsx("button", { className: "query-builder__projection__options__sort__remove-btn btn--dark btn--caution", onClick: clearSlice, tabIndex: -1, title: "Remove", children: _jsx(TimesIcon, {}) })] }) })) : (_jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", onClick: addSlice, tabIndex: -1, children: "Add Slice" }) }))] })] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
163
+ }), tabIndex: -1, children: distinct ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Remove duplicate rows from the results" })] })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("label", { htmlFor: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__header__label", children: "Limit Results" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Specify the maximum total number of rows the output will produce" }), _jsx("input", { id: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "text", value: limitResults ?? '', onChange: handleLimitResultsChange })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("label", { htmlFor: "query-builder__projection__modal__slice-start-input", className: "panel__content__form__section__header__label", children: "Slice" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Reduce the number of rows in the provided TDS, selecting the set of rows in the specified range between start and stop" }), _jsxs("div", { className: "query-builder__result__slice", children: [_jsx("div", { className: "query-builder__result__slice__input__wrapper", children: _jsx(InputWithInlineValidation, { id: "query-builder__projection__modal__slice-start-input", className: "input--dark query-builder__result__slice__input", spellCheck: false, value: slice[0] ?? '', onChange: changeSliceStart, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }) }), _jsx("div", { className: "query-builder__result__slice__range", children: ".." }), _jsx("div", { className: "query-builder__result__slice__input__wrapper", children: _jsx(InputWithInlineValidation, { className: "input--dark query-builder__result__slice__input", spellCheck: false, value: slice[1] ?? '', onChange: changeSliceEnd, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }) })] })] })] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { onClick: applyChanges, text: "Apply", disabled: isInvalidSlice }), _jsx(ModalFooterButton, { onClick: closeModal, text: "Cancel", type: "secondary" })] })] }) }));
117
164
  });
118
165
  //# sourceMappingURL=QueryBuilderResultModifierPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultModifierPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX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E,eAAK,SAAS,EAAC,8BAA8B,aAC3C,gBACE,SAAS,EAAC,iDAAiD,EAC3D,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,EACtC,QAAQ,EAAE,gBAAgB,EAC1B,IAAI,EAAC,QAAQ,GACb,EACF,cAAK,SAAS,EAAC,qCAAqC,mBAE9C,EACN,gBACE,SAAS,EAAC,iDAAiD,EAC3D,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,EACtC,QAAQ,EAAE,cAAc,EACxB,IAAI,EAAC,QAAQ,GACb,EACF,iBACE,SAAS,EAAC,6EAA6E,EACvF,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,QAAQ,YAEd,KAAC,SAAS,KAAG,GACN,IACL,GACL,CACJ,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,oDAAoD,YACjE,iBACE,SAAS,EAAC,sEAAsE,EAChF,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,CAAC,CAAC,0BAGL,GACL,CACP,IACG,IACF,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG,GACtC,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultModifierPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,WAAW,E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O,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;;;;;;;;;;OAaG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAEpB,qBAAqB,GAAG;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAChC,mBAAmB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IAClD,yBAAyB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC;;CAiGJ,CAAC;AAEF,eAAO,MAAM,YAAY,WAAoB,qBAAqB;;CAmChE,CAAC"}
@@ -56,6 +56,9 @@ const LambdaEditor_Inner = observer((props) => {
56
56
  transformLambdaToString(!isExpanded).catch(applicationStore.alertUnhandledError);
57
57
  setExpanded(!isExpanded);
58
58
  }
59
+ else if (!forceExpansion && parserError) {
60
+ setExpanded(!isExpanded);
61
+ }
59
62
  };
60
63
  useEffect(() => {
61
64
  if (!editor && textInputRef.current) {
@@ -231,7 +234,7 @@ const LambdaEditor_Inner = observer((props) => {
231
234
  'lambda-editor__editor__expected-return-type--highlighted': matchedExpectedType?.(),
232
235
  }), onClick: selectTypeLabel, tabIndex: -1, title: "Toggle highlight expected type", children: expectedType?.name ?? 'unknown' })), !onExpectedTypeLabelSelect && (_jsx("div", { className: clsx('lambda-editor__editor__expected-return-type', {
233
236
  'lambda-editor__editor__expected-return-type--highlighted': matchedExpectedType?.(),
234
- }), children: expectedType?.name ?? 'unknown' }))] })), !disableExpansion && !forceExpansion && (_jsx("button", { className: "lambda-editor__editor__expand-btn", onClick: toggleExpandedMode, disabled: Boolean(parserError), tabIndex: -1, title: "Toggle Expand", children: isExpanded ? _jsx(LongArrowAltUpIcon, {}) : _jsx(LongArrowAltDownIcon, {}) })), !disablePopUp && (_jsx("button", { className: "lambda-editor__action", onClick: openInPopUp, disabled: Boolean(parserError), tabIndex: -1, title: "Open in a popup...", children: _jsx(FilledWindowMaximizeIcon, {}) }))] }), !hideErrorBar && (_jsx(LambdaEditor_ErrorFeedback, { error: parserError ?? compilationError, discardChanges: discardChanges }))] }));
237
+ }), children: expectedType?.name ?? 'unknown' }))] })), !disableExpansion && !forceExpansion && (_jsx("button", { className: "lambda-editor__editor__expand-btn", onClick: toggleExpandedMode, tabIndex: -1, title: "Toggle Expand", children: isExpanded ? _jsx(LongArrowAltUpIcon, {}) : _jsx(LongArrowAltDownIcon, {}) })), !disablePopUp && (_jsx("button", { className: "lambda-editor__action", onClick: openInPopUp, tabIndex: -1, title: "Open in a popup...", children: _jsx(FilledWindowMaximizeIcon, {}) }))] }), !hideErrorBar && (_jsx(LambdaEditor_ErrorFeedback, { error: parserError ?? compilationError, discardChanges: discardChanges }))] }));
235
238
  });
236
239
  const LambdaEditor_PopUp = observer((props) => {
237
240
  const { className, disabled, lambdaEditorState, transformStringToLambda, title, onClose, } = props;
@@ -343,10 +346,12 @@ const LambdaEditor_PopUp = observer((props) => {
343
346
  }
344
347
  }
345
348
  useEffect(() => {
346
- flowResult(lambdaEditorState.convertLambdaObjectToGrammarString({
347
- pretty: true,
348
- preserveCompilationError: true,
349
- })).catch(applicationStore.alertUnhandledError);
349
+ if (!lambdaEditorState.parserError) {
350
+ flowResult(lambdaEditorState.convertLambdaObjectToGrammarString({
351
+ pretty: true,
352
+ preserveCompilationError: true,
353
+ })).catch(applicationStore.alertUnhandledError);
354
+ }
350
355
  }, [applicationStore, lambdaEditorState]);
351
356
  // dispose editor
352
357
  useEffect(() => () => {
@@ -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,GAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,MAAM,0BAA0B,GAG3B,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAExC,IAAI,CAAC,KAAK,EAAE;QACV,O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AkB,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,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,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACvD,CAiFA,CAAC"}
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,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,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,CACrD,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,KAAK,cAAc,CAAC,WAAW;QAChE,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,YAAY,CAAC;IACvC,MAAM,aAAa,GAAG,YAAY;SAC/B,MAAM,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,gBA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