@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
@@ -18,13 +18,16 @@ export declare enum QUERY_BUILDER_TEST_ID {
|
|
18
18
|
QUERY_BUILDER = "query__builder",
|
19
19
|
QUERY_BUILDER_SETUP = "query__builder__setup",
|
20
20
|
QUERY_BUILDER_TDS = "query__builder__tds",
|
21
|
+
QUERY_BUILDER_TDS_PROJECTION_COLUMN = "QUERY_BUILDER_TDS_PROJECTION_COLUMN",
|
21
22
|
QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
|
22
23
|
QUERY_BUILDER_GRAPH_FETCH = "query__builder__graph__fetch",
|
23
24
|
QUERY_BUILDER_FILTER_PANEL = "query__builder__filter__panel",
|
24
25
|
QUERY_BUILDER_FILTER_TREE = "query__builder__filter__tree",
|
25
26
|
QUERY_BUILDER_FILTER_TREE_NODE = "query__builder__filter__tree__node",
|
26
27
|
QUERY_BUILDER_FILTER_TREE_NODE_CONTENT = "query__builder__filter__tree__node-content",
|
27
|
-
|
28
|
+
QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT = "query__builder__filter__tree__condition__node-content",
|
29
|
+
QUERY_BUILDER_POST_FILTER_PANEL = "query__builder__post__filter-panel",
|
30
|
+
QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTENT = "query__builder__post__filter-tree-node__content",
|
28
31
|
QUERY_BUILDER_WINDOW_GROUPBY = "query__builder__window",
|
29
32
|
QUERY_BUILDER_EXPLORER = "query__builder__explorer",
|
30
33
|
QUERY_BUILDER_PROPERTY_SEARCH_PANEL = "query__builder__property__search__panel",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,wCAAwC,+CAA+C;IACvF,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,
|
1
|
+
{"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,wCAAwC,+CAA+C;IACvF,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAE1G,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IACpE,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;CACrD"}
|
@@ -19,6 +19,7 @@ export var QUERY_BUILDER_TEST_ID;
|
|
19
19
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER"] = "query__builder";
|
20
20
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_SETUP"] = "query__builder__setup";
|
21
21
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS"] = "query__builder__tds";
|
22
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_PROJECTION_COLUMN"] = "QUERY_BUILDER_TDS_PROJECTION_COLUMN";
|
22
23
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
|
23
24
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_GRAPH_FETCH"] = "query__builder__graph__fetch";
|
24
25
|
// filter panel
|
@@ -26,7 +27,10 @@ export var QUERY_BUILDER_TEST_ID;
|
|
26
27
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE"] = "query__builder__filter__tree";
|
27
28
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE_NODE"] = "query__builder__filter__tree__node";
|
28
29
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE_NODE_CONTENT"] = "query__builder__filter__tree__node-content";
|
29
|
-
QUERY_BUILDER_TEST_ID["
|
30
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT"] = "query__builder__filter__tree__condition__node-content";
|
31
|
+
// post filter
|
32
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_POST_FILTER_PANEL"] = "query__builder__post__filter-panel";
|
33
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTENT"] = "query__builder__post__filter-tree-node__content";
|
30
34
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_WINDOW_GROUPBY"] = "query__builder__window";
|
31
35
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_EXPLORER"] = "query__builder__explorer";
|
32
36
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_PROPERTY_SEARCH_PANEL"] = "query__builder__property__search__panel";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAyBX;AAzBD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,gHAAuF,CAAA;IACvF,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,8FAAqE,CAAA;IACrE,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,cAAc;IACd,+FAAsE,CAAA;IACtE,wHAA+F,CAAA;IAC/F,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;AACtD,CAAC,EAzBW,qBAAqB,KAArB,qBAAqB,QAyBhC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA4ExE,eAAO,MAAM,cAAc,QAAS,MAAM,KAAG,MAY5C,CAAC;AAsrBF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsZjD,CAAC"}
|
@@ -18,12 +18,12 @@ import { BlankPanelContent, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuC
|
|
18
18
|
import { format as formatSQL } from 'sql-formatter';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
20
|
import { flowResult } from 'mobx';
|
21
|
-
import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, EnumValueInstanceValue, EnumValueExplicitReference, RelationalExecutionActivities,
|
21
|
+
import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, EnumValueInstanceValue, EnumValueExplicitReference, RelationalExecutionActivities, } from '@finos/legend-graph';
|
22
22
|
import { ActionAlertActionType, ActionAlertType, DEFAULT_TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
|
23
|
-
import { assertErrorThrown, guaranteeNonNullable,
|
23
|
+
import { assertErrorThrown, guaranteeNonNullable, prettyDuration, filterByType, isValidURL, isString, isNumber, } from '@finos/legend-shared';
|
24
24
|
import { forwardRef, useRef, useState } from 'react';
|
25
25
|
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderProjectionColumnState, } from '../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
26
|
-
import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from '../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
|
26
|
+
import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, PostFilterValueSpecConditionValueState, } from '../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
|
27
27
|
import { QueryBuilderPostFilterOperator_Equal, QueryBuilderPostFilterOperator_NotEqual, } from '../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js';
|
28
28
|
import { QueryBuilderPostFilterOperator_In, QueryBuilderPostFilterOperator_NotIn, } from '../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js';
|
29
29
|
import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
@@ -68,10 +68,10 @@ const QueryBuilderGridResultContextMenu = observer(forwardRef(function QueryBuil
|
|
68
68
|
.map((ag) => ag.projectionColumnState))[0];
|
69
69
|
const getExistingPostFilterNode = (operators, projectionColumnName) => Array.from(postFilterState.nodes.values())
|
70
70
|
.filter((v) => v instanceof QueryBuilderPostFilterTreeConditionNodeData &&
|
71
|
-
v.condition.
|
71
|
+
v.condition.leftConditionValue instanceof
|
72
72
|
QueryBuilderProjectionColumnState)
|
73
73
|
.filter((n) => n.condition
|
74
|
-
.
|
74
|
+
.leftConditionValue.columnName ===
|
75
75
|
(projectionColumnName ?? projectionColumnState?.columnName) &&
|
76
76
|
operators
|
77
77
|
.map((op) => op.getLabel())
|
@@ -95,13 +95,13 @@ const QueryBuilderGridResultContextMenu = observer(forwardRef(function QueryBuil
|
|
95
95
|
.map((ag) => ag.projectionColumnState))[0]
|
96
96
|
: projectionColumnState;
|
97
97
|
if (possibleProjectionColumnState) {
|
98
|
-
postFilterConditionState = new PostFilterConditionState(postFilterState, possibleProjectionColumnState,
|
98
|
+
postFilterConditionState = new PostFilterConditionState(postFilterState, possibleProjectionColumnState, operator);
|
99
99
|
if (projectionColumnState instanceof
|
100
100
|
QueryBuilderDerivationProjectionColumnState) {
|
101
101
|
await flowResult(projectionColumnState.fetchDerivationLambdaReturnType());
|
102
102
|
}
|
103
103
|
const defaultFilterConditionValue = postFilterConditionState.operator.getDefaultFilterConditionValue(postFilterConditionState);
|
104
|
-
postFilterConditionState.
|
104
|
+
postFilterConditionState.buildFromValueSpec(defaultFilterConditionValue);
|
105
105
|
updateFilterConditionValue(defaultFilterConditionValue, cellData);
|
106
106
|
postFilterState.addNodeFromNode(new QueryBuilderPostFilterTreeConditionNodeData(undefined, postFilterConditionState), undefined);
|
107
107
|
}
|
@@ -122,35 +122,38 @@ const QueryBuilderGridResultContextMenu = observer(forwardRef(function QueryBuil
|
|
122
122
|
return;
|
123
123
|
}
|
124
124
|
const conditionState = existingPostFilterNode.condition;
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
125
|
+
const rightSide = conditionState.rightConditionValue;
|
126
|
+
if (rightSide instanceof PostFilterValueSpecConditionValueState) {
|
127
|
+
if (conditionState.operator.getLabel() === operator.getLabel()) {
|
128
|
+
const doesValueAlreadyExist = rightSide.value instanceof InstanceValue &&
|
129
|
+
(rightSide.value instanceof EnumValueInstanceValue
|
130
|
+
? rightSide.value.values.map((ef) => ef.value.name)
|
131
|
+
: rightSide.value.values).includes(cellData.value);
|
132
|
+
if (!doesValueAlreadyExist) {
|
133
|
+
const currentValueSpecificaton = rightSide.value;
|
134
|
+
const newValueSpecification = conditionState.operator.getDefaultFilterConditionValue(conditionState);
|
135
|
+
updateFilterConditionValue(newValueSpecification, cellData);
|
136
|
+
conditionState.changeOperator(isFilterBy ? postFilterInOperator : postFilterNotInOperator);
|
137
|
+
instanceValue_setValues(rightSide.value, [currentValueSpecificaton, newValueSpecification], tdsState.queryBuilderState.observerContext);
|
138
|
+
}
|
136
139
|
}
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
140
|
+
else {
|
141
|
+
const doesValueAlreadyExist = rightSide.value instanceof InstanceValue &&
|
142
|
+
rightSide.value.values
|
143
|
+
.filter((v) => v instanceof InstanceValue)
|
144
|
+
.map((v) => v instanceof EnumValueInstanceValue
|
145
|
+
? v.values.map((ef) => ef.value.name)
|
146
|
+
: v.values)
|
147
|
+
.flat()
|
148
|
+
.includes(cellData.value ?? data?.value);
|
149
|
+
if (!doesValueAlreadyExist) {
|
150
|
+
const newValueSpecification = (isFilterBy ? postFilterEqualOperator : postFilterNotEqualOperator).getDefaultFilterConditionValue(conditionState);
|
151
|
+
updateFilterConditionValue(newValueSpecification, cellData);
|
152
|
+
instanceValue_setValues(rightSide.value, [
|
153
|
+
...rightSide.value.values,
|
154
|
+
newValueSpecification,
|
155
|
+
], tdsState.queryBuilderState.observerContext);
|
156
|
+
}
|
154
157
|
}
|
155
158
|
}
|
156
159
|
};
|
@@ -190,16 +193,29 @@ const QueryBuilderGridResultContextMenu = observer(forwardRef(function QueryBuil
|
|
190
193
|
});
|
191
194
|
};
|
192
195
|
const handleCopyCellValue = applicationStore.guardUnhandledError(() => applicationStore.clipboardService.copyTextToClipboard(data?.value?.toString() ?? ''));
|
193
|
-
const
|
196
|
+
const findSelectedCellRowData = () => {
|
194
197
|
if (!tdsState.queryBuilderState.resultState.executionResult ||
|
195
198
|
!(tdsState.queryBuilderState.resultState.executionResult instanceof
|
196
199
|
TDSExecutionResult)) {
|
197
|
-
return
|
200
|
+
return '';
|
198
201
|
}
|
199
|
-
|
202
|
+
const rowData = tdsState.queryBuilderState.resultState.rowData.find((rData) => rData.rowNumber ===
|
203
|
+
tdsState.queryBuilderState.resultState.selectedCells[0]?.coordinates
|
204
|
+
.rowIndex);
|
205
|
+
// try to get the entire row value separated by comma
|
206
|
+
// rowData is in format of {columnName: value, columnName1: value, ...., rowNumber:value}
|
207
|
+
const valueArr = [];
|
208
|
+
if (rowData) {
|
209
|
+
Object.entries(rowData).forEach((entry) => {
|
210
|
+
if (entry[0] !== 'rowNumber') {
|
211
|
+
valueArr.push(entry[1]);
|
212
|
+
}
|
213
|
+
});
|
214
|
+
return valueArr.join(',');
|
215
|
+
}
|
216
|
+
return '';
|
200
217
|
};
|
201
|
-
const handleCopyRowValue = applicationStore.guardUnhandledError(() => applicationStore.clipboardService.copyTextToClipboard(
|
202
|
-
.rowIndex ?? 0).toString()));
|
218
|
+
const handleCopyRowValue = applicationStore.guardUnhandledError(() => applicationStore.clipboardService.copyTextToClipboard(findSelectedCellRowData()));
|
203
219
|
return (_jsxs(MenuContent, { ref: ref, children: [_jsx(MenuContentItem, { disabled: !projectionColumnState, onClick: () => {
|
204
220
|
filterByOrOutValues(true);
|
205
221
|
}, children: "Filter By" }), _jsx(MenuContentItem, { disabled: !projectionColumnState, onClick: () => {
|
@@ -221,45 +237,28 @@ const QueryResultCellRenderer = observer((params) => {
|
|
221
237
|
};
|
222
238
|
const cellValueUrlLink = isString(cellValue) && isValidURL(cellValue) ? cellValue : undefined;
|
223
239
|
const columnName = params.column?.getColId() ?? '';
|
224
|
-
const findCoordinatesFromResultValue = (
|
225
|
-
const colIndex = tdsExecutionResult.result.columns.findIndex((col) => col ===
|
240
|
+
const findCoordinatesFromResultValue = (colName, rowNumber) => {
|
241
|
+
const colIndex = tdsExecutionResult.result.columns.findIndex((col) => col === colName);
|
226
242
|
return { rowIndex: rowNumber, colIndex: colIndex };
|
227
243
|
};
|
228
|
-
const currentCellCoordinates = findCoordinatesFromResultValue(columnName, params.
|
244
|
+
const currentCellCoordinates = findCoordinatesFromResultValue(columnName, params.data.rowNumber);
|
229
245
|
const cellInFilteredResults = resultState.selectedCells.some((result) => result.coordinates.colIndex === currentCellCoordinates.colIndex &&
|
230
246
|
result.coordinates.rowIndex === currentCellCoordinates.rowIndex);
|
231
|
-
const
|
247
|
+
const findColumnNameFromColumnIndex = (colIndex) => {
|
232
248
|
if (!resultState.executionResult ||
|
233
249
|
!(resultState.executionResult instanceof TDSExecutionResult)) {
|
234
250
|
return undefined;
|
235
251
|
}
|
236
252
|
return resultState.executionResult.result.columns[colIndex];
|
237
253
|
};
|
238
|
-
const findResultValueFromCoordinates = (
|
239
|
-
const rowIndex = resultCoordinate[0];
|
240
|
-
const colIndex = resultCoordinate[1];
|
241
|
-
if (!resultState.executionResult ||
|
242
|
-
!(resultState.executionResult instanceof TDSExecutionResult)) {
|
243
|
-
return undefined;
|
244
|
-
}
|
245
|
-
if (params.columnApi.getColumnState()[colIndex]?.sort === 'asc') {
|
246
|
-
resultState.executionResult.result.rows.sort((a, b) => getTDSRowRankByColumnInAsc(a, b, colIndex));
|
247
|
-
}
|
248
|
-
else if (params.columnApi.getColumnState()[colIndex]?.sort === 'desc') {
|
249
|
-
resultState.executionResult.result.rows.sort((a, b) => getTDSRowRankByColumnInAsc(b, a, colIndex));
|
250
|
-
}
|
251
|
-
return resultState.executionResult.result.rows[rowIndex]?.values[colIndex];
|
252
|
-
};
|
254
|
+
const findResultValueFromCoordinates = (rowIndex, colName) => resultState.rowData.find((data) => data.rowNumber === rowIndex)[colName];
|
253
255
|
const isCoordinatesSelected = (resultCoordinate) => resultState.selectedCells.some((cell) => cell.coordinates.rowIndex === resultCoordinate.rowIndex &&
|
254
256
|
cell.coordinates.colIndex === resultCoordinate.colIndex);
|
255
257
|
const mouseDown = (event) => {
|
256
258
|
event.preventDefault();
|
257
259
|
if (event.shiftKey) {
|
258
|
-
const coordinates = findCoordinatesFromResultValue(columnName, params.
|
259
|
-
const actualValue = findResultValueFromCoordinates(
|
260
|
-
coordinates.rowIndex,
|
261
|
-
coordinates.colIndex,
|
262
|
-
]);
|
260
|
+
const coordinates = findCoordinatesFromResultValue(columnName, params.data.rowNumber);
|
261
|
+
const actualValue = findResultValueFromCoordinates(coordinates.rowIndex, columnName);
|
263
262
|
resultState.addSelectedCell({
|
264
263
|
value: actualValue,
|
265
264
|
columnName: columnName,
|
@@ -270,11 +269,8 @@ const QueryResultCellRenderer = observer((params) => {
|
|
270
269
|
if (event.button === 0) {
|
271
270
|
resultState.setIsSelectingCells(true);
|
272
271
|
resultState.setSelectedCells([]);
|
273
|
-
const coordinates = findCoordinatesFromResultValue(columnName, params.
|
274
|
-
const actualValue = findResultValueFromCoordinates(
|
275
|
-
coordinates.rowIndex,
|
276
|
-
coordinates.colIndex,
|
277
|
-
]);
|
272
|
+
const coordinates = findCoordinatesFromResultValue(columnName, params.data.rowNumber);
|
273
|
+
const actualValue = findResultValueFromCoordinates(coordinates.rowIndex, columnName);
|
278
274
|
resultState.setSelectedCells([
|
279
275
|
{
|
280
276
|
value: actualValue,
|
@@ -285,13 +281,10 @@ const QueryResultCellRenderer = observer((params) => {
|
|
285
281
|
resultState.setMouseOverCell(resultState.selectedCells[0] ?? null);
|
286
282
|
}
|
287
283
|
if (event.button === 2) {
|
288
|
-
const coordinates = findCoordinatesFromResultValue(columnName, params.
|
284
|
+
const coordinates = findCoordinatesFromResultValue(columnName, params.data.rowNumber);
|
289
285
|
const isInSelected = isCoordinatesSelected(coordinates);
|
290
286
|
if (!isInSelected) {
|
291
|
-
const actualValue = findResultValueFromCoordinates(
|
292
|
-
coordinates.rowIndex,
|
293
|
-
coordinates.colIndex,
|
294
|
-
]);
|
287
|
+
const actualValue = findResultValueFromCoordinates(coordinates.rowIndex, columnName);
|
295
288
|
resultState.setSelectedCells([
|
296
289
|
{
|
297
290
|
value: actualValue,
|
@@ -316,7 +309,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
316
309
|
return;
|
317
310
|
}
|
318
311
|
const firstCorner = results.coordinates;
|
319
|
-
const secondCorner = findCoordinatesFromResultValue(columnName, params.
|
312
|
+
const secondCorner = findCoordinatesFromResultValue(columnName, params.data.rowNumber);
|
320
313
|
resultState.setSelectedCells([results]);
|
321
314
|
const minRow = Math.min(firstCorner.rowIndex, secondCorner.rowIndex);
|
322
315
|
const minCol = Math.min(firstCorner.colIndex, secondCorner.colIndex);
|
@@ -324,10 +317,10 @@ const QueryResultCellRenderer = observer((params) => {
|
|
324
317
|
const maxCol = Math.max(firstCorner.colIndex, secondCorner.colIndex);
|
325
318
|
for (let x = minRow; x <= maxRow; x++) {
|
326
319
|
for (let y = minCol; y <= maxCol; y++) {
|
327
|
-
const actualValue = findResultValueFromCoordinates(
|
320
|
+
const actualValue = findResultValueFromCoordinates(x, findColumnNameFromColumnIndex(y));
|
328
321
|
const valueAndColumnId = {
|
329
322
|
value: actualValue,
|
330
|
-
columnName:
|
323
|
+
columnName: findColumnNameFromColumnIndex(y),
|
331
324
|
coordinates: {
|
332
325
|
rowIndex: x,
|
333
326
|
colIndex: y,
|
@@ -354,19 +347,16 @@ const QueryResultCellRenderer = observer((params) => {
|
|
354
347
|
const QueryBuilderGridResult = observer((props) => {
|
355
348
|
const { executionResult, queryBuilderState } = props;
|
356
349
|
const resultState = queryBuilderState.resultState;
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
return row;
|
368
|
-
});
|
369
|
-
return (_jsx("div", { className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(DataGrid, { rowData: rowData, gridOptions: {
|
350
|
+
return (_jsx("div", { className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(DataGrid, { rowData: queryBuilderState.resultState.getRowData(), onSortChanged: (params) => {
|
351
|
+
const sortedData = [];
|
352
|
+
params.api.forEachNodeAfterFilterAndSort((node, index) => {
|
353
|
+
node.rowIndex = index;
|
354
|
+
// rowNumber has to be manually updated after sorting the column
|
355
|
+
node.data.rowNumber = index;
|
356
|
+
sortedData.push(node.data);
|
357
|
+
});
|
358
|
+
queryBuilderState.resultState.setRowData(sortedData);
|
359
|
+
}, gridOptions: {
|
370
360
|
suppressScrollOnNewData: true,
|
371
361
|
getRowId: (data) => data.data.rowNumber,
|
372
362
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ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EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,EACd,WAAW,CAAC,wBAAwB,IAAI,CACvC,KAAC,gBAAgB,IAAC,WAAW,EAAE,WAAW,GAAI,CAC/C,IACG,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AAC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/react';
|
|
17
17
|
import { type RawMappingModelCoverageAnalysisResult, type RawLambda } from '@finos/legend-graph';
|
18
18
|
import type { Entity } from '@finos/legend-storage';
|
19
19
|
import { type QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
20
|
+
export declare const dragAndDrop: (source: HTMLElement, drop: HTMLElement, panel: HTMLElement, draggingHoverText?: string) => Promise<void>;
|
20
21
|
export declare const TEST__setUpQueryBuilder: (entities: Entity[], lambda: RawLambda, mappingPath: string, runtimePath: string, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult) => Promise<{
|
21
22
|
renderResult: RenderResult;
|
22
23
|
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,
|
1
|
+
{"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EAMlB,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;AAQ3C,eAAO,MAAM,WAAW,WACd,WAAW,QACb,WAAW,SACV,WAAW,sBACE,MAAM,KACzB,QAAQ,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,uBAAuB,aACxB,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC;kBAE/D,YAAY;uBACP,iBAAiB;EAyErC,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 } from '@testing-library/react';
|
17
|
+
import { render, waitFor, fireEvent, findByText, getByText, } from '@testing-library/react';
|
18
18
|
import { LogService } from '@finos/legend-shared';
|
19
19
|
import { createSpy } from '@finos/legend-shared/test';
|
20
20
|
import { GraphManagerState, PackageableElementExplicitReference, RuntimePointer, } from '@finos/legend-graph';
|
@@ -25,6 +25,18 @@ import { INTERNAL__BasicQueryBuilderState, } from '../../stores/QueryBuilderStat
|
|
25
25
|
import { QueryBuilder_GraphManagerPreset } from '../../graph-manager/QueryBuilder_GraphManagerPreset.js';
|
26
26
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
27
27
|
import { TEST__LegendApplicationPluginManager, TEST__getGenericApplicationConfig, } from '../../stores/__test-utils__/QueryBuilderStateTestUtils.js';
|
28
|
+
export const dragAndDrop = async (source, drop, panel, draggingHoverText) => {
|
29
|
+
fireEvent.dragStart(source);
|
30
|
+
fireEvent.dragEnter(drop);
|
31
|
+
fireEvent.dragOver(drop);
|
32
|
+
if (draggingHoverText) {
|
33
|
+
await findByText(panel, draggingHoverText);
|
34
|
+
fireEvent.drop(getByText(panel, draggingHoverText));
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
fireEvent.dragOver(drop);
|
38
|
+
}
|
39
|
+
};
|
28
40
|
export const TEST__setUpQueryBuilder = async (entities, lambda, mappingPath, runtimePath, rawMappingModelCoverageAnalysisResult) => {
|
29
41
|
const MOCK__pluginManager = TEST__LegendApplicationPluginManager.create();
|
30
42
|
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,
|
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,MAAM,sBAAsB,CAAC;AAClD,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;AAEnE,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,EAC9B,MAAmB,EACnB,IAAiB,EACjB,KAAkB,EAClB,iBAA0B,EACX,EAAE;IACjB,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC1B,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,IAAI,iBAAiB,EAAE;QACrB,MAAM,UAAU,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;QAC3C,SAAS,CAAC,IAAI,CAAC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ACxC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAChD,CACF,CACF,CAAC;IAEF,IAAI,qCAAqC,EAAE;QACzC,SAAS,CACP,iBAAiB,CAAC,YAAY,EAC9B,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACpE,qCAAqC,EACrC,OAAO,CACR,CACF,CAAC;KACH;IAED,MAAM,YAAY,GAAG,MAAM,CACzB,KAAC,wBAAwB,IAAC,KAAK,EAAE,sBAAsB,YACrD,KAAC,gCAAgC,cAC/B,KAAC,4BAA4B,cAC3B,KAAC,YAAY,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GACzB,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"}
|
@@ -13,11 +13,11 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { PostFilterConditionState } from '../../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
|
17
16
|
import { type QueryBuilderProjectionColumnState } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
18
17
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
18
|
+
import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
|
19
19
|
export declare const QueryBuilderColumnBadge: ((props: {
|
20
|
-
|
20
|
+
colState: QueryBuilderTDSColumnState;
|
21
21
|
onColumnChange: (columnState: QueryBuilderProjectionColumnState) => Promise<void>;
|
22
22
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
23
23
|
displayName: string;
|
@@ -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;AAuEH,OAAO,EACL,KAAK,iCAAiC,EAIvC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkB3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAsGjH,eAAO,MAAM,uBAAuB;cAEtB,0BAA0B;kCAErB,iCAAiC,KAC3C,QAAQ,IAAI,CAAC;;;CAwErB,CAAC;AAk1BF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgCjD,CAAC"}
|