@finos/legend-query-builder 4.9.4 → 4.10.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +4 -1
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +5 -1
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +80 -90
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +1 -0
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +13 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +42 -24
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +3 -2
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +145 -8
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/index.css +16 -0
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts +5 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +14 -1
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +3 -0
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +31 -2
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +2 -0
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +2 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +3 -23
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +31 -5
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +125 -30
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +21 -8
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts +3 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +20 -17
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +32 -27
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +10 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +17 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +7 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +27 -0
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +5 -5
- package/src/__lib__/QueryBuilderTesting.ts +5 -1
- package/src/components/QueryBuilderResultPanel.tsx +127 -135
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +25 -1
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +102 -49
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +6 -2
- package/src/components/filter/QueryBuilderFilterPanel.tsx +239 -21
- package/src/stores/QueryBuilderConstantsState.ts +30 -0
- package/src/stores/QueryBuilderResultState.ts +36 -1
- package/src/stores/QueryBuilderStateHashUtils.ts +2 -0
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +4 -50
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +180 -34
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +38 -9
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +36 -20
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +6 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +12 -13
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +10 -9
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +48 -43
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +12 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +10 -9
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +6 -6
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +26 -4
- package/src/stores/filter/QueryBuilderFilterState.ts +40 -1
@@ -32,6 +32,7 @@ import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from
|
|
32
32
|
import { QueryBuilderTelemetryHelper } from '../../__lib__/QueryBuilderTelemetryHelper.js';
|
33
33
|
import { getPropertyChainName } from '../../stores/QueryBuilderPropertyEditorState.js';
|
34
34
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
35
|
+
import { buildPropertyExpressionChain } from '../../stores/QueryBuilderValueSpecificationBuilderHelper.js';
|
35
36
|
const isCollectionProperty = (propertyExpression) => {
|
36
37
|
let currentExpression = propertyExpression;
|
37
38
|
while (currentExpression instanceof AbstractPropertyExpression) {
|
@@ -150,13 +151,32 @@ export const buildFilterTreeWithExists = (propertyExpression, filterState, targe
|
|
150
151
|
cn.propertyExpressionState.propertyExpression.func.ownerReference
|
151
152
|
.value.path);
|
152
153
|
if (parentPropertyChainIndex >= 0) {
|
153
|
-
parentNode
|
154
|
+
// Here we choose parentNode based on what the type of targetDropNode
|
155
|
+
// 1. QueryBuilderFilterTreeConditionNodeData: In this case we would want to
|
156
|
+
// add a new group condition from the targetDropNode and add new exists node
|
157
|
+
// getting created as it's child so the parent would be the new group node
|
158
|
+
// 2. QueryBuilderFilterTreeGroupNodeData: Parent node would be same as
|
159
|
+
// targetDropNode
|
160
|
+
// 3. QueryBuilderFilterTreeBlankConditionNodeData: parentNode would be the
|
161
|
+
// parent of the targetDropNode. At the end we would deelete this blank node
|
162
|
+
// that got created.
|
163
|
+
parentNode =
|
164
|
+
targetDropNode instanceof QueryBuilderFilterTreeConditionNodeData
|
165
|
+
? filterState.newGroupConditionFromNode(targetDropNode)
|
166
|
+
: targetDropNode instanceof QueryBuilderFilterTreeGroupNodeData
|
167
|
+
? targetDropNode
|
168
|
+
: filterState.getParentNode(targetDropNode);
|
154
169
|
existsLambdaPropertyChains = existsLambdaPropertyChains.slice(parentPropertyChainIndex + 1);
|
155
170
|
existsLambdaParamNames = existsLambdaParamNames.slice(parentPropertyChainIndex + 1);
|
156
171
|
}
|
157
172
|
}
|
158
173
|
else if (!parentId) {
|
159
|
-
parentNode =
|
174
|
+
parentNode =
|
175
|
+
targetDropNode instanceof QueryBuilderFilterTreeConditionNodeData
|
176
|
+
? filterState.newGroupConditionFromNode(targetDropNode)
|
177
|
+
: targetDropNode instanceof QueryBuilderFilterTreeGroupNodeData
|
178
|
+
? targetDropNode
|
179
|
+
: filterState.getParentNode(targetDropNode);
|
160
180
|
}
|
161
181
|
}
|
162
182
|
}
|
@@ -173,6 +193,69 @@ export const buildFilterTreeWithExists = (propertyExpression, filterState, targe
|
|
173
193
|
const filterConditionState = new FilterConditionState(filterState, existsLambdaPropertyChains[existsLambdaPropertyChains.length - 1]);
|
174
194
|
const treeNode = new QueryBuilderFilterTreeConditionNodeData(undefined, filterConditionState);
|
175
195
|
filterState.addNodeFromNode(treeNode, parentNode);
|
196
|
+
if (targetDropNode instanceof QueryBuilderFilterTreeBlankConditionNodeData) {
|
197
|
+
filterState.removeNodeAndPruneBranch(targetDropNode);
|
198
|
+
}
|
199
|
+
};
|
200
|
+
export const buildPropertyExpressionFromExistsNode = (filterState, existsNode, node) => {
|
201
|
+
let nodeParent = filterState.getParentNode(node);
|
202
|
+
let existsLambdaParameterNames = [];
|
203
|
+
let existsLambdaExpressions = [];
|
204
|
+
existsLambdaExpressions.push(node.condition.propertyExpressionState.propertyExpression);
|
205
|
+
existsLambdaParameterNames.push(nodeParent?.lambdaParameterName ?? filterState.lambdaParameterName);
|
206
|
+
while (nodeParent && nodeParent.id !== existsNode.id) {
|
207
|
+
if (nodeParent instanceof QueryBuilderFilterTreeExistsNodeData) {
|
208
|
+
existsLambdaExpressions.push(nodeParent.propertyExpressionState.propertyExpression);
|
209
|
+
existsLambdaParameterNames.push(nodeParent.lambdaParameterName ?? filterState.lambdaParameterName);
|
210
|
+
}
|
211
|
+
nodeParent = filterState.getParentNode(nodeParent);
|
212
|
+
}
|
213
|
+
if (nodeParent?.id === existsNode.id) {
|
214
|
+
existsLambdaExpressions.push(existsNode.propertyExpressionState.propertyExpression);
|
215
|
+
existsLambdaParameterNames.push(existsNode.lambdaParameterName ?? filterState.lambdaParameterName);
|
216
|
+
}
|
217
|
+
existsLambdaParameterNames = existsLambdaParameterNames.reverse();
|
218
|
+
existsLambdaExpressions = existsLambdaExpressions.reverse();
|
219
|
+
const initialPropertyExpression = guaranteeNonNullable(existsLambdaExpressions[0]);
|
220
|
+
existsLambdaParameterNames = existsLambdaParameterNames.slice(1);
|
221
|
+
existsLambdaExpressions = existsLambdaExpressions.slice(1);
|
222
|
+
let flattenedPropertyExpressionChain = new AbstractPropertyExpression('');
|
223
|
+
flattenedPropertyExpressionChain.func = initialPropertyExpression.func;
|
224
|
+
flattenedPropertyExpressionChain.parametersValues = [
|
225
|
+
...initialPropertyExpression.parametersValues,
|
226
|
+
];
|
227
|
+
for (const exp of existsLambdaExpressions) {
|
228
|
+
// when rebuilding the property expression chain, disregard the initial variable that starts the chain
|
229
|
+
const expressions = [];
|
230
|
+
let currentExpression = exp;
|
231
|
+
while (currentExpression instanceof AbstractPropertyExpression ||
|
232
|
+
(currentExpression instanceof SimpleFunctionExpression &&
|
233
|
+
matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE))) {
|
234
|
+
if (currentExpression instanceof SimpleFunctionExpression) {
|
235
|
+
const functionExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE));
|
236
|
+
functionExpression.parametersValues.unshift(guaranteeNonNullable(currentExpression.parametersValues[1]));
|
237
|
+
expressions.push(functionExpression);
|
238
|
+
}
|
239
|
+
else if (currentExpression instanceof AbstractPropertyExpression) {
|
240
|
+
const propertyExp = new AbstractPropertyExpression('');
|
241
|
+
propertyExp.func = currentExpression.func;
|
242
|
+
// NOTE: we must retain the rest of the parameters as those are derived property parameters
|
243
|
+
propertyExp.parametersValues =
|
244
|
+
currentExpression.parametersValues.length > 1
|
245
|
+
? currentExpression.parametersValues.slice(1)
|
246
|
+
: [];
|
247
|
+
expressions.push(propertyExp);
|
248
|
+
}
|
249
|
+
currentExpression = guaranteeNonNullable(currentExpression.parametersValues[0]);
|
250
|
+
}
|
251
|
+
assertTrue(expressions.length > 0, `Can't process exists() expression: exists() usage with non-chain property expression is not supported`);
|
252
|
+
for (let i = 0; i < expressions.length - 1; ++i) {
|
253
|
+
expressions[i].parametersValues.unshift(expressions[i + 1]);
|
254
|
+
}
|
255
|
+
expressions[expressions.length - 1].parametersValues.unshift(flattenedPropertyExpressionChain);
|
256
|
+
flattenedPropertyExpressionChain = guaranteeType(expressions[0], AbstractPropertyExpression, `Can't process exists() expression: can't flatten to a property expression`);
|
257
|
+
}
|
258
|
+
return guaranteeType(buildPropertyExpressionChain(flattenedPropertyExpressionChain, filterState.queryBuilderState, existsNode.lambdaParameterName ?? filterState.lambdaParameterName), AbstractPropertyExpression);
|
176
259
|
};
|
177
260
|
/**
|
178
261
|
* This function builds the filter tree when we DnD a node to the filter panel.
|
@@ -201,9 +284,63 @@ const buildFilterTree = (propertyExpression, filterState, targetDropNode) => {
|
|
201
284
|
else {
|
202
285
|
const filterConditionState = new FilterConditionState(filterState, propertyExpression);
|
203
286
|
const treeNode = new QueryBuilderFilterTreeConditionNodeData(undefined, filterConditionState);
|
204
|
-
|
205
|
-
|
206
|
-
|
287
|
+
// Check if there are any exists node present in the parent nodes of the target.
|
288
|
+
// This would change the way we build the filter tree
|
289
|
+
let cn = targetDropNode;
|
290
|
+
let existsNode = undefined;
|
291
|
+
let parentId = targetDropNode?.parentId;
|
292
|
+
while (parentId) {
|
293
|
+
cn = filterState.nodes.get(parentId);
|
294
|
+
parentId = cn?.parentId;
|
295
|
+
if (cn instanceof QueryBuilderFilterTreeExistsNodeData) {
|
296
|
+
existsNode = cn;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
if (cn instanceof QueryBuilderFilterTreeExistsNodeData) {
|
300
|
+
existsNode = cn;
|
301
|
+
}
|
302
|
+
if (targetDropNode instanceof QueryBuilderFilterTreeGroupNodeData) {
|
303
|
+
if (existsNode) {
|
304
|
+
filterState.newGroupConditionFromNode(existsNode, treeNode, targetDropNode.groupOperation);
|
305
|
+
}
|
306
|
+
else {
|
307
|
+
filterState.addNodeFromNode(treeNode, targetDropNode);
|
308
|
+
}
|
309
|
+
}
|
310
|
+
else if (targetDropNode instanceof QueryBuilderFilterTreeBlankConditionNodeData) {
|
311
|
+
if (existsNode) {
|
312
|
+
filterState.queryBuilderState.applicationStore.notificationService.notifyError(`Can't drag and drop here: property expression of target and source doesn't match`);
|
313
|
+
}
|
314
|
+
else {
|
315
|
+
filterState.replaceBlankNodeWithNode(treeNode, targetDropNode);
|
316
|
+
}
|
317
|
+
}
|
318
|
+
else if (existsNode &&
|
319
|
+
targetDropNode instanceof QueryBuilderFilterTreeExistsNodeData) {
|
320
|
+
filterState.newGroupConditionFromNode(existsNode, treeNode);
|
321
|
+
}
|
322
|
+
else if (targetDropNode instanceof QueryBuilderFilterTreeConditionNodeData) {
|
323
|
+
const parentNode = filterState.getParentNode(targetDropNode);
|
324
|
+
if (existsNode &&
|
325
|
+
parentNode instanceof QueryBuilderFilterTreeExistsNodeData &&
|
326
|
+
parentNode.childrenIds.length === 1) {
|
327
|
+
filterState.newGroupConditionFromNode(existsNode, treeNode, QUERY_BUILDER_GROUP_OPERATION.AND);
|
328
|
+
}
|
329
|
+
else if (existsNode &&
|
330
|
+
parentNode instanceof QueryBuilderFilterTreeGroupNodeData) {
|
331
|
+
const propertyExpression1 = buildPropertyExpressionFromExistsNode(filterState, existsNode, targetDropNode);
|
332
|
+
filterState.removeNodeAndPruneBranch(targetDropNode);
|
333
|
+
filterState.newGroupConditionFromNode(existsNode, treeNode, parentNode.groupOperation);
|
334
|
+
const newParentNode = filterState.getParentNode(treeNode);
|
335
|
+
buildFilterTreeWithExists(propertyExpression1, filterState, newParentNode);
|
336
|
+
}
|
337
|
+
else {
|
338
|
+
filterState.newGroupWithConditionFromNode(treeNode, targetDropNode);
|
339
|
+
}
|
340
|
+
}
|
341
|
+
else {
|
342
|
+
filterState.addNodeFromNode(treeNode, undefined);
|
343
|
+
}
|
207
344
|
}
|
208
345
|
};
|
209
346
|
export const IS_DRAGGABLE_FILTER_DND_TYPES_FETCH_SUPPORTED = [
|
@@ -290,7 +427,7 @@ const QueryBuilderFilterConditionEditor = observer((props) => {
|
|
290
427
|
reloadValues: debouncedTypeaheadSearch,
|
291
428
|
cleanUpReloadValues,
|
292
429
|
};
|
293
|
-
return (_jsx("div", { className: "query-builder-filter-tree__node__label__content dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Add New Logical Group", children: _jsxs("div", { className: "query-builder-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__property", children: _jsx(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: node.condition.propertyExpressionState, onPropertyExpressionChange: changeProperty }) }), _jsxs(DropdownMenu, { className: "query-builder-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(node.condition) }, op.uuid))) }), menuProps: {
|
430
|
+
return (_jsx("div", { className: "query-builder-filter-tree__node__label__content dnd__entry__container", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT, children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Add New Logical Group", children: _jsxs("div", { className: "query-builder-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__property", children: _jsx(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: node.condition.propertyExpressionState, onPropertyExpressionChange: changeProperty }) }), _jsxs(DropdownMenu, { className: "query-builder-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(node.condition) }, op.uuid))) }), menuProps: {
|
294
431
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
295
432
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
296
433
|
elevation: 7,
|
@@ -379,10 +516,10 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
379
516
|
buildFilterTree(filterConditionState.propertyExpressionState.propertyExpression, filterState, node);
|
380
517
|
}
|
381
518
|
else if (node instanceof QueryBuilderFilterTreeConditionNodeData) {
|
382
|
-
|
519
|
+
buildFilterTree(filterConditionState.propertyExpressionState.propertyExpression, filterState, node);
|
383
520
|
}
|
384
521
|
else if (node instanceof QueryBuilderFilterTreeBlankConditionNodeData) {
|
385
|
-
|
522
|
+
buildFilterTree(filterConditionState.propertyExpressionState.propertyExpression, filterState, node);
|
386
523
|
}
|
387
524
|
}
|
388
525
|
}, [applicationStore, filterState, node]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE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EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACnD,EACF,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC/D,CACJ,EACA,WAAW,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,CACtC,cACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,0BAA0B,YAEhC,mBAAK,GACyB,GAC5B,CACP,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,6BAA6B,EAC7B,oBAAoB,EACpB,uCAAuC,EACvC,4CAA4C,EAC5C,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GAExC,MAAM,gDAAgD,C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