@gen3/frontend 0.12.59 → 0.12.60

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.
@@ -1,4 +1,4 @@
1
- export { A as ACTIVITY_CHANNEL, a as AISearchPageGetServerSideProps, b as AccessLevel, c as AccordionPanel, d as ActionBar, e as ActionButton, f as AdminAuthZPageGetServerSideProps, g as AiSearch, h as AiSearchPage, i as AnalysisCenter, j as AnalysisCenterWithSections, k as AnalysisEditorPage, l as AnalysisEditorPageGetServerSideProps, m as AnalysisPage, n as AnalysisPageGetServerSideProps, o as AnalysisWithCloseButton, p as AuthzPage, B as BAD_DATA_MESSAGE, q as Banner, r as BaseModal, C as CardContainer, s as Charts, t as ClinicalDataAnalysisPage, u as ClinicalDataAnalysisServerSideProps, v as CohortActionButton, w as CohortBuilder, x as CohortDropdownActionButton, y as CohortManager, z as CohortManagerAndExpression, D as CollapsableCharts, E as CollapsableSidebar, F as ColorThemePage, G as ColorThemePageGetServerSideProps, H as ContentSource, I as CountsValue, J as CreateCredentialsAPIKeyModal, K as CrosswalkPage, L as CrosswalkPageGetServerSideProps, M as Custom403Page, N as Custom403PageGetServerSideProps, O as Custom404Page, P as Custom404PageGetServerSideProps, Q as DAYS_IN_YEAR, R as DEFAULT_MAXIMUM, S as DEFAULT_MINIMUM, T as DEFAULT_VISIBLE_ITEMS, U as DataDictionaryPage, V as DataLibraryPage, W as DataLibraryPageGetServerSideProps, X as DefaultAuthorizedRoutesConfig, Y as DictionaryPageGetServerSideProps, Z as DictionaryWithContext, _ as DiscoveryCellRendererFactory, $ as DiscoveryConfigProvider, a0 as DiscoveryIndexPanel, a1 as DiscoveryPage, a2 as DiscoveryPageGetServerSideProps, a3 as DownloadButton, a4 as DownloadsPanel, a5 as DropdownButton, a6 as DropdownPanel, a7 as DropdownWithIcon, a8 as EmptyTableMessage, a9 as EnumFacet, aa as EnumFacetChart, ab as ErrorCard, ac as ExactValueFacet, ad as ExplorerPage, ae as ExplorerPageGetServerSideProps, af as ExplorerPageGetServerSidePropsForConfigId, ag as ExplorerTable, ah as ExplorerTableCellRendererFactory, ai as ExplorerTableDetailsPanelFactory, aj as FacetControlsHeader, ak as FacetExpander, al as FacetSelector, am as FacetSortPanel, an as FacetTabs, ao as FileSummary, ap as FiltersPanel, aq as FirstTimeModal, ar as FixedNavPageLayout, as as Footer, at as Gen3Button, au as Gen3ButtonReverse, av as Gen3Link, aw as Gen3ModalsProvider, ax as Gen3Provider, ay as GqlQueryEditor, az as Header, aA as HoverLink, aB as IconButton, aC as InfoRolloverButton, aD as JSONObjectDownloadButton, aE as LandingPage, aF as LandingPageGetServerSideProps, aG as LoginButton, aH as LoginPage, aI as LoginPageGetServerSideProps, aJ as LoginPanel, aK as LoginProvidersPanel, aL as MessageCard, aM as MessagePage, aN as MetadataDictionary, aO as MultiSelectValueFacet, aP as NavPageLayout, aQ as NavigationBar, aR as NavigationButton, aS as NavigationRail, aT as NoAccessModal, aU as NotebookLitePage, aV as NotebookLitePageGetStaticProps, aW as OverflowTooltippedLabel, aX as PanelErrorBoundary, aY as Profile, aZ as ProfilePage, a_ as ProfilePageGetServerSideProps, a$ as ProfileProvider, b0 as ProtectedContent, b1 as ProtectedContentUI, b2 as ProtectedOverlay, b3 as QueryExpression, b4 as QueryExpressionContext, b5 as QueryExpressionSection, b6 as QueryPage, b7 as QueryPageGetServerSideProps, b8 as RangeFacet, b9 as ReactECharts, ba as Repository, bb as RepositoryPage, bc as RepositoryPageGetServerSideProps, bd as ResourcesFilters, be as SPECIAL_CASE_FIELDS, bf as SegmentedControl, bg as SessionExpiredModal, bh as SinglePageStudyDetailsPanel, bi as StaticNotebookIFrame, bj as StudyDetailsPanel, bk as StudyGroup, bl as StudyGroupPanel, bm as StudyProvider, bn as SubmissionPage, bo as SubmissionPageGetServerSideProps, bp as TabbedCohortBuilder, bq as TabbedCohortBuilderPage, br as TabbedCohortBuilderPageGetServerSideProps, bs as TabbedPanel, bt as TableXPositionContext, bu as TagCloud, bv as TailwindConfig, bw as TopBar, bx as UploadJSONButton, by as User, bz as WarningCard, bA as Workspace, bB as WorkspaceNoAccessPage, bC as WorkspaceNoAccessPageServerSideProps, bD as WorkspacePage, bE as WorkspacePageGetServerSideProps, bF as accessibleFieldName, bG as addIntersectionToIncludes, bH as addUnion, bI as analysisApiCohortDiscovery, bJ as capitalize, bK as classifyFacets, bL as compareKeysAscending, bM as compareKeysDescending, bN as computeRowSpan, bO as convertMinutesToMilliseconds, bP as convertPathsToTree, bQ as convertSecondsToMilliseconds, bR as convertToStringArray, bS as createCSSVariables, bT as createLabelFromHistogramData, bU as createMantineTheme, bV as credentialsLogin, bW as credentialsLogout, bX as extractObjectKey, bY as extractRangeValues, bZ as filterAggregationsDataKeys, b_ as focusStyles, b$ as gen3Modals, c0 as getAllFieldsFromFilterConfigs, c1 as getByPath, c2 as getCurrentUnixTimestamp, c3 as getFormattedTimestamp, c4 as getHighResolutionTimestamp, c5 as getNavPageLayoutPropsFromConfig, c6 as getParamsValueAsString, c7 as getTagInfo, c8 as hasOwnProperty, c9 as isArrayOfString, ca as isEnumFacetResponse, cb as isHeaderMetadata, cc as isPropertyKey, cd as isTextTransform, ce as isTimeGreaterThan, cf as itemsInCart, cg as mapFacetSortToSortType, ch as measureExecutionTime, ci as mergeDefaultTailwindClassnames, cj as minutesToMilliseconds, ck as processBucketData, cl as processDefinedRangeData, cm as processLabel, cn as processRangeData, co as processRangeKeyLabel, cp as registerCohortBuilderDefaultPreviewRenderers, cq as registerCohortDiscoveryApp, cr as registerCohortSimilarityApp, cs as registerDefaultDiscoveryDataLoaders, ct as registerDiscoveryDefaultCellRenderers, cu as registerDownloadButtonAction, cv as registerExplorerDefaultCellRenderers, cw as registerIGVApp, cx as registerMetadataSchemaApp, cy as removeIntersectionFromEnum, cz as removeKey, cA as removeMultipleSlashes, cB as removeUnion, cC as resourcePathFromProjectID, cD as sessionLogout, cE as sessionToken, cF as stripTrailingSlash, cG as toDisplayName, cH as truncateString, cI as typographyPlugin, cJ as unixTimeToString, cK as updateFacetEnum, cL as useClearFilters, cM as useDiscoveryContext, cN as useExtractEnumFilterValues, cO as useExtractRangeFilterValues, cP as useFieldNameToLabel, cQ as useGetFacetFilters, cR as useGuppyActionButton, cS as useUpdateFilters, cT as useUpdateFiltersFlat, cU as userHasMethodForServiceOnResource, cV as validateObjectHasRequiredFields, cW as withBasePath } from './index-C1DxNyiu.js';
1
+ export { A as ACTIVITY_CHANNEL, a as AISearchPageGetServerSideProps, b as AccessLevel, c as AccordionPanel, d as ActionBar, e as ActionButton, f as AdminAuthZPageGetServerSideProps, g as AiSearch, h as AiSearchPage, i as AnalysisCenter, j as AnalysisCenterWithSections, k as AnalysisEditorPage, l as AnalysisEditorPageGetServerSideProps, m as AnalysisPage, n as AnalysisPageGetServerSideProps, o as AnalysisWithCloseButton, p as AuthzPage, B as BAD_DATA_MESSAGE, q as Banner, r as BaseModal, C as CardContainer, s as Charts, t as ClinicalDataAnalysisPage, u as ClinicalDataAnalysisServerSideProps, v as CohortActionButton, w as CohortBuilder, x as CohortDropdownActionButton, y as CohortManager, z as CohortManagerAndExpression, D as CollapsableCharts, E as CollapsableSidebar, F as ColorThemePage, G as ColorThemePageGetServerSideProps, H as ContentSource, I as CountsValue, J as CreateCredentialsAPIKeyModal, K as CrosswalkPage, L as CrosswalkPageGetServerSideProps, M as Custom403Page, N as Custom403PageGetServerSideProps, O as Custom404Page, P as Custom404PageGetServerSideProps, Q as DAYS_IN_YEAR, R as DEFAULT_MAXIMUM, S as DEFAULT_MINIMUM, T as DEFAULT_VISIBLE_ITEMS, U as DataDictionaryPage, V as DataLibraryPage, W as DataLibraryPageGetServerSideProps, X as DefaultAuthorizedRoutesConfig, Y as DictionaryPageGetServerSideProps, Z as DictionaryWithContext, _ as DiscoveryCellRendererFactory, $ as DiscoveryConfigProvider, a0 as DiscoveryIndexPanel, a1 as DiscoveryPage, a2 as DiscoveryPageGetServerSideProps, a3 as DownloadButton, a4 as DownloadsPanel, a5 as DropdownButton, a6 as DropdownPanel, a7 as DropdownWithIcon, a8 as EmptyTableMessage, a9 as EnumFacet, aa as EnumFacetChart, ab as ErrorCard, ac as ExactValueFacet, ad as ExplorerPage, ae as ExplorerPageGetServerSideProps, af as ExplorerPageGetServerSidePropsForConfigId, ag as ExplorerTable, ah as ExplorerTableCellRendererFactory, ai as ExplorerTableDetailsPanelFactory, aj as FacetControlsHeader, ak as FacetExpander, al as FacetSelector, am as FacetSortPanel, an as FacetTabs, ao as FileSummary, ap as FiltersPanel, aq as FirstTimeModal, ar as FixedNavPageLayout, as as Footer, at as Gen3Button, au as Gen3ButtonReverse, av as Gen3Link, aw as Gen3ModalsProvider, ax as Gen3Provider, ay as GqlQueryEditor, az as Header, aA as HoverLink, aB as IconButton, aC as InfoRolloverButton, aD as JSONObjectDownloadButton, aE as LandingPage, aF as LandingPageGetServerSideProps, aG as LoginButton, aH as LoginPage, aI as LoginPageGetServerSideProps, aJ as LoginPanel, aK as LoginProvidersPanel, aL as MessageCard, aM as MessagePage, aN as MetadataDictionary, aO as MultiSelectValueFacet, aP as NavPageLayout, aQ as NavigationBar, aR as NavigationButton, aS as NavigationRail, aT as NoAccessModal, aU as NotebookLitePage, aV as NotebookLitePageGetStaticProps, aW as OverflowTooltippedLabel, aX as PanelErrorBoundary, aY as Profile, aZ as ProfilePage, a_ as ProfilePageGetServerSideProps, a$ as ProfileProvider, b0 as ProtectedContent, b1 as ProtectedContentUI, b2 as ProtectedOverlay, b3 as QueryExpression, b4 as QueryExpressionContext, b5 as QueryExpressionSection, b6 as QueryPage, b7 as QueryPageGetServerSideProps, b8 as RangeFacet, b9 as ReactECharts, ba as Repository, bb as RepositoryPage, bc as RepositoryPageGetServerSideProps, bd as ResourcesFilters, be as SPECIAL_CASE_FIELDS, bf as SegmentedControl, bg as SessionExpiredModal, bh as SinglePageStudyDetailsPanel, bi as StaticNotebookIFrame, bj as StudyDetailsPanel, bk as StudyGroup, bl as StudyGroupPanel, bm as StudyProvider, bn as SubmissionPage, bo as SubmissionPageGetServerSideProps, bp as TabbedCohortBuilder, bq as TabbedCohortBuilderPage, br as TabbedCohortBuilderPageGetServerSideProps, bs as TabbedPanel, bt as TableXPositionContext, bu as TagCloud, bv as TailwindConfig, bw as TopBar, bx as UploadJSONButton, by as User, bz as WarningCard, bA as Workspace, bB as WorkspaceNoAccessPage, bC as WorkspaceNoAccessPageServerSideProps, bD as WorkspacePage, bE as WorkspacePageGetServerSideProps, bF as accessibleFieldName, bG as addIntersectionToIncludes, bH as addUnion, bI as analysisApiCohortDiscovery, bJ as capitalize, bK as classifyFacets, bL as compareKeysAscending, bM as compareKeysDescending, bN as computeRowSpan, bO as convertMinutesToMilliseconds, bP as convertPathsToTree, bQ as convertSecondsToMilliseconds, bR as convertToStringArray, bS as createCSSVariables, bT as createLabelFromHistogramData, bU as createMantineTheme, bV as credentialsLogin, bW as credentialsLogout, bX as extractObjectKey, bY as extractRangeValues, bZ as filterAggregationsDataKeys, b_ as focusStyles, b$ as gen3Modals, c0 as getAllFieldsFromFilterConfigs, c1 as getByPath, c2 as getCurrentUnixTimestamp, c3 as getFormattedTimestamp, c4 as getHighResolutionTimestamp, c5 as getNavPageLayoutPropsFromConfig, c6 as getParamsValueAsString, c7 as getTagInfo, c8 as hasOwnProperty, c9 as isArrayOfString, ca as isEnumFacetResponse, cb as isHeaderMetadata, cc as isPropertyKey, cd as isTextTransform, ce as isTimeGreaterThan, cf as itemsInCart, cg as mapFacetSortToSortType, ch as measureExecutionTime, ci as mergeDefaultTailwindClassnames, cj as minutesToMilliseconds, ck as processBucketData, cl as processDefinedRangeData, cm as processLabel, cn as processRangeData, co as processRangeKeyLabel, cp as registerCohortBuilderDefaultPreviewRenderers, cq as registerCohortDiscoveryApp, cr as registerCohortSimilarityApp, cs as registerDefaultDiscoveryDataLoaders, ct as registerDiscoveryDefaultCellRenderers, cu as registerDownloadButtonAction, cv as registerExplorerDefaultCellRenderers, cw as registerIGVApp, cx as registerMetadataSchemaApp, cy as removeIntersectionFromEnum, cz as removeKey, cA as removeMultipleSlashes, cB as removeUnion, cC as resourcePathFromProjectID, cD as sessionLogout, cE as sessionToken, cF as stripTrailingSlash, cG as toDisplayName, cH as truncateString, cI as typographyPlugin, cJ as unixTimeToString, cK as updateFacetEnum, cL as useClearFilters, cM as useDiscoveryContext, cN as useExtractEnumFilterValues, cO as useExtractRangeFilterValues, cP as useFieldNameToLabel, cQ as useGetFacetFilters, cR as useGuppyActionButton, cS as useUpdateFilters, cT as useUpdateFiltersFlat, cU as userHasMethodForServiceOnResource, cV as validateObjectHasRequiredFields, cW as withBasePath } from './index-DrBCmUeR.js';
2
2
  import '@gen3/core';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactElement, PropsWithChildren, ComponentType, JSX as JSX$1, ReactNode, Dispatch, SetStateAction, CSSProperties, FC, RefObject, Component } from 'react';
