@finos/legend-query-builder 4.13.5 → 4.13.7
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryChat.d.ts.map +1 -1
- package/lib/components/QueryChat.js +3 -3
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -1
- package/lib/components/data-access/DataAccessOverview.js +1 -1
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +2 -2
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/QueryChat.tsx +2 -30
- package/src/components/data-access/DataAccessOverview.tsx +1 -8
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryChat.d.ts","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryChat.d.ts","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,eAAO,MAAM,SAAS,WACZ;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsBjD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsx as _jsx
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
/**
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
4
|
*
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { Dialog
|
18
|
+
import { Dialog } from '@finos/legend-art';
|
19
19
|
import { useApplicationStore } from '@finos/legend-application';
|
20
20
|
export const QueryChat = observer((props) => {
|
21
21
|
const { queryBuilderState } = props;
|
@@ -23,6 +23,6 @@ export const QueryChat = observer((props) => {
|
|
23
23
|
const extraQueryChatConfigurations = applicationStore.pluginManager
|
24
24
|
.getApplicationPlugins()
|
25
25
|
.flatMap((plugin) => plugin.getExtraQueryChatRenderers?.() ?? []);
|
26
|
-
return (_jsx(Dialog, { open: queryBuilderState.isQueryChatOpened, onClose: () => queryBuilderState.setIsQueryChatOpened(false), children:
|
26
|
+
return (_jsx(Dialog, { open: queryBuilderState.isQueryChatOpened, onClose: () => queryBuilderState.setIsQueryChatOpened(false), children: extraQueryChatConfigurations[0]?.(queryBuilderState) }));
|
27
27
|
});
|
28
28
|
//# sourceMappingURL=QueryChat.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryChat.js","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,
|
1
|
+
{"version":3,"file":"QueryChat.js","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAIhE,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAC/B,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,MAAM,4BAA4B,GAAG,gBAAgB,CAAC,aAAa;SAChE,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,CACzC,CAAC;IAEJ,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,EACzC,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,KAAK,CAAC,YAE3D,4BAA4B,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,GAC9C,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -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;AAiPrD,eAAO,MAAM,kBAAkB,WACrB;IACN,eAAe,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;;
|
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"}
|
@@ -158,6 +158,6 @@ export const DataAccessOverview = observer((props) => {
|
|
158
158
|
dataAccessState
|
159
159
|
.refresh()
|
160
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
|
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] }));
|
162
162
|
});
|
163
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,oBAAoB,GAAG,eAAe,CAAC,oBAAoB,CAAC;IAClE,MAAM,KAAK,GAAG,o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AAM,IAAI,OAAO,EAAE;YAC5B,0BAA0B,GAAG,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;YAC9D,IAAI,0BAA0B,EAAE;gBAC9B,MAAM;aACP;SACF;QACD,OAAO,0BAA0B,CAAC;IACpC,CAAC,CAAC;IACF,MAAM,uBAAuB,GAAG,6BAA6B,EAAE,CAAC;IAEhE,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACtC,+BAA+B,EAAE,OAAO,CAAC,OAAO,CAAC;SAClD,CAAC,aAEF,KAAC,qBAAqB,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,
|
1
|
+
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;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A+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,IACpB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -33,7 +33,7 @@ export type QueryExportUsageConfiguration = {
|
|
33
33
|
renderer(): React.ReactNode;
|
34
34
|
};
|
35
35
|
export type WarehouseEntitlementRender = {
|
36
|
-
renderer: (dataAccessState: DataAccessState) => React.ReactNode
|
36
|
+
renderer: (dataAccessState: DataAccessState) => React.ReactNode;
|
37
37
|
};
|
38
38
|
export type QueryChatRenderer = (queryBuilderState: QueryBuilderState) => React.ReactNode;
|
39
39
|
export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendApplicationPlugin {
|
@@ -44,7 +44,7 @@ export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendAp
|
|
44
44
|
/**
|
45
45
|
* Get the list of warehouse entitlement configurations
|
46
46
|
*/
|
47
|
-
getWarehouseEntitlementRenders?(): WarehouseEntitlementRender[]
|
47
|
+
getWarehouseEntitlementRenders?(): WarehouseEntitlementRender[];
|
48
48
|
/**
|
49
49
|
* Get the list of dataset entitlement access report action configurations.
|
50
50
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,QAAQ,EAAE,CACR,IAAI,EAAE,iBAAiB,EACvB,eAAe,EAAE,eAAe,KAC7B,KAAK,CAAC,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;IACnC,QAAQ,IAAI,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,
|
1
|
+
{"version":3,"file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AAuB;IAC/B;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,8BAA8B,CAAC,IAAI,0BAA0B,EAAE,CAAC;IAEhE;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;IAE7H;;OAEG;IACH,gCAAgC,CAAC,IAAI,6BAA6B,EAAE,CAAC;IAErE;;OAEG;IACH,0BAA0B,CAAC,IAAI,iBAAiB,EAAE,CAAC;CACpD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.13.
|
3
|
+
"version": "4.13.7",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -44,8 +44,8 @@
|
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "15.0.61",
|
46
46
|
"@finos/legend-art": "7.1.14",
|
47
|
-
"@finos/legend-graph": "31.6.
|
48
|
-
"@finos/legend-lego": "1.1.
|
47
|
+
"@finos/legend-graph": "31.6.2",
|
48
|
+
"@finos/legend-lego": "1.1.65",
|
49
49
|
"@finos/legend-server-depot": "6.0.33",
|
50
50
|
"@finos/legend-shared": "10.0.29",
|
51
51
|
"@finos/legend-storage": "3.0.79",
|
@@ -15,15 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import {
|
19
|
-
Dialog,
|
20
|
-
Modal,
|
21
|
-
ModalHeader,
|
22
|
-
ModalBody,
|
23
|
-
ModalFooter,
|
24
|
-
ModalFooterButton,
|
25
|
-
BlankPanelContent,
|
26
|
-
} from '@finos/legend-art';
|
18
|
+
import { Dialog } from '@finos/legend-art';
|
27
19
|
import { useApplicationStore } from '@finos/legend-application';
|
28
20
|
import type { QueryBuilder_LegendApplicationPlugin_Extension } from '../stores/QueryBuilder_LegendApplicationPlugin_Extension.js';
|
29
21
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
@@ -47,27 +39,7 @@ export const QueryChat = observer(
|
|
47
39
|
open={queryBuilderState.isQueryChatOpened}
|
48
40
|
onClose={() => queryBuilderState.setIsQueryChatOpened(false)}
|
49
41
|
>
|
50
|
-
|
51
|
-
<ModalHeader title="Chat Mode" />
|
52
|
-
<ModalBody className="query-builder__chat-mode__body">
|
53
|
-
<>
|
54
|
-
{extraQueryChatConfigurations.length === 0 ? (
|
55
|
-
<BlankPanelContent>
|
56
|
-
Chat Mode is not available
|
57
|
-
</BlankPanelContent>
|
58
|
-
) : (
|
59
|
-
extraQueryChatConfigurations[0]?.(queryBuilderState)
|
60
|
-
)}
|
61
|
-
</>
|
62
|
-
</ModalBody>
|
63
|
-
<ModalFooter>
|
64
|
-
<ModalFooterButton
|
65
|
-
className="btn--caution"
|
66
|
-
onClick={() => queryBuilderState.setIsQueryChatOpened(false)}
|
67
|
-
text="Discard and Close"
|
68
|
-
/>
|
69
|
-
</ModalFooter>
|
70
|
-
</Modal>
|
42
|
+
{extraQueryChatConfigurations[0]?.(queryBuilderState)}
|
71
43
|
</Dialog>
|
72
44
|
);
|
73
45
|
},
|
@@ -340,14 +340,7 @@ export const DataAccessOverview = observer(
|
|
340
340
|
<DataAccessOverviewChart dataAccessState={dataAccessState} />
|
341
341
|
<DataAccessOverviewGrid dataAccessState={dataAccessState} />
|
342
342
|
</div>
|
343
|
-
{warehouseEntitlementTab
|
344
|
-
<div className="data-access-overview__warehouse">
|
345
|
-
<div className="data-access-overview__header">
|
346
|
-
WAREHOUSE ENTITLEMENTS
|
347
|
-
</div>
|
348
|
-
{warehouseEntitlementTab}
|
349
|
-
</div>
|
350
|
-
)}
|
343
|
+
{warehouseEntitlementTab}
|
351
344
|
</div>
|
352
345
|
);
|
353
346
|
},
|
@@ -46,7 +46,7 @@ export type QueryExportUsageConfiguration = {
|
|
46
46
|
};
|
47
47
|
|
48
48
|
export type WarehouseEntitlementRender = {
|
49
|
-
renderer: (dataAccessState: DataAccessState) => React.ReactNode
|
49
|
+
renderer: (dataAccessState: DataAccessState) => React.ReactNode;
|
50
50
|
};
|
51
51
|
|
52
52
|
export type QueryChatRenderer = (
|
@@ -63,7 +63,7 @@ export interface QueryBuilder_LegendApplicationPlugin_Extension
|
|
63
63
|
/**
|
64
64
|
* Get the list of warehouse entitlement configurations
|
65
65
|
*/
|
66
|
-
getWarehouseEntitlementRenders?(): WarehouseEntitlementRender[]
|
66
|
+
getWarehouseEntitlementRenders?(): WarehouseEntitlementRender[];
|
67
67
|
|
68
68
|
/**
|
69
69
|
* Get the list of dataset entitlement access report action configurations.
|