@gen3/frontend 0.12.4 → 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 -48
- 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/LICENSE +0 -201
- 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/index/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Dbe1092a.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('@mantine/core');
|
|
@@ -110,10 +110,10 @@ exports.DAYS_IN_YEAR = index.DAYS_IN_YEAR;
|
|
|
110
110
|
exports.DEFAULT_MAXIMUM = index.DEFAULT_MAXIMUM;
|
|
111
111
|
exports.DEFAULT_MINIMUM = index.DEFAULT_MINIMUM;
|
|
112
112
|
exports.DEFAULT_VISIBLE_ITEMS = index.DEFAULT_VISIBLE_ITEMS;
|
|
113
|
+
exports.DataDictionaryPage = index.DictionaryPage;
|
|
113
114
|
exports.DataLibraryPage = index.DataLibraryPage;
|
|
114
115
|
exports.DataLibraryPageGetServerSideProps = index.DataLibraryPageGetServerSideProps;
|
|
115
116
|
exports.DefaultAuthorizedRoutesConfig = index.DefaultAuthorizedRoutesConfig;
|
|
116
|
-
exports.DictionaryPage = index.DictionaryPage;
|
|
117
117
|
exports.DictionaryPageGetServerSideProps = index.DictionaryPageGetServerSideProps;
|
|
118
118
|
exports.DictionaryWithContext = index.DictionaryWithContext;
|
|
119
119
|
exports.DiscoveryCellRendererFactory = index.DiscoveryCellRendererFactory;
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import { LoadingOverlay } from '@mantine/core';
|
|
5
5
|
|
|
6
6
|
// Wrapper function for displaying loading element before GqlQueryEditor renders
|
|
7
|
-
const GqlQueryEditor = dynamic(()=>import('./index-
|
|
7
|
+
const GqlQueryEditor = dynamic(()=>import('./index-BzX6R_rC.js').then(function (n) { return n.cG; }), {
|
|
8
8
|
loading: ()=>/*#__PURE__*/ jsx(LoadingOverlay, {
|
|
9
9
|
visible: true
|
|
10
10
|
}),
|
|
@@ -19,4 +19,4 @@ const QueryPanel = ({ graphQLEndpoint })=>{
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { QueryPanel as default };
|
|
22
|
-
//# sourceMappingURL=QueryPanel-
|
|
22
|
+
//# sourceMappingURL=QueryPanel-CuoHGg9R.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPanel-
|
|
1
|
+
{"version":3,"file":"QueryPanel-CuoHGg9R.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,OAAO,qBAAA,qCAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,GAAA,CAACC,cAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAOA,MAAMC,UAAAA,GAAa,CAAC,EAClBC,eAAe,EACC,GAAA;;;AAGhB,IAAA,qBAAOL,GAAA,CAACH,cAAAA,EAAAA;QAAeQ,eAAAA,EAAiBA;;AAC1C;;;;"}
|
|
@@ -46,7 +46,7 @@ import { useMiniSearch } from 'react-minisearch';
|
|
|
46
46
|
import MiniSearch from 'minisearch';
|
|
47
47
|
import uniq from 'lodash/uniq';
|
|
48
48
|
import sum from 'lodash/sum';
|
|
49
|
-
import { LuCircleSlash, LuClock, LuLock,
|
|
49
|
+
import { LuCircleSlash, LuClock, LuLock, LuLockOpen } from 'react-icons/lu';
|
|
50
50
|
import { filesize } from 'filesize';
|
|
51
51
|
import { useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext, closestCenter } from '@dnd-kit/core';
|
|
52
52
|
import { sortableKeyboardCoordinates, SortableContext, verticalListSortingStrategy, arrayMove, useSortable } from '@dnd-kit/sortable';
|
|
@@ -8523,8 +8523,6 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, Cu
|
|
|
8523
8523
|
});
|
|
8524
8524
|
};
|
|
8525
8525
|
|
|
8526
|
-
var classes = {"tableRow":"DiscoveryTable-module_tableRow__yFUJZ"};
|
|
8527
|
-
|
|
8528
8526
|
const jsonPathAccessor$1 = (path)=>(row)=>{
|
|
8529
8527
|
// TODO: add logging if path is not found
|
|
8530
8528
|
return JSONPath({
|
|
@@ -9658,7 +9656,10 @@ const DiscoveryTable = ({ data, hits, dataRequestStatus, setSorting, setPaginati
|
|
|
9658
9656
|
};
|
|
9659
9657
|
});
|
|
9660
9658
|
},
|
|
9661
|
-
|
|
9659
|
+
style: {
|
|
9660
|
+
borderWidth: 0,
|
|
9661
|
+
fontSize: 'var(--mantine-font-size-sm)'
|
|
9662
|
+
}
|
|
9662
9663
|
}),
|
|
9663
9664
|
mantineTableProps: {
|
|
9664
9665
|
style: {
|
|
@@ -11892,7 +11893,7 @@ const DataAccessCellRenderer = ({ cell, row })=>{
|
|
|
11892
11893
|
/*#__PURE__*/ jsx(LuLock, {
|
|
11893
11894
|
className: "text-utility-warning"
|
|
11894
11895
|
}),
|
|
11895
|
-
/*#__PURE__*/ jsx(
|
|
11896
|
+
/*#__PURE__*/ jsx(LuLockOpen, {
|
|
11896
11897
|
className: "text-utility-warning"
|
|
11897
11898
|
})
|
|
11898
11899
|
]
|
|
@@ -11911,7 +11912,7 @@ const DataAccessCellRenderer = ({ cell, row })=>{
|
|
|
11911
11912
|
return /*#__PURE__*/ jsx(Tooltip, {
|
|
11912
11913
|
label: buildTooltip('You have access to this study', `read access to ${authorization}`),
|
|
11913
11914
|
children: /*#__PURE__*/ jsx("div", {
|
|
11914
|
-
children: /*#__PURE__*/ jsx(
|
|
11915
|
+
children: /*#__PURE__*/ jsx(LuLockOpen, {
|
|
11915
11916
|
className: "text-utility-success"
|
|
11916
11917
|
})
|
|
11917
11918
|
})
|
|
@@ -16297,7 +16298,8 @@ const QueryRepresentationLabel = ({ value })=>{
|
|
|
16297
16298
|
const QueryExpressionContext = /*#__PURE__*/ React__default.createContext({
|
|
16298
16299
|
displayOnly: false,
|
|
16299
16300
|
cohortId: null,
|
|
16300
|
-
cohortName:
|
|
16301
|
+
cohortName: "default",
|
|
16302
|
+
shouldShowSummary: ()=>false,
|
|
16301
16303
|
useClearCohortFilters: ()=>{
|
|
16302
16304
|
const dispatch = useCoreDispatch();
|
|
16303
16305
|
return (index)=>dispatch(clearCohortFilters$1({
|
|
@@ -16328,7 +16330,7 @@ const QueryExpressionContext = /*#__PURE__*/ React__default.createContext({
|
|
|
16328
16330
|
},
|
|
16329
16331
|
useGetFilters: ()=>{
|
|
16330
16332
|
return {
|
|
16331
|
-
mode:
|
|
16333
|
+
mode: "and",
|
|
16332
16334
|
root: {}
|
|
16333
16335
|
};
|
|
16334
16336
|
}
|
|
@@ -16381,25 +16383,25 @@ h-full
|
|
|
16381
16383
|
bg-base-max
|
|
16382
16384
|
`;
|
|
16383
16385
|
const isRangeOperation = (x)=>{
|
|
16384
|
-
return x !== undefined &&
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16386
|
+
return x !== undefined && "operator" in x && [
|
|
16387
|
+
">=",
|
|
16388
|
+
">",
|
|
16389
|
+
"<",
|
|
16390
|
+
"<="
|
|
16389
16391
|
].includes(x.operator);
|
|
16390
16392
|
};
|
|
16391
16393
|
const isNestedFilter = (x)=>{
|
|
16392
|
-
return
|
|
16394
|
+
return "path" in x;
|
|
16393
16395
|
};
|
|
16394
16396
|
const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, displayOnly = false })=>{
|
|
16395
16397
|
const [queryExpressionsExpanded, setQueryExpressionsExpanded] = useContext(QueryExpressionsExpandedContext);
|
|
16396
|
-
const { cohortId: currentCohortId, useRemoveFilter, useUpdateFilters } = useContext(QueryExpressionContext);
|
|
16398
|
+
const { cohortId: currentCohortId, useRemoveFilter, useUpdateFilters, shouldShowSummary } = useContext(QueryExpressionContext);
|
|
16397
16399
|
const removeCohortFilter = useRemoveFilter();
|
|
16398
16400
|
const updateCohortFilter = useUpdateFilters();
|
|
16399
16401
|
useDeepCompareEffect(()=>{
|
|
16400
16402
|
if (currentCohortId && get(queryExpressionsExpanded, field) === undefined) {
|
|
16401
16403
|
setQueryExpressionsExpanded({
|
|
16402
|
-
type:
|
|
16404
|
+
type: "expand",
|
|
16403
16405
|
cohortId: currentCohortId,
|
|
16404
16406
|
field
|
|
16405
16407
|
});
|
|
@@ -16415,6 +16417,16 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16415
16417
|
const operandsArray = isArray(operands) ? operands : [
|
|
16416
16418
|
operands
|
|
16417
16419
|
];
|
|
16420
|
+
const showSummaryView = shouldShowSummary ? shouldShowSummary(field, operandsArray.length) : false;
|
|
16421
|
+
const getSummaryLabel = ()=>{
|
|
16422
|
+
const count = operandsArray.length.toLocaleString();
|
|
16423
|
+
const entityName = fieldNameToTitle(field).toLowerCase();
|
|
16424
|
+
return `${count} input ${entityName}s`;
|
|
16425
|
+
};
|
|
16426
|
+
const fieldToUpdate = path && path != "." ? [
|
|
16427
|
+
path,
|
|
16428
|
+
field
|
|
16429
|
+
].join(".") : field;
|
|
16418
16430
|
return /*#__PURE__*/ jsxs(QueryContainer, {
|
|
16419
16431
|
children: [
|
|
16420
16432
|
/*#__PURE__*/ jsx(QueryFieldLabel, {
|
|
@@ -16422,10 +16434,10 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16422
16434
|
}),
|
|
16423
16435
|
/*#__PURE__*/ jsx(ActionIcon, {
|
|
16424
16436
|
variant: "transparent",
|
|
16425
|
-
size:
|
|
16437
|
+
size: "xs",
|
|
16426
16438
|
onClick: ()=>{
|
|
16427
16439
|
if (currentCohortId) setQueryExpressionsExpanded({
|
|
16428
|
-
type: expanded ?
|
|
16440
|
+
type: expanded ? "collapse" : "expand",
|
|
16429
16441
|
cohortId: currentCohortId,
|
|
16430
16442
|
field
|
|
16431
16443
|
});
|
|
@@ -16446,7 +16458,31 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16446
16458
|
className: "text-primary-darkest px-2 py-1 flex items-center",
|
|
16447
16459
|
children: operands.length
|
|
16448
16460
|
}) : /*#__PURE__*/ jsx(QueryRepresentationText, {
|
|
16449
|
-
children: /*#__PURE__*/ jsx(
|
|
16461
|
+
children: showSummaryView ? /*#__PURE__*/ jsx(Badge, {
|
|
16462
|
+
variant: "filled",
|
|
16463
|
+
color: "accent.5",
|
|
16464
|
+
size: "md",
|
|
16465
|
+
className: `normal-case items-center pr-3 cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? "pr-3" : "pr-0"}`,
|
|
16466
|
+
rightSection: !displayOnly && /*#__PURE__*/ jsx(RemoveButton, {
|
|
16467
|
+
value: "all"
|
|
16468
|
+
}),
|
|
16469
|
+
onClick: ()=>{
|
|
16470
|
+
if (displayOnly) return;
|
|
16471
|
+
if (currentCohortId) {
|
|
16472
|
+
setQueryExpressionsExpanded({
|
|
16473
|
+
type: "clear",
|
|
16474
|
+
cohortId: currentCohortId,
|
|
16475
|
+
field: fieldToUpdate
|
|
16476
|
+
});
|
|
16477
|
+
removeCohortFilter(index, fieldToUpdate);
|
|
16478
|
+
}
|
|
16479
|
+
},
|
|
16480
|
+
children: /*#__PURE__*/ jsx(OverflowTooltippedLabel, {
|
|
16481
|
+
label: getSummaryLabel(),
|
|
16482
|
+
className: "flex-grow text-md font-content",
|
|
16483
|
+
children: getSummaryLabel()
|
|
16484
|
+
})
|
|
16485
|
+
}) : /*#__PURE__*/ jsx(Group, {
|
|
16450
16486
|
gap: "xs",
|
|
16451
16487
|
children: operandsArray.map((x, i)=>{
|
|
16452
16488
|
const value = x.toString();
|
|
@@ -16455,20 +16491,16 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
|
|
|
16455
16491
|
variant: "filled",
|
|
16456
16492
|
color: "accent.5",
|
|
16457
16493
|
size: "md",
|
|
16458
|
-
className: `normal-case items-center max-w-[162px] cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ?
|
|
16494
|
+
className: `normal-case items-center max-w-[162px] cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? "pr-3" : "pr-0"}`,
|
|
16459
16495
|
rightSection: !displayOnly && /*#__PURE__*/ jsx(RemoveButton, {
|
|
16460
16496
|
value: value
|
|
16461
16497
|
}),
|
|
16462
16498
|
onClick: ()=>{
|
|
16463
16499
|
if (displayOnly) return;
|
|
16464
16500
|
const newOperands = operandsArray.filter((o)=>o !== x);
|
|
16465
|
-
const fieldToUpdate = path && path != '.' ? [
|
|
16466
|
-
path,
|
|
16467
|
-
field
|
|
16468
|
-
].join('.') : field;
|
|
16469
16501
|
if (currentCohortId && newOperands.length === 0) {
|
|
16470
16502
|
setQueryExpressionsExpanded({
|
|
16471
|
-
type:
|
|
16503
|
+
type: "clear",
|
|
16472
16504
|
cohortId: currentCohortId,
|
|
16473
16505
|
field: fieldToUpdate
|
|
16474
16506
|
});
|
|
@@ -16539,7 +16571,7 @@ const ExistsElement = ({ field, operator })=>{
|
|
|
16539
16571
|
]
|
|
16540
16572
|
});
|
|
16541
16573
|
};
|
|
16542
|
-
const ClosedRangeQueryElement = ({ index, lower, upper, op =
|
|
16574
|
+
const ClosedRangeQueryElement = ({ index, lower, upper, op = "and" })=>{
|
|
16543
16575
|
const { field } = lower; // As this is a Range the field for both lower and upper will be the same
|
|
16544
16576
|
return /*#__PURE__*/ jsx(React__default.Fragment, {
|
|
16545
16577
|
children: /*#__PURE__*/ jsx(QueryElement, {
|
|
@@ -16554,7 +16586,7 @@ const ClosedRangeQueryElement = ({ index, lower, upper, op = 'and' })=>{
|
|
|
16554
16586
|
/*#__PURE__*/ jsx("div", {
|
|
16555
16587
|
className: "flex items-center",
|
|
16556
16588
|
children: /*#__PURE__*/ jsx("span", {
|
|
16557
|
-
className:
|
|
16589
|
+
className: "uppercase text-accent-contrast-max font-bold",
|
|
16558
16590
|
children: op
|
|
16559
16591
|
})
|
|
16560
16592
|
}),
|
|
@@ -16575,16 +16607,16 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16575
16607
|
// const currentCohortId = useCoreSelector((state: CoreState) =>
|
|
16576
16608
|
// selectCurrentCohortId(state),
|
|
16577
16609
|
// );
|
|
16578
|
-
const
|
|
16610
|
+
const fieldToUpdate = path && path != "." ? [
|
|
16579
16611
|
path,
|
|
16580
16612
|
field
|
|
16581
|
-
].join(
|
|
16613
|
+
].join(".") : field;
|
|
16582
16614
|
const handleRemoveFilter = ()=>{
|
|
16583
|
-
removeCohortFilter(index,
|
|
16615
|
+
removeCohortFilter(index, fieldToUpdate);
|
|
16584
16616
|
if (currentCohortId) setQueryExpressionsExpanded({
|
|
16585
|
-
type:
|
|
16617
|
+
type: "clear",
|
|
16586
16618
|
cohortId: currentCohortId,
|
|
16587
|
-
field:
|
|
16619
|
+
field: fieldToUpdate
|
|
16588
16620
|
});
|
|
16589
16621
|
};
|
|
16590
16622
|
return /*#__PURE__*/ jsxs(QueryItemContainer, {
|
|
@@ -16605,7 +16637,7 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16605
16637
|
/**
|
|
16606
16638
|
* Processes a Filter into a component representation
|
|
16607
16639
|
*/ class CohortFilterToComponent {
|
|
16608
|
-
constructor(index, path =
|
|
16640
|
+
constructor(index, path = ".", displayOnly = false){
|
|
16609
16641
|
this.handleIncludes = (f)=>/*#__PURE__*/ jsx(QueryElement, {
|
|
16610
16642
|
...f,
|
|
16611
16643
|
index: this.index,
|
|
@@ -16751,12 +16783,12 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16751
16783
|
path: [
|
|
16752
16784
|
op.path,
|
|
16753
16785
|
op.operand.path
|
|
16754
|
-
].join(
|
|
16786
|
+
].join(".")
|
|
16755
16787
|
};
|
|
16756
16788
|
return convertFilterToComponent(newOp, this.index, [
|
|
16757
16789
|
op.path,
|
|
16758
16790
|
op.operand.path
|
|
16759
|
-
].join(
|
|
16791
|
+
].join("."), this.displayOnly);
|
|
16760
16792
|
} else {
|
|
16761
16793
|
return convertFilterToComponent(op.operand, this.index, op.path, this.displayOnly);
|
|
16762
16794
|
}
|
|
@@ -16766,7 +16798,7 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
|
|
|
16766
16798
|
this.displayOnly = displayOnly;
|
|
16767
16799
|
}
|
|
16768
16800
|
}
|
|
16769
|
-
const convertFilterToComponent = (filter, index, path =
|
|
16801
|
+
const convertFilterToComponent = (filter, index, path = ".", displayOnly = false)=>{
|
|
16770
16802
|
const handler = new CohortFilterToComponent(index, path, displayOnly);
|
|
16771
16803
|
return handleOperation(handler, filter);
|
|
16772
16804
|
};
|
|
@@ -17202,7 +17234,7 @@ const QueryExpressionSection = ({ index, showImportExport = false, displayOnly =
|
|
|
17202
17234
|
});
|
|
17203
17235
|
};
|
|
17204
17236
|
|
|
17205
|
-
const QueryExpression = ({ index })=>{
|
|
17237
|
+
const QueryExpression = ({ index, shouldShowSummary })=>{
|
|
17206
17238
|
const currentCohortId = useCoreSelector((state)=>selectCurrentCohortId$1(state));
|
|
17207
17239
|
const currentCohortName = useCoreSelector((state)=>selectCurrentCohortName$1(state));
|
|
17208
17240
|
return /*#__PURE__*/ jsx(QueryExpressionContext.Provider, {
|
|
@@ -17210,6 +17242,7 @@ const QueryExpression = ({ index })=>{
|
|
|
17210
17242
|
cohortName: currentCohortName,
|
|
17211
17243
|
cohortId: currentCohortId,
|
|
17212
17244
|
displayOnly: false,
|
|
17245
|
+
shouldShowSummary: shouldShowSummary,
|
|
17213
17246
|
useClearCohortFilters: ()=>{
|
|
17214
17247
|
const dispatch = useCoreDispatch();
|
|
17215
17248
|
const shouldShareFilters = useCoreSelector((state)=>selectShouldShareFilters(state));
|
|
@@ -17928,7 +17961,7 @@ const CohortBuilder$1 = ({ explorerConfig, sharedFiltersMap = null, tabsLayout =
|
|
|
17928
17961
|
children: [
|
|
17929
17962
|
enableCohortManager ? /*#__PURE__*/ jsx(CohortManager$1, {}) : null,
|
|
17930
17963
|
/*#__PURE__*/ jsxs(Tabs, {
|
|
17931
|
-
color: "primary.
|
|
17964
|
+
color: "primary.5",
|
|
17932
17965
|
variant: explorerConfig[0]?.tabType,
|
|
17933
17966
|
keepMounted: true,
|
|
17934
17967
|
defaultValue: explorerConfig[0].tabTitle,
|
|
@@ -20576,7 +20609,7 @@ const Profile = ({ profileConfig })=>{
|
|
|
20576
20609
|
return /*#__PURE__*/ jsx(ProfileProvider, {
|
|
20577
20610
|
profileConfig: profileConfig,
|
|
20578
20611
|
children: /*#__PURE__*/ jsx("div", {
|
|
20579
|
-
className: "flex flex-col w-full",
|
|
20612
|
+
className: "flex flex-col w-full m-2",
|
|
20580
20613
|
children: /*#__PURE__*/ jsxs(Accordion, {
|
|
20581
20614
|
multiple: true,
|
|
20582
20615
|
variant: "separated",
|
|
@@ -20715,6 +20748,10 @@ let ContentSource$1 = class ContentSource {
|
|
|
20715
20748
|
getContentDatabase() {
|
|
20716
20749
|
return this.contentDatabase;
|
|
20717
20750
|
}
|
|
20751
|
+
// ✅ Compatibility helper: allow `ContentSource.getContentDatabase()`
|
|
20752
|
+
static getContentDatabase() {
|
|
20753
|
+
return ContentSource.getInstance().getContentDatabase();
|
|
20754
|
+
}
|
|
20718
20755
|
};
|
|
20719
20756
|
// Export a singleton instance
|
|
20720
20757
|
var ContentSource = ContentSource$1.getInstance();
|
|
@@ -24530,7 +24567,7 @@ const DiscoveryPageGetServerSideProps = async ()=>{
|
|
|
24530
24567
|
}
|
|
24531
24568
|
};
|
|
24532
24569
|
|
|
24533
|
-
const QueryPanel = dynamic(()=>import('./QueryPanel-
|
|
24570
|
+
const QueryPanel = dynamic(()=>import('./QueryPanel-CuoHGg9R.js'), {
|
|
24534
24571
|
ssr: false
|
|
24535
24572
|
});
|
|
24536
24573
|
const QueryPage = ({ headerProps, footerProps, queryProps })=>{
|
|
@@ -25268,6 +25305,18 @@ const ColorThemePageGetServerSideProps = async ()=>{
|
|
|
25268
25305
|
};
|
|
25269
25306
|
};
|
|
25270
25307
|
|
|
25308
|
+
const ProfilePageGetServerSideProps = async ()=>{
|
|
25309
|
+
const profileConfig = await ContentSource.getContentDatabase().get(`${GEN3_COMMONS_NAME}/profile.json`);
|
|
25310
|
+
return {
|
|
25311
|
+
props: {
|
|
25312
|
+
...await getNavPageLayoutPropsFromConfig(),
|
|
25313
|
+
...{
|
|
25314
|
+
profileConfig: profileConfig
|
|
25315
|
+
}
|
|
25316
|
+
}
|
|
25317
|
+
};
|
|
25318
|
+
};
|
|
25319
|
+
|
|
25271
25320
|
const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
|
|
25272
25321
|
return /*#__PURE__*/ jsx(NavPageLayout, {
|
|
25273
25322
|
headerProps,
|
|
@@ -25284,18 +25333,6 @@ const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
|
|
|
25284
25333
|
});
|
|
25285
25334
|
};
|
|
25286
25335
|
|
|
25287
|
-
const ProfilePageGetServerSideProps = async ()=>{
|
|
25288
|
-
const profileConfig = await ContentSource.getContentDatabase().get(`${GEN3_COMMONS_NAME}/profile.json`);
|
|
25289
|
-
return {
|
|
25290
|
-
props: {
|
|
25291
|
-
...await getNavPageLayoutPropsFromConfig(),
|
|
25292
|
-
...{
|
|
25293
|
-
profileConfig: profileConfig
|
|
25294
|
-
}
|
|
25295
|
-
}
|
|
25296
|
-
};
|
|
25297
|
-
};
|
|
25298
|
-
|
|
25299
25336
|
const LoginPage = ({ headerProps, footerProps, loginConfig })=>{
|
|
25300
25337
|
return /*#__PURE__*/ jsx(NavPageLayout, {
|
|
25301
25338
|
headerProps,
|
|
@@ -29765,33 +29802,6 @@ const TabbedCohortBuilderPageGetServerSideProps = async ()=>{
|
|
|
29765
29802
|
}
|
|
29766
29803
|
};
|
|
29767
29804
|
|
|
29768
|
-
const RepositoryPage = ({ headerProps, footerProps, configuration, headerMetadata })=>{
|
|
29769
|
-
if (configuration === undefined) {
|
|
29770
|
-
return /*#__PURE__*/ jsx(Center, {
|
|
29771
|
-
maw: 400,
|
|
29772
|
-
h: 100,
|
|
29773
|
-
mx: "auto",
|
|
29774
|
-
children: /*#__PURE__*/ jsx("div", {
|
|
29775
|
-
children: "Repository config is not defined. Page disabled"
|
|
29776
|
-
})
|
|
29777
|
-
});
|
|
29778
|
-
}
|
|
29779
|
-
return /*#__PURE__*/ jsx(NavPageLayout, {
|
|
29780
|
-
headerProps,
|
|
29781
|
-
footerProps,
|
|
29782
|
-
headerMetadata: {
|
|
29783
|
-
title: 'Gen3 Repository Page',
|
|
29784
|
-
content: 'Repository Page',
|
|
29785
|
-
key: 'gen3-repository-page',
|
|
29786
|
-
...headerMetadata ? headerMetadata : {},
|
|
29787
|
-
...configuration?.headerMetadata ? configuration.headerMetadata : {}
|
|
29788
|
-
},
|
|
29789
|
-
children: /*#__PURE__*/ jsx(Repository, {
|
|
29790
|
-
...configuration
|
|
29791
|
-
})
|
|
29792
|
-
});
|
|
29793
|
-
};
|
|
29794
|
-
|
|
29795
29805
|
const DefaultAccessControlConfiguration = {
|
|
29796
29806
|
dataMode: GuppyDataAccessMode.REGULAR,
|
|
29797
29807
|
tierLimit: -1,
|
|
@@ -29823,6 +29833,33 @@ const RepositoryPageGetServerSideProps = async ()=>{
|
|
|
29823
29833
|
}
|
|
29824
29834
|
};
|
|
29825
29835
|
|
|
29836
|
+
const RepositoryPage = ({ headerProps, footerProps, configuration, headerMetadata })=>{
|
|
29837
|
+
if (configuration === undefined) {
|
|
29838
|
+
return /*#__PURE__*/ jsx(Center, {
|
|
29839
|
+
maw: 400,
|
|
29840
|
+
h: 100,
|
|
29841
|
+
mx: "auto",
|
|
29842
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
29843
|
+
children: "Repository config is not defined. Page disabled"
|
|
29844
|
+
})
|
|
29845
|
+
});
|
|
29846
|
+
}
|
|
29847
|
+
return /*#__PURE__*/ jsx(NavPageLayout, {
|
|
29848
|
+
headerProps,
|
|
29849
|
+
footerProps,
|
|
29850
|
+
headerMetadata: {
|
|
29851
|
+
title: 'Gen3 Repository Page',
|
|
29852
|
+
content: 'Repository Page',
|
|
29853
|
+
key: 'gen3-repository-page',
|
|
29854
|
+
...headerMetadata ? headerMetadata : {},
|
|
29855
|
+
...configuration?.headerMetadata ? configuration.headerMetadata : {}
|
|
29856
|
+
},
|
|
29857
|
+
children: /*#__PURE__*/ jsx(Repository, {
|
|
29858
|
+
...configuration
|
|
29859
|
+
})
|
|
29860
|
+
});
|
|
29861
|
+
};
|
|
29862
|
+
|
|
29826
29863
|
const TailwindConfig = (themer)=>{
|
|
29827
29864
|
return {
|
|
29828
29865
|
important: '#__next',
|
|
@@ -30181,4 +30218,4 @@ const DefaultAuthorizedRoutesConfig = {
|
|
|
30181
30218
|
};
|
|
30182
30219
|
|
|
30183
30220
|
export { SubmissionPage as $, ActionButton as A, WorkspaceNoAccessPageServerSideProps as B, ContentSource as C, DownloadButton as D, ErrorCard as E, AnalysisPage as F, Gen3Button as G, AnalysisPageGetServerSideProps as H, Custom403Page as I, JSONObjectDownloadButton as J, Custom404Page as K, LandingPage as L, handler as M, sessionLogout as N, credentialsLogin as O, ProfilePage as P, QueryPage as Q, credentialsLogout as R, SegmentedControl as S, TopBar as T, UploadJSONButton as U, createMantineTheme as V, WorkspacePage as W, AISearchPage as X, AISearchPageGetServerSideProps as Y, CrosswalkPage as Z, CrosswalkPageGetServerSideProps as _, CollapsableSidebar as a, useUpdateFilters$1 as a$, SubmissionPageGetServerSideProps as a0, DataLibraryPage as a1, DataLibraryPageGetServerSideProps as a2, NotebookLitePage as a3, NotebookLitePageGetStaticProps as a4, registerMetadataSchemaApp as a5, AnalysisEditorPage as a6, AnalysisEditorPageGetServerSideProps as a7, TabbedCohortBuilderPage as a8, TabbedCohortBuilderPageGetServerSideProps as a9, ReactECharts as aA, capitalize as aB, truncateString as aC, removeKey$1 as aD, processLabel$1 as aE, processRangeKeyLabel as aF, computeRowSpan as aG, filterAggregationsDataKeys as aH, FacetSelector as aI, EnumFacet as aJ, ExactValueFacet as aK, RangeFacet as aL, MultiSelectValueFacet as aM, FacetTabs as aN, FacetControlsHeader as aO, FacetSortPanel as aP, FacetExpander as aQ, FiltersPanel as aR, useFieldNameToTitle as aS, isEnumFacetResponse as aT, getAllFieldsFromFilterConfigs as aU, getByPath as aV, processBucketData as aW, processRangeData as aX, processDefinedRangeData as aY, updateFacetEnum as aZ, classifyFacets as a_, RepositoryPage as aa, RepositoryPageGetServerSideProps as ab, registerCohortDiscoveryApp as ac, registerCohortSimilarityApp as ad, analysisApiCohortDiscovery as ae, DefaultAuthorizedRoutesConfig as af, User as ag, ProfileProvider as ah, ResourcesFilters as ai, LoginButton$1 as aj, LoginProvidersPanel as ak, LoginPanel as al, BaseModal as am, FirstTimeModal as an, SessionExpiredModal as ao, CreateCredentialsAPIKeyModal as ap, NoAccessModal as aq, Gen3ModalsProvider as ar, CardContainer as as, WarningCard as at, MessageCard as au, MessagePage as av, EmptyTableMessage as aw, Charts as ax, CollapsableCharts as ay, EnumFacetChart as az, DropdownButton as b, CohortActionButton as b$, useUpdateFiltersFlat as b0, useGetFacetFilters$1 as b1, extractRangeValues$1 as b2, convertToStringArray as b3, addUnion as b4, removeUnion as b5, addIntersectionToIncludes as b6, removeIntersectionFromEnum as b7, mapFacetSortToSortType as b8, compareKeysAscending as b9, registerDiscoveryDefaultCellRenderers as bA, registerDiscoveryDefaultStudyPreviewRenderers as bB, registerDefaultDiscoveryDataLoaders as bC, DiscoveryCellRendererFactory as bD, DiscoveryRowRendererFactory as bE, DiscoveryProvider as bF, useDiscoveryContext as bG, AiSearch as bH, ActionBar as bI, DictionaryWithContext as bJ, MetadataDictionary as bK, StudyProvider as bL, StudyGroup as bM, StudyGroupPanel as bN, SinglePageStudyDetailsPanel as bO, StudyDetailsPanel as bP, getTagInfo as bQ, CohortBuilder$1 as bR, CohortManager$1 as bS, CohortManagerAndExpression as bT, ExplorerTableCellRendererFactory as bU, ExplorerTableDetailsPanelFactory as bV, registerExplorerDefaultCellRenderers as bW, registerCohortBuilderDefaultPreviewRenderers as bX, QueryExpression as bY, QueryExpressionSection as bZ, TabbedCohortBuilder as b_, compareKeysDescending as ba, useClearFilters$1 as bb, useExtractEnumFilterValues as bc, useExtractRangeFilterValues as bd, DEFAULT_VISIBLE_ITEMS$2 as be, DEFAULT_MINIMUM as bf, DEFAULT_MAXIMUM as bg, BAD_DATA_MESSAGE as bh, DAYS_IN_YEAR as bi, AccordionPanel as bj, DropdownPanel as bk, TabbedPanel as bl, ProtectedContent as bm, ProtectedContentUI as bn, Footer as bo, Gen3Link as bp, Header$1 as bq, HoverLink as br, NavigationBar as bs, NavigationButton as bt, NavPageLayout as bu, Banner as bv, isHeaderMetadata as bw, IconButton as bx, DiscoveryIndexPanel as by, TagCloud as bz, DropdownWithIcon as c, useGuppyActionButton as c0, CohortDropdownActionButton as c1, ExplorerTable as c2, DownloadsPanel as c3, QueryExpressionContext as c4, TableXPositionContext as c5, Repository as c6, GqlQueryEditor as c7, Workspace as c8, AnalysisCenter as c9, getHighResolutionTimestamp as cA, MinutesToMilliseconds as cB, accessibleFieldName as cC, AccessLevel as cD, itemsInCart as cE, validateObjectHasRequiredFields as cF, GqlQueryEditor$1 as cG, AnalysisCenterWithSections as ca, StaticNotebookIFrame as cb, Profile as cc, create10ColorPallet as cd, create10ColorAccessibleContrast as ce, getCurrentUnixTimestamp as cf, unixTimeToString as cg, convertPathsToTree as ch, resourcePathFromProjectID as ci, userHasMethodForServiceOnResource$1 as cj, focusStyles as ck, stripTrailingSlash as cl, SPECIAL_CASE_FIELDS as cm, toDisplayName as cn, toCountsString as co, isArrayOfString as cp, isTextTransform$1 as cq, isPropertyKey as cr, hasOwnProperty as cs, getParamsValueAsString as ct, extractObjectKey as cu, convertMinutesToMilliseconds as cv, convertSecondsToMilliseconds as cw, getFormattedTimestamp as cx, isTimeGreaterThan as cy, measureExecutionTime as cz, Gen3ButtonReverse as d, CountsValue as e, DiscoveryPage as f, DiscoveryPageGetServerSideProps as g, QueryPageGetServerSideProps as h, LandingPageGetServerSideProps as i, ColorThemePage as j, ColorThemePageGetServerSideProps as k, DictionaryPage as l, DictionaryPageGetServerSideProps as m, ExplorerPage as n, ExplorerPageGetServerSideProps as o, ExplorerPageGetServerSidePropsForConfigId as p, ProfilePageGetServerSideProps as q, LoginPage as r, LoginPageGetServerSideProps as s, TailwindConfig as t, Gen3Provider as u, getNavPageLayoutPropsFromConfig as v, AuthzPage as w, AdminAuthZPageGetServerSideProps as x, WorkspacePageGetServerSideProps as y, WorkspaceNoAccessPage as z };
|
|
30184
|
-
//# sourceMappingURL=index-
|
|
30221
|
+
//# sourceMappingURL=index-BzX6R_rC.js.map
|