@finos/legend-query-builder 4.14.63 → 4.14.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +3 -0
  2. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  3. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +12 -1
  4. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  6. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +20 -19
  7. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  8. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +7 -1
  9. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  10. package/lib/components/filter/QueryBuilderFilterPanel.js +137 -54
  11. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  12. package/lib/components/shared/QueryBuilderFilterHelper.d.ts +19 -0
  13. package/lib/components/shared/QueryBuilderFilterHelper.d.ts.map +1 -0
  14. package/lib/components/shared/QueryBuilderFilterHelper.js +34 -0
  15. package/lib/components/shared/QueryBuilderFilterHelper.js.map +1 -0
  16. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +1 -1
  17. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  18. package/lib/index.css +17 -1
  19. package/lib/index.css.map +1 -1
  20. package/lib/package.json +3 -3
  21. package/lib/stores/QueryBuilderStateHashUtils.d.ts +2 -0
  22. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
  23. package/lib/stores/QueryBuilderStateHashUtils.js +2 -0
  24. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
  25. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +1 -1
  26. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  27. package/lib/stores/filter/QueryBuilderFilterState.d.ts +35 -5
  28. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  29. package/lib/stores/filter/QueryBuilderFilterState.js +181 -52
  30. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  31. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +2 -2
  32. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  33. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  34. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +21 -6
  35. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  36. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  37. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +4 -3
  38. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  39. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  40. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +4 -3
  41. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  42. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  43. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +5 -4
  44. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  45. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  46. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +5 -4
  47. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  48. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  49. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +5 -4
  50. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  51. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +1 -1
  52. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  53. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +33 -28
  54. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  55. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +1 -1
  56. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  57. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  58. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +5 -4
  59. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  60. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  61. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +5 -4
  62. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  63. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  64. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +4 -3
  65. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  66. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -1
  67. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  68. package/lib/stores/shared/ValueSpecificationEditorHelper.js +9 -3
  69. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  70. package/package.json +11 -11
  71. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +25 -0
  72. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +29 -26
  73. package/src/components/filter/QueryBuilderFilterPanel.tsx +335 -106
  74. package/src/components/shared/QueryBuilderFilterHelper.ts +51 -0
  75. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +1 -1
  76. package/src/stores/QueryBuilderStateHashUtils.ts +2 -0
  77. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +1 -1
  78. package/src/stores/filter/QueryBuilderFilterState.ts +284 -74
  79. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +2 -2
  80. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +48 -9
  81. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -4
  82. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -4
  83. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +4 -4
  84. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -7
  85. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -7
  86. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +52 -47
  87. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +1 -1
  88. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +5 -7
  89. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -7
  90. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -4
  91. package/src/stores/shared/ValueSpecificationEditorHelper.ts +28 -0
  92. package/tsconfig.json +1 -0
@@ -16,25 +16,29 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
16
16
  */
17
17
  import { useRef, useState, useCallback, forwardRef, useMemo, useEffect, } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
- import { clsx, ContextMenu, ControlledDropdownMenu, MenuContent, MenuContentItem, BlankPanelPlaceholder, CompressIcon, ExpandIcon, TrashIcon, NewFolderIcon, CircleIcon, CaretDownIcon, PlusIcon, PlusCircleIcon, TimesIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, PanelContent, MoreVerticalIcon, MenuContentItemIcon, MenuContentItemLabel, InfoCircleIcon, } from '@finos/legend-art';
20
- import { QUERY_BUILDER_FILTER_DND_TYPE, FilterConditionState, QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeBlankConditionNodeData, QueryBuilderFilterTreeGroupNodeData, QueryBuilderFilterTreeExistsNodeData, QueryBuilderFilterTreeOperationNodeData, } from '../../stores/filter/QueryBuilderFilterState.js';
19
+ import { clsx, ContextMenu, ControlledDropdownMenu, MenuContent, MenuContentItem, BlankPanelPlaceholder, CompressIcon, ExpandIcon, TrashIcon, NewFolderIcon, CircleIcon, CaretDownIcon, PlusIcon, PlusCircleIcon, TimesIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, PanelContent, MoreVerticalIcon, MenuContentItemIcon, MenuContentItemLabel, InfoCircleIcon, RefreshIcon, } from '@finos/legend-art';
20
+ import { QUERY_BUILDER_FILTER_DND_TYPE, FilterConditionState, QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeBlankConditionNodeData, QueryBuilderFilterTreeGroupNodeData, QueryBuilderFilterTreeExistsNodeData, QueryBuilderFilterTreeOperationNodeData, FilterValueSpecConditionValueState, FilterPropertyExpressionStateConditionValueState, isCollectionProperty, } from '../../stores/filter/QueryBuilderFilterState.js';
21
21
  import { useDrag, useDragLayer, useDrop } from 'react-dnd';
