@finos/legend-query-builder 4.14.58 → 4.14.60
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +3 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +33 -54
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +5 -2
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +37 -32
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +4 -2
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +3 -3
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +3 -3
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +10 -10
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +73 -116
- package/src/components/filter/QueryBuilderFilterPanel.tsx +43 -35
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +4 -2
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +3 -3
- package/src/stores/filter/QueryBuilderFilterState.ts +3 -3
@@ -13,13 +13,14 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type QueryBuilderProjectionColumnState } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
17
16
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
18
17
|
import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
|
18
|
+
export declare const CAN_DROP_MAIN_GROUP_DND_TYPES: string[];
|
19
|
+
export declare const CAN_DROP_POST_FILTER_NODE_DND_TYPES: string[];
|
20
|
+
export declare const CAN_DROP_POST_FILTER_VALUE_DND_TYPES: string[];
|
19
21
|
export declare const QueryBuilderColumnBadge: ((props: {
|
20
22
|
colState: QueryBuilderTDSColumnState;
|
21
23
|
removeColumn: () => void;
|
22
|
-
onColumnChange?: ((columnState: QueryBuilderProjectionColumnState) => Promise<void>) | undefined;
|
23
24
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
24
25
|
displayName: string;
|
25
26
|
};
|
@@ -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;AA0EH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkB3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAUjH,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;AA+4BF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA+BjD,CAAC"}
|
@@ -36,6 +36,20 @@ import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIss
|
|
36
36
|
import { QueryBuilderPostFilterOperator_In, QueryBuilderPostFilterOperator_NotIn, } from '../../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js';
|
37
37
|
import { QueryBuilderPropertyNameDisplay } from '../QueryBuilderPropertyExpressionEditor.js';
|
38
38
|
import { convertTextToPrimitiveInstanceValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
|
39
|
+
export const CAN_DROP_MAIN_GROUP_DND_TYPES = [
|
40
|
+
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
41
|
+
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
42
|
+
];
|
43
|
+
export const CAN_DROP_POST_FILTER_NODE_DND_TYPES = [
|
44
|
+
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
45
|
+
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
46
|
+
QUERY_BUILDER_POST_FILTER_DND_TYPE.CONDITION,
|
47
|
+
];
|
48
|
+
export const CAN_DROP_POST_FILTER_VALUE_DND_TYPES = [
|
49
|
+
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
50
|
+
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
51
|
+
QUERY_BUILDER_VARIABLE_DND_TYPE,
|
52
|
+
];
|
39
53
|
const QueryBuilderPostFilterConditionContextMenu = observer(forwardRef(function QueryBuilderPostFilterConditionContextMenu(props, ref) {
|
40
54
|
const { tdsState, node } = props;
|
41
55
|
const postFilterState = tdsState.postFilterState;
|
@@ -52,7 +66,7 @@ const QueryBuilderPostFilterConditionContextMenu = observer(forwardRef(function
|
|
52
66
|
return (_jsxs(MenuContent, { ref: ref, children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createCondition, children: "Add New Condition" })), node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createGroupCondition, children: "Add New Logical Group" })), node instanceof QueryBuilderPostFilterTreeConditionNodeData && (_jsx(MenuContentItem, { onClick: newGroupWithCondition, children: "Form a New Logical Group" })), _jsx(MenuContentItem, { onClick: removeNode, children: "Remove" })] }));
|
53
67
|
}));
|
54
68
|
const QueryBuilderPostFilterGroupConditionEditor = observer((props) => {
|
55
|
-
const { node, isDragOver, isDroppable
|
69
|
+
const { node, isDragOver, isDroppable } = props;
|
56
70
|
const switchOperation = (event) => {
|
57
71
|
event.stopPropagation(); // prevent triggering selecting the node
|
58
72
|
node.setGroupOperation(node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND
|
@@ -63,32 +77,13 @@ const QueryBuilderPostFilterGroupConditionEditor = observer((props) => {
|
|
63
77
|
return (_jsx("div", { className: "dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: operationName, className: "query-builder-post-filter-tree__group-node__drop-zone", children: _jsx("div", { className: "query-builder-post-filter-tree__group-node", title: "Switch Operation", onClick: switchOperation, children: _jsx("div", { className: "query-builder-post-filter-tree__group-node__label editable-value", children: node.groupOperation }) }) }) }));
|
64
78
|
});
|
65
79
|
export const QueryBuilderColumnBadge = observer((props) => {
|
66
|
-
const { colState,
|
67
|
-
const applicationStore = useApplicationStore();
|
80
|
+
const { colState, removeColumn } = props;
|
68
81
|
const type = colState.getColumnType();
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
75
|
-
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
76
|
-
],
|
77
|
-
drop: (item, monitor) => {
|
78
|
-
if (!monitor.didDrop()) {
|
79
|
-
handleDrop?.(item).catch(applicationStore.alertUnhandledError);
|
80
|
-
} // prevent drop event propagation to accomondate for nested DnD
|
81
|
-
},
|
82
|
-
collect: (monitor) => ({
|
83
|
-
isDragOver: monitor.isOver({ shallow: true }),
|
84
|
-
}),
|
85
|
-
}), [applicationStore, handleDrop]);
|
86
|
-
const renderColumnBadgeContent = () => (_jsxs("div", { className: "query-builder-column-badge__content", children: [type && (_jsx("div", { className: clsx('query-builder-column-badge__type', {
|
87
|
-
'query-builder-column-badge__type--class': type instanceof Class,
|
88
|
-
'query-builder-column-badge__type--enumeration': type instanceof Enumeration,
|
89
|
-
'query-builder-column-badge__type--primitive': type instanceof PrimitiveType,
|
90
|
-
}), children: renderPropertyTypeIcon(type) })), _jsx("div", { className: "query-builder-column-badge__property", title: `${colState.columnName}`, children: colState.columnName }), _jsx(QueryBuilderColumnInfoTooltip, { columnState: colState, placement: "bottom-end", children: _jsx("div", { className: "query-builder-column-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "query-builder-column-badge__action", name: "Reset", title: "Reset", onClick: removeColumn, children: _jsx(RefreshIcon, {}) })] }));
|
91
|
-
return onColumnChange ? (_jsx("div", { ref: dropConnector, className: "query-builder-column-badge", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Property", children: renderColumnBadgeContent() }) })) : (_jsx("div", { className: "query-builder-column-badge", children: renderColumnBadgeContent() }));
|
82
|
+
return (_jsx("div", { className: "query-builder-column-badge", children: _jsxs("div", { className: "query-builder-column-badge__content", children: [type && (_jsx("div", { className: clsx('query-builder-column-badge__type', {
|
83
|
+
'query-builder-column-badge__type--class': type instanceof Class,
|
84
|
+
'query-builder-column-badge__type--enumeration': type instanceof Enumeration,
|
85
|
+
'query-builder-column-badge__type--primitive': type instanceof PrimitiveType,
|
86
|
+
}), children: renderPropertyTypeIcon(type) })), _jsx("div", { className: "query-builder-column-badge__property", title: `${colState.columnName}`, children: colState.columnName }), _jsx(QueryBuilderColumnInfoTooltip, { columnState: colState, placement: "bottom-end", children: _jsx("div", { className: "query-builder-column-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "query-builder-column-badge__action", name: "Reset", title: "Reset", onClick: removeColumn, children: _jsx(RefreshIcon, {}) })] }) }));
|
92
87
|
});
|
93
88
|
const isProjectionColumnDragSource = (itemToTest) => Object.hasOwn(itemToTest, 'columnState');
|
94
89
|
const canDropItemOntoNodeValue = (item, condition) => {
|
@@ -128,10 +123,7 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
128
123
|
}
|
129
124
|
}, [applicationStore, node.condition]);
|
130
125
|
const [{ isFilterValueDragOver }, dropConnector] = useDrop(() => ({
|
131
|
-
accept:
|
132
|
-
QUERY_BUILDER_VARIABLE_DND_TYPE,
|
133
|
-
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
134
|
-
],
|
126
|
+
accept: CAN_DROP_POST_FILTER_VALUE_DND_TYPES,
|
135
127
|
canDrop: (item) => canDropItemOntoNodeValue(item, node.condition),
|
136
128
|
drop: (item, monitor) => {
|
137
129
|
if (!monitor.didDrop()) {
|
@@ -144,8 +136,7 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
144
136
|
}), [handleDrop]);
|
145
137
|
const { isFilterValueDroppable } = useDragLayer((monitor) => ({
|
146
138
|
isFilterValueDroppable: monitor.isDragging() &&
|
147
|
-
(monitor.getItemType()
|
148
|
-
monitor.getItemType() === QUERY_BUILDER_VARIABLE_DND_TYPE) &&
|
139
|
+
CAN_DROP_POST_FILTER_VALUE_DND_TYPES.includes(monitor.getItemType()?.toString() ?? '') &&
|
149
140
|
canDropItemOntoNodeValue(monitor.getItem(), node.condition),
|
150
141
|
}));
|
151
142
|
const resetNode = () => {
|
@@ -179,10 +170,7 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
179
170
|
}
|
180
171
|
else if (rightConditionValue instanceof
|
181
172
|
PostFilterTDSColumnValueConditionValueState) {
|
182
|
-
|
183
|
-
rightConditionValue.changeCol(columnState);
|
184
|
-
};
|
185
|
-
return (_jsx("div", { ref: dropConnector, className: "query-builder-post-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx(QueryBuilderColumnBadge, { colState: rightConditionValue.tdsColumn, onColumnChange: isFilterValueDroppable ? changeRightCol : undefined, removeColumn: removeTDSColumnValue }) }) }));
|
173
|
+
return (_jsx("div", { ref: dropConnector, className: "query-builder-post-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx(QueryBuilderColumnBadge, { colState: rightConditionValue.tdsColumn, removeColumn: removeTDSColumnValue }) }) }));
|
186
174
|
}
|
187
175
|
return null;
|
188
176
|
};
|
@@ -251,11 +239,7 @@ const QueryBuilderPostFilterTreeNodeContainer = observer((props) => {
|
|
251
239
|
}
|
252
240
|
}, [applicationStore, postFilterState, node]);
|
253
241
|
const [{ isDragOver, deepIsDragOver }, dropConnector] = useDrop(() => ({
|
254
|
-
accept:
|
255
|
-
...Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE),
|
256
|
-
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
257
|
-
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
258
|
-
],
|
242
|
+
accept: CAN_DROP_POST_FILTER_NODE_DND_TYPES,
|
259
243
|
drop: (item, monitor) => {
|
260
244
|
if (!monitor.didDrop()) {
|
261
245
|
handleDrop(item, monitor.getItemType());
|
@@ -281,25 +265,24 @@ const QueryBuilderPostFilterTreeNodeContainer = observer((props) => {
|
|
281
265
|
useDragPreviewLayer(dragPreviewConnector);
|
282
266
|
const { isDroppable } = useDragLayer((monitor) => ({
|
283
267
|
isDroppable: monitor.isDragging() &&
|
284
|
-
(monitor.getItemType()
|
285
|
-
monitor.getItemType() === QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE),
|
268
|
+
CAN_DROP_POST_FILTER_NODE_DND_TYPES.includes(monitor.getItemType()?.toString() ?? ''),
|
286
269
|
}));
|
287
270
|
// context menu
|
288
271
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
289
272
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
290
273
|
const showRemoveButton = node instanceof QueryBuilderPostFilterTreeConditionNodeData ||
|
291
274
|
node instanceof QueryBuilderPostFilterTreeBlankConditionNodeData;
|
292
|
-
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTAINER,
|
293
|
-
node instanceof QueryBuilderPostFilterTreeBlankConditionNodeData
|
294
|
-
? selectNode
|
295
|
-
: undefined, className: clsx('query-builder-post-filter-tree__node__container', {
|
275
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTAINER, className: clsx('query-builder-post-filter-tree__node__container', {
|
296
276
|
'query-builder-post-filter-tree__node__container--group': node instanceof QueryBuilderPostFilterTreeGroupNodeData,
|
297
277
|
'query-builder-post-filter-tree__node__container--condition': node instanceof QueryBuilderPostFilterTreeConditionNodeData ||
|
298
278
|
node instanceof QueryBuilderPostFilterTreeBlankConditionNodeData,
|
299
279
|
'query-builder-post-filter-tree__node__container--no-hover': postFilterState.isRearrangingConditions,
|
300
280
|
'query-builder-post-filter-tree__node__container--selected': node === postFilterState.selectedNode,
|
301
281
|
'query-builder-post-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
302
|
-
}), children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderPostFilterConditionContextMenu, { tdsState: tdsState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, className: "query-builder-post-filter-tree__node__context-menu", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTENT, className: "query-builder-post-filter-tree__node__content", ref: dragRef,
|
282
|
+
}), children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderPostFilterConditionContextMenu, { tdsState: tdsState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, className: "query-builder-post-filter-tree__node__context-menu", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTENT, className: "query-builder-post-filter-tree__node__content", ref: dragRef, onClick: node instanceof QueryBuilderPostFilterTreeConditionNodeData ||
|
283
|
+
node instanceof QueryBuilderPostFilterTreeBlankConditionNodeData
|
284
|
+
? selectNode
|
285
|
+
: undefined, children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(QueryBuilderPostFilterGroupConditionEditor, { node: node, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderPostFilterTreeConditionNodeData && (_jsx(QueryBuilderPostFilterConditionEditor, { node: node, isDragOver: deepIsDragOver })), node instanceof
|
303
286
|
QueryBuilderPostFilterTreeBlankConditionNodeData && (_jsx(QueryBuilderPostFilterBlankConditionEditor, { node: node, isDragOver: isDragOver, isDroppable: isDroppable }))] }), showRemoveButton && (_jsx("div", { className: "query-builder-post-filter-tree__node__actions", children: _jsx("button", { className: "query-builder-post-filter-tree__node__action", tabIndex: -1, title: "Remove", onClick: removeNode, children: _jsx(TimesIcon, {}) }) }))] }) }));
|
304
287
|
});
|
305
288
|
const QueryBuilderPostFilterTreeNodeView = observer((props) => {
|
@@ -367,8 +350,7 @@ const QueryBuilderPostFilterPanelContent = observer((props) => {
|
|
367
350
|
};
|
368
351
|
const { isDroppable } = useDragLayer((monitor) => ({
|
369
352
|
isDroppable: monitor.isDragging() &&
|
370
|
-
(monitor.getItemType()
|
371
|
-
monitor.getItemType() === QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE),
|
353
|
+
CAN_DROP_MAIN_GROUP_DND_TYPES.includes(monitor.getItemType()?.toString() ?? ''),
|
372
354
|
}));
|
373
355
|
// Drag and Drop
|
374
356
|
const handleDrop = useCallback(async (item) => {
|
@@ -396,10 +378,7 @@ const QueryBuilderPostFilterPanelContent = observer((props) => {
|
|
396
378
|
postFilterState.addNodeFromNode(new QueryBuilderPostFilterTreeConditionNodeData(undefined, postFilterConditionState, true), undefined);
|
397
379
|
}, [applicationStore, postFilterState, tdsState.aggregationState.columns]);
|
398
380
|
const [{ isDragOver }, dropTargetConnector] = useDrop(() => ({
|
399
|
-
accept:
|
400
|
-
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
401
|
-
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
402
|
-
],
|
381
|
+
accept: CAN_DROP_MAIN_GROUP_DND_TYPES,
|
403
382
|
drop: (item, monitor) => {
|
404
383
|
if (!monitor.didDrop()) {
|
405
384
|
handleDrop(item).catch(applicationStore.alertUnhandledError);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,qBAAqB,EACrB,aAAa,EACb,IAAI,EACJ,WAAW,EACX,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,cAAc,EACd,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,gBA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AAE,WAAW,EACxB,SAAS,EAAC,gDAAgD,EAC1D,KAAK,EAAC,+BAA+B,YAErC,mBAAK,GACyB,GAC5B,CACP,IACa,GACH,IACd,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,4BAA4B,GAChC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;IACvD,OAAO,CACL,8BACe,qBAAqB,CAAC,+BAA+B,EAClE,SAAS,EAAC,OAAO,aAEhB,4BAA4B,YAAY,oBAAoB,IAAI,CAC/D,KAAC,kCAAkC,IACjC,QAAQ,EAAE,4BAA4B,GACtC,CACH,EACA,CAAC,CAAC,4BAA4B,YAAY,oBAAoB,CAAC,IAAI,CAClE,8BACE,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,4BAAkB,GAC1D,GACF,EACN,KAAC,YAAY,cACX,KAAC,iBAAiB,+EAEE,GACP,IACd,CACJ,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,qBAAqB,EACrB,aAAa,EACb,IAAI,EACJ,WAAW,EACX,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,cAAc,EACd,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB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2D,YAErE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,gDAAgD,EAC1D,KAAK,EAAC,+BAA+B,YAErC,mBAAK,GACyB,GAC5B,CACP,IACa,GACH,IACd,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,4BAA4B,GAChC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;IACvD,OAAO,CACL,8BACe,qBAAqB,CAAC,+BAA+B,EAClE,SAAS,EAAC,OAAO,aAEhB,4BAA4B,YAAY,oBAAoB,IAAI,CAC/D,KAAC,kCAAkC,IACjC,QAAQ,EAAE,4BAA4B,GACtC,CACH,EACA,CAAC,CAAC,4BAA4B,YAAY,oBAAoB,CAAC,IAAI,CAClE,8BACE,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,4BAAkB,GAC1D,GACF,EACN,KAAC,YAAY,cACX,KAAC,iBAAiB,+EAEE,GACP,IACd,CACJ,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -17,13 +17,16 @@ import { type QueryBuilderFilterTreeNodeData, QUERY_BUILDER_FILTER_DND_TYPE, Que
|
|
17
17
|
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
18
18
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
19
19
|
import { AbstractPropertyExpression } from '@finos/legend-graph';
|
20
|
+
export declare const CAN_DROP_MAIN_GROUP_DND_TYPES_FETCH_SUPPORTED: string[];
|
21
|
+
export declare const CAN_DROP_MAIN_GROUP_DND_TYPES: QUERY_BUILDER_EXPLORER_TREE_DND_TYPE[];
|
22
|
+
export declare const CAN_DROP_FILTER_NODE_DND_TYPES_FETCH_SUPPORTED: string[];
|
23
|
+
export declare const CAN_DROP_FILTER_NODE_DND_TYPES: (QUERY_BUILDER_EXPLORER_TREE_DND_TYPE | QUERY_BUILDER_FILTER_DND_TYPE)[];
|
24
|
+
export declare const CAN_DROP_FILTER_VALUE_DND_TYPES: string[];
|
20
25
|
/**
|
21
26
|
* This function updates the filter state when we DnD a property that can accept multiple values.
|
22
27
|
*/
|
23
28
|
export declare const buildFilterTreeWithExists: (propertyExpression: AbstractPropertyExpression, filterState: QueryBuilderFilterState, targetDropNode?: QueryBuilderFilterTreeNodeData) => void;
|
24
29
|
export declare const buildPropertyExpressionFromExistsNode: (filterState: QueryBuilderFilterState, existsNode: QueryBuilderFilterTreeExistsNodeData, node: QueryBuilderFilterTreeConditionNodeData) => AbstractPropertyExpression;
|
25
|
-
export declare const IS_DRAGGABLE_FILTER_DND_TYPES_FETCH_SUPPORTED: string[];
|
26
|
-
export declare const IS_DRAGGABLE_FILTER_DND_TYPES: (QUERY_BUILDER_EXPLORER_TREE_DND_TYPE | QUERY_BUILDER_FILTER_DND_TYPE)[];
|
27
30
|
export declare const QueryBuilderFilterPanel: ((props: {
|
28
31
|
queryBuilderState: QueryBuilderState;
|
29
32
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAGL,KAAK,8BAA8B,EACnC,6BAA6B,EAE7B,uCAAuC,EAGvC,oCAAoC,EAEpC,KAAK,uBAAuB,EAC7B,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAGL,oCAAoC,EACrC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAiB3E,OAAO,EACL,0BAA0B,EAQ3B,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAGL,KAAK,8BAA8B,EACnC,6BAA6B,EAE7B,uCAAuC,EAGvC,oCAAoC,EAEpC,KAAK,uBAAuB,EAC7B,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAGL,oCAAoC,EACrC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAiB3E,OAAO,EACL,0BAA0B,EAQ3B,MAAM,qBAAqB,CAAC;AAqB7B,eAAO,MAAM,6CAA6C,UAIzD,CAAC;AAEF,eAAO,MAAM,6BAA6B,wCAGzC,CAAC;AAEF,eAAO,MAAM,8CAA8C,UAK1D,CAAC;AAEF,eAAO,MAAM,8BAA8B,0EAI1C,CAAC;AAEF,eAAO,MAAM,+BAA+B,UAE3C,CAAC;AAiCF;;GAEG;AACH,eAAO,MAAM,yBAAyB,uBAChB,0BAA0B,eACjC,uBAAuB,mBACnB,8BAA8B,KAC9C,IA2MF,CAAC;AAEF,eAAO,MAAM,qCAAqC,gBACnC,uBAAuB,cACxB,oCAAoC,QAC1C,uCAAuC,KAC5C,0BAoGF,CAAC;AAq1BF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAoRjD,CAAC"}
|
@@ -35,6 +35,29 @@ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaM
|
|
35
35
|
import { buildPropertyExpressionChain } from '../../stores/QueryBuilderValueSpecificationBuilderHelper.js';
|
36
36
|
import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
|
37
37
|
import { convertTextToPrimitiveInstanceValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
|
38
|
+
export const CAN_DROP_MAIN_GROUP_DND_TYPES_FETCH_SUPPORTED = [
|
39
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
40
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
41
|
+
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
42
|
+
];
|
43
|
+
export const CAN_DROP_MAIN_GROUP_DND_TYPES = [
|
44
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
45
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
46
|
+
];
|
47
|
+
export const CAN_DROP_FILTER_NODE_DND_TYPES_FETCH_SUPPORTED = [
|
48
|
+
QUERY_BUILDER_FILTER_DND_TYPE.CONDITION,
|
49
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
50
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
51
|
+
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
52
|
+
];
|
53
|
+
export const CAN_DROP_FILTER_NODE_DND_TYPES = [
|
54
|
+
QUERY_BUILDER_FILTER_DND_TYPE.CONDITION,
|
55
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
56
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
57
|
+
];
|
58
|
+
export const CAN_DROP_FILTER_VALUE_DND_TYPES = [
|
59
|
+
QUERY_BUILDER_VARIABLE_DND_TYPE,
|
60
|
+
];
|
38
61
|
const isCollectionProperty = (propertyExpression) => {
|
39
62
|
let currentExpression = propertyExpression;
|
40
63
|
while (currentExpression instanceof AbstractPropertyExpression) {
|
@@ -341,17 +364,6 @@ const buildFilterTree = (propertyExpression, filterState, targetDropNode) => {
|
|
341
364
|
}
|
342
365
|
}
|
343
366
|
};
|
344
|
-
export const IS_DRAGGABLE_FILTER_DND_TYPES_FETCH_SUPPORTED = [
|
345
|
-
QUERY_BUILDER_FILTER_DND_TYPE.CONDITION,
|
346
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
347
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
348
|
-
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
349
|
-
];
|
350
|
-
export const IS_DRAGGABLE_FILTER_DND_TYPES = [
|
351
|
-
QUERY_BUILDER_FILTER_DND_TYPE.CONDITION,
|
352
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
353
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
354
|
-
];
|
355
367
|
const QueryBuilderFilterGroupConditionEditor = observer((props) => {
|
356
368
|
const { node, isDragOver, isDroppable } = props;
|
357
369
|
const switchOperation = (event) => {
|
@@ -395,7 +407,7 @@ const QueryBuilderFilterConditionEditor = observer((props) => {
|
|
395
407
|
}
|
396
408
|
}, [applicationStore, node.condition]);
|
397
409
|
const [{ isFilterValueDragOver }, dropConnector] = useDrop(() => ({
|
398
|
-
accept:
|
410
|
+
accept: CAN_DROP_FILTER_VALUE_DND_TYPES,
|
399
411
|
drop: (item, monitor) => {
|
400
412
|
if (!monitor.didDrop()) {
|
401
413
|
handleDrop(item);
|
@@ -523,8 +535,8 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
523
535
|
}, [applicationStore, filterState, node]);
|
524
536
|
const [{ isDragOver }, dropConnector] = useDrop(() => ({
|
525
537
|
accept: queryBuilderState.TEMPORARY__isDnDFetchStructureToFilterSupported
|
526
|
-
?
|
527
|
-
:
|
538
|
+
? CAN_DROP_FILTER_NODE_DND_TYPES_FETCH_SUPPORTED
|
539
|
+
: CAN_DROP_FILTER_NODE_DND_TYPES,
|
528
540
|
drop: (item, monitor) => {
|
529
541
|
if (!monitor.didDrop()) {
|
530
542
|
handleDrop(item, monitor.getItemType());
|
@@ -550,8 +562,8 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
550
562
|
const { isDroppable } = useDragLayer((monitor) => ({
|
551
563
|
isDroppable: monitor.isDragging() &&
|
552
564
|
(queryBuilderState.TEMPORARY__isDnDFetchStructureToFilterSupported
|
553
|
-
?
|
554
|
-
:
|
565
|
+
? CAN_DROP_FILTER_NODE_DND_TYPES_FETCH_SUPPORTED
|
566
|
+
: CAN_DROP_FILTER_NODE_DND_TYPES).includes(monitor.getItemType()?.toString() ?? ''),
|
555
567
|
}));
|
556
568
|
// context menu
|
557
569
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
@@ -561,10 +573,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
561
573
|
const showRemoveButton = node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
562
574
|
node instanceof QueryBuilderFilterTreeBlankConditionNodeData ||
|
563
575
|
isEmptyExistsNode;
|
564
|
-
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTAINER,
|
565
|
-
node instanceof QueryBuilderFilterTreeBlankConditionNodeData
|
566
|
-
? selectNode
|
567
|
-
: undefined, className: clsx('query-builder-filter-tree__node__container', {
|
576
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTAINER, className: clsx('query-builder-filter-tree__node__container', {
|
568
577
|
'query-builder-filter-tree__node__container--group': node instanceof QueryBuilderFilterTreeGroupNodeData,
|
569
578
|
'query-builder-filter-tree__node__container--condition': node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
570
579
|
node instanceof QueryBuilderFilterTreeBlankConditionNodeData,
|
@@ -573,7 +582,10 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
573
582
|
'query-builder-filter-tree__node__container--no-hover': filterState.isRearrangingConditions,
|
574
583
|
'query-builder-filter-tree__node__container--selected': node === filterState.selectedNode,
|
575
584
|
'query-builder-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
576
|
-
}), children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderFilterConditionContextMenu, { queryBuilderState: queryBuilderState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, className: "query-builder-filter-tree__node__context-menu", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTENT, className: "query-builder-filter-tree__node__content", ref: dragRef,
|
585
|
+
}), children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderFilterConditionContextMenu, { queryBuilderState: queryBuilderState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, className: "query-builder-filter-tree__node__context-menu", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTENT, className: "query-builder-filter-tree__node__content", ref: dragRef, onClick: node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
586
|
+
node instanceof QueryBuilderFilterTreeBlankConditionNodeData
|
587
|
+
? selectNode
|
588
|
+
: undefined, children: [node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsx(QueryBuilderFilterGroupConditionEditor, { node: node, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeExistsNodeData && (_jsx(QueryBuilderFilterExistsConditionEditor, { node: node, humanizePropertyName: filterState.queryBuilderState.explorerState
|
577
589
|
.humanizePropertyName, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeConditionNodeData && (_jsx(QueryBuilderFilterConditionEditor, { node: node, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeBlankConditionNodeData && (_jsx(QueryBuilderFilterBlankConditionEditor, { node: node, isDragOver: isDragOver, isDroppable: isDroppable }))] }), showRemoveButton && (_jsx("div", { className: "query-builder-filter-tree__node__actions", children: _jsx("button", { className: "query-builder-filter-tree__node__action", tabIndex: -1, title: "Remove", onClick: removeNode, children: _jsx(TimesIcon, {}) }) }))] }) }));
|
578
590
|
});
|
579
591
|
const QueryBuilderFilterTreeNodeView = observer((props) => {
|
@@ -644,8 +656,8 @@ export const QueryBuilderFilterPanel = observer((props) => {
|
|
644
656
|
const { isDroppable } = useDragLayer((monitor) => ({
|
645
657
|
isDroppable: monitor.isDragging() &&
|
646
658
|
(queryBuilderState.TEMPORARY__isDnDFetchStructureToFilterSupported
|
647
|
-
?
|
648
|
-
:
|
659
|
+
? CAN_DROP_MAIN_GROUP_DND_TYPES_FETCH_SUPPORTED
|
660
|
+
: CAN_DROP_MAIN_GROUP_DND_TYPES).includes(monitor.getItemType()?.toString() ?? ''),
|
649
661
|
}));
|
650
662
|
// Drag and Drop
|
651
663
|
const handleDrop = useCallback((item, type) => {
|
@@ -677,15 +689,8 @@ export const QueryBuilderFilterPanel = observer((props) => {
|
|
677
689
|
}, [applicationStore, filterState]);
|
678
690
|
const [{ isDragOver }, dropTargetConnector] = useDrop(() => ({
|
679
691
|
accept: queryBuilderState.TEMPORARY__isDnDFetchStructureToFilterSupported
|
680
|
-
?
|
681
|
-
|
682
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
683
|
-
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
684
|
-
]
|
685
|
-
: [
|
686
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
687
|
-
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
688
|
-
],
|
692
|
+
? CAN_DROP_MAIN_GROUP_DND_TYPES_FETCH_SUPPORTED
|
693
|
+
: CAN_DROP_MAIN_GROUP_DND_TYPES,
|
689
694
|
drop: (item, monitor) => {
|
690
695
|
if (!monitor.didDrop()) {
|
691
696
|
handleDrop(item, monitor.getItemType());
|