@finos/legend-query-builder 4.13.3 → 4.13.5
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 +47 -34
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.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/components/shared/QueryBuilderRootClassInfoTooltip.d.ts +24 -0
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.d.ts.map +1 -0
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +37 -0
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +1 -0
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +7 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +13 -2
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +8 -8
- package/src/__lib__/QueryBuilderTesting.ts +6 -3
- package/src/components/data-access/DataAccessOverview.tsx +60 -28
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +11 -1
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +5 -1
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +5 -1
- package/src/components/shared/QueryBuilderRootClassInfoTooltip.tsx +79 -0
- package/src/stores/QueryBuilderResultState.ts +1 -0
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +9 -0
- package/src/stores/filter/QueryBuilderFilterState.ts +21 -1
- package/tsconfig.json +1 -0
@@ -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;;CAsFF,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;
|
@@ -142,9 +136,28 @@ export const DataAccessOverview = observer((props) => {
|
|
142
136
|
dataAccessState.refresh().catch(applicationStore.alertUnhandledError);
|
143
137
|
// dataAccessState.intialize().catch(applicationStore.alertUnhandledError);
|
144
138
|
}, [applicationStore, dataAccessState]);
|
139
|
+
const renderWarehouseEntitlementTab = () => {
|
140
|
+
const plugins = applicationStore.pluginManager
|
141
|
+
.getApplicationPlugins()
|
142
|
+
.flatMap((plugin) => plugin.getWarehouseEntitlementRenders?.() ?? []);
|
143
|
+
let warehouseEntitlementRender;
|
144
|
+
for (const plugin of plugins) {
|
145
|
+
warehouseEntitlementRender = plugin.renderer(dataAccessState);
|
146
|
+
if (warehouseEntitlementRender) {
|
147
|
+
break;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
return warehouseEntitlementRender;
|
151
|
+
};
|
152
|
+
const warehouseEntitlementTab = renderWarehouseEntitlementTab();
|
145
153
|
return (_jsxs("div", { className: clsx('data-access-overview', {
|
146
154
|
'data-access-overview--compact': Boolean(compact),
|
147
155
|
}), children: [_jsx(PanelLoadingIndicator, { isLoading: dataAccessState.surveyDatasetsState.isInProgress ||
|
148
|
-
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 && (_jsxs("div", { className: "data-access-overview__warehouse", children: [_jsx("div", { className: "data-access-overview__header", children: "WAREHOUSE ENTITLEMENTS" }), warehouseEntitlementTab] }))] }));
|
149
162
|
});
|
150
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,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,oBAAoB,GAAG,eAAe,CAAC,oBAAoB,CAAC;IAClE,MAAM,KAAK,GAAG,oBAAoB,CAAC,KAAK,CAAC;IACzC,MAAM,kBAAkB,GACtB,qBAAqB,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC,CAAC;IAC/D,MAAM,uBAAuB,GAC3B,qBAAqB,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,UAAU,IAAI,CAAC,CAAC;IAEpE,OAAO,CACL,cAAK,SAAS,EAAC,6BAA6B,YAC1C,eAAK,SAAS,EAAC,wCAAwC,aACrD,KAAC,QAAQ,IACP,IAAI,EAAE;wBACJ,MAAM,EAAE,oBAAo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AqB,IACpB,SAAS,EACP,eAAe,CAAC,mBAAmB,CAAC,YAAY;oBAChD,eAAe,CAAC,sBAAsB,CAAC,YAAY,GAErD,EACF,eAAK,SAAS,EAAC,+BAA+B,aAC3C,OAAO,CACN,eAAe,CAAC,QAAQ,CAAC,IAAI,CAC3B,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,iBAAiB;wBACzB,mCAAmC,CACtC,CACF,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,IAAI,CAC1B,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,8BAA8B,uCAEvC,EACL,uBAAuB,IACpB,CACP,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,EAGL,KAAK,gBAAgB,EAqCtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,gCAAgC,EAQtC,MAAM,oDAAoD,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,OAAO,EACL,KAAK,IAAI,EACT,KAAK,YAAY,EAEjB,KAAK,EAWN,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,EAGL,KAAK,gBAAgB,EAqCtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,gCAAgC,EAQtC,MAAM,oDAAoD,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,OAAO,EACL,KAAK,IAAI,EACT,KAAK,YAAY,EAEjB,KAAK,EAWN,MAAM,qBAAqB,CAAC;AAuC7B,eAAO,MAAM,6BAA6B,SAClC,gCAAgC,qBACnB,iBAAiB,KACnC,OAkBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAiDA,CAAC;AA0JF,eAAO,MAAM,sBAAsB,SAAU,IAAI,KAAG,MAAM,SA8BzD,CAAC;AA4aF,eAAO,MAAM,yBAAyB,WAC5B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAoKjD,CAAC"}
|
@@ -30,6 +30,7 @@ import { QueryBuilderPropertySearchPanel } from './QueryBuilderPropertySearchPan
|
|
30
30
|
import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
31
31
|
import { QueryBuilderSimpleProjectionColumnState } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import { getClassPropertyIcon } from '@finos/legend-lego/graph-editor';
|
33
|
+
import { QueryBuilderRootClassInfoTooltip } from '../shared/QueryBuilderRootClassInfoTooltip.js';
|
33
34
|
const checkForDeprecatedNode = (node, graph, treeData) => {
|
34
35
|
if (node.type instanceof Class && isElementDeprecated(node.type, graph)) {
|
35
36
|
return true;
|
@@ -217,7 +218,7 @@ const QueryBuilderExplorerTreeNodeContainer = observer((props) => {
|
|
217
218
|
: undefined, onClick: selectNode, ref: node.mappingData.mapped && !isExpandable ? dragConnector : undefined, style: {
|
218
219
|
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1) + 0.5}rem`,
|
219
220
|
display: 'flex',
|
220
|
-
}, children: [node instanceof QueryBuilderExplorerTreeRootNodeData && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder-explorer-tree__node__icon", children: [_jsx("div", { className: "query-builder-explorer-tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-explorer-tree__type-icon", children: _jsx(PURE_ClassIcon, {}) })] }), _jsx("div", { className: "tree-view__node__label query-builder-explorer-tree__node__label", children: node.label })] })), (node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
221
|
+
}, children: [node instanceof QueryBuilderExplorerTreeRootNodeData && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder-explorer-tree__node__icon", children: [_jsx("div", { className: "query-builder-explorer-tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-explorer-tree__type-icon", children: _jsx(PURE_ClassIcon, {}) })] }), _jsx("div", { className: "tree-view__node__label query-builder-explorer-tree__node__label query-builder-explorer-tree__node__label--with-action", children: node.label }), _jsx("div", { className: "query-builder-explorer-tree__node__actions", children: _jsx(QueryBuilderRootClassInfoTooltip, { _class: guaranteeNonNullable(queryBuilderState.class), children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) }) })] })), (node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
221
222
|
node instanceof QueryBuilderExplorerTreeSubTypeNodeData) && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder-explorer-tree__node__icon", children: [_jsx("div", { className: "query-builder-explorer-tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-explorer-tree__type-icon", children: renderPropertyTypeIcon(node.type) })] }), _jsxs("div", { className: clsx('tree-view__node__label query-builder-explorer-tree__node__label query-builder-explorer-tree__node__label--with-action', {
|
222
223
|
'query-builder-explorer-tree__node__label--with-preview': allowPreview,
|
223
224
|
}), children: [_jsx("div", { className: clsx('query-builder-explorer-tree__node__label--property__name', {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B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iC,CAAC,YAAY,GAE9D,EACF,KAAC,gBAAgB,IACf,WAAW,EAAE,CAAC,IAAwC,EAAU,EAAE,CAChE,aAAa,CAAC,oBAAoB;4BAChC,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;4BAClC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAErB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC1D,EACD,aAAa,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAC9D,KAAC,iBAAiB,cACf,aAAa,CAAC,iCAAiC,CAAC,OAAO,GACtC,CACrB,CAAC,CAAC,CAAC,CACF,8BACG,CAAC,aAAa,CAAC,QAAQ,IAAI,CAC1B,KAAC,iBAAiB,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ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ridResult.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;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EACL,QAAQ,GAQT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAO1C,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;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;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7B,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAmB;oBACjD,YAAY,EAAE,UAAU;oBACxB,oBAAoB,EAAE,IAAI;iBAC3B;gBACD,oHAAoH;gBACpH,oIAAoI;gBACpI,gBAAgB,EAAE,CAAC,MAAM,EAAE,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,uBAAuB,EAAE,CAAC,KAAK,EAAE,EAAE;oBACjC,MAAM,aAAa,GAAG,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBAClD,WAAW,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;oBACjC,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAC7B,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC,CAClC,CAAC;gBACJ,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,sBAAsB,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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;iBACzB;gBACD,oHAAoH;gBACpH,oIAAoI;gBACpI,gBAAgB,EAAE,CAAC,MAAM,EAAE,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,GACnB,GACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type TooltipPlacement } from '@finos/legend-art';
|
18
|
+
import { type Class } from '@finos/legend-graph';
|
19
|
+
export declare const QueryBuilderRootClassInfoTooltip: React.FC<{
|
20
|
+
_class: Class;
|
21
|
+
children: React.ReactElement;
|
22
|
+
placement?: TooltipPlacement | undefined;
|
23
|
+
}>;
|
24
|
+
//# sourceMappingURL=QueryBuilderRootClassInfoTooltip.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderRootClassInfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderRootClassInfoTooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAgC,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE/E,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,MAAM,EAAE,KAAK,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC1C,CAuDA,CAAC"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { Tooltip } from '@finos/legend-art';
|
18
|
+
import { CORE_PURE_PATH, PURE_DOC_TAG } from '@finos/legend-graph';
|
19
|
+
export const QueryBuilderRootClassInfoTooltip = (props) => {
|
20
|
+
const { _class, children, placement } = props;
|
21
|
+
const documentation = _class.taggedValues
|
22
|
+
.filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
|
23
|
+
CORE_PURE_PATH.PROFILE_DOC &&
|
24
|
+
taggedValue.tag.value.value === PURE_DOC_TAG)
|
25
|
+
.map((taggedValue) => taggedValue.value);
|
26
|
+
return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
|
27
|
+
tooltip: 'query-builder__tooltip',
|
28
|
+
arrow: 'query-builder__tooltip__arrow',
|
29
|
+
tooltipPlacementRight: 'query-builder__tooltip--right',
|
30
|
+
}, TransitionProps: {
|
31
|
+
// disable transition
|
32
|
+
// NOTE: somehow, this is the only workaround we have, if for example
|
33
|
+
// we set `appear = true`, the tooltip will jump out of position
|
34
|
+
timeout: 0,
|
35
|
+
}, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: "Unknown" })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Path" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: _class.path })] }), Boolean(documentation.length) && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: documentation.join('\n\n') })] }))] }), children: children }));
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=QueryBuilderRootClassInfoTooltip.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderRootClassInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderRootClassInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAyB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,qBAAqB,CAAC;AAE/E,MAAM,CAAC,MAAM,gCAAgC,GAIxC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC9C,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY;SACtC,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,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