22
22
  import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
23
23
  import { QueryBuilderPropertyExpressionBadge, QueryBuilderPropertyExpressionEditor, } from '../QueryBuilderPropertyExpressionEditor.js';
24
- import { assertErrorThrown, assertTrue, debounce, generateEnumerableNameFromToken, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, UnsupportedOperationError, } from '@finos/legend-shared';
24
+ import { assertErrorThrown, assertTrue, debounce, generateEnumerableNameFromToken, guaranteeNonNullable, guaranteeType, UnsupportedOperationError, } from '@finos/legend-shared';
25
25
  import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
26
26
  import { ActionAlertActionType, ActionAlertType, useApplicationStore, } from '@finos/legend-application';
27
- import { AbstractPropertyExpression, extractElementNameFromPath, matchFunctionName, Multiplicity, SimpleFunctionExpression, VariableExpression, PrimitiveType, } from '@finos/legend-graph';
27
+ import { AbstractPropertyExpression, extractElementNameFromPath, matchFunctionName, Multiplicity, SimpleFunctionExpression, VariableExpression, PrimitiveType, Class, Enumeration, } from '@finos/legend-graph';
28
28
  import { QueryBuilderSimpleProjectionColumnState, QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
29
29
  import { isTypeCompatibleForAssignment } from '../../stores/QueryBuilderValueSpecificationHelper.js';
30
30
  import { QUERY_BUILDER_GROUP_OPERATION } from '../../stores/QueryBuilderGroupOperationHelper.js';
31
31
  import { QUERY_BUILDER_VARIABLE_DND_TYPE, EditableBasicValueSpecificationEditor, } from '../shared/BasicValueSpecificationEditor.js';
32
32
  import { QueryBuilderTelemetryHelper } from '../../__lib__/QueryBuilderTelemetryHelper.js';
33
- import { getPropertyChainName } from '../../stores/QueryBuilderPropertyEditorState.js';
33
+ import { QueryBuilderPropertyExpressionState, getPropertyChainName, } from '../../stores/QueryBuilderPropertyEditorState.js';
34
34
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
35
35
  import { buildPropertyExpressionChain } from '../../stores/QueryBuilderValueSpecificationBuilderHelper.js';
36
36
  import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
37
- import { convertTextToPrimitiveInstanceValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
37
+ import { cloneAbstractPropertyExpression, convertTextToPrimitiveInstanceValue, } from '../../stores/shared/ValueSpecificationEditorHelper.js';
38
+ import { QueryBuilderFilterOperator_In, QueryBuilderFilterOperator_NotIn, } from '../../stores/filter/operators/QueryBuilderFilterOperator_In.js';
39
+ import { renderPropertyTypeIcon } from '../fetch-structure/QueryBuilderTDSComponentHelper.js';
40
+ import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
41
+ import { getDNDItemType } from '../shared/QueryBuilderFilterHelper.js';
38
42
  export const CAN_DROP_MAIN_GROUP_DND_TYPES_FETCH_SUPPORTED = [
39
43
  QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
40
44
  QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
@@ -56,25 +60,11 @@ export const CAN_DROP_FILTER_NODE_DND_TYPES = [
56
60
  QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
57
61
  ];
58
62
  export const CAN_DROP_FILTER_VALUE_DND_TYPES = [
63
+ QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
64
+ QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
65
+ QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
59
66
  QUERY_BUILDER_VARIABLE_DND_TYPE,
60
67
  ];
61
- const isCollectionProperty = (propertyExpression) => {
62
- let currentExpression = propertyExpression;
63
- while (currentExpression instanceof AbstractPropertyExpression) {
64
- // Check if the property chain can results in column that have multiple values
65
- if (currentExpression.func.value.multiplicity.upperBound === undefined ||
66
- currentExpression.func.value.multiplicity.upperBound > 1) {
67
- return true;
68
- }
69
- currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
70
- // Take care of chains of subtype
71
- while (currentExpression instanceof SimpleFunctionExpression &&
72
- matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
73
- currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
74
- }
75
- }
76
- return false;
77
- };
78
68
  /**
79
69
  * This function updates the filter state when we DnD a property that can accept multiple values.
80
70
  */
@@ -388,66 +378,158 @@ const QueryBuilderFilterExistsConditionEditor = observer((props) => {
388
378
  'query-builder-filter-tree__exists-node__exists--label__action--error': !isValid,
389
379
  }), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: node.propertyExpressionState })] }) }) }));
