@finos/legend-application-marketplace 0.1.6 → 0.1.7
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/{pages/Lakehouse/MarketplaceLakehouseStoreProvider.d.ts → __lib__/LegendMarketplaceAppEvent.d.ts} +5 -7
- package/lib/__lib__/LegendMarketplaceAppEvent.d.ts.map +1 -0
- package/lib/__lib__/LegendMarketplaceAppEvent.js +21 -0
- package/lib/__lib__/LegendMarketplaceAppEvent.js.map +1 -0
- package/lib/__lib__/LegendMarketplaceUserDataHelper.d.ts +1 -1
- package/lib/__lib__/LegendMarketplaceUserDataHelper.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceApplicationPlugin.d.ts +1 -2
- package/lib/application/LegendMarketplaceApplicationPlugin.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceApplicationPlugin.js.map +1 -1
- package/lib/application/LegendMarketplaceWebApplication.d.ts.map +1 -1
- package/lib/application/LegendMarketplaceWebApplication.js +16 -7
- package/lib/application/LegendMarketplaceWebApplication.js.map +1 -1
- package/lib/application/__test-utils__/LegendMarketplaceApplicationTestUtils.d.ts +2 -2
- package/lib/application/__test-utils__/LegendMarketplaceApplicationTestUtils.d.ts.map +1 -1
- package/lib/application/__test-utils__/LegendMarketplaceApplicationTestUtils.js +6 -6
- package/lib/application/__test-utils__/LegendMarketplaceApplicationTestUtils.js.map +1 -1
- package/lib/application/extensions/Core_LegendMarketplace_LegendApplicationPlugin.js +1 -1
- package/lib/application/extensions/Core_LegendMarketplace_LegendApplicationPlugin.js.map +1 -1
- package/lib/{pages/Lakehouse/admin → application/providers}/LakehouseAdminStoreProvider.d.ts +1 -1
- package/lib/application/providers/LakehouseAdminStoreProvider.d.ts.map +1 -0
- package/lib/{pages/Lakehouse/admin → application/providers}/LakehouseAdminStoreProvider.js +2 -2
- package/lib/application/providers/LakehouseAdminStoreProvider.js.map +1 -0
- package/lib/{pages/Lakehouse/entitlements → application/providers}/LakehouseEntitlementsStoreProvider.d.ts +1 -1
- package/lib/application/providers/LakehouseEntitlementsStoreProvider.d.ts.map +1 -0
- package/lib/{pages/Lakehouse/entitlements → application/providers}/LakehouseEntitlementsStoreProvider.js +2 -2
- package/lib/application/providers/LakehouseEntitlementsStoreProvider.js.map +1 -0
- package/lib/application/{LegendMarketplaceFrameworkProvider.d.ts → providers/LegendMarketplaceFrameworkProvider.d.ts} +1 -1
- package/lib/application/providers/LegendMarketplaceFrameworkProvider.d.ts.map +1 -0
- package/lib/application/{LegendMarketplaceFrameworkProvider.js → providers/LegendMarketplaceFrameworkProvider.js} +1 -1
- package/lib/application/providers/LegendMarketplaceFrameworkProvider.js.map +1 -0
- package/lib/application/providers/LegendMarketplaceProductViewerStoreProvider.d.ts +22 -0
- package/lib/application/providers/LegendMarketplaceProductViewerStoreProvider.d.ts.map +1 -0
- package/lib/application/providers/LegendMarketplaceProductViewerStoreProvider.js +32 -0
- package/lib/application/providers/LegendMarketplaceProductViewerStoreProvider.js.map +1 -0
- package/lib/application/providers/LegendMarketplaceSearchResultsStoreProvider.d.ts +22 -0
- package/lib/application/providers/LegendMarketplaceSearchResultsStoreProvider.d.ts.map +1 -0
- package/lib/application/providers/LegendMarketplaceSearchResultsStoreProvider.js +32 -0
- package/lib/application/providers/LegendMarketplaceSearchResultsStoreProvider.js.map +1 -0
- package/lib/application/providers/LegendMarketplaceVendorDataProvider.d.ts +23 -0
- package/lib/application/providers/LegendMarketplaceVendorDataProvider.d.ts.map +1 -0
- package/lib/application/providers/LegendMarketplaceVendorDataProvider.js +33 -0
- package/lib/application/providers/LegendMarketplaceVendorDataProvider.js.map +1 -0
- package/lib/components/Header/LegendMarketplaceAppInfo.js +1 -1
- package/lib/components/Header/LegendMarketplaceAppInfo.js.map +1 -1
- package/lib/components/Header/LegendMarketplaceIconToolbar.js +1 -1
- package/lib/components/Header/LegendMarketplaceIconToolbar.js.map +1 -1
- package/lib/components/LakehouseDataProductCard/LakehouseDataProductCard.d.ts.map +1 -1
- package/lib/components/LakehouseDataProductCard/LakehouseDataProductCard.js +1 -1
- package/lib/components/LakehouseDataProductCard/LakehouseDataProductCard.js.map +1 -1
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.d.ts +3 -6
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.js +10 -34
- package/lib/components/__test-utils__/LegendMarketplaceStoreTestUtils.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/pages/Home/LegendMarketplaceHome.d.ts +1 -3
- package/lib/pages/Home/LegendMarketplaceHome.d.ts.map +1 -1
- package/lib/pages/Home/LegendMarketplaceHome.js +10 -11
- package/lib/pages/Home/LegendMarketplaceHome.js.map +1 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.d.ts +3 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.d.ts.map +1 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.js +13 -10
- package/lib/pages/Lakehouse/MarketplaceLakehouseHome.js.map +1 -1
- package/lib/pages/Lakehouse/admin/LakehouseAdmin.js +1 -1
- package/lib/pages/Lakehouse/admin/LakehouseAdmin.js.map +1 -1
- package/lib/pages/Lakehouse/admin/LakehouseAdminContractsDashboard.js +1 -1
- package/lib/pages/Lakehouse/admin/LakehouseAdminContractsDashboard.js.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/DataProductDataAccess.d.ts.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/DataProductDataAccess.js +5 -4
- package/lib/pages/Lakehouse/dataProduct/DataProductDataAccess.js.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/LakehouseDataProduct.d.ts.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/LakehouseDataProduct.js +7 -14
- package/lib/pages/Lakehouse/dataProduct/LakehouseDataProduct.js.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/LakehouseSDLCDataProduct.d.ts.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/LakehouseSDLCDataProduct.js +6 -13
- package/lib/pages/Lakehouse/dataProduct/LakehouseSDLCDataProduct.js.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/TerminalProduct.d.ts.map +1 -1
- package/lib/pages/Lakehouse/dataProduct/TerminalProduct.js +6 -13
- package/lib/pages/Lakehouse/dataProduct/TerminalProduct.js.map +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsClosedContractsDashboard.js +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsClosedContractsDashboard.js.map +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.js +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.js.map +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsPendingContractsDashboard.d.ts.map +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsPendingContractsDashboard.js +26 -12
- package/lib/pages/Lakehouse/entitlements/EntitlementsPendingContractsDashboard.js.map +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsPendingTasksDashboard.js +1 -1
- package/lib/pages/Lakehouse/entitlements/EntitlementsPendingTasksDashboard.js.map +1 -1
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlements.js +1 -1
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlements.js.map +1 -1
- package/lib/pages/Lakehouse/searchResults/MarketplaceLakehouseSearchResults.d.ts.map +1 -1
- package/lib/pages/Lakehouse/searchResults/MarketplaceLakehouseSearchResults.js +21 -23
- package/lib/pages/Lakehouse/searchResults/MarketplaceLakehouseSearchResults.js.map +1 -1
- package/lib/pages/Lakehouse/subscriptions/DataProductSubscriptionsViewer.d.ts.map +1 -1
- package/lib/pages/Lakehouse/subscriptions/DataProductSubscriptionsViewer.js +12 -11
- package/lib/pages/Lakehouse/subscriptions/DataProductSubscriptionsViewer.js.map +1 -1
- package/lib/pages/Profile/LegendMarketplaceOrders.d.ts +1 -3
- package/lib/pages/Profile/LegendMarketplaceOrders.d.ts.map +1 -1
- package/lib/pages/Profile/LegendMarketplaceOrders.js +3 -2
- package/lib/pages/Profile/LegendMarketplaceOrders.js.map +1 -1
- package/lib/pages/Profile/LegendMarketplaceSubscriptions.d.ts +1 -3
- package/lib/pages/Profile/LegendMarketplaceSubscriptions.d.ts.map +1 -1
- package/lib/pages/Profile/LegendMarketplaceSubscriptions.js +11 -11
- package/lib/pages/Profile/LegendMarketplaceSubscriptions.js.map +1 -1
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.d.ts +1 -3
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.d.ts.map +1 -1
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.js +4 -3
- package/lib/pages/SearchResults/LegendMarketplaceSearchResults.js.map +1 -1
- package/lib/pages/VendorData/LegendMarketplaceVendorData.d.ts +4 -12
- package/lib/pages/VendorData/LegendMarketplaceVendorData.d.ts.map +1 -1
- package/lib/pages/VendorData/LegendMarketplaceVendorData.js +10 -17
- package/lib/pages/VendorData/LegendMarketplaceVendorData.js.map +1 -1
- package/lib/pages/VendorDetails/LegendMarketplaceVendorDetails.d.ts +1 -3
- package/lib/pages/VendorDetails/LegendMarketplaceVendorDetails.d.ts.map +1 -1
- package/lib/pages/VendorDetails/LegendMarketplaceVendorDetails.js +3 -2
- package/lib/pages/VendorDetails/LegendMarketplaceVendorDetails.js.map +1 -1
- package/lib/stores/{LegendMarketPlaceVendorDataState.d.ts → LegendMarketPlaceVendorDataStore.d.ts} +8 -3
- package/lib/stores/LegendMarketPlaceVendorDataStore.d.ts.map +1 -0
- package/lib/stores/{LegendMarketPlaceVendorDataState.js → LegendMarketPlaceVendorDataStore.js} +9 -3
- package/lib/stores/LegendMarketPlaceVendorDataStore.js.map +1 -0
- package/lib/stores/LegendMarketplaceBaseStore.d.ts +11 -5
- package/lib/stores/LegendMarketplaceBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendMarketplaceBaseStore.js +60 -8
- package/lib/stores/LegendMarketplaceBaseStore.js.map +1 -1
- package/lib/stores/lakehouse/DataProductDataAccessState.d.ts.map +1 -1
- package/lib/stores/lakehouse/DataProductDataAccessState.js +7 -6
- package/lib/stores/lakehouse/DataProductDataAccessState.js.map +1 -1
- package/lib/stores/lakehouse/DataProductViewerState.d.ts +3 -7
- package/lib/stores/lakehouse/DataProductViewerState.d.ts.map +1 -1
- package/lib/stores/lakehouse/DataProductViewerState.js +9 -16
- package/lib/stores/lakehouse/DataProductViewerState.js.map +1 -1
- package/lib/stores/lakehouse/LakehouseUtils.d.ts +1 -1
- package/lib/stores/lakehouse/LakehouseUtils.d.ts.map +1 -1
- package/lib/stores/lakehouse/LakehouseUtils.js +7 -6
- package/lib/stores/lakehouse/LakehouseUtils.js.map +1 -1
- package/lib/stores/lakehouse/LegendMarketplaceProductViewerStore.d.ts +42 -0
- package/lib/stores/lakehouse/LegendMarketplaceProductViewerStore.d.ts.map +1 -0
- package/lib/stores/lakehouse/LegendMarketplaceProductViewerStore.js +149 -0
- package/lib/stores/lakehouse/LegendMarketplaceProductViewerStore.js.map +1 -0
- package/lib/stores/lakehouse/LegendMarketplaceSearchResultsStore.d.ts +71 -0
- package/lib/stores/lakehouse/LegendMarketplaceSearchResultsStore.d.ts.map +1 -0
- package/lib/stores/lakehouse/LegendMarketplaceSearchResultsStore.js +233 -0
- package/lib/stores/lakehouse/LegendMarketplaceSearchResultsStore.js.map +1 -0
- package/lib/stores/lakehouse/dataProducts/DataProducts.d.ts +3 -3
- package/lib/stores/lakehouse/dataProducts/DataProducts.d.ts.map +1 -1
- package/lib/stores/lakehouse/dataProducts/DataProducts.js +19 -7
- package/lib/stores/lakehouse/dataProducts/DataProducts.js.map +1 -1
- package/package.json +6 -6
- package/src/__lib__/LegendMarketplaceAppEvent.ts +20 -0
- package/src/__lib__/LegendMarketplaceUserDataHelper.ts +1 -1
- package/src/application/LegendMarketplaceApplicationPlugin.ts +1 -2
- package/src/application/LegendMarketplaceWebApplication.tsx +28 -7
- package/src/application/__test-utils__/LegendMarketplaceApplicationTestUtils.ts +9 -9
- package/src/application/extensions/Core_LegendMarketplace_LegendApplicationPlugin.ts +1 -1
- package/src/{pages/Lakehouse/admin → application/providers}/LakehouseAdminStoreProvider.tsx +2 -2
- package/src/{pages/Lakehouse/entitlements → application/providers}/LakehouseEntitlementsStoreProvider.tsx +2 -2
- package/src/application/{LegendMarketplaceFrameworkProvider.tsx → providers/LegendMarketplaceFrameworkProvider.tsx} +3 -3
- package/src/application/providers/LegendMarketplaceProductViewerStoreProvider.tsx +60 -0
- package/src/application/providers/LegendMarketplaceSearchResultsStoreProvider.tsx +60 -0
- package/src/application/providers/LegendMarketplaceVendorDataProvider.tsx +62 -0
- package/src/components/Header/LegendMarketplaceAppInfo.tsx +1 -1
- package/src/components/Header/LegendMarketplaceIconToolbar.tsx +1 -1
- package/src/components/LakehouseDataProductCard/LakehouseDataProductCard.tsx +3 -1
- package/src/components/__test-utils__/LegendMarketplaceStoreTestUtils.tsx +17 -66
- package/src/index.ts +3 -2
- package/src/pages/Home/LegendMarketplaceHome.tsx +76 -72
- package/src/pages/Lakehouse/MarketplaceLakehouseHome.tsx +109 -111
- package/src/pages/Lakehouse/admin/LakehouseAdmin.tsx +2 -2
- package/src/pages/Lakehouse/admin/LakehouseAdminContractsDashboard.tsx +1 -1
- package/src/pages/Lakehouse/dataProduct/DataProductDataAccess.tsx +5 -4
- package/src/pages/Lakehouse/dataProduct/LakehouseDataProduct.tsx +11 -22
- package/src/pages/Lakehouse/dataProduct/LakehouseSDLCDataProduct.tsx +10 -21
- package/src/pages/Lakehouse/dataProduct/TerminalProduct.tsx +10 -21
- package/src/pages/Lakehouse/entitlements/EntitlementsClosedContractsDashboard.tsx +1 -1
- package/src/pages/Lakehouse/entitlements/EntitlementsDataContractCreator.tsx +1 -1
- package/src/pages/Lakehouse/entitlements/EntitlementsPendingContractsDashboard.tsx +30 -14
- package/src/pages/Lakehouse/entitlements/EntitlementsPendingTasksDashboard.tsx +1 -1
- package/src/pages/Lakehouse/entitlements/LakehouseEntitlements.tsx +2 -2
- package/src/pages/Lakehouse/searchResults/MarketplaceLakehouseSearchResults.tsx +112 -107
- package/src/pages/Lakehouse/subscriptions/DataProductSubscriptionsViewer.tsx +15 -14
- package/src/pages/Profile/LegendMarketplaceOrders.tsx +10 -7
- package/src/pages/Profile/LegendMarketplaceSubscriptions.tsx +165 -154
- package/src/pages/SearchResults/LegendMarketplaceSearchResults.tsx +108 -104
- package/src/pages/VendorData/LegendMarketplaceVendorData.tsx +62 -62
- package/src/pages/VendorDetails/LegendMarketplaceVendorDetails.tsx +26 -22
- package/src/stores/{LegendMarketPlaceVendorDataState.tsx → LegendMarketPlaceVendorDataStore.tsx} +8 -2
- package/src/stores/LegendMarketplaceBaseStore.ts +105 -14
- package/src/stores/lakehouse/DataProductDataAccessState.ts +7 -6
- package/src/stores/lakehouse/DataProductViewerState.ts +22 -27
- package/src/stores/lakehouse/LakehouseUtils.tsx +10 -26
- package/src/stores/lakehouse/LegendMarketplaceProductViewerStore.ts +294 -0
- package/src/stores/lakehouse/LegendMarketplaceSearchResultsStore.ts +316 -0
- package/src/stores/lakehouse/dataProducts/DataProducts.ts +27 -9
- package/tsconfig.json +10 -6
- package/lib/application/LegendMarketplaceFrameworkProvider.d.ts.map +0 -1
- package/lib/application/LegendMarketplaceFrameworkProvider.js.map +0 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseStoreProvider.d.ts.map +0 -1
- package/lib/pages/Lakehouse/MarketplaceLakehouseStoreProvider.js +0 -35
- package/lib/pages/Lakehouse/MarketplaceLakehouseStoreProvider.js.map +0 -1
- package/lib/pages/Lakehouse/admin/LakehouseAdminStoreProvider.d.ts.map +0 -1
- package/lib/pages/Lakehouse/admin/LakehouseAdminStoreProvider.js.map +0 -1
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.d.ts.map +0 -1
- package/lib/pages/Lakehouse/entitlements/LakehouseEntitlementsStoreProvider.js.map +0 -1
- package/lib/stores/LegendMarketPlaceVendorDataState.d.ts.map +0 -1
- package/lib/stores/LegendMarketPlaceVendorDataState.js.map +0 -1
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.d.ts +0 -112
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.d.ts.map +0 -1
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.js +0 -450
- package/lib/stores/lakehouse/MarketplaceLakehouseStore.js.map +0 -1
- package/src/pages/Lakehouse/MarketplaceLakehouseStoreProvider.tsx +0 -75
- package/src/stores/lakehouse/MarketplaceLakehouseStore.ts +0 -718
|
@@ -13,10 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export declare const withMarketplaceLakehouseStore: (WrappedComponent: React.FC) => React.FC;
|
|
22
|
-
//# sourceMappingURL=MarketplaceLakehouseStoreProvider.d.ts.map
|
|
16
|
+
export declare enum LEGEND_MARKETPLACE_APP_EVENT {
|
|
17
|
+
FETCH_INGEST_ENV_FAILURE = "marketplace.fetch.ingest-env.failure",
|
|
18
|
+
FETCH_DATA_PRODUCT_FAILURE = "marketplace.fetch.data-product.failure"
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=LegendMarketplaceAppEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceAppEvent.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceAppEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4BAA4B;IACtC,wBAAwB,yCAAyC;IACjE,0BAA0B,2CAA2C;CACtE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 var LEGEND_MARKETPLACE_APP_EVENT;
|
|
17
|
+
(function (LEGEND_MARKETPLACE_APP_EVENT) {
|
|
18
|
+
LEGEND_MARKETPLACE_APP_EVENT["FETCH_INGEST_ENV_FAILURE"] = "marketplace.fetch.ingest-env.failure";
|
|
19
|
+
LEGEND_MARKETPLACE_APP_EVENT["FETCH_DATA_PRODUCT_FAILURE"] = "marketplace.fetch.data-product.failure";
|
|
20
|
+
})(LEGEND_MARKETPLACE_APP_EVENT || (LEGEND_MARKETPLACE_APP_EVENT = {}));
|
|
21
|
+
//# sourceMappingURL=LegendMarketplaceAppEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceAppEvent.js","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceAppEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,iGAAiE,CAAA;IACjE,qGAAqE,CAAA;AACvE,CAAC,EAHW,4BAA4B,KAA5B,4BAA4B,QAGvC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { UserDataService } from '@finos/legend-application';
|
|
17
|
-
import type { DataProductFilterConfig } from '../stores/lakehouse/
|
|
17
|
+
import type { DataProductFilterConfig } from '../stores/lakehouse/LegendMarketplaceSearchResultsStore.js';
|
|
18
18
|
export declare enum LEGEND_MARKETPLACE_USER_DATA_KEY {
|
|
19
19
|
DATA_PRODUCT_FILTER_CONFIG = "home.data-product.filter-config"
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceUserDataHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceUserDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceUserDataHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendMarketplaceUserDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4DAA4D,CAAC;AAE1G,oBAAY,gCAAgC;IAC1C,0BAA0B,oCAAoC;CAC/D;AAED,qBAAa,+BAA+B;IAC1C,MAAM,CAAC,+BAA+B,CACpC,OAAO,EAAE,eAAe,GACvB,uBAAuB,GAAG,SAAS;IAMtC,MAAM,CAAC,2BAA2B,CAChC,OAAO,EAAE,eAAe,EACxB,uBAAuB,EAAE,uBAAuB,GAC/C,IAAI;CAMR"}
|
|
@@ -19,7 +19,6 @@ import type { AccessPointGroupAccess, DataProductGroupAccessState } from '../sto
|
|
|
19
19
|
import type { V1_OrganizationalScope } from '@finos/legend-graph';
|
|
20
20
|
import type { LegendMarketplaceBaseStore } from '../stores/LegendMarketplaceBaseStore.js';
|
|
21
21
|
import type React from 'react';
|
|
22
|
-
import type { MarketplaceLakehouseStore } from '../stores/lakehouse/MarketplaceLakehouseStore.js';
|
|
23
22
|
import type { DataProductState } from '../stores/lakehouse/dataProducts/DataProducts.js';
|
|
24
23
|
export type ContractConsumerTypeRendererConfig = {
|
|
25
24
|
type: string;
|
|
@@ -40,7 +39,7 @@ export declare abstract class LegendMarketplaceApplicationPlugin extends LegendA
|
|
|
40
39
|
*
|
|
41
40
|
* @param marketplaceStore
|
|
42
41
|
*/
|
|
43
|
-
getHomePageDataProducts?(
|
|
42
|
+
getHomePageDataProducts?(marketplaceBaseStore: LegendMarketplaceBaseStore, token: string | undefined): Promise<DataProductState[] | undefined>;
|
|
44
43
|
/**
|
|
45
44
|
* Config to handle different types of contract consumers, including configuration for:
|
|
46
45
|
* - Contract creation dialog renderer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,KAAK,EACV,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAA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EAAE,GAAG,SAAS,CAAC;IAE1C;;;;OAIG;IACH,sCAAsC,CAAC,IAAI,kCAAkC,EAAE;IAE/E;;;;OAIG;IACH,kCAAkC,CAAC,CACjC,MAAM,EAAE,sBAAsB,GAC7B,MAAM,GAAG,SAAS;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceApplicationPlugin.js","sourceRoot":"","sources":["../../src/application/LegendMarketplaceApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceApplicationPlugin.js","sourceRoot":"","sources":["../../src/application/LegendMarketplaceApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AA6BpE,MAAM,OAAgB,kCAAmC,SAAQ,uBAAuB;IACtF;;;OAGG;IACc,kBAAkB,CAAwC;IAE3E,OAAO,CAAC,aAA6C;QACnD,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CA2BF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceWebApplication.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceWebApplication.d.ts","sourceRoot":"","sources":["../../src/application/LegendMarketplaceWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AA+D3F,eAAO,MAAM,qCAAqC;;CA2MhD,CAAC;AAEH,eAAO,MAAM,+BAA+B,WAClC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CACtD;;CA0BF,CAAC"}
|
|
@@ -18,14 +18,14 @@ import { useEffect } from 'react';
|
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { CubesLoadingIndicator, CubesLoadingIndicatorIcon, GhostIcon, } from '@finos/legend-art';
|
|
20
20
|
import { flowResult } from 'mobx';
|
|
21
|
-
import { useApplicationStore } from '@finos/legend-application';
|
|
21
|
+
import { LEGEND_APPLICATION_COLOR_THEME, useApplicationStore, } from '@finos/legend-application';
|
|
22
22
|
import { BrowserEnvironmentProvider, Outlet, Route, Routes, } from '@finos/legend-application/browser';
|
|
23
|
-
import { LegendMarketplaceFrameworkProvider, useLegendMarketplaceApplicationStore, useLegendMarketplaceBaseStore, } from './LegendMarketplaceFrameworkProvider.js';
|
|
23
|
+
import { LegendMarketplaceFrameworkProvider, useLegendMarketplaceApplicationStore, useLegendMarketplaceBaseStore, } from './providers/LegendMarketplaceFrameworkProvider.js';
|
|
24
24
|
import { isLakehouseRoute, LEGEND_MARKETPLACE_ROUTE_PATTERN, } from '../__lib__/LegendMarketplaceNavigation.js';
|
|
25
25
|
import { MarketplaceLakehouseHome } from '../pages/Lakehouse/MarketplaceLakehouseHome.js';
|
|
26
26
|
import { LegendMarketplaceHome } from '../pages/Home/LegendMarketplaceHome.js';
|
|
27
27
|
import { LegendMarketplaceSearchResults } from '../pages/SearchResults/LegendMarketplaceSearchResults.js';
|
|
28
|
-
import { AuthProvider, withAuthenticationRequired, } from 'react-oidc-context';
|
|
28
|
+
import { AuthProvider, useAuth, withAuthenticationRequired, } from 'react-oidc-context';
|
|
29
29
|
import { LakehouseDataProduct } from '../pages/Lakehouse/dataProduct/LakehouseDataProduct.js';
|
|
30
30
|
import { TerminalProduct } from '../pages/Lakehouse/dataProduct/TerminalProduct.js';
|
|
31
31
|
import { LegendMarketplaceVendorData } from '../pages/VendorData/LegendMarketplaceVendorData.js';
|
|
@@ -46,12 +46,21 @@ const NotFoundPage = observer(() => {
|
|
|
46
46
|
return (_jsx(LegendMarketplacePage, { className: "legend-marketplace__not-found", children: _jsxs("div", { className: "not-found-screen not-found-screen--no-documentation", children: [_jsxs("div", { className: "not-found-screen__icon", children: [_jsx("div", { className: "not-found-screen__icon__ghost", children: _jsx(GhostIcon, {}) }), _jsx("div", { className: "not-found-screen__icon__shadow", children: _jsx("svg", { viewBox: "0 0 600 400", children: _jsx("g", { transform: "translate(300 200)", children: _jsx("ellipse", { className: "not-found-screen__icon__shadow__inner", rx: "320", ry: "80" }) }) }) })] }), _jsxs("div", { className: "not-found-screen__text-content", children: [_jsx("div", { className: "not-found-screen__text-content__title", children: "404. Not Found" }), _jsxs("div", { className: "not-found-screen__text-content__detail", children: ["The requested URL", _jsx("span", { className: "not-found-screen__text-content__detail__url", children: applicationStore.navigationService.navigator.generateAddress(currentPath) }), "was not found in the application"] })] })] }) }));
|
|
47
47
|
});
|
|
48
48
|
export const LegendMarketplaceWebApplicationRouter = observer(() => {
|
|
49
|
-
const
|
|
49
|
+
const marketplaceBaseStore = useLegendMarketplaceBaseStore();
|
|
50
50
|
const applicationStore = useLegendMarketplaceApplicationStore();
|
|
51
|
+
const auth = useAuth();
|
|
51
52
|
const enableMarketplacePages = applicationStore.config.options.enableMarketplacePages;
|
|
52
53
|
useEffect(() => {
|
|
53
|
-
flowResult(
|
|
54
|
-
|
|
54
|
+
flowResult(marketplaceBaseStore.initialize()).catch(applicationStore.alertUnhandledError);
|
|
55
|
+
if (auth.user?.access_token) {
|
|
56
|
+
flowResult(marketplaceBaseStore.initializeIngestEnvironmentDetails(auth.user.access_token)).catch(applicationStore.alertUnhandledError);
|
|
57
|
+
}
|
|
58
|
+
}, [applicationStore, marketplaceBaseStore, auth.user?.access_token]);
|
|
59
|
+
useEffect(() => {
|
|
60
|
+
applicationStore.layoutService.setColorTheme(LEGEND_APPLICATION_COLOR_THEME.HIGH_CONTRAST_LIGHT, {
|
|
61
|
+
persist: true,
|
|
62
|
+
});
|
|
63
|
+
}, [applicationStore]);
|
|
55
64
|
const ProtectedLakehouseMarketplace = withAuthenticationRequired(MarketplaceLakehouseHome, {
|
|
56
65
|
OnRedirecting: () => (_jsx(CubesLoadingIndicator, { isLoading: true, children: _jsx(CubesLoadingIndicatorIcon, {}) })),
|
|
57
66
|
signinRedirectArgs: {
|
|
@@ -88,7 +97,7 @@ export const LegendMarketplaceWebApplicationRouter = observer(() => {
|
|
|
88
97
|
state: `${window.location.pathname}${window.location.search}`,
|
|
89
98
|
},
|
|
90
99
|
});
|
|
91
|
-
return (_jsx("div", { className: "app", children:
|
|
100
|
+
return (_jsx("div", { className: "app", children: marketplaceBaseStore.initState.hasCompleted && (_jsx(Routes, { children: _jsxs(Route, { element: _jsxs(_Fragment, { children: [isLakehouseRoute(marketplaceBaseStore.applicationStore.navigationService.navigator.getCurrentLocation()) ? (_jsx(MarketplaceLakehouseHeader, {})) : (_jsx(LegendMarketplaceHeader, { enableMarketplacePages: enableMarketplacePages })), _jsx(Outlet, {})] }), children: [enableMarketplacePages ? (_jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.DEFAULT, element: _jsx(LegendMarketplaceHome, {}) })) : (_jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.DEFAULT, element: _jsx(LegendMarketplaceComingSoon, {}) })), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.OAUTH_CALLBACK, element: _jsx(MarketplaceLakehouseOAuthCallback, {}) }), enableMarketplacePages && (_jsxs(_Fragment, { children: [_jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.SEARCH_RESULTS, element: _jsx(LegendMarketplaceSearchResults, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.VENDOR_DATA, element: _jsx(LegendMarketplaceVendorData, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.VENDOR_DETAILS, element: _jsx(LegendMarketplaceVendorDetails, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.SUBSCRIPTIONS, element: _jsx(LegendMarketplaceSubscriptions, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.ORDERS, element: _jsx(LegendMarketplaceOrders, {}) })] })), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_SEARCH_RESULTS, element: _jsx(ProtectedLakehouseSearchResults, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_PRODUCT, element: _jsx(ProtectedLakehouseDataProduct, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.TERMINAL_PRODUCT, element: _jsx(ProtectedTerminalProduct, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_SDLC_PRODUCT, element: _jsx(LakehouseSDLCDataProduct, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_ENTITLEMENTS, element: _jsx(ProtectedLakehouseEntitlements, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE, element: _jsx(ProtectedLakehouseMarketplace, {}) }), _jsx(Route, { path: LEGEND_MARKETPLACE_ROUTE_PATTERN.LAKEHOUSE_ADMIN, element: _jsx(ProtectedLakehouseAdmin, {}) }), _jsx(Route, { path: "*", element: _jsx(NotFoundPage, {}) })] }) })) }));
|
|
92
101
|
});
|
|
93
102
|
export const LegendMarketplaceWebApplication = observer((props) => {
|
|
94
103
|
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,
|
|
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,EACL,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,0BAA0B,EAC1B,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAChB,gCAAgC,GACjC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAEL,YAAY,EACZ,OAAO,EACP,0BAA0B,GAC3B,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAA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A6B,KAAG,GAC1C,EACF,KAAC,KAAK,IACJ,IAAI,EAAE,gCAAgC,CAAC,eAAe,EACtD,OAAO,EAAE,KAAC,uBAAuB,KAAG,GACpC,EACF,KAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,KAAC,YAAY,KAAG,GAAI,IACvC,GACD,CACV,GACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,+BAA+B,GAAG,QAAQ,CACrD,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAEtC,MAAM,gBAAgB,GAAG,CAAC,KAAuB,EAAE,EAAE;QACnD,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAI,KAAK,EAAE,KAA4B,IAAI,GAAG,CAAC;IACrE,CAAC,CAAC;IAEF,MAAM,gBAAgB,GAAkC,UAAU;QAChE,CAAC,CAAC;YACE,GAAG,UAAU,CAAC,iBAAiB;YAC/B,YAAY,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE;YACnE,mBAAmB,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,UAAU,CAAC,kBAAkB,EAAE;YAChF,gBAAgB;SACjB;QACH,CAAC,CAAC,SAAS,CAAC;IAEd,OAAO,CACL,KAAC,YAAY,OAAK,gBAAgB,YAChC,KAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,YAC1C,KAAC,kCAAkC,cACjC,KAAC,qCAAqC,KAAG,GACN,GACV,GAChB,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { LegendMarketplaceApplicationConfig } from '../LegendMarketplaceApplicationConfig.js';
|
|
17
17
|
import { DataProductState } from '../../stores/lakehouse/dataProducts/DataProducts.js';
|
|
18
|
-
import type { MarketplaceLakehouseStore } from '../../stores/lakehouse/MarketplaceLakehouseStore.js';
|
|
19
18
|
import { LegendMarketplaceApplicationPlugin } from '../LegendMarketplaceApplicationPlugin.js';
|
|
19
|
+
import type { LegendMarketplaceBaseStore } from '../../stores/LegendMarketplaceBaseStore.js';
|
|
20
20
|
export declare const TEST__getTestLegendMarketplaceApplicationConfig: (extraConfigData?: {}) => LegendMarketplaceApplicationConfig;
|
|
21
21
|
export declare class TestLegendMarketplaceApplicationPlugin extends LegendMarketplaceApplicationPlugin {
|
|
22
22
|
constructor();
|
|
23
|
-
getHomePageDataProducts(
|
|
23
|
+
getHomePageDataProducts(marketplaceBaseStore: LegendMarketplaceBaseStore): Promise<DataProductState[] | undefined>;
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=LegendMarketplaceApplicationTestUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceApplicationTestUtils.d.ts","sourceRoot":"","sources":["../../../src/application/__test-utils__/LegendMarketplaceApplicationTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,kCAAkC,EACnC,MAAM,0CAA0C,CAAC;AAQlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceApplicationTestUtils.d.ts","sourceRoot":"","sources":["../../../src/application/__test-utils__/LegendMarketplaceApplicationTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,kCAAkC,EACnC,MAAM,0CAA0C,CAAC;AAQlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAyC7F,eAAO,MAAM,+CAA+C,GAC1D,oBAAoB,KACnB,kCAUF,CAAC;AAEF,qBAAa,sCAAuC,SAAQ,kCAAkC;;IAK7E,uBAAuB,CACpC,oBAAoB,EAAE,0BAA0B,GAC/C,OAAO,CAAC,gBAAgB,EAAE,GAAG,SAAS,CAAC;CA8B3C"}
|
|
@@ -74,17 +74,17 @@ export class TestLegendMarketplaceApplicationPlugin extends LegendMarketplaceApp
|
|
|
74
74
|
constructor() {
|
|
75
75
|
super('TestLegendMarketplaceApplicationPlugin', '0.0.0');
|
|
76
76
|
}
|
|
77
|
-
async getHomePageDataProducts(
|
|
77
|
+
async getHomePageDataProducts(marketplaceBaseStore) {
|
|
78
78
|
const mockDataProductDetail = guaranteeNonNullable(guaranteeNonNullable(mockDataProducts.dataProducts)[0]);
|
|
79
|
-
const graphManager = new V1_PureGraphManager(
|
|
79
|
+
const graphManager = new V1_PureGraphManager(marketplaceBaseStore.applicationStore.pluginManager, marketplaceBaseStore.applicationStore.logService, marketplaceBaseStore.remoteEngine);
|
|
80
80
|
await graphManager.initialize({
|
|
81
|
-
env:
|
|
81
|
+
env: marketplaceBaseStore.applicationStore.config.env,
|
|
82
82
|
tabSize: DEFAULT_TAB_SIZE,
|
|
83
83
|
clientConfig: {
|
|
84
|
-
baseUrl:
|
|
84
|
+
baseUrl: marketplaceBaseStore.applicationStore.config.engineServerUrl,
|
|
85
85
|
},
|
|
86
|
-
}, { engine:
|
|
87
|
-
const dataProductState = new DataProductState(
|
|
86
|
+
}, { engine: marketplaceBaseStore.remoteEngine });
|
|
87
|
+
const dataProductState = new DataProductState(marketplaceBaseStore, graphManager, mockDataProductDetail);
|
|
88
88
|
return [dataProductState];
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendMarketplaceApplicationTestUtils.js","sourceRoot":"","sources":["../../../src/application/__test-utils__/LegendMarketplaceApplicationTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAEL,kCAAkC,GACnC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAEL,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceApplicationTestUtils.js","sourceRoot":"","sources":["../../../src/application/__test-utils__/LegendMarketplaceApplicationTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAEL,kCAAkC,GACnC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAEL,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAG9F,MAAM,oBAAoB,GAAkD;IAC1E,OAAO,EAAE,aAAa;IACtB,GAAG,EAAE,UAAU;IACf,WAAW,EAAE;QACX,GAAG,EAAE,4BAA4B;QACjC,eAAe,EAAE,6BAA6B;QAC9C,aAAa,EAAE,2BAA2B;QAC1C,mBAAmB,EAAE,iCAAiC;KACvD;IACD,SAAS,EAAE;QACT,GAAG,EAAE,0BAA0B;QAC/B,WAAW,EAAE,kCAAkC;QAC/C,YAAY,EAAE;YACZ,uB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EAAE,gBAAgB;YACzB,YAAY,EAAE;gBACZ,OAAO,EAAE,oBAAoB,CAAC,gBAAgB,CAAC,MAAM,CAAC,eAAe;aACtE;SACF,EACD,EAAE,MAAM,EAAE,oBAAoB,CAAC,YAAY,EAAE,CAC9C,CAAC;QACF,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,CAC3C,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5B,CAAC;CACF"}
|
|
@@ -17,7 +17,7 @@ import { collectSettingConfigurationEntriesFromConfig, Core_LegendApplicationPlu
|
|
|
17
17
|
export const LEGEND_QUERY_APPLICATION_SETTING_CONFIG = {
|
|
18
18
|
[LEGEND_APPLICATION_SETTING_KEY.COLOR_THEME]: {
|
|
19
19
|
// default application query to light mode
|
|
20
|
-
defaultValue: LEGEND_APPLICATION_COLOR_THEME.
|
|
20
|
+
defaultValue: LEGEND_APPLICATION_COLOR_THEME.HIGH_CONTRAST_LIGHT,
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
export class Core_LegendMarketplace_LegendApplicationPlugin extends Core_LegendApplicationPlugin {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Core_LegendMarketplace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../../src/application/extensions/Core_LegendMarketplace_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,4CAA4C,EAC5C,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,CAAC,8BAA8B,CAAC,WAAW,CAAC,EAAE;QAC5C,0CAA0C;QAC1C,YAAY,EAAE,8BAA8B,CAAC,
|
|
1
|
+
{"version":3,"file":"Core_LegendMarketplace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../../src/application/extensions/Core_LegendMarketplace_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,4CAA4C,EAC5C,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,CAAC,8BAA8B,CAAC,WAAW,CAAC,EAAE;QAC5C,0CAA0C;QAC1C,YAAY,EAAE,8BAA8B,CAAC,mBAAmB;KACjE;CACF,CAAC;AAEF,MAAM,OAAO,8CAA+C,SAAQ,4BAA4B;IACrF,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,uCAAuC,CACxC,CAAC;IACJ,CAAC;CACF"}
|
package/lib/{pages/Lakehouse/admin → application/providers}/LakehouseAdminStoreProvider.d.ts
RENAMED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { LakehouseAdminStore } from '
|
|
16
|
+
import { LakehouseAdminStore } from '../../stores/lakehouse/admin/LakehouseAdminStore.js';
|
|
17
17
|
export declare const LakehouseAdminStoreProvider: React.FC<{
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LakehouseAdminStoreProvider.d.ts","sourceRoot":"","sources":["../../../src/application/providers/LakehouseAdminStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAU1F,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAeA,CAAC;AAEF,eAAO,MAAM,sBAAsB,QAAO,mBAIvC,CAAC;AAEJ,eAAO,MAAM,uBAAuB,GAAI,kBAAkB,KAAK,CAAC,EAAE,KAAG,KAAK,CAAC,EAOxE,CAAC"}
|
|
@@ -17,8 +17,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
import { createContext, useContext } from 'react';
|
|
18
18
|
import { useLocalObservable } from 'mobx-react-lite';
|
|
19
19
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
20
|
+
import { LakehouseAdminStore } from '../../stores/lakehouse/admin/LakehouseAdminStore.js';
|
|
21
|
+
import { useLegendMarketplaceApplicationStore, useLegendMarketplaceBaseStore, } from './LegendMarketplaceFrameworkProvider.js';
|
|
22
22
|
const LakehouseAdminStoreContext = createContext(undefined);
|
|
23
23
|
export const LakehouseAdminStoreProvider = ({ children }) => {
|
|
24
24
|
const applicationStore = useLegendMarketplaceApplicationStore();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LakehouseAdminStoreProvider.js","sourceRoot":"","sources":["../../../src/application/providers/LakehouseAdminStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EACL,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,yCAAyC,CAAC;AAEjD,MAAM,0BAA0B,GAAG,aAAa,CAE9C,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,2BAA2B,GAEnC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,oCAAoC,EAAE,CAAC;IAChE,MAAM,SAAS,GAAG,6BAA6B,EAAE,CAAC;IAClD,MAAM,qBAAqB,GAAG,oBAAoB,CAChD,SAAS,CAAC,6BAA6B,EACvC,4CAA4C,CAC7C,CAAC;IACF,MAAM,KAAK,GAAG,kBAAkB,CAC9B,GAAG,EAAE,CAAC,IAAI,mBAAmB,CAAC,gBAAgB,EAAE,qBAAqB,CAAC,CACvE,CAAC;IACF,OAAO,CACL,KAAC,0BAA0B,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAC9C,QAAQ,GAC2B,CACvC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAwB,EAAE,CAC9D,oBAAoB,CAClB,UAAU,CAAC,0BAA0B,CAAC,EACtC,qDAAqD,CACtD,CAAC;AAEJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,gBAA0B,EAAY,EAAE,CAC9E,SAAS,uBAAuB;IAC9B,OAAO,CACL,KAAC,2BAA2B,cAC1B,KAAC,gBAAgB,KAAG,GACQ,CAC/B,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { LakehouseEntitlementsStore } from '
|
|
16
|
+
import { LakehouseEntitlementsStore } from '../../stores/lakehouse/entitlements/LakehouseEntitlementsStore.js';
|
|
17
17
|
export declare const LakehouseEntitlementsStoreProvider: React.FC<{
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LakehouseEntitlementsStoreProvider.d.ts","sourceRoot":"","sources":["../../../src/application/providers/LakehouseEntitlementsStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAU/G,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAgBA,CAAC;AAEF,eAAO,MAAM,6BAA6B,QAAO,0BAI9C,CAAC;AAEJ,eAAO,MAAM,8BAA8B,GACzC,kBAAkB,KAAK,CAAC,EAAE,KACzB,KAAK,CAAC,EAON,CAAC"}
|
|
@@ -17,8 +17,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
import { createContext, useContext } from 'react';
|
|
18
18
|
import { useLocalObservable } from 'mobx-react-lite';
|
|
19
19
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
20
|
+
import { LakehouseEntitlementsStore } from '../../stores/lakehouse/entitlements/LakehouseEntitlementsStore.js';
|
|
21
|
+
import { useLegendMarketplaceApplicationStore, useLegendMarketplaceBaseStore, } from './LegendMarketplaceFrameworkProvider.js';
|
|
22
22
|
const LakehouseEntitlementsStoreContext = createContext(undefined);
|
|
23
23
|
export const LakehouseEntitlementsStoreProvider = ({ children }) => {
|
|
24
24
|
const applicationStore = useLegendMarketplaceApplicationStore();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LakehouseEntitlementsStoreProvider.js","sourceRoot":"","sources":["../../../src/application/providers/LakehouseEntitlementsStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAC/G,OAAO,EACL,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,yCAAyC,CAAC;AAEjD,MAAM,iCAAiC,GAAG,aAAa,CAErD,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,oCAAoC,EAAE,CAAC;IAChE,MAAM,SAAS,GAAG,6BAA6B,EAAE,CAAC;IAClD,MAAM,qBAAqB,GAAG,oBAAoB,CAChD,SAAS,CAAC,6BAA6B,EACvC,4CAA4C,CAC7C,CAAC;IACF,MAAM,KAAK,GAAG,kBAAkB,CAC9B,GAAG,EAAE,CACH,IAAI,0BAA0B,CAAC,gBAAgB,EAAE,qBAAqB,CAAC,CAC1E,CAAC;IACF,OAAO,CACL,KAAC,iCAAiC,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YACrD,QAAQ,GACkC,CAC9C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAA+B,EAAE,CAC5E,oBAAoB,CAClB,UAAU,CAAC,iCAAiC,CAAC,EAC7C,oCAAoC,CACrC,CAAC;AAEJ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,gBAA0B,EAChB,EAAE,CACZ,SAAS,8BAA8B;IACrC,OAAO,CACL,KAAC,kCAAkC,cACjC,KAAC,gBAAgB,KAAG,GACe,CACtC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { type LegendMarketplaceApplicationStore, LegendMarketplaceBaseStore } from '
|
|
16
|
+
import { type LegendMarketplaceApplicationStore, LegendMarketplaceBaseStore } from '../../stores/LegendMarketplaceBaseStore.js';
|
|
17
17
|
export declare const useLegendMarketplaceApplicationStore: () => LegendMarketplaceApplicationStore;
|
|
18
18
|
export declare const useLegendMarketplaceBaseStore: () => LegendMarketplaceBaseStore;
|
|
19
19
|
export declare const LegendMarketplaceFrameworkProvider: React.FC<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceFrameworkProvider.d.ts","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,iCAAiC,EACtC,0BAA0B,EAC3B,MAAM,4CAA4C,CAAC;AAIpD,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,CAmBA,CAAC"}
|
|
@@ -18,7 +18,7 @@ import { createContext, useContext } from 'react';
|
|
|
18
18
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
19
19
|
import { useLocalObservable } from 'mobx-react-lite';
|
|
20
20
|
import { ApplicationFrameworkProvider, BlockingAlert, useApplicationStore, NotificationManager, } from '@finos/legend-application';
|
|
21
|
-
import { LegendMarketplaceBaseStore, } from '
|
|
21
|
+
import { LegendMarketplaceBaseStore, } from '../../stores/LegendMarketplaceBaseStore.js';
|
|
22
22
|
export const useLegendMarketplaceApplicationStore = () => useApplicationStore();
|
|
23
23
|
const LegendMarketplaceBaseStoreContext = createContext(undefined);
|
|
24
24
|
const LegendMarketplaceBaseStoreProvider = ({ children }) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceFrameworkProvider.js","sourceRoot":"","sources":["../../../src/application/providers/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,EACnB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,0BAA0B,GAC3B,MAAM,4CAA4C,CAAC;AAIpD,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,IAC3B,MAAM,EAAE,IAAI,EACZ,iBAAiB,EAAE,IAAI,EACvB,WAAW,EAAE;QACX,WAAW;QACX,QAAQ;QACR,kBAAkB;QAClB,WAAW;QACX,OAAO;QACP,YAAY;KACb,CAAC,IAAI,CAAC,GAAG,CAAC,aAEX,KAAC,aAAa,KAAG,EACjB,KAAC,mBAAmB,KAAG,EACvB,KAAC,kCAAkC,cAChC,QAAQ,GAC0B,IACR,CAChC,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 { LegendMarketplaceProductViewerStore } from '../../stores/lakehouse/LegendMarketplaceProductViewerStore.js';
|
|
17
|
+
export declare const LegendMarketplaceProductViewerStoreProvider: React.FC<{
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const useLegendMarketplaceProductViewerStore: () => LegendMarketplaceProductViewerStore;
|
|
21
|
+
export declare const withLegendMarketplaceProductViewerStore: (WrappedComponent: React.FC) => React.FC;
|
|
22
|
+
//# sourceMappingURL=LegendMarketplaceProductViewerStoreProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceProductViewerStoreProvider.d.ts","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceProductViewerStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,mCAAmC,EAAE,MAAM,+DAA+D,CAAC;AAMpH,eAAO,MAAM,2CAA2C,EAAE,KAAK,CAAC,EAAE,CAAC;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAaA,CAAC;AAEF,eAAO,MAAM,sCAAsC,QAC7C,mCAID,CAAC;AAEN,eAAO,MAAM,uCAAuC,GAClD,kBAAkB,KAAK,CAAC,EAAE,KACzB,KAAK,CAAC,EAON,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } 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 { createContext, useContext } from 'react';
|
|
18
|
+
import { useLocalObservable } from 'mobx-react-lite';
|
|
19
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
|
+
import { useLegendMarketplaceBaseStore } from '../../application/providers/LegendMarketplaceFrameworkProvider.js';
|
|
21
|
+
import { LegendMarketplaceProductViewerStore } from '../../stores/lakehouse/LegendMarketplaceProductViewerStore.js';
|
|
22
|
+
const LegendMarketplaceProductViewerStoreContext = createContext(undefined);
|
|
23
|
+
export const LegendMarketplaceProductViewerStoreProvider = ({ children }) => {
|
|
24
|
+
const legendMarketplaceBaseStore = useLegendMarketplaceBaseStore();
|
|
25
|
+
const legendMarketplaceProductViewerStore = useLocalObservable(() => new LegendMarketplaceProductViewerStore(legendMarketplaceBaseStore));
|
|
26
|
+
return (_jsx(LegendMarketplaceProductViewerStoreContext.Provider, { value: legendMarketplaceProductViewerStore, children: children }));
|
|
27
|
+
};
|
|
28
|
+
export const useLegendMarketplaceProductViewerStore = () => guaranteeNonNullable(useContext(LegendMarketplaceProductViewerStoreContext), `Can't find product viewer store in context`);
|
|
29
|
+
export const withLegendMarketplaceProductViewerStore = (WrappedComponent) => function WithLegendMarketplaceProductViewerStore() {
|
|
30
|
+
return (_jsx(LegendMarketplaceProductViewerStoreProvider, { children: _jsx(WrappedComponent, {}) }));
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=LegendMarketplaceProductViewerStoreProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceProductViewerStoreProvider.js","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceProductViewerStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,mEAAmE,CAAC;AAClH,OAAO,EAAE,mCAAmC,EAAE,MAAM,+DAA+D,CAAC;AAEpH,MAAM,0CAA0C,GAAG,aAAa,CAE9D,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,2CAA2C,GAEnD,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,0BAA0B,GAAG,6BAA6B,EAAE,CAAC;IACnE,MAAM,mCAAmC,GAAG,kBAAkB,CAC5D,GAAG,EAAE,CAAC,IAAI,mCAAmC,CAAC,0BAA0B,CAAC,CAC1E,CAAC;IAEF,OAAO,CACL,KAAC,0CAA0C,CAAC,QAAQ,IAClD,KAAK,EAAE,mCAAmC,YAEzC,QAAQ,GAC2C,CACvD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GACjD,GAAwC,EAAE,CACxC,oBAAoB,CAClB,UAAU,CAAC,0CAA0C,CAAC,EACtD,4CAA4C,CAC7C,CAAC;AAEN,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,gBAA0B,EAChB,EAAE,CACZ,SAAS,uCAAuC;IAC9C,OAAO,CACL,KAAC,2CAA2C,cAC1C,KAAC,gBAAgB,KAAG,GACwB,CAC/C,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 { LegendMarketplaceSearchResultsStore } from '../../stores/lakehouse/LegendMarketplaceSearchResultsStore.js';
|
|
17
|
+
export declare const LegendMarketplaceSearchResultsStoreProvider: React.FC<{
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const useLegendMarketplaceSearchResultsStore: () => LegendMarketplaceSearchResultsStore;
|
|
21
|
+
export declare const withLegendMarketplaceSearchResultsStore: (WrappedComponent: React.FC) => React.FC;
|
|
22
|
+
//# sourceMappingURL=LegendMarketplaceSearchResultsStoreProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceSearchResultsStoreProvider.d.ts","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceSearchResultsStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,mCAAmC,EAAE,MAAM,+DAA+D,CAAC;AAMpH,eAAO,MAAM,2CAA2C,EAAE,KAAK,CAAC,EAAE,CAAC;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAaA,CAAC;AAEF,eAAO,MAAM,sCAAsC,QAC7C,mCAID,CAAC;AAEN,eAAO,MAAM,uCAAuC,GAClD,kBAAkB,KAAK,CAAC,EAAE,KACzB,KAAK,CAAC,EAON,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } 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 { createContext, useContext } from 'react';
|
|
18
|
+
import { useLocalObservable } from 'mobx-react-lite';
|
|
19
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
|
+
import { useLegendMarketplaceBaseStore } from '../../application/providers/LegendMarketplaceFrameworkProvider.js';
|
|
21
|
+
import { LegendMarketplaceSearchResultsStore } from '../../stores/lakehouse/LegendMarketplaceSearchResultsStore.js';
|
|
22
|
+
const LegendMarketplaceSearchResultsStoreContext = createContext(undefined);
|
|
23
|
+
export const LegendMarketplaceSearchResultsStoreProvider = ({ children }) => {
|
|
24
|
+
const legendMarketplaceBaseStore = useLegendMarketplaceBaseStore();
|
|
25
|
+
const legendMarketplaceSearchResultsStore = useLocalObservable(() => new LegendMarketplaceSearchResultsStore(legendMarketplaceBaseStore));
|
|
26
|
+
return (_jsx(LegendMarketplaceSearchResultsStoreContext.Provider, { value: legendMarketplaceSearchResultsStore, children: children }));
|
|
27
|
+
};
|
|
28
|
+
export const useLegendMarketplaceSearchResultsStore = () => guaranteeNonNullable(useContext(LegendMarketplaceSearchResultsStoreContext), `Can't find search results store in context`);
|
|
29
|
+
export const withLegendMarketplaceSearchResultsStore = (WrappedComponent) => function WithLegendMarketplaceSearchResultsStore() {
|
|
30
|
+
return (_jsx(LegendMarketplaceSearchResultsStoreProvider, { children: _jsx(WrappedComponent, {}) }));
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=LegendMarketplaceSearchResultsStoreProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceSearchResultsStoreProvider.js","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceSearchResultsStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,mEAAmE,CAAC;AAClH,OAAO,EAAE,mCAAmC,EAAE,MAAM,+DAA+D,CAAC;AAEpH,MAAM,0CAA0C,GAAG,aAAa,CAE9D,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,2CAA2C,GAEnD,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,0BAA0B,GAAG,6BAA6B,EAAE,CAAC;IACnE,MAAM,mCAAmC,GAAG,kBAAkB,CAC5D,GAAG,EAAE,CAAC,IAAI,mCAAmC,CAAC,0BAA0B,CAAC,CAC1E,CAAC;IAEF,OAAO,CACL,KAAC,0CAA0C,CAAC,QAAQ,IAClD,KAAK,EAAE,mCAAmC,YAEzC,QAAQ,GAC2C,CACvD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GACjD,GAAwC,EAAE,CACxC,oBAAoB,CAClB,UAAU,CAAC,0CAA0C,CAAC,EACtD,4CAA4C,CAC7C,CAAC;AAEN,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,gBAA0B,EAChB,EAAE,CACZ,SAAS,uCAAuC;IAC9C,OAAO,CACL,KAAC,2CAA2C,cAC1C,KAAC,gBAAgB,KAAG,GACwB,CAC/C,CAAC;AACJ,CAAC,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
|
+
import { LegendMarketPlaceVendorDataStore } from '../../stores/LegendMarketPlaceVendorDataStore.js';
|
|
17
|
+
import React from 'react';
|
|
18
|
+
export declare const LegendMarketplaceVendorDataStoreProvider: React.FC<{
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const useLegendMarketPlaceVendorDataStore: () => LegendMarketPlaceVendorDataStore;
|
|
22
|
+
export declare const withLegendMarketplaceVendorDataStore: (WrappedComponent: React.FC) => React.FC;
|
|
23
|
+
//# sourceMappingURL=LegendMarketplaceVendorDataProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceVendorDataProvider.d.ts","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceVendorDataProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,KAAoC,MAAM,OAAO,CAAC;AAWzD,eAAO,MAAM,wCAAwC,EAAE,KAAK,CAAC,EAAE,CAAC;IAC9D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAWA,CAAC;AAEF,eAAO,MAAM,mCAAmC,QAC1C,gCAKD,CAAC;AAEN,eAAO,MAAM,oCAAoC,GAC/C,kBAAkB,KAAK,CAAC,EAAE,KACzB,KAAK,CAAC,EAON,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } 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 { useLocalObservable } from 'mobx-react-lite';
|
|
18
|
+
import { LegendMarketPlaceVendorDataStore } from '../../stores/LegendMarketPlaceVendorDataStore.js';
|
|
19
|
+
import React, { createContext, useContext } from 'react';
|
|
20
|
+
import { guaranteeType } from '@finos/legend-shared';
|
|
21
|
+
import { useLegendMarketplaceApplicationStore, useLegendMarketplaceBaseStore, } from './LegendMarketplaceFrameworkProvider.js';
|
|
22
|
+
const LegendMarketPlaceVendorDataStoreContext = createContext(undefined);
|
|
23
|
+
export const LegendMarketplaceVendorDataStoreProvider = ({ children }) => {
|
|
24
|
+
const applicationStore = useLegendMarketplaceApplicationStore();
|
|
25
|
+
const baseStore = useLegendMarketplaceBaseStore();
|
|
26
|
+
const store = useLocalObservable(() => new LegendMarketPlaceVendorDataStore(applicationStore, baseStore));
|
|
27
|
+
return (_jsx(LegendMarketPlaceVendorDataStoreContext.Provider, { value: store, children: children }));
|
|
28
|
+
};
|
|
29
|
+
export const useLegendMarketPlaceVendorDataStore = () => guaranteeType(useContext(LegendMarketPlaceVendorDataStoreContext), LegendMarketPlaceVendorDataStore, `Can't find vendor data store in context`);
|
|
30
|
+
export const withLegendMarketplaceVendorDataStore = (WrappedComponent) => function WithLegendMarketplaceVendorDataStore() {
|
|
31
|
+
return (_jsx(LegendMarketplaceVendorDataStoreProvider, { children: _jsx(WrappedComponent, {}) }));
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=LegendMarketplaceVendorDataProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendMarketplaceVendorDataProvider.js","sourceRoot":"","sources":["../../../src/application/providers/LegendMarketplaceVendorDataProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,yCAAyC,CAAC;AAEjD,MAAM,uCAAuC,GAAG,aAAa,CAE3D,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,wCAAwC,GAEhD,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,oCAAoC,EAAE,CAAC;IAChE,MAAM,SAAS,GAAG,6BAA6B,EAAE,CAAC;IAClD,MAAM,KAAK,GAAG,kBAAkB,CAC9B,GAAG,EAAE,CAAC,IAAI,gCAAgC,CAAC,gBAAgB,EAAE,SAAS,CAAC,CACxE,CAAC;IACF,OAAO,CACL,KAAC,uCAAuC,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAC3D,QAAQ,GACwC,CACpD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAC9C,GAAqC,EAAE,CACrC,aAAa,CACX,UAAU,CAAC,uCAAuC,CAAC,EACnD,gCAAgC,EAChC,yCAAyC,CAC1C,CAAC;AAEN,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAClD,gBAA0B,EAChB,EAAE,CACZ,SAAS,oCAAoC;IAC3C,OAAO,CACL,KAAC,wCAAwC,cACvC,KAAC,gBAAgB,KAAG,GACqB,CAC5C,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useLegendMarketplaceApplicationStore } from '../../application/LegendMarketplaceFrameworkProvider.js';
|
|
2
|
+
import { useLegendMarketplaceApplicationStore } from '../../application/providers/LegendMarketplaceFrameworkProvider.js';
|
|
3
3
|
import { isNonNullable } from '@finos/legend-shared';
|
|
4
4
|
import { CopyIcon, Dialog, InfoCircleIcon, Modal, ModalBody, ModalHeader, ModalHeaderActions, ModalTitle, TimesIcon, } from '@finos/legend-art';
|
|
5
5
|
export const LegendMarketplaceAppInfo = (props) => {
|