@finos/legend-query-builder 4.14.55 → 4.14.57
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +5 -1
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +10 -1
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilder.js +3 -3
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +9 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +10 -8
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryLoader.d.ts.map +1 -1
- package/lib/components/QueryLoader.js +51 -11
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +2 -2
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +12 -2
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +4 -4
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +55 -45
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +5 -5
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +3 -3
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +3 -3
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +2 -2
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +7 -6
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +12 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/QueryLoaderState.d.ts +11 -0
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +15 -3
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +4 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +12 -4
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +2 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +15 -0
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +3 -2
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/package.json +14 -14
- package/src/__lib__/QueryBuilderTesting.ts +10 -1
- package/src/components/QueryBuilder.tsx +5 -5
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +35 -16
- package/src/components/QueryLoader.tsx +69 -9
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +3 -3
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -5
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +3 -3
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +181 -160
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +3 -3
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +9 -9
- package/src/components/filter/QueryBuilderFilterPanel.tsx +5 -5
- package/src/components/result/QueryBuilderResultPanel.tsx +5 -5
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +2 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +7 -5
- package/src/index.ts +24 -2
- package/src/stores/QueryLoaderState.ts +24 -5
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +15 -3
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +39 -0
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +1 -1
@@ -21,7 +21,7 @@ import { DataGrid, } from '@finos/legend-lego/data-grid';
|
|
21
21
|
import { getRowDataFromExecutionResult, QueryBuilderGridResultContextMenu, } from './QueryBuilderTDSResultShared.js';
|
22
22
|
import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
23
23
|
import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
|
24
|
-
import { isBoolean, isNumber, isString, isValidURL, } from '@finos/legend-shared';
|
24
|
+
import { guaranteeNonNullable, isBoolean, isNumber, isString, isValidURL, } from '@finos/legend-shared';
|
25
25
|
import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
|
26
26
|
const QueryResultCellRenderer = observer((params) => {
|
27
27
|
const resultState = params.resultState;
|
@@ -29,6 +29,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
29
29
|
const fetchStructureImplementation = resultState.queryBuilderState.fetchStructureState.implementation;
|
30
30
|
const applicationStore = resultState.queryBuilderState.applicationStore;
|
31
31
|
const cellValue = params.value;
|
32
|
+
const nodeRowIndex = guaranteeNonNullable(params.node.rowIndex);
|
32
33
|
const darkMode = !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;
|
33
34
|
const formattedCellValue = () => {
|
34
35
|
if (isNumber(cellValue)) {
|
@@ -47,7 +48,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
47
48
|
const colIndex = tdsExecutionResult.result.columns.findIndex((col) => col === colId);
|
48
49
|
return { rowIndex: rowNumber, colIndex: colIndex };
|
49
50
|
};
|
50
|
-
const currentCellCoordinates = findCoordinatesFromResultValue(columnName,
|
51
|
+
const currentCellCoordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
|
51
52
|
const cellInFilteredResults = resultState.selectedCells.some((result) => result.coordinates.colIndex === currentCellCoordinates.colIndex &&
|
52
53
|
result.coordinates.rowIndex === currentCellCoordinates.rowIndex);
|
53
54
|
const findColumnFromCoordinates = (colIndex) => {
|
@@ -77,7 +78,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
77
78
|
const mouseDown = (event) => {
|
78
79
|
event.preventDefault();
|
79
80
|
if (event.shiftKey) {
|
80
|
-
const coordinates = findCoordinatesFromResultValue(columnName,
|
81
|
+
const coordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
|
81
82
|
const actualValue = findResultValueFromCoordinates([
|
82
83
|
coordinates.rowIndex,
|
83
84
|
coordinates.colIndex,
|
@@ -92,7 +93,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
92
93
|
if (event.button === 0) {
|
93
94
|
resultState.setIsSelectingCells(true);
|
94
95
|
resultState.setSelectedCells([]);
|
95
|
-
const coordinates = findCoordinatesFromResultValue(columnName,
|
96
|
+
const coordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
|
96
97
|
const actualValue = findResultValueFromCoordinates([
|
97
98
|
coordinates.rowIndex,
|
98
99
|
coordinates.colIndex,
|
@@ -107,7 +108,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
107
108
|
resultState.setMouseOverCell(resultState.selectedCells[0] ?? null);
|
108
109
|
}
|
109
110
|
if (event.button === 2) {
|
110
|
-
const coordinates = findCoordinatesFromResultValue(columnName,
|
111
|
+
const coordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
|
111
112
|
const isInSelected = isCoordinatesSelected(coordinates);
|
112
113
|
if (!isInSelected) {
|
113
114
|
const actualValue = findResultValueFromCoordinates([
|
@@ -138,7 +139,7 @@ const QueryResultCellRenderer = observer((params) => {
|
|
138
139
|
return;
|
139
140
|
}
|
140
141
|
const firstCorner = results.coordinates;
|
141
|
-
const secondCorner = findCoordinatesFromResultValue(columnName,
|
142
|
+
const secondCorner = findCoordinatesFromResultValue(columnName, nodeRowIndex);
|
142
143
|
resultState.setSelectedCells([results]);
|
143
144
|
const minRow = Math.min(firstCorner.rowIndex, secondCorner.rowIndex);
|
144
145
|
const minCol = Math.min(firstCorner.colIndex, secondCorner.colIndex);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,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AAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IACvE,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACnD,MAAM,8BAA8B,GAAG,CACrC,KAAa,EACb,SAAiB,EACoB,EAAE;QACvC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAC1D,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,KAAK,CACvB,CAAC;QACF,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrD,CAAC,CAAC;IAEF,MAAM,sBAAsB,GAAG,8BAA8B,CAC3D,UAAU,EACV,
|
1
|
+
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,GAElC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,uBAAuB,G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