390
380
  });
381
+ export const QueryBuilderFilterPropertyExpressionBadge = observer((props) => {
382
+ const { rightConditionValue, resetNode } = props;
383
+ const type = rightConditionValue.type;
384
+ return (_jsx("div", { className: "query-builder-filter-property-expression-badge", children: _jsxs("div", { className: "query-builder-filter-property-expression-badge__content", children: [_jsx("div", { className: clsx('query-builder-filter-property-expression-badge__type', {
385
+ 'query-builder-filter-property-expression-badge__type--class': type instanceof Class,
386
+ 'query-builder-filter-property-expression-badge__type--enumeration': type instanceof Enumeration,
387
+ 'query-builder-filter-property-expression-badge__type--primitive': type instanceof PrimitiveType,
388
+ }), children: renderPropertyTypeIcon(type) }), _jsx("div", { className: "query-builder-filter-property-expression-badge__property", title: rightConditionValue.propertyExpressionState.propertyExpression
389
+ .func.value.name, children: _jsx(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: rightConditionValue.propertyExpressionState }) }), _jsx(QueryBuilderPropertyInfoTooltip, { title: rightConditionValue.propertyExpressionState.propertyExpression
390
+ .func.value.name, property: rightConditionValue.propertyExpressionState.propertyExpression
391
+ .func.value, path: rightConditionValue.propertyExpressionState.path, isMapped: true, placement: "bottom-end", children: _jsx("div", { className: "query-builder-filter-property-expression-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "query-builder-filter-property-expression-badge__action", name: "Reset", title: "Reset", onClick: resetNode, children: _jsx(RefreshIcon, {}) })] }) }));
392
+ });
393
+ const canDropTypeOntoNodeValue = (type, condition) => {
394
+ const conditionOperator = condition.operator;
395
+ const conditionValueType = condition.propertyExpressionState.propertyExpression.func.value.genericType
396
+ .value.rawType;
397
+ return (!(conditionOperator instanceof QueryBuilderFilterOperator_In) &&
398
+ !(conditionOperator instanceof QueryBuilderFilterOperator_NotIn) &&
399
+ isTypeCompatibleForAssignment(type, conditionValueType));
400
+ };
391
401
  const QueryBuilderFilterConditionEditor = observer((props) => {
392
402
  const { node, isDragOver } = props;
393
403
  const graph = node.condition.filterState.queryBuilderState.graphManagerState.graph;
394
404
  const queryBuilderState = node.condition.filterState.queryBuilderState;
405
+ const rightConditionValue = node.condition.rightConditionValue;
395
406
  const applicationStore = useApplicationStore();
396
- const changeOperator = (val) => () => node.condition.changeOperator(val);
397
407
  // Drag and Drop on filter condition value
398
- const handleDrop = useCallback((item) => {
399
- const parameterType = item.variable.genericType?.value.rawType;
400
- const conditionValueType = node.condition.propertyExpressionState.propertyExpression.func.value
401
- .genericType.value.rawType;
402
- if (isTypeCompatibleForAssignment(parameterType, conditionValueType)) {
403
- node.condition.setValue(item.variable);
408
+ const handleDrop = useCallback((item, type) => {
409
+ const itemType = getDNDItemType(item, type);
410
+ if (itemType !== undefined &&
411
+ canDropTypeOntoNodeValue(itemType, node.condition)) {
412
+ try {
413
+ if ((type === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE ||
414
+ type === QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY ||
415
+ type ===
416
+ QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY) &&
417
+ node.isExistsNodeChild) {
418
+ throw new UnsupportedOperationError('Collection filter does not support property for filter condition value.');
419
+ }
420
+ if (type === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE) {
421
+ const columnState = item.columnState;
422
+ if (columnState instanceof QueryBuilderSimpleProjectionColumnState) {
423
+ const columnPropertyExpression = columnState.propertyExpressionState.propertyExpression;
424
+ if (isCollectionProperty(columnPropertyExpression)) {
425
+ throw new UnsupportedOperationError('Collection types are not supported for filter condition values.');
426
+ }
427
+ else {
428
+ node.condition.buildRightConditionValueFromPropertyExpressionState(new QueryBuilderPropertyExpressionState(queryBuilderState, cloneAbstractPropertyExpression(columnPropertyExpression, queryBuilderState.observerContext)));
429
+ }
430
+ }
431
+ else {
432
+ throw new UnsupportedOperationError('Derivation projection columns are not supported for filter condition values.');
433
+ }
434
+ }
435
+ else if (type === QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY ||
436
+ type === QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY) {
437
+ const explorerNode = item
438
+ .node;
439
+ const propertyExpressionState = new QueryBuilderPropertyExpressionState(queryBuilderState, buildPropertyExpressionFromExplorerTreeNodeData(explorerNode, node.condition.filterState.queryBuilderState.explorerState));
440
+ if (isCollectionProperty(propertyExpressionState.propertyExpression)) {
441
+ throw new UnsupportedOperationError('Collection types are not supported for filter condition values.');
442
+ }
443
+ else {
444
+ node.condition.buildRightConditionValueFromPropertyExpressionState(propertyExpressionState);
445
+ }
446
+ }
447
+ else if (type === QUERY_BUILDER_VARIABLE_DND_TYPE) {
448
+ const variable = item
449
+ .variable;
450
+ node.condition.buildRightConditionValueFromValueSpec(variable);
451
+ }
452
+ else {
453
+ applicationStore.notificationService.notifyWarning(`Dragging and Dropping ${type} to filter panel is not supported.`);
454
+ }
455
+ }
456
+ catch (error) {
457
+ assertErrorThrown(error);
458
+ applicationStore.notificationService.notifyWarning(error.message);
459
+ return;
460
+ }
404
461
  }
405
462
  else {
406
- applicationStore.notificationService.notifyWarning(`Incompatible parameter type ${parameterType?.name}. ${parameterType?.name} is not compatible with type ${conditionValueType.name}.`);
463
+ const conditionValueType = node.condition.propertyExpressionState.propertyExpression.func.value
464
+ .genericType.value.rawType;
465
+ applicationStore.notificationService.notifyWarning(`Incompatible parameter type ${itemType?.name}. ${itemType?.name} is not compatible with type ${conditionValueType.name}.`);
407
466
  }
408
- }, [applicationStore, node.condition]);
467
+ }, [
468
+ applicationStore,
469
+ queryBuilderState,
470
+ node.condition,
471
+ node.isExistsNodeChild,
472
+ ]);
409
473
  const [{ isFilterValueDragOver }, dropConnector] = useDrop(() => ({
410
474
  accept: CAN_DROP_FILTER_VALUE_DND_TYPES,
475
+ canDrop: (item, monitor) => canDropTypeOntoNodeValue(getDNDItemType(item, monitor.getItemType()), node.condition),
411
476
  drop: (item, monitor) => {
412
477
  if (!monitor.didDrop()) {
413
- handleDrop(item);
478
+ handleDrop(item, monitor.getItemType());
414
479
  } // prevent drop event propagation to accomondate for nested DnD
415
480
  },
416
481
  collect: (monitor) => ({
417
- isFilterValueDragOver: monitor.isOver({ shallow: true }),
482
+ isFilterValueDragOver: monitor.isOver({ shallow: true }) && monitor.canDrop(),
418
483
  }),
419
484
  }), [handleDrop]);
485
+ const { isFilterValueDroppable } = useDragLayer((monitor) => ({
486
+ isFilterValueDroppable: monitor.isDragging() &&
487
+ CAN_DROP_FILTER_VALUE_DND_TYPES.includes(monitor.getItemType()?.toString() ?? '') &&
488
+ canDropTypeOntoNodeValue(getDNDItemType(monitor.getItem(), monitor.getItemType()), node.condition),
489
+ }));
490
+ // actions
491
+ const changeOperator = (val) => () => node.condition.changeOperator(val);
420
492
  const resetNode = () => {
421
- node.condition.setValue(node.condition.operator.getDefaultFilterConditionValue(node.condition));
493
+ node.condition.buildRightConditionValueFromValueSpec(node.condition.operator.getDefaultFilterConditionValue(node.condition));
422
494
  };
423
- const debouncedTypeaheadSearch = useMemo(() => debounce((inputValue) => {
424
- const inputValueSpec = convertTextToPrimitiveInstanceValue(PrimitiveType.STRING, inputValue, queryBuilderState.observerContext);
425
- return node.condition.handleTypeaheadSearch(inputValueSpec ?? undefined);
426
- }, 1000), [node, queryBuilderState.observerContext]);
427
495
  const cleanUpReloadValues = () => {
428
496
  node.condition.typeaheadSearchState.complete();
429
497
  };
430
498
  const changeValueSpecification = (val) => {
431
- node.condition.setValue(val);
499
+ node.condition.buildRightConditionValueFromValueSpec(val);
432
500
  };
501
+ const debouncedTypeaheadSearch = useMemo(() => debounce((inputValue) => {
502
+ const inputValueSpec = convertTextToPrimitiveInstanceValue(PrimitiveType.STRING, inputValue, queryBuilderState.observerContext);
503
+ return node.condition.handleTypeaheadSearch(inputValueSpec ?? undefined);
504
+ }, 1000), [node, queryBuilderState.observerContext]);
433
505
  const selectorConfig = {
434
506
  values: node.condition.typeaheadSearchResults,
435
507
  isLoading: node.condition.typeaheadSearchState.isInProgress,
436
508
  reloadValues: debouncedTypeaheadSearch,
437
509
  cleanUpReloadValues,
438
510
  };
511
+ const renderRightValue = () => {
512
+ if (rightConditionValue instanceof FilterValueSpecConditionValueState &&
513
+ rightConditionValue.value) {
514
+ return (_jsx("div", { ref: dropConnector, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_VALUE, className: "query-builder-filter-tree__condition-node__value", 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: {
515
+ expectedType: node.condition.propertyExpressionState.propertyExpression
516
+ .func.value.genericType.value.rawType,
517
+ }, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(rightConditionValue.value), initializeAsEditable: node.isNewlyAdded }) }) }));
518
+ }
519
+ else if (rightConditionValue instanceof
520
+ FilterPropertyExpressionStateConditionValueState) {
521
+ return (_jsx("div", { ref: dropConnector, className: "query-builder-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, isDroppable: isFilterValueDroppable, label: "Change Filter Value", children: _jsx(QueryBuilderFilterPropertyExpressionBadge, { rightConditionValue: rightConditionValue, resetNode: resetNode }) }) }));
522
+ }
523
+ return null;
524
+ };
439
525
  useEffect(() => {
440
526
  node.setIsNewlyAdded(false);
441
527
  }, [node]);
442
- return (_jsx("div", { className: "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 }) }), _jsxs(ControlledDropdownMenu, { 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: {
528
+ return (_jsx("div", { className: "dnd__entry__container", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT, children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver && !isFilterValueDragOver, alwaysShowChildren: true, 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 }) }), _jsxs(ControlledDropdownMenu, { 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: {
443
529
  anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
444
530
  transformOrigin: { vertical: 'top', horizontal: 'left' },
445
531
  elevation: 7,
446
- }, children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel(node.condition) }), _jsx("div", { className: "query-builder-filter-tree__condition-node__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), node.condition.value && (_jsx("div", { ref: dropConnector, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_VALUE, className: "query-builder-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, label: "Change Filter Value", children: _jsx(EditableBasicValueSpecificationEditor, { valueSpecification: node.condition.value, setValueSpecification: changeValueSpecification, graph: graph, observerContext: queryBuilderState.observerContext, typeCheckOption: {
447
- expectedType: node.condition.propertyExpressionState
448
- .propertyExpression.func.value.genericType.value
449
- .rawType,
450
- }, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(node.condition.value), initializeAsEditable: node.isNewlyAdded }) }) }))] }) }) }));
532
+ }, children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel(node.condition) }), _jsx("div", { className: "query-builder-filter-tree__condition-node__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), renderRightValue()] }) }) }));
451
533
  });
