@gen3/frontend 0.10.88 → 0.10.91
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 +754 -220
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Profile/CredentialsTable.d.ts.map +1 -1
- package/dist/dts/components/Profile/CredentialsTable.js +2 -1
- package/dist/dts/components/Profile/CredentialsTable.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/components/Providers/Gen3Provider.js +6 -8
- package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.d.ts.map +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.js +0 -1
- package/dist/dts/components/Providers/ResourceMonitor.js.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 +4 -2
- 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/{Provider.d.ts → AuthzAdminProvider.d.ts} +2 -2
- package/dist/dts/features/Authz/AuthzAdminProvider.d.ts.map +1 -0
- package/dist/dts/features/Authz/{Provider.js → AuthzAdminProvider.js} +2 -2
- package/dist/dts/features/Authz/AuthzAdminProvider.js.map +1 -0
- package/dist/dts/features/Authz/Gen3Authz.js +2 -2
- package/dist/dts/features/Authz/Gen3Authz.js.map +1 -1
- package/dist/dts/features/Authz/Policies/PoliciesTable.d.ts.map +1 -1
- package/dist/dts/features/Authz/Policies/PoliciesTable.js +3 -3
- package/dist/dts/features/Authz/Policies/PoliciesTable.js.map +1 -1
- package/dist/dts/features/Authz/Resources/ResourcesTable.d.ts.map +1 -1
- package/dist/dts/features/Authz/Resources/ResourcesTable.js +2 -2
- package/dist/dts/features/Authz/Resources/ResourcesTable.js.map +1 -1
- package/dist/dts/features/Authz/Roles/RolesTable.js +1 -1
- package/dist/dts/features/Authz/Roles/RolesTable.js.map +1 -1
- package/dist/dts/features/Authz/Users/NewUserPanel.js +1 -1
- package/dist/dts/features/Authz/Users/NewUserPanel.js.map +1 -1
- package/dist/dts/features/Authz/Users/UserTable.js +1 -1
- package/dist/dts/features/Authz/Users/UserTable.js.map +1 -1
- package/dist/dts/features/Authz/index.d.ts +2 -2
- package/dist/dts/features/Authz/index.d.ts.map +1 -1
- package/dist/dts/features/Authz/index.js +2 -2
- package/dist/dts/features/Authz/index.js.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/CohortDiscovery/CohortDiscovery.js +2 -2
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
- package/dist/dts/features/DataLibrary/DataLibraryLists.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DataLibraryLists.js +32 -19
- package/dist/dts/features/DataLibrary/DataLibraryLists.js.map +1 -1
- package/dist/dts/features/DataLibrary/DatalistAccordionItem.d.ts +3 -4
- package/dist/dts/features/DataLibrary/DatalistAccordionItem.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatalistAccordionItem.js +11 -9
- package/dist/dts/features/DataLibrary/DatalistAccordionItem.js.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.js +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.js.map +1 -1
- package/dist/dts/features/DataLibrary/QueryDetails.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/QueryDetails.js +6 -2
- package/dist/dts/features/DataLibrary/QueryDetails.js.map +1 -1
- package/dist/dts/features/DataLibrary/SearchAndActions.d.ts +4 -2
- package/dist/dts/features/DataLibrary/SearchAndActions.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/SearchAndActions.js +4 -3
- package/dist/dts/features/DataLibrary/SearchAndActions.js.map +1 -1
- package/dist/dts/features/DataLibrary/selection/exportActions.d.ts +1 -1
- package/dist/dts/features/DataLibrary/selection/exportActions.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/exportActions.js +1 -1
- package/dist/dts/features/DataLibrary/selection/exportActions.js.map +1 -1
- package/dist/dts/features/DataLibrary/selection/registeredActions.d.ts +1 -4
- package/dist/dts/features/DataLibrary/selection/registeredActions.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/registeredActions.js.map +1 -1
- package/dist/dts/features/DataLibrary/selection/selection.d.ts +3 -3
- package/dist/dts/features/DataLibrary/selection/selection.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/selection.js +2 -2
- package/dist/dts/features/DataLibrary/selection/selection.js.map +1 -1
- package/dist/dts/features/DataLibrary/selection/types.d.ts +4 -2
- package/dist/dts/features/DataLibrary/selection/types.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/utils.js +3 -3
- package/dist/dts/features/DataLibrary/selection/utils.js.map +1 -1
- 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/DataLibrary/tables/DatasetContentsTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/DatasetContentsTable.js +2 -2
- package/dist/dts/features/DataLibrary/tables/DatasetContentsTable.js.map +1 -1
- package/dist/dts/features/DataLibrary/types.d.ts +1 -0
- package/dist/dts/features/DataLibrary/types.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/types.js.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/ActionBar.d.ts +5 -4
- package/dist/dts/features/Discovery/ActionBar/ActionBar.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/ActionBar.js +16 -10
- package/dist/dts/features/Discovery/ActionBar/ActionBar.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 +166 -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.d.ts +1 -1
- package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.js +3 -3
- 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/DownloadAsZipButton.d.ts +2 -2
- package/dist/dts/features/Discovery/ActionBar/DownloadAsZipButton.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/DownloadAsZipButton.js +2 -2
- package/dist/dts/features/Discovery/ActionBar/DownloadAsZipButton.js.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.d.ts +2 -2
- package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.js +58 -9
- package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.js.map +1 -1
- 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/features/Discovery/ActionBar/types.d.ts +10 -2
- package/dist/dts/features/Discovery/ActionBar/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js +3 -1
- package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js +6 -2
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.d.ts +2 -2
- package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.js +87 -41
- package/dist/dts/features/Discovery/DataLoaders/utils.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts +13 -0
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +38 -14
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.d.ts +2 -1
- package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.js +18 -6
- package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
- package/dist/dts/features/Discovery/StudyPage/DownloadLinksPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyPage/DownloadLinksPanel.js +2 -1
- package/dist/dts/features/Discovery/StudyPage/DownloadLinksPanel.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRendererFactory.js +2 -2
- package/dist/dts/features/Discovery/TableRenderers/CellRendererFactory.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts +2 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts +2 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +30 -11
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/types.d.ts +2 -1
- package/dist/dts/features/Discovery/TableRenderers/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/constants.d.ts +2 -0
- package/dist/dts/features/Discovery/constants.d.ts.map +1 -0
- package/dist/dts/features/Discovery/constants.js +2 -0
- package/dist/dts/features/Discovery/constants.js.map +1 -0
- package/dist/dts/features/Discovery/index.d.ts +2 -1
- package/dist/dts/features/Discovery/index.d.ts.map +1 -1
- package/dist/dts/features/Discovery/index.js +2 -1
- package/dist/dts/features/Discovery/index.js.map +1 -1
- package/dist/dts/features/Discovery/types.d.ts +12 -15
- package/dist/dts/features/Discovery/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/types.js +2 -1
- package/dist/dts/features/Discovery/types.js.map +1 -1
- package/dist/dts/features/Discovery/utils.d.ts +8 -2
- package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/utils.js +37 -4
- package/dist/dts/features/Discovery/utils.js.map +1 -1
- package/dist/dts/features/Navigation/TopBar/TopBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar/TopBar.js +1 -1
- package/dist/dts/features/Navigation/TopBar/TopBar.js.map +1 -1
- package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.js +1 -1
- package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.js.map +1 -1
- 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/lib/session/session.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js +2 -1
- package/dist/dts/lib/session/session.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 +4 -4
- 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/dts/utils/authMapping.d.ts +2 -2
- package/dist/dts/utils/authMapping.d.ts.map +1 -1
- package/dist/dts/utils/authMapping.js.map +1 -1
- package/dist/esm/index.js +756 -223
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +49 -21
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dts/features/Authz/Provider.d.ts.map +0 -1
- package/dist/dts/features/Authz/Provider.js.map +0 -1
- package/dist/dts/features/Discovery/utils/processDataAccess.d.ts +0 -3
- package/dist/dts/features/Discovery/utils/processDataAccess.d.ts.map +0 -1
- package/dist/dts/features/Discovery/utils/processDataAccess.js +0 -73
- package/dist/dts/features/Discovery/utils/processDataAccess.js.map +0 -1
- 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
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactNode, CSSProperties, ReactElement, PropsWithChildren, RefObject } from 'react';
|
|
4
|
-
import { HistogramDataArray, AggregationsData, EnumFilterValue, JSONObject, SharedFieldMapping, FacetDefinition, CohortItem, FileItem } from '@gen3/core';
|
|
4
|
+
import { HistogramDataArray, AggregationsData, EnumFilterValue, ExportDatasetFields, JSONObject, SharedFieldMapping, FacetDefinition, ServiceAndMethod, CohortItem, FileItem } from '@gen3/core';
|
|
5
5
|
import { EChartsOption, SetOptionOpts } from 'echarts';
|
|
6
6
|
import * as _mantine_core from '@mantine/core';
|
|
7
7
|
import { ButtonProps, BoxProps, TitleOrder } from '@mantine/core';
|
|
8
8
|
import { MRT_RowData, MRT_Cell, MRT_Row, MRT_Column, MRT_TableInstance } from 'mantine-react-table';
|
|
9
9
|
import * as tailwind_styled_components_dist_tailwind from 'tailwind-styled-components/dist/tailwind';
|
|
10
10
|
import * as type_fest_source_partial_deep from 'type-fest/source/partial-deep';
|
|
11
|
-
import { GetServerSideProps,
|
|
11
|
+
import { GetServerSideProps, NextPage, GetStaticProps, NextApiRequest, NextApiResponse } from 'next';
|
|
12
12
|
import { IconType } from 'react-icons';
|
|
13
13
|
|
|
14
14
|
declare const User$1: () => react_jsx_runtime.JSX.Element;
|
|
@@ -623,13 +623,13 @@ interface DiscoveryPageTitle {
|
|
|
623
623
|
enabled: boolean;
|
|
624
624
|
text: string;
|
|
625
625
|
}
|
|
626
|
-
interface
|
|
627
|
-
type: 'manifest' | 'zip' | 'download' | 'link' | 'externalLink' | '
|
|
626
|
+
interface ExportFromDiscoveryActionButton {
|
|
627
|
+
type: 'manifest' | 'zip' | 'download' | 'link' | 'externalLink' | 'addToDataLibrary';
|
|
628
628
|
label?: string;
|
|
629
629
|
icon?: string;
|
|
630
630
|
requiresLogin?: boolean;
|
|
631
631
|
tooltip?: string;
|
|
632
|
-
|
|
632
|
+
disabled?: boolean;
|
|
633
633
|
}
|
|
634
634
|
interface SearchBar {
|
|
635
635
|
enabled: boolean;
|
|
@@ -649,16 +649,16 @@ interface AuthorizationValues {
|
|
|
649
649
|
enabled: boolean;
|
|
650
650
|
menuText: string;
|
|
651
651
|
}
|
|
652
|
-
interface
|
|
653
|
-
buttons:
|
|
652
|
+
interface ExportFromDiscoveryActions {
|
|
653
|
+
buttons: ExportFromDiscoveryActionButton[];
|
|
654
654
|
enabled?: boolean;
|
|
655
655
|
verifyExternalLogins?: boolean;
|
|
656
|
-
|
|
657
|
-
manifestFieldName?: string;
|
|
656
|
+
exportDataFields: ExportDatasetFields;
|
|
658
657
|
}
|
|
659
658
|
interface DataAuthorization {
|
|
660
659
|
columnTooltip?: string;
|
|
661
660
|
supportedValues?: Record<string, AuthorizationValues>;
|
|
661
|
+
isMesh?: boolean;
|
|
662
662
|
enabled?: boolean;
|
|
663
663
|
}
|
|
664
664
|
interface DataLoader {
|
|
@@ -690,7 +690,7 @@ interface DiscoveryIndexConfig {
|
|
|
690
690
|
advSearchFilters?: AdvancedSearchFilters;
|
|
691
691
|
aiSearch?: boolean;
|
|
692
692
|
pageTitle: DiscoveryPageTitle;
|
|
693
|
-
|
|
693
|
+
exportFromDiscovery?: ExportFromDiscoveryActions;
|
|
694
694
|
search?: SearchConfig;
|
|
695
695
|
authorization: DataAuthorization;
|
|
696
696
|
dataLoader?: DataLoader;
|
|
@@ -708,15 +708,24 @@ interface DiscoveryIndexConfig {
|
|
|
708
708
|
interface DiscoveryConfig {
|
|
709
709
|
metadataConfig: Array<DiscoveryIndexConfig>;
|
|
710
710
|
}
|
|
711
|
-
interface UserAuthMapping {
|
|
712
|
-
service: string;
|
|
713
|
-
method: string;
|
|
714
|
-
}
|
|
715
711
|
|
|
716
712
|
interface DiscoveryIndexPanelProps {
|
|
717
713
|
discoveryConfig: DiscoveryIndexConfig;
|
|
718
714
|
indexSelector: ReactNode | null;
|
|
719
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* DiscoveryIndexPanel is a React functional component that renders a discovery panel interface.
|
|
718
|
+
* It includes features such as search, sorting, filtering, charts, export functionality, and a discovery table.
|
|
719
|
+
* The component uses hooks for handling state, API data loading, and interface interactions.
|
|
720
|
+
*
|
|
721
|
+
* @param {Object} props - The properties object passed to the component.
|
|
722
|
+
* @param {Object} props.discoveryConfig - Configuration object for setting up the discovery panel.
|
|
723
|
+
* @param {Object} props.discoveryConfig.features - Defines enabled features (e.g., search, charts, export).
|
|
724
|
+
* @param {Object} props.discoveryConfig.minimalFieldMapping - Field mapping configuration, such as `uid`.
|
|
725
|
+
* @param {JSX.Element} props.indexSelector - React component for selecting an index in the discovery panel.
|
|
726
|
+
*
|
|
727
|
+
* @return {JSX.Element} A fully featured discovery interface including search functionality, a table, charts, filters, and more.
|
|
728
|
+
*/
|
|
720
729
|
declare const DiscoveryIndexPanel: ({ discoveryConfig, indexSelector, }: DiscoveryIndexPanelProps) => react_jsx_runtime.JSX.Element;
|
|
721
730
|
|
|
722
731
|
declare const TagCloud: () => react_jsx_runtime.JSX.Element;
|
|
@@ -725,6 +734,7 @@ declare const TagCloud: () => react_jsx_runtime.JSX.Element;
|
|
|
725
734
|
interface CellRenderFunctionProps<T = any, C extends MRT_RowData = JSONObject> {
|
|
726
735
|
value: T;
|
|
727
736
|
cell?: MRT_Cell<C>;
|
|
737
|
+
row?: MRT_Row<C>;
|
|
728
738
|
}
|
|
729
739
|
/**
|
|
730
740
|
* A Cell Renderer Function is a function that takes a value and returns a ReactElement
|
|
@@ -753,6 +763,12 @@ declare class DiscoveryCellRendererFactory {
|
|
|
753
763
|
static registerCellRendererCatalog(catalog: Record<string, CellRendererFunctionCatalogEntry>): void;
|
|
754
764
|
}
|
|
755
765
|
|
|
766
|
+
interface ActionBarProps extends ExportFromDiscoveryActions {
|
|
767
|
+
selectedResources: any[];
|
|
768
|
+
}
|
|
769
|
+
declare const ActionBar: React__default.FC<ActionBarProps>;
|
|
770
|
+
//# sourceMappingURL=ActionBar.d.ts.map
|
|
771
|
+
|
|
756
772
|
interface AiSearchProps {
|
|
757
773
|
placeholder?: string;
|
|
758
774
|
uidForStorage?: string;
|
|
@@ -803,7 +819,7 @@ interface TagInfo {
|
|
|
803
819
|
display: boolean;
|
|
804
820
|
label: string;
|
|
805
821
|
}
|
|
806
|
-
declare const getTagInfo: (tagData: TagData, tagsConfig
|
|
822
|
+
declare const getTagInfo: (tagData: TagData, tagsConfig?: TagsConfig) => TagInfo;
|
|
807
823
|
|
|
808
824
|
declare const registerDefaultDiscoveryDataLoaders: () => void;
|
|
809
825
|
|
|
@@ -1073,6 +1089,7 @@ interface AnalysisToolConfiguration {
|
|
|
1073
1089
|
count?: number;
|
|
1074
1090
|
countUnits?: string;
|
|
1075
1091
|
cardType?: 'regular' | 'compact';
|
|
1092
|
+
btnText?: string;
|
|
1076
1093
|
}
|
|
1077
1094
|
interface AnalysisCenterConfiguration {
|
|
1078
1095
|
tools: Array<AnalysisToolConfiguration>;
|
|
@@ -1154,7 +1171,7 @@ declare const convertSecondsToMilliseconds: (seconds: number) => number;
|
|
|
1154
1171
|
declare const MinutesToMilliseconds: (minutes: number) => number;
|
|
1155
1172
|
|
|
1156
1173
|
declare const resourcePathFromProjectID: (projectID: string) => string;
|
|
1157
|
-
declare const userHasMethodForServiceOnResource: (method: string, service: string, resourcePath: string, userAuthMapping?: Record<string, Array<
|
|
1174
|
+
declare const userHasMethodForServiceOnResource: (method: string, service: string, resourcePath: string, userAuthMapping?: Record<string, Array<ServiceAndMethod>>) => boolean;
|
|
1158
1175
|
|
|
1159
1176
|
declare const focusStyles = "focus-visible:outline-none focus-visible:ring-offset-2 focus:ring-offset-white rounded-md focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-focusColor";
|
|
1160
1177
|
|
|
@@ -1218,8 +1235,14 @@ declare class ContentDatabase {
|
|
|
1218
1235
|
getAll<T extends Record<string, any>>(filepath: string, filter: string): Promise<Array<T>>;
|
|
1219
1236
|
}
|
|
1220
1237
|
|
|
1221
|
-
declare
|
|
1222
|
-
|
|
1238
|
+
declare class ContentSource {
|
|
1239
|
+
private static instance;
|
|
1240
|
+
private contentDatabase;
|
|
1241
|
+
private constructor();
|
|
1242
|
+
static getInstance(): ContentSource;
|
|
1243
|
+
getContentDatabase(): ContentDatabase;
|
|
1244
|
+
}
|
|
1245
|
+
declare const _default: ContentSource;
|
|
1223
1246
|
|
|
1224
1247
|
interface SessionConfiguration {
|
|
1225
1248
|
/**
|
|
@@ -1324,7 +1347,10 @@ interface Gen3ProviderProps {
|
|
|
1324
1347
|
modalsConfig: ModalsConfig;
|
|
1325
1348
|
children?: ReactNode | undefined;
|
|
1326
1349
|
}
|
|
1327
|
-
declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStringArray>) => type_fest_source_partial_deep.PartialObjectDeep<_mantine_core.MantineTheme, {
|
|
1350
|
+
declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStringArray>) => type_fest_source_partial_deep.PartialObjectDeep<_mantine_core.MantineTheme, {
|
|
1351
|
+
recurseIntoArrays: false;
|
|
1352
|
+
allowUndefinedInNonTupleArrays: true;
|
|
1353
|
+
}>;
|
|
1328
1354
|
/**
|
|
1329
1355
|
* Gen3Provider wraps around the entire app and provides general configurations
|
|
1330
1356
|
* for the whole website like color scheme, icons, fonts, and sessionConfigs like
|
|
@@ -1403,7 +1429,7 @@ interface Props$3 extends NavPageLayoutProps {
|
|
|
1403
1429
|
declare const LandingPage: ({ headerProps, footerProps, landingPage }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
1404
1430
|
//# sourceMappingURL=Landing.d.ts.map
|
|
1405
1431
|
|
|
1406
|
-
declare const
|
|
1432
|
+
declare const LandingPageGetServerSideProps: GetServerSideProps;
|
|
1407
1433
|
|
|
1408
1434
|
type ExplorerPageProps = NavPageLayoutProps & CohortBuilderProps;
|
|
1409
1435
|
|
|
@@ -1622,6 +1648,7 @@ interface TableColumnsConfig {
|
|
|
1622
1648
|
}
|
|
1623
1649
|
interface DataLibraryConfig {
|
|
1624
1650
|
useAPI: boolean;
|
|
1651
|
+
requiresLogin?: boolean;
|
|
1625
1652
|
size?: string;
|
|
1626
1653
|
actions: DataLibraryActionsConfig;
|
|
1627
1654
|
fileTable?: {
|
|
@@ -1735,4 +1762,5 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
|
|
|
1735
1762
|
|
|
1736
1763
|
declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
|
|
1737
1764
|
|
|
1738
|
-
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter,
|
|
1765
|
+
export { AISearchPageGetServerSideProps, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default 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, Header, HoverLink, LandingPage, LandingPageGetServerSideProps, 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$1 as User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, capitalize, computeRowSpan, convertMinutesToMilliseconds, convertSecondsToMilliseconds, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$1 as credentialsLogin, export_default as credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform, processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeKey, resourcePathFromProjectID, export_default$2 as sessionLogout, export_default$3 as sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource };
|
|
1766
|
+
export type { AnalysisCenterSection, AnalysisCenterWithSectionsConfiguration, AnalysisPageLayoutProps, AnalysisToolConfiguration, BannerProps, CellRenderFunctionProps, CellRendererFunctionProps, ChartProps, CohortBuilderConfiguration, CohortBuilderProps, CohortPanelConfig, DiscoveryConfig, ExplorerPageProps, Fonts, FooterProps, HeaderProps, LoginConfig, ModalsConfig, NavPageLayoutProps, NavigationProps, ProfileConfig, ReactEChartsProps, RegisteredIcons, RowRenderFunctionParams, SessionConfiguration, StudyDetailsField, SummaryChart, TableDetailsPanelProps, TagData, TagsConfig, TenStringArray, TopBarProps, WorkspaceConfig };
|