@finos/legend-query-builder 4.14.71 → 4.14.73
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryLoader.d.ts.map +1 -1
- package/lib/components/QueryLoader.js +12 -34
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +108 -36
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +10 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +6 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +5 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +3 -1
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +5 -2
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +3 -0
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +92 -2
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderConfig.d.ts +2 -1
- package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConfig.js +2 -1
- package/lib/stores/QueryBuilderConfig.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +4 -1
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -0
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +8 -6
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +30 -7
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +4 -3
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +22 -7
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js +1 -1
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +7 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +160 -74
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +4 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +23 -12
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +9 -5
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +3 -3
- package/src/components/QueryLoader.tsx +37 -54
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +249 -226
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +24 -2
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +6 -2
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +10 -2
- package/src/components/filter/QueryBuilderFilterPanel.tsx +10 -1
- package/src/components/result/QueryBuilderResultPanel.tsx +3 -1
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +8 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +106 -1
- package/src/stores/QueryBuilderConfig.ts +2 -1
- package/src/stores/QueryBuilderResultState.ts +4 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +2 -1
- package/src/stores/QueryLoaderState.ts +43 -17
- package/src/stores/explorer/QueryBuilderExplorerState.ts +58 -5
- package/src/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.ts +1 -1
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +194 -92
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +43 -13
- package/src/stores/filter/QueryBuilderFilterState.ts +16 -7
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0CH,OAAO,EAGL,KAAK,gBAAgB,EAEtB,MAAM,+BAA+B,CAAC;AAiDvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CA2hBxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CAkDF,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
16
16
|
*/
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
18
18
|
import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
|
19
|
-
import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, ControlledDropdownMenu, MenuContent, MenuContentItem,
|
19
|
+
import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, ControlledDropdownMenu, MenuContent, MenuContentItem, PanelLoadingIndicator, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, UserIcon, LastModifiedIcon, MoreVerticalIcon, ThinChevronRightIcon, InfoCircleIcon, CustomSelectorInput, CubesLoadingIndicator, CubesLoadingIndicatorIcon, } from '@finos/legend-art';
|
20
20
|
import { debounce, formatDistanceToNow, guaranteeNonNullable, isNonNullable, quantifyList, } from '@finos/legend-shared';
|
21
21
|
import { flowResult } from 'mobx';
|
22
22
|
import { observer } from 'mobx-react-lite';
|
@@ -52,33 +52,6 @@ export const QueryLoader = observer((props) => {
|
|
52
52
|
: [])
|
53
53
|
.flat(),
|
54
54
|
].sort((a, b) => a.title.localeCompare(b.title));
|
55
|
-
const applySortBy = (queries, sortBy) => {
|
56
|
-
switch (sortBy) {
|
57
|
-
case SORT_BY_OPTIONS.SORT_BY_CREATE:
|
58
|
-
queries.sort((a, b) => {
|
59
|
-
const aCreateAt = a.createdAt ?? 0;
|
60
|
-
const bCreateAt = b.createdAt ?? 0;
|
61
|
-
return aCreateAt > bCreateAt ? -1 : 1;
|
62
|
-
});
|
63
|
-
return;
|
64
|
-
case SORT_BY_OPTIONS.SORT_BY_UPDATE:
|
65
|
-
queries.sort((a, b) => {
|
66
|
-
const aUpdateAt = a.lastUpdatedAt ?? 0;
|
67
|
-
const bUpdateAt = b.lastUpdatedAt ?? 0;
|
68
|
-
return aUpdateAt > bUpdateAt ? -1 : 1;
|
69
|
-
});
|
70
|
-
return;
|
71
|
-
case SORT_BY_OPTIONS.SORT_BY_VIEW:
|
72
|
-
queries.sort((a, b) => {
|
73
|
-
const aOpenAt = a.lastOpenAt ?? 0;
|
74
|
-
const bOpenAt = b.lastOpenAt ?? 0;
|
75
|
-
return aOpenAt > bOpenAt ? -1 : 1;
|
76
|
-
});
|
77
|
-
return;
|
78
|
-
default:
|
79
|
-
return;
|
80
|
-
}
|
81
|
-
};
|
82
55
|
const loadCuratedTemplateQuery = queryLoaderState.curatedTemplateQuerySepcifications
|
83
56
|
// already using an arrow function suggested by @typescript-eslint/unbound-method
|
84
57
|
// eslint-disable-next-line
|
@@ -122,6 +95,11 @@ export const QueryLoader = observer((props) => {
|
|
122
95
|
debouncedLoadQueries.cancel();
|
123
96
|
debouncedLoadQueries(queryLoaderState.searchText);
|
124
97
|
};
|
98
|
+
const applySortByAlgorithm = (option) => {
|
99
|
+
queryLoaderState.setSortBy(option.value);
|
100
|
+
debouncedLoadQueries.cancel();
|
101
|
+
debouncedLoadQueries(queryLoaderState.searchText);
|
102
|
+
};
|
125
103
|
const toggleExtraFilters = (key) => {
|
126
104
|
queryLoaderState.extraFilters.set(key, !queryLoaderState.extraFilters.get(key));
|
127
105
|
debouncedLoadQueries.cancel();
|
@@ -159,9 +137,6 @@ export const QueryLoader = observer((props) => {
|
|
159
137
|
flowResult(queryLoaderState.getPreviewQueryContent(queryId, template)).catch(applicationStore.alertUnhandledError);
|
160
138
|
queryLoaderState.setShowPreviewViewer(true);
|
161
139
|
};
|
162
|
-
useEffect(() => {
|
163
|
-
applySortBy(results, queryLoaderState.sortBy);
|
164
|
-
}, [queryLoaderState.sortBy, results]);
|
165
140
|
return (_jsxs("div", { className: "query-loader", children: [_jsxs("div", { className: "query-loader__header", children: [_jsx("div", { className: "query-loader__search", children: _jsxs("div", { className: "query-loader__search__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-loader__search__input input--dark', {
|
166
141
|
'query-loader__search__input--searching': queryLoaderState.searchText,
|
167
142
|
}), onChange: onSearchTextChange, value: queryLoaderState.searchText, placeholder: "Search for queries by name or ID" }), !queryLoaderState.searchText ? (_jsx("div", { className: "query-loader__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsx(_Fragment, { children: _jsx("button", { className: "query-loader__search__input__clear-btn", tabIndex: -1, onClick: clearQuerySearching, title: "Clear", children: _jsx(TimesIcon, {}) }) }))] }) }), _jsx("div", { className: "query-loader__filter", children: _jsxs("div", { className: "query-loader__filter__toggler", children: [_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
|
@@ -179,11 +154,14 @@ export const QueryLoader = observer((props) => {
|
|
179
154
|
queryLoaderState.renameQueryState.isInProgress ||
|
180
155
|
queryLoaderState.deleteQueryState.isInProgress ||
|
181
156
|
queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-loader__results__summary", children: [queryLoaderState.showingDefaultQueries ? ((queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches')) : !queryLoaderState.isCuratedTemplateToggled ? (results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`)) : curatedTemplateQueries.length >=
|
182
|
-
QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(curatedTemplateQueries, 'match', 'matches')}`),
|
157
|
+
QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(curatedTemplateQueries, 'match', 'matches')}`), queryLoaderState.canPerformAdvancedSearch(queryLoaderState.searchText) &&
|
158
|
+
!queryLoaderState.isCuratedTemplateToggled && (_jsxs("div", { className: "query-loader__results__sort-by", children: [_jsx("div", { className: "query-loader__results__sort-by__name", children: "Sort By" }), _jsx(CustomSelectorInput, { className: "query-loader__results__sort-by__selector", options: sortByOptions, onChange: (option) => {
|
159
|
+
applySortByAlgorithm(option);
|
160
|
+
}, value: {
|
183
161
|
label: queryLoaderState.sortBy,
|
184
162
|
value: queryLoaderState.sortBy,
|
185
163
|
}, darkMode: !applicationStore.layoutService
|
186
|
-
.TEMPORARY__isLightColorThemeEnabled })] })] }), !queryLoaderState.isCuratedTemplateToggled &&
|
164
|
+
.TEMPORARY__isLightColorThemeEnabled })] }))] }), !queryLoaderState.isCuratedTemplateToggled &&
|
187
165
|
results
|
188
166
|
.slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
|
189
167
|
.map((query, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => queryLoaderState.loadQuery(query), children: [_jsxs("div", { className: "query-loader__result__content", children: [showQueryNameEditInput === idx ? (_jsx("div", { className: "query-loader__result__title__editor", children: _jsx("input", { className: "query-loader__result__title__editor__input input--dark", spellCheck: false, ref: queryRenameInputRef, value: queryNameInputValue, onChange: changeQueryNameInputValue, onKeyDown: (event) => {
|
@@ -235,7 +213,7 @@ export const QueryLoader = observer((props) => {
|
|
235
213
|
horizontal: 'left',
|
236
214
|
},
|
237
215
|
elevation: 7,
|
238
|
-
}, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, templateQuery.title)))] })), !queryLoaderState.searchQueriesState.hasCompleted && (_jsx(
|
216
|
+
}, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, templateQuery.title)))] })), !queryLoaderState.searchQueriesState.hasCompleted && (_jsx(CubesLoadingIndicator, { isLoading: !queryLoaderState.searchQueriesState.hasCompleted, children: _jsx(CubesLoadingIndicatorIcon, {}) }))] }), queryLoaderState.showPreviewViewer &&
|
239
217
|
queryLoaderState.queryPreviewContent && (_jsx(QueryPreviewViewer, { queryLoaderState: queryLoaderState }))] })] }));
|
240
218
|
});
|
241
219
|
export const QueryLoaderDialog = observer((props) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAA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EAAC,oCAAoC,aACjD,KAAC,UAAU,IACT,SAAS,EAAC,qCAAqC,EAC/C,KAAK,EAAE,KAAK,GACZ,EACF,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,KAAK,YAEd,KAAC,SAAS,KAAG,GACN,IACL,EACN,cAAK,SAAS,EAAC,qCAAqC,YAClD,KAAC,WAAW,IACV,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,IAAI,KAAK,CAAC,WAAW,EAAE,GACvD,GACE,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertySearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderPropertySearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkDH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAW3E,eAAO,MAAM,4BAA4B,SACjC,MAAM,sBACQ,OAAO,KAC1B,MAauB,CAAC;AAE3B,eAAO,MAAM,4BAA4B,SACjC,MAAM,sBACQ,OAAO,KAC1B,MA4BF,CAAC;AAEF,eAAO,MAAM,gCAAgC,gBAC9B,MAAM,cACP,MAAM,aACP,MAAM,MACb,MAAM,KACT,KAAK,CAAC,SA6FR,CAAC;AAmVF,eAAO,MAAM,+BAA+B,WAClC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;;CA0TF,CAAC"}
|
@@ -14,6 +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 { useState } from 'react';
|
17
18
|
import { clsx, CheckSquareIcon, SquareIcon, BasePopover, ResizablePanelSplitter, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitterLine, InfoCircleIcon, useDragPreviewLayer, PanelLoadingIndicator, BlankPanelContent, ChevronDownIcon, ChevronRightIcon, ShareBoxIcon, Tooltip, BaseRadioGroup, ClickAwayListener, } from '@finos/legend-art';
|
18
19
|
import { CORE_PURE_PATH, Class, ELEMENT_PATH_DELIMITER, Enumeration, PROPERTY_ACCESSOR, PURE_DOC_TAG, TYPE_CAST_TOKEN, getAllClassProperties, getAllOwnClassProperties, } from '@finos/legend-graph';
|
19
20
|
import { ADVANCED_FUZZY_SEARCH_MODE, guaranteeNonNullable, prettyCONSTName, } from '@finos/legend-shared';
|
@@ -126,6 +127,7 @@ const QueryBuilderTreeNodeViewer = observer((props) => {
|
|
126
127
|
item: () => node instanceof QueryBuilderExplorerTreePropertyNodeData
|
127
128
|
? { node }
|
128
129
|
: {},
|
130
|
+
canDrag: () => !(node.type instanceof Class),
|
129
131
|
collect: (monitor) => ({
|
130
132
|
isDragging: monitor.isDragging(),
|
131
133
|
}),
|
@@ -159,9 +161,11 @@ const QueryBuilderTreeNodeViewer = observer((props) => {
|
|
159
161
|
};
|
160
162
|
const parentNode = propertySearchState.indexedExplorerTreeNodes.find((pn) => node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
161
163
|
node.parentId === pn.id);
|
162
|
-
const propertyName = parentNode instanceof
|
163
|
-
?
|
164
|
-
:
|
164
|
+
const propertyName = parentNode?.type instanceof Class && level > 1
|
165
|
+
? prettyCONSTName(node.label)
|
166
|
+
: parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
167
|
+
? prettyPropertyNameForSubType(node.id, true)
|
168
|
+
: prettyPropertyNameFromNodeId(node.id, true);
|
165
169
|
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
166
170
|
const docText = node instanceof QueryBuilderExplorerTreePropertyNodeData
|
167
171
|
? (node.property.taggedValues.find((taggedValue) => taggedValue.tag.ownerReference.value.path ===
|
@@ -171,13 +175,30 @@ const QueryBuilderTreeNodeViewer = observer((props) => {
|
|
171
175
|
const formattedDocText = docText !== null
|
172
176
|
? formatTextWithHighlightedMatches(docText, propertySearchState.searchText, QUERY_BUILDER_PROPERTY_SEARCH_DOC_TEXT_CLASS, `${node.id}_doc`)
|
173
177
|
: null;
|
178
|
+
const isMultiple = propertySearchState.isNodeMultiple(node);
|
174
179
|
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__container query-builder-property-search-panel__node__container", ref: dragConnector, style: {
|
175
180
|
paddingLeft: `${(level - 1) * stepPaddingInRem + 0.5}rem`,
|
176
181
|
display: 'flex',
|
177
182
|
}, onClick: () => node.setIsOpen(!node.isOpen),
|
178
183
|
// Temporarily hide away the panel when we drag-and-drop the properties
|
179
|
-
onDrag: () => propertySearchState.setIsSearchPanelHidden(true), onDragEnd: () => propertySearchState.setIsSearchPanelHidden(false), children: [_jsxs("div", { className: "tree-view__node__icon query-builder-property-search-panel__node__icon", children: [_jsx("div", { className: "query-builder-property-search-panel__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-property-search-panel__type-icon", children: renderPropertyTypeIcon(node.type) })] }), _jsxs("div", { className: "query-builder-property-search-panel__node__content", children: [
|
180
|
-
getChildrenNodes()
|
184
|
+
onDrag: () => propertySearchState.setIsSearchPanelHidden(true), onDragEnd: () => propertySearchState.setIsSearchPanelHidden(false), children: [_jsxs("div", { className: "tree-view__node__icon query-builder-property-search-panel__node__icon", children: [_jsx("div", { className: "query-builder-property-search-panel__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-property-search-panel__type-icon", children: renderPropertyTypeIcon(node.type) })] }), _jsxs("div", { className: "query-builder-property-search-panel__node__content", children: [_jsxs("div", { className: "tree-view__node__label query-builder-property-search-panel__node__label", children: [formatTextWithHighlightedMatches(propertyName, propertySearchState.searchText, QUERY_BUILDER_PROPERTY_SEARCH_LABEL_TEXT_CLASS, node.id), isMultiple && (_jsx("div", { className: "query-builder-explorer-tree__node__label__multiple", title: "Multiple values of this property can cause row explosion", children: "*" }))] }), _jsx("div", { className: "tree-view__node__label query-builder-property-search-panel__node__doc", children: formattedDocText })] }), _jsxs("div", { className: "query-builder-property-search-panel__node__actions", children: [node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderPropertyInfoTooltip, { title: propertyName, property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsx("div", { title: "Property info", className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { onClick: handleHighlightNode, title: "Show in tree", className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__highlight", children: _jsx(ShareBoxIcon, {}) })] })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { title: "Property info", className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { onClick: handleHighlightNode, title: "Show in tree", className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__highlight", children: _jsx(ShareBoxIcon, {}) })] }))] })] }), node.isOpen &&
|
185
|
+
getChildrenNodes()
|
186
|
+
.filter((childNode) => propertySearchState.isNodeIncludedInFilter(childNode))
|
187
|
+
.sort((nodeA, nodeB) => nodeA.label.localeCompare(nodeB.label))
|
188
|
+
.map((childNode) => (_jsx(QueryBuilderTreeNodeViewer, { node: childNode, queryBuilderState: queryBuilderState, level: level + 1, stepPaddingInRem: 2, explorerState: queryBuilderState.explorerState }, `${node.id}>${childNode.id}`)))] }));
|
189
|
+
});
|
190
|
+
const QueryBuilderSearchConfigToggleButton = observer((props) => {
|
191
|
+
const { label, enabled, onClick, showOnlyButton, onOnlyButtonClick } = props;
|
192
|
+
const [isMouseOver, setIsMouseOver] = useState(false);
|
193
|
+
return (_jsxs("div", { className: "query-builder-property-search-panel__form__section__toggler__btn__container", onMouseEnter: () => setIsMouseOver(true), onMouseLeave: () => setIsMouseOver(false), children: [_jsxs("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
|
194
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled': enabled,
|
195
|
+
}), onClick: onClick, tabIndex: -1, children: [enabled ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: label })] }), showOnlyButton && isMouseOver && (_jsx("button", { className: "query-builder-property-search-panel__form__section__toggler__only-btn", onClick: onOnlyButtonClick, children: "only" }))] }));
|
196
|
+
});
|
197
|
+
const QueryBuilderSearchConfigToggleButtonGroup = observer((props) => {
|
198
|
+
const { header, headerTooltipText, buttons } = props;
|
199
|
+
return (_jsxs("div", { className: "query-builder-property-search-panel__form__section", children: [_jsxs("div", { className: "query-builder-property-search-panel__form__section__header__label", children: [header, headerTooltipText && (_jsx(Tooltip, { TransitionProps: {
|
200
|
+
timeout: 0,
|
201
|
+
}, title: _jsx("div", { children: headerTooltipText }), children: _jsx("div", { className: "query-builder-property-search-panel__tagged-values__tooltip", children: _jsx(InfoCircleIcon, {}) }) }))] }), buttons.map(({ label, enabled, onClick, onOnlyButtonClick }) => (_jsx(QueryBuilderSearchConfigToggleButton, { label: label, enabled: enabled, onClick: onClick, showOnlyButton: buttons.length > 1, onOnlyButtonClick: onOnlyButtonClick }, label)))] }));
|
181
202
|
});
|
182
203
|
export const QueryBuilderPropertySearchPanel = observer((props) => {
|
183
204
|
const { queryBuilderState, triggerElement, clearSearch } = props;
|
@@ -229,37 +250,88 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
|
|
229
250
|
ADVANCED_FUZZY_SEARCH_MODE.INCLUDE,
|
230
251
|
ADVANCED_FUZZY_SEARCH_MODE.EXACT,
|
231
252
|
ADVANCED_FUZZY_SEARCH_MODE.INVERSE,
|
232
|
-
], size: 1 }) })] }),
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
253
|
+
], size: 1 }) })] }), _jsx(QueryBuilderSearchConfigToggleButtonGroup, { header: "One-Many rows", buttons: [
|
254
|
+
{
|
255
|
+
label: 'Include',
|
256
|
+
enabled: propertySearchState.includeOneMany,
|
257
|
+
onClick: () => propertySearchState.setIncludeOneMany(!propertySearchState.includeOneMany),
|
258
|
+
},
|
259
|
+
] }), _jsx(QueryBuilderSearchConfigToggleButtonGroup, { header: "Documentation", headerTooltipText: `Include "doc" type tagged values in search results`, buttons: [
|
260
|
+
{
|
261
|
+
label: 'Include',
|
262
|
+
enabled: propertySearchState.searchConfigurationState
|
263
|
+
.includeDocumentation,
|
264
|
+
onClick: handleToggleIncludeDocumentation,
|
265
|
+
},
|
266
|
+
] }), _jsx(QueryBuilderSearchConfigToggleButtonGroup, { header: "Sub-types", buttons: [
|
267
|
+
{
|
268
|
+
label: 'Include',
|
269
|
+
enabled: propertySearchState.searchConfigurationState
|
270
|
+
.includeSubTypes,
|
271
|
+
onClick: handleToggleIncludeSubTypes,
|
272
|
+
},
|
273
|
+
] }), _jsx(QueryBuilderSearchConfigToggleButtonGroup, { header: "By type", buttons: [
|
274
|
+
{
|
275
|
+
label: 'Class',
|
276
|
+
enabled: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS),
|
277
|
+
onClick: () => {
|
278
|
+
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS);
|
279
|
+
},
|
280
|
+
onOnlyButtonClick: () => {
|
281
|
+
propertySearchState.setFilterOnlyType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS);
|
282
|
+
},
|
283
|
+
},
|
284
|
+
{
|
285
|
+
label: 'Enumeration',
|
286
|
+
enabled: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.ENUMERATION),
|
287
|
+
onClick: () => {
|
288
|
+
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.ENUMERATION);
|
289
|
+
},
|
290
|
+
onOnlyButtonClick: () => {
|
291
|
+
propertySearchState.setFilterOnlyType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.ENUMERATION);
|
292
|
+
},
|
293
|
+
},
|
294
|
+
{
|
295
|
+
label: 'String',
|
296
|
+
enabled: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING),
|
297
|
+
onClick: () => {
|
298
|
+
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING);
|
299
|
+
},
|
300
|
+
onOnlyButtonClick: () => {
|
301
|
+
propertySearchState.setFilterOnlyType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING);
|
302
|
+
},
|
303
|
+
},
|
304
|
+
{
|
305
|
+
label: 'Boolean',
|
306
|
+
enabled: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN),
|
307
|
+
onClick: () => {
|
308
|
+
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN);
|
309
|
+
},
|
310
|
+
onOnlyButtonClick: () => {
|
311
|
+
propertySearchState.setFilterOnlyType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN);
|
312
|
+
},
|
313
|
+
},
|
314
|
+
{
|
315
|
+
label: 'Number',
|
316
|
+
enabled: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER),
|
317
|
+
onClick: () => {
|
318
|
+
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER);
|
319
|
+
},
|
320
|
+
onOnlyButtonClick: () => {
|
321
|
+
propertySearchState.setFilterOnlyType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER);
|
322
|
+
},
|
323
|
+
},
|
324
|
+
{
|
325
|
+
label: 'Date',
|
326
|
+
enabled: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE),
|
327
|
+
onClick: () => {
|
328
|
+
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE);
|
329
|
+
},
|
330
|
+
onOnlyButtonClick: () => {
|
331
|
+
propertySearchState.setFilterOnlyType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE);
|
332
|
+
},
|
333
|
+
},
|
334
|
+
] })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsxs(ResizablePanel, { children: [(propertySearchState.initializationState.isInProgress ||
|
263
335
|
propertySearchState.searchState.isInProgress) && (_jsx(PanelLoadingIndicator, { isLoading: true })), _jsxs("div", { className: "query-builder-property-search-panel__results", children: [!propertySearchState.initializationState.isInProgress &&
|
264
336
|
!propertySearchState.searchState.isInProgress && (_jsxs(_Fragment, { children: [Boolean(propertySearchState.filteredSearchResults.length) &&
|
265
337
|
propertySearchState.filteredSearchResults.map((node) => (_jsx(QueryBuilderTreeNodeViewer, { node: node, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 0, explorerState: queryBuilderState.explorerState }, node.id))), !propertySearchState.filteredSearchResults.length &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,KAAK,EACL,sBAAsB,EACtB,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,EACvC,oCAAoC,EACpC,+BAA+B,GAEhC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,wCAAwC,EACxC,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OA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EACR,gBAAgB,EAAE,CAAC,EACnB,aAAa,EACX,iBAAiB,CAAC,aAAa,IAN5B,IAAI,CAAC,EAAE,CAQZ,CACH,CACF,EACF,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,MAAM;wDAChD,mBAAmB,CAAC,UAAU,IAAI,CAChC,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,+DAA+D,0BAExE,EACN,cAAK,SAAS,EAAC,+DAA+D,6GAIxE,IACY,CACrB,IACF,CACJ,EACF,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,IAAI,CACvD,KAAC,iBAAiB,kCAAoC,CACvD,EACA,mBAAmB,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,KAAC,iBAAiB,+BAAiC,CACpD,IACG,IACS,IACG,GAClB,GACF,GACY,GACR,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,KAAK,EACL,sBAAsB,EACtB,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,O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AAY,CAAC,IAAI,CACjD,KAAC,qBAAqB,IAAC,SAAS,EAAE,IAAI,GAAI,CAC3C,EACD,eAAK,SAAS,EAAC,8CAA8C,aAC1D,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY;gDACpD,CAAC,mBAAmB,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,8BACG,OAAO,CACN,mBAAmB,CAAC,qBAAqB,CAAC,MAAM,CACjD;wDACC,mBAAmB,CAAC,qBAAqB,CAAC,GAAG,CAC3C,CAAC,IAAI,EAAE,EAAE,CAAC,CACR,KAAC,0BAA0B,IAEzB,IAAI,EAAE,IAAI,EACV,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,CAAC,EACR,gBAAgB,EAAE,CAAC,EACnB,aAAa,EACX,iBAAiB,CAAC,aAAa,IAN5B,IAAI,CAAC,EAAE,CAQZ,CACH,CACF,EACF,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,MAAM;wDAChD,mBAAmB,CAAC,UAAU,IAAI,CAChC,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,+DAA+D,0BAExE,EACN,cAAK,SAAS,EAAC,+DAA+D,6GAIxE,IACY,CACrB,IACF,CACJ,EACF,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,IAAI,CACvD,KAAC,iBAAiB,kCAAoC,CACvD,EACA,mBAAmB,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,KAAC,iBAAiB,+BAAiC,CACpD,IACG,IACS,IACG,GAClB,GACF,GACY,GACR,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4EH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkB3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAWjH,eAAO,MAAM,6BAA6B,UAGzC,CAAC;AAEF,eAAO,MAAM,mCAAmC,UAI/C,CAAC;AAEF,eAAO,MAAM,oCAAoC,UAIhD,CAAC;AA8FF,eAAO,MAAM,uBAAuB,WAC1B;IACN,QAAQ,EAAE,0BAA0B,CAAC;IACrC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;;CA+CF,CAAC;AAw6BF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA+BjD,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
16
16
|
*/
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
18
18
|
import { BlankPanelPlaceholder, CaretDownIcon, clsx, ContextMenu, ControlledDropdownMenu, MenuContent, MenuContentItem, TimesIcon, PlusIcon, ExpandIcon, CompressIcon, CircleIcon, TrashIcon, NewFolderIcon, PlusCircleIcon, InfoCircleIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, BlankPanelContent, PanelContent, MoreVerticalIcon, MenuContentItemIcon, MenuContentItemLabel, PanelLoadingIndicator, RefreshIcon, } from '@finos/legend-art';
|
19
|
-
import { Class, Enumeration, PrimitiveType, } from '@finos/legend-graph';
|
19
|
+
import { Class, Enumeration, PrimitiveType, VariableExpression, } from '@finos/legend-graph';
|
20
20
|
import { assertErrorThrown, guaranteeNonNullable, debounce, } from '@finos/legend-shared';
|
21
21
|
import { flowResult } from 'mobx';
|
22
22
|
import { observer } from 'mobx-react-lite';
|
@@ -166,13 +166,20 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
166
166
|
const renderRightVal = () => {
|
167
167
|
if (rightConditionValue instanceof PostFilterValueSpecConditionValueState &&
|
168
168
|
rightConditionValue.value) {
|
169
|
-
|
169
|
+
const isInvalidVariable = rightConditionValue.value instanceof VariableExpression &&
|
170
|
+
node.condition.postFilterState.isInvalidValueSpecPostFilterValue(node);
|
171
|
+
return (_jsx("div", { ref: dropConnector, className: clsx('query-builder-post-filter-tree__condition-node__value', {
|
172
|
+
'query-builder-post-filter-tree__condition-node__value--error': isInvalidVariable,
|
173
|
+
}), children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx(EditableBasicValueSpecificationEditor, { valueSpecification: rightConditionValue.value, setValueSpecification: changeValueSpecification, graph: graph, observerContext: queryBuilderState.observerContext, typeCheckOption: {
|
170
174
|
expectedType: guaranteeNonNullable(node.condition.leftConditionValue.getColumnType()),
|
171
175
|
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(rightConditionValue.value), initializeAsEditable: node.isNewlyAdded }) }) }));
|
172
176
|
}
|
173
177
|
else if (rightConditionValue instanceof
|
174
178
|
PostFilterTDSColumnValueConditionValueState) {
|
175
|
-
|
179
|
+
const isInvalidTDSColumn = node.condition.postFilterState.isInvalidTDSColumnPostFilterValue(node);
|
180
|
+
return (_jsx("div", { ref: dropConnector, className: clsx('query-builder-post-filter-tree__condition-node__value', {
|
181
|
+
'query-builder-post-filter-tree__condition-node__value--error': isInvalidTDSColumn,
|
182
|
+
}), children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx(QueryBuilderColumnBadge, { colState: rightConditionValue.tdsColumn, removeColumn: removeTDSColumnValue }) }) }));
|
176
183
|
}
|
177
184
|
return null;
|
178
185
|
};
|