452
534
  const QueryBuilderFilterBlankConditionEditor = observer((props) => {
453
535
  const { isDragOver, isDroppable } = props;
@@ -504,8 +586,8 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
504
586
  if (item
505
587
  .columnState instanceof
506
588
  QueryBuilderSimpleProjectionColumnState) {
507
- propertyExpression = item
508
- .columnState.propertyExpressionState.propertyExpression;
589
+ propertyExpression = cloneAbstractPropertyExpression(item
590
+ .columnState.propertyExpressionState.propertyExpression, queryBuilderState.observerContext);
509
591
  }
510
592
  else {
511
593
  throw new UnsupportedOperationError(`Dragging and Dropping derivation projection column is not supported.`);
@@ -532,8 +614,8 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
532
614
  buildFilterTree(filterConditionState.propertyExpressionState.propertyExpression, filterState, node);
533
615
  }
534
616
  }
535
- }, [applicationStore, filterState, node]);
536
- const [{ isDragOver }, dropConnector] = useDrop(() => ({
617
+ }, [applicationStore, filterState, node, queryBuilderState.observerContext]);
618
+ const [{ isDragOver, deepIsDragOver }, dropConnector] = useDrop(() => ({
537
619
  accept: queryBuilderState.TEMPORARY__isDnDFetchStructureToFilterSupported
538
620
  ? CAN_DROP_FILTER_NODE_DND_TYPES_FETCH_SUPPORTED
539
621
  : CAN_DROP_FILTER_NODE_DND_TYPES,
@@ -544,6 +626,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
544
626
  },
545
627
  collect: (monitor) => ({
546
628
  isDragOver: monitor.isOver({ shallow: true }),
629
+ deepIsDragOver: monitor.isOver({ shallow: false }),
547
630
  }),
548
631
  }), [handleDrop]);
