@finos/legend-application-marketplace 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__lib__/LegendMarketplaceNavigation.d.ts +9 -1
- package/lib/__lib__/LegendMarketplaceNavigation.d.ts.map +1 -1
- package/lib/__lib__/LegendMarketplaceNavigation.js +7 -0
- package/lib/__lib__/LegendMarketplaceNavigation.js.map +1 -1
- package/lib/app.css +1 -1
- package/lib/application/LegendMarketplaceFrameworkProvider.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceFrameworkProvider.js +3 -3
- package/lib/application/LegendMarketplaceFrameworkProvider.js.map +1 -1
- package/lib/application/LegendMarketplacePluginManager.d.ts +11 -1
- package/lib/application/LegendMarketplacePluginManager.d.ts.map +1 -1
- package/lib/application/LegendMarketplacePluginManager.js +21 -0
- package/lib/application/LegendMarketplacePluginManager.js.map +1 -1
- package/lib/application/LegendMarketplaceWebApplication.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceWebApplication.js +2 -1
- package/lib/application/LegendMarketplaceWebApplication.js.map +1 -1
- package/lib/components/Lakehouse/DataProductDataAccess.d.ts +32 -0
- package/lib/components/Lakehouse/DataProductDataAccess.d.ts.map +1 -0
- package/lib/components/Lakehouse/DataProductDataAccess.js +124 -0
- package/lib/components/Lakehouse/DataProductDataAccess.js.map +1 -0
- package/lib/components/Lakehouse/DataProductHolder.d.ts +23 -0
- package/lib/components/Lakehouse/DataProductHolder.d.ts.map +1 -0
- package/lib/components/Lakehouse/DataProductHolder.js +23 -0
- package/lib/components/Lakehouse/DataProductHolder.js.map +1 -0
- package/lib/components/Lakehouse/DataProductViewer.d.ts +22 -0
- package/lib/components/Lakehouse/DataProductViewer.d.ts.map +1 -0
- package/lib/components/Lakehouse/DataProductViewer.js +100 -0
- package/lib/components/Lakehouse/DataProductViewer.js.map +1 -0
- package/lib/components/Lakehouse/DataProductViewerActivityBar.d.ts +22 -0
- package/lib/components/Lakehouse/DataProductViewerActivityBar.d.ts.map +1 -0
- package/lib/components/Lakehouse/DataProductViewerActivityBar.js +100 -0
- package/lib/components/Lakehouse/DataProductViewerActivityBar.js.map +1 -0
- package/lib/components/Lakehouse/DataProductWiki.d.ts +32 -0
- package/lib/components/Lakehouse/DataProductWiki.d.ts.map +1 -0
- package/lib/components/Lakehouse/DataProductWiki.js +59 -0
- package/lib/components/Lakehouse/DataProductWiki.js.map +1 -0
- package/lib/components/Lakehouse/LakehouseDataProduct.d.ts +17 -0
- package/lib/components/Lakehouse/LakehouseDataProduct.d.ts.map +1 -0
- package/lib/components/Lakehouse/LakehouseDataProduct.js +43 -0
- package/lib/components/Lakehouse/LakehouseDataProduct.js.map +1 -0
- package/lib/components/Lakehouse/LakehouseMarketplace.d.ts +6 -0
- package/lib/components/Lakehouse/LakehouseMarketplace.d.ts.map +1 -1
- package/lib/components/Lakehouse/LakehouseMarketplace.js +11 -27
- package/lib/components/Lakehouse/LakehouseMarketplace.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -1
- package/lib/stores/LakehouseContractServerClient.d.ts +33 -0
- package/lib/stores/LakehouseContractServerClient.d.ts.map +1 -0
- package/lib/stores/LakehouseContractServerClient.js +34 -0
- package/lib/stores/LakehouseContractServerClient.js.map +1 -0
- package/lib/stores/LegendMarketplaceBaseStore.d.ts +2 -2
- package/lib/stores/LegendMarketplaceBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendMarketplaceBaseStore.js +2 -2
- package/lib/stores/LegendMarketplaceBaseStore.js.map +1 -1
- package/lib/stores/lakehouse/DataProductDataAccessState.d.ts +47 -0
- package/lib/stores/lakehouse/DataProductDataAccessState.d.ts.map +1 -0
- package/lib/stores/lakehouse/DataProductDataAccessState.js +126 -0
- package/lib/stores/lakehouse/DataProductDataAccessState.js.map +1 -0
- package/lib/stores/lakehouse/DataProductLayoutState.d.ts +48 -0
- package/lib/stores/lakehouse/DataProductLayoutState.d.ts.map +1 -0
- package/lib/stores/lakehouse/DataProductLayoutState.js +189 -0
- package/lib/stores/lakehouse/DataProductLayoutState.js.map +1 -0
- package/lib/stores/lakehouse/DataProductViewerNavigation.d.ts +35 -0
- package/lib/stores/lakehouse/DataProductViewerNavigation.d.ts.map +1 -0
- package/lib/stores/lakehouse/DataProductViewerNavigation.js +44 -0
- package/lib/stores/lakehouse/DataProductViewerNavigation.js.map +1 -0
- package/lib/stores/lakehouse/DataProductViewerState.d.ts +43 -0
- package/lib/stores/lakehouse/DataProductViewerState.d.ts.map +1 -0
- package/lib/stores/lakehouse/DataProductViewerState.js +84 -0
- package/lib/stores/lakehouse/DataProductViewerState.js.map +1 -0
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.d.ts +11 -9
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.d.ts.map +1 -1
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.js +73 -35
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.js.map +1 -1
- package/package.json +6 -5
- package/src/__lib__/LegendMarketplaceNavigation.ts +17 -0
- package/src/application/LegendMarketplaceFrameworkProvider.tsx +2 -0
- package/src/application/LegendMarketplacePluginManager.ts +39 -1
- package/src/application/LegendMarketplaceWebApplication.tsx +5 -0
- package/src/components/Lakehouse/DataProductDataAccess.tsx +299 -0
- package/src/components/Lakehouse/DataProductHolder.tsx +43 -0
- package/src/components/Lakehouse/DataProductViewer.tsx +309 -0
- package/src/components/Lakehouse/DataProductViewerActivityBar.tsx +227 -0
- package/src/components/Lakehouse/DataProductWiki.tsx +113 -0
- package/src/components/Lakehouse/LakehouseDataProduct.tsx +86 -0
- package/src/components/Lakehouse/LakehouseMarketplace.tsx +57 -61
- package/src/stores/LakehouseContractServerClient.ts +69 -0
- package/src/stores/LegendMarketplaceBaseStore.ts +3 -3
- package/src/stores/lakehouse/DataProductDataAccessState.ts +172 -0
- package/src/stores/lakehouse/DataProductLayoutState.ts +265 -0
- package/src/stores/lakehouse/DataProductViewerNavigation.ts +52 -0
- package/src/stores/lakehouse/DataProductViewerState.ts +122 -0
- package/src/stores/lakehouse/MarketplaceLakehouseStore.ts +154 -54
- package/tsconfig.json +11 -0
|
@@ -14,18 +14,26 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export declare enum LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN {
|
|
17
|
-
VENDOR_NAME = "vendorName"
|
|
17
|
+
VENDOR_NAME = "vendorName",
|
|
18
|
+
GAV = "gav",
|
|
19
|
+
DATA_PRODUCT_PATH = "path"
|
|
18
20
|
}
|
|
19
21
|
export declare enum LEGEND_MARKETPLACE_SEARCH_RESULTS_QUERY_PARAM_TOKEN {
|
|
20
22
|
PROVIDER = "provider",
|
|
21
23
|
QUERY = "query"
|
|
22
24
|
}
|
|
25
|
+
export type LakehouseDataProductPathParams = {
|
|
26
|
+
[LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN.GAV]: string;
|
|
27
|
+
[LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN.DATA_PRODUCT_PATH]: string;
|
|
28
|
+
};
|
|
23
29
|
export declare const LEGEND_MARKETPLACE_ROUTE_PATTERN: Readonly<{
|
|
24
30
|
DEFAULT: "/";
|
|
25
31
|
SEARCH_RESULTS: "/results";
|
|
26
32
|
VENDOR_DETAILS: "/vendor/:vendorName";
|
|
27
33
|
LAKEHOUSE: "/lakehouse";
|
|
34
|
+
LAKEHOUSE_PRODUCT: "/lakehouse/dataProduct/:gav/:path";
|
|
28
35
|
}>;
|
|
36
|
+
export declare const generateLakehouseDataProduct: (gav: string, path: string) => string;
|
|
29
37
|
export declare const generateSearchResultsRoute: (provider: string | undefined, query: string | undefined) => string;
|
|
30
38
|
export declare const generateVendorDetailsRoute: (vendorName: string) => string;
|
|
31
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,oBAAY,sCAAsC;IAChD,WAAW,eAAe;CAC3B;AAED,oBAAY,mDAAmD;IAC7D,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,oBAAY,sCAAsC;IAChD,WAAW,eAAe;IAC1B,GAAG,QAAQ;IACX,iBAAiB,SAAS;CAC3B;AAED,oBAAY,mDAAmD;IAC7D,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,CAAC,sCAAsC,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACrD,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CACpE,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;EAM3C,CAAC;AAEH,eAAO,MAAM,4BAA4B,GACvC,KAAK,MAAM,EACX,MAAM,MAAM,KACX,MAIC,CAAC;AAEL,eAAO,MAAM,0BAA0B,GACrC,UAAU,MAAM,GAAG,SAAS,EAC5B,OAAO,MAAM,GAAG,SAAS,KACxB,MAWA,CAAC;AAEJ,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,MAG5D,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,iEAAiE,GAE1E,sBAAsB,MAAM,EAC5B,WAAW,MAAM,EACjB,WAAW,MAAM,GAAG,SAAS,EAC7B,YAAY,MAAM,GAAG,SAAS,KAC7B,MAG6C,CAAC"}
|
|
@@ -18,6 +18,8 @@ import { addQueryParametersToUrl, stringifyQueryParams, } from '@finos/legend-sh
|
|
|
18
18
|
export var LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN;
|
|
19
19
|
(function (LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN) {
|
|
20
20
|
LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN["VENDOR_NAME"] = "vendorName";
|
|
21
|
+
LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN["GAV"] = "gav";
|
|
22
|
+
LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN["DATA_PRODUCT_PATH"] = "path";
|
|
21
23
|
})(LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN || (LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN = {}));
|
|
22
24
|
export var LEGEND_MARKETPLACE_SEARCH_RESULTS_QUERY_PARAM_TOKEN;
|
|
23
25
|
(function (LEGEND_MARKETPLACE_SEARCH_RESULTS_QUERY_PARAM_TOKEN) {
|
|
@@ -29,6 +31,11 @@ export const LEGEND_MARKETPLACE_ROUTE_PATTERN = Object.freeze({
|
|
|
29
31
|
SEARCH_RESULTS: '/results',
|
|
30
32
|
VENDOR_DETAILS: `/vendor/:${LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN.VENDOR_NAME}`,
|
|
31
33
|
LAKEHOUSE: '/lakehouse',
|
|
34
|
+
LAKEHOUSE_PRODUCT: `/lakehouse/dataProduct/:${LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN.GAV}/:${LEGEND_MARKETPLACE_ROUTE_PATTERN_TOKEN.DATA_PRODUCT_PATH}`,
|
|
35
|
+
});
|
|
36
|
+
export const generateLakehouseDataProduct = (gav, path) => generatePath(LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_PRODUCT, {
|
|
37
|
+
gav,
|
|
38
|
+
path,
|
|
32
39
|
});
|
|
33
40
|
export const generateSearchResultsRoute = (provider, query) => addQueryParametersToUrl(LEGEND_MARKETPLACE_ROUTE_PATTERN.SEARCH_RESULTS, stringifyQueryParams({
|
|
34
41
|
[LEGEND_MARKETPLACE_SEARCH_RESULTS_QUERY_PARAM_TOKEN.PROVIDER]: provider
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAN,IAAY,sCAIX;AAJD,WAAY,sCAAsC;IAChD,oEAA0B,CAAA;IAC1B,qDAAW,CAAA;IACX,oEAA0B,CAAA;AAC5B,CAAC,EAJW,sCAAsC,KAAtC,sCAAsC,QAIjD;AAED,MAAM,CAAN,IAAY,mDAGX;AAHD,WAAY,mDAAmD;IAC7D,4EAAqB,CAAA;IACrB,sEAAe,CAAA;AACjB,CAAC,EAHW,mDAAmD,KAAnD,mDAAmD,QAG9D;AAOD,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5D,OAAO,EAAE,GAAG;IACZ,cAAc,EAAE,UAAU;IAC1B,cAAc,EAAE,YAAY,sCAAsC,CAAC,WAAW,EAAE;IAChF,SAAS,EAAE,YAAY;IACvB,iBAAiB,EAAE,2BAA2B,sCAAsC,CAAC,GAAG,KAAK,sCAAsC,CAAC,iBAAiB,EAAE;CACxJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,GAAW,EACX,IAAY,EACJ,EAAE,CACV,YAAY,CAAC,gCAAgC,CAAC,iBAAiB,EAAE;IAC/D,GAAG;IACH,IAAI;CACL,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,QAA4B,EAC5B,KAAyB,EACjB,EAAE,CACV,uBAAuB,CACrB,gCAAgC,CAAC,cAAc,EAC/C,oBAAoB,CAAC;IACnB,CAAC,mDAAmD,CAAC,QAAQ,CAAC,EAAE,QAAQ;QACtE,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,SAAS;IACb,CAAC,mDAAmD,CAAC,KAAK,CAAC,EAAE,KAAK;QAChE,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,SAAS;CACd,CAAC,CACH,CAAC;AAEJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,UAAkB,EAAU,EAAE,CACvE,YAAY,CAAC,gCAAgC,CAAC,cAAc,EAAE;IAC5D,UAAU;CACX,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,iEAAiE,GAC5E,CACE,oBAA4B,EAC5B,SAAiB,EACjB,SAA6B,EAC7B,UAA8B,EACtB,EAAE,CACV,GAAG,oBAAoB,SAAS,SAAS,GACvC,SAAS,CAAC,CAAC,CAAC,YAAY,SAAS,EAAE,CAAC,CAAC,CAAC,EACxC,GAAG,UAAU,CAAC,CAAC,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC"}
|
package/lib/app.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,iCAAiC,EACtC,0BAA0B,EAC3B,MAAM,yCAAyC,CAAC;AAIjD,eAAO,MAAM,oCAAoC,QAC3C,iCAIC,CAAC;AAoBR,eAAO,MAAM,6BAA6B,QAAO,0BAI9C,CAAC;AAEJ,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAOA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
import { createContext, useContext } from 'react';
|
|
18
18
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
19
19
|
import { useLocalObservable } from 'mobx-react-lite';
|
|
20
|
-
import { ApplicationFrameworkProvider, useApplicationStore, } from '@finos/legend-application';
|
|
20
|
+
import { ApplicationFrameworkProvider, BlockingAlert, useApplicationStore, } from '@finos/legend-application';
|
|
21
21
|
import { LegendMarketplaceBaseStore, } from '../stores/LegendMarketplaceBaseStore.js';
|
|
22
22
|
export const useLegendMarketplaceApplicationStore = () => useApplicationStore();
|
|
23
23
|
const LegendMarketplaceBaseStoreContext = createContext(undefined);
|
|
@@ -27,5 +27,5 @@ const LegendMarketplaceBaseStoreProvider = ({ children }) => {
|
|
|
27
27
|
return (_jsx(LegendMarketplaceBaseStoreContext.Provider, { value: baseStore, children: children }));
|
|
28
28
|
};
|
|
29
29
|
export const useLegendMarketplaceBaseStore = () => guaranteeNonNullable(useContext(LegendMarketplaceBaseStoreContext), `Can't find Legend Marketplace base store in context`);
|
|
30
|
-
export const LegendMarketplaceFrameworkProvider = ({ children }) => (
|
|
30
|
+
export const LegendMarketplaceFrameworkProvider = ({ children }) => (_jsxs(ApplicationFrameworkProvider, { simple: true, enableTransitions: true, children: [_jsx(BlockingAlert, {}), _jsx(LegendMarketplaceBaseStoreProvider, { children: children })] }));
|
|
31
31
|
//# sourceMappingURL=LegendMarketplaceFrameworkProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceFrameworkProvider.js","sourceRoot":"","sources":["../../src/application/LegendMarketplaceFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AAIjD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,GAAsC,EAAE,CACtC,mBAAmB,EAGhB,CAAC;AAER,MAAM,iCAAiC,GAAG,aAAa,CAErD,SAAS,CAAC,CAAC;AAEb,MAAM,kCAAkC,GAEnC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,oCAAoC,EAAE,CAAC;IAChE,MAAM,SAAS,GAAG,kBAAkB,CAClC,GAAG,EAAE,CAAC,IAAI,0BAA0B,CAAC,gBAAgB,CAAC,CACvD,CAAC;IACF,OAAO,CACL,KAAC,iCAAiC,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,YACzD,QAAQ,GACkC,CAC9C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAA+B,EAAE,CAC5E,oBAAoB,CAClB,UAAU,CAAC,iCAAiC,CAAC,EAC7C,qDAAqD,CACtD,CAAC;AAEJ,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACrB,
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceFrameworkProvider.js","sourceRoot":"","sources":["../../src/application/LegendMarketplaceFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EACL,4BAA4B,EAC5B,aAAa,EACb,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AAIjD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,GAAsC,EAAE,CACtC,mBAAmB,EAGhB,CAAC;AAER,MAAM,iCAAiC,GAAG,aAAa,CAErD,SAAS,CAAC,CAAC;AAEb,MAAM,kCAAkC,GAEnC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,oCAAoC,EAAE,CAAC;IAChE,MAAM,SAAS,GAAG,kBAAkB,CAClC,GAAG,EAAE,CAAC,IAAI,0BAA0B,CAAC,gBAAgB,CAAC,CACvD,CAAC;IACF,OAAO,CACL,KAAC,iCAAiC,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,YACzD,QAAQ,GACkC,CAC9C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAA+B,EAAE,CAC5E,oBAAoB,CAClB,UAAU,CAAC,iCAAiC,CAAC,EAC7C,qDAAqD,CACtD,CAAC;AAEJ,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACrB,MAAC,4BAA4B,IAAC,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,aACjE,KAAC,aAAa,KAAG,EACjB,KAAC,kCAAkC,cAChC,QAAQ,GAC0B,IACR,CAChC,CAAC"}
|
|
@@ -15,8 +15,18 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { LegendApplicationPluginManager } from '@finos/legend-application';
|
|
17
17
|
import type { LegendMarketplaceApplicationPlugin } from '../stores/LegendMarketplaceApplicationPlugin.js';
|
|
18
|
-
|
|
18
|
+
import type { GraphManagerPluginManager, PureGraphManagerPlugin, PureGraphPlugin, PureProtocolProcessorPlugin } from '@finos/legend-graph';
|
|
19
|
+
export declare class LegendMarketplacePluginManager extends LegendApplicationPluginManager<LegendMarketplaceApplicationPlugin> implements GraphManagerPluginManager {
|
|
20
|
+
private pureProtocolProcessorPlugins;
|
|
21
|
+
private pureGraphManagerPlugins;
|
|
22
|
+
private pureGraphPlugins;
|
|
19
23
|
private constructor();
|
|
24
|
+
registerPureProtocolProcessorPlugin(plugin: PureProtocolProcessorPlugin): void;
|
|
25
|
+
registerPureGraphManagerPlugin(plugin: PureGraphManagerPlugin): void;
|
|
26
|
+
registerPureGraphPlugin(plugin: PureGraphPlugin): void;
|
|
27
|
+
getPureGraphManagerPlugins(): PureGraphManagerPlugin[];
|
|
28
|
+
getPureProtocolProcessorPlugins(): PureProtocolProcessorPlugin[];
|
|
29
|
+
getPureGraphPlugins(): PureGraphPlugin[];
|
|
20
30
|
static create(): LegendMarketplacePluginManager;
|
|
21
31
|
}
|
|
22
32
|
//# sourceMappingURL=LegendMarketplacePluginManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplacePluginManager.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplacePluginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendMarketplacePluginManager.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplacePluginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AAC1G,OAAO,KAAK,EACV,yBAAyB,EACzB,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,8BACX,SAAQ,8BAA8B,CAAC,kCAAkC,CACzE,YAAW,yBAAyB;IAEpC,OAAO,CAAC,4BAA4B,CAAqC;IACzE,OAAO,CAAC,uBAAuB,CAAgC;IAC/D,OAAO,CAAC,gBAAgB,CAAyB;IAEjD,OAAO;IAGP,mCAAmC,CACjC,MAAM,EAAE,2BAA2B,GAClC,IAAI;IAIP,8BAA8B,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAIpE,uBAAuB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI;IAItD,0BAA0B,IAAI,sBAAsB,EAAE;IAItD,+BAA+B,IAAI,2BAA2B,EAAE;IAIhE,mBAAmB,IAAI,eAAe,EAAE;IAIxC,MAAM,CAAC,MAAM,IAAI,8BAA8B;CAGhD"}
|
|
@@ -15,9 +15,30 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { LegendApplicationPluginManager } from '@finos/legend-application';
|
|
17
17
|
export class LegendMarketplacePluginManager extends LegendApplicationPluginManager {
|
|
18
|
+
pureProtocolProcessorPlugins = [];
|
|
19
|
+
pureGraphManagerPlugins = [];
|
|
20
|
+
pureGraphPlugins = [];
|
|
18
21
|
constructor() {
|
|
19
22
|
super();
|
|
20
23
|
}
|
|
24
|
+
registerPureProtocolProcessorPlugin(plugin) {
|
|
25
|
+
this.pureProtocolProcessorPlugins.push(plugin);
|
|
26
|
+
}
|
|
27
|
+
registerPureGraphManagerPlugin(plugin) {
|
|
28
|
+
this.pureGraphManagerPlugins.push(plugin);
|
|
29
|
+
}
|
|
30
|
+
registerPureGraphPlugin(plugin) {
|
|
31
|
+
this.pureGraphPlugins.push(plugin);
|
|
32
|
+
}
|
|
33
|
+
getPureGraphManagerPlugins() {
|
|
34
|
+
return [...this.pureGraphManagerPlugins];
|
|
35
|
+
}
|
|
36
|
+
getPureProtocolProcessorPlugins() {
|
|
37
|
+
return [...this.pureProtocolProcessorPlugins];
|
|
38
|
+
}
|
|
39
|
+
getPureGraphPlugins() {
|
|
40
|
+
return [...this.pureGraphPlugins];
|
|
41
|
+
}
|
|
21
42
|
static create() {
|
|
22
43
|
return new LegendMarketplacePluginManager();
|
|
23
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplacePluginManager.js","sourceRoot":"","sources":["../../src/application/LegendMarketplacePluginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendMarketplacePluginManager.js","sourceRoot":"","sources":["../../src/application/LegendMarketplacePluginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAS3E,MAAM,OAAO,8BACX,SAAQ,8BAAkE;IAGlE,4BAA4B,GAAkC,EAAE,CAAC;IACjE,uBAAuB,GAA6B,EAAE,CAAC;IACvD,gBAAgB,GAAsB,EAAE,CAAC;IAEjD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IACD,mCAAmC,CACjC,MAAmC;QAEnC,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjD,CAAC;IAED,8BAA8B,CAAC,MAA8B;QAC3D,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IAED,uBAAuB,CAAC,MAAuB;QAC7C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,0BAA0B;QACxB,OAAO,CAAC,GAAG,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAC3C,CAAC;IAED,+BAA+B;QAC7B,OAAO,CAAC,GAAG,IAAI,CAAC,4BAA4B,CAAC,CAAC;IAChD,CAAC;IAED,mBAAmB;QACjB,OAAO,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,MAAM;QACX,OAAO,IAAI,8BAA8B,EAAE,CAAC;IAC9C,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceWebApplication.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+BH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceWebApplication.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+BH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AA+C3F,eAAO,MAAM,qCAAqC;;CAmDhD,CAAC;AAEH,eAAO,MAAM,+BAA+B,WAClC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CACtD;;CA0BF,CAAC"}
|
|
@@ -26,6 +26,7 @@ import { LakehouseMarketplace } from '../components/Lakehouse/LakehouseMarketpla
|
|
|
26
26
|
import { LegendMarketplaceHome } from '../pages/Home/LegendMarketplaceHome.js';
|
|
27
27
|
import { LegendMarketplaceSearchResults } from '../pages/SearchResults/LegendMarketplaceSearchResults.js';
|
|
28
28
|
import { AuthProvider, withAuthenticationRequired, } from 'react-oidc-context';
|
|
29
|
+
import { LakehouseDataProduct } from '../components/Lakehouse/LakehouseDataProduct.js';
|
|
29
30
|
const NotFoundPage = observer(() => {
|
|
30
31
|
const applicationStore = useApplicationStore();
|
|
31
32
|
const currentPath = applicationStore.navigationService.navigator.getCurrentLocation();
|
|
@@ -43,7 +44,7 @@ export const LegendMarketplaceWebApplicationRouter = observer(() => {
|
|
|
43
44
|
state: window.location.pathname,
|
|
44
45
|
},
|
|
45
46
|
});
|
|
46
|
-
return (_jsx("div", { className: "app", children: baseStore.initState.hasCompleted && (_jsx(_Fragment, { children: _jsxs(Routes, { children: [_jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE, element: _jsx(ProtectedLakehouseMarketplace, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.DEFAULT, element: _jsx(LegendMarketplaceHome, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.SEARCH_RESULTS, element: _jsx(LegendMarketplaceSearchResults, {}) }), _jsx(Route, { path: "*", element: _jsx(NotFoundPage, {}) })] }) })) }));
|
|
47
|
+
return (_jsx("div", { className: "app", children: baseStore.initState.hasCompleted && (_jsx(_Fragment, { children: _jsxs(Routes, { children: [_jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_PRODUCT, element: _jsx(LakehouseDataProduct, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE, element: _jsx(ProtectedLakehouseMarketplace, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.DEFAULT, element: _jsx(LegendMarketplaceHome, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.SEARCH_RESULTS, element: _jsx(LegendMarketplaceSearchResults, {}) }), _jsx(Route, { path: "*", element: _jsx(NotFoundPage, {}) })] }) })) }));
|
|
47
48
|
});
|
|
48
49
|
export const LegendMarketplaceWebApplication = observer((props) => {
|
|
49
50
|
const { baseUrl, oidcConfig } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceWebApplication.js","sourceRoot":"","sources":["../../src/application/LegendMarketplaceWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EACzB,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,MAAM,GACP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAEL,YAAY,EACZ,0BAA0B,GAC3B,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceWebApplication.js","sourceRoot":"","sources":["../../src/application/LegendMarketplaceWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,O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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
|
+
import type { DataProductViewerState } from '../../stores/lakehouse/DataProductViewerState.js';
|
|
17
|
+
import { type DataProductGroupAccessState } from '../../stores/lakehouse/DataProductDataAccessState.js';
|
|
18
|
+
export declare const DataProductMarkdownTextViewer: React.FC<{
|
|
19
|
+
value: string;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const DataProductGroupAccessViewer: ((props: {
|
|
22
|
+
dataViewer: DataProductViewerState;
|
|
23
|
+
accessGroupState: DataProductGroupAccessState;
|
|
24
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const DataProducteDataAccess: ((props: {
|
|
28
|
+
dataSpaceViewerState: DataProductViewerState;
|
|
29
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=DataProductDataAccess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProductDataAccess.d.ts","sourceRoot":"","sources":["../../../src/components/Lakehouse/DataProductDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAE/F,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,sDAAsD,CAAC;AAQ9D,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAcrE,CAAC;AAgCF,eAAO,MAAM,4BAA4B,WAC/B;IACN,UAAU,EAAE,sBAAsB,CAAC;IACnC,gBAAgB,EAAE,2BAA2B,CAAC;CAC/C;;CAqIF,CAAC;AAEF,eAAO,MAAM,sBAAsB,WACzB;IAAE,oBAAoB,EAAE,sBAAsB,CAAA;CAAE;;CAqEzD,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { AnchorLinkIcon, ChevronDownIcon, clsx, MarkdownTextViewer, QuestionCircleIcon, ExternalLinkIcon, } from '@finos/legend-art';
|
|
18
|
+
import { observer } from 'mobx-react-lite';
|
|
19
|
+
import { DATA_PRODUCT_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../../stores/lakehouse/DataProductViewerNavigation.js';
|
|
20
|
+
import { useEffect, useRef } from 'react';
|
|
21
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
22
|
+
import { DataProductGroupAccess, } from '../../stores/lakehouse/DataProductDataAccessState.js';
|
|
23
|
+
import { DataGrid, } from '@finos/legend-lego/data-grid';
|
|
24
|
+
import { flowResult } from 'mobx';
|
|
25
|
+
export const DataProductMarkdownTextViewer = (props) => (_jsx(MarkdownTextViewer, { className: "data-space__viewer__markdown-text-viewer", value: {
|
|
26
|
+
value: props.value,
|
|
27
|
+
}, components: {
|
|
28
|
+
h1: 'h2',
|
|
29
|
+
h2: 'h3',
|
|
30
|
+
h3: 'h4',
|
|
31
|
+
} }));
|
|
32
|
+
const TDSColumnDocumentationCellRenderer = (params) => {
|
|
33
|
+
const data = params.data;
|
|
34
|
+
if (!data) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return data.description?.trim() ? (data.description) : (_jsx("div", { className: "data-space__viewer__grid__empty-cell", children: "No description to provide" }));
|
|
38
|
+
};
|
|
39
|
+
const TDSColumnMoreInfoCellRenderer = (params) => {
|
|
40
|
+
const data = params.data;
|
|
41
|
+
if (!data) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return (_jsx("div", { className: "data-space__viewer__grid__empty-cell", children: _jsx(ChevronDownIcon, {}) }));
|
|
45
|
+
};
|
|
46
|
+
export const DataProductGroupAccessViewer = observer((props) => {
|
|
47
|
+
const { accessGroupState } = props;
|
|
48
|
+
const accessPoints = accessGroupState.group.accessPoints;
|
|
49
|
+
const handleClick = () => {
|
|
50
|
+
flowResult(accessGroupState.handleClick()).catch(accessGroupState.accessState.viewerState.applicationStore
|
|
51
|
+
.alertUnhandledError);
|
|
52
|
+
};
|
|
53
|
+
const renderAccess = (val) => {
|
|
54
|
+
switch (val) {
|
|
55
|
+
case DataProductGroupAccess.UNKNOWN:
|
|
56
|
+
return (_jsx("button", { className: "data-space__viewer__access-group__item__header-access-btn data-space__viewer__access-group__item__header-access-btn--unknown", children: "UNKNOWN" }));
|
|
57
|
+
case DataProductGroupAccess.NO_ACCESS:
|
|
58
|
+
return (_jsx("button", { onClick: handleClick, className: "data-space__viewer__access-group__item__header-access-btn data-space__viewer__access-group__item__header-access-btn--no-access", children: "REQUEST ACCESS" }));
|
|
59
|
+
case DataProductGroupAccess.PENDING:
|
|
60
|
+
return (_jsxs("button", { onClick: handleClick, className: "data-space__viewer__access-group__item__header-access-btn data-space__viewer__access-group__item__header-access-btn--pending", children: [_jsx(ExternalLinkIcon, {}), _jsx("div", { children: "PENDING" })] }));
|
|
61
|
+
case DataProductGroupAccess.COMPLETED:
|
|
62
|
+
return (_jsx("button", { className: "data-space__viewer__access-group__item__header-access-btn data-space__viewer__access-group__item__header-access-btn--entitled", children: "ENTITLED" }));
|
|
63
|
+
default:
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
return (_jsxs("div", { className: "data-space__viewer__access-group__item", children: [_jsxs("div", { className: "data-space__viewer__access-group__item__header", children: [_jsxs("div", { className: "data-space__viewer__access-group__item__header-main", children: [_jsx("div", { className: "data-space__viewer__access-group__item__header__title", children: accessGroupState.group.id }), _jsx("div", { className: "data-space__viewer__access-group__item__header__type", children: "LAKEHOUSE" }), _jsx("button", { className: "data-space__viewer__access-group__item__header__anchor", tabIndex: -1, children: _jsx(AnchorLinkIcon, {}) })] }), _jsx("div", { className: "data-space__viewer__access-group__item__header-access", children: renderAccess(accessGroupState.access) })] }), _jsx("div", { className: "data-space__viewer__access-group__item__description", children: _jsx(DataProductMarkdownTextViewer, { value: accessGroupState.group.description ?? '' }) }), _jsx("div", { className: "data-space__viewer__access-group__item__content", children: _jsx("div", { className: "data-space__viewer__access-group__item__content__tab__content", children: _jsx("div", { className: clsx('data-space__viewer__access-group__tds__column-specs', 'data-space__viewer__grid', {
|
|
68
|
+
'ag-theme-balham': true,
|
|
69
|
+
}), children: _jsx(DataGrid, { rowData: accessPoints, gridOptions: {
|
|
70
|
+
suppressScrollOnNewData: true,
|
|
71
|
+
getRowId: (rowData) => rowData.data.id,
|
|
72
|
+
}, suppressFieldDotNotation: true, columnDefs: [
|
|
73
|
+
{
|
|
74
|
+
minWidth: 50,
|
|
75
|
+
sortable: true,
|
|
76
|
+
resizable: true,
|
|
77
|
+
field: 'id',
|
|
78
|
+
headerValueGetter: () => `Access Points`,
|
|
79
|
+
flex: 1,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
minWidth: 50,
|
|
83
|
+
sortable: false,
|
|
84
|
+
resizable: true,
|
|
85
|
+
cellRenderer: TDSColumnDocumentationCellRenderer,
|
|
86
|
+
headerName: 'Description',
|
|
87
|
+
flex: 1,
|
|
88
|
+
wrapText: true,
|
|
89
|
+
autoHeight: true,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
minWidth: 50,
|
|
93
|
+
sortable: false,
|
|
94
|
+
resizable: false,
|
|
95
|
+
headerClass: 'data-space__viewer__grid__last-column-header',
|
|
96
|
+
cellRenderer: TDSColumnMoreInfoCellRenderer,
|
|
97
|
+
headerName: 'More Info',
|
|
98
|
+
flex: 1,
|
|
99
|
+
},
|
|
100
|
+
], onRowDataUpdated: (params) => {
|
|
101
|
+
params.api.refreshCells({ force: true });
|
|
102
|
+
} }) }) }) })] }));
|
|
103
|
+
});
|
|
104
|
+
export const DataProducteDataAccess = observer((props) => {
|
|
105
|
+
const { dataSpaceViewerState } = props;
|
|
106
|
+
const applicationStore = useApplicationStore();
|
|
107
|
+
const documentationUrl = 'todo.com';
|
|
108
|
+
const sectionRef = useRef(null);
|
|
109
|
+
const anchor = generateAnchorForActivity(DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_ACCESS);
|
|
110
|
+
useEffect(() => {
|
|
111
|
+
if (sectionRef.current) {
|
|
112
|
+
dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
|
|
113
|
+
}
|
|
114
|
+
return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
|
|
115
|
+
}, [dataSpaceViewerState, anchor]);
|
|
116
|
+
useEffect(() => {
|
|
117
|
+
dataSpaceViewerState.accessState.fetchGroupState();
|
|
118
|
+
}, [dataSpaceViewerState]);
|
|
119
|
+
const seeDocumentation = () => {
|
|
120
|
+
applicationStore.navigationService.navigator.visitAddress(documentationUrl);
|
|
121
|
+
};
|
|
122
|
+
return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Data Access", _jsx("button", { className: "data-space__viewer__wiki__section__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }), Boolean(documentationUrl) && (_jsx("button", { className: "data-space__viewer__wiki__section__header__documentation", tabIndex: -1, onClick: seeDocumentation, title: "See Documentation", children: _jsx(QuestionCircleIcon, {}) }))] }), _jsx("div", { className: "data-space__viewer__wiki__section__content", children: _jsx("div", { className: "data-space__viewer__data-access", children: dataSpaceViewerState.accessState.accessGroupState.map((groupState) => (_jsx(DataProductGroupAccessViewer, { accessGroupState: groupState, dataViewer: dataSpaceViewerState }, groupState.id))) }) })] }));
|
|
123
|
+
});
|
|
124
|
+
//# sourceMappingURL=DataProductDataAccess.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProductDataAccess.js","sourceRoot":"","sources":["../../../src/components/Lakehouse/DataProductDataAccess.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,eAAe,EACf,IAAI,EACJ,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,iCAAiC,EACjC,yBAAyB,GAC1B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,sBAAsB,GAEvB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,QAAQ,GAET,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,KAAC,cAAc,KAAG,GACX,IACL,EACL,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAC5B,iBACE,SAAS,EAAC,0DAA0D,EACpE,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,gBAAgB,EACzB,KAAK,EAAC,mBAAmB,YAEzB,KAAC,kBAAkB,KAAG,GACf,CACV,IACG,EACN,cAAK,SAAS,EAAC,4CAA4C,YACzD,cAAK,SAAS,EAAC,iCAAiC,YAC7C,oBAAoB,CAAC,WAAW,CAAC,gBAAgB,CAAC,GAAG,CACpD,CAAC,UAAU,EAAE,EAAE,CAAC,CACd,KAAC,4BAA4B,IAE3B,gBAAgB,EAAE,UAAU,EAC5B,UAAU,EAAE,oBAAoB,IAF3B,UAAU,CAAC,EAAE,CAGlB,CACH,CACF,GACG,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
export declare const DataProductWikiPlaceholder: React.FC<{
|
|
17
|
+
message: string;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const DataProductPlaceholderPanel: React.FC<{
|
|
20
|
+
header: string;
|
|
21
|
+
message: string;
|
|
22
|
+
}>;
|
|
23
|
+
//# sourceMappingURL=DataProductHolder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProductHolder.d.ts","sourceRoot":"","sources":["../../../src/components/Lakehouse/DataProductHolder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAIpE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAeA,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { SparkleIcon } from '@finos/legend-art';
|
|
18
|
+
export const DataProductWikiPlaceholder = (props) => (_jsx("div", { className: "data-space__viewer__wiki__placeholder", children: props.message }));
|
|
19
|
+
export const DataProductPlaceholderPanel = (props) => {
|
|
20
|
+
const { header, message } = props;
|
|
21
|
+
return (_jsxs("div", { className: "data-space__viewer__panel", children: [_jsx("div", { className: "data-space__viewer__panel__header", children: _jsx("div", { className: "data-space__viewer__panel__header__label", children: header }) }), _jsx("div", { className: "data-space__viewer__panel__content", children: _jsxs("div", { className: "data-space__viewer__panel__content__placeholder", children: [_jsx(SparkleIcon, {}), " This is work in progress.", ` ${message}`] }) })] }));
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=DataProductHolder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProductHolder.js","sourceRoot":"","sources":["../../../src/components/Lakehouse/DataProductHolder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,MAAM,0BAA0B,GAAkC,CACvE,KAAK,EACL,EAAE,CAAC,CACH,cAAK,SAAS,EAAC,uCAAuC,YAAE,KAAK,CAAC,OAAO,GAAO,CAC7E,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAGnC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAElC,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,cAAK,SAAS,EAAC,mCAAmC,YAChD,cAAK,SAAS,EAAC,0CAA0C,YAAE,MAAM,GAAO,GACpE,EACN,cAAK,SAAS,EAAC,oCAAoC,YACjD,eAAK,SAAS,EAAC,iDAAiD,aAC9D,KAAC,WAAW,KAAG,gCAA2B,IAAI,OAAO,EAAE,IACnD,GACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import type { DataProductViewerState } from '../../stores/lakehouse/DataProductViewerState.js';
|
|
17
|
+
export declare const DataProductViewer: ((props: {
|
|
18
|
+
dataSpaceViewerState: DataProductViewerState;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=DataProductViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProductViewer.d.ts","sourceRoot":"","sources":["../../../src/components/Lakehouse/DataProductViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAgJ/F,eAAO,MAAM,iBAAiB,WACpB;IAAE,oBAAoB,EAAE,sBAAsB,CAAA;CAAE;;CAkJzD,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { observer } from 'mobx-react-lite';
|
|
18
|
+
import { useEffect, useRef, useState } from 'react';
|
|
19
|
+
import { DATA_PRODUCT_WIKI_PAGE_SECTIONS } from '../../stores/lakehouse/DataProductLayoutState.js';
|
|
20
|
+
import { CaretDownIcon, CaretUpIcon, clsx, ControlledDropdownMenu, MenuContent, MenuContentDivider, MenuContentItem, MoreVerticalIcon, PlayIcon, VerifiedIcon, } from '@finos/legend-art';
|
|
21
|
+
import { DATA_PRODUCT_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../../stores/lakehouse/DataProductViewerNavigation.js';
|
|
22
|
+
import { DataProductPlaceholderPanel } from './DataProductHolder.js';
|
|
23
|
+
import { DataProductViewerActivityBar } from './DataProductViewerActivityBar.js';
|
|
24
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
25
|
+
import { DataProductWiki } from './DataProductWiki.js';
|
|
26
|
+
const DataProductHeader = observer((props) => {
|
|
27
|
+
const { dataProductViewerState, showFullHeader } = props;
|
|
28
|
+
const applicationStore = useApplicationStore();
|
|
29
|
+
const headerRef = useRef(null);
|
|
30
|
+
const dataProudct = dataProductViewerState.product;
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
if (headerRef.current) {
|
|
33
|
+
dataProductViewerState.layoutState.header = headerRef.current;
|
|
34
|
+
}
|
|
35
|
+
}, [dataProductViewerState]);
|
|
36
|
+
return (_jsx("div", { ref: headerRef, className: clsx('data-space__viewer__header', {
|
|
37
|
+
'data-space__viewer__header--floating': showFullHeader,
|
|
38
|
+
}), children: _jsxs("div", { className: clsx('data-space__viewer__header__content', {
|
|
39
|
+
'data-space__viewer__header__content--expanded': dataProductViewerState.layoutState.isExpandedModeEnabled,
|
|
40
|
+
}), children: [_jsxs("div", { className: "data-space__viewer__header__title", title: `${dataProudct.name} - ${dataProudct.path}`, children: [_jsx("div", { className: "data-space__viewer__header__title__label", children: dataProudct.name }), dataProductViewerState.isVerified && (_jsx("div", { className: "data-space__viewer__header__title__verified-badge", title: "Verified Data Product", children: _jsx(VerifiedIcon, {}) }))] }), _jsxs("div", { className: "data-space__viewer__header__actions", children: [_jsx(ControlledDropdownMenu, { className: "data-space__viewer__header__execution-context-selector", menuProps: {
|
|
41
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
42
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
43
|
+
elevation: 7,
|
|
44
|
+
}, title: `Current Execution Context: ${dataProductViewerState.product.name}\nClick to switch`, content: null, children: _jsxs("div", { className: "data-space__viewer__header__execution-context-selector__trigger", children: [_jsx("div", { className: "data-space__viewer__header__execution-context-selector__trigger__icon", children: _jsx(PlayIcon, {}) }), _jsx("div", { className: "data-space__viewer__header__execution-context-selector__trigger__label", children: dataProductViewerState.product.name }), _jsx("div", { className: "data-space__viewer__header__execution-context-selector__trigger__dropdown-icon", children: _jsx(CaretDownIcon, {}) })] }) }), _jsx(ControlledDropdownMenu, { className: "data-space__viewer__header__actions-selector", menuProps: {
|
|
45
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
46
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
47
|
+
elevation: 7,
|
|
48
|
+
}, title: "More Actions...", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: () => {
|
|
49
|
+
dataProductViewerState
|
|
50
|
+
.viewSDLCProject(dataProudct.path)
|
|
51
|
+
.catch(applicationStore.alertUnhandledError);
|
|
52
|
+
}, children: "View SDLC Project" }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { onClick: () => {
|
|
53
|
+
const documentationUrl = 'TODO';
|
|
54
|
+
applicationStore.navigationService.navigator.visitAddress(documentationUrl);
|
|
55
|
+
}, children: "Read Documentation" }), _jsx(MenuContentItem, { onClick: () => dataProductViewerState.changeZone(generateAnchorForActivity(DATA_PRODUCT_VIEWER_ACTIVITY_MODE.SUPPORT)), children: "Get Help" })] }), children: _jsx(MoreVerticalIcon, {}) })] })] }) }));
|
|
56
|
+
});
|
|
57
|
+
export const DataProductViewer = observer((props) => {
|
|
58
|
+
const { dataSpaceViewerState } = props;
|
|
59
|
+
const frame = useRef(null);
|
|
60
|
+
const [showFullHeader, setShowFullHeader] = useState(false);
|
|
61
|
+
const [scrollPercentage, setScrollPercentage] = useState(0);
|
|
62
|
+
const onScroll = (event) => {
|
|
63
|
+
const scrollTop = event.currentTarget.scrollTop;
|
|
64
|
+
setShowFullHeader(scrollTop > 0);
|
|
65
|
+
dataSpaceViewerState.layoutState.setTopScrollerVisible(scrollTop > 0);
|
|
66
|
+
setScrollPercentage(event.currentTarget.scrollHeight <= 0
|
|
67
|
+
? 100
|
|
68
|
+
: Math.round(((event.currentTarget.scrollTop +
|
|
69
|
+
event.currentTarget.clientHeight) /
|
|
70
|
+
event.currentTarget.scrollHeight) *
|
|
71
|
+
100));
|
|
72
|
+
};
|
|
73
|
+
const scrollToTop = () => {
|
|
74
|
+
if (dataSpaceViewerState.layoutState.frame) {
|
|
75
|
+
dataSpaceViewerState.layoutState.frame.scrollTo({
|
|
76
|
+
top: 0,
|
|
77
|
+
behavior: 'smooth',
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
const isShowingWiki = DATA_PRODUCT_WIKI_PAGE_SECTIONS.includes(dataSpaceViewerState.currentActivity);
|
|
82
|
+
useEffect(() => {
|
|
83
|
+
if (frame.current) {
|
|
84
|
+
dataSpaceViewerState.layoutState.setFrame(frame.current);
|
|
85
|
+
}
|
|
86
|
+
}, [dataSpaceViewerState]);
|
|
87
|
+
return (_jsxs("div", { className: "data-space__viewer", children: [_jsx(DataProductViewerActivityBar, { dataSpaceViewerState: dataSpaceViewerState }), _jsxs("div", { ref: frame, className: "data-space__viewer__body", onScroll: onScroll, children: [_jsx(DataProductHeader, { dataProductViewerState: dataSpaceViewerState, showFullHeader: showFullHeader }), dataSpaceViewerState.layoutState.isTopScrollerVisible && (_jsxs("div", { className: "data-space__viewer__scroller", children: [_jsx("button", { className: "data-space__viewer__scroller__btn btn--dark", tabIndex: -1, title: "Scroll to top", disabled: !dataSpaceViewerState.layoutState.frame, onClick: scrollToTop, children: _jsx(CaretUpIcon, {}) }), _jsxs("div", { className: "data-space__viewer__scroller__percentage", children: [scrollPercentage, "%"] })] })), _jsx("div", { className: clsx('data-space__viewer__frame', {
|
|
88
|
+
'data-space__viewer__frame--boundless': isShowingWiki,
|
|
89
|
+
'data-space__viewer__frame--expanded': dataSpaceViewerState.layoutState.isExpandedModeEnabled,
|
|
90
|
+
}), children: _jsxs("div", { className: "data-space__viewer__content", children: [isShowingWiki && (_jsx(DataProductWiki, { dataProductViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
|
|
91
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.EXECUTION_CONTEXT && (_jsx(DataProductPlaceholderPanel, { header: "EXECUTION_CONTEXT", message: "No EXECUTION_CONTEXT" })), dataSpaceViewerState.currentActivity ===
|
|
92
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_STORES && (_jsx(DataProductPlaceholderPanel, { header: "Data Stores", message: "This panel will provide details about the available datasets' schema and test data" })), dataSpaceViewerState.currentActivity ===
|
|
93
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_AVAILABILITY && (_jsx(DataProductPlaceholderPanel, { header: "Data Availability", message: "This panel will provide details about the status of data being made available to end-users and applications" })), dataSpaceViewerState.currentActivity ===
|
|
94
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_READINESS && (_jsx(DataProductPlaceholderPanel, { header: "Data Readiness", message: "This will provide details about the status of data being prepared to collect, process, and analyze" })), dataSpaceViewerState.currentActivity ===
|
|
95
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_COST && (_jsx(DataProductPlaceholderPanel, { header: "Data Cost", message: "This will provide details about the cost of data usage" })), dataSpaceViewerState.currentActivity ===
|
|
96
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_GOVERNANCE && (_jsx(DataProductPlaceholderPanel, { header: "Data Governance", message: "This will provide details about data policy, data contract, and dataset lineage information" })), dataSpaceViewerState.currentActivity ===
|
|
97
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.INFO && (_jsx(DataProductPlaceholderPanel, { header: "Info", message: "This will provide details about info" })), dataSpaceViewerState.currentActivity ===
|
|
98
|
+
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.SUPPORT && (_jsx(DataProductPlaceholderPanel, { header: "Support", message: "This will provide details about support" }))] }) })] })] }));
|
|
99
|
+
});
|
|
100
|
+
//# sourceMappingURL=DataProductViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProductViewer.js","sourceRoot":"","sources":["../../../src/components/Lakehouse/DataProductViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EACL,aAAa,EACb,WAAW,EACX,IAAI,EACJ,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iCAAiC,EACjC,yBAAyB,GAC1B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,iBAAiB,G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