@finos/legend-application-marketplace 0.0.19 → 0.0.21
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 +3 -0
- package/lib/__lib__/LegendMarketplaceNavigation.d.ts.map +1 -1
- package/lib/__lib__/LegendMarketplaceNavigation.js +11 -1
- package/lib/__lib__/LegendMarketplaceNavigation.js.map +1 -1
- package/lib/app.css +2 -2
- package/lib/app.css.map +1 -1
- package/lib/application/LegendMarketplaceApplicationConfig.d.ts +10 -0
- package/lib/application/LegendMarketplaceApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceApplicationConfig.js +10 -0
- package/lib/application/LegendMarketplaceApplicationConfig.js.map +1 -1
- package/lib/application/LegendMarketplaceFrameworkProvider.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceFrameworkProvider.js +2 -2
- package/lib/application/LegendMarketplaceFrameworkProvider.js.map +1 -1
- package/lib/application/LegendMarketplaceWebApplication.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceWebApplication.js +18 -8
- package/lib/application/LegendMarketplaceWebApplication.js.map +1 -1
- package/lib/components/DataProductCard/LegendMarketplaceDataProductSearchCard.d.ts.map +1 -1
- package/lib/components/DataProductCard/LegendMarketplaceDataProductSearchCard.js +6 -3
- package/lib/components/DataProductCard/LegendMarketplaceDataProductSearchCard.js.map +1 -1
- package/lib/components/DataProductCard/LegendMarketplaceLightDataProductCard.d.ts.map +1 -1
- package/lib/components/DataProductCard/LegendMarketplaceLightDataProductCard.js +9 -6
- package/lib/components/DataProductCard/LegendMarketplaceLightDataProductCard.js.map +1 -1
- package/lib/components/{Lakehouse/LakehouseHeader.d.ts → Header/MarketplaceLakehouseHeader.d.ts} +2 -2
- package/lib/components/Header/MarketplaceLakehouseHeader.d.ts.map +1 -0
- package/lib/components/{Lakehouse/LakehouseHeader.js → Header/MarketplaceLakehouseHeader.js} +8 -4
- package/lib/components/Header/MarketplaceLakehouseHeader.js.map +1 -0
- package/lib/components/MarketplaceCard/LegendMarketplaceCard.d.ts +25 -0
- package/lib/components/MarketplaceCard/LegendMarketplaceCard.d.ts.map +1 -0
- package/lib/components/MarketplaceCard/LegendMarketplaceCard.js +32 -0
- package/lib/components/MarketplaceCard/LegendMarketplaceCard.js.map +1 -0
- package/lib/components/ProviderCard/LegendMarketplaceProviderCard.d.ts.map +1 -1
- package/lib/components/ProviderCard/LegendMarketplaceProviderCard.js +6 -3
- package/lib/components/ProviderCard/LegendMarketplaceProviderCard.js.map +1 -1
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.js +3 -6
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.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/pages/Home/LegendMarketplaceHome.d.ts.map +1 -1
- package/lib/pages/Home/LegendMarketplaceHome.js +4 -4
- package/lib/pages/Home/LegendMarketplaceHome.js.map +1 -1
- package/lib/pages/Lakehouse/DataProductDataAccess.d.ts.map +1 -0
- package/lib/{components → pages}/Lakehouse/DataProductDataAccess.js +41 -9
- package/lib/pages/Lakehouse/DataProductDataAccess.js.map +1 -0
- package/lib/pages/Lakehouse/DataProductHolder.d.ts.map +1 -0
- package/lib/pages/Lakehouse/DataProductHolder.js.map +1 -0
- package/lib/pages/Lakehouse/DataProductViewer.d.ts.map +1 -0
- package/lib/pages/Lakehouse/DataProductViewer.js.map +1 -0
- package/lib/pages/Lakehouse/DataProductViewerActivityBar.d.ts.map +1 -0
- package/lib/pages/Lakehouse/DataProductViewerActivityBar.js.map +1 -0
- package/lib/pages/Lakehouse/DataProductWiki.d.ts.map +1 -0
- package/lib/pages/Lakehouse/DataProductWiki.js.map +1 -0
- package/lib/pages/Lakehouse/LakehouseDataProduct.d.ts.map +1 -0
- package/lib/{components → pages}/Lakehouse/LakehouseDataProduct.js +3 -3
- package/lib/pages/Lakehouse/LakehouseDataProduct.js.map +1 -0
- package/lib/{components/Lakehouse/LakehouseMarketplace.d.ts → pages/Lakehouse/MarketplaceLakehouseHome.d.ts} +2 -2
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.d.ts.map +1 -0
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.js +54 -0
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.js.map +1 -0
- package/lib/{components/Lakehouse/MarketLakehouseStoreProvider.d.ts → pages/Lakehouse/MarketplaceLakehouseStoreProvider.d.ts} +1 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseStoreProvider.d.ts.map +1 -0
- package/lib/{components/Lakehouse/MarketLakehouseStoreProvider.js → pages/Lakehouse/MarketplaceLakehouseStoreProvider.js} +1 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseStoreProvider.js.map +1 -0
- package/lib/{components/Lakehouse/entitlements/LakehouseEntitlements.d.ts → pages/Lakehouse/entitlements/EntitlementsDashboard.d.ts} +6 -5
- package/lib/pages/Lakehouse/entitlements/EntitlementsDashboard.d.ts.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDashboard.js +194 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDashboard.js.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.d.ts +24 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.d.ts.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.js +38 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.js.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractViewer.d.ts +22 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractViewer.d.ts.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractViewer.js +23 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractViewer.js.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsTaskViewer.d.ts +21 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsTaskViewer.d.ts.map +1 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsTaskViewer.js +32 -0
- package/lib/pages/Lakehouse/entitlements/EntitlementsTaskViewer.js.map +1 -0
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlements.d.ts +17 -0
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlements.d.ts.map +1 -0
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlements.js +55 -0
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlements.js.map +1 -0
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.d.ts.map +1 -0
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.js.map +1 -0
- package/lib/pages/Lakehouse/shared/GridItemViewer.d.ts +21 -0
- package/lib/pages/Lakehouse/shared/GridItemViewer.d.ts.map +1 -0
- package/lib/pages/Lakehouse/shared/GridItemViewer.js +46 -0
- package/lib/pages/Lakehouse/shared/GridItemViewer.js.map +1 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptions.d.ts +29 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptions.d.ts.map +1 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptions.js +152 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptions.js.map +1 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptionsStoreProvider.d.ts +22 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptionsStoreProvider.d.ts.map +1 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptionsStoreProvider.js +34 -0
- package/lib/pages/Lakehouse/subscriptions/LakehouseSubscriptionsStoreProvider.js.map +1 -0
- package/lib/pages/LegendMarketplacePage.d.ts +23 -0
- package/lib/pages/LegendMarketplacePage.d.ts.map +1 -0
- package/lib/pages/LegendMarketplacePage.js +23 -0
- package/lib/pages/LegendMarketplacePage.js.map +1 -0
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.d.ts.map +1 -1
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.js +13 -13
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.js.map +1 -1
- package/lib/pages/VendorData/LegendMarketplaceVendorData.d.ts.map +1 -1
- package/lib/pages/VendorData/LegendMarketplaceVendorData.js +6 -6
- package/lib/pages/VendorData/LegendMarketplaceVendorData.js.map +1 -1
- package/lib/stores/LakehouseContractServerClient.d.ts +11 -4
- package/lib/stores/LakehouseContractServerClient.d.ts.map +1 -1
- package/lib/stores/LakehouseContractServerClient.js +21 -3
- package/lib/stores/LakehouseContractServerClient.js.map +1 -1
- package/lib/stores/LegendMarketplaceBaseStore.d.ts +3 -0
- package/lib/stores/LegendMarketplaceBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendMarketplaceBaseStore.js +8 -1
- package/lib/stores/LegendMarketplaceBaseStore.js.map +1 -1
- package/lib/stores/lakehouse/DataProductDataAccessState.d.ts +6 -7
- package/lib/stores/lakehouse/DataProductDataAccessState.d.ts.map +1 -1
- package/lib/stores/lakehouse/DataProductDataAccessState.js +47 -48
- package/lib/stores/lakehouse/DataProductDataAccessState.js.map +1 -1
- package/lib/stores/lakehouse/DataProductViewerState.d.ts +7 -3
- package/lib/stores/lakehouse/DataProductViewerState.d.ts.map +1 -1
- package/lib/stores/lakehouse/DataProductViewerState.js +51 -22
- package/lib/stores/lakehouse/DataProductViewerState.js.map +1 -1
- package/lib/stores/lakehouse/LakehouseUtils.d.ts +50 -0
- package/lib/stores/lakehouse/LakehouseUtils.d.ts.map +1 -0
- package/lib/stores/lakehouse/LakehouseUtils.js +267 -0
- package/lib/stores/lakehouse/LakehouseUtils.js.map +1 -0
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.d.ts.map +1 -1
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.js +9 -4
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.js.map +1 -1
- package/lib/stores/lakehouse/entitlements/EntitlementsDashboardState.d.ts +31 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDashboardState.d.ts.map +1 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDashboardState.js +110 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDashboardState.js.map +1 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDataContractViewerState.d.ts +30 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDataContractViewerState.d.ts.map +1 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDataContractViewerState.js +65 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsDataContractViewerState.js.map +1 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsTaskViewerState.d.ts +41 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsTaskViewerState.d.ts.map +1 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsTaskViewerState.js +146 -0
- package/lib/stores/lakehouse/entitlements/EntitlementsTaskViewerState.js.map +1 -0
- package/lib/stores/lakehouse/entitlements/LakehouseEntitlementsStore.d.ts +10 -32
- package/lib/stores/lakehouse/entitlements/LakehouseEntitlementsStore.d.ts.map +1 -1
- package/lib/stores/lakehouse/entitlements/LakehouseEntitlementsStore.js +49 -163
- package/lib/stores/lakehouse/entitlements/LakehouseEntitlementsStore.js.map +1 -1
- package/lib/stores/lakehouse/entitlements/LakehouseViewerState.d.ts +23 -0
- package/lib/stores/lakehouse/entitlements/LakehouseViewerState.d.ts.map +1 -0
- package/lib/stores/lakehouse/entitlements/LakehouseViewerState.js +24 -0
- package/lib/stores/lakehouse/entitlements/LakehouseViewerState.js.map +1 -0
- package/lib/stores/lakehouse/subscriptions/LakehouseSubscriptionsStore.d.ts +30 -0
- package/lib/stores/lakehouse/subscriptions/LakehouseSubscriptionsStore.d.ts.map +1 -0
- package/lib/stores/lakehouse/subscriptions/LakehouseSubscriptionsStore.js +63 -0
- package/lib/stores/lakehouse/subscriptions/LakehouseSubscriptionsStore.js.map +1 -0
- package/package.json +5 -4
- package/src/__lib__/LegendMarketplaceNavigation.ts +16 -1
- package/src/application/LegendMarketplaceApplicationConfig.ts +25 -0
- package/src/application/LegendMarketplaceFrameworkProvider.tsx +2 -0
- package/src/application/LegendMarketplaceWebApplication.tsx +50 -12
- package/src/components/DataProductCard/LegendMarketplaceDataProductSearchCard.tsx +41 -33
- package/src/components/DataProductCard/LegendMarketplaceLightDataProductCard.tsx +33 -36
- package/src/components/{Lakehouse/LakehouseHeader.tsx → Header/MarketplaceLakehouseHeader.tsx} +7 -3
- package/src/components/MarketplaceCard/LegendMarketplaceCard.tsx +98 -0
- package/src/components/ProviderCard/LegendMarketplaceProviderCard.tsx +47 -39
- package/src/components/__test-utils__/LegendMarketplaceStoreTestUtils.tsx +2 -14
- package/src/pages/Home/LegendMarketplaceHome.tsx +42 -51
- package/src/{components → pages}/Lakehouse/DataProductDataAccess.tsx +91 -12
- package/src/{components → pages}/Lakehouse/LakehouseDataProduct.tsx +14 -23
- package/src/pages/Lakehouse/MarketplaceLakehouseHome.tsx +167 -0
- package/src/pages/Lakehouse/entitlements/EntitlementsDashboard.tsx +390 -0
- package/src/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.tsx +99 -0
- package/src/pages/Lakehouse/entitlements/EntitlementsDataContractViewer.tsx +33 -0
- package/src/pages/Lakehouse/entitlements/EntitlementsTaskViewer.tsx +73 -0
- package/src/pages/Lakehouse/entitlements/LakehouseEntitlements.tsx +82 -0
- package/src/pages/Lakehouse/shared/GridItemViewer.tsx +105 -0
- package/src/pages/Lakehouse/subscriptions/LakehouseSubscriptions.tsx +358 -0
- package/src/pages/Lakehouse/subscriptions/LakehouseSubscriptionsStoreProvider.tsx +65 -0
- package/src/pages/LegendMarketplacePage.tsx +26 -0
- package/src/pages/SearchResults/LegendMarketplaceSearchResults.tsx +58 -65
- package/src/pages/VendorData/LegendMarketplaceVendorData.tsx +44 -42
- package/src/stores/LakehouseContractServerClient.ts +78 -10
- package/src/stores/LegendMarketplaceBaseStore.ts +16 -1
- package/src/stores/lakehouse/DataProductDataAccessState.ts +67 -63
- package/src/stores/lakehouse/DataProductViewerState.ts +86 -29
- package/src/stores/lakehouse/LakehouseUtils.ts +345 -0
- package/src/stores/lakehouse/MarketplaceLakehouseStore.ts +10 -6
- package/src/stores/lakehouse/entitlements/EntitlementsDashboardState.ts +167 -0
- package/src/stores/lakehouse/entitlements/EntitlementsDataContractViewerState.ts +101 -0
- package/src/stores/lakehouse/entitlements/EntitlementsTaskViewerState.ts +227 -0
- package/src/stores/lakehouse/entitlements/LakehouseEntitlementsStore.ts +69 -231
- package/src/stores/lakehouse/entitlements/LakehouseViewerState.ts +27 -0
- package/src/stores/lakehouse/subscriptions/LakehouseSubscriptionsStore.ts +100 -0
- package/tsconfig.json +26 -13
- package/lib/components/Lakehouse/DataProductDataAccess.d.ts.map +0 -1
- package/lib/components/Lakehouse/DataProductDataAccess.js.map +0 -1
- package/lib/components/Lakehouse/DataProductHolder.d.ts.map +0 -1
- package/lib/components/Lakehouse/DataProductHolder.js.map +0 -1
- package/lib/components/Lakehouse/DataProductViewer.d.ts.map +0 -1
- package/lib/components/Lakehouse/DataProductViewer.js.map +0 -1
- package/lib/components/Lakehouse/DataProductViewerActivityBar.d.ts.map +0 -1
- package/lib/components/Lakehouse/DataProductViewerActivityBar.js.map +0 -1
- package/lib/components/Lakehouse/DataProductWiki.d.ts.map +0 -1
- package/lib/components/Lakehouse/DataProductWiki.js.map +0 -1
- package/lib/components/Lakehouse/LakehouseDataProduct.d.ts.map +0 -1
- package/lib/components/Lakehouse/LakehouseDataProduct.js.map +0 -1
- package/lib/components/Lakehouse/LakehouseHeader.d.ts.map +0 -1
- package/lib/components/Lakehouse/LakehouseHeader.js.map +0 -1
- package/lib/components/Lakehouse/LakehouseMarketplace.d.ts.map +0 -1
- package/lib/components/Lakehouse/LakehouseMarketplace.js +0 -57
- package/lib/components/Lakehouse/LakehouseMarketplace.js.map +0 -1
- package/lib/components/Lakehouse/MarketLakehouseStoreProvider.d.ts.map +0 -1
- package/lib/components/Lakehouse/MarketLakehouseStoreProvider.js.map +0 -1
- package/lib/components/Lakehouse/entitlements/LakehouseEntitlements.d.ts.map +0 -1
- package/lib/components/Lakehouse/entitlements/LakehouseEntitlements.js +0 -147
- package/lib/components/Lakehouse/entitlements/LakehouseEntitlements.js.map +0 -1
- package/lib/components/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.d.ts.map +0 -1
- package/lib/components/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.js.map +0 -1
- package/lib/stores/MarketplaceLakehouseServerClient.d.ts +0 -25
- package/lib/stores/MarketplaceLakehouseServerClient.d.ts.map +0 -1
- package/lib/stores/MarketplaceLakehouseServerClient.js +0 -27
- package/lib/stores/MarketplaceLakehouseServerClient.js.map +0 -1
- package/lib/stores/lakehouse/entitlements/DataContractState.d.ts +0 -27
- package/lib/stores/lakehouse/entitlements/DataContractState.d.ts.map +0 -1
- package/lib/stores/lakehouse/entitlements/DataContractState.js +0 -115
- package/lib/stores/lakehouse/entitlements/DataContractState.js.map +0 -1
- package/src/components/Lakehouse/LakehouseMarketplace.tsx +0 -193
- package/src/components/Lakehouse/entitlements/LakehouseEntitlements.tsx +0 -332
- package/src/stores/MarketplaceLakehouseServerClient.ts +0 -40
- package/src/stores/lakehouse/entitlements/DataContractState.ts +0 -131
- /package/lib/{components → pages}/Lakehouse/DataProductDataAccess.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductHolder.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductHolder.js +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductViewer.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductViewer.js +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductViewerActivityBar.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductViewerActivityBar.js +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductWiki.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/DataProductWiki.js +0 -0
- /package/lib/{components → pages}/Lakehouse/LakehouseDataProduct.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.d.ts +0 -0
- /package/lib/{components → pages}/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.js +0 -0
- /package/src/{components → pages}/Lakehouse/DataProductHolder.tsx +0 -0
- /package/src/{components → pages}/Lakehouse/DataProductViewer.tsx +0 -0
- /package/src/{components → pages}/Lakehouse/DataProductViewerActivityBar.tsx +0 -0
- /package/src/{components → pages}/Lakehouse/DataProductWiki.tsx +0 -0
- /package/src/{components/Lakehouse/MarketLakehouseStoreProvider.tsx → pages/Lakehouse/MarketplaceLakehouseStoreProvider.tsx} +0 -0
- /package/src/{components → pages}/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.tsx +0 -0
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
18
|
import { LegendMarketplaceSearchBar } from '../../components/SearchBar/LegendMarketplaceSearchBar.js';
|
|
19
|
-
import { LegendMarketplaceHeader } from '../../components/Header/LegendMarketplaceHeader.js';
|
|
20
19
|
import { useApplicationStore } from '@finos/legend-application';
|
|
21
20
|
import {
|
|
22
21
|
generateSearchResultsRoute,
|
|
@@ -26,6 +25,7 @@ import type { LightDataProduct } from '@finos/legend-server-marketplace';
|
|
|
26
25
|
import { shuffle } from '@finos/legend-shared';
|
|
27
26
|
import { LegendMarketplaceLightDataProductCard } from '../../components/DataProductCard/LegendMarketplaceLightDataProductCard.js';
|
|
28
27
|
import { Grid2 as Grid } from '@mui/material';
|
|
28
|
+
import { LegendMarketplacePage } from '../LegendMarketplacePage.js';
|
|
29
29
|
|
|
30
30
|
// Temporary placeholder data for assets
|
|
31
31
|
|
|
@@ -81,57 +81,48 @@ export const LegendMarketplaceHome = observer(() => {
|
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
return (
|
|
84
|
-
<
|
|
85
|
-
<div className="legend-marketplace-
|
|
86
|
-
<div className="legend-marketplace-
|
|
87
|
-
<
|
|
88
|
-
|
|
89
|
-
<
|
|
90
|
-
|
|
91
|
-
<h1>
|
|
92
|
-
<span style={{ color: '#76A1E3' }}>All data in </span>
|
|
93
|
-
<span style={{ color: 'white' }}>One Place</span>
|
|
94
|
-
</h1>
|
|
95
|
-
</div>
|
|
96
|
-
<div className="legend-marketplace-home__landing__description">
|
|
97
|
-
<h3>
|
|
98
|
-
Discover the right data and accelerate analytic productivity.
|
|
99
|
-
</h3>
|
|
100
|
-
</div>
|
|
101
|
-
<div className="legend-marketplace-home__landing__search-bar">
|
|
102
|
-
<LegendMarketplaceSearchBar onSearch={onSearch} />
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
<div className="legend-marketplace-home__vendors-title">
|
|
106
|
-
<h3>Explore our Data</h3>
|
|
107
|
-
</div>
|
|
108
|
-
<div className="legend-marketplace-home__vendors-cards">
|
|
109
|
-
<Grid
|
|
110
|
-
container={true}
|
|
111
|
-
spacing={{ xs: 2, md: 3, xl: 4 }}
|
|
112
|
-
columns={{ xs: 1, sm: 2, md: 3, xl: 6 }}
|
|
113
|
-
sx={{ justifyContent: 'center' }}
|
|
114
|
-
>
|
|
115
|
-
{shuffle(dataAssets).map((asset) => (
|
|
116
|
-
<Grid
|
|
117
|
-
key={`${asset.provider}.${asset.type}.${asset.description}`}
|
|
118
|
-
size={1}
|
|
119
|
-
>
|
|
120
|
-
<LegendMarketplaceLightDataProductCard
|
|
121
|
-
dataAsset={asset}
|
|
122
|
-
onClick={(dataAsset: LightDataProduct) => {
|
|
123
|
-
applicationStore.navigationService.navigator.goToLocation(
|
|
124
|
-
generateVendorDetailsRoute(dataAsset.provider),
|
|
125
|
-
);
|
|
126
|
-
}}
|
|
127
|
-
/>
|
|
128
|
-
</Grid>
|
|
129
|
-
))}
|
|
130
|
-
</Grid>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
84
|
+
<LegendMarketplacePage className="legend-marketplace-home">
|
|
85
|
+
<div className="legend-marketplace-home__landing">
|
|
86
|
+
<div className="legend-marketplace-home__landing__title">
|
|
87
|
+
<h1>
|
|
88
|
+
<span style={{ color: '#76A1E3' }}>All data in </span>
|
|
89
|
+
<span style={{ color: 'white' }}>One Place</span>
|
|
90
|
+
</h1>
|
|
133
91
|
</div>
|
|
92
|
+
<div className="legend-marketplace-home__landing__description">
|
|
93
|
+
<h3>Discover the right data and accelerate analytic productivity.</h3>
|
|
94
|
+
</div>
|
|
95
|
+
<div className="legend-marketplace-home__landing__search-bar">
|
|
96
|
+
<LegendMarketplaceSearchBar onSearch={onSearch} />
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<div className="legend-marketplace-home__vendors-title">
|
|
100
|
+
<h3>Explore our Data</h3>
|
|
101
|
+
</div>
|
|
102
|
+
<div className="legend-marketplace-home__vendors-cards">
|
|
103
|
+
<Grid
|
|
104
|
+
container={true}
|
|
105
|
+
spacing={{ xs: 2, md: 3, xl: 4 }}
|
|
106
|
+
columns={{ xs: 1, sm: 2, md: 3, xl: 6 }}
|
|
107
|
+
sx={{ justifyContent: 'center' }}
|
|
108
|
+
>
|
|
109
|
+
{shuffle(dataAssets).map((asset) => (
|
|
110
|
+
<Grid
|
|
111
|
+
key={`${asset.provider}.${asset.type}.${asset.description}`}
|
|
112
|
+
size={1}
|
|
113
|
+
>
|
|
114
|
+
<LegendMarketplaceLightDataProductCard
|
|
115
|
+
dataAsset={asset}
|
|
116
|
+
onClick={(dataAsset: LightDataProduct) => {
|
|
117
|
+
applicationStore.navigationService.navigator.goToLocation(
|
|
118
|
+
generateVendorDetailsRoute(dataAsset.provider),
|
|
119
|
+
);
|
|
120
|
+
}}
|
|
121
|
+
/>
|
|
122
|
+
</Grid>
|
|
123
|
+
))}
|
|
124
|
+
</Grid>
|
|
134
125
|
</div>
|
|
135
|
-
</
|
|
126
|
+
</LegendMarketplacePage>
|
|
136
127
|
);
|
|
137
128
|
});
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
18
|
AnchorLinkIcon,
|
|
19
|
-
ChevronDownIcon,
|
|
20
19
|
clsx,
|
|
21
20
|
MarkdownTextViewer,
|
|
22
21
|
QuestionCircleIcon,
|
|
@@ -27,7 +26,7 @@ import {
|
|
|
27
26
|
DATA_PRODUCT_VIEWER_ACTIVITY_MODE,
|
|
28
27
|
generateAnchorForActivity,
|
|
29
28
|
} from '../../stores/lakehouse/DataProductViewerNavigation.js';
|
|
30
|
-
import { useEffect, useRef } from 'react';
|
|
29
|
+
import { useEffect, useRef, useState } from 'react';
|
|
31
30
|
import type { DataProductViewerState } from '../../stores/lakehouse/DataProductViewerState.js';
|
|
32
31
|
import { useApplicationStore } from '@finos/legend-application';
|
|
33
32
|
import {
|
|
@@ -38,8 +37,20 @@ import {
|
|
|
38
37
|
DataGrid,
|
|
39
38
|
type DataGridCellRendererParams,
|
|
40
39
|
} from '@finos/legend-lego/data-grid';
|
|
41
|
-
import
|
|
42
|
-
|
|
40
|
+
import {
|
|
41
|
+
type V1_RawLambda,
|
|
42
|
+
V1_RenderStyle,
|
|
43
|
+
type V1_LakehouseAccessPoint,
|
|
44
|
+
} from '@finos/legend-graph';
|
|
45
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
|
46
|
+
import {
|
|
47
|
+
CODE_EDITOR_LANGUAGE,
|
|
48
|
+
CODE_EDITOR_THEME,
|
|
49
|
+
} from '@finos/legend-code-editor';
|
|
50
|
+
import { Tab, Tabs } from '@mui/material';
|
|
51
|
+
import { useLegendMarketplaceBaseStore } from '../../application/LegendMarketplaceFrameworkProvider.js';
|
|
52
|
+
import { type PlainObject } from '@finos/legend-shared';
|
|
53
|
+
import { DataContractCreator } from './entitlements/EntitlementsDataContractCreator.js';
|
|
43
54
|
|
|
44
55
|
export const DataProductMarkdownTextViewer: React.FC<{ value: string }> = (
|
|
45
56
|
props,
|
|
@@ -77,12 +88,68 @@ const TDSColumnMoreInfoCellRenderer = (
|
|
|
77
88
|
params: DataGridCellRendererParams<V1_LakehouseAccessPoint>,
|
|
78
89
|
): React.ReactNode => {
|
|
79
90
|
const data = params.data;
|
|
91
|
+
const store = useLegendMarketplaceBaseStore();
|
|
92
|
+
const enum MoreInfoTabs {
|
|
93
|
+
GRAMMAR = 'Grammar',
|
|
94
|
+
}
|
|
95
|
+
const [activeTab, setActiveTab] = useState(MoreInfoTabs.GRAMMAR);
|
|
96
|
+
const handleTabChange = (
|
|
97
|
+
event: React.SyntheticEvent,
|
|
98
|
+
newValue: MoreInfoTabs,
|
|
99
|
+
) => {
|
|
100
|
+
setActiveTab(newValue);
|
|
101
|
+
};
|
|
102
|
+
const [accessPointGrammar, setAccessPointGrammar] =
|
|
103
|
+
useState<string>('Loading ...');
|
|
104
|
+
|
|
105
|
+
useEffect(() => {
|
|
106
|
+
if (!data) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
const fetchGrammar = async () => {
|
|
111
|
+
try {
|
|
112
|
+
const grammar = await store.engineServerClient.JSONToGrammar_lambda(
|
|
113
|
+
data.func as unknown as PlainObject<V1_RawLambda>,
|
|
114
|
+
V1_RenderStyle.PRETTY,
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
setAccessPointGrammar(grammar);
|
|
118
|
+
} catch {
|
|
119
|
+
throw new Error('Error fetching access point grammar');
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
fetchGrammar().catch((error) => {
|
|
124
|
+
throw new Error(`Error fetching access point grammar: ${error.message}`);
|
|
125
|
+
});
|
|
126
|
+
}, [data, store]);
|
|
127
|
+
|
|
80
128
|
if (!data) {
|
|
81
129
|
return null;
|
|
82
130
|
}
|
|
131
|
+
|
|
83
132
|
return (
|
|
84
|
-
<div
|
|
85
|
-
<
|
|
133
|
+
<div>
|
|
134
|
+
<Tabs value={activeTab} onChange={handleTabChange}>
|
|
135
|
+
<Tab label={MoreInfoTabs.GRAMMAR} value={MoreInfoTabs.GRAMMAR} />
|
|
136
|
+
</Tabs>
|
|
137
|
+
|
|
138
|
+
<div
|
|
139
|
+
className="data-space__viewer__more-info__container"
|
|
140
|
+
style={{ height: '200px', width: '100%' }}
|
|
141
|
+
>
|
|
142
|
+
<CodeEditor
|
|
143
|
+
inputValue={accessPointGrammar}
|
|
144
|
+
isReadOnly={true}
|
|
145
|
+
language={CODE_EDITOR_LANGUAGE.TEXT}
|
|
146
|
+
hideMinimap={true}
|
|
147
|
+
hideGutter={true}
|
|
148
|
+
hideActionBar={true}
|
|
149
|
+
lightTheme={CODE_EDITOR_THEME.GITHUB_LIGHT}
|
|
150
|
+
extraEditorOptions={{ scrollBeyondLastLine: false, wordWrap: 'on' }}
|
|
151
|
+
/>
|
|
152
|
+
</div>
|
|
86
153
|
</div>
|
|
87
154
|
);
|
|
88
155
|
};
|
|
@@ -96,10 +163,7 @@ export const DataProductGroupAccessViewer = observer(
|
|
|
96
163
|
const accessPoints = accessGroupState.group.accessPoints;
|
|
97
164
|
|
|
98
165
|
const handleClick = (): void => {
|
|
99
|
-
|
|
100
|
-
accessGroupState.accessState.viewerState.applicationStore
|
|
101
|
-
.alertUnhandledError,
|
|
102
|
-
);
|
|
166
|
+
accessGroupState.handleClick();
|
|
103
167
|
};
|
|
104
168
|
|
|
105
169
|
const renderAccess = (val: DataProductGroupAccess): React.ReactNode => {
|
|
@@ -209,7 +273,7 @@ export const DataProductGroupAccessViewer = observer(
|
|
|
209
273
|
sortable: false,
|
|
210
274
|
resizable: false,
|
|
211
275
|
headerClass: 'data-space__viewer__grid__last-column-header',
|
|
212
|
-
cellRenderer:
|
|
276
|
+
cellRenderer: 'agGroupCellRenderer',
|
|
213
277
|
headerName: 'More Info',
|
|
214
278
|
flex: 1,
|
|
215
279
|
},
|
|
@@ -217,6 +281,9 @@ export const DataProductGroupAccessViewer = observer(
|
|
|
217
281
|
onRowDataUpdated={(params) => {
|
|
218
282
|
params.api.refreshCells({ force: true });
|
|
219
283
|
}}
|
|
284
|
+
masterDetail={true}
|
|
285
|
+
detailCellRenderer={TDSColumnMoreInfoCellRenderer}
|
|
286
|
+
detailRowHeight={200}
|
|
220
287
|
/>
|
|
221
288
|
</div>
|
|
222
289
|
</div>
|
|
@@ -235,7 +302,6 @@ export const DataProducteDataAccess = observer(
|
|
|
235
302
|
const anchor = generateAnchorForActivity(
|
|
236
303
|
DATA_PRODUCT_VIEWER_ACTIVITY_MODE.DATA_ACCESS,
|
|
237
304
|
);
|
|
238
|
-
|
|
239
305
|
useEffect(() => {
|
|
240
306
|
if (sectionRef.current) {
|
|
241
307
|
dataSpaceViewerState.layoutState.setWikiPageAnchor(
|
|
@@ -291,6 +357,19 @@ export const DataProducteDataAccess = observer(
|
|
|
291
357
|
/>
|
|
292
358
|
),
|
|
293
359
|
)}
|
|
360
|
+
{dataSpaceViewerState.dataContractAccessPointGroup && (
|
|
361
|
+
<DataContractCreator
|
|
362
|
+
onClose={() =>
|
|
363
|
+
dataSpaceViewerState.setDataContractAccessPointGroup(
|
|
364
|
+
undefined,
|
|
365
|
+
)
|
|
366
|
+
}
|
|
367
|
+
accessGroupPoint={
|
|
368
|
+
dataSpaceViewerState.dataContractAccessPointGroup
|
|
369
|
+
}
|
|
370
|
+
viewerState={dataSpaceViewerState}
|
|
371
|
+
/>
|
|
372
|
+
)}
|
|
294
373
|
</div>
|
|
295
374
|
</div>
|
|
296
375
|
</div>
|
|
@@ -18,7 +18,7 @@ import { observer } from 'mobx-react-lite';
|
|
|
18
18
|
import {
|
|
19
19
|
useMarketplaceLakehouseStore,
|
|
20
20
|
withMarketplaceLakehouseStore,
|
|
21
|
-
} from './
|
|
21
|
+
} from './MarketplaceLakehouseStoreProvider.js';
|
|
22
22
|
import { useEffect } from 'react';
|
|
23
23
|
import {
|
|
24
24
|
CubesLoadingIndicator,
|
|
@@ -33,7 +33,7 @@ import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
|
33
33
|
import { DataProductViewer } from './DataProductViewer.js';
|
|
34
34
|
import { LEGEND_APPLICATION_COLOR_THEME } from '@finos/legend-application';
|
|
35
35
|
import { useAuth } from 'react-oidc-context';
|
|
36
|
-
import {
|
|
36
|
+
import { LegendMarketplacePage } from '../LegendMarketplacePage.js';
|
|
37
37
|
|
|
38
38
|
export const LakehouseDataProduct = withMarketplaceLakehouseStore(
|
|
39
39
|
observer(() => {
|
|
@@ -62,27 +62,18 @@ export const LakehouseDataProduct = withMarketplaceLakehouseStore(
|
|
|
62
62
|
}, [applicationStore]);
|
|
63
63
|
|
|
64
64
|
return (
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<DataProductViewer
|
|
78
|
-
dataSpaceViewerState={marketPlaceStore.dataProductViewer}
|
|
79
|
-
/>
|
|
80
|
-
)}
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
65
|
+
<LegendMarketplacePage className="legend-marketplace-lakehouse-data-product">
|
|
66
|
+
<CubesLoadingIndicator
|
|
67
|
+
isLoading={marketPlaceStore.loadingProductsState.isInProgress}
|
|
68
|
+
>
|
|
69
|
+
<CubesLoadingIndicatorIcon />
|
|
70
|
+
</CubesLoadingIndicator>
|
|
71
|
+
{marketPlaceStore.dataProductViewer && (
|
|
72
|
+
<DataProductViewer
|
|
73
|
+
dataSpaceViewerState={marketPlaceStore.dataProductViewer}
|
|
74
|
+
/>
|
|
75
|
+
)}
|
|
76
|
+
</LegendMarketplacePage>
|
|
86
77
|
);
|
|
87
78
|
}),
|
|
88
79
|
);
|
|
@@ -0,0 +1,167 @@
|
|
|
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
|
+
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import {
|
|
19
|
+
useMarketplaceLakehouseStore,
|
|
20
|
+
withMarketplaceLakehouseStore,
|
|
21
|
+
} from './MarketplaceLakehouseStoreProvider.js';
|
|
22
|
+
import { useEffect, type JSX } from 'react';
|
|
23
|
+
import {
|
|
24
|
+
clsx,
|
|
25
|
+
CubesLoadingIndicator,
|
|
26
|
+
CubesLoadingIndicatorIcon,
|
|
27
|
+
} from '@finos/legend-art';
|
|
28
|
+
import {
|
|
29
|
+
Checkbox,
|
|
30
|
+
Chip,
|
|
31
|
+
FormControlLabel,
|
|
32
|
+
FormGroup,
|
|
33
|
+
Grid2 as Grid,
|
|
34
|
+
} from '@mui/material';
|
|
35
|
+
import type { DataProductState } from '../../stores/lakehouse/MarketplaceLakehouseStore.js';
|
|
36
|
+
import { generateLakehouseDataProduct } from '../../__lib__/LegendMarketplaceNavigation.js';
|
|
37
|
+
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
38
|
+
import { LegendMarketplaceSearchBar } from '../../components/SearchBar/LegendMarketplaceSearchBar.js';
|
|
39
|
+
import { DepotScope } from '@finos/legend-server-depot';
|
|
40
|
+
import { LegendMarketplaceCard } from '../../components/MarketplaceCard/LegendMarketplaceCard.js';
|
|
41
|
+
import { LegendMarketplacePage } from '../LegendMarketplacePage.js';
|
|
42
|
+
|
|
43
|
+
export const LegendDataProductVendorCard = (props: {
|
|
44
|
+
dataAsset: DataProductState;
|
|
45
|
+
onClick: (dataAsset: DataProductState) => void;
|
|
46
|
+
}): JSX.Element => {
|
|
47
|
+
const { dataAsset, onClick } = props;
|
|
48
|
+
|
|
49
|
+
const content = (
|
|
50
|
+
<>
|
|
51
|
+
<Chip
|
|
52
|
+
label={dataAsset.productEntity.versionId}
|
|
53
|
+
className={clsx('legend-marketplace-vendor-card__type')}
|
|
54
|
+
/>
|
|
55
|
+
<div className="legend-marketplace-vendor-card__name">
|
|
56
|
+
{dataAsset.productEntity.path.split('::').pop()}
|
|
57
|
+
</div>
|
|
58
|
+
<div className="legend-marketplace-vendor-card__description">
|
|
59
|
+
{`${dataAsset.productEntity.groupId}:${dataAsset.productEntity.artifactId}`}
|
|
60
|
+
</div>
|
|
61
|
+
</>
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
const moreInfo = <div>{dataAsset.productEntity.path}</div>;
|
|
65
|
+
|
|
66
|
+
return (
|
|
67
|
+
<LegendMarketplaceCard
|
|
68
|
+
size="large"
|
|
69
|
+
content={content}
|
|
70
|
+
onClick={() => onClick(dataAsset)}
|
|
71
|
+
moreInfo={moreInfo}
|
|
72
|
+
/>
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export const MarketplaceLakehouseHome = withMarketplaceLakehouseStore(
|
|
77
|
+
observer(() => {
|
|
78
|
+
const marketPlaceStore = useMarketplaceLakehouseStore();
|
|
79
|
+
const onSearch = (
|
|
80
|
+
provider: string | undefined,
|
|
81
|
+
query: string | undefined,
|
|
82
|
+
) => {
|
|
83
|
+
marketPlaceStore.handleSearch(query);
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
const onSearchChange = (query: string) => {
|
|
87
|
+
if (query === '') {
|
|
88
|
+
// use for clearing of search
|
|
89
|
+
marketPlaceStore.handleSearch(query);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
useEffect(() => {
|
|
94
|
+
marketPlaceStore.init();
|
|
95
|
+
}, [marketPlaceStore]);
|
|
96
|
+
|
|
97
|
+
return (
|
|
98
|
+
<LegendMarketplacePage className="legend-marketplace-lakehouse-home">
|
|
99
|
+
<CubesLoadingIndicator
|
|
100
|
+
isLoading={marketPlaceStore.loadingProductsState.isInProgress}
|
|
101
|
+
>
|
|
102
|
+
<CubesLoadingIndicatorIcon />
|
|
103
|
+
</CubesLoadingIndicator>
|
|
104
|
+
<div className="legend-marketplace-data-product-search__container">
|
|
105
|
+
<LegendMarketplaceSearchBar
|
|
106
|
+
onSearch={onSearch}
|
|
107
|
+
onChange={onSearchChange}
|
|
108
|
+
/>
|
|
109
|
+
<FormGroup row={true}>
|
|
110
|
+
<FormControlLabel
|
|
111
|
+
control={
|
|
112
|
+
<Checkbox
|
|
113
|
+
checked={marketPlaceStore.filter.releaseFilter}
|
|
114
|
+
onChange={() =>
|
|
115
|
+
marketPlaceStore.handleFilterChange(DepotScope.RELEASES)
|
|
116
|
+
}
|
|
117
|
+
/>
|
|
118
|
+
}
|
|
119
|
+
label="Releases"
|
|
120
|
+
/>
|
|
121
|
+
<FormControlLabel
|
|
122
|
+
control={
|
|
123
|
+
<Checkbox
|
|
124
|
+
checked={marketPlaceStore.filter.snapshotFilter}
|
|
125
|
+
onChange={() =>
|
|
126
|
+
marketPlaceStore.handleFilterChange(DepotScope.SNAPSHOT)
|
|
127
|
+
}
|
|
128
|
+
/>
|
|
129
|
+
}
|
|
130
|
+
label="Snapshots"
|
|
131
|
+
/>
|
|
132
|
+
</FormGroup>
|
|
133
|
+
</div>
|
|
134
|
+
<div className="legend-marketplace-home__vendors-cards">
|
|
135
|
+
<Grid
|
|
136
|
+
container={true}
|
|
137
|
+
spacing={{ xs: 2, md: 3, xl: 4 }}
|
|
138
|
+
columns={{ xs: 1, sm: 2, xl: 3, xxl: 4, xxxl: 5, xxxxl: 6 }}
|
|
139
|
+
sx={{ justifyContent: 'center' }}
|
|
140
|
+
>
|
|
141
|
+
{marketPlaceStore.filterProducts?.map((dpState) => (
|
|
142
|
+
<Grid key={dpState.id} size={1}>
|
|
143
|
+
<LegendDataProductVendorCard
|
|
144
|
+
dataAsset={dpState}
|
|
145
|
+
onClick={(dataAsset: DataProductState) => {
|
|
146
|
+
{
|
|
147
|
+
marketPlaceStore.applicationStore.navigationService.navigator.goToLocation(
|
|
148
|
+
generateLakehouseDataProduct(
|
|
149
|
+
generateGAVCoordinates(
|
|
150
|
+
dpState.productEntity.groupId,
|
|
151
|
+
dpState.productEntity.artifactId,
|
|
152
|
+
dpState.productEntity.versionId,
|
|
153
|
+
),
|
|
154
|
+
dpState.productEntity.path,
|
|
155
|
+
),
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
}}
|
|
159
|
+
/>
|
|
160
|
+
</Grid>
|
|
161
|
+
))}
|
|
162
|
+
</Grid>
|
|
163
|
+
</div>
|
|
164
|
+
</LegendMarketplacePage>
|
|
165
|
+
);
|
|
166
|
+
}),
|
|
167
|
+
);
|