@gen3/frontend 0.10.87 → 0.10.89

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.
Files changed (133) hide show
  1. package/dist/cjs/index.js +76 -59
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Providers/Gen3Provider.d.ts +4 -1
  4. package/dist/dts/components/Providers/Gen3Provider.d.ts.map +1 -1
  5. package/dist/dts/features/Analysis/AnalysisCard.d.ts.map +1 -1
  6. package/dist/dts/features/Analysis/AnalysisCard.js +2 -2
  7. package/dist/dts/features/Analysis/AnalysisCard.js.map +1 -1
  8. package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts.map +1 -1
  9. package/dist/dts/features/Analysis/AnalysisCardCompact.js +2 -2
  10. package/dist/dts/features/Analysis/AnalysisCardCompact.js.map +1 -1
  11. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +8 -6
  12. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -1
  13. package/dist/dts/features/Analysis/AnalysisCenter.d.ts.map +1 -1
  14. package/dist/dts/features/Analysis/AnalysisCenter.js +2 -2
  15. package/dist/dts/features/Analysis/AnalysisCenter.js.map +1 -1
  16. package/dist/dts/features/Analysis/AnalysisCenterWithSections.d.ts.map +1 -1
  17. package/dist/dts/features/Analysis/AnalysisCenterWithSections.js +4 -4
  18. package/dist/dts/features/Analysis/AnalysisCenterWithSections.js.map +1 -1
  19. package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts.map +1 -1
  20. package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js +1 -6
  21. package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js.map +1 -1
  22. package/dist/dts/features/Analysis/TextDescription.js +1 -1
  23. package/dist/dts/features/Analysis/types.d.ts +1 -0
  24. package/dist/dts/features/Analysis/types.d.ts.map +1 -1
  25. package/dist/dts/features/Analysis/types.js.map +1 -1
  26. package/dist/dts/features/Authz/AuthzAdminProvider.d.ts +44 -0
  27. package/dist/dts/features/Authz/AuthzAdminProvider.d.ts.map +1 -0
  28. package/dist/dts/features/Authz/AuthzAdminProvider.js +55 -0
  29. package/dist/dts/features/Authz/AuthzAdminProvider.js.map +1 -0
  30. package/dist/dts/features/CohortBuilder/index.d.ts +2 -1
  31. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  32. package/dist/dts/features/CohortBuilder/index.js +2 -1
  33. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  34. package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.js +1 -1
  35. package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.js.map +1 -1
  36. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.d.ts +4 -0
  37. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.d.ts.map +1 -0
  38. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.js +124 -0
  39. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.js.map +1 -0
  40. package/dist/dts/features/{Navigation/TopBar.stories.d.ts → Discovery/ActionBar/AddToDataLibrary.stories.d.ts} +2 -3
  41. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.d.ts.map +1 -0
  42. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.js +54 -0
  43. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.js.map +1 -0
  44. package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts +13 -0
  45. package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts.map +1 -0
  46. package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.js +15 -0
  47. package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.js.map +1 -0
  48. package/dist/dts/features/Discovery/ActionBar/registeredActions.d.ts +1 -0
  49. package/dist/dts/features/Discovery/ActionBar/registeredActions.d.ts.map +1 -0
  50. package/dist/dts/features/Discovery/ActionBar/registeredActions.js +86 -0
  51. package/dist/dts/features/Discovery/ActionBar/registeredActions.js.map +1 -0
  52. package/dist/dts/index.d.ts +2 -2
  53. package/dist/dts/index.d.ts.map +1 -1
  54. package/dist/dts/index.js +2 -2
  55. package/dist/dts/index.js.map +1 -1
  56. package/dist/dts/lib/common/analysisToolFramework.d.ts +6 -0
  57. package/dist/dts/lib/common/analysisToolFramework.d.ts.map +1 -0
  58. package/dist/dts/lib/common/analysisToolFramework.js +21 -0
  59. package/dist/dts/lib/common/analysisToolFramework.js.map +1 -0
  60. package/dist/dts/lib/common/staticProps.d.ts.map +1 -1
  61. package/dist/dts/lib/common/staticProps.js +4 -4
  62. package/dist/dts/lib/common/staticProps.js.map +1 -1
  63. package/dist/dts/lib/common/types.d.ts +8 -0
  64. package/dist/dts/lib/common/types.d.ts.map +1 -0
  65. package/dist/dts/lib/common/types.js +2 -0
  66. package/dist/dts/lib/common/types.js.map +1 -0
  67. package/dist/dts/lib/content/constants.d.ts.map +1 -1
  68. package/dist/dts/lib/content/constants.js +1 -1
  69. package/dist/dts/lib/content/constants.js.map +1 -1
  70. package/dist/dts/lib/content/filesystem.js +4 -6
  71. package/dist/dts/lib/content/filesystem.js.map +1 -1
  72. package/dist/dts/lib/content/index.d.ts +9 -2
  73. package/dist/dts/lib/content/index.d.ts.map +1 -1
  74. package/dist/dts/lib/content/index.js +26 -7
  75. package/dist/dts/lib/content/index.js.map +1 -1
  76. package/dist/dts/pages/Analysis/data.d.ts.map +1 -1
  77. package/dist/dts/pages/Analysis/data.js +1 -1
  78. package/dist/dts/pages/Analysis/data.js.map +1 -1
  79. package/dist/dts/pages/Crosswalk/data.d.ts.map +1 -1
  80. package/dist/dts/pages/Crosswalk/data.js +1 -1
  81. package/dist/dts/pages/Crosswalk/data.js.map +1 -1
  82. package/dist/dts/pages/DataDictionary/data.d.ts.map +1 -1
  83. package/dist/dts/pages/DataDictionary/data.js +1 -1
  84. package/dist/dts/pages/DataDictionary/data.js.map +1 -1
  85. package/dist/dts/pages/DataLibrary/data.d.ts.map +1 -1
  86. package/dist/dts/pages/DataLibrary/data.js +1 -1
  87. package/dist/dts/pages/DataLibrary/data.js.map +1 -1
  88. package/dist/dts/pages/Discovery/data.d.ts.map +1 -1
  89. package/dist/dts/pages/Discovery/data.js +1 -1
  90. package/dist/dts/pages/Discovery/data.js.map +1 -1
  91. package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
  92. package/dist/dts/pages/Explorer/data.js +2 -2
  93. package/dist/dts/pages/Explorer/data.js.map +1 -1
  94. package/dist/dts/pages/Landing/data.d.ts +2 -2
  95. package/dist/dts/pages/Landing/data.d.ts.map +1 -1
  96. package/dist/dts/pages/Landing/data.js +2 -2
  97. package/dist/dts/pages/Landing/data.js.map +1 -1
  98. package/dist/dts/pages/Landing/index.d.ts +1 -1
  99. package/dist/dts/pages/Landing/index.d.ts.map +1 -1
  100. package/dist/dts/pages/Landing/index.js +1 -1
  101. package/dist/dts/pages/Landing/index.js.map +1 -1
  102. package/dist/dts/pages/Landing/resource.js +1 -1
  103. package/dist/dts/pages/Landing/resource.js.map +1 -1
  104. package/dist/dts/pages/Login/data.js +1 -1
  105. package/dist/dts/pages/Login/data.js.map +1 -1
  106. package/dist/dts/pages/Profile/data.js +1 -1
  107. package/dist/dts/pages/Profile/data.js.map +1 -1
  108. package/dist/dts/pages/Query/data.js +1 -1
  109. package/dist/dts/pages/Query/data.js.map +1 -1
  110. package/dist/dts/pages/Submission/data.d.ts.map +1 -1
  111. package/dist/dts/pages/Submission/data.js +1 -1
  112. package/dist/dts/pages/Submission/data.js.map +1 -1
  113. package/dist/dts/pages/Workspace/data.d.ts.map +1 -1
  114. package/dist/dts/pages/Workspace/data.js +1 -1
  115. package/dist/dts/pages/Workspace/data.js.map +1 -1
  116. package/dist/dts/pages/admin/Workspace/data.js +1 -1
  117. package/dist/dts/pages/admin/Workspace/data.js.map +1 -1
  118. package/dist/dts/pages/admin/analysis/data.js +1 -1
  119. package/dist/dts/pages/admin/analysis/data.js.map +1 -1
  120. package/dist/dts/pages/admin/authz/data.js +1 -1
  121. package/dist/dts/pages/admin/authz/data.js.map +1 -1
  122. package/dist/esm/index.js +74 -58
  123. package/dist/esm/index.js.map +1 -1
  124. package/dist/index.d.ts +23 -6
  125. package/dist/tsconfig.tsbuildinfo +1 -1
  126. package/package.json +3 -3
  127. package/dist/dts/features/Navigation/TopBar.d.ts +0 -24
  128. package/dist/dts/features/Navigation/TopBar.d.ts.map +0 -1
  129. package/dist/dts/features/Navigation/TopBar.js +0 -56
  130. package/dist/dts/features/Navigation/TopBar.js.map +0 -1
  131. package/dist/dts/features/Navigation/TopBar.stories.d.ts.map +0 -1
  132. package/dist/dts/features/Navigation/TopBar.stories.js +0 -30
  133. package/dist/dts/features/Navigation/TopBar.stories.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -8,7 +8,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, GetStaticProps, NextPage, NextApiRequest, NextApiResponse } from 'next';
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;
@@ -1015,6 +1015,12 @@ declare const registerExplorerDefaultCellRenderers: () => void;
1015
1015
  declare const ExplorerTableDetailsPanelFactory: () => RenderFactoryTypedInstance<TableDetailsPanelProps>;
