@finos/legend-query-builder 4.13.4 → 4.13.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +6 -4
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +6 -3
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -1
- package/lib/components/data-access/DataAccessOverview.js +33 -34
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +2 -1
- 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 +2 -1
- 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/package.json +1 -1
- package/package.json +5 -5
- package/src/__lib__/QueryBuilderTesting.ts +6 -3
- package/src/components/data-access/DataAccessOverview.tsx +27 -35
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +5 -1
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +5 -1
@@ -20,7 +20,6 @@ export declare enum QUERY_BUILDER_TEST_ID {
|
|
20
20
|
QUERY_BUILDER_TDS_PROJECTION = "query__builder__tds__projection",
|
21
21
|
QUERY_BUILDER_TDS = "query__builder__tds",
|
22
22
|
QUERY_BUILDER_TDS_PROJECTION_COLUMN = "QUERY_BUILDER_TDS_PROJECTION_COLUMN",
|
23
|
-
QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
|
24
23
|
QUERY_BUILDER_GRAPH_FETCH = "query__builder__graph__fetch",
|
25
24
|
QUERY_BUILDER_FILTER_PANEL = "query__builder__filter__panel",
|
26
25
|
QUERY_BUILDER_FILTER_TREE = "query__builder__filter__tree",
|
@@ -32,9 +31,12 @@ export declare enum QUERY_BUILDER_TEST_ID {
|
|
32
31
|
QUERY_BUILDER_WINDOW_GROUPBY = "query__builder__window",
|
33
32
|
QUERY_BUILDER_EXPLORER = "query__builder__explorer",
|
34
33
|
QUERY_BUILDER_PROPERTY_SEARCH_PANEL = "query__builder__property__search__panel",
|
35
|
-
QUERY_BUILDER_RESULT_PANEL = "query__builder__result__panel",
|
36
|
-
QUERY_BUILDER_RESULT_ANALYTICS = "query__builder__result__analytics",
|
37
34
|
QUERY_BUILDER_PARAMETERS = "query-builder__parameters",
|
38
|
-
QUERY_BUILDER_CONSTANTS = "query-builder__constants"
|
35
|
+
QUERY_BUILDER_CONSTANTS = "query-builder__constants",
|
36
|
+
QUERY_BUILDER_RESULT_VALUES = "QUERY_BUILDER_RESULT_VALUES",
|
37
|
+
QUERY_BUILDER_RESULT_VALUES_TDS = "QUERY_BUILDER_RESULT_VALUES_TDS",
|
38
|
+
QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
|
39
|
+
QUERY_BUILDER_RESULT_PANEL = "query__builder__result__panel",
|
40
|
+
QUERY_BUILDER_RESULT_ANALYTICS = "query__builder__result__analytics"
|
39
41
|
}
|
40
42
|
//# sourceMappingURL=QueryBuilderTesting.d.ts.map
|
@@ -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,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,
|
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,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,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,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;IAEpD,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;CACrE"}
|
@@ -21,7 +21,6 @@ export var QUERY_BUILDER_TEST_ID;
|
|
21
21
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_PROJECTION"] = "query__builder__tds__projection";
|
22
22
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS"] = "query__builder__tds";
|
23
23
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_PROJECTION_COLUMN"] = "QUERY_BUILDER_TDS_PROJECTION_COLUMN";
|
24
|
-
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
|
25
24
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_GRAPH_FETCH"] = "query__builder__graph__fetch";
|
26
25
|
// filter panel
|
27
26
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FILTER_PANEL"] = "query__builder__filter__panel";
|
@@ -35,9 +34,13 @@ export var QUERY_BUILDER_TEST_ID;
|
|
35
34
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_WINDOW_GROUPBY"] = "query__builder__window";
|
36
35
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_EXPLORER"] = "query__builder__explorer";
|
37
36
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_PROPERTY_SEARCH_PANEL"] = "query__builder__property__search__panel";
|
38
|
-
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_PANEL"] = "query__builder__result__panel";
|
39
|
-
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_ANALYTICS"] = "query__builder__result__analytics";
|
40
37
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_PARAMETERS"] = "query-builder__parameters";
|
41
38
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_CONSTANTS"] = "query-builder__constants";
|
39
|
+
// result panel
|
40
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_VALUES"] = "QUERY_BUILDER_RESULT_VALUES";
|
41
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_VALUES_TDS"] = "QUERY_BUILDER_RESULT_VALUES_TDS";
|
42
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
|
43
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_PANEL"] = "query__builder__result__panel";
|
44
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_ANALYTICS"] = "query__builder__result__analytics";
|
42
45
|
})(QUERY_BUILDER_TEST_ID || (QUERY_BUILDER_TEST_ID = {}));
|
43
46
|
//# sourceMappingURL=QueryBuilderTesting.js.map
|
@@ -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,qBA6BX;AA7BD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,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,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;IACpD,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;AACtE,CAAC,EA7BW,qBAAqB,KAArB,qBAAqB,QA6BhC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataAccessOverview.d.ts","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,6CAA6C,CAAC;
|
1
|
+
{"version":3,"file":"DataAccessOverview.d.ts","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,6CAA6C,CAAC;AAiPrD,eAAO,MAAM,kBAAkB,WACrB;IACN,eAAe,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;;CA+EF,CAAC"}
|
@@ -24,45 +24,39 @@ import { Doughnut } from 'react-chartjs-2';
|
|
24
24
|
import { getNullableFirstEntry } from '@finos/legend-shared';
|
25
25
|
const DataAccessOverviewChart = observer((props) => {
|
26
26
|
const { dataAccessState } = props;
|
27
|
-
const applicationStore = useApplicationStore();
|
28
27
|
const entitlementCheckInfo = dataAccessState.entitlementCheckInfo;
|
29
28
|
const total = entitlementCheckInfo.total;
|
30
29
|
const accessGrantedCount = getNullableFirstEntry(entitlementCheckInfo.data)?.count ?? 0;
|
31
30
|
const accessGrantedPercentage = getNullableFirstEntry(entitlementCheckInfo.data)?.percentage ?? 0;
|
32
|
-
return (
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
callbacks: {
|
58
|
-
labelPointStyle: () => ({
|
59
|
-
pointStyle: 'rectRounded',
|
60
|
-
rotation: 0,
|
61
|
-
}),
|
62
|
-
},
|
31
|
+
return (_jsx("div", { className: "data-access-overview__chart", children: _jsxs("div", { className: "data-access-overview__chart__container", children: [_jsx(Doughnut, { data: {
|
32
|
+
labels: entitlementCheckInfo.data.map((item) => item.label),
|
33
|
+
datasets: [
|
34
|
+
{
|
35
|
+
data: entitlementCheckInfo.data.map((item) => item.count),
|
36
|
+
backgroundColor: entitlementCheckInfo.data.map((item) => item.color),
|
37
|
+
hoverBorderWidth: 0,
|
38
|
+
borderWidth: 0,
|
39
|
+
},
|
40
|
+
],
|
41
|
+
}, options: {
|
42
|
+
responsive: true,
|
43
|
+
resizeDelay: 0,
|
44
|
+
maintainAspectRatio: false,
|
45
|
+
cutout: '75%',
|
46
|
+
plugins: {
|
47
|
+
tooltip: {
|
48
|
+
enabled: total !== 0,
|
49
|
+
usePointStyle: false,
|
50
|
+
boxPadding: 5,
|
51
|
+
callbacks: {
|
52
|
+
labelPointStyle: () => ({
|
53
|
+
pointStyle: 'rectRounded',
|
54
|
+
rotation: 0,
|
55
|
+
}),
|
63
56
|
},
|
64
57
|
},
|
65
|
-
}
|
58
|
+
},
|
59
|
+
} }), _jsxs("div", { className: "data-access-overview__chart__stats", children: [_jsxs("div", { className: "data-access-overview__chart__stats__percentage", children: [total === 0 ? 0 : accessGrantedPercentage, "%"] }), _jsxs("div", { className: "data-access-overview__chart__stats__tally", children: [total === 0 ? 0 : accessGrantedCount, "/", total] })] })] }) }));
|
66
60
|
});
|
67
61
|
const AccessStatusCellRenderer = observer((params) => {
|
68
62
|
const { data, dataAccessState } = params;
|
@@ -159,6 +153,11 @@ export const DataAccessOverview = observer((props) => {
|
|
159
153
|
return (_jsxs("div", { className: clsx('data-access-overview', {
|
160
154
|
'data-access-overview--compact': Boolean(compact),
|
161
155
|
}), children: [_jsx(PanelLoadingIndicator, { isLoading: dataAccessState.surveyDatasetsState.isInProgress ||
|
162
|
-
dataAccessState.checkEntitlementsState.isInProgress }),
|
156
|
+
dataAccessState.checkEntitlementsState.isInProgress }), _jsxs("div", { className: "data-access-overview__actions", children: [Boolean(dataAccessState.datasets.find((dataset) => dataset.entitlementReport instanceof
|
157
|
+
DatasetEntitlementUnsupportedReport)) && (_jsx("div", { className: "data-access-overview__actions__warning", children: "Use case is not fully supported!" })), _jsx("button", { className: "data-access-overview__actions__refresh-btn btn--dark", tabIndex: -1, title: "Refresh", onClick: () => {
|
158
|
+
dataAccessState
|
159
|
+
.refresh()
|
160
|
+
.catch(applicationStore.alertUnhandledError);
|
161
|
+
}, children: _jsx(RefreshIcon, {}) })] }), _jsxs("div", { className: "data-access-overview__datasets", children: [_jsx("div", { className: "data-access-overview__header", children: "DATASET ENTITLEMENTS" }), _jsx(DataAccessOverviewChart, { dataAccessState: dataAccessState }), _jsx(DataAccessOverviewGrid, { dataAccessState: dataAccessState })] }), warehouseEntitlementTab] }));
|
163
162
|
});
|
164
163
|
//# sourceMappingURL=DataAccessOverview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAKhE,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,sCAAsC,EACtC,qCAAqC,EACrC,wCAAwC,EACxC,uCAAuC,EACvC,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,MAAM,uBAAuB,GAAG,QAAQ,CACtC,CAAC,KAA2C,EAAE,EAAE;IAC9C,MAAM,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAClC,MAAM,
|
1
|
+
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,E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,IAAI,CACH,cAAK,SAAS,EAAC,wCAAwC,iDAEjD,CACP,EACD,iBACE,SAAS,EAAC,sDAAsD,EAChE,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,GAAG,EAAE;4BACZ,eAAe;iCACZ,OAAO,EAAE;iCACT,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;wBACjD,CAAC,YAED,KAAC,WAAW,KAAG,GACR,IACL,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC7C,cAAK,SAAS,EAAC,8BAA8B,qCAEvC,EACN,KAAC,uBAAuB,IAAC,eAAe,EAAE,eAAe,GAAI,EAC7D,KAAC,sBAAsB,IAAC,eAAe,EAAE,eAAe,GAAI,IACxD,EACL,uBAAuB,IACpB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAsM9E,eAAO,MAAM,yBAAyB,WAC5B;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CA+LF,CAAC"}
|
@@ -24,6 +24,7 @@ import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryB
|
|
24
24
|
import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
|
25
25
|
import { isNumber, isString, isValidURL } from '@finos/legend-shared';
|
26
26
|
import { useApplicationStore } from '@finos/legend-application';
|
27
|
+
import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
|
27
28
|
const getAggregationTDSColumnCustomizations = (result, columnName) => {
|
28
29
|
const columnType = result.builder.columns.find((col) => col.name === columnName)?.type;
|
29
30
|
switch (columnType) {
|
@@ -223,7 +224,7 @@ export const QueryBuilderTDSGridResult = observer((props) => {
|
|
223
224
|
resultState.mousedOverCell,
|
224
225
|
resultState.queryBuilderState.fetchStructureState.implementation,
|
225
226
|
]);
|
226
|
-
return (_jsx("div", { className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: isLocalModeEnabled ? (_jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), onGridReady: (params) => {
|
227
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_VALUES_TDS, className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: isLocalModeEnabled ? (_jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), onGridReady: (params) => {
|
227
228
|
setColumnApi(params.columnApi);
|
228
229
|
params.columnApi.setPivotMode(resultState.gridConfig.isPivotModeEnabled);
|
229
230
|
}, gridOptions: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AA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B,EAAE,KAAK,EAC7B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,EACnB,mBAAmB,EAAE,CAAC,MAAM,EAAoC,EAAE,CAChE,mBAAmB,CAAC,MAAM,CAAC,GAE7B,CACH,GACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAEL,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAEL,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AA2T7B,eAAO,MAAM,+BAA+B,WAClC;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAiDF,CAAC"}
|
@@ -22,6 +22,7 @@ import { getRowDataFromExecutionResult, QueryBuilderGridResultContextMenu, } fro
|
|
22
22
|
import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
23
23
|
import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
|
24
24
|
import { isNumber, isString, isValidURL } from '@finos/legend-shared';
|
25
|
+
import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
|
25
26
|
const QueryResultCellRenderer = observer((params) => {
|
26
27
|
const resultState = params.resultState;
|
27
28
|
const tdsExecutionResult = params.tdsExecutionResult;
|
@@ -210,7 +211,7 @@ export const QueryBuilderTDSSimpleGridResult = observer((props) => {
|
|
210
211
|
tdsExecutionResult: executionResult,
|
211
212
|
},
|
212
213
|
}));
|
213
|
-
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: getRowDataFromExecutionResult(executionResult), gridOptions: {
|
214
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_VALUES_TDS, className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(DataGrid, { rowData: getRowDataFromExecutionResult(executionResult), gridOptions: {
|
214
215
|
suppressScrollOnNewData: true,
|
215
216
|
getRowId: (data) => data.data.rowNumber,
|
216
217
|
rowSelection: 'multiple',
|
@@ -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,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,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
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,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,uBAAuB,GAAG,QAAQ,CACtC,CAAC,MAAwC,EAAE,EAAE;IAC3C,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IACvC,MAAM,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IACrD,MAAM,4BAA4B,GAChC,WAAW,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;IACnE,MAAM,gBAAgB,GAAG,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IACxE,MAAM,SAAS,GAAG,MAAM,CAAC,KAA0C,CAAC;IACpE,MAAM,kBAAkB,GAAG,GAAsC,EAAE;QACjE,IAAI,QAAQ,CAAC,SAAS,CAAC,EAAE;YACvB,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE;gBACvC,qBAAqB,EAAE,CAAC;aACzB,CAAC,CAAC,M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