549
632
  const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
@@ -586,7 +669,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
586
669
  node instanceof QueryBuilderFilterTreeBlankConditionNodeData
587
670
  ? selectNode
588
671
  : undefined, children: [node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsx(QueryBuilderFilterGroupConditionEditor, { node: node, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeExistsNodeData && (_jsx(QueryBuilderFilterExistsConditionEditor, { node: node, humanizePropertyName: filterState.queryBuilderState.explorerState
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, {}) }) }))] }) }));
672
+ .humanizePropertyName, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeConditionNodeData && (_jsx(QueryBuilderFilterConditionEditor, { node: node, isDragOver: deepIsDragOver })), 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, {}) }) }))] }) }));
590
673
  });
591
674
  const QueryBuilderFilterTreeNodeView = observer((props) => {
592
675
  const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
@@ -666,8 +749,8 @@ export const QueryBuilderFilterPanel = observer((props) => {
666
749
  if (type === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE) {
667
750
  if (item
668
751
  .columnState instanceof QueryBuilderSimpleProjectionColumnState) {
669
- propertyExpression = item
670
- .columnState.propertyExpressionState.propertyExpression;
752
+ propertyExpression = cloneAbstractPropertyExpression(item
753
+ .columnState.propertyExpressionState.propertyExpression, queryBuilderState.observerContext);
671
754
  }
672
755
  else {
673
756
  throw new UnsupportedOperationError(`Dragging and Dropping derivation projection column is not supported.`);
@@ -686,7 +769,7 @@ export const QueryBuilderFilterPanel = observer((props) => {
686
769
  applicationStore.notificationService.notifyWarning(error.message);
687
770
  return;
688
771
  }
689
- }, [applicationStore, filterState]);
772
+ }, [applicationStore, filterState, queryBuilderState.observerContext]);
690
773
  const [{ isDragOver }, dropTargetConnector] = useDrop(() => ({
691
774
  accept: queryBuilderState.TEMPORARY__isDnDFetchStructureToFilterSupported
692
775
  ? CAN_DROP_MAIN_GROUP_DND_TYPES_FETCH_SUPPORTED
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,WAAW,EACX,UAAU,EACV,OAAO,EACP,SAAS,GACV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EACR,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,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAEL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,+BAA+B,EAC/B,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAA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,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,EACL,MAAM,EACN,QAAQ,EACR,WAAW,EACX,UAAU,EACV,OAAO,EACP,SAAS,GACV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EACR,cAAc,EACd,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,6BAA6B,EAC7B,oBAAoB,EACpB,uCAAuC,EACvC,4CAA4C,EAC5C,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,EAEvC,kCAAkC,EAClC,gDAAgD,EAChD,oBAAoB,GAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAEL,+CAA+C,EA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AAC,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"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { Type } from '@finos/legend-graph';
17
+ import type { QueryBuilderFilterValueDropTarget } from '../../stores/filter/QueryBuilderFilterState.js';
18
+ export declare const getDNDItemType: (item: QueryBuilderFilterValueDropTarget, type: string) => Type | undefined;
19
+ //# sourceMappingURL=QueryBuilderFilterHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderFilterHelper.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderFilterHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAShD,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,gDAAgD,CAAC;AAMxG,eAAO,MAAM,cAAc,SACnB,iCAAiC,QACjC,MAAM,KACX,IAAI,GAAG,SAgBT,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
17
+ import { QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
18
+ import { QUERY_BUILDER_VARIABLE_DND_TYPE, } from './BasicValueSpecificationEditor.js';
19
+ export const getDNDItemType = (item, type) => {
20
+ switch (type) {
21
+ case QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE:
22
+ return item.columnState.getColumnType();
23
+ case QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY:
24
+ case QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY:
25
+ return item.node.property
26
+ .genericType.value.rawType;
27
+ case QUERY_BUILDER_VARIABLE_DND_TYPE:
28
+ return item.variable.genericType
29
+ ?.value.rawType;
30
+ default:
31
+ return undefined;
32
+ }
33
+ };
34
+ //# sourceMappingURL=QueryBuilderFilterHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderFilterHelper.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderFilterHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oCAAoC,GAErC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,wCAAwC,GAEzC,MAAM,kFAAkF,CAAC;AAE1F,OAAO,EACL,+BAA+B,GAEhC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAuC,EACvC,IAAY,EACM,EAAE;IACpB,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,wCAAwC;YAC3C,OACE,IACD,CAAC,WAAW,CAAC,aAAa,EAAE,CAAC;QAChC,KAAK,oCAAoC,CAAC,aAAa,CAAC;QACxD,KAAK,oCAAoC,CAAC,kBAAkB;YAC1D,OAAQ,IAA2C,CAAC,IAAI,CAAC,QAAQ;iBAC9D,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;QAC/B,KAAK,+BAA+B;YAClC,OAAQ,IAAuC,CAAC,QAAQ,CAAC,WAAW;gBAClE,EAAE,KAAK,CAAC,OAAO,CAAC;QACpB;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC,CAAC"}
@@ -62,7 +62,7 @@ export const QueryBuilderPropertyInfoTooltip = (props) => {
62
62
  {
63
63
  label: 'Path',
64
64
  value: path,
65
- actionButton: explorerState ? (_jsx("div", { className: "query-builder__tooltip__item__action", children: _jsx("button", { onClick: () => explorerState.highlightTreeNode(path), title: "Show in tree", children: _jsx(ShareBoxIcon, { color: "white" }) }) })) : undefined,
65
+ actionButton: explorerState ? (_jsx("div", { className: "query-builder__tooltip__item__action", children: _jsx("button", { onClick: () => explorerState.highlightTreeNode(path), title: "Show in tree", children: _jsx(ShareBoxIcon, {}) }) })) : undefined,
66
66
  },
67
67
  {
68
68
  label: 'Multiplicity',
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,YAAY,EAEZ,O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AC,IAAI;SAC1D;QACD;YACE,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;SAC/B;KACF,CAAC;IAEF,OAAO,CACL,KAAC,2BAA2B,IAC1B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,aAAa,EACX,KAAC,kCAAkC,IACjC,YAAY,EAAE,QAAQ,CAAC,YAAY,GACnC,YAGH,QAAQ,GACmB,CAC/B,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAKzC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnD,MAAM,IAAI,GAAG;QACX;YACE,KAAK,EAAE,MAAM;YACb,KAAK,EAAE,IAAI,EAAE,IAAI,IAAI,WAAW;SACjC;KACF,CAAC;IAEF,OAAO,CACL,KAAC,2BAA2B,IAC1B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACmB,CAC/B,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,YAAY,EAEZ,OAAO,EACP,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,YAAY,EAA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