@gen3/frontend 0.10.47 → 0.10.49
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 +2043 -277
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginPanel.js +2 -1
- package/dist/dts/components/Login/LoginPanel.js.map +1 -1
- package/dist/dts/components/charts/Charts.d.ts +1 -2
- package/dist/dts/components/charts/Charts.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.js +17 -13
- package/dist/dts/components/charts/Charts.js.map +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js +9 -14
- package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
- package/dist/dts/components/charts/tests/utils.unit.test.js +2 -2
- package/dist/dts/components/charts/tests/utils.unit.test.js.map +1 -1
- package/dist/dts/components/charts/types.d.ts +3 -3
- package/dist/dts/components/charts/types.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.d.ts +2 -3
- package/dist/dts/components/charts/utils.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.js +2 -3
- package/dist/dts/components/charts/utils.js.map +1 -1
- package/dist/dts/components/counts/CountsValue.js +1 -1
- package/dist/dts/components/counts/CountsValue.js.map +1 -1
- package/dist/dts/components/facets/EnumFacet.d.ts +3 -3
- package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/EnumFacet.js +8 -233
- package/dist/dts/components/facets/EnumFacet.js.map +1 -1
- package/dist/dts/components/facets/ExactValueFacet.js +4 -4
- package/dist/dts/components/facets/ExactValueFacet.js.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.d.ts +24 -0
- package/dist/dts/components/facets/FacetControlsHeader.d.ts.map +1 -0
- package/dist/dts/components/facets/FacetControlsHeader.js +53 -0
- package/dist/dts/components/facets/FacetControlsHeader.js.map +1 -0
- package/dist/dts/components/facets/FacetEnumList.d.ts +16 -0
- package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -0
- package/dist/dts/components/facets/FacetEnumList.js +234 -0
- package/dist/dts/components/facets/FacetEnumList.js.map +1 -0
- package/dist/dts/components/facets/FacetExpander.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetExpander.js +2 -2
- package/dist/dts/components/facets/FacetExpander.js.map +1 -1
- package/dist/dts/components/facets/FacetSelector.d.ts +13 -0
- package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -0
- package/dist/dts/components/facets/FacetSelector.js +58 -0
- package/dist/dts/components/facets/FacetSelector.js.map +1 -0
- package/dist/dts/components/facets/MultiSelectValueFacet.js +5 -5
- package/dist/dts/components/facets/MultiSelectValueFacet.js.map +1 -1
- package/dist/dts/components/facets/RangeFacet.d.ts +4 -5
- package/dist/dts/components/facets/RangeFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/RangeFacet.js +4 -4
- package/dist/dts/components/facets/RangeFacet.js.map +1 -1
- package/dist/dts/components/facets/components.d.ts +1 -1
- package/dist/dts/components/facets/components.d.ts.map +1 -1
- package/dist/dts/components/facets/components.js +3 -3
- package/dist/dts/components/facets/components.js.map +1 -1
- package/dist/dts/components/facets/constants.d.ts +1 -0
- package/dist/dts/components/facets/constants.d.ts.map +1 -1
- package/dist/dts/components/facets/constants.js +1 -0
- package/dist/dts/components/facets/constants.js.map +1 -1
- package/dist/dts/components/facets/createFacetCard.js +4 -4
- package/dist/dts/components/facets/createFacetCard.js.map +1 -1
- package/dist/dts/components/facets/index.d.ts +5 -0
- package/dist/dts/components/facets/index.d.ts.map +1 -0
- package/dist/dts/components/facets/index.js +5 -0
- package/dist/dts/components/facets/index.js.map +1 -0
- package/dist/dts/components/facets/types.d.ts +29 -13
- package/dist/dts/components/facets/types.d.ts.map +1 -1
- package/dist/dts/components/facets/types.js.map +1 -1
- package/dist/dts/components/facets/utils.d.ts +2 -2
- package/dist/dts/components/facets/utils.d.ts.map +1 -1
- package/dist/dts/components/facets/utils.js +11 -5
- package/dist/dts/components/facets/utils.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +4 -2
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/RowTableDetailsPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.js +21 -9
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.js.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryRepresentation.js +2 -2
- package/dist/dts/features/CohortBuilder/QueryRepresentation.js.map +1 -1
- package/dist/dts/features/CohortBuilder/types.d.ts +6 -4
- package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/types.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts +3 -0
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js +13 -0
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts +16 -0
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +70 -0
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts +4 -0
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +17 -0
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts +12 -0
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +26 -0
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts +11 -0
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js +34 -0
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +16 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +22 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.d.ts +8 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js +8 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts +5 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.js +10 -0
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +4 -0
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/IndexPanel.js +96 -0
- package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts +14 -0
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js +56 -0
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/appApi.d.ts +19 -0
- package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/appApi.js +27 -0
- package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/hooks.d.ts +4 -0
- package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/hooks.js +17 -0
- package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/registerApp.d.ts +3 -0
- package/dist/dts/features/CohortDiscovery/registerApp.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/registerApp.js +17 -0
- package/dist/dts/features/CohortDiscovery/registerApp.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/types.d.ts +12 -0
- package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/types.js +2 -0
- package/dist/dts/features/CohortDiscovery/types.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/utils.d.ts +3 -0
- package/dist/dts/features/CohortDiscovery/utils.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/utils.js +10 -0
- package/dist/dts/features/CohortDiscovery/utils.js.map +1 -0
- package/dist/dts/features/CohortDiversity/CohortDiversityApp.d.ts +4 -0
- package/dist/dts/features/CohortDiversity/CohortDiversityApp.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/CohortDiversityApp.js +54 -0
- package/dist/dts/features/CohortDiversity/CohortDiversityApp.js.map +1 -0
- package/dist/dts/features/CohortDiversity/ComnparisonCard.d.ts +15 -0
- package/dist/dts/features/CohortDiversity/ComnparisonCard.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/ComnparisonCard.js +32 -0
- package/dist/dts/features/CohortDiversity/ComnparisonCard.js.map +1 -0
- package/dist/dts/features/CohortDiversity/ComparisonCards.d.ts +15 -0
- package/dist/dts/features/CohortDiversity/ComparisonCards.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/ComparisonCards.js +14 -0
- package/dist/dts/features/CohortDiversity/ComparisonCards.js.map +1 -0
- package/dist/dts/features/CohortDiversity/appApi.d.ts +8 -0
- package/dist/dts/features/CohortDiversity/appApi.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/appApi.js +4 -0
- package/dist/dts/features/CohortDiversity/appApi.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/BarComparison.d.ts +5 -0
- package/dist/dts/features/CohortDiversity/charts/BarComparison.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/BarComparison.js +70 -0
- package/dist/dts/features/CohortDiversity/charts/BarComparison.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/ChartCard.d.ts +16 -0
- package/dist/dts/features/CohortDiversity/charts/ChartCard.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/ChartCard.js +45 -0
- package/dist/dts/features/CohortDiversity/charts/ChartCard.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/ComparisonCharts.d.ts +13 -0
- package/dist/dts/features/CohortDiversity/charts/ComparisonCharts.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/ComparisonCharts.js +18 -0
- package/dist/dts/features/CohortDiversity/charts/ComparisonCharts.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/RadarComparison.d.ts +5 -0
- package/dist/dts/features/CohortDiversity/charts/RadarComparison.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/RadarComparison.js +90 -0
- package/dist/dts/features/CohortDiversity/charts/RadarComparison.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/diversityChartsFactory.d.ts +6 -0
- package/dist/dts/features/CohortDiversity/charts/diversityChartsFactory.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/diversityChartsFactory.js +24 -0
- package/dist/dts/features/CohortDiversity/charts/diversityChartsFactory.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/types.d.ts +12 -0
- package/dist/dts/features/CohortDiversity/charts/types.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/types.js +2 -0
- package/dist/dts/features/CohortDiversity/charts/types.js.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/utils.d.ts +2 -0
- package/dist/dts/features/CohortDiversity/charts/utils.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/charts/utils.js +4 -0
- package/dist/dts/features/CohortDiversity/charts/utils.js.map +1 -0
- package/dist/dts/features/CohortDiversity/diversityApi.d.ts +141 -0
- package/dist/dts/features/CohortDiversity/diversityApi.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/diversityApi.js +14 -0
- package/dist/dts/features/CohortDiversity/diversityApi.js.map +1 -0
- package/dist/dts/features/CohortDiversity/registerApp.d.ts +3 -0
- package/dist/dts/features/CohortDiversity/registerApp.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/registerApp.js +19 -0
- package/dist/dts/features/CohortDiversity/registerApp.js.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsCard.d.ts +9 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsCard.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsCard.js +68 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsCard.js.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsPanel.d.ts +13 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsPanel.js +16 -0
- package/dist/dts/features/CohortDiversity/statistics/StatisticsPanel.js.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/data/data.d.ts +2 -0
- package/dist/dts/features/CohortDiversity/statistics/data/data.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/data/data.js +50 -0
- package/dist/dts/features/CohortDiversity/statistics/data/data.js.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/data/tests/diversityResponse.json +228 -0
- package/dist/dts/features/CohortDiversity/statistics/data/tests/processHistogramResponse.unit.test.d.ts +2 -0
- package/dist/dts/features/CohortDiversity/statistics/data/tests/processHistogramResponse.unit.test.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/data/tests/processHistogramResponse.unit.test.js +365 -0
- package/dist/dts/features/CohortDiversity/statistics/data/tests/processHistogramResponse.unit.test.js.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/data/utils.d.ts +49 -0
- package/dist/dts/features/CohortDiversity/statistics/data/utils.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/data/utils.js +146 -0
- package/dist/dts/features/CohortDiversity/statistics/data/utils.js.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/queries.d.ts +6 -0
- package/dist/dts/features/CohortDiversity/statistics/queries.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/statistics/queries.js +24 -0
- package/dist/dts/features/CohortDiversity/statistics/queries.js.map +1 -0
- package/dist/dts/features/CohortDiversity/types.d.ts +26 -0
- package/dist/dts/features/CohortDiversity/types.d.ts.map +1 -0
- package/dist/dts/features/CohortDiversity/types.js +2 -0
- package/dist/dts/features/CohortDiversity/types.js.map +1 -0
- package/dist/dts/features/Discovery/Charts/ChartsPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Charts/ChartsPanel.js +44 -33
- package/dist/dts/features/Discovery/Charts/ChartsPanel.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.js +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.js.map +1 -1
- package/dist/dts/features/Navigation/NavigationBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavigationBar.js +1 -1
- package/dist/dts/features/Navigation/NavigationBar.js.map +1 -1
- package/dist/dts/features/Navigation/TopBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar.js +1 -1
- package/dist/dts/features/Navigation/TopBar.js.map +1 -1
- package/dist/dts/index.d.ts +3 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +3 -1
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/common/staticProps.js +1 -1
- package/dist/dts/lib/common/staticProps.js.map +1 -1
- package/dist/dts/lib/content/types.d.ts +6 -0
- package/dist/dts/lib/content/types.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js.map +1 -1
- package/dist/dts/pages/admin/authz/data.d.ts.map +1 -1
- package/dist/dts/pages/admin/authz/data.js +5 -2
- package/dist/dts/pages/admin/authz/data.js.map +1 -1
- package/dist/dts/types/common.d.ts +5 -0
- package/dist/dts/types/common.d.ts.map +1 -0
- package/dist/dts/types/common.js +2 -0
- package/dist/dts/types/common.js.map +1 -0
- package/dist/dts/types/index.d.ts +1 -0
- package/dist/dts/types/index.d.ts.map +1 -1
- package/dist/dts/types/index.js +1 -0
- package/dist/dts/types/index.js.map +1 -1
- package/dist/dts/utils/isType.d.ts.map +1 -1
- package/dist/dts/utils/strings.d.ts +4 -0
- package/dist/dts/utils/strings.d.ts.map +1 -1
- package/dist/dts/utils/strings.js +15 -3
- package/dist/dts/utils/strings.js.map +1 -1
- package/dist/esm/index.js +2045 -283
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +36 -22
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React$1
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default, { ReactElement, PropsWithChildren, ReactNode, CSSProperties } from 'react';
|
|
3
4
|
import { ButtonProps, TitleOrder } from '@mantine/core';
|
|
4
5
|
import { HistogramDataArray, JSONObject, AggregationsData, EnumFilterValue, FacetDefinition } from '@gen3/core';
|
|
5
6
|
import { MRT_RowData, MRT_Cell, MRT_Row } from 'mantine-react-table';
|
|
@@ -13,6 +14,11 @@ type StylingOverrideWithMergeControl = Record<string, string> & {
|
|
|
13
14
|
mergeMode?: StylingMergeMode;
|
|
14
15
|
};
|
|
15
16
|
|
|
17
|
+
interface TitleAndDescription {
|
|
18
|
+
title: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
16
22
|
interface ColumnLinks {
|
|
17
23
|
heading: string;
|
|
18
24
|
items: ReadonlyArray<{
|
|
@@ -205,7 +211,7 @@ interface ClassProps {
|
|
|
205
211
|
readonly className?: string;
|
|
206
212
|
}
|
|
207
213
|
interface HoverLinkProps extends ClassProps {
|
|
208
|
-
children?:
|
|
214
|
+
children?: React__default.ReactNode;
|
|
209
215
|
readonly href: string;
|
|
210
216
|
}
|
|
211
217
|
/**
|
|
@@ -231,7 +237,7 @@ declare const HoverLink: ({ className, href, children }: HoverLinkProps) => reac
|
|
|
231
237
|
declare const NavigationBar: ({ logo, title, items, classNames, }: NavigationProps) => ReactElement;
|
|
232
238
|
//# sourceMappingURL=NavigationBar.d.ts.map
|
|
233
239
|
|
|
234
|
-
type NavigationButtonProps = ButtonProps &
|
|
240
|
+
type NavigationButtonProps = ButtonProps & React__default.ComponentPropsWithoutRef<'a'> & {
|
|
235
241
|
$selected?: boolean;
|
|
236
242
|
};
|
|
237
243
|
declare const NavigationButton: ({ $selected, ...props }: NavigationButtonProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -252,9 +258,8 @@ interface SummaryStatisticsConfig {
|
|
|
252
258
|
displayFunction?: string;
|
|
253
259
|
}
|
|
254
260
|
|
|
255
|
-
interface SummaryChart {
|
|
256
|
-
readonly
|
|
257
|
-
readonly chartType: 'bar' | 'horizontalStacked' | 'fullPie' | 'donut';
|
|
261
|
+
interface SummaryChart extends Partial<TitleAndDescription> {
|
|
262
|
+
readonly chartType: string;
|
|
258
263
|
readonly valueType?: 'count' | 'percent';
|
|
259
264
|
readonly dataLabels?: Record<string, string>;
|
|
260
265
|
}
|
|
@@ -526,12 +531,12 @@ declare const registerDiscoveryDefaultStudyPreviewRenderers: () => void;
|
|
|
526
531
|
|
|
527
532
|
interface DiscoveryProviderValue {
|
|
528
533
|
discoveryConfig: DiscoveryIndexConfig;
|
|
529
|
-
setStudyDetails:
|
|
534
|
+
setStudyDetails: React__default.Dispatch<React__default.SetStateAction<JSONObject>>;
|
|
530
535
|
studyDetails: JSONObject;
|
|
531
536
|
}
|
|
532
537
|
declare const useDiscoveryContext: () => DiscoveryProviderValue;
|
|
533
538
|
declare const DiscoveryProvider: ({ children, discoveryIndexConfig, }: {
|
|
534
|
-
children:
|
|
539
|
+
children: React__default.ReactNode;
|
|
535
540
|
discoveryIndexConfig: DiscoveryIndexConfig;
|
|
536
541
|
}) => react_jsx_runtime.JSX.Element;
|
|
537
542
|
//# sourceMappingURL=DiscoveryProvider.d.ts.map
|
|
@@ -573,7 +578,7 @@ interface APICredentials {
|
|
|
573
578
|
}
|
|
574
579
|
|
|
575
580
|
declare const ProfileProvider: ({ children, profileConfig, }: {
|
|
576
|
-
children:
|
|
581
|
+
children: React__default.ReactNode;
|
|
577
582
|
profileConfig: ProfileConfig;
|
|
578
583
|
}) => react_jsx_runtime.JSX.Element;
|
|
579
584
|
//# sourceMappingURL=ProfileProvider.d.ts.map
|
|
@@ -592,7 +597,7 @@ declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFilt
|
|
|
592
597
|
//# sourceMappingURL=ResourcesFilters.d.ts.map
|
|
593
598
|
|
|
594
599
|
interface LoginButtonProps {
|
|
595
|
-
readonly icon?:
|
|
600
|
+
readonly icon?: React__default.ReactElement | string;
|
|
596
601
|
readonly hideText?: boolean;
|
|
597
602
|
className?: string;
|
|
598
603
|
tooltip?: string;
|
|
@@ -683,7 +688,7 @@ declare const NoAccessModal: ({ openModal, }: {
|
|
|
683
688
|
|
|
684
689
|
interface Gen3StandardModalsProviderProps {
|
|
685
690
|
config: ModalsConfig;
|
|
686
|
-
children:
|
|
691
|
+
children: React__default.ReactNode;
|
|
687
692
|
}
|
|
688
693
|
declare const Gen3ModalsProvider: ({ config, children, }: Gen3StandardModalsProviderProps) => react_jsx_runtime.JSX.Element;
|
|
689
694
|
//# sourceMappingURL=Gen3ModalsProvider.d.ts.map
|
|
@@ -700,14 +705,13 @@ declare const processRangeKeyLabel: (key: [number, number]) => string;
|
|
|
700
705
|
/**
|
|
701
706
|
* Computes the row span for each item in the charts object.
|
|
702
707
|
*
|
|
703
|
-
* @param {
|
|
708
|
+
* @param { number } numItems - The charts object containing summary charts.
|
|
704
709
|
* @param {number} [numCols=3] - The number of columns per row.
|
|
705
710
|
* @returns {number[]} - An array of row spans for each item in the charts object.
|
|
706
711
|
*/
|
|
707
|
-
declare const computeRowSpan: (
|
|
712
|
+
declare const computeRowSpan: (numItems: number, numCols?: number) => Array<number>;
|
|
708
713
|
|
|
709
714
|
interface ChartsProps {
|
|
710
|
-
index: string;
|
|
711
715
|
charts: Record<string, SummaryChart>;
|
|
712
716
|
counts?: number;
|
|
713
717
|
data: AggregationsData;
|
|
@@ -717,7 +721,7 @@ interface ChartsProps {
|
|
|
717
721
|
style?: 'tile' | 'box';
|
|
718
722
|
showLegends?: boolean;
|
|
719
723
|
}
|
|
720
|
-
declare const Charts: ({
|
|
724
|
+
declare const Charts: ({ charts, data, counts, isSuccess, numCols, style, showLegends, }: ChartsProps) => react_jsx_runtime.JSX.Element;
|
|
721
725
|
|
|
722
726
|
interface ReactEChartsProps {
|
|
723
727
|
option: EChartsOption;
|
|
@@ -743,7 +747,7 @@ interface FacetChartProps {
|
|
|
743
747
|
readonly maxBins?: number;
|
|
744
748
|
readonly valueLabel?: string;
|
|
745
749
|
}
|
|
746
|
-
declare const EnumFacetChart:
|
|
750
|
+
declare const EnumFacetChart: React__default.FC<FacetChartProps>;
|
|
747
751
|
|
|
748
752
|
type RendererFunction<T> = (props: T, ...params: any[]) => ReactNode;
|
|
749
753
|
interface RendererFunctionCatalogEntry<T> {
|
|
@@ -889,14 +893,16 @@ interface ManifestFieldsConfig {
|
|
|
889
893
|
}
|
|
890
894
|
interface DataTypeConfig {
|
|
891
895
|
dataType: string;
|
|
892
|
-
nodeCountTitle
|
|
893
|
-
fieldMapping: ReadonlyArray<FieldToName>;
|
|
894
|
-
manifestMapping?: ManifestFieldsConfig;
|
|
896
|
+
nodeCountTitle?: string;
|
|
895
897
|
accessibleFieldCheckList?: string[];
|
|
896
898
|
accessibleValidationField?: string;
|
|
897
899
|
tierAccessLevel?: 'libre' | 'regular' | 'private';
|
|
898
900
|
tierAccessLimit?: number;
|
|
899
901
|
}
|
|
902
|
+
interface DataTypeConfigWithManifest extends DataTypeConfig {
|
|
903
|
+
manifestMapping?: ManifestFieldsConfig;
|
|
904
|
+
fieldMapping?: ReadonlyArray<FieldToName>;
|
|
905
|
+
}
|
|
900
906
|
interface DownloadButtonConfig extends DownloadButtonProps {
|
|
901
907
|
dropdownId?: string;
|
|
902
908
|
}
|
|
@@ -907,7 +913,7 @@ interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
|
|
|
907
913
|
dropdownItems: ReadonlyArray<DownloadButtonProps>;
|
|
908
914
|
}
|
|
909
915
|
interface CohortPanelConfig {
|
|
910
|
-
readonly guppyConfig:
|
|
916
|
+
readonly guppyConfig: DataTypeConfigWithManifest;
|
|
911
917
|
readonly tabTitle: string;
|
|
912
918
|
readonly charts?: Record<string, SummaryChart>;
|
|
913
919
|
readonly table?: SummaryTable;
|
|
@@ -983,6 +989,10 @@ declare const userHasMethodForServiceOnResource: (method: string, service: strin
|
|
|
983
989
|
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";
|
|
984
990
|
|
|
985
991
|
declare const stripTrailingSlash: (str: string) => string;
|
|
992
|
+
declare const SPECIAL_CASE_FIELDS: {
|
|
993
|
+
icd_10_code: string;
|
|
994
|
+
};
|
|
995
|
+
declare const toDisplayName: (field: string) => string;
|
|
986
996
|
|
|
987
997
|
declare const isArrayOfString: (value: any) => value is Array<string>;
|
|
988
998
|
declare const isTextTransform: (value: any) => value is CSSProperties["textTransform"];
|
|
@@ -1068,9 +1078,13 @@ interface ErrorCardProps {
|
|
|
1068
1078
|
message: string;
|
|
1069
1079
|
icon?: ReactElement;
|
|
1070
1080
|
}
|
|
1071
|
-
declare const ErrorCard:
|
|
1081
|
+
declare const ErrorCard: React__default.FunctionComponent<ErrorCardProps>;
|
|
1072
1082
|
//# sourceMappingURL=ErrorCard.d.ts.map
|
|
1073
1083
|
|
|
1084
|
+
declare const registerCohortDiscoveryApp: () => React$1.ReactNode;
|
|
1085
|
+
|
|
1086
|
+
declare const registerCohortDiversityApp: () => React$1.ReactNode;
|
|
1087
|
+
|
|
1074
1088
|
interface Gen3ProviderProps {
|
|
1075
1089
|
colors: Record<string, TenStringArray>;
|
|
1076
1090
|
icons: RegisteredIcons;
|
|
@@ -1403,4 +1417,4 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
|
|
|
1403
1417
|
|
|
1404
1418
|
declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
|
|
1405
1419
|
|
|
1406
|
-
export { AISearchPageGetServerSideProps, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AuthzPage, type BannerProps, BaseModal, type CellRenderFunctionProps, type CellRendererFunctionProps, type ChartProps, Charts, CohortBuilder, type CohortBuilderConfiguration, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, type DiscoveryConfig, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, type Fonts, Footer, type FooterProps, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, type HeaderProps, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton, type LoginConfig, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, type ModalsConfig, NavPageLayout, type NavPageLayoutProps, NavigationBar, NavigationButton, type NavigationProps, NoAccessModal, type ProfileConfig, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, QueryPage, QueryPageGetServerSideProps, ReactECharts, type ReactEChartsProps, type RegisteredIcons, ResourcesFilters, type RowRenderFunctionParams, type SessionConfiguration, SessionExpiredModal, type StudyDetailsField, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, type SummaryChart, type TableDetailsPanelProps, TagCloud, type TagData, type TagsConfig, TailwindConfig, type TenStringArray, type TopBarProps, User$1 as User, type WorkspaceConfiguration, WorkspacesPage, WorkspacesPageGetServerSideProps, WorkspacesPanel, capitalize, computeRowSpan, create10ColorAccessibleContrast, create10ColorPallet, export_default$1 as credentialsLogin, export_default as credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform, processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, removeKey, resourcePathFromProjectID, export_default$2 as sessionLogout, export_default$3 as sessionToken, stripTrailingSlash, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource };
|
|
1420
|
+
export { AISearchPageGetServerSideProps, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AuthzPage, type BannerProps, BaseModal, type CellRenderFunctionProps, type CellRendererFunctionProps, type ChartProps, Charts, CohortBuilder, type CohortBuilderConfiguration, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, type DiscoveryConfig, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, type Fonts, Footer, type FooterProps, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, type HeaderProps, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton, type LoginConfig, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, type ModalsConfig, NavPageLayout, type NavPageLayoutProps, NavigationBar, NavigationButton, type NavigationProps, NoAccessModal, type ProfileConfig, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, 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, type TopBarProps, User$1 as User, type WorkspaceConfiguration, WorkspacesPage, WorkspacesPageGetServerSideProps, WorkspacesPanel, capitalize, computeRowSpan, create10ColorAccessibleContrast, create10ColorPallet, export_default$1 as credentialsLogin, export_default as credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform, processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortDiversityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, removeKey, resourcePathFromProjectID, export_default$2 as sessionLogout, export_default$3 as sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource };
|