@gen3/frontend 0.10.83 → 0.10.85
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 +395 -177
- 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/features/Navigation/ActionMenu.d.ts +2 -2
- package/dist/dts/features/Navigation/ActionMenu.d.ts.map +1 -1
- package/dist/dts/features/Navigation/ActionMenu.js.map +1 -1
- package/dist/dts/features/Navigation/Header.js +1 -1
- package/dist/dts/features/Navigation/Header.js.map +1 -1
- package/dist/dts/features/Navigation/HorizontalClean/HorizontalNavigationBar.d.ts +1 -1
- package/dist/dts/features/Navigation/HorizontalClean/HorizontalNavigationBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar/AccountButton.d.ts +5 -0
- package/dist/dts/features/Navigation/TopBar/AccountButton.d.ts.map +1 -0
- package/dist/dts/features/Navigation/TopBar/AccountButton.js +78 -0
- package/dist/dts/features/Navigation/TopBar/AccountButton.js.map +1 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.d.ts +11 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.d.ts.map +1 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.js +23 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.js.map +1 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.stories.d.ts +35 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.stories.d.ts.map +1 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.stories.js +40 -0
- package/dist/dts/features/Navigation/TopBar/IconButton.stories.js.map +1 -0
- package/dist/dts/features/Navigation/TopBar/LoginButton.d.ts +10 -0
- package/dist/dts/features/Navigation/TopBar/LoginButton.d.ts.map +1 -0
- package/dist/dts/features/Navigation/TopBar/LoginButton.js +80 -0
- package/dist/dts/features/Navigation/TopBar/LoginButton.js.map +1 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.d.ts +13 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.d.ts.map +1 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.js +39 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.js.map +1 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.stories.d.ts +14 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.stories.d.ts.map +1 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.stories.js +44 -0
- package/dist/dts/features/Navigation/TopBar/TopBar.stories.js.map +1 -0
- package/dist/dts/features/Navigation/Vertical/VerticalTopBar.d.ts +1 -1
- package/dist/dts/features/Navigation/Vertical/VerticalTopBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/index.d.ts +1 -1
- package/dist/dts/features/Navigation/index.d.ts.map +1 -1
- package/dist/dts/features/Navigation/types.d.ts +8 -1
- package/dist/dts/features/Navigation/types.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -1
- 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/types.d.ts +4 -2
- package/dist/dts/pages/Analysis/types.d.ts.map +1 -1
- package/dist/esm/index.js +394 -177
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +54 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -374,20 +374,17 @@ interface Gen3LinkProps extends ClassProps$1 {
|
|
|
374
374
|
declare const Gen3Link: ({ className, href, linkType, text, showExternalIcon, }: PropsWithChildren<Gen3LinkProps>) => react_jsx_runtime.JSX.Element;
|
|
375
375
|
//# sourceMappingURL=Gen3Link.d.ts.map
|
|
376
376
|
|
|
377
|
-
interface NameAndIcon {
|
|
378
|
-
readonly name: string;
|
|
379
|
-
readonly iconSize?: string;
|
|
380
|
-
readonly rightIcon?: string;
|
|
381
|
-
readonly leftIcon?: string;
|
|
382
|
-
readonly classNames?: StylingOverrideWithMergeControl;
|
|
383
|
-
readonly drawBorder?: boolean;
|
|
384
|
-
}
|
|
385
377
|
interface TopIconButtonProps extends NameAndIcon {
|
|
386
|
-
|
|
387
|
-
|
|
378
|
+
tooltip?: string;
|
|
379
|
+
clickHandler?: () => void;
|
|
380
|
+
ariaLabel?: string;
|
|
381
|
+
}
|
|
382
|
+
interface TopIconButtonPropsWithLink extends TopIconButtonProps {
|
|
383
|
+
href: string;
|
|
388
384
|
}
|
|
385
|
+
|
|
389
386
|
interface TopBarProps {
|
|
390
|
-
readonly items:
|
|
387
|
+
readonly items: TopIconButtonPropsWithLink[];
|
|
391
388
|
readonly loginButtonVisibility?: LoginButtonVisibility;
|
|
392
389
|
readonly externalLoginUrl?: string;
|
|
393
390
|
readonly classNames?: StylingOverrideWithMergeControl;
|
|
@@ -450,6 +447,13 @@ interface HeaderProps {
|
|
|
450
447
|
interface MainContentProps {
|
|
451
448
|
fixed: boolean;
|
|
452
449
|
}
|
|
450
|
+
interface NameAndIcon {
|
|
451
|
+
readonly name?: string;
|
|
452
|
+
readonly iconSize?: string;
|
|
453
|
+
readonly rightIcon?: string;
|
|
454
|
+
readonly leftIcon?: string;
|
|
455
|
+
readonly classNames?: StylingOverrideWithMergeControl;
|
|
456
|
+
}
|
|
453
457
|
|
|
454
458
|
/**
|
|
455
459
|
* Header component.
|
|
@@ -1051,7 +1055,7 @@ interface WorkspaceProps {
|
|
|
1051
1055
|
declare const Workspace: ({ config }: WorkspaceProps) => react_jsx_runtime.JSX.Element;
|
|
1052
1056
|
//# sourceMappingURL=Workspace.d.ts.map
|
|
1053
1057
|
|
|
1054
|
-
interface
|
|
1058
|
+
interface AnalysisToolConfiguration {
|
|
1055
1059
|
title: string;
|
|
1056
1060
|
image?: string;
|
|
1057
1061
|
icon: string | ReactElement;
|
|
@@ -1060,15 +1064,47 @@ interface AnalysisToolConfig {
|
|
|
1060
1064
|
hasDemo?: boolean;
|
|
1061
1065
|
loginRequired: boolean;
|
|
1062
1066
|
href: string;
|
|
1067
|
+
count?: number;
|
|
1068
|
+
countUnits?: string;
|
|
1069
|
+
cardType?: 'regular' | 'compact';
|
|
1063
1070
|
}
|
|
1064
1071
|
interface AnalysisCenterConfiguration {
|
|
1065
|
-
tools: Array<
|
|
1072
|
+
tools: Array<AnalysisToolConfiguration>;
|
|
1066
1073
|
showFilterAndSort?: boolean;
|
|
1067
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
|
+
}
|
|
1068
1084
|
|
|
1069
1085
|
declare const AnalysisCenter: ({ tools, showFilterAndSort, }: AnalysisCenterConfiguration) => ReactElement;
|
|
1070
1086
|
//# sourceMappingURL=AnalysisCenter.d.ts.map
|
|
1071
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
|
+
|
|
1072
1108
|
declare const create10ColorPallet: (mainColor: string) => Record<string, string>;
|
|
1073
1109
|
declare const create10ColorAccessibleContrast: (pallet: Record<string, string>) => Record<string, string>;
|
|
1074
1110
|
|
|
@@ -1503,10 +1539,12 @@ declare const WorkspacePageGetServerSideProps: GetServerSideProps<WorkspacePageL
|
|
|
1503
1539
|
declare const WorkspaceNoAccessPageServerSideProps: GetServerSideProps<NavPageLayoutProps>;
|
|
1504
1540
|
|
|
1505
1541
|
interface AnalysisPageLayoutProps extends NavPageLayoutProps {
|
|
1506
|
-
tools
|
|
1542
|
+
tools?: Array<AnalysisToolConfiguration>;
|
|
1543
|
+
sections?: Array<AnalysisCenterSection>;
|
|
1544
|
+
classNames?: Record<string, string>;
|
|
1507
1545
|
}
|
|
1508
1546
|
|
|
1509
|
-
declare const AnalysisPage: ({ headerProps, footerProps, tools, }: AnalysisPageLayoutProps) => JSX.Element;
|
|
1547
|
+
declare const AnalysisPage: ({ headerProps, footerProps, tools, sections, classNames, }: AnalysisPageLayoutProps) => JSX.Element;
|
|
1510
1548
|
//# sourceMappingURL=Analysis.d.ts.map
|
|
1511
1549
|
|
|
1512
1550
|
declare const AnalysisPageGetServerSideProps: GetServerSideProps<AnalysisPageLayoutProps>;
|
|
@@ -1691,4 +1729,4 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
|
|
|
1691
1729
|
|
|
1692
1730
|
declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
|
|
1693
1731
|
|
|
1694
|
-
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 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 };
|