@gen3/frontend 0.10.46 → 0.10.48
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 +5636 -3526
- 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/Providers/Gen3Provider.d.ts.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.js +9 -0
- package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
- package/dist/dts/components/charts/Charts.d.ts +3 -2
- package/dist/dts/components/charts/Charts.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.js +67 -15
- 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 +5 -5
- package/dist/dts/components/charts/tests/utils.unit.test.js.map +1 -1
- package/dist/dts/components/charts/types.d.ts +3 -2
- 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 +6 -0
- package/dist/dts/features/Discovery/Charts/ChartsPanel.d.ts.map +1 -0
- package/dist/dts/features/Discovery/Charts/ChartsPanel.js +135 -0
- package/dist/dts/features/Discovery/Charts/ChartsPanel.js.map +1 -0
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +14 -14
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.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/Discovery/types.d.ts +13 -0
- package/dist/dts/features/Discovery/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/types.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 +7957 -5851
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +60 -31
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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
|
-
import {
|
|
5
|
+
import { HistogramDataArray, JSONObject, AggregationsData, EnumFilterValue, FacetDefinition } from '@gen3/core';
|
|
5
6
|
import { MRT_RowData, MRT_Cell, MRT_Row } from 'mantine-react-table';
|
|
6
7
|
import { EChartsOption, SetOptionOpts } from 'echarts';
|
|
7
8
|
import { GetServerSideProps, GetStaticProps, NextPage, NextApiRequest, NextApiResponse } from 'next';
|
|
@@ -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,6 +258,17 @@ interface SummaryStatisticsConfig {
|
|
|
252
258
|
displayFunction?: string;
|
|
253
259
|
}
|
|
254
260
|
|
|
261
|
+
interface SummaryChart extends Partial<TitleAndDescription> {
|
|
262
|
+
readonly chartType: string;
|
|
263
|
+
readonly valueType?: 'count' | 'percent';
|
|
264
|
+
readonly dataLabels?: Record<string, string>;
|
|
265
|
+
}
|
|
266
|
+
interface ChartProps {
|
|
267
|
+
data: HistogramDataArray;
|
|
268
|
+
total: number;
|
|
269
|
+
valueType?: 'count' | 'percent';
|
|
270
|
+
}
|
|
271
|
+
|
|
255
272
|
interface TagData {
|
|
256
273
|
name: string;
|
|
257
274
|
category: string;
|
|
@@ -403,6 +420,17 @@ interface TagsConfig {
|
|
|
403
420
|
tagCategories: TagCategory[];
|
|
404
421
|
showUnknownTags?: boolean;
|
|
405
422
|
}
|
|
423
|
+
interface ChartsSection {
|
|
424
|
+
enabled: boolean;
|
|
425
|
+
title?: string;
|
|
426
|
+
showLegends?: {
|
|
427
|
+
enabled: boolean;
|
|
428
|
+
showSwitch?: boolean;
|
|
429
|
+
};
|
|
430
|
+
charts?: Array<SummaryChart & {
|
|
431
|
+
data: string[];
|
|
432
|
+
}>;
|
|
433
|
+
}
|
|
406
434
|
interface DiscoveryIndexConfig {
|
|
407
435
|
guidType?: string;
|
|
408
436
|
studyField?: string;
|
|
@@ -415,6 +443,7 @@ interface DiscoveryIndexConfig {
|
|
|
415
443
|
search?: SearchConfig;
|
|
416
444
|
authorization: DataAuthorization;
|
|
417
445
|
dataLoader?: DataLoader;
|
|
446
|
+
chartsSection?: ChartsSection;
|
|
418
447
|
};
|
|
419
448
|
aggregations: SummaryStatisticsConfig[];
|
|
420
449
|
tags: TagsConfig;
|
|
@@ -502,12 +531,12 @@ declare const registerDiscoveryDefaultStudyPreviewRenderers: () => void;
|
|
|
502
531
|
|
|
503
532
|
interface DiscoveryProviderValue {
|
|
504
533
|
discoveryConfig: DiscoveryIndexConfig;
|
|
505
|
-
setStudyDetails:
|
|
534
|
+
setStudyDetails: React__default.Dispatch<React__default.SetStateAction<JSONObject>>;
|
|
506
535
|
studyDetails: JSONObject;
|
|
507
536
|
}
|
|
508
537
|
declare const useDiscoveryContext: () => DiscoveryProviderValue;
|
|
509
538
|
declare const DiscoveryProvider: ({ children, discoveryIndexConfig, }: {
|
|
510
|
-
children:
|
|
539
|
+
children: React__default.ReactNode;
|
|
511
540
|
discoveryIndexConfig: DiscoveryIndexConfig;
|
|
512
541
|
}) => react_jsx_runtime.JSX.Element;
|
|
513
542
|
//# sourceMappingURL=DiscoveryProvider.d.ts.map
|
|
@@ -549,7 +578,7 @@ interface APICredentials {
|
|
|
549
578
|
}
|
|
550
579
|
|
|
551
580
|
declare const ProfileProvider: ({ children, profileConfig, }: {
|
|
552
|
-
children:
|
|
581
|
+
children: React__default.ReactNode;
|
|
553
582
|
profileConfig: ProfileConfig;
|
|
554
583
|
}) => react_jsx_runtime.JSX.Element;
|
|
555
584
|
//# sourceMappingURL=ProfileProvider.d.ts.map
|
|
@@ -568,7 +597,7 @@ declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFilt
|
|
|
568
597
|
//# sourceMappingURL=ResourcesFilters.d.ts.map
|
|
569
598
|
|
|
570
599
|
interface LoginButtonProps {
|
|
571
|
-
readonly icon?:
|
|
600
|
+
readonly icon?: React__default.ReactElement | string;
|
|
572
601
|
readonly hideText?: boolean;
|
|
573
602
|
className?: string;
|
|
574
603
|
tooltip?: string;
|
|
@@ -659,22 +688,11 @@ declare const NoAccessModal: ({ openModal, }: {
|
|
|
659
688
|
|
|
660
689
|
interface Gen3StandardModalsProviderProps {
|
|
661
690
|
config: ModalsConfig;
|
|
662
|
-
children:
|
|
691
|
+
children: React__default.ReactNode;
|
|
663
692
|
}
|
|
664
693
|
declare const Gen3ModalsProvider: ({ config, children, }: Gen3StandardModalsProviderProps) => react_jsx_runtime.JSX.Element;
|
|
665
694
|
//# sourceMappingURL=Gen3ModalsProvider.d.ts.map
|
|
666
695
|
|
|
667
|
-
interface SummaryChart {
|
|
668
|
-
readonly title: string;
|
|
669
|
-
readonly chartType: string;
|
|
670
|
-
readonly valueType?: 'count' | 'percent';
|
|
671
|
-
}
|
|
672
|
-
interface ChartProps {
|
|
673
|
-
data: HistogramDataArray;
|
|
674
|
-
total: number;
|
|
675
|
-
valueType?: 'count' | 'percent';
|
|
676
|
-
}
|
|
677
|
-
|
|
678
696
|
declare const capitalize: (original: string) => string;
|
|
679
697
|
declare const truncateString: (str: string, n: number) => string;
|
|
680
698
|
declare const removeKey: (key: any, { [key]: _, ...rest }: {
|
|
@@ -687,22 +705,23 @@ declare const processRangeKeyLabel: (key: [number, number]) => string;
|
|
|
687
705
|
/**
|
|
688
706
|
* Computes the row span for each item in the charts object.
|
|
689
707
|
*
|
|
690
|
-
* @param {
|
|
708
|
+
* @param { number } numItems - The charts object containing summary charts.
|
|
691
709
|
* @param {number} [numCols=3] - The number of columns per row.
|
|
692
710
|
* @returns {number[]} - An array of row spans for each item in the charts object.
|
|
693
711
|
*/
|
|
694
|
-
declare const computeRowSpan: (
|
|
712
|
+
declare const computeRowSpan: (numItems: number, numCols?: number) => Array<number>;
|
|
695
713
|
|
|
696
714
|
interface ChartsProps {
|
|
697
|
-
index: string;
|
|
698
715
|
charts: Record<string, SummaryChart>;
|
|
699
716
|
counts?: number;
|
|
700
717
|
data: AggregationsData;
|
|
701
718
|
isSuccess: boolean;
|
|
702
719
|
isError?: boolean;
|
|
703
720
|
numCols?: number;
|
|
721
|
+
style?: 'tile' | 'box';
|
|
722
|
+
showLegends?: boolean;
|
|
704
723
|
}
|
|
705
|
-
declare const Charts: ({
|
|
724
|
+
declare const Charts: ({ charts, data, counts, isSuccess, numCols, style, showLegends, }: ChartsProps) => react_jsx_runtime.JSX.Element;
|
|
706
725
|
|
|
707
726
|
interface ReactEChartsProps {
|
|
708
727
|
option: EChartsOption;
|
|
@@ -728,7 +747,7 @@ interface FacetChartProps {
|
|
|
728
747
|
readonly maxBins?: number;
|
|
729
748
|
readonly valueLabel?: string;
|
|
730
749
|
}
|
|
731
|
-
declare const EnumFacetChart:
|
|
750
|
+
declare const EnumFacetChart: React__default.FC<FacetChartProps>;
|
|
732
751
|
|
|
733
752
|
type RendererFunction<T> = (props: T, ...params: any[]) => ReactNode;
|
|
734
753
|
interface RendererFunctionCatalogEntry<T> {
|
|
@@ -874,14 +893,16 @@ interface ManifestFieldsConfig {
|
|
|
874
893
|
}
|
|
875
894
|
interface DataTypeConfig {
|
|
876
895
|
dataType: string;
|
|
877
|
-
nodeCountTitle
|
|
878
|
-
fieldMapping: ReadonlyArray<FieldToName>;
|
|
879
|
-
manifestMapping?: ManifestFieldsConfig;
|
|
896
|
+
nodeCountTitle?: string;
|
|
880
897
|
accessibleFieldCheckList?: string[];
|
|
881
898
|
accessibleValidationField?: string;
|
|
882
899
|
tierAccessLevel?: 'libre' | 'regular' | 'private';
|
|
883
900
|
tierAccessLimit?: number;
|
|
884
901
|
}
|
|
902
|
+
interface DataTypeConfigWithManifest extends DataTypeConfig {
|
|
903
|
+
manifestMapping?: ManifestFieldsConfig;
|
|
904
|
+
fieldMapping?: ReadonlyArray<FieldToName>;
|
|
905
|
+
}
|
|
885
906
|
interface DownloadButtonConfig extends DownloadButtonProps {
|
|
886
907
|
dropdownId?: string;
|
|
887
908
|
}
|
|
@@ -892,7 +913,7 @@ interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
|
|
|
892
913
|
dropdownItems: ReadonlyArray<DownloadButtonProps>;
|
|
893
914
|
}
|
|
894
915
|
interface CohortPanelConfig {
|
|
895
|
-
readonly guppyConfig:
|
|
916
|
+
readonly guppyConfig: DataTypeConfigWithManifest;
|
|
896
917
|
readonly tabTitle: string;
|
|
897
918
|
readonly charts?: Record<string, SummaryChart>;
|
|
898
919
|
readonly table?: SummaryTable;
|
|
@@ -968,6 +989,10 @@ declare const userHasMethodForServiceOnResource: (method: string, service: strin
|
|
|
968
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";
|
|
969
990
|
|
|
970
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;
|
|
971
996
|
|
|
972
997
|
declare const isArrayOfString: (value: any) => value is Array<string>;
|
|
973
998
|
declare const isTextTransform: (value: any) => value is CSSProperties["textTransform"];
|
|
@@ -1053,9 +1078,13 @@ interface ErrorCardProps {
|
|
|
1053
1078
|
message: string;
|
|
1054
1079
|
icon?: ReactElement;
|
|
1055
1080
|
}
|
|
1056
|
-
declare const ErrorCard:
|
|
1081
|
+
declare const ErrorCard: React__default.FunctionComponent<ErrorCardProps>;
|
|
1057
1082
|
//# sourceMappingURL=ErrorCard.d.ts.map
|
|
1058
1083
|
|
|
1084
|
+
declare const registerCohortDiscoveryApp: () => React$1.ReactNode;
|
|
1085
|
+
|
|
1086
|
+
declare const registerCohortDiversityApp: () => React$1.ReactNode;
|
|
1087
|
+
|
|
1059
1088
|
interface Gen3ProviderProps {
|
|
1060
1089
|
colors: Record<string, TenStringArray>;
|
|
1061
1090
|
icons: RegisteredIcons;
|
|
@@ -1388,4 +1417,4 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
|
|
|
1388
1417
|
|
|
1389
1418
|
declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
|
|
1390
1419
|
|
|
1391
|
-
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 };
|