@gen3/frontend 0.10.80 → 0.10.81
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 +3850 -3180
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/api/auth/credentialsLogin.d.ts.map +1 -1
- package/dist/dts/api/auth/credentialsLogin.js +36 -11
- package/dist/dts/api/auth/credentialsLogin.js.map +1 -1
- package/dist/dts/api/auth/credentialsLogout.d.ts.map +1 -1
- package/dist/dts/api/auth/credentialsLogout.js.map +1 -1
- package/dist/dts/api/auth/errorHandler.d.ts +19 -0
- package/dist/dts/api/auth/errorHandler.d.ts.map +1 -0
- package/dist/dts/api/auth/errorHandler.js +71 -0
- package/dist/dts/api/auth/errorHandler.js.map +1 -0
- package/dist/dts/api/auth/index.d.ts +3 -0
- package/dist/dts/api/auth/index.d.ts.map +1 -0
- package/dist/dts/api/auth/index.js +3 -0
- package/dist/dts/api/auth/index.js.map +1 -0
- package/dist/dts/api/auth/sessionLogout.d.ts.map +1 -1
- package/dist/dts/api/auth/sessionLogout.js +1 -1
- package/dist/dts/api/auth/sessionLogout.js.map +1 -1
- package/dist/dts/api/auth/sessionToken.d.ts +1 -1
- package/dist/dts/api/auth/sessionToken.d.ts.map +1 -1
- package/dist/dts/api/auth/sessionToken.js +42 -17
- package/dist/dts/api/auth/sessionToken.js.map +1 -1
- package/dist/dts/api/auth/utils.d.ts +13 -0
- package/dist/dts/api/auth/utils.d.ts.map +1 -0
- package/dist/dts/api/auth/utils.js +70 -0
- package/dist/dts/api/auth/utils.js.map +1 -0
- package/dist/dts/components/Buttons/ActionButton.d.ts.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.d.ts +1 -0
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.d.ts.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js +3 -3
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js.map +1 -1
- package/dist/dts/components/Buttons/DropdownButtons/DropdownButton.d.ts.map +1 -1
- package/dist/dts/components/Buttons/index.d.ts +6 -0
- package/dist/dts/components/Buttons/index.d.ts.map +1 -0
- package/dist/dts/components/Buttons/index.js +8 -0
- package/dist/dts/components/Buttons/index.js.map +1 -0
- package/dist/dts/components/Content/ContactWithEmailContent.d.ts.map +1 -1
- package/dist/dts/components/Content/LandingPageContent.d.ts.map +1 -1
- package/dist/dts/components/Content/ResearchPageContent.d.ts.map +1 -1
- package/dist/dts/components/Content/ResourcePageContent.d.ts.map +1 -1
- package/dist/dts/components/Content/TextContent.d.ts.map +1 -1
- package/dist/dts/components/Details/DefaultDetailsPanel.d.ts.map +1 -1
- package/dist/dts/components/Details/DetailsDrawer.d.ts.map +1 -1
- package/dist/dts/components/Details/DetailsModal.d.ts.map +1 -1
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.d.ts.map +1 -1
- package/dist/dts/components/Layout/CardGrid.d.ts.map +1 -1
- package/dist/dts/components/Layout/TexturedSidePanel.d.ts.map +1 -1
- package/dist/dts/components/Login/CredentialsLogin.d.ts.map +1 -1
- package/dist/dts/components/Login/CredentialsLogin.js +59 -55
- package/dist/dts/components/Login/CredentialsLogin.js.map +1 -1
- package/dist/dts/components/Login/LoginAccountButton.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginButton.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
- package/dist/dts/components/MessagePanel.d.ts.map +1 -1
- package/dist/dts/components/Modals/BaseModal.d.ts.map +1 -1
- package/dist/dts/components/Modals/CreateCredentialsAPIKeyModal.d.ts.map +1 -1
- package/dist/dts/components/Modals/FirstTimeModal.d.ts.map +1 -1
- package/dist/dts/components/Modals/Gen3ModalsProvider.d.ts.map +1 -1
- package/dist/dts/components/Modals/GeneralErrorModal.d.ts.map +1 -1
- package/dist/dts/components/Modals/NoAccessModal.d.ts.map +1 -1
- package/dist/dts/components/Modals/SessionExpiredModal.d.ts.map +1 -1
- package/dist/dts/components/OverflowTooltippedLabel.d.ts.map +1 -1
- package/dist/dts/components/Profile/ProfileProvider.d.ts.map +1 -1
- package/dist/dts/components/Profile/ResourcesFilters.d.ts.map +1 -1
- package/dist/dts/components/Profile/ResourcesProvider.d.ts.map +1 -1
- package/dist/dts/components/Profile/ResourcesTable.d.ts.map +1 -1
- package/dist/dts/components/Profile/utils.d.ts.map +1 -1
- package/dist/dts/components/Protected/ProtectedContent.d.ts.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.d.ts.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.d.ts +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.d.ts.map +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.js +6 -4
- package/dist/dts/components/Providers/ResourceMonitor.js.map +1 -1
- package/dist/dts/components/Tables/CellRenderFactory.d.ts.map +1 -1
- package/dist/dts/components/Tables/utils.d.ts.map +1 -1
- package/dist/dts/components/Text/MultiPartText.d.ts.map +1 -1
- package/dist/dts/components/charts/BarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.js +4 -2
- package/dist/dts/components/charts/Charts.js.map +1 -1
- package/dist/dts/components/charts/EnumFacetChart.d.ts.map +1 -1
- package/dist/dts/components/charts/PieChart.d.ts.map +1 -1
- package/dist/dts/components/charts/createChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/DonutChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/PieChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js +4 -2
- package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
- package/dist/dts/components/charts/echarts/VerticalBarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.d.ts.map +1 -1
- package/dist/dts/components/counts/CountsValue.d.ts.map +1 -1
- package/dist/dts/components/facets/EnumFacet.d.ts +1 -1
- package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/EnumFacet.js +15 -7
- package/dist/dts/components/facets/EnumFacet.js.map +1 -1
- package/dist/dts/components/facets/ExactValueFacet.d.ts +1 -0
- package/dist/dts/components/facets/ExactValueFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/ExactValueFacet.js +20 -11
- package/dist/dts/components/facets/ExactValueFacet.js.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.d.ts +7 -2
- package/dist/dts/components/facets/FacetControlsHeader.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.js +15 -4
- package/dist/dts/components/facets/FacetControlsHeader.js.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.d.ts +3 -0
- package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.js +36 -17
- package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
- package/dist/dts/components/facets/MultiSelectValueFacet.d.ts +1 -0
- package/dist/dts/components/facets/MultiSelectValueFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/MultiSelectValueFacet.js +17 -10
- package/dist/dts/components/facets/MultiSelectValueFacet.js.map +1 -1
- package/dist/dts/components/facets/RangeFacet.d.ts +1 -1
- package/dist/dts/components/facets/RangeFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/RangeFacet.js +12 -15
- package/dist/dts/components/facets/RangeFacet.js.map +1 -1
- package/dist/dts/components/facets/components.js +1 -1
- package/dist/dts/components/facets/components.js.map +1 -1
- package/dist/dts/components/facets/createFacetCard.d.ts.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/hooks.d.ts +1 -0
- package/dist/dts/components/facets/hooks.d.ts.map +1 -1
- package/dist/dts/components/facets/hooks.js +13 -2
- package/dist/dts/components/facets/hooks.js.map +1 -1
- package/dist/dts/components/facets/types.d.ts +12 -2
- 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 +55 -4
- package/dist/dts/components/facets/utils.d.ts.map +1 -1
- package/dist/dts/components/facets/utils.js +142 -21
- package/dist/dts/components/facets/utils.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenter.d.ts.map +1 -1
- package/dist/dts/features/Analysis/TextDescription.d.ts.map +1 -1
- package/dist/dts/features/Authz/Gen3Authz.d.ts.map +1 -1
- package/dist/dts/features/Authz/Policies/PoliciesTable.d.ts.map +1 -1
- package/dist/dts/features/Authz/Provider.d.ts.map +1 -1
- package/dist/dts/features/Authz/Roles/PermissionnDetailsRow.d.ts.map +1 -1
- package/dist/dts/features/Authz/Users/Cards/UserDetails.d.ts.map +1 -1
- package/dist/dts/features/Authz/Users/Inputs.d.ts.map +1 -1
- package/dist/dts/features/Authz/Users/NewUserPanel.d.ts.map +1 -1
- package/dist/dts/features/Authz/Users/UserDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/Authz/Users/UserTable.d.ts.map +1 -1
- package/dist/dts/features/Authz/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +2 -2
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.js +26 -8
- package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortManager.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortManager.js +2 -11
- package/dist/dts/features/CohortBuilder/CohortManager.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +42 -37
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/DownloadsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/RowTableDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +4 -4
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/FiltersPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/FiltersPanel.js +8 -2
- package/dist/dts/features/CohortBuilder/FiltersPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js +34 -7
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +27 -7
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts +6 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js +106 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts +16 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js +43 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryExpressionSection.d.ts → QueryExpression/QueryExpressionSection.d.ts} +1 -4
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryExpressionSection.js → QueryExpression/QueryExpressionSection.js} +30 -29
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionsExpandedContext.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionsExpandedContext.js.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryRepresentation.d.ts → QueryExpression/QueryRepresentation.d.ts} +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryRepresentation.js → QueryExpression/QueryRepresentation.js} +22 -30
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentationLabel.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentationLabel.js.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/index.d.ts +3 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/index.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/index.js +4 -0
- package/dist/dts/features/CohortBuilder/QueryExpression/index.js.map +1 -0
- package/dist/dts/features/CohortBuilder/downloads/CohortActionButton.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/CohortDropdownActionButton.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/actions/downloadManifest.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/actions/downloadToFile.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/actions/registeredActions.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/actions/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/hooks.d.ts +6 -1
- package/dist/dts/features/CohortBuilder/hooks.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/hooks.js +28 -1
- package/dist/dts/features/CohortBuilder/hooks.js.map +1 -1
- package/dist/dts/features/CohortBuilder/index.d.ts +3 -3
- package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/index.js +1 -1
- package/dist/dts/features/CohortBuilder/index.js.map +1 -1
- package/dist/dts/features/CohortBuilder/style.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/types.d.ts +24 -12
- 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/CohortDiscovery.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/CohortSimilarityApp.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/charts/ChartCard.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/charts/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/statistics/data/data.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/statistics/data/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/statistics/queries.d.ts.map +1 -1
- package/dist/dts/features/Crosswalk/CrosswalkPanel.d.ts.map +1 -1
- package/dist/dts/features/Crosswalk/CrosswalkTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DataLibrary.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/QueryDetails.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/QueryDetails.js +2 -2
- package/dist/dts/features/DataLibrary/QueryDetails.js.map +1 -1
- package/dist/dts/features/DataLibrary/modals/SelectedItemsModal.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/modals/SelectedItemsModal.js +0 -2
- package/dist/dts/features/DataLibrary/modals/SelectedItemsModal.js.map +1 -1
- package/dist/dts/features/DataLibrary/selection/SelectionContext.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/registeredActions.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/selectedItemActions.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/selection.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/utils.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/AdditionalDataTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/DatasetContentsTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/FilesTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/QueriesTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/tableSettings.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/utils.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/CategoryAccordionLabel.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/CategoryPanel.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/Cell.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/DictionaryProvider.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/DictionaryWithContext.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/ResultCard.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/ResultList.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/TableSearch.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/ViewSelector.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/metadata/MetadataDictionary.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/ActionBar.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/DownloadAsZipButton.d.ts.map +1 -1
- package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Charts/ChartsPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/AggMDSServer/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByAdvSearch.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/searchFilterSort.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/registeredDataLoaders.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Discovery.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryProvider.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/AdvancedSearch.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/AdvancedSearchPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/AiSearch.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/SearchFilters.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/SearchInput.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/SearchInputWithSuggestions.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Search/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/Statistics/SummaryStatisticPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/RendererFactory.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/SinglePageStudyDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyGroup.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyGroupPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyPage/DownloadLinksPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyPage/StudyPage.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyPage/StudyPageGroup.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRendererFactory.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
- package/dist/dts/features/Discovery/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/utils/processDataAccess.d.ts.map +1 -1
- package/dist/dts/features/Discovery/utils/processDownloadData.d.ts.map +1 -1
- package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
- package/dist/dts/features/Navigation/ActionMenu.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Footer/Footer.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Gen3Link.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Header.d.ts.map +1 -1
- package/dist/dts/features/Navigation/HorizontalClean/HorizontalNavigationBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/HoverLink.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavPageLayout.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavigationBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavigationBarButton.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavigationButton.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavigationLogo.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Vertical/LeftSidePanel.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Vertical/VerticalTopBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/utils.d.ts.map +1 -1
- package/dist/dts/features/Profile/Profile.d.ts.map +1 -1
- package/dist/dts/features/Query/GqlQueryEditor.d.ts.map +1 -1
- package/dist/dts/features/Query/QueryPanel.d.ts.map +1 -1
- package/dist/dts/features/Submission/SubmissionPanel.d.ts.map +1 -1
- package/dist/dts/features/Submission/Tables/ProjectTable.d.ts.map +1 -1
- package/dist/dts/features/Submission/utils.d.ts.map +1 -1
- package/dist/dts/features/Workspace/NotebookCard.d.ts.map +1 -1
- package/dist/dts/features/Workspace/Workspace.d.ts.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceProvider.d.ts.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceStatusProvider.d.ts.map +1 -1
- package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.d.ts.map +1 -1
- package/dist/dts/features/Workspace/calculateLaunchSteps.d.ts.map +1 -1
- package/dist/dts/features/Workspace/utils.d.ts.map +1 -1
- package/dist/dts/features/authorization/utils.d.ts.map +1 -1
- package/dist/dts/index.d.ts +4 -3
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +8 -2
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/session/hooks.d.ts +21 -13
- package/dist/dts/lib/session/hooks.d.ts.map +1 -1
- package/dist/dts/lib/session/hooks.js +41 -8
- package/dist/dts/lib/session/hooks.js.map +1 -1
- package/dist/dts/lib/session/session.d.ts +1 -1
- package/dist/dts/lib/session/session.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js +15 -7
- package/dist/dts/lib/session/session.js.map +1 -1
- package/dist/dts/lib/session/types.d.ts +4 -1
- package/dist/dts/lib/session/types.d.ts.map +1 -1
- package/dist/dts/lib/session/utils.d.ts.map +1 -1
- package/dist/dts/pages/AiSearch/AiSearch.d.ts.map +1 -1
- package/dist/dts/pages/Analysis/Analysis.d.ts.map +1 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +1 -1
- package/dist/dts/pages/DataLibrary/DataLibrary.d.ts.map +1 -1
- package/dist/dts/pages/Discovery/Discovery.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/Explorer.d.ts +1 -1
- package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/Explorer.js +2 -2
- package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
- package/dist/dts/pages/Explorer/data.d.ts +3 -1
- package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/data.js +125 -17
- package/dist/dts/pages/Explorer/data.js.map +1 -1
- package/dist/dts/pages/Explorer/index.d.ts +1 -1
- package/dist/dts/pages/Explorer/index.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/index.js +1 -1
- package/dist/dts/pages/Explorer/index.js.map +1 -1
- package/dist/dts/pages/Explorer/types.d.ts +2 -2
- package/dist/dts/pages/Explorer/types.d.ts.map +1 -1
- package/dist/dts/pages/Landing/Landing.d.ts.map +1 -1
- package/dist/dts/pages/Landing/about-us.d.ts.map +1 -1
- package/dist/dts/pages/Landing/contact.d.ts.map +1 -1
- package/dist/dts/pages/Landing/resource.d.ts.map +1 -1
- package/dist/dts/pages/Login/Login.d.ts.map +1 -1
- package/dist/dts/pages/NotebookLite/NotebookLite.d.ts.map +1 -1
- package/dist/dts/pages/Profile/Profile.d.ts.map +1 -1
- package/dist/dts/pages/Query/Query.d.ts.map +1 -1
- package/dist/dts/pages/Submission/Submission.d.ts.map +1 -1
- package/dist/dts/pages/Theme/Colors.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/Workspace.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/WorkspaceNoAccess.d.ts.map +1 -1
- package/dist/dts/pages/admin/Workspace/WorkspaceNotebooks.d.ts.map +1 -1
- package/dist/dts/pages/admin/Workspace/data.d.ts.map +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -1
- package/dist/dts/pages/admin/authz/Authz.d.ts.map +1 -1
- package/dist/dts/pages/external/footer.d.ts.map +1 -1
- package/dist/dts/pages/index.d.ts.map +1 -1
- package/dist/dts/types/common.d.ts +4 -0
- package/dist/dts/types/common.d.ts.map +1 -1
- package/dist/dts/utils/authMapping.d.ts.map +1 -1
- package/dist/dts/utils/colors.d.ts.map +1 -1
- package/dist/dts/utils/download.d.ts.map +1 -1
- package/dist/dts/utils/isType.d.ts.map +1 -1
- package/dist/dts/utils/labels.d.ts.map +1 -1
- package/dist/dts/utils/mergeDefaultTailwindClassnames.d.ts.map +1 -1
- package/dist/dts/utils/strings.d.ts.map +1 -1
- package/dist/dts/utils/tailwindConfig.d.ts.map +1 -1
- package/dist/dts/utils/time.d.ts.map +1 -1
- package/dist/dts/utils/useTraceUpdate.d.ts.map +1 -1
- package/dist/dts/utils/values.d.ts.map +1 -1
- package/dist/esm/index.js +3852 -3189
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +80 -18
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -6
- package/LICENSE +0 -201
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpressionsExpandedContext.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpressionsExpandedContext.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryRepresentation.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryRepresentation.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryRepresentationLabel.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryRepresentationLabel.js.map +0 -1
- package/dist/dts/features/CohortDistance/CohortDistanceApp.d.ts +0 -4
- package/dist/dts/features/CohortDistance/CohortDistanceApp.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/CohortDistanceApp.js +0 -54
- package/dist/dts/features/CohortDistance/CohortDistanceApp.js.map +0 -1
- package/dist/dts/features/CohortDistance/ComnparisonCard.d.ts +0 -15
- package/dist/dts/features/CohortDistance/ComnparisonCard.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/ComnparisonCard.js +0 -32
- package/dist/dts/features/CohortDistance/ComnparisonCard.js.map +0 -1
- package/dist/dts/features/CohortDistance/ComparisonCards.d.ts +0 -15
- package/dist/dts/features/CohortDistance/ComparisonCards.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/ComparisonCards.js +0 -14
- package/dist/dts/features/CohortDistance/ComparisonCards.js.map +0 -1
- package/dist/dts/features/CohortDistance/appApi.d.ts +0 -8
- package/dist/dts/features/CohortDistance/appApi.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/appApi.js +0 -4
- package/dist/dts/features/CohortDistance/appApi.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/BarComparison.d.ts +0 -5
- package/dist/dts/features/CohortDistance/charts/BarComparison.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/BarComparison.js +0 -70
- package/dist/dts/features/CohortDistance/charts/BarComparison.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/ChartCard.d.ts +0 -16
- package/dist/dts/features/CohortDistance/charts/ChartCard.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/ChartCard.js +0 -45
- package/dist/dts/features/CohortDistance/charts/ChartCard.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/ComparisonCharts.d.ts +0 -13
- package/dist/dts/features/CohortDistance/charts/ComparisonCharts.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/ComparisonCharts.js +0 -18
- package/dist/dts/features/CohortDistance/charts/ComparisonCharts.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/RadarComparison.d.ts +0 -5
- package/dist/dts/features/CohortDistance/charts/RadarComparison.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/RadarComparison.js +0 -90
- package/dist/dts/features/CohortDistance/charts/RadarComparison.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/cohortDistanceChartsFactory.d.ts +0 -6
- package/dist/dts/features/CohortDistance/charts/cohortDistanceChartsFactory.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/cohortDistanceChartsFactory.js +0 -24
- package/dist/dts/features/CohortDistance/charts/cohortDistanceChartsFactory.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/types.d.ts +0 -12
- package/dist/dts/features/CohortDistance/charts/types.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/types.js +0 -2
- package/dist/dts/features/CohortDistance/charts/types.js.map +0 -1
- package/dist/dts/features/CohortDistance/charts/utils.d.ts +0 -2
- package/dist/dts/features/CohortDistance/charts/utils.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/charts/utils.js +0 -4
- package/dist/dts/features/CohortDistance/charts/utils.js.map +0 -1
- package/dist/dts/features/CohortDistance/cohortDistanceApi.d.ts +0 -141
- package/dist/dts/features/CohortDistance/cohortDistanceApi.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/cohortDistanceApi.js +0 -14
- package/dist/dts/features/CohortDistance/cohortDistanceApi.js.map +0 -1
- package/dist/dts/features/CohortDistance/registerApp.d.ts +0 -3
- package/dist/dts/features/CohortDistance/registerApp.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/registerApp.js +0 -19
- package/dist/dts/features/CohortDistance/registerApp.js.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/StatisticsCard.d.ts +0 -9
- package/dist/dts/features/CohortDistance/statistics/StatisticsCard.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/StatisticsCard.js +0 -68
- package/dist/dts/features/CohortDistance/statistics/StatisticsCard.js.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/StatisticsPanel.d.ts +0 -13
- package/dist/dts/features/CohortDistance/statistics/StatisticsPanel.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/StatisticsPanel.js +0 -16
- package/dist/dts/features/CohortDistance/statistics/StatisticsPanel.js.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/data/data.d.ts +0 -2
- package/dist/dts/features/CohortDistance/statistics/data/data.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/data/data.js +0 -50
- package/dist/dts/features/CohortDistance/statistics/data/data.js.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/data/tests/distanceResponse.json +0 -228
- package/dist/dts/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.d.ts +0 -2
- package/dist/dts/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.js +0 -365
- package/dist/dts/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.js.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/data/utils.d.ts +0 -49
- package/dist/dts/features/CohortDistance/statistics/data/utils.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/data/utils.js +0 -146
- package/dist/dts/features/CohortDistance/statistics/data/utils.js.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/queries.d.ts +0 -6
- package/dist/dts/features/CohortDistance/statistics/queries.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/statistics/queries.js +0 -24
- package/dist/dts/features/CohortDistance/statistics/queries.js.map +0 -1
- package/dist/dts/features/CohortDistance/types.d.ts +0 -26
- package/dist/dts/features/CohortDistance/types.d.ts.map +0 -1
- package/dist/dts/features/CohortDistance/types.js +0 -2
- package/dist/dts/features/CohortDistance/types.js.map +0 -1
- package/dist/dts/features/Discovery/ActionBar/registeredActions.d.ts +0 -1
- package/dist/dts/features/Discovery/ActionBar/registeredActions.d.ts.map +0 -1
- package/dist/dts/features/Discovery/ActionBar/registeredActions.js +0 -46
- package/dist/dts/features/Discovery/ActionBar/registeredActions.js.map +0 -1
- /package/dist/dts/features/CohortBuilder/{QueryExpressionsExpandedContext.d.ts → QueryExpression/QueryExpressionsExpandedContext.d.ts} +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryExpressionsExpandedContext.js → QueryExpression/QueryExpressionsExpandedContext.js} +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryRepresentationLabel.d.ts → QueryExpression/QueryRepresentationLabel.d.ts} +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryRepresentationLabel.js → QueryExpression/QueryRepresentationLabel.js} +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { fieldNameToTitle } from '@gen3/core';
|
|
3
|
-
import { Card, Grid, Text } from '@mantine/core';
|
|
4
|
-
import { computeRowSpan } from '../../../components/charts';
|
|
5
|
-
import StatisticsCard from './StatisticsCard';
|
|
6
|
-
var StatisticsPanel = function (_a) {
|
|
7
|
-
var data = _a.data, datasets = _a.datasets, comparisonChartsConfig = _a.comparisonChartsConfig, _b = _a.numColumns, numColumns = _b === void 0 ? 2 : _b;
|
|
8
|
-
var spans = computeRowSpan(Object.keys(comparisonChartsConfig).length, numColumns);
|
|
9
|
-
var ground = data[datasets.ground.dataset];
|
|
10
|
-
var comparison = data[datasets.comparison[0].dataset];
|
|
11
|
-
return (_jsx(Grid, { className: "w-full", children: Object.keys(comparisonChartsConfig).map(function (field, indexNum) {
|
|
12
|
-
return (_jsx(Grid.Col, { span: spans[indexNum], children: _jsxs(Card, { shadow: "sm", padding: "lg", radius: "md", withBorder: true, children: [_jsx(Text, { size: "lg", fw: 700, mb: "md", children: fieldNameToTitle(field) }), _jsx(StatisticsCard, { baseData: ground[field], comparisonData: comparison[field] })] }) }, "".concat(indexNum, "-charts-").concat(field, "-col")));
|
|
13
|
-
}) }));
|
|
14
|
-
};
|
|
15
|
-
export default StatisticsPanel;
|
|
16
|
-
//# sourceMappingURL=StatisticsPanel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StatisticsPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortDistance/statistics/StatisticsPanel.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAU9C,IAAM,eAAe,GAAmC,UAAC,EAKxD;QAJC,IAAI,UAAA,EACJ,QAAQ,cAAA,EACR,sBAAsB,4BAAA,EACtB,kBAAc,EAAd,UAAU,mBAAG,CAAC,KAAA;IAEd,IAAM,KAAK,GAAG,cAAc,CAC1B,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,MAAM,EAC1C,UAAU,CACX,CAAC;IACF,IAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7C,IAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAExD,OAAO,CACL,KAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,YACrB,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,GAAG,CAAC,UAAC,KAAK,EAAE,QAAQ;YACvD,OAAO,CACL,KAAC,IAAI,CAAC,GAAG,IACP,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,YAGrB,MAAC,IAAI,IAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,UAAU,mBACnD,KAAC,IAAI,IAAC,IAAI,EAAC,IAAI,EAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAC,IAAI,YAC7B,gBAAgB,CAAC,KAAK,CAAC,GACnB,EACP,KAAC,cAAc,IACb,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,EACvB,cAAc,EAAE,UAAU,CAAC,KAAK,CAAC,GACjC,IACG,IAVF,UAAG,QAAQ,qBAAW,KAAK,SAAM,CAW7B,CACZ,CAAC;QACJ,CAAC,CAAC,GACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CohortDistance/statistics/data/data.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,YAAa,MAAM,0CA+CpD,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { convertToAggregateData } from './utils';
|
|
2
|
-
export var getStaticDistanceData = function (dataset) {
|
|
3
|
-
return convertToAggregateData({
|
|
4
|
-
census: {
|
|
5
|
-
age_at_index: {
|
|
6
|
-
'0-4 Years': 6,
|
|
7
|
-
'5-11 Years': 8.7,
|
|
8
|
-
'12-15 Years': 5.1,
|
|
9
|
-
'16-17 Years': 2.5,
|
|
10
|
-
'18-29 Years': 16.4,
|
|
11
|
-
'30-39 Years': 13.5,
|
|
12
|
-
'40-49 Years': 12.3,
|
|
13
|
-
'50-64 Years': 19.2,
|
|
14
|
-
'65-74 Years': 9.6,
|
|
15
|
-
'75-84 Years': 4.9,
|
|
16
|
-
'85-89 Years': 2,
|
|
17
|
-
},
|
|
18
|
-
race: {
|
|
19
|
-
White: 61.6315330007,
|
|
20
|
-
'Black or African American': 12.4013544021,
|
|
21
|
-
Asian: 5.9997260938,
|
|
22
|
-
Other: 18.6347237845,
|
|
23
|
-
'American Indian or Alaska Native': 1.1244963298,
|
|
24
|
-
'Native Hawaiian or Other Pacific Islander': 0.2081663891,
|
|
25
|
-
'Not Reported': 0,
|
|
26
|
-
},
|
|
27
|
-
ethnicity: {
|
|
28
|
-
'Hispanic or Latino': 18.7298774077,
|
|
29
|
-
'Not Hispanic or Latino': 81.2701225923,
|
|
30
|
-
'Not Reported': 0,
|
|
31
|
-
},
|
|
32
|
-
sex: {
|
|
33
|
-
Female: 50.75,
|
|
34
|
-
Male: 49.25,
|
|
35
|
-
'Not Reported': 0,
|
|
36
|
-
},
|
|
37
|
-
race_and_ethnicity: {
|
|
38
|
-
'Hispanic or Latino': 18.45,
|
|
39
|
-
'American Indian or Alaska Native, Not Hispanic or Latino': 0.74,
|
|
40
|
-
'Asian, Not Hispanic or Latino': 5.76,
|
|
41
|
-
'Black, Not Hispanic or Latino': 12.54,
|
|
42
|
-
'Native Hawaiian or Other Pacific Islander, Not Hispanic or Latino': 0.182,
|
|
43
|
-
'White, Not Hispanic or Latino': 60.11,
|
|
44
|
-
'Multiple or Other, Not Hispanic or Latino': 2.22,
|
|
45
|
-
'Not Reported': 0,
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
})[dataset];
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=data.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../../../../src/features/CohortDistance/statistics/data/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,OAAe;IACnD,OAAO,sBAAsB,CAAC;QAC5B,MAAM,EAAE;YACN,YAAY,EAAE;gBACZ,WAAW,EAAE,CAAC;gBACd,YAAY,EAAE,GAAG;gBACjB,aAAa,EAAE,GAAG;gBAClB,aAAa,EAAE,GAAG;gBAClB,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,GAAG;gBAClB,aAAa,EAAE,GAAG;gBAClB,aAAa,EAAE,CAAC;aACjB;YACD,IAAI,EAAE;gBACJ,KAAK,EAAE,aAAa;gBACpB,2BAA2B,EAAE,aAAa;gBAC1C,KAAK,EAAE,YAAY;gBACnB,KAAK,EAAE,aAAa;gBACpB,kCAAkC,EAAE,YAAY;gBAChD,2CAA2C,EAAE,YAAY;gBACzD,cAAc,EAAE,CAAC;aAClB;YACD,SAAS,EAAE;gBACT,oBAAoB,EAAE,aAAa;gBACnC,wBAAwB,EAAE,aAAa;gBACvC,cAAc,EAAE,CAAC;aAClB;YACD,GAAG,EAAE;gBACH,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,KAAK;gBACX,cAAc,EAAE,CAAC;aAClB;YACD,kBAAkB,EAAE;gBAClB,oBAAoB,EAAE,KAAK;gBAC3B,0DAA0D,EAAE,IAAI;gBAChE,+BAA+B,EAAE,IAAI;gBACrC,+BAA+B,EAAE,KAAK;gBACtC,mEAAmE,EAAE,KAAK;gBAC1E,+BAA+B,EAAE,KAAK;gBACtC,2CAA2C,EAAE,IAAI;gBACjD,cAAc,EAAE,CAAC;aAClB;SACF;KACF,CAAC,CAAC,OAAO,CAAC,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"data": {
|
|
3
|
-
"_aggregation": {
|
|
4
|
-
"case": {
|
|
5
|
-
"_totalCount": 74055,
|
|
6
|
-
"sex": {
|
|
7
|
-
"histogram": [
|
|
8
|
-
{
|
|
9
|
-
"key": "Female",
|
|
10
|
-
"count": 34496
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"key": "Male",
|
|
14
|
-
"count": 33208
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "Not Reported",
|
|
18
|
-
"count": 21
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"key": "no data",
|
|
22
|
-
"count": 6330
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"ethnicity": {
|
|
27
|
-
"histogram": [
|
|
28
|
-
{
|
|
29
|
-
"key": "Not Hispanic or Latino",
|
|
30
|
-
"count": 55040
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"key": "Not Reported",
|
|
34
|
-
"count": 6695
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"key": "Hispanic or Latino",
|
|
38
|
-
"count": 5402
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"key": "no data",
|
|
42
|
-
"count": 6918
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"race": {
|
|
47
|
-
"histogram": [
|
|
48
|
-
{
|
|
49
|
-
"key": "White",
|
|
50
|
-
"count": 33572
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"key": "Black or African American",
|
|
54
|
-
"count": 20624
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"key": "Not Reported",
|
|
58
|
-
"count": 5570
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"key": "Asian",
|
|
62
|
-
"count": 3512
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"key": "Other",
|
|
66
|
-
"count": 1966
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"key": "American Indian or Alaska Native",
|
|
70
|
-
"count": 169
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"key": "Native Hawaiian or other Pacific Islander",
|
|
74
|
-
"count": 158
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"key": "no data",
|
|
78
|
-
"count": 8484
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"case_0_4": {
|
|
84
|
-
"age_at_index": {
|
|
85
|
-
"histogram": [
|
|
86
|
-
{
|
|
87
|
-
"key": [
|
|
88
|
-
0,
|
|
89
|
-
4
|
|
90
|
-
],
|
|
91
|
-
"count": 568
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"case_5_11": {
|
|
97
|
-
"age_at_index": {
|
|
98
|
-
"histogram": [
|
|
99
|
-
{
|
|
100
|
-
"key": [
|
|
101
|
-
5,
|
|
102
|
-
11
|
|
103
|
-
],
|
|
104
|
-
"count": 308
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"case_12_15": {
|
|
110
|
-
"age_at_index": {
|
|
111
|
-
"histogram": [
|
|
112
|
-
{
|
|
113
|
-
"key": [
|
|
114
|
-
12,
|
|
115
|
-
15
|
|
116
|
-
],
|
|
117
|
-
"count": 243
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"case_16_17": {
|
|
123
|
-
"age_at_index": {
|
|
124
|
-
"histogram": [
|
|
125
|
-
{
|
|
126
|
-
"key": [
|
|
127
|
-
16,
|
|
128
|
-
17
|
|
129
|
-
],
|
|
130
|
-
"count": 244
|
|
131
|
-
}
|
|
132
|
-
]
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"case_18_29": {
|
|
136
|
-
"age_at_index": {
|
|
137
|
-
"histogram": [
|
|
138
|
-
{
|
|
139
|
-
"key": [
|
|
140
|
-
18,
|
|
141
|
-
29
|
|
142
|
-
],
|
|
143
|
-
"count": 5047
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"case_30_39": {
|
|
149
|
-
"age_at_index": {
|
|
150
|
-
"histogram": [
|
|
151
|
-
{
|
|
152
|
-
"key": [
|
|
153
|
-
30,
|
|
154
|
-
39
|
|
155
|
-
],
|
|
156
|
-
"count": 6966
|
|
157
|
-
}
|
|
158
|
-
]
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"case_40_49": {
|
|
162
|
-
"age_at_index": {
|
|
163
|
-
"histogram": [
|
|
164
|
-
{
|
|
165
|
-
"key": [
|
|
166
|
-
40,
|
|
167
|
-
49
|
|
168
|
-
],
|
|
169
|
-
"count": 8354
|
|
170
|
-
}
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"case_50_64": {
|
|
175
|
-
"age_at_index": {
|
|
176
|
-
"histogram": [
|
|
177
|
-
{
|
|
178
|
-
"key": [
|
|
179
|
-
50,
|
|
180
|
-
64
|
|
181
|
-
],
|
|
182
|
-
"count": 19265
|
|
183
|
-
}
|
|
184
|
-
]
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"case_65_74": {
|
|
188
|
-
"age_at_index": {
|
|
189
|
-
"histogram": [
|
|
190
|
-
{
|
|
191
|
-
"key": [
|
|
192
|
-
65,
|
|
193
|
-
74
|
|
194
|
-
],
|
|
195
|
-
"count": 12820
|
|
196
|
-
}
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"case_75_84": {
|
|
201
|
-
"age_at_index": {
|
|
202
|
-
"histogram": [
|
|
203
|
-
{
|
|
204
|
-
"key": [
|
|
205
|
-
75,
|
|
206
|
-
84
|
|
207
|
-
],
|
|
208
|
-
"count": 8764
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"case_85_plus": {
|
|
214
|
-
"age_at_index": {
|
|
215
|
-
"histogram": [
|
|
216
|
-
{
|
|
217
|
-
"key": [
|
|
218
|
-
85,
|
|
219
|
-
89
|
|
220
|
-
],
|
|
221
|
-
"count": 2680
|
|
222
|
-
}
|
|
223
|
-
]
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"processHistogramResponse.unit.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.ts"],"names":[],"mappings":""}
|
package/dist/dts/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.js
DELETED
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
import distanceData from './distanceResponse.json';
|
|
2
|
-
import { getStaticDistanceData } from '../data';
|
|
3
|
-
import { normalizeAgeOfIndex, processHistogramResponseAsPercentage, alignData, } from '../utils';
|
|
4
|
-
// Define the test
|
|
5
|
-
describe('Testing the processHistogramResponseAsPercentage function', function () {
|
|
6
|
-
it('Should correctly process percentage data', function () {
|
|
7
|
-
var result = processHistogramResponseAsPercentage(distanceData.data);
|
|
8
|
-
var expectedResult = {
|
|
9
|
-
age_at_index: [
|
|
10
|
-
{
|
|
11
|
-
count: 3.6189318749578017,
|
|
12
|
-
key: '85-89',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
count: 11.834447370197825,
|
|
16
|
-
key: '75-84',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
count: 17.311457700357842,
|
|
20
|
-
key: '65-74',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
count: 26.01444872054554,
|
|
24
|
-
key: '50-64',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
count: 11.280804807237864,
|
|
28
|
-
key: '40-49',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
count: 9.406522179461211,
|
|
32
|
-
key: '30-39',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
count: 6.815204915265681,
|
|
36
|
-
key: '18-29',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
count: 0.32948484234690434,
|
|
40
|
-
key: '16-17',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
count: 0.3281344946323679,
|
|
44
|
-
key: '12-15',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
count: 0.4159070960772399,
|
|
48
|
-
key: '5-11',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
count: 0.7669975018567281,
|
|
52
|
-
key: '0-4',
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
ethnicity: [
|
|
56
|
-
{
|
|
57
|
-
count: 74.32313820808858,
|
|
58
|
-
key: 'Not Hispanic or Latino',
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
count: 9.040577948821822,
|
|
62
|
-
key: 'Not Reported',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
count: 7.294578353926136,
|
|
66
|
-
key: 'Hispanic or Latino',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
count: 9.34170548916346,
|
|
70
|
-
key: 'no data',
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
race: [
|
|
74
|
-
{
|
|
75
|
-
count: 45.33387347241915,
|
|
76
|
-
key: 'White',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
count: 27.849571264600637,
|
|
80
|
-
key: 'Black or African American',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
count: 7.5214367699682665,
|
|
84
|
-
key: 'Not Reported',
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
count: 4.742421173452164,
|
|
88
|
-
key: 'Asian',
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
count: 2.6547836067787456,
|
|
92
|
-
key: 'Other',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
count: 0.22820876375666735,
|
|
96
|
-
key: 'American Indian or Alaska Native',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
count: 0.2133549388967659,
|
|
100
|
-
key: 'Native Hawaiian or other Pacific Islander',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
count: 11.456350010127608,
|
|
104
|
-
key: 'no data',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
sex: [
|
|
108
|
-
{
|
|
109
|
-
count: 46.581594760650866,
|
|
110
|
-
key: 'Female',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
count: 44.84234690432786,
|
|
114
|
-
key: 'Male',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
count: 0.028357302005266354,
|
|
118
|
-
key: 'Not Reported',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
count: 8.547701033016002,
|
|
122
|
-
key: 'no data',
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
};
|
|
126
|
-
expect(result).toEqual(expectedResult);
|
|
127
|
-
});
|
|
128
|
-
it('Should normalize the results', function () {
|
|
129
|
-
var result = processHistogramResponseAsPercentage(distanceData.data);
|
|
130
|
-
var normalized = normalizeAgeOfIndex(result);
|
|
131
|
-
var expectedResult = {
|
|
132
|
-
age_at_index: [
|
|
133
|
-
{
|
|
134
|
-
count: 3.6189318749578017,
|
|
135
|
-
key: '85-89 Years',
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
count: 11.834447370197825,
|
|
139
|
-
key: '75-84 Years',
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
count: 17.311457700357842,
|
|
143
|
-
key: '65-74 Years',
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
count: 26.01444872054554,
|
|
147
|
-
key: '50-64 Years',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
count: 11.280804807237864,
|
|
151
|
-
key: '40-49 Years',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
count: 9.406522179461211,
|
|
155
|
-
key: '30-39 Years',
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
count: 6.815204915265681,
|
|
159
|
-
key: '18-29 Years',
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
count: 0.32948484234690434,
|
|
163
|
-
key: '16-17 Years',
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
count: 0.3281344946323679,
|
|
167
|
-
key: '12-15 Years',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
count: 0.4159070960772399,
|
|
171
|
-
key: '5-11 Years',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
count: 0.7669975018567281,
|
|
175
|
-
key: '0-4 Years',
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
ethnicity: [
|
|
179
|
-
{
|
|
180
|
-
count: 74.32313820808858,
|
|
181
|
-
key: 'Not Hispanic or Latino',
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
count: 9.040577948821822,
|
|
185
|
-
key: 'Not Reported',
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
count: 7.294578353926136,
|
|
189
|
-
key: 'Hispanic or Latino',
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
count: 9.34170548916346,
|
|
193
|
-
key: 'no data',
|
|
194
|
-
},
|
|
195
|
-
],
|
|
196
|
-
race: [
|
|
197
|
-
{
|
|
198
|
-
count: 45.33387347241915,
|
|
199
|
-
key: 'White',
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
count: 27.849571264600637,
|
|
203
|
-
key: 'Black or African American',
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
count: 7.5214367699682665,
|
|
207
|
-
key: 'Not Reported',
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
count: 4.742421173452164,
|
|
211
|
-
key: 'Asian',
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
count: 2.6547836067787456,
|
|
215
|
-
key: 'Other',
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
count: 0.22820876375666735,
|
|
219
|
-
key: 'American Indian or Alaska Native',
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
count: 0.2133549388967659,
|
|
223
|
-
key: 'Native Hawaiian or other Pacific Islander',
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
count: 11.456350010127608,
|
|
227
|
-
key: 'no data',
|
|
228
|
-
},
|
|
229
|
-
],
|
|
230
|
-
sex: [
|
|
231
|
-
{
|
|
232
|
-
count: 46.581594760650866,
|
|
233
|
-
key: 'Female',
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
count: 44.84234690432786,
|
|
237
|
-
key: 'Male',
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
count: 0.028357302005266354,
|
|
241
|
-
key: 'Not Reported',
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
count: 8.547701033016002,
|
|
245
|
-
key: 'no data',
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
};
|
|
249
|
-
expect(normalized).toEqual(expectedResult);
|
|
250
|
-
});
|
|
251
|
-
it('Should align the source data with the ground data', function () {
|
|
252
|
-
var result = processHistogramResponseAsPercentage(distanceData.data);
|
|
253
|
-
var normalized = normalizeAgeOfIndex(result);
|
|
254
|
-
var ground = getStaticDistanceData('census');
|
|
255
|
-
var aligned = alignData(normalized, ground);
|
|
256
|
-
var expectedResult = {
|
|
257
|
-
age_at_index: [
|
|
258
|
-
{
|
|
259
|
-
count: 0.7669975018567281,
|
|
260
|
-
key: '0-4 Years',
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
count: 0.4159070960772399,
|
|
264
|
-
key: '5-11 Years',
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
count: 0.3281344946323679,
|
|
268
|
-
key: '12-15 Years',
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
count: 0.32948484234690434,
|
|
272
|
-
key: '16-17 Years',
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
count: 6.815204915265681,
|
|
276
|
-
key: '18-29 Years',
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
count: 9.406522179461211,
|
|
280
|
-
key: '30-39 Years',
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
count: 11.280804807237864,
|
|
284
|
-
key: '40-49 Years',
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
count: 26.01444872054554,
|
|
288
|
-
key: '50-64 Years',
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
count: 17.311457700357842,
|
|
292
|
-
key: '65-74 Years',
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
count: 11.834447370197825,
|
|
296
|
-
key: '75-84 Years',
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
count: 3.6189318749578017,
|
|
300
|
-
key: '85-89 Years',
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
ethnicity: [
|
|
304
|
-
{
|
|
305
|
-
count: 7.294578353926136,
|
|
306
|
-
key: 'Hispanic or Latino',
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
count: 74.32313820808858,
|
|
310
|
-
key: 'Not Hispanic or Latino',
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
count: 9.040577948821822,
|
|
314
|
-
key: 'Not Reported',
|
|
315
|
-
},
|
|
316
|
-
],
|
|
317
|
-
race: [
|
|
318
|
-
{
|
|
319
|
-
count: 45.33387347241915,
|
|
320
|
-
key: 'White',
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
count: 27.849571264600637,
|
|
324
|
-
key: 'Black or African American',
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
count: 4.742421173452164,
|
|
328
|
-
key: 'Asian',
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
count: 2.6547836067787456,
|
|
332
|
-
key: 'Other',
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
count: 0.22820876375666735,
|
|
336
|
-
key: 'American Indian or Alaska Native',
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
count: 0,
|
|
340
|
-
key: 'Native Hawaiian or Other Pacific Islander',
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
count: 7.5214367699682665,
|
|
344
|
-
key: 'Not Reported',
|
|
345
|
-
},
|
|
346
|
-
],
|
|
347
|
-
sex: [
|
|
348
|
-
{
|
|
349
|
-
count: 46.581594760650866,
|
|
350
|
-
key: 'Female',
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
count: 44.84234690432786,
|
|
354
|
-
key: 'Male',
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
count: 0.028357302005266354,
|
|
358
|
-
key: 'Not Reported',
|
|
359
|
-
},
|
|
360
|
-
],
|
|
361
|
-
};
|
|
362
|
-
expect(aligned).toEqual(expectedResult);
|
|
363
|
-
});
|
|
364
|
-
});
|
|
365
|
-
//# sourceMappingURL=processHistogramResponse.unit.test.js.map
|