2
+ import React__default, { ReactElement, PropsWithChildren, ComponentType, JSX as JSX$1, ReactNode, Dispatch, SetStateAction, Component, CSSProperties, FC, RefObject } from 'react';
3
3
  import { JSONObject, FacetDefinition, Modals, ServiceAndMethod, CartItem, HistogramDataArray, DataLibraryStoreMode, ExportDatasetFields, HistogramData, AggregationsData, EnumFilterValue, Accessibility, RawDataAndTotalCountsParams, useGetRawDataAndTotalCountsQuery, FacetSortType as FacetSortType$1, Operation, CombineMode, NumericFromTo, DataFetchingResult, IndexAndField, SharedFieldMapping, FilterSet, RemoteSupportConfiguration, CohortItem, FileItem, Includes, Intersection, OperatorWithFieldAndArrayOfOperands, FacetType } from '@gen3/core';
4
4
  import * as _mantine_core from '@mantine/core';
5
5
  import { ButtonProps, BoxProps, FloatingPosition, SegmentedControlProps as SegmentedControlProps$1, TitleOrder, ButtonVariant, TooltipProps } from '@mantine/core';
@@ -782,6 +782,20 @@ interface JsonFileSaverProps {
782
782
  }
783
783
  declare const JSONObjectDownloadButton: React__default.FC<JsonFileSaverProps>;
