@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.
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +3 -0
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +12 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +20 -19
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +7 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +137 -54
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/QueryBuilderFilterHelper.d.ts +19 -0
- package/lib/components/shared/QueryBuilderFilterHelper.d.ts.map +1 -0
- package/lib/components/shared/QueryBuilderFilterHelper.js +34 -0
- package/lib/components/shared/QueryBuilderFilterHelper.js.map +1 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/package.json +3 -3
- 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/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +35 -5
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +181 -52
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +2 -2
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +21 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +33 -28
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +9 -3
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +11 -11
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +25 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +29 -26
- package/src/components/filter/QueryBuilderFilterPanel.tsx +335 -106
- package/src/components/shared/QueryBuilderFilterHelper.ts +51 -0
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +1 -1
- package/src/stores/QueryBuilderStateHashUtils.ts +2 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +1 -1
- package/src/stores/filter/QueryBuilderFilterState.ts +284 -74
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +48 -9
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +4 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +52 -47
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -4
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +28 -0
- package/tsconfig.json +1 -0
@@ -21,6 +21,9 @@ export declare const selectFromCustomSelectorInput: (selectorContainer: HTMLElem
|
|
21
21
|
export declare const selectFirstOptionFromCustomSelectorInput: (selectorContainer: HTMLElement, lightMode?: boolean, verifyInputValue?: boolean) => void;
|
22
22
|
export declare const getCustomSelectorInputValue: (selectorContainer: HTMLElement, lightMode?: boolean) => string | null;
|
23
23
|
export declare const dragAndDrop: (source: HTMLElement, drop: HTMLElement, panel: HTMLElement, draggingHoverText?: string) => Promise<void>;
|
24
|
+
export declare const setDerivedPropertyValue: (derivedPropertyButton: HTMLElement, value: string, renderResult: RenderResult, options?: {
|
25
|
+
currentDisplayValue?: string;
|
26
|
+
}) => Promise<void>;
|
24
27
|
export declare const TEST__setUpQueryBuilder: (entities: Entity[], lambda: RawLambda, mappingPath: string, runtimePath: string, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult) => Promise<{
|
25
28
|
renderResult: RenderResult;
|
26
29
|
queryBuilderState: QueryBuilderState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EASlB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,mCAAmC,CAAC;AAiB3C,eAAO,MAAM,6BAA6B,sBACrB,WAAW,cAClB,MAAM,cACN,OAAO,KAClB,IA8CF,CAAC;AAEF,eAAO,MAAM,wCAAwC,sBAChC,WAAW,cAClB,OAAO,qBACA,OAAO,KACzB,IAaF,CAAC;AAEF,eAAO,MAAM,2BAA2B,sBACnB,WAAW,cAClB,OAAO,KAClB,MAAM,GAAG,IAWX,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,WAAW,QACb,WAAW,SACV,WAAW,sBACE,MAAM,KACzB,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,uBAAuB,0BACX,WAAW,SAC3B,MAAM,gBACC,YAAY,YAChB;IACR,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,KACA,OAAO,CAAC,IAAI,CAad,CAAC;AAEF,eAAO,MAAM,uBAAuB,aACxB,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC,KAC5E,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAyEA,CAAC"}
|
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { render, waitFor, fireEvent, findByText, getByText, } from '@testing-library/react';
|
17
|
+
import { render, waitFor, fireEvent, findByText, getByText, getByDisplayValue, findByDisplayValue, getByRole, } from '@testing-library/react';
|
18
18
|
import { LogService, guaranteeNonNullable } from '@finos/legend-shared';
|
19
19
|
import { createSpy } from '@finos/legend-shared/test';
|
20
20
|
import { GraphManagerState, PackageableElementExplicitReference, RuntimePointer, } from '@finos/legend-graph';
|
@@ -93,6 +93,17 @@ export const dragAndDrop = async (source, drop, panel, draggingHoverText) => {
|
|
93
93
|
fireEvent.dragOver(drop);
|
94
94
|
}
|
95
95
|
};
|
96
|
+
export const setDerivedPropertyValue = async (derivedPropertyButton, value, renderResult, options) => {
|
97
|
+
fireEvent.click(derivedPropertyButton);
|
98
|
+
const dpModal = await renderResult.findByRole('dialog');
|
99
|
+
await findByText(dpModal, 'Derived Property');
|
100
|
+
fireEvent.change(getByDisplayValue(dpModal, options?.currentDisplayValue ?? ''), {
|
101
|
+
target: { value },
|
102
|
+
});
|
103
|
+
await findByDisplayValue(dpModal, value);
|
104
|
+
fireEvent.click(getByRole(dpModal, 'button', { name: 'Done' }));
|
105
|
+
await waitFor(() => expect(renderResult.queryByRole('dialog')).toBeNull());
|
106
|
+
};
|
96
107
|
export const TEST__setUpQueryBuilder = async (entities, lambda, mappingPath, runtimePath, rawMappingModelCoverageAnalysisResult) => {
|
97
108
|
const MOCK__pluginManager = TEST__LegendApplicationPluginManager.create();
|
98
109
|
MOCK__pluginManager.usePresets([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAEL,gCAAgC,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAC;AAE7G,MAAM,6BAA6B,GAAG,CAAC,SAAmB,EAAU,EAAE,CACpE,GAAG,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,kBAAkB,mBAAmB,CAAC;AAE5E,MAAM,yBAAyB,GAAG,CAAC,SAAmB,EAAU,EAAE,CAChE,GAAG,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,YAA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,GACE,GACV,CAC5B,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,EAAE,CACjB,YAAY,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAC9D,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAEL,gCAAgC,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM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@@ -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;AA2EH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkB3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAWjH,eAAO,MAAM,6BAA6B,UAGzC,CAAC;AAEF,eAAO,MAAM,mCAAmC,UAI/C,CAAC;AAEF,eAAO,MAAM,oCAAoC,UAIhD,CAAC;AA8FF,eAAO,MAAM,uBAAuB,WAC1B;IACN,QAAQ,EAAE,0BAA0B,CAAC;IACrC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;;CA+CF,CAAC;AAg5BF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA+BjD,CAAC"}
|
@@ -36,6 +36,7 @@ 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
|
+
import { getDNDItemType } from '../shared/QueryBuilderFilterHelper.js';
|
39
40
|
export const CAN_DROP_MAIN_GROUP_DND_TYPES = [
|
40
41
|
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
41
42
|
QUERY_BUILDER_WINDOW_COLUMN_DND_TYPE,
|
@@ -85,17 +86,13 @@ export const QueryBuilderColumnBadge = observer((props) => {
|
|
85
86
|
'query-builder-column-badge__type--primitive': type instanceof PrimitiveType,
|
86
87
|
}), 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, {}) })] }) }));
|
87
88
|
});
|
88
|
-
const
|
89
|
-
const canDropItemOntoNodeValue = (item, condition) => {
|
90
|
-
const itemParameterType = isProjectionColumnDragSource(item)
|
91
|
-
? item.columnState.getColumnType()
|
92
|
-
: item.variable.genericType?.value.rawType;
|
89
|
+
const canDropTypeOntoNodeValue = (type, condition) => {
|
93
90
|
const conditionOperator = condition.operator;
|
94
91
|
const conditionValueType = condition.leftConditionValue.getColumnType();
|
95
92
|
return (conditionValueType !== undefined &&
|
96
93
|
!(conditionOperator instanceof QueryBuilderPostFilterOperator_In) &&
|
97
94
|
!(conditionOperator instanceof QueryBuilderPostFilterOperator_NotIn) &&
|
98
|
-
isTypeCompatibleForAssignment(
|
95
|
+
isTypeCompatibleForAssignment(type, conditionValueType));
|
99
96
|
};
|
100
97
|
const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
101
98
|
const { node, isDragOver } = props;
|
@@ -105,29 +102,33 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
105
102
|
const changeOperator = (val) => () => node.condition.changeOperator(val);
|
106
103
|
const rightConditionValue = node.condition.rightConditionValue;
|
107
104
|
// Drag and Drop on filter condition value
|
108
|
-
const handleDrop = useCallback((item) => {
|
109
|
-
const
|
110
|
-
? item.columnState.getColumnType()
|
111
|
-
: item.variable.genericType?.value.rawType;
|
105
|
+
const handleDrop = useCallback((item, type) => {
|
106
|
+
const itemType = getDNDItemType(item, type);
|
112
107
|
const conditionValueType = node.condition.leftConditionValue.getColumnType();
|
113
|
-
if (
|
114
|
-
if (
|
115
|
-
|
108
|
+
if (canDropTypeOntoNodeValue(itemType, node.condition)) {
|
109
|
+
if (type === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE) {
|
110
|
+
const columnState = item
|
111
|
+
.columnState;
|
112
|
+
node.condition.setRightConditionVal(new PostFilterTDSColumnValueConditionValueState(node.condition, columnState));
|
113
|
+
}
|
114
|
+
else if (type === QUERY_BUILDER_VARIABLE_DND_TYPE) {
|
115
|
+
const variable = item.variable;
|
116
|
+
node.condition.buildFromValueSpec(variable);
|
116
117
|
}
|
117
118
|
else {
|
118
|
-
|
119
|
+
applicationStore.notificationService.notifyWarning(`Dragging and Dropping ${type} to post-filter panel is not supported.`);
|
119
120
|
}
|
120
121
|
}
|
121
122
|
else {
|
122
|
-
applicationStore.notificationService.notifyWarning(`Incompatible parameter type ${
|
123
|
+
applicationStore.notificationService.notifyWarning(`Incompatible parameter type ${itemType?.name}. ${itemType?.name} is not compatible with type ${conditionValueType?.name}.`);
|
123
124
|
}
|
124
125
|
}, [applicationStore, node.condition]);
|
125
126
|
const [{ isFilterValueDragOver }, dropConnector] = useDrop(() => ({
|
126
127
|
accept: CAN_DROP_POST_FILTER_VALUE_DND_TYPES,
|
127
|
-
canDrop: (item) =>
|
128
|
+
canDrop: (item, monitor) => canDropTypeOntoNodeValue(getDNDItemType(item, monitor.getItemType()), node.condition),
|
128
129
|
drop: (item, monitor) => {
|
129
130
|
if (!monitor.didDrop()) {
|
130
|
-
handleDrop(item);
|
131
|
+
handleDrop(item, monitor.getItemType());
|
131
132
|
} // prevent drop event propagation to accomondate for nested DnD
|
132
133
|
},
|
133
134
|
collect: (monitor) => ({
|
@@ -137,7 +138,7 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
137
138
|
const { isFilterValueDroppable } = useDragLayer((monitor) => ({
|
138
139
|
isFilterValueDroppable: monitor.isDragging() &&
|
139
140
|
CAN_DROP_POST_FILTER_VALUE_DND_TYPES.includes(monitor.getItemType()?.toString() ?? '') &&
|
140
|
-
|
141
|
+
canDropTypeOntoNodeValue(getDNDItemType(monitor.getItem(), monitor.getItemType()), node.condition),
|
141
142
|
}));
|
142
143
|
const resetNode = () => {
|
143
144
|
node.condition.buildFromValueSpec(node.condition.operator.getDefaultFilterConditionValue(node.condition));
|
@@ -177,7 +178,7 @@ const QueryBuilderPostFilterConditionEditor = observer((props) => {
|
|
177
178
|
useEffect(() => {
|
178
179
|
node.setIsNewlyAdded(false);
|
179
180
|
}, [node]);
|
180
|
-
return (_jsx("div", { className: "dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver && !isFilterValueDragOver, alwaysShowChildren: true,
|
181
|
+
return (_jsx("div", { className: "dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver && !isFilterValueDragOver, alwaysShowChildren: true, children: _jsxs("div", { className: "query-builder-post-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-post-filter-tree__condition-node__property", children: _jsx(QueryBuilderPropertyNameDisplay, { columnName: node.condition.leftConditionValue.columnName, title: node.condition.leftConditionValue.columnName }) }), _jsxs(ControlledDropdownMenu, { className: "query-builder-post-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-post-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid))) }), menuProps: {
|
181
182
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
182
183
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
183
184
|
elevation: 7,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterPanel.js","sourceRoot":"","sources":["../../../src/components/fet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+
{"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,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,EACZ,UAAU,EACV,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE3D,OAAO,EAGL,wBAAwB,EAExB,2CAA2C,EAC3C,uCAAuC,EACvC,gDAAgD,EAChD,kCAAkC,EAClC,sCAAsC,EACtC,2CAA2C,GAC5C,MAAM,6EAA6E,CAAC;AACrF,OAAO,EAEL,wCAAwC,EACxC,2CAA2C,GAC5C,MAAM,kFAAkF,CAAC;AAE1F,OAAO,EAAE,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ACJ,CAAC,CACF,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type QueryBuilderFilterTreeNodeData, QUERY_BUILDER_FILTER_DND_TYPE, QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeExistsNodeData, type QueryBuilderFilterState } from '../../stores/filter/QueryBuilderFilterState.js';
|
16
|
+
import { type QueryBuilderFilterTreeNodeData, QUERY_BUILDER_FILTER_DND_TYPE, QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeExistsNodeData, type QueryBuilderFilterState, FilterPropertyExpressionStateConditionValueState } from '../../stores/filter/QueryBuilderFilterState.js';
|
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';
|
@@ -27,6 +27,12 @@ export declare const CAN_DROP_FILTER_VALUE_DND_TYPES: string[];
|
|
27
27
|
*/
|
28
28
|
export declare const buildFilterTreeWithExists: (propertyExpression: AbstractPropertyExpression, filterState: QueryBuilderFilterState, targetDropNode?: QueryBuilderFilterTreeNodeData) => void;
|
29
29
|
export declare const buildPropertyExpressionFromExistsNode: (filterState: QueryBuilderFilterState, existsNode: QueryBuilderFilterTreeExistsNodeData, node: QueryBuilderFilterTreeConditionNodeData) => AbstractPropertyExpression;
|
30
|
+
export declare const QueryBuilderFilterPropertyExpressionBadge: ((props: {
|
31
|
+
rightConditionValue: FilterPropertyExpressionStateConditionValueState;
|
32
|
+
resetNode: () => void;
|
33
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
34
|
+
displayName: string;
|
35
|
+
};
|
30
36
|
export declare const QueryBuilderFilterPanel: ((props: {
|
31
37
|
queryBuilderState: QueryBuilderState;
|
32
38
|
}) => 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;
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwCH,OAAO,EAGL,KAAK,8BAA8B,EACnC,6BAA6B,EAE7B,uCAAuC,EAGvC,oCAAoC,EAEpC,KAAK,uBAAuB,EAE5B,gDAAgD,EAGjD,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAGL,oCAAoC,EACrC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgB3E,OAAO,EAGL,0BAA0B,EAS3B,MAAM,qBAAqB,CAAC;AAkC7B,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,UAK3C,CAAC;AAEF;;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;AAsPF,eAAO,MAAM,yCAAyC,WAC5C;IACN,mBAAmB,EAAE,gDAAgD,CAAC;IACtE,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;;CAgEF,CAAC;AAqwBF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAuRjD,CAAC"}
|