1016
1016
  declare const registerCohortBuilderDefaultPreviewRenderers: () => void;
1017
1017
 
1018
+ interface CohortManagerProps {
1019
+ index: string;
1020
+ }
1021
+ declare const CohortManager: ({ index }: CohortManagerProps) => react_jsx_runtime.JSX.Element;
1022
+ //# sourceMappingURL=CohortManager.d.ts.map
1023
+
1018
1024
  interface GqlQueryEndpointProps {
1019
1025
  graphQLEndpoint?: string;
1020
1026
  }
@@ -1067,6 +1073,7 @@ interface AnalysisToolConfiguration {
1067
1073
  count?: number;
1068
1074
  countUnits?: string;
1069
1075
  cardType?: 'regular' | 'compact';
1076
+ btnText?: string;
1070
1077
  }
1071
1078
  interface AnalysisCenterConfiguration {
1072
1079
  tools: Array<AnalysisToolConfiguration>;
@@ -1212,8 +1219,14 @@ declare class ContentDatabase {
1212
1219
  getAll<T extends Record<string, any>>(filepath: string, filter: string): Promise<Array<T>>;
1213
1220
  }
1214
1221
 
1215
- declare const ContentSource: ContentDatabase;
1216
- //# sourceMappingURL=index.d.ts.map
1222
+ declare class ContentSource {
1223
+ private static instance;
1224
+ private contentDatabase;
1225
+ private constructor();
1226
+ static getInstance(): ContentSource;
1227
+ getContentDatabase(): ContentDatabase;
1228
+ }
1229
+ declare const _default: ContentSource;
1217
1230
 
1218
1231
  interface SessionConfiguration {
1219
1232
  /**
@@ -1318,7 +1331,10 @@ interface Gen3ProviderProps {
1318
1331
  modalsConfig: ModalsConfig;
1319
1332
  children?: ReactNode | undefined;
1320
1333
  }
1321
- declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStringArray>) => type_fest_source_partial_deep.PartialObjectDeep<_mantine_core.MantineTheme, {}>;
1334
+ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStringArray>) => type_fest_source_partial_deep.PartialObjectDeep<_mantine_core.MantineTheme, {
1335
+ recurseIntoArrays: false;
1336
+ allowUndefinedInNonTupleArrays: true;
1337
+ }>;
1322
1338
  /**
1323
1339
  * Gen3Provider wraps around the entire app and provides general configurations
1324
1340
  * for the whole website like color scheme, icons, fonts, and sessionConfigs like
@@ -1397,7 +1413,7 @@ interface Props$3 extends NavPageLayoutProps {
1397
1413
  declare const LandingPage: ({ headerProps, footerProps, landingPage }: Props$3) => react_jsx_runtime.JSX.Element;
1398
1414
  //# sourceMappingURL=Landing.d.ts.map
1399
1415
 
1400
- declare const LandingPageGetStaticProps: GetStaticProps;
1416
+ declare const LandingPageGetServerSideProps: GetServerSideProps;
1401
1417
 
1402
1418
  type ExplorerPageProps = NavPageLayoutProps & CohortBuilderProps;
1403
1419
 
@@ -1729,4 +1745,5 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
1729
1745
 
1730
1746
  declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
1731
1747
 
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 };
1748
+ export { AISearchPageGetServerSideProps, 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 };
1749
+ 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 };