@gen3/frontend 0.12.3 → 0.12.5
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/.swcrc +24 -0
- package/__mocks__/createWebStorageMock.js +10 -0
- package/dist/dts/components/HeaderTitle.d.ts +5 -0
- package/dist/dts/components/HeaderTitle.d.ts.map +1 -0
- package/dist/dts/components/HeaderTitle.js +8 -0
- package/dist/dts/components/HeaderTitle.js.map +1 -0
- package/dist/dts/components/HeaderTitle.stories.d.ts +13 -0
- package/dist/dts/components/HeaderTitle.stories.d.ts.map +1 -0
- package/dist/dts/components/HeaderTitle.stories.js +27 -0
- package/dist/dts/components/HeaderTitle.stories.js.map +1 -0
- package/dist/dts/components/Providers/Gen3Provider.d.ts +2 -2
- package/dist/dts/components/SegmentedControl.stories.d.ts +15 -15
- package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
- package/dist/dts/exports/app.d.ts +14 -0
- package/dist/dts/exports/app.d.ts.map +1 -0
- package/dist/dts/exports/app.js +9 -0
- package/dist/dts/exports/app.js.map +1 -0
- package/dist/dts/exports/content.d.ts +7 -0
- package/dist/dts/exports/content.d.ts.map +1 -0
- package/dist/dts/exports/content.js +5 -0
- package/dist/dts/exports/content.js.map +1 -0
- package/dist/dts/exports/explorerRenderers.d.ts +7 -0
- package/dist/dts/exports/explorerRenderers.d.ts.map +1 -0
- package/dist/dts/exports/explorerRenderers.js +5 -0
- package/dist/dts/exports/explorerRenderers.js.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +2 -2
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.js +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts +2 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js +6 -5
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts +3 -2
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js +5 -4
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.d.ts +3 -3
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js +53 -34
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.js +4 -2
- package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
- package/dist/dts/features/Profile/Profile.d.ts.map +1 -1
- package/dist/dts/features/Profile/Profile.js +1 -1
- package/dist/dts/features/Profile/Profile.js.map +1 -1
- package/dist/dts/index.d.ts +19 -21
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +20 -22
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/content/index.d.ts +1 -0
- package/dist/dts/lib/content/index.d.ts.map +1 -1
- package/dist/dts/lib/content/index.js +4 -0
- package/dist/dts/lib/content/index.js.map +1 -1
- package/dist/dts/pages/403/index.d.ts +2 -1
- package/dist/dts/pages/403/index.d.ts.map +1 -1
- package/dist/dts/pages/403/index.js +2 -1
- package/dist/dts/pages/403/index.js.map +1 -1
- package/dist/dts/pages/404/index.d.ts +2 -1
- package/dist/dts/pages/404/index.d.ts.map +1 -1
- package/dist/dts/pages/404/index.js +2 -1
- package/dist/dts/pages/404/index.js.map +1 -1
- package/dist/dts/pages/{AiSearch/AiSearch.d.ts → AISearch/AISearchPage.d.ts} +1 -1
- package/dist/dts/pages/AISearch/AISearchPage.d.ts.map +1 -0
- package/dist/dts/pages/{AiSearch/AiSearch.js → AISearch/AISearchPage.js} +1 -1
- package/dist/dts/pages/AISearch/AISearchPage.js.map +1 -0
- package/dist/dts/pages/{AiSearch → AISearch}/data.d.ts.map +1 -1
- package/dist/dts/pages/{AiSearch → AISearch}/data.js.map +1 -1
- package/dist/dts/pages/AISearch/index.d.ts +4 -0
- package/dist/dts/pages/AISearch/index.d.ts.map +1 -0
- package/dist/dts/pages/AISearch/index.js +4 -0
- package/dist/dts/pages/AISearch/index.js.map +1 -0
- package/dist/dts/pages/Analysis/{Analysis.d.ts → AnalysisPage.d.ts} +1 -1
- package/dist/dts/pages/Analysis/AnalysisPage.d.ts.map +1 -0
- package/dist/dts/pages/Analysis/{Analysis.js → AnalysisPage.js} +1 -1
- package/dist/dts/pages/Analysis/AnalysisPage.js.map +1 -0
- package/dist/dts/pages/Analysis/index.d.ts +4 -3
- package/dist/dts/pages/Analysis/index.d.ts.map +1 -1
- package/dist/dts/pages/Analysis/index.js +3 -2
- package/dist/dts/pages/Analysis/index.js.map +1 -1
- package/dist/dts/pages/Crosswalk/{Crosswalk.d.ts → CrosswalkPage.d.ts} +1 -1
- package/dist/dts/pages/Crosswalk/CrosswalkPage.d.ts.map +1 -0
- package/dist/dts/pages/Crosswalk/{Crosswalk.js → CrosswalkPage.js} +1 -1
- package/dist/dts/pages/Crosswalk/CrosswalkPage.js.map +1 -0
- package/dist/dts/pages/Crosswalk/index.d.ts +4 -2
- package/dist/dts/pages/Crosswalk/index.d.ts.map +1 -1
- package/dist/dts/pages/Crosswalk/index.js +3 -2
- package/dist/dts/pages/Crosswalk/index.js.map +1 -1
- package/dist/dts/pages/DataDictionary/{DataDictionary.d.ts → DataDictionaryPage.d.ts} +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionaryPage.d.ts.map +1 -0
- package/dist/dts/pages/DataDictionary/{DataDictionary.js → DataDictionaryPage.js} +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionaryPage.js.map +1 -0
- package/dist/dts/pages/DataDictionary/index.d.ts +4 -2
- package/dist/dts/pages/DataDictionary/index.d.ts.map +1 -1
- package/dist/dts/pages/DataDictionary/index.js +3 -2
- package/dist/dts/pages/DataDictionary/index.js.map +1 -1
- package/dist/dts/pages/DataLibrary/{DataLibrary.d.ts → DataLibraryPage.d.ts} +1 -1
- package/dist/dts/pages/DataLibrary/DataLibraryPage.d.ts.map +1 -0
- package/dist/dts/pages/DataLibrary/{DataLibrary.js → DataLibraryPage.js} +1 -1
- package/dist/dts/pages/DataLibrary/DataLibraryPage.js.map +1 -0
- package/dist/dts/pages/DataLibrary/index.d.ts +3 -2
- package/dist/dts/pages/DataLibrary/index.d.ts.map +1 -1
- package/dist/dts/pages/DataLibrary/index.js +3 -2
- package/dist/dts/pages/DataLibrary/index.js.map +1 -1
- package/dist/dts/pages/Discovery/{Discovery.d.ts → DiscoveryPage.d.ts} +1 -1
- package/dist/dts/pages/Discovery/DiscoveryPage.d.ts.map +1 -0
- package/dist/dts/pages/Discovery/{Discovery.js → DiscoveryPage.js} +1 -1
- package/dist/dts/pages/Discovery/DiscoveryPage.js.map +1 -0
- package/dist/dts/pages/Discovery/index.d.ts +4 -2
- package/dist/dts/pages/Discovery/index.d.ts.map +1 -1
- package/dist/dts/pages/Discovery/index.js +3 -2
- package/dist/dts/pages/Discovery/index.js.map +1 -1
- package/dist/dts/pages/Explorer/{Explorer.d.ts → ExplorerPage.d.ts} +1 -1
- package/dist/dts/pages/Explorer/ExplorerPage.d.ts.map +1 -0
- package/dist/dts/pages/Explorer/{Explorer.js → ExplorerPage.js} +1 -1
- package/dist/dts/pages/Explorer/ExplorerPage.js.map +1 -0
- package/dist/dts/pages/Explorer/index.d.ts +4 -3
- package/dist/dts/pages/Explorer/index.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/index.js +3 -3
- package/dist/dts/pages/Explorer/index.js.map +1 -1
- package/dist/dts/pages/Landing/{Landing.d.ts → LandingPage.d.ts} +1 -1
- package/dist/dts/pages/Landing/LandingPage.d.ts.map +1 -0
- package/dist/dts/pages/Landing/{Landing.js → LandingPage.js} +1 -1
- package/dist/dts/pages/Landing/LandingPage.js.map +1 -0
- package/dist/dts/pages/Landing/index.d.ts +3 -2
- package/dist/dts/pages/Landing/index.d.ts.map +1 -1
- package/dist/dts/pages/Landing/index.js +3 -2
- package/dist/dts/pages/Landing/index.js.map +1 -1
- package/dist/dts/pages/Login/{Login.d.ts → LoginPage.d.ts} +1 -1
- package/dist/dts/pages/Login/LoginPage.d.ts.map +1 -0
- package/dist/dts/pages/Login/{Login.js → LoginPage.js} +1 -1
- package/dist/dts/pages/Login/LoginPage.js.map +1 -0
- package/dist/dts/pages/Login/index.d.ts +4 -2
- package/dist/dts/pages/Login/index.d.ts.map +1 -1
- package/dist/dts/pages/Login/index.js +3 -2
- package/dist/dts/pages/Login/index.js.map +1 -1
- package/dist/dts/pages/NotebookLite/{NotebookLite.d.ts → NotebookLitePage.d.ts} +1 -1
- package/dist/dts/pages/NotebookLite/NotebookLitePage.d.ts.map +1 -0
- package/dist/dts/pages/NotebookLite/{NotebookLite.js → NotebookLitePage.js} +1 -1
- package/dist/dts/pages/NotebookLite/NotebookLitePage.js.map +1 -0
- package/dist/dts/pages/NotebookLite/index.d.ts +3 -2
- package/dist/dts/pages/NotebookLite/index.d.ts.map +1 -1
- package/dist/dts/pages/NotebookLite/index.js +3 -2
- package/dist/dts/pages/NotebookLite/index.js.map +1 -1
- package/dist/dts/pages/Profile/{Profile.d.ts → ProfilePage.d.ts} +1 -1
- package/dist/dts/pages/Profile/ProfilePage.d.ts.map +1 -0
- package/dist/dts/pages/Profile/{Profile.js → ProfilePage.js} +1 -1
- package/dist/dts/pages/Profile/ProfilePage.js.map +1 -0
- package/dist/dts/pages/Profile/index.d.ts +3 -2
- package/dist/dts/pages/Profile/index.d.ts.map +1 -1
- package/dist/dts/pages/Profile/index.js +3 -2
- package/dist/dts/pages/Profile/index.js.map +1 -1
- package/dist/dts/pages/Query/{Query.d.ts → QueryPage.d.ts} +1 -1
- package/dist/dts/pages/Query/QueryPage.d.ts.map +1 -0
- package/dist/dts/pages/Query/{Query.js → QueryPage.js} +1 -1
- package/dist/dts/pages/Query/QueryPage.js.map +1 -0
- package/dist/dts/pages/Query/index.d.ts +4 -3
- package/dist/dts/pages/Query/index.d.ts.map +1 -1
- package/dist/dts/pages/Query/index.js +3 -3
- package/dist/dts/pages/Query/index.js.map +1 -1
- package/dist/dts/pages/Repository/{Repository.d.ts → RepositoryPage.d.ts} +1 -1
- package/dist/dts/pages/Repository/RepositoryPage.d.ts.map +1 -0
- package/dist/dts/pages/Repository/{Repository.js → RepositoryPage.js} +1 -1
- package/dist/dts/pages/Repository/RepositoryPage.js.map +1 -0
- package/dist/dts/pages/Repository/index.d.ts +4 -3
- package/dist/dts/pages/Repository/index.d.ts.map +1 -1
- package/dist/dts/pages/Repository/index.js +3 -3
- package/dist/dts/pages/Repository/index.js.map +1 -1
- package/dist/dts/pages/Submission/{Submission.d.ts → SubmissionPage.d.ts} +1 -1
- package/dist/dts/pages/Submission/SubmissionPage.d.ts.map +1 -0
- package/dist/dts/pages/Submission/{Submission.js → SubmissionPage.js} +1 -1
- package/dist/dts/pages/Submission/SubmissionPage.js.map +1 -0
- package/dist/dts/pages/Submission/index.d.ts +4 -2
- package/dist/dts/pages/Submission/index.d.ts.map +1 -1
- package/dist/dts/pages/Submission/index.js +3 -2
- package/dist/dts/pages/Submission/index.js.map +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/index.d.ts +4 -2
- package/dist/dts/pages/TabbedCohortBuilder/index.d.ts.map +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/index.js +3 -2
- package/dist/dts/pages/TabbedCohortBuilder/index.js.map +1 -1
- package/dist/dts/pages/Theme/{Colors.d.ts → ColorThemePage.d.ts} +1 -1
- package/dist/dts/pages/Theme/ColorThemePage.d.ts.map +1 -0
- package/dist/dts/pages/Theme/{Colors.js → ColorThemePage.js} +1 -1
- package/dist/dts/pages/Theme/ColorThemePage.js.map +1 -0
- package/dist/dts/pages/Theme/index.d.ts +3 -3
- package/dist/dts/pages/Theme/index.d.ts.map +1 -1
- package/dist/dts/pages/Theme/index.js +3 -2
- package/dist/dts/pages/Theme/index.js.map +1 -1
- package/dist/dts/pages/Workspace/{WorkspaceNoAccess.d.ts → WorkspaceNoAccess.Page.d.ts} +1 -1
- package/dist/dts/pages/Workspace/WorkspaceNoAccess.Page.d.ts.map +1 -0
- package/dist/dts/pages/Workspace/{WorkspaceNoAccess.js → WorkspaceNoAccess.Page.js} +1 -1
- package/dist/dts/pages/Workspace/WorkspaceNoAccess.Page.js.map +1 -0
- package/dist/dts/pages/Workspace/{Workspace.d.ts → WorkspacePage.d.ts} +1 -1
- package/dist/dts/pages/Workspace/WorkspacePage.d.ts.map +1 -0
- package/dist/dts/pages/Workspace/{Workspace.js → WorkspacePage.js} +1 -1
- package/dist/dts/pages/Workspace/WorkspacePage.js.map +1 -0
- package/dist/dts/pages/Workspace/index.d.ts +5 -4
- package/dist/dts/pages/Workspace/index.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/index.js +4 -4
- package/dist/dts/pages/Workspace/index.js.map +1 -1
- package/dist/dts/pages/external/{footer.d.ts → StandaloneFooterPage.d.ts} +1 -1
- package/dist/dts/pages/external/StandaloneFooterPage.d.ts.map +1 -0
- package/dist/dts/pages/external/{footer.js → StandaloneFooterPage.js} +1 -1
- package/dist/dts/pages/external/StandaloneFooterPage.js.map +1 -0
- package/dist/dts/pages/index.d.ts +19 -3
- package/dist/dts/pages/index.d.ts.map +1 -1
- package/dist/dts/pages/index.js +19 -54
- package/dist/dts/pages/index.js.map +1 -1
- package/dist/dts/utils/labels.d.ts +5 -5
- package/dist/dts/utils/labels.d.ts.map +1 -1
- package/dist/dts/utils/labels.js +7 -7
- package/dist/dts/utils/labels.js.map +1 -1
- package/dist/index/cjs/{QueryPanel-BMyMDa0j.js → QueryPanel-DjEGC2y4.js} +2 -2
- package/dist/index/cjs/{QueryPanel-BMyMDa0j.js.map → QueryPanel-DjEGC2y4.js.map} +1 -1
- package/dist/index/cjs/{index-UneMBb1i.js → index-Dbe1092a.js} +116 -79
- package/dist/index/cjs/index-Dbe1092a.js.map +1 -0
- package/dist/index/cjs/index.js +2 -2
- package/dist/index/esm/{QueryPanel-jUkVQ57q.js → QueryPanel-CuoHGg9R.js} +2 -2
- package/dist/index/esm/{QueryPanel-jUkVQ57q.js.map → QueryPanel-CuoHGg9R.js.map} +1 -1
- package/dist/index/esm/{index-CMqj9qc0.js → index-BzX6R_rC.js} +117 -80
- package/dist/index/esm/index-BzX6R_rC.js.map +1 -0
- package/dist/index/esm/index.js +1 -1
- package/dist/index.d.ts +28 -25
- package/dist/pages/cjs/CohortBuilder-um9lj6F0.js +480 -0
- package/dist/pages/cjs/CohortBuilder-um9lj6F0.js.map +1 -0
- package/dist/pages/cjs/GqlQueryEditor-C2C--3Sq.js +54 -0
- package/dist/pages/cjs/GqlQueryEditor-C2C--3Sq.js.map +1 -0
- package/dist/pages/cjs/QueryPanel-FE6wpWyr.js +24 -0
- package/dist/pages/cjs/QueryPanel-FE6wpWyr.js.map +1 -0
- package/dist/pages/cjs/index-DEefrENb.js +22201 -0
- package/dist/pages/cjs/index-DEefrENb.js.map +1 -0
- package/dist/pages/cjs/index.js +103 -0
- package/dist/pages/cjs/index.js.map +1 -0
- package/dist/pages/esm/CohortBuilder-DKva6j9o.js +477 -0
- package/dist/pages/esm/CohortBuilder-DKva6j9o.js.map +1 -0
- package/dist/pages/esm/GqlQueryEditor--3qrsd-o.js +52 -0
- package/dist/pages/esm/GqlQueryEditor--3qrsd-o.js.map +1 -0
- package/dist/pages/esm/QueryPanel-D4MUqmA6.js +22 -0
- package/dist/pages/esm/QueryPanel-D4MUqmA6.js.map +1 -0
- package/dist/pages/esm/index-CbfjtvBZ.js +22119 -0
- package/dist/pages/esm/index-CbfjtvBZ.js.map +1 -0
- package/dist/pages/esm/index.js +59 -0
- package/dist/pages/esm/index.js.map +1 -0
- package/dist/pages.d.ts +1002 -0
- package/dist/server/cjs/server.js +4 -0
- package/dist/server/cjs/server.js.map +1 -1
- package/dist/server/esm/server.js +4 -0
- package/dist/server/esm/server.js.map +1 -1
- package/dist/server.d.ts +1 -0
- package/docs/components/Part 1.3 (1).ics +68 -0
- package/docs/components/TextContent.md +185 -0
- package/jest.config.ts +32 -0
- package/package.json +14 -47
- package/postcss.config.js +8 -0
- package/rollup.config.mjs +198 -0
- package/schemas/discovery_config_schema.json +925 -0
- package/setupTests.ts +18 -0
- package/dist/dts/features/cart/types.d.ts +0 -2
- package/dist/dts/features/cart/types.d.ts.map +0 -1
- package/dist/dts/features/cart/types.js +0 -2
- package/dist/dts/features/cart/types.js.map +0 -1
- package/dist/dts/pages/AiSearch/AiSearch.d.ts.map +0 -1
- package/dist/dts/pages/AiSearch/AiSearch.js.map +0 -1
- package/dist/dts/pages/AiSearch/index.d.ts +0 -3
- package/dist/dts/pages/AiSearch/index.d.ts.map +0 -1
- package/dist/dts/pages/AiSearch/index.js +0 -3
- package/dist/dts/pages/AiSearch/index.js.map +0 -1
- package/dist/dts/pages/Analysis/Analysis.d.ts.map +0 -1
- package/dist/dts/pages/Analysis/Analysis.js.map +0 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +0 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.js.map +0 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +0 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.js.map +0 -1
- package/dist/dts/pages/DataLibrary/DataLibrary.d.ts.map +0 -1
- package/dist/dts/pages/DataLibrary/DataLibrary.js.map +0 -1
- package/dist/dts/pages/Discovery/Discovery.d.ts.map +0 -1
- package/dist/dts/pages/Discovery/Discovery.js.map +0 -1
- package/dist/dts/pages/Explorer/Explorer.d.ts.map +0 -1
- package/dist/dts/pages/Explorer/Explorer.js.map +0 -1
- package/dist/dts/pages/Landing/Landing.d.ts.map +0 -1
- package/dist/dts/pages/Landing/Landing.js.map +0 -1
- package/dist/dts/pages/Login/Login.d.ts.map +0 -1
- package/dist/dts/pages/Login/Login.js.map +0 -1
- package/dist/dts/pages/NotebookLite/NotebookLite.d.ts.map +0 -1
- package/dist/dts/pages/NotebookLite/NotebookLite.js.map +0 -1
- package/dist/dts/pages/Profile/Profile.d.ts.map +0 -1
- package/dist/dts/pages/Profile/Profile.js.map +0 -1
- package/dist/dts/pages/Query/Query.d.ts.map +0 -1
- package/dist/dts/pages/Query/Query.js.map +0 -1
- package/dist/dts/pages/Repository/Repository.d.ts.map +0 -1
- package/dist/dts/pages/Repository/Repository.js.map +0 -1
- package/dist/dts/pages/Submission/Submission.d.ts.map +0 -1
- package/dist/dts/pages/Submission/Submission.js.map +0 -1
- package/dist/dts/pages/Theme/Colors.d.ts.map +0 -1
- package/dist/dts/pages/Theme/Colors.js.map +0 -1
- package/dist/dts/pages/Workspace/Workspace.d.ts.map +0 -1
- package/dist/dts/pages/Workspace/Workspace.js.map +0 -1
- package/dist/dts/pages/Workspace/WorkspaceNoAccess.d.ts.map +0 -1
- package/dist/dts/pages/Workspace/WorkspaceNoAccess.js.map +0 -1
- package/dist/dts/pages/external/footer.d.ts.map +0 -1
- package/dist/dts/pages/external/footer.js.map +0 -1
- package/dist/index/cjs/index-UneMBb1i.js.map +0 -1
- package/dist/index/cjs/styles.css +0 -7
- package/dist/index/cjs/styles.css.map +0 -1
- package/dist/index/esm/index-CMqj9qc0.js.map +0 -1
- package/dist/index/esm/styles.css +0 -7
- package/dist/index/esm/styles.css.map +0 -1
- package/dist/styles.css +0 -7
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/dist/dts/pages/{AiSearch → AISearch}/data.d.ts +0 -0
- /package/dist/dts/pages/{AiSearch → AISearch}/data.js +0 -0
package/dist/dts/utils/labels.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Pluralize from 'typescript-pluralize';
|
|
2
2
|
/**
|
|
3
|
-
* Convert label to pluralized (optional title case)
|
|
4
|
-
* @param {label} string - a label to convert to title
|
|
5
|
-
* @param {titleCase} boolean - Should first letter be capitalized default false
|
|
6
|
-
* @returns {string} Pluralized formatted word
|
|
7
|
-
*/
|
|
3
|
+
* Convert label to pluralized (optional title case)
|
|
4
|
+
* @param {label} string - a label to convert to title
|
|
5
|
+
* @param {titleCase} boolean - Should first letter be capitalized default false
|
|
6
|
+
* @returns {string} Pluralized formatted word
|
|
7
|
+
*/
|
|
8
8
|
export var labelToPlural = function (label, titleCase) {
|
|
9
9
|
if (titleCase === void 0) { titleCase = false; }
|
|
10
|
-
var pluralizedLabel =
|
|
10
|
+
var pluralizedLabel = Pluralize.plural(label);
|
|
11
11
|
if (titleCase) {
|
|
12
12
|
return pluralizedLabel.charAt(0).toUpperCase() + pluralizedLabel.slice(1);
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labels.js","sourceRoot":"","sources":["../../../src/utils/labels.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"labels.js","sourceRoot":"","sources":["../../../src/utils/labels.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,KAAa,EAAE,SAAiB;IAAjB,0BAAA,EAAA,iBAAiB;IAC5D,IAAM,eAAe,GAAG,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChD,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC5E,CAAC;IACD,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC;AACvC,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ require('react');
|
|
|
6
6
|
var core = require('@mantine/core');
|
|
7
7
|
|
|
8
8
|
// Wrapper function for displaying loading element before GqlQueryEditor renders
|
|
9
|
-
const GqlQueryEditor = dynamic(()=>Promise.resolve().then(function () { return require('./index-
|
|
9
|
+
const GqlQueryEditor = dynamic(()=>Promise.resolve().then(function () { return require('./index-Dbe1092a.js'); }).then(function (n) { return n.GqlQueryEditor$1; }), {
|
|
10
10
|
loading: ()=>/*#__PURE__*/ jsxRuntime.jsx(core.LoadingOverlay, {
|
|
11
11
|
visible: true
|
|
12
12
|
}),
|
|
@@ -21,4 +21,4 @@ const QueryPanel = ({ graphQLEndpoint })=>{
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
exports.default = QueryPanel;
|
|
24
|
-
//# sourceMappingURL=QueryPanel-
|
|
24
|
+
//# sourceMappingURL=QueryPanel-DjEGC2y4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPanel-
|
|
1
|
+
{"version":3,"file":"QueryPanel-DjEGC2y4.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\ninterface QueryPanelProps {\n graphQLEndpoint?: string;\n title?: string;\n}\n\nconst QueryPanel = ({\n graphQLEndpoint,\n}: QueryPanelProps) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoint={graphQLEndpoint} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoint"],"mappings":";;;;;;;AAIA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,oDAAO,qBAAA,uDAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,cAAA,CAACC,mBAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAOA,MAAMC,UAAAA,GAAa,CAAC,EAClBC,eAAe,EACC,GAAA;;;AAGhB,IAAA,qBAAOL,cAAA,CAACH,cAAAA,EAAAA;QAAeQ,eAAAA,EAAiBA;;AAC1C;;;;"}
|
|
@@ -8543,8 +8543,6 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, Cu
|
|
|
8543
8543
|
});
|
|
8544
8544
|
};
|
|
8545
8545
|
|
|
8546
|
-
var classes = {"tableRow":"DiscoveryTable-module_tableRow__yFUJZ"};
|
|
8547
|
-
|
|
8548
8546
|
const jsonPathAccessor$1 = (path)=>(row)=>{
|
|
8549
8547
|
// TODO: add logging if path is not found
|
|
8550
8548
|
return jsonpathPlus.JSONPath({
|
|
@@ -9678,7 +9676,10 @@ const DiscoveryTable = ({ data, hits, dataRequestStatus, setSorting, setPaginati
|
|
|
9678
9676
|
};
|
|
9679
9677
|
});
|
|
9680
9678
|
},
|
|
9681
|
-
|
|
9679
|
+
style: {
|
|
9680
|
+
borderWidth: 0,
|
|
9681
|
+
fontSize: 'var(--mantine-font-size-sm)'
|
|
9682
|
+
}
|
|
9682
9683
|
}),
|
|
9683
9684
|
mantineTableProps: {
|
|
9684
9685
|
style: {
|
|
@@ -11912,7 +11913,7 @@ const DataAccessCellRenderer = ({ cell, row })=>{
|
|
|
11912
11913
|
/*#__PURE__*/ jsxRuntime.jsx(lu.LuLock, {
|
|
11913
11914
|
className: "text-utility-warning"
|
|
11914
11915
|
}),
|
|
11915
|
-
/*#__PURE__*/ jsxRuntime.jsx(lu.
|
|
11916
|
+
/*#__PURE__*/ jsxRuntime.jsx(lu.LuLockOpen, {
|
|
11916
11917
|
className: "text-utility-warning"
|
|
11917
11918
|
})
|
|
11918
11919
|
]
|
|
@@ -11931,7 +11932,7 @@ const DataAccessCellRenderer = ({ cell, row })=>{
|
|
|
11931
11932
|
return /*#__PURE__*/ jsxRuntime.jsx(core$1.Tooltip, {
|
|
11932
11933
|
label: buildTooltip('You have access to this study', `read access to ${authorization}`),
|
|
11933
11934
|
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
11934
|
-
children: /*#__PURE__*/ jsxRuntime.jsx(lu.
|
|
11935
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(lu.LuLockOpen, {
|
|
11935
11936
|
className: "text-utility-success"
|
|
11936
11937
|
})
|
|
11937
11938
|
})
|
|
@@ -16317,7 +16318,8 @@ const QueryRepresentationLabel = ({ value })=>{
|
|
|
16317
16318
|
const QueryExpressionContext = /*#__PURE__*/ React.createContext({
|
|
16318
16319
|
displayOnly: false,
|
|
16319
16320
|
cohortId: null,
|
|
16320
|
-
cohortName:
|
|
16321
|
+
cohortName: "default",
|
|
16322
|
+
shouldShowSummary: ()=>false,
|
|
16321
16323
|
useClearCohortFilters: ()=>{
|
|
16322
16324
|
const dispatch = core.useCoreDispatch();
|
|
16323
16325
|
return (index)=>dispatch(core.clearCohortFilters({
|
|
@@ -16348,7 +16350,7 @@ const QueryExpressionContext = /*#__PURE__*/ React.createContext({
|
|
|
16348
16350
|
},
|
|
16349
16351
|
useGetFilters: ()=>{
|
|
16350
16352
|
return {
|
|
16351
|
-
mode:
|
|
16353
|
+
mode: "and",
|
|
16352
16354
|
root: {}
|
|
16353
16355
|
};
|
|
16354
16356
|
}
|
|
@@ -16401,25 +16403,25 @@ h-full
|
|
|
16401
16403
|
bg-base-max
|
|
16402
16404
|
`;
|
|
16403
16405
|
const isRangeOperation = (x)=>{
|
|
16404
|
-
return x !== undefined &&
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
|
|
16406
|
+
return x !== undefined && "operator" in x && [
|
|
16407
|
+
">=",
|
|
16408
|
+
">",
|
|
16409
|
+
"<",
|
|
16410
|
+
"<="
|
|
16409
16411
|
].includes(x.operator);
|
|
16410
16412
|
};
|
|
16411
16413
|
const isNestedFilter = (x)=>{
|
|
16412
|
-
return
|
|
16414
|
+
return "path" in x;
|
|
16413
16415
|
};
|
|
16414
16416
|
const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, displayOnly = false })=>{
|
|
16415
16417
|
const [queryExpressionsExpanded, setQueryExpressionsExpanded] = React.useContext(QueryExpressionsExpandedContext);
|
|
16416
|
-
const { cohortId: currentCohortId, useRemoveFilter, useUpdateFilters } = React.useContext(QueryExpressionContext);
|
|
16418
|
+
const { cohortId: currentCohortId, useRemoveFilter, useUpdateFilters, shouldShowSummary } = React.useContext(QueryExpressionContext);
|
|
16417
16419
|
const removeCohortFilter = useRemoveFilter();
|
|
16418
16420
|
const updateCohortFilter = useUpdateFilters();
|
|
16419
16421
|
useDeepCompare.useDeepCompareEffect(()=>{
|
|
16420
16422
|
if (currentCohortId && lodash.get(queryExpressionsExpanded, field) === undefined) {
|
|
16421
16423
|
setQueryExpressionsExpanded({
|
|
16422
|
-
type:
|
|
16424
|
+
type: "expand",
|
|
16423
16425
|
cohortId: currentCohortId,
|
|
16424
16426
|
field
|
|
16425
16427
|
});
|
|
@@ -16435,6 +16437,16 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16435
16437
|
const operandsArray = lodash.isArray(operands) ? operands : [
|
|
16436
16438
|
operands
|
|
16437
16439
|
];
|
|
16440
|
+
const showSummaryView = shouldShowSummary ? shouldShowSummary(field, operandsArray.length) : false;
|
|
16441
|
+
const getSummaryLabel = ()=>{
|
|
16442
|
+
const count = operandsArray.length.toLocaleString();
|
|
16443
|
+
const entityName = core.fieldNameToTitle(field).toLowerCase();
|
|
16444
|
+
return `${count} input ${entityName}s`;
|
|
16445
|
+
};
|
|
16446
|
+
const fieldToUpdate = path && path != "." ? [
|
|
16447
|
+
path,
|
|
16448
|
+
field
|
|
16449
|
+
].join(".") : field;
|
|
16438
16450
|
return /*#__PURE__*/ jsxRuntime.jsxs(QueryContainer, {
|
|
16439
16451
|
children: [
|
|
16440
16452
|
/*#__PURE__*/ jsxRuntime.jsx(QueryFieldLabel, {
|
|
@@ -16442,10 +16454,10 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16442
16454
|
}),
|
|
16443
16455
|
/*#__PURE__*/ jsxRuntime.jsx(core$1.ActionIcon, {
|
|
16444
16456
|
variant: "transparent",
|
|
16445
|
-
size:
|
|
16457
|
+
size: "xs",
|
|
16446
16458
|
onClick: ()=>{
|
|
16447
16459
|
if (currentCohortId) setQueryExpressionsExpanded({
|
|
16448
|
-
type: expanded ?
|
|
16460
|
+
type: expanded ? "collapse" : "expand",
|
|
16449
16461
|
cohortId: currentCohortId,
|
|
16450
16462
|
field
|
|
16451
16463
|
});
|
|
@@ -16466,7 +16478,31 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16466
16478
|
className: "text-primary-darkest px-2 py-1 flex items-center",
|
|
16467
16479
|
children: operands.length
|
|
16468
16480
|
}) : /*#__PURE__*/ jsxRuntime.jsx(QueryRepresentationText, {
|
|
16469
|
-
children: /*#__PURE__*/ jsxRuntime.jsx(core$1.
|
|
16481
|
+
children: showSummaryView ? /*#__PURE__*/ jsxRuntime.jsx(core$1.Badge, {
|
|
16482
|
+
variant: "filled",
|
|
16483
|
+
color: "accent.5",
|
|
16484
|
+
size: "md",
|
|
16485
|
+
className: `normal-case items-center pr-3 cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? "pr-3" : "pr-0"}`,
|
|
16486
|
+
rightSection: !displayOnly && /*#__PURE__*/ jsxRuntime.jsx(RemoveButton, {
|
|
16487
|
+
value: "all"
|
|
16488
|
+
}),
|
|
16489
|
+
onClick: ()=>{
|
|
16490
|
+
if (displayOnly) return;
|
|
16491
|
+
if (currentCohortId) {
|
|
16492
|
+
setQueryExpressionsExpanded({
|
|
16493
|
+
type: "clear",
|
|
16494
|
+
cohortId: currentCohortId,
|
|
16495
|
+
field: fieldToUpdate
|
|
16496
|
+
});
|
|
16497
|
+
removeCohortFilter(index, fieldToUpdate);
|
|
16498
|
+
}
|
|
16499
|
+
},
|
|
16500
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(OverflowTooltippedLabel, {
|
|
16501
|
+
label: getSummaryLabel(),
|
|
16502
|
+
className: "flex-grow text-md font-content",
|
|
16503
|
+
children: getSummaryLabel()
|
|
16504
|
+
})
|
|
16505
|
+
}) : /*#__PURE__*/ jsxRuntime.jsx(core$1.Group, {
|
|
16470
16506
|
gap: "xs",
|
|
16471
16507
|
children: operandsArray.map((x, i)=>{
|
|
16472
16508
|
const value = x.toString();
|
|
@@ -16475,20 +16511,16 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16475
16511
|
variant: "filled",
|
|
16476
16512
|
color: "accent.5",
|
|
16477
16513
|
size: "md",
|
|
16478
|
-
className: `normal-case items-center max-w-[162px] cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ?
|
|
16514
|
+
className: `normal-case items-center max-w-[162px] cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? "pr-3" : "pr-0"}`,
|
|
16479
16515
|
rightSection: !displayOnly && /*#__PURE__*/ jsxRuntime.jsx(RemoveButton, {
|
|
16480
16516
|
value: value
|
|
16481
16517
|
}),
|
|
16482
16518
|
onClick: ()=>{
|
|
16483
16519
|
if (displayOnly) return;
|
|
16484
16520
|
const newOperands = operandsArray.filter((o)=>o !== x);
|
|
16485
|
-
const fieldToUpdate = path && path != '.' ? [
|
|
16486
|
-
path,
|
|
16487
|
-
field
|
|
16488
|
-
].join('.') : field;
|
|
16489
16521
|
if (currentCohortId && newOperands.length === 0) {
|
|
16490
16522
|
setQueryExpressionsExpanded({
|
|
16491
|
-
type:
|
|
16523
|
+
type: "clear",
|
|
16492
16524
|
cohortId: currentCohortId,
|
|
16493
16525
|
field: fieldToUpdate
|
|
16494
16526
|
});
|
|
@@ -16559,7 +16591,7 @@ const ExistsElement = ({ field, operator })=>{
|
|
|
16559
16591
|
]
|
|
16560
16592
|
});
|
|
16561
16593
|
};
|
|
16562
|
-
const ClosedRangeQueryElement = ({ index, lower, upper, op =
|
|
16594
|
+
const ClosedRangeQueryElement = ({ index, lower, upper, op = "and" })=>{
|
|
16563
16595
|
const { field } = lower; // As this is a Range the field for both lower and upper will be the same
|
|
16564
16596
|
return /*#__PURE__*/ jsxRuntime.jsx(React.Fragment, {
|
|
16565
16597
|
children: /*#__PURE__*/ jsxRuntime.jsx(QueryElement, {
|
|
@@ -16574,7 +16606,7 @@ const ClosedRangeQueryElement = ({ index, lower, upper, op = 'and' })=>{
|
|
|
16574
16606
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
16575
16607
|
className: "flex items-center",
|
|
16576
16608
|
children: /*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
16577
|
-
className:
|
|
16609
|
+
className: "uppercase text-accent-contrast-max font-bold",
|
|
16578
16610
|
children: op
|
|
16579
16611
|
})
|
|
16580
16612
|
}),
|
|
@@ -16595,16 +16627,16 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16595
16627
|
// const currentCohortId = useCoreSelector((state: CoreState) =>
|
|
16596
16628
|
// selectCurrentCohortId(state),
|
|
16597
16629
|
// );
|
|
16598
|
-
const
|
|
16630
|
+
const fieldToUpdate = path && path != "." ? [
|
|
16599
16631
|
path,
|
|
16600
16632
|
field
|
|
16601
|
-
].join(
|
|
16633
|
+
].join(".") : field;
|
|
16602
16634
|
const handleRemoveFilter = ()=>{
|
|
16603
|
-
removeCohortFilter(index,
|
|
16635
|
+
removeCohortFilter(index, fieldToUpdate);
|
|
16604
16636
|
if (currentCohortId) setQueryExpressionsExpanded({
|
|
16605
|
-
type:
|
|
16637
|
+
type: "clear",
|
|
16606
16638
|
cohortId: currentCohortId,
|
|
16607
|
-
field:
|
|
16639
|
+
field: fieldToUpdate
|
|
16608
16640
|
});
|
|
16609
16641
|
};
|
|
16610
16642
|
return /*#__PURE__*/ jsxRuntime.jsxs(QueryItemContainer, {
|
|
@@ -16625,7 +16657,7 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16625
16657
|
/**
|
|
16626
16658
|
* Processes a Filter into a component representation
|
|
16627
16659
|
*/ class CohortFilterToComponent {
|
|
16628
|
-
constructor(index, path =
|
|
16660
|
+
constructor(index, path = ".", displayOnly = false){
|
|
16629
16661
|
this.handleIncludes = (f)=>/*#__PURE__*/ jsxRuntime.jsx(QueryElement, {
|
|
16630
16662
|
...f,
|
|
16631
16663
|
index: this.index,
|
|
@@ -16771,12 +16803,12 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16771
16803
|
path: [
|
|
16772
16804
|
op.path,
|
|
16773
16805
|
op.operand.path
|
|
16774
|
-
].join(
|
|
16806
|
+
].join(".")
|
|
16775
16807
|
};
|
|
16776
16808
|
return convertFilterToComponent(newOp, this.index, [
|
|
16777
16809
|
op.path,
|
|
16778
16810
|
op.operand.path
|
|
16779
|
-
].join(
|
|
16811
|
+
].join("."), this.displayOnly);
|
|
16780
16812
|
} else {
|
|
16781
16813
|
return convertFilterToComponent(op.operand, this.index, op.path, this.displayOnly);
|
|
16782
16814
|
}
|
|
@@ -16786,7 +16818,7 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16786
16818
|
this.displayOnly = displayOnly;
|
|
16787
16819
|
}
|
|
16788
16820
|
}
|
|
16789
|
-
const convertFilterToComponent = (filter, index, path =
|
|
16821
|
+
const convertFilterToComponent = (filter, index, path = ".", displayOnly = false)=>{
|
|
16790
16822
|
const handler = new CohortFilterToComponent(index, path, displayOnly);
|
|
16791
16823
|
return core.handleOperation(handler, filter);
|
|
16792
16824
|
};
|
|
@@ -17222,7 +17254,7 @@ const QueryExpressionSection = ({ index, showImportExport = false, displayOnly =
|
|
|
17222
17254
|
});
|
|
17223
17255
|
};
|
|
17224
17256
|
|
|
17225
|
-
const QueryExpression = ({ index })=>{
|
|
17257
|
+
const QueryExpression = ({ index, shouldShowSummary })=>{
|
|
17226
17258
|
const currentCohortId = core.useCoreSelector((state)=>core.selectCurrentCohortId(state));
|
|
17227
17259
|
const currentCohortName = core.useCoreSelector((state)=>core.selectCurrentCohortName(state));
|
|
17228
17260
|
return /*#__PURE__*/ jsxRuntime.jsx(QueryExpressionContext.Provider, {
|
|
@@ -17230,6 +17262,7 @@ const QueryExpression = ({ index })=>{
|
|
|
17230
17262
|
cohortName: currentCohortName,
|
|
17231
17263
|
cohortId: currentCohortId,
|
|
17232
17264
|
displayOnly: false,
|
|
17265
|
+
shouldShowSummary: shouldShowSummary,
|
|
17233
17266
|
useClearCohortFilters: ()=>{
|
|
17234
17267
|
const dispatch = core.useCoreDispatch();
|
|
17235
17268
|
const shouldShareFilters = core.useCoreSelector((state)=>core.selectShouldShareFilters(state));
|
|
@@ -17948,7 +17981,7 @@ const CohortBuilder$1 = ({ explorerConfig, sharedFiltersMap = null, tabsLayout =
|
|
|
17948
17981
|
children: [
|
|
17949
17982
|
enableCohortManager ? /*#__PURE__*/ jsxRuntime.jsx(CohortManager$1, {}) : null,
|
|
17950
17983
|
/*#__PURE__*/ jsxRuntime.jsxs(core$1.Tabs, {
|
|
17951
|
-
color: "primary.
|
|
17984
|
+
color: "primary.5",
|
|
17952
17985
|
variant: explorerConfig[0]?.tabType,
|
|
17953
17986
|
keepMounted: true,
|
|
17954
17987
|
defaultValue: explorerConfig[0].tabTitle,
|
|
@@ -20596,7 +20629,7 @@ const Profile = ({ profileConfig })=>{
|
|
|
20596
20629
|
return /*#__PURE__*/ jsxRuntime.jsx(ProfileProvider, {
|
|
20597
20630
|
profileConfig: profileConfig,
|
|
20598
20631
|
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
20599
|
-
className: "flex flex-col w-full",
|
|
20632
|
+
className: "flex flex-col w-full m-2",
|
|
20600
20633
|
children: /*#__PURE__*/ jsxRuntime.jsxs(core$1.Accordion, {
|
|
20601
20634
|
multiple: true,
|
|
20602
20635
|
variant: "separated",
|
|
@@ -20735,6 +20768,10 @@ class ContentSource {
|
|
|
20735
20768
|
getContentDatabase() {
|
|
20736
20769
|
return this.contentDatabase;
|
|
20737
20770
|
}
|
|
20771
|
+
// ✅ Compatibility helper: allow `ContentSource.getContentDatabase()`
|
|
20772
|
+
static getContentDatabase() {
|
|
20773
|
+
return ContentSource.getInstance().getContentDatabase();
|
|
20774
|
+
}
|
|
20738
20775
|
}
|
|
20739
20776
|
// Export a singleton instance
|
|
20740
20777
|
var ContentSource$1 = ContentSource.getInstance();
|
|
@@ -24550,7 +24587,7 @@ const DiscoveryPageGetServerSideProps = async ()=>{
|
|
|
24550
24587
|
}
|
|
24551
24588
|
};
|
|
24552
24589
|
|
|
24553
|
-
const QueryPanel = dynamic(()=>Promise.resolve().then(function () { return require('./QueryPanel-
|
|
24590
|
+
const QueryPanel = dynamic(()=>Promise.resolve().then(function () { return require('./QueryPanel-DjEGC2y4.js'); }), {
|
|
24554
24591
|
ssr: false
|
|
24555
24592
|
});
|
|
24556
24593
|
const QueryPage = ({ headerProps, footerProps, queryProps })=>{
|
|
@@ -25288,6 +25325,18 @@ const ColorThemePageGetServerSideProps = async ()=>{
|
|
|
25288
25325
|
};
|
|
25289
25326
|
};
|
|
25290
25327
|
|
|
25328
|
+
const ProfilePageGetServerSideProps = async ()=>{
|
|
25329
|
+
const profileConfig = await ContentSource$1.getContentDatabase().get(`${core.GEN3_COMMONS_NAME}/profile.json`);
|
|
25330
|
+
return {
|
|
25331
|
+
props: {
|
|
25332
|
+
...await getNavPageLayoutPropsFromConfig(),
|
|
25333
|
+
...{
|
|
25334
|
+
profileConfig: profileConfig
|
|
25335
|
+
}
|
|
25336
|
+
}
|
|
25337
|
+
};
|
|
25338
|
+
};
|
|
25339
|
+
|
|
25291
25340
|
const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
|
|
25292
25341
|
return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
|
|
25293
25342
|
headerProps,
|
|
@@ -25304,18 +25353,6 @@ const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
|
|
|
25304
25353
|
});
|
|
25305
25354
|
};
|
|
25306
25355
|
|
|
25307
|
-
const ProfilePageGetServerSideProps = async ()=>{
|
|
25308
|
-
const profileConfig = await ContentSource$1.getContentDatabase().get(`${core.GEN3_COMMONS_NAME}/profile.json`);
|
|
25309
|
-
return {
|
|
25310
|
-
props: {
|
|
25311
|
-
...await getNavPageLayoutPropsFromConfig(),
|
|
25312
|
-
...{
|
|
25313
|
-
profileConfig: profileConfig
|
|
25314
|
-
}
|
|
25315
|
-
}
|
|
25316
|
-
};
|
|
25317
|
-
};
|
|
25318
|
-
|
|
25319
25356
|
const LoginPage = ({ headerProps, footerProps, loginConfig })=>{
|
|
25320
25357
|
return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
|
|
25321
25358
|
headerProps,
|
|
@@ -29785,33 +29822,6 @@ const TabbedCohortBuilderPageGetServerSideProps = async ()=>{
|
|
|
29785
29822
|
}
|
|
29786
29823
|
};
|
|
29787
29824
|
|
|
29788
|
-
const RepositoryPage = ({ headerProps, footerProps, configuration, headerMetadata })=>{
|
|
29789
|
-
if (configuration === undefined) {
|
|
29790
|
-
return /*#__PURE__*/ jsxRuntime.jsx(core$1.Center, {
|
|
29791
|
-
maw: 400,
|
|
29792
|
-
h: 100,
|
|
29793
|
-
mx: "auto",
|
|
29794
|
-
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
29795
|
-
children: "Repository config is not defined. Page disabled"
|
|
29796
|
-
})
|
|
29797
|
-
});
|
|
29798
|
-
}
|
|
29799
|
-
return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
|
|
29800
|
-
headerProps,
|
|
29801
|
-
footerProps,
|
|
29802
|
-
headerMetadata: {
|
|
29803
|
-
title: 'Gen3 Repository Page',
|
|
29804
|
-
content: 'Repository Page',
|
|
29805
|
-
key: 'gen3-repository-page',
|
|
29806
|
-
...headerMetadata ? headerMetadata : {},
|
|
29807
|
-
...configuration?.headerMetadata ? configuration.headerMetadata : {}
|
|
29808
|
-
},
|
|
29809
|
-
children: /*#__PURE__*/ jsxRuntime.jsx(Repository, {
|
|
29810
|
-
...configuration
|
|
29811
|
-
})
|
|
29812
|
-
});
|
|
29813
|
-
};
|
|
29814
|
-
|
|
29815
29825
|
const DefaultAccessControlConfiguration = {
|
|
29816
29826
|
dataMode: GuppyDataAccessMode.REGULAR,
|
|
29817
29827
|
tierLimit: -1,
|
|
@@ -29843,6 +29853,33 @@ const RepositoryPageGetServerSideProps = async ()=>{
|
|
|
29843
29853
|
}
|
|
29844
29854
|
};
|
|
29845
29855
|
|
|
29856
|
+
const RepositoryPage = ({ headerProps, footerProps, configuration, headerMetadata })=>{
|
|
29857
|
+
if (configuration === undefined) {
|
|
29858
|
+
return /*#__PURE__*/ jsxRuntime.jsx(core$1.Center, {
|
|
29859
|
+
maw: 400,
|
|
29860
|
+
h: 100,
|
|
29861
|
+
mx: "auto",
|
|
29862
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
29863
|
+
children: "Repository config is not defined. Page disabled"
|
|
29864
|
+
})
|
|
29865
|
+
});
|
|
29866
|
+
}
|
|
29867
|
+
return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
|
|
29868
|
+
headerProps,
|
|
29869
|
+
footerProps,
|
|
29870
|
+
headerMetadata: {
|
|
29871
|
+
title: 'Gen3 Repository Page',
|
|
29872
|
+
content: 'Repository Page',
|
|
29873
|
+
key: 'gen3-repository-page',
|
|
29874
|
+
...headerMetadata ? headerMetadata : {},
|
|
29875
|
+
...configuration?.headerMetadata ? configuration.headerMetadata : {}
|
|
29876
|
+
},
|
|
29877
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(Repository, {
|
|
29878
|
+
...configuration
|
|
29879
|
+
})
|
|
29880
|
+
});
|
|
29881
|
+
};
|
|
29882
|
+
|
|
29846
29883
|
const TailwindConfig = (themer)=>{
|
|
29847
29884
|
return {
|
|
29848
29885
|
important: '#__next',
|
|
@@ -30425,4 +30462,4 @@ exports.useUpdateFilters = useUpdateFilters$1;
|
|
|
30425
30462
|
exports.useUpdateFiltersFlat = useUpdateFiltersFlat;
|
|
30426
30463
|
exports.userHasMethodForServiceOnResource = userHasMethodForServiceOnResource$1;
|
|
30427
30464
|
exports.validateObjectHasRequiredFields = validateObjectHasRequiredFields;
|
|
30428
|
-
//# sourceMappingURL=index-
|
|
30465
|
+
//# sourceMappingURL=index-Dbe1092a.js.map
|