@gen3/frontend 0.10.84 → 0.10.86
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 +269 -89
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCard.d.ts +5 -0
- package/dist/dts/features/Analysis/AnalysisCard.d.ts.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCard.js +14 -0
- package/dist/dts/features/Analysis/AnalysisCard.js.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts +6 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.js +12 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.js.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +32 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.js +23 -0
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.js.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCardEditor.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenter.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenter.js +3 -10
- package/dist/dts/features/Analysis/AnalysisCenter.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.d.ts +22 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.d.ts.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.js +53 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.js.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts +13 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts.map +1 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js +113 -0
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js.map +1 -0
- package/dist/dts/features/Analysis/TextDescription.d.ts.map +1 -1
- package/dist/dts/features/Analysis/TextDescription.js +16 -2
- package/dist/dts/features/Analysis/TextDescription.js.map +1 -1
- package/dist/dts/features/Analysis/index.d.ts +3 -1
- package/dist/dts/features/Analysis/index.d.ts.map +1 -1
- package/dist/dts/features/Analysis/index.js +2 -1
- package/dist/dts/features/Analysis/index.js.map +1 -1
- package/dist/dts/features/Analysis/types.d.ts +15 -2
- package/dist/dts/features/Analysis/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/types.js +20 -1
- package/dist/dts/features/Analysis/types.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 +1 -1
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/pages/Analysis/Analysis.d.ts +1 -1
- package/dist/dts/pages/Analysis/Analysis.d.ts.map +1 -1
- package/dist/dts/pages/Analysis/Analysis.js +7 -4
- package/dist/dts/pages/Analysis/Analysis.js.map +1 -1
- package/dist/dts/pages/Analysis/data.d.ts.map +1 -1
- package/dist/dts/pages/Analysis/data.js +2 -2
- package/dist/dts/pages/Analysis/data.js.map +1 -1
- package/dist/dts/pages/Analysis/index.d.ts +1 -0
- package/dist/dts/pages/Analysis/index.d.ts.map +1 -1
- package/dist/dts/pages/Analysis/index.js.map +1 -1
- package/dist/dts/pages/Analysis/types.d.ts +4 -2
- package/dist/dts/pages/Analysis/types.d.ts.map +1 -1
- package/dist/esm/index.js +269 -90
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +39 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1055,7 +1055,7 @@ interface WorkspaceProps {
|
|
|
1055
1055
|
declare const Workspace: ({ config }: WorkspaceProps) => react_jsx_runtime.JSX.Element;
|
|
1056
1056
|
//# sourceMappingURL=Workspace.d.ts.map
|
|
1057
1057
|
|
|
1058
|
-
interface
|
|
1058
|
+
interface AnalysisToolConfiguration {
|
|
1059
1059
|
title: string;
|
|
1060
1060
|
image?: string;
|
|
1061
1061
|
icon: string | ReactElement;
|
|
@@ -1064,15 +1064,47 @@ interface AnalysisToolConfig {
|
|
|
1064
1064
|
hasDemo?: boolean;
|
|
1065
1065
|
loginRequired: boolean;
|
|
1066
1066
|
href: string;
|
|
1067
|
+
count?: number;
|
|
1068
|
+
countUnits?: string;
|
|
1069
|
+
cardType?: 'regular' | 'compact';
|
|
1067
1070
|
}
|
|
1068
1071
|
interface AnalysisCenterConfiguration {
|
|
1069
|
-
tools: Array<
|
|
1072
|
+
tools: Array<AnalysisToolConfiguration>;
|
|
1070
1073
|
showFilterAndSort?: boolean;
|
|
1071
1074
|
}
|
|
1075
|
+
interface AnalysisCenterSection {
|
|
1076
|
+
label: string;
|
|
1077
|
+
classNames?: Record<string, string>;
|
|
1078
|
+
tools: Array<AnalysisToolConfiguration>;
|
|
1079
|
+
}
|
|
1080
|
+
interface AnalysisCenterWithSectionsConfiguration {
|
|
1081
|
+
sections: Array<AnalysisCenterSection>;
|
|
1082
|
+
classNames?: Record<string, string>;
|
|
1083
|
+
}
|
|
1072
1084
|
|
|
1073
1085
|
declare const AnalysisCenter: ({ tools, showFilterAndSort, }: AnalysisCenterConfiguration) => ReactElement;
|
|
1074
1086
|
//# sourceMappingURL=AnalysisCenter.d.ts.map
|
|
1075
1087
|
|
|
1088
|
+
/**
|
|
1089
|
+
* AnalysisPanelWithSections component.
|
|
1090
|
+
*
|
|
1091
|
+
* This React functional component renders a panel that organizes tools into sections. Each section
|
|
1092
|
+
* includes a title, a divider, and a grid of tool cards. The component supports customizable styling
|
|
1093
|
+
* for global and section-specific classNames.
|
|
1094
|
+
*
|
|
1095
|
+
* @type {React.FC<AnalysisCenterWithSectionsConfiguration>}
|
|
1096
|
+
*
|
|
1097
|
+
* @param {Object} props - The component properties.
|
|
1098
|
+
* @param {Array} props.sections - The array of sections to display in the panel. Each section includes
|
|
1099
|
+
* a label, an optional classNames object for custom styling, and an array of tools.
|
|
1100
|
+
* @param {Object} [props.classNames] - An optional object of global classNames used for styling
|
|
1101
|
+
* components within the panel. These can be overridden on a per-section basis.
|
|
1102
|
+
*
|
|
1103
|
+
* @returns {ReactElement} A React element that renders the analysis panel with sections.
|
|
1104
|
+
*/
|
|
1105
|
+
declare const AnalysisCenterWithSections: React__default.FC<AnalysisCenterWithSectionsConfiguration>;
|
|
1106
|
+
//# sourceMappingURL=AnalysisCenterWithSections.d.ts.map
|
|
1107
|
+
|
|
1076
1108
|
declare const create10ColorPallet: (mainColor: string) => Record<string, string>;
|
|
1077
1109
|
declare const create10ColorAccessibleContrast: (pallet: Record<string, string>) => Record<string, string>;
|
|
1078
1110
|
|
|
@@ -1507,10 +1539,12 @@ declare const WorkspacePageGetServerSideProps: GetServerSideProps<WorkspacePageL
|
|
|
1507
1539
|
declare const WorkspaceNoAccessPageServerSideProps: GetServerSideProps<NavPageLayoutProps>;
|
|
1508
1540
|
|
|
1509
1541
|
interface AnalysisPageLayoutProps extends NavPageLayoutProps {
|
|
1510
|
-
tools
|
|
1542
|
+
tools?: Array<AnalysisToolConfiguration>;
|
|
1543
|
+
sections?: Array<AnalysisCenterSection>;
|
|
1544
|
+
classNames?: Record<string, string>;
|
|
1511
1545
|
}
|
|
1512
1546
|
|
|
1513
|
-
declare const AnalysisPage: ({ headerProps, footerProps, tools, }: AnalysisPageLayoutProps) => JSX.Element;
|
|
1547
|
+
declare const AnalysisPage: ({ headerProps, footerProps, tools, sections, classNames, }: AnalysisPageLayoutProps) => JSX.Element;
|
|
1514
1548
|
//# sourceMappingURL=Analysis.d.ts.map
|
|
1515
1549
|
|
|
1516
1550
|
declare const AnalysisPageGetServerSideProps: GetServerSideProps<AnalysisPageLayoutProps>;
|
|
@@ -1695,4 +1729,4 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
|
|
|
1695
1729
|
|
|
1696
1730
|
declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
|
|
1697
1731
|
|
|
1698
|
-
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, type BannerProps, BaseModal, type CellRenderFunctionProps, type CellRendererFunctionProps, type ChartProps, Charts, CohortBuilder, type CohortBuilderConfiguration, type CohortBuilderProps, type CohortPanelConfig, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, type DiscoveryConfig, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, type ExplorerPageProps, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, type Fonts, Footer, type FooterProps, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, type HeaderProps, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton, type LoginConfig, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, type ModalsConfig, NavPageLayout, type NavPageLayoutProps, NavigationBar, NavigationButton, type NavigationProps, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, type ProfileConfig, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryPage, QueryPageGetServerSideProps, ReactECharts, type ReactEChartsProps, type RegisteredIcons, ResourcesFilters, type RowRenderFunctionParams, SPECIAL_CASE_FIELDS, type SessionConfiguration, SessionExpiredModal, type StudyDetailsField, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, type SummaryChart, type TableDetailsPanelProps, TagCloud, type TagData, type TagsConfig, TailwindConfig, type TenStringArray, TopBar, type TopBarProps, UploadJSONButton, User$1 as User, Workspace, type WorkspaceConfig, 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 };
|
|
1732
|
+
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, type AnalysisCenterSection, AnalysisCenterWithSections, type AnalysisCenterWithSectionsConfiguration, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, type AnalysisPageLayoutProps, type AnalysisToolConfiguration, AuthzPage, type BannerProps, BaseModal, type CellRenderFunctionProps, type CellRendererFunctionProps, type ChartProps, Charts, CohortBuilder, type CohortBuilderConfiguration, type CohortBuilderProps, type CohortPanelConfig, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, type DiscoveryConfig, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, type ExplorerPageProps, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, type Fonts, Footer, type FooterProps, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, type HeaderProps, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton, type LoginConfig, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, type ModalsConfig, NavPageLayout, type NavPageLayoutProps, NavigationBar, NavigationButton, type NavigationProps, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, type ProfileConfig, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryPage, QueryPageGetServerSideProps, ReactECharts, type ReactEChartsProps, type RegisteredIcons, ResourcesFilters, type RowRenderFunctionParams, SPECIAL_CASE_FIELDS, type SessionConfiguration, SessionExpiredModal, type StudyDetailsField, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, type SummaryChart, type TableDetailsPanelProps, TagCloud, type TagData, type TagsConfig, TailwindConfig, type TenStringArray, TopBar, type TopBarProps, UploadJSONButton, User$1 as User, Workspace, type WorkspaceConfig, 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 };
|