@gen3/frontend 0.10.88 → 0.10.89
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/dist/cjs/index.js +61 -47
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.d.ts +4 -1
- package/dist/dts/components/Providers/Gen3Provider.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCard.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCard.js +2 -2
- package/dist/dts/features/Analysis/AnalysisCard.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.js +2 -2
- package/dist/dts/features/Analysis/AnalysisCardCompact.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +8 -6
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenter.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenter.js +2 -2
- package/dist/dts/features/Analysis/AnalysisCenter.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js +1 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js.map +1 -1
- package/dist/dts/features/Analysis/types.d.ts +1 -0
- package/dist/dts/features/Analysis/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/types.js.map +1 -1
- package/dist/dts/features/Authz/AuthzAdminProvider.d.ts +44 -0
- package/dist/dts/features/Authz/AuthzAdminProvider.d.ts.map +1 -0
- package/dist/dts/features/Authz/AuthzAdminProvider.js +55 -0
- package/dist/dts/features/Authz/AuthzAdminProvider.js.map +1 -0
- package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.js +1 -1
- package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.js.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.d.ts +4 -0
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.d.ts.map +1 -0
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.js +124 -0
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.js.map +1 -0
- package/dist/dts/features/{Navigation/TopBar.stories.d.ts → Discovery/ActionBar/AddToDataLibrary.stories.d.ts} +2 -3
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.d.ts.map +1 -0
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.js +54 -0
- package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.js.map +1 -0
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts +13 -0
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts.map +1 -0
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.js +15 -0
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.js.map +1 -0
- package/dist/dts/features/Discovery/ActionBar/registeredActions.d.ts +1 -0
- package/dist/dts/features/Discovery/ActionBar/registeredActions.d.ts.map +1 -0
- package/dist/dts/features/Discovery/ActionBar/registeredActions.js +86 -0
- package/dist/dts/features/Discovery/ActionBar/registeredActions.js.map +1 -0
- package/dist/dts/index.d.ts +2 -2
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +2 -2
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/common/analysisToolFramework.d.ts +6 -0
- package/dist/dts/lib/common/analysisToolFramework.d.ts.map +1 -0
- package/dist/dts/lib/common/analysisToolFramework.js +21 -0
- package/dist/dts/lib/common/analysisToolFramework.js.map +1 -0
- package/dist/dts/lib/common/staticProps.d.ts.map +1 -1
- package/dist/dts/lib/common/staticProps.js +4 -4
- package/dist/dts/lib/common/staticProps.js.map +1 -1
- package/dist/dts/lib/common/types.d.ts +8 -0
- package/dist/dts/lib/common/types.d.ts.map +1 -0
- package/dist/dts/lib/common/types.js +2 -0
- package/dist/dts/lib/common/types.js.map +1 -0
- package/dist/dts/lib/content/constants.d.ts.map +1 -1
- package/dist/dts/lib/content/constants.js +1 -1
- package/dist/dts/lib/content/constants.js.map +1 -1
- package/dist/dts/lib/content/filesystem.js +4 -6
- package/dist/dts/lib/content/filesystem.js.map +1 -1
- package/dist/dts/lib/content/index.d.ts +9 -2
- package/dist/dts/lib/content/index.d.ts.map +1 -1
- package/dist/dts/lib/content/index.js +26 -7
- package/dist/dts/lib/content/index.js.map +1 -1
- package/dist/dts/pages/Analysis/data.d.ts.map +1 -1
- package/dist/dts/pages/Analysis/data.js +1 -1
- package/dist/dts/pages/Analysis/data.js.map +1 -1
- package/dist/dts/pages/Crosswalk/data.d.ts.map +1 -1
- package/dist/dts/pages/Crosswalk/data.js +1 -1
- package/dist/dts/pages/Crosswalk/data.js.map +1 -1
- package/dist/dts/pages/DataDictionary/data.d.ts.map +1 -1
- package/dist/dts/pages/DataDictionary/data.js +1 -1
- package/dist/dts/pages/DataDictionary/data.js.map +1 -1
- package/dist/dts/pages/DataLibrary/data.d.ts.map +1 -1
- package/dist/dts/pages/DataLibrary/data.js +1 -1
- package/dist/dts/pages/DataLibrary/data.js.map +1 -1
- package/dist/dts/pages/Discovery/data.d.ts.map +1 -1
- package/dist/dts/pages/Discovery/data.js +1 -1
- package/dist/dts/pages/Discovery/data.js.map +1 -1
- package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/data.js +2 -2
- package/dist/dts/pages/Explorer/data.js.map +1 -1
- package/dist/dts/pages/Landing/data.d.ts +2 -2
- package/dist/dts/pages/Landing/data.d.ts.map +1 -1
- package/dist/dts/pages/Landing/data.js +2 -2
- package/dist/dts/pages/Landing/data.js.map +1 -1
- package/dist/dts/pages/Landing/index.d.ts +1 -1
- package/dist/dts/pages/Landing/index.d.ts.map +1 -1
- package/dist/dts/pages/Landing/index.js +1 -1
- package/dist/dts/pages/Landing/index.js.map +1 -1
- package/dist/dts/pages/Landing/resource.js +1 -1
- package/dist/dts/pages/Landing/resource.js.map +1 -1
- package/dist/dts/pages/Login/data.js +1 -1
- package/dist/dts/pages/Login/data.js.map +1 -1
- package/dist/dts/pages/Profile/data.js +1 -1
- package/dist/dts/pages/Profile/data.js.map +1 -1
- package/dist/dts/pages/Query/data.js +1 -1
- package/dist/dts/pages/Query/data.js.map +1 -1
- package/dist/dts/pages/Submission/data.d.ts.map +1 -1
- package/dist/dts/pages/Submission/data.js +1 -1
- package/dist/dts/pages/Submission/data.js.map +1 -1
- package/dist/dts/pages/Workspace/data.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/data.js +1 -1
- package/dist/dts/pages/Workspace/data.js.map +1 -1
- package/dist/dts/pages/admin/Workspace/data.js +1 -1
- package/dist/dts/pages/admin/Workspace/data.js.map +1 -1
- package/dist/dts/pages/admin/analysis/data.js +1 -1
- package/dist/dts/pages/admin/analysis/data.js.map +1 -1
- package/dist/dts/pages/admin/authz/data.js +1 -1
- package/dist/dts/pages/admin/authz/data.js.map +1 -1
- package/dist/esm/index.js +60 -46
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +17 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dts/features/Navigation/TopBar.d.ts +0 -24
- package/dist/dts/features/Navigation/TopBar.d.ts.map +0 -1
- package/dist/dts/features/Navigation/TopBar.js +0 -56
- package/dist/dts/features/Navigation/TopBar.js.map +0 -1
- package/dist/dts/features/Navigation/TopBar.stories.d.ts.map +0 -1
- package/dist/dts/features/Navigation/TopBar.stories.js +0 -30
- package/dist/dts/features/Navigation/TopBar.stories.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Explorer/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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G,SAExB;;;gBAIO,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,MAAA,0BAA0B,aAA1B,0BAA0B,uBAA1B,0BAA0B,CAAE,UAAU,mCAAI,MAAM,EAC5D,cAAc,EAAE,0BAA0B,CAAC,cAAc,IAC1D;yBACD;;;gBAEF,IAAI,KAAG,YAAY,KAAK,EAAE,CAAC;oBACzB,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,KAAG,CAAC,CAAC;gBACtD,CAAC;;;gBAGO,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,cAAc,EAAE,SAAS,IAC1B;yBACD;;;;KAEL,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
import { GetServerSideProps } from 'next';
|
|
2
|
+
export declare const LandingPageGetServerSideProps: GetServerSideProps;
|
|
3
3
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/pages/Landing/data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/pages/Landing/data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAK1C,eAAO,MAAM,6BAA6B,EAAE,kBAW3C,CAAC"}
|
|
@@ -48,14 +48,14 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
import { getNavPageLayoutPropsFromConfig } from '../../lib/common/staticProps';
|
|
49
49
|
import ContentSource from '../../lib/content';
|
|
50
50
|
import { GEN3_COMMONS_NAME } from '@gen3/core';
|
|
51
|
-
export var
|
|
51
|
+
export var LandingPageGetServerSideProps = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
52
52
|
var navPageLayoutProps, landingPage;
|
|
53
53
|
return __generator(this, function (_a) {
|
|
54
54
|
switch (_a.label) {
|
|
55
55
|
case 0: return [4 /*yield*/, getNavPageLayoutPropsFromConfig()];
|
|
56
56
|
case 1:
|
|
57
57
|
navPageLayoutProps = _a.sent();
|
|
58
|
-
return [4 /*yield*/, ContentSource.get("
|
|
58
|
+
return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/landingPage.json"))];
|
|
59
59
|
case 2:
|
|
60
60
|
landingPage = _a.sent();
|
|
61
61
|
return [2 /*return*/, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Landing/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Landing/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,6BAA6B,GAAuB;;;;oBACpC,qBAAM,+BAA+B,EAAE,EAAA;;gBAA5D,kBAAkB,GAAG,SAAuC;gBAC9C,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CAC9D,UAAG,iBAAiB,sBAAmB,CACxC,EAAA;;gBAFK,WAAW,GAAG,SAEnB;gBACD,sBAAO;wBACL,KAAK,wBACA,kBAAkB,KACrB,WAAW,aAAA,GACZ;qBACF,EAAC;;;KACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pages/Landing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pages/Landing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/Landing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/Landing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -67,7 +67,7 @@ export var getStaticProps = function () { return __awaiter(void 0, void 0, void
|
|
|
67
67
|
case 0: return [4 /*yield*/, getNavPageLayoutPropsFromConfig()];
|
|
68
68
|
case 1:
|
|
69
69
|
navPageLayoutProps = _a.sent();
|
|
70
|
-
return [4 /*yield*/, ContentSource.get("
|
|
70
|
+
return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/resource.json"))];
|
|
71
71
|
case 2:
|
|
72
72
|
resourcePageConfig = (_a.sent());
|
|
73
73
|
return [2 /*return*/, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../src/pages/Landing/resource.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,aAEN,MAAM,yCAAyC,CAAC;AACjD,OAAO,mBAEN,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAM/E,IAAM,YAAY,GAAG,UAAC,EAIF;QAHlB,WAAW,iBAAA,EACX,WAAW,iBAAA,EACX,kBAAkB,wBAAA;IAElB,OAAO,CACL,KAAC,aAAa,IACN,WAAW,aAAA,EAAE,WAAW,aAAA,EAC9B,UAAU,EAAE;YACV,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,eAAe;YACxB,GAAG,EAAE,oBAAoB;SAC1B,YAED,cAAK,SAAS,EAAC,qCAAqC,YAClD,cAAK,SAAS,EAAC,0DAA0D,YACvE,KAAC,mBAAmB,eAAK,kBAAkB,EAAI,GAC3C,GACF,GACQ,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,oJAAoJ;AACpJ,MAAM,CAAC,IAAM,cAAc,GAAsC;;;;oBACpC,qBAAM,+BAA+B,EAAE,EAAA;;gBAA5D,kBAAkB,GAAG,SAAuC;gBACtC,qBAAM,aAAa,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../src/pages/Landing/resource.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,aAEN,MAAM,yCAAyC,CAAC;AACjD,OAAO,mBAEN,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAM/E,IAAM,YAAY,GAAG,UAAC,EAIF;QAHlB,WAAW,iBAAA,EACX,WAAW,iBAAA,EACX,kBAAkB,wBAAA;IAElB,OAAO,CACL,KAAC,aAAa,IACN,WAAW,aAAA,EAAE,WAAW,aAAA,EAC9B,UAAU,EAAE;YACV,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,eAAe;YACxB,GAAG,EAAE,oBAAoB;SAC1B,YAED,cAAK,SAAS,EAAC,qCAAqC,YAClD,cAAK,SAAS,EAAC,0DAA0D,YACvE,KAAC,mBAAmB,eAAK,kBAAkB,EAAI,GAC3C,GACF,GACQ,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,oJAAoJ;AACpJ,MAAM,CAAC,IAAM,cAAc,GAAsC;;;;oBACpC,qBAAM,+BAA+B,EAAE,EAAA;;gBAA5D,kBAAkB,GAAG,SAAuC;gBACtC,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CACtE,UAAG,iBAAiB,mBAAgB,CACrC,EAAA;;gBAFK,kBAAkB,GAAG,CAAC,SAE3B,CAAkC;gBACnC,sBAAO;wBACL,KAAK,wBACA,kBAAkB,KACrB,kBAAkB,oBAAA,GACnB;qBACF,EAAC;;;KACH,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -53,7 +53,7 @@ export var LoginPageGetServerSideProps = function () { return __awaiter(void 0,
|
|
|
53
53
|
var _b;
|
|
54
54
|
return __generator(this, function (_c) {
|
|
55
55
|
switch (_c.label) {
|
|
56
|
-
case 0: return [4 /*yield*/, ContentSource.get("
|
|
56
|
+
case 0: return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/login.json"))];
|
|
57
57
|
case 1:
|
|
58
58
|
loginConfig = _c.sent();
|
|
59
59
|
_b = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Login/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,2BAA2B,GAEpC;;;;;oBAC+B,qBAAM,aAAa,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Login/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,2BAA2B,GAEpC;;;;;oBAC+B,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CAC3E,UAAG,iBAAiB,gBAAa,CAClC,EAAA;;gBAFK,WAAW,GAAgB,SAEhC;;;gBAIO,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,KACzC,EAAE,WAAW,EAAE,WAAW,EAAE,EAChC;yBACD;;;KACH,CAAC"}
|
|
@@ -53,7 +53,7 @@ export var ProfilePageGetServerSideProps = function () { return __awaiter(void 0
|
|
|
53
53
|
var _b;
|
|
54
54
|
return __generator(this, function (_c) {
|
|
55
55
|
switch (_c.label) {
|
|
56
|
-
case 0: return [4 /*yield*/, ContentSource.get("
|
|
56
|
+
case 0: return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/profile.json"))];
|
|
57
57
|
case 1:
|
|
58
58
|
profileConfig = _c.sent();
|
|
59
59
|
_b = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Profile/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAG/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,6BAA6B,GAEtC;;;;;
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Profile/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAG/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,6BAA6B,GAEtC;;;;;oBAEA,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CAC1C,UAAG,iBAAiB,kBAAe,CACpC,EAAA;;gBAHG,aAAa,GACjB,SAEC;;;gBAIK,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,KACzC,EAAE,aAAa,EAAE,aAAa,EAAE,EACpC;yBACD;;;KACH,CAAC"}
|
|
@@ -53,7 +53,7 @@ export var QueryPageGetServerSideProps = function () { return __awaiter(void 0,
|
|
|
53
53
|
var _b;
|
|
54
54
|
return __generator(this, function (_c) {
|
|
55
55
|
switch (_c.label) {
|
|
56
|
-
case 0: return [4 /*yield*/, ContentSource.get("
|
|
56
|
+
case 0: return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/query.json"))];
|
|
57
57
|
case 1:
|
|
58
58
|
queryProps = _c.sent();
|
|
59
59
|
_b = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Query/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,2BAA2B,GAEpC;;;;;oBAC6B,qBAAM,aAAa,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Query/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,CAAC,IAAM,2BAA2B,GAEpC;;;;;oBAC6B,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CACzE,UAAG,iBAAiB,gBAAa,CAClC,EAAA;;gBAFK,UAAU,GAAe,SAE9B;;;gBAIO,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,UAAU,EAAE,UAAU,IACvB;yBACD;;;KACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/pages/Submission/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAK1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,gCAAgC,EAAE,kBAAkB,CAC/D,0BAA0B,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/pages/Submission/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAK1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,gCAAgC,EAAE,kBAAkB,CAC/D,0BAA0B,CAuB3B,CAAC"}
|
|
@@ -55,7 +55,7 @@ export var SubmissionPageGetServerSideProps = function () { return __awaiter(voi
|
|
|
55
55
|
switch (_e.label) {
|
|
56
56
|
case 0:
|
|
57
57
|
_e.trys.push([0, 3, , 5]);
|
|
58
|
-
return [4 /*yield*/, ContentSource.get("
|
|
58
|
+
return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/submission.json"))];
|
|
59
59
|
case 1:
|
|
60
60
|
submissionConfig = _e.sent();
|
|
61
61
|
_c = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Submission/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,MAAM,CAAC,IAAM,gCAAgC,GAEzC;;;;;;;
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Submission/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,MAAM,CAAC,IAAM,gCAAgC,GAEzC;;;;;;;gBAGE,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CAC1C,UAAG,iBAAiB,qBAAkB,CACvC,EAAA;;gBAHG,gBAAgB,GACpB,SAEC;;;gBAIK,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,gBAAgB,EAAE,gBAAgB,IACnC;yBACD;;;gBAEF,OAAO,CAAC,KAAK,CAAC,KAAG,CAAC,CAAC;;;gBAGX,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,gBAAgB,EAAE,SAAS,IAC5B;yBACD;;;;KAEL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/pages/Workspace/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAK1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,eAAO,MAAM,+BAA+B,EAAE,kBAAkB,CAC9D,wBAAwB,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/pages/Workspace/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAK1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,eAAO,MAAM,+BAA+B,EAAE,kBAAkB,CAC9D,wBAAwB,CAuBzB,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,kBAAkB,CACnE,kBAAkB,CAOnB,CAAC"}
|
|
@@ -53,7 +53,7 @@ export var WorkspacePageGetServerSideProps = function (_context) { return __awai
|
|
|
53
53
|
var _c, _d;
|
|
54
54
|
return __generator(this, function (_e) {
|
|
55
55
|
switch (_e.label) {
|
|
56
|
-
case 0: return [4 /*yield*/, ContentSource.get("
|
|
56
|
+
case 0: return [4 /*yield*/, ContentSource.getContentDatabase().get("".concat(GEN3_COMMONS_NAME, "/workspace.json"))];
|
|
57
57
|
case 1:
|
|
58
58
|
workspaceProps = _e.sent();
|
|
59
59
|
_e.label = 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Workspace/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM/C,MAAM,CAAC,IAAM,+BAA+B,GAExC,UAAO,QAAQ;;;;;
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../src/pages/Workspace/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM/C,MAAM,CAAC,IAAM,+BAA+B,GAExC,UAAO,QAAQ;;;;;oBAEf,qBAAM,aAAa,CAAC,kBAAkB,EAAE,CAAC,GAAG,CAC1C,UAAG,iBAAiB,oBAAiB,CACtC,EAAA;;gBAHG,cAAc,GAClB,SAEC;;;;;;gBAIO,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,cAAc,gBAAA,IACf;yBACD;;;;;gBAIM,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC,OAC5C,cAAc,EAAE;4BACd,yBAAyB,EAAE,EAAsC;yBAClE,IACF;yBACD;;;;KAEL,CAAC;AAEF,MAAM,CAAC,IAAM,oCAAoC,GAE7C;;;;;;;;gBAGM,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,qCACA,CAAC,SAAuC,CAAC,GAC7C;yBACD;;;KACH,CAAC"}
|
|
@@ -36,7 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
36
36
|
};
|
|
37
37
|
export var GetWorkspaceNotebookData = function (ctx) { return __awaiter(void 0, void 0, void 0, function () {
|
|
38
38
|
return __generator(this, function (_a) {
|
|
39
|
-
// const rootPath =
|
|
39
|
+
// const rootPath = `${GEN3_COMMONS_NAME}/`;
|
|
40
40
|
// const filepath = 'workspaceNotebooks.json';
|
|
41
41
|
// let data: Record<string, any> = {};
|
|
42
42
|
return [2 /*return*/, false];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../src/pages/admin/Workspace/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,CAAC,IAAM,wBAAwB,GAAG,UAAO,GAAQ;;QACrD,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../src/pages/admin/Workspace/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,CAAC,IAAM,wBAAwB,GAAG,UAAO,GAAQ;;QACrD,4CAA4C;QAC5C,8CAA8C;QAC9C,sCAAsC;QAEtC,sBAAO,KAAK,EAAC;;KACd,CAAC"}
|
|
@@ -56,7 +56,7 @@ export var AnalysisEditorPageGetServerSideProps = function () { return __awaiter
|
|
|
56
56
|
_a = [{}];
|
|
57
57
|
return [4 /*yield*/, getNavPageLayoutPropsFromConfig()];
|
|
58
58
|
case 1:
|
|
59
|
-
// const rootPath =
|
|
59
|
+
// const rootPath = `${GEN3_COMMONS_NAME}/`;
|
|
60
60
|
// const filepath = 'user.yaml';
|
|
61
61
|
// let data: Record<string, any> = {};
|
|
62
62
|
// try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../src/pages/admin/analysis/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAElF,MAAM,CAAC,IAAM,oCAAoC,GAAG;;;;;;;;gBAgB1C,qBAAM,+BAA+B,EAAE,EAAA;;YAf/C,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../src/pages/admin/analysis/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAElF,MAAM,CAAC,IAAM,oCAAoC,GAAG;;;;;;;;gBAgB1C,qBAAM,+BAA+B,EAAE,EAAA;;YAf/C,4CAA4C;YAC5C,gCAAgC;YAChC,sCAAsC;YAEtC,QAAQ;YACR,gFAAgF;YAChF,0CAA0C;YAC1C,6BAA6B;YAC7B,kCAAkC;YAClC,oCAAoC;YACpC,MAAM;YACN,8DAA8D;YAC9D,IAAI;YACJ,uBACE,QAAK,qCACA,CAAC,SAAuC,CAAC,GAC7C;yBACD;;;KACH,CAAC"}
|
|
@@ -57,7 +57,7 @@ export var AdminAuthZPageGetServerSideProps = function () { return __awaiter(voi
|
|
|
57
57
|
return __generator(this, function (_c) {
|
|
58
58
|
switch (_c.label) {
|
|
59
59
|
case 0:
|
|
60
|
-
rootPath = "
|
|
60
|
+
rootPath = "".concat(GEN3_COMMONS_NAME, "/");
|
|
61
61
|
filepath = 'user.yaml';
|
|
62
62
|
data = {};
|
|
63
63
|
_c.label = 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../src/pages/admin/authz/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,CAAC,IAAM,gCAAgC,GAAG;;;;;;gBACxC,QAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../src/pages/admin/authz/data.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,CAAC,IAAM,gCAAgC,GAAG;;;;;;gBACxC,QAAQ,GAAG,UAAG,iBAAiB,MAAG,CAAC;gBACnC,QAAQ,GAAG,WAAW,CAAC;gBACzB,IAAI,GAAwB,EAAE,CAAC;;;;gBAG3B,QAAQ,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;gBACjE,qBAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAA;;gBAAjC,IAAI,GAAG,SAA0B,CAAC;;;;gBAElC,IAAI,OAAK,YAAY,KAAK,EAAE,CAAC;oBAC3B,OAAO,CAAC,KAAK,CAAC,OAAK,CAAC,OAAO,CAAC,CAAC;gBAC/B,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,yBAAkB,QAAQ,SAAG,QAAQ,CAAE,CAAC,CAAC;;;;gBAInD,qBAAM,+BAA+B,EAAE,EAAA;oBAF/C,uBACE,QAAK,6DACA,CAAC,SAAuC,CAAC;wBAC5C,2DAA2D;wBAC3D,KAAK,EAAE,sBAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,IAC1D;yBACD;;;KACH,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -11977,7 +11977,7 @@ const TextDescription = ({ description })=>{
|
|
|
11977
11977
|
});
|
|
11978
11978
|
};
|
|
11979
11979
|
|
|
11980
|
-
const AnalysisCard = ({ title, description, type, icon, image, hasDemo, loginRequired, href })=>{
|
|
11980
|
+
const AnalysisCard = ({ title, description, type, icon, image, hasDemo, loginRequired, href, btnText })=>{
|
|
11981
11981
|
return /*#__PURE__*/ jsx(Stack, {
|
|
11982
11982
|
children: /*#__PURE__*/ jsxs("div", {
|
|
11983
11983
|
className: "rounded-sm bg-base-max",
|
|
@@ -12045,7 +12045,7 @@ const AnalysisCard = ({ title, description, type, icon, image, hasDemo, loginReq
|
|
|
12045
12045
|
root: 'bg-accent text-accent-contrast hover:bg-accent-darker p-2 rounded-sm',
|
|
12046
12046
|
label: 'text-sm font-semibold'
|
|
12047
12047
|
},
|
|
12048
|
-
label: `Run ${type === 'application' ? 'App' : 'Notebook'}`
|
|
12048
|
+
label: btnText ? btnText : `Run ${type === 'application' ? 'App' : 'Notebook'}`
|
|
12049
12049
|
}),
|
|
12050
12050
|
hasDemo && /*#__PURE__*/ jsx("button", {
|
|
12051
12051
|
className: "ml-2 p-1.5 rounded-sm text-sm font-semibold",
|
|
@@ -12129,7 +12129,7 @@ const AnalysisCenter = ({ tools, showFilterAndSort = false })=>{
|
|
|
12129
12129
|
/*#__PURE__*/ jsx("div", {
|
|
12130
12130
|
children: /*#__PURE__*/ jsx("div", {
|
|
12131
12131
|
className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 p-1 mx-4 overflow-y-scroll",
|
|
12132
|
-
children: tools.map(({ title, description, type, icon, image, hasDemo, loginRequired, href }, key)=>{
|
|
12132
|
+
children: tools.map(({ title, description, type, icon, image, hasDemo, loginRequired, href, btnText }, key)=>{
|
|
12133
12133
|
return /*#__PURE__*/ jsx(AnalysisCard, {
|
|
12134
12134
|
title,
|
|
12135
12135
|
description,
|
|
@@ -12139,7 +12139,8 @@ const AnalysisCenter = ({ tools, showFilterAndSort = false })=>{
|
|
|
12139
12139
|
hasDemo,
|
|
12140
12140
|
loginRequired,
|
|
12141
12141
|
href,
|
|
12142
|
-
cardType: 'regular'
|
|
12142
|
+
cardType: 'regular',
|
|
12143
|
+
btnText
|
|
12143
12144
|
}, title);
|
|
12144
12145
|
})
|
|
12145
12146
|
})
|
|
@@ -12148,7 +12149,7 @@ const AnalysisCenter = ({ tools, showFilterAndSort = false })=>{
|
|
|
12148
12149
|
});
|
|
12149
12150
|
};
|
|
12150
12151
|
|
|
12151
|
-
const AnalysisCardCompact = ({ title, description, type = 'application', icon, hasDemo = false, loginRequired = false, href, count, countUnits })=>{
|
|
12152
|
+
const AnalysisCardCompact = ({ title, description, type = 'application', icon, hasDemo = false, loginRequired = false, href, count, countUnits, btnText })=>{
|
|
12152
12153
|
return /*#__PURE__*/ jsxs(Stack, {
|
|
12153
12154
|
gap: "xs",
|
|
12154
12155
|
classNames: {
|
|
@@ -12206,12 +12207,9 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12206
12207
|
/*#__PURE__*/ jsxs(Group, {
|
|
12207
12208
|
className: "mb-6",
|
|
12208
12209
|
children: [
|
|
12209
|
-
/*#__PURE__*/
|
|
12210
|
+
/*#__PURE__*/ jsx(Button, {
|
|
12210
12211
|
color: "primary.4",
|
|
12211
|
-
children:
|
|
12212
|
-
"Run ",
|
|
12213
|
-
type === 'application' ? 'App' : 'Notebook'
|
|
12214
|
-
]
|
|
12212
|
+
children: btnText ? btnText : `Run ${type === 'application' ? 'App' : 'Notebook'}`
|
|
12215
12213
|
}),
|
|
12216
12214
|
hasDemo && /*#__PURE__*/ jsx(Button, {
|
|
12217
12215
|
variant: "outline",
|
|
@@ -12292,7 +12290,7 @@ const myGlob = (dir, filter)=>{
|
|
|
12292
12290
|
const files = fs.readdirSync(dir);
|
|
12293
12291
|
return files.filter((file)=>file.search(filter) !== -1);
|
|
12294
12292
|
} catch (error) {
|
|
12295
|
-
console.log('
|
|
12293
|
+
console.log('myGlob error', error, dir);
|
|
12296
12294
|
}
|
|
12297
12295
|
return [];
|
|
12298
12296
|
};
|
|
@@ -12304,15 +12302,15 @@ class FilesystemContent {
|
|
|
12304
12302
|
try {
|
|
12305
12303
|
return await JSON.parse(fs.readFileSync(path.join(this.rootPath, filepath)).toString('utf8'));
|
|
12306
12304
|
} catch (err) {
|
|
12307
|
-
throw new Error(`Cannot process ${filepath}`);
|
|
12305
|
+
throw new Error(`Cannot process ${filepath} `);
|
|
12308
12306
|
}
|
|
12309
12307
|
}
|
|
12310
12308
|
async getAll(filepath, filter) {
|
|
12311
12309
|
try {
|
|
12312
12310
|
const files = myGlob(path.join(this.rootPath, filepath), filter);
|
|
12313
|
-
return Promise.all(files.map((file)=>this.get(path.join(
|
|
12311
|
+
return Promise.all(files.map((file)=>this.get(path.join(filepath, file))));
|
|
12314
12312
|
} catch (err) {
|
|
12315
|
-
throw new Error(`getAllCannot process ${filepath}/${filter}`);
|
|
12313
|
+
throw new Error(`getAllCannot process ${path.join(this.rootPath, filepath)}/${filter}`);
|
|
12316
12314
|
}
|
|
12317
12315
|
}
|
|
12318
12316
|
}
|
|
@@ -12331,30 +12329,46 @@ class ContentDatabase {
|
|
|
12331
12329
|
}
|
|
12332
12330
|
}
|
|
12333
12331
|
|
|
12334
|
-
const GEN3_FRONTEND_CONFIGURATION_ROOT = process.env.GEN3_FRONTEND_CONFIGURATION_ROOT || './';
|
|
12332
|
+
const GEN3_FRONTEND_CONFIGURATION_ROOT = process.env.GEN3_FRONTEND_CONFIGURATION_ROOT || './config/';
|
|
12335
12333
|
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
}
|
|
12345
|
-
|
|
12334
|
+
class ContentSource {
|
|
12335
|
+
static{
|
|
12336
|
+
this.instance = null;
|
|
12337
|
+
}
|
|
12338
|
+
constructor(){
|
|
12339
|
+
const config = {
|
|
12340
|
+
store: new FilesystemContent({
|
|
12341
|
+
rootPath: GEN3_FRONTEND_CONFIGURATION_ROOT
|
|
12342
|
+
})
|
|
12343
|
+
};
|
|
12344
|
+
this.contentDatabase = new ContentDatabase(config);
|
|
12345
|
+
}
|
|
12346
|
+
static getInstance() {
|
|
12347
|
+
if (!ContentSource.instance) {
|
|
12348
|
+
ContentSource.instance = new ContentSource();
|
|
12349
|
+
}
|
|
12350
|
+
return ContentSource.instance;
|
|
12351
|
+
}
|
|
12352
|
+
// Add methods to access the ContentDatabase functionality
|
|
12353
|
+
// For example:
|
|
12354
|
+
getContentDatabase() {
|
|
12355
|
+
return this.contentDatabase;
|
|
12356
|
+
}
|
|
12357
|
+
}
|
|
12358
|
+
// Export a singleton instance
|
|
12359
|
+
var ContentSource$1 = ContentSource.getInstance();
|
|
12346
12360
|
|
|
12347
12361
|
/**
|
|
12348
12362
|
* Retrieves navigation page layout properties from configuration.
|
|
12349
12363
|
* Note: GEN3_COMMONS_NAME depends on siteConfig.json value in the data commons package
|
|
12350
12364
|
* @returns A Promise resolving to an object containing header and footer props.
|
|
12351
12365
|
*/ const getNavPageLayoutPropsFromConfig = async ()=>{
|
|
12352
|
-
const navigationConfigJSON = await ContentSource.get(
|
|
12366
|
+
const navigationConfigJSON = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/navigation.json`);
|
|
12353
12367
|
let bannerConfigJSON = [];
|
|
12354
12368
|
try {
|
|
12355
|
-
bannerConfigJSON = await ContentSource.get(
|
|
12369
|
+
bannerConfigJSON = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/banner.json`);
|
|
12356
12370
|
} catch (e) {
|
|
12357
|
-
console.warn('No banner config found at: ',
|
|
12371
|
+
console.warn('No banner config found at: ', `${GEN3_COMMONS_NAME}/banner.json`);
|
|
12358
12372
|
}
|
|
12359
12373
|
const { topBar, navigation, type = 'original' } = navigationConfigJSON;
|
|
12360
12374
|
const headerProps = {
|
|
@@ -12363,7 +12377,7 @@ const ContentSource = setup();
|
|
|
12363
12377
|
banners: bannerConfigJSON,
|
|
12364
12378
|
type
|
|
12365
12379
|
};
|
|
12366
|
-
const footerProps = await ContentSource.get(
|
|
12380
|
+
const footerProps = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/footer.json`);
|
|
12367
12381
|
return {
|
|
12368
12382
|
headerProps,
|
|
12369
12383
|
footerProps,
|
|
@@ -15302,7 +15316,7 @@ const DiscoveryPage = ({ headerProps, footerProps, discoveryConfig })=>{
|
|
|
15302
15316
|
|
|
15303
15317
|
const DiscoveryPageGetServerSideProps = async ()=>{
|
|
15304
15318
|
try {
|
|
15305
|
-
const discoveryConfig = await ContentSource.get(
|
|
15319
|
+
const discoveryConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/discovery.json`);
|
|
15306
15320
|
return {
|
|
15307
15321
|
props: {
|
|
15308
15322
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -15351,7 +15365,7 @@ const QueryPage = ({ headerProps, footerProps, queryProps })=>{
|
|
|
15351
15365
|
};
|
|
15352
15366
|
|
|
15353
15367
|
const QueryPageGetServerSideProps = async ()=>{
|
|
15354
|
-
const queryProps = await ContentSource.get(
|
|
15368
|
+
const queryProps = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/query.json`);
|
|
15355
15369
|
return {
|
|
15356
15370
|
props: {
|
|
15357
15371
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -15526,9 +15540,9 @@ const LandingPage = ({ headerProps, footerProps, landingPage })=>{
|
|
|
15526
15540
|
};
|
|
15527
15541
|
|
|
15528
15542
|
// should move this thing into _app.tsx and make a dedicated layout component after https://github.com/vercel/next.js/discussions/10949 is addressed
|
|
15529
|
-
const
|
|
15543
|
+
const LandingPageGetServerSideProps = async ()=>{
|
|
15530
15544
|
const navPageLayoutProps = await getNavPageLayoutPropsFromConfig();
|
|
15531
|
-
const landingPage = await ContentSource.get(
|
|
15545
|
+
const landingPage = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/landingPage.json`);
|
|
15532
15546
|
return {
|
|
15533
15547
|
props: {
|
|
15534
15548
|
...navPageLayoutProps,
|
|
@@ -15607,7 +15621,7 @@ const GetSharedFieldMapping = async (cohortBuilderConfiguration)=>{
|
|
|
15607
15621
|
};
|
|
15608
15622
|
const ExplorerPageGetServerSideProps = async ()=>{
|
|
15609
15623
|
try {
|
|
15610
|
-
const cohortBuilderConfiguration = await ContentSource.get(
|
|
15624
|
+
const cohortBuilderConfiguration = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/explorer.json`);
|
|
15611
15625
|
if (isArray(cohortBuilderConfiguration)) {
|
|
15612
15626
|
// older config layout
|
|
15613
15627
|
// TODO: remove this
|
|
@@ -15642,7 +15656,7 @@ const ExplorerPageGetServerSideProps = async ()=>{
|
|
|
15642
15656
|
const ExplorerPageGetServerSidePropsForConfigId = async (context)=>{
|
|
15643
15657
|
const configId = context.query.configId;
|
|
15644
15658
|
try {
|
|
15645
|
-
const cohortBuilderConfiguration = await ContentSource.get(
|
|
15659
|
+
const cohortBuilderConfiguration = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/explorer/${configId}.json`);
|
|
15646
15660
|
if (isArray(cohortBuilderConfiguration)) {
|
|
15647
15661
|
// older config layout
|
|
15648
15662
|
// TODO: remove this
|
|
@@ -16602,7 +16616,7 @@ const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
|
|
|
16602
16616
|
};
|
|
16603
16617
|
|
|
16604
16618
|
const ProfilePageGetServerSideProps = async ()=>{
|
|
16605
|
-
const profileConfig = await ContentSource.get(
|
|
16619
|
+
const profileConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/profile.json`);
|
|
16606
16620
|
return {
|
|
16607
16621
|
props: {
|
|
16608
16622
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -16629,7 +16643,7 @@ const LoginPage = ({ headerProps, footerProps, loginConfig })=>{
|
|
|
16629
16643
|
};
|
|
16630
16644
|
|
|
16631
16645
|
const LoginPageGetServerSideProps = async ()=>{
|
|
16632
|
-
const loginConfig = await ContentSource.get(
|
|
16646
|
+
const loginConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/login.json`);
|
|
16633
16647
|
return {
|
|
16634
16648
|
props: {
|
|
16635
16649
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -16660,7 +16674,7 @@ const DictionaryPage = ({ headerProps, footerProps, config })=>{
|
|
|
16660
16674
|
|
|
16661
16675
|
const DictionaryPageGetServerSideProps = async ()=>{
|
|
16662
16676
|
try {
|
|
16663
|
-
const cohortBuilderProps = await ContentSource.get(
|
|
16677
|
+
const cohortBuilderProps = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/dictionary.json`);
|
|
16664
16678
|
return {
|
|
16665
16679
|
props: {
|
|
16666
16680
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -17383,7 +17397,7 @@ const AuthzPage = ({ headerProps, footerProps, authz })=>{
|
|
|
17383
17397
|
};
|
|
17384
17398
|
|
|
17385
17399
|
const AdminAuthZPageGetServerSideProps = async ()=>{
|
|
17386
|
-
const rootPath =
|
|
17400
|
+
const rootPath = `${GEN3_COMMONS_NAME}/`;
|
|
17387
17401
|
const filepath = 'user.yaml';
|
|
17388
17402
|
let data = {};
|
|
17389
17403
|
try {
|
|
@@ -17711,7 +17725,7 @@ const SubmissionPage = ({ submissionConfig, headerProps, footerProps })=>{
|
|
|
17711
17725
|
|
|
17712
17726
|
const SubmissionPageGetServerSideProps = async ()=>{
|
|
17713
17727
|
try {
|
|
17714
|
-
const submissionConfig = await ContentSource.get(
|
|
17728
|
+
const submissionConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/submission.json`);
|
|
17715
17729
|
return {
|
|
17716
17730
|
props: {
|
|
17717
17731
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -17776,7 +17790,7 @@ const WorkspaceNoAccessPage = ({ headerProps, footerProps })=>{
|
|
|
17776
17790
|
};
|
|
17777
17791
|
|
|
17778
17792
|
const WorkspacePageGetServerSideProps = async (_context)=>{
|
|
17779
|
-
const workspaceProps = await ContentSource.get(
|
|
17793
|
+
const workspaceProps = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/workspace.json`);
|
|
17780
17794
|
try {
|
|
17781
17795
|
return {
|
|
17782
17796
|
props: {
|
|
@@ -17838,7 +17852,7 @@ const AnalysisPage = ({ headerProps, footerProps, tools, sections, classNames })
|
|
|
17838
17852
|
|
|
17839
17853
|
const AnalysisPageGetServerSideProps = async ()=>{
|
|
17840
17854
|
try {
|
|
17841
|
-
const analysisConfig = await ContentSource.get(
|
|
17855
|
+
const analysisConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/analysisTools.json`);
|
|
17842
17856
|
return {
|
|
17843
17857
|
props: {
|
|
17844
17858
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -18473,7 +18487,7 @@ const AnalysisEditorPage = ({ headerProps, footerProps, analysisFile })=>{
|
|
|
18473
18487
|
};
|
|
18474
18488
|
|
|
18475
18489
|
const AnalysisEditorPageGetServerSideProps = async ()=>{
|
|
18476
|
-
// const rootPath =
|
|
18490
|
+
// const rootPath = `${GEN3_COMMONS_NAME}/`;
|
|
18477
18491
|
// const filepath = 'user.yaml';
|
|
18478
18492
|
// let data: Record<string, any> = {};
|
|
18479
18493
|
// try {
|
|
@@ -20381,7 +20395,7 @@ const DataLibraryPage = ({ headerProps, footerProps, config })=>{
|
|
|
20381
20395
|
|
|
20382
20396
|
const DataLibraryPageGetServerSideProps = async ()=>{
|
|
20383
20397
|
try {
|
|
20384
|
-
const datalibraryConfig = await ContentSource.get(
|
|
20398
|
+
const datalibraryConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/dataLibrary.json`);
|
|
20385
20399
|
return {
|
|
20386
20400
|
props: {
|
|
20387
20401
|
...await getNavPageLayoutPropsFromConfig(),
|
|
@@ -20673,7 +20687,7 @@ const CrosswalkPage = ({ headerProps, footerProps, config })=>{
|
|
|
20673
20687
|
|
|
20674
20688
|
const CrosswalkPageGetServerSideProps = async ()=>{
|
|
20675
20689
|
try {
|
|
20676
|
-
const initialConfig = await ContentSource.get(
|
|
20690
|
+
const initialConfig = await ContentSource$1.getContentDatabase().get(`${GEN3_COMMONS_NAME}/crosswalk.json`);
|
|
20677
20691
|
const regex = /->/g;
|
|
20678
20692
|
const processedConfig = {
|
|
20679
20693
|
showSubmittedIdInTable: initialConfig.showSubmittedIdInTable,
|
|
@@ -21011,5 +21025,5 @@ async function credentialsLogout(req, res) {
|
|
|
21011
21025
|
res.redirect(307, '/');
|
|
21012
21026
|
}
|
|
21013
21027
|
|
|
21014
|
-
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor$1 as GqlQueryEditor, Header, HoverLink, LandingPage,
|
|
21028
|
+
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource$1 as ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor$1 as GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetServerSideProps, LoginButton$1 as LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryPage, QueryPageGetServerSideProps, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SessionExpiredModal, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, capitalize, computeRowSpan, convertMinutesToMilliseconds, convertSecondsToMilliseconds, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, credentialsLogin, credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform$1 as isTextTransform, processLabel$1 as processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeKey$1 as removeKey, resourcePathFromProjectID, sessionLogout, sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource$1 as userHasMethodForServiceOnResource };
|
|
21015
21029
|
//# sourceMappingURL=index.js.map
|