784
784
 
785
+ declare class PanelErrorBoundary extends Component<{
786
+ children: React__default.ReactNode;
787
+ }, {
788
+ error: Error | null;
789
+ }> {
790
+ state: {
791
+ error: Error | null;
792
+ };
793
+ static getDerivedStateFromError(error: Error): {
794
+ error: Error;
795
+ };
796
+ render(): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
797
+ }
798
+
785
799
  interface CountsValueProps {
786
800
  label: string;
787
801
  counts?: number;
@@ -2927,20 +2941,6 @@ declare const DEFAULT_TOOLTIP_CLASSNAMES: {
2927
2941
  };
2928
2942
  declare const OverflowTooltippedLabel: ({ children, label, className, color, noTruncate, }: OverflowTooltippedLabelProps) => JSX$1.Element;
2929
2943
 
2930
- declare class PanelErrorBoundary extends Component<{
2931
- children: React__default.ReactNode;
2932
- }, {
2933
- error: Error | null;
2934
- }> {
2935
- state: {
2936
- error: Error | null;
2937
- };
2938
- static getDerivedStateFromError(error: Error): {
2939
- error: Error;
2940
- };
2941
- render(): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
2942
- }
2943
-
2944
2944
  type NavigationRailItem = {
2945
2945
  label: string;
2946
2946
  tooltip?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gen3/frontend",
3
- "version": "0.12.59",
3
+ "version": "0.12.60",
4
4
  "description": "Gen3 frontend components, content management, and pages",
5
5
  "keywords": [],
6
6
  "author": "Center for Translational Data Science",
@@ -63,13 +63,13 @@
63
63
  "@dnd-kit/core": "^6.3.1",
64
64
  "@dnd-kit/modifiers": "^9.0.0",
65
65
  "@dnd-kit/sortable": "^10.0.0",
66
- "@gen3/core": "^0.12.59",
66
+ "@gen3/core": "^0.12.60",
67
67
  "@graphiql/react": "^0.37.7",
68
68
  "@hello-pangea/dnd": "^18.0.0",
69
69
  "@iconify-icon/react": "^3.0.3",
70
70
  "@mdx-js/loader": "^3.1.1",
71
71
  "@mdx-js/mdx": "^3.1.1",
72
- "@next/mdx": "^16.2.11",
72
+ "@next/mdx": "^16.3.0",
73
73
  "@reduxjs/toolkit": "^2.5.0",
74
74
  "@tabler/icons-react": "^3.19.0",
75
75
  "@tailwindcss/forms": "^0.5.3",
@@ -109,10 +109,10 @@
109
109
  "@mantine/modals": "^9.4.0",
110
110
  "@mantine/notifications": "^9.4.0",
111
111
  "mantine-react-table-open": "^9.0.3",
112
- "next": "^16.2.12",
112
+ "next": "^16.3.0",
113
113
  "react": "^19.2.4",
114
114
  "react-dom": "^19.2.4",
115
115
  "tailwindcss": "^3.4.18"
116
116
  },
117
- "gitHead": "505c609220c04a3708632d1462d5ff137d1159aa"
117
+ "gitHead": "8f1f17abf44a471fbf6f9bfba2fb32c9152b9e65"
118
118
  }