@gen3/frontend 0.10.94 → 0.10.97
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 +5783 -2696
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Content/LandingPageContent.d.ts +2 -1
- package/dist/dts/components/Content/LandingPageContent.d.ts.map +1 -1
- package/dist/dts/components/Content/LandingPageContent.js.map +1 -1
- package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts +64 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.js +38 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts +2 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts.map +1 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js +141 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js.map +1 -0
- package/dist/dts/components/DropdownMenu/index.d.ts +3 -0
- package/dist/dts/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/dts/components/DropdownMenu/index.js +3 -0
- package/dist/dts/components/DropdownMenu/index.js.map +1 -0
- package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginPanel.js +1 -0
- package/dist/dts/components/Login/LoginPanel.js.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.js +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
- package/dist/dts/components/Login/types.d.ts +2 -1
- package/dist/dts/components/Login/types.d.ts.map +1 -1
- package/dist/dts/components/Login/types.js.map +1 -1
- package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts +5 -0
- package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts.map +1 -0
- package/dist/dts/components/MessageCards/EmptyTableMessage.js +9 -0
- package/dist/dts/components/MessageCards/EmptyTableMessage.js.map +1 -0
- package/dist/dts/components/MessageCards/ErrorMessage.d.ts +7 -0
- package/dist/dts/components/MessageCards/ErrorMessage.d.ts.map +1 -0
- package/dist/dts/components/MessageCards/ErrorMessage.js +8 -0
- package/dist/dts/components/MessageCards/ErrorMessage.js.map +1 -0
- package/dist/dts/components/MessageCards/index.d.ts +2 -1
- package/dist/dts/components/MessageCards/index.d.ts.map +1 -1
- package/dist/dts/components/MessageCards/index.js +2 -1
- package/dist/dts/components/MessageCards/index.js.map +1 -1
- package/dist/dts/components/Profile/types.d.ts +2 -1
- package/dist/dts/components/Profile/types.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.js +2 -0
- package/dist/dts/components/charts/Charts.js.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.js +42 -4
- package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.js +3 -2
- package/dist/dts/components/charts/echarts/HorizontalBarChart.js.map +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
- package/dist/dts/components/charts/types.d.ts +2 -0
- package/dist/dts/components/charts/types.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.d.ts +1 -1
- package/dist/dts/components/charts/utils.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.js +2 -4
- package/dist/dts/components/charts/utils.js.map +1 -1
- package/dist/dts/components/facets/EnumFacet.d.ts +2 -1
- package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/EnumFacet.js.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.js +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.js.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.js +7 -30
- package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
- package/dist/dts/components/facets/FacetSelector.d.ts +1 -1
- package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetSelector.js +9 -7
- package/dist/dts/components/facets/FacetSelector.js.map +1 -1
- package/dist/dts/components/facets/types.d.ts +1 -0
- 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 +4 -2
- package/dist/dts/components/facets/utils.d.ts.map +1 -1
- package/dist/dts/components/facets/utils.js +27 -1
- package/dist/dts/components/facets/utils.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
- package/dist/dts/features/Analysis/types.d.ts +2 -1
- package/dist/dts/features/Analysis/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/types.js.map +1 -1
- package/dist/dts/features/CohortBuilder/AccessLevel.d.ts +8 -0
- package/dist/dts/features/CohortBuilder/AccessLevel.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/AccessLevel.js +20 -0
- package/dist/dts/features/CohortBuilder/AccessLevel.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +1 -0
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.js +4 -20
- package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts +20 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js +37 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +18 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +149 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js +122 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts +19 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js +52 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts +10 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js +37 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts +13 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js +33 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts +7 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js +80 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.js +4 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts +13 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js +15 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js +8 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts +32 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js +190 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts +2 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js +145 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts +29 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js +79 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.js +21 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts +49 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.js +2 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts +6 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js +21 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts +6 -2
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +15 -19
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +8 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.js +51 -10
- package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +6 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js +32 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +2 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +3 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +56 -60
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +48 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js +81 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +22 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js +17 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts +12 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js +2 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +52 -12
- package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +4 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +70 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.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 +2 -2
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +5 -4
- 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/Panels/TabbedPanel.js +2 -1
- package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/types.d.ts +4 -1
- package/dist/dts/features/CohortBuilder/Panels/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -1
- package/dist/dts/features/CohortBuilder/index.d.ts +5 -2
- package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/index.js +4 -1
- package/dist/dts/features/CohortBuilder/index.js.map +1 -1
- package/dist/dts/features/CohortBuilder/types.d.ts +15 -7
- package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/types.js +6 -0
- package/dist/dts/features/CohortBuilder/types.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js +18 -2
- package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js +10 -4
- package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +20 -12
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +28 -8
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +9 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +147 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts +2 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +36 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +461 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +51 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +97 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +435 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts +64 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js +572 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts +7 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.js +2 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts +6 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js +55 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts +0 -22
- package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortSelectors.js +40 -34
- package/dist/dts/features/CohortDiscovery/CohortSelectors.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts +0 -90
- package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortSlice.js +161 -92
- package/dist/dts/features/CohortDiscovery/CohortSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +2 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +25 -7
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.js +42 -34
- package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts +14 -28
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js +4 -4
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js +4 -10
- package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js +2 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js +76 -13
- package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts +22 -0
- package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/Requests/hooks.js +147 -0
- package/dist/dts/features/CohortDiscovery/Requests/hooks.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts +9 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js +133 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js +284 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts +8 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js +9 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts +10 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +157 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts +3 -4
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js +6 -11
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts +9 -0
- package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/TabbedIndex.js +15 -0
- package/dist/dts/features/CohortDiscovery/TabbedIndex.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js +2 -2
- package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.d.ts +17 -3
- package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.js +13 -3
- package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.d.ts +12 -0
- package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.js +40 -1
- package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/queryApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/queryApi.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/registerApp.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/registerApp.js +5 -3
- package/dist/dts/features/CohortDiscovery/registerApp.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/types.d.ts +88 -3
- package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/types.js +45 -1
- package/dist/dts/features/CohortDiscovery/types.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/utils.d.ts +2 -0
- package/dist/dts/features/CohortDiscovery/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/utils.js +9 -0
- package/dist/dts/features/CohortDiscovery/utils.js.map +1 -1
- package/dist/dts/features/CohortSimilarity/appApi.d.ts +4 -6
- package/dist/dts/features/CohortSimilarity/appApi.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/appApi.js +3 -1
- package/dist/dts/features/CohortSimilarity/appApi.js.map +1 -1
- package/dist/dts/features/CohortSimilarity/registerApp.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/registerApp.js +1 -3
- package/dist/dts/features/CohortSimilarity/registerApp.js.map +1 -1
- package/dist/dts/features/Crosswalk/types.d.ts +2 -1
- package/dist/dts/features/Crosswalk/types.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.js +2 -2
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.js.map +1 -1
- package/dist/dts/features/DataLibrary/SearchAndActions.js +1 -1
- package/dist/dts/features/DataLibrary/SearchAndActions.js.map +1 -1
- package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js +1 -1
- package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js.map +1 -1
- package/dist/dts/features/DataLibrary/tests/utils.unit.test.js +2 -1
- package/dist/dts/features/DataLibrary/tests/utils.unit.test.js.map +1 -1
- package/dist/dts/features/DataLibrary/utils.d.ts +0 -10
- package/dist/dts/features/DataLibrary/utils.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/utils.js +0 -34
- package/dist/dts/features/DataLibrary/utils.js.map +1 -1
- package/dist/dts/features/Dictionary/CategoryPanel.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/CategoryPanel.js +9 -9
- package/dist/dts/features/Dictionary/CategoryPanel.js.map +1 -1
- package/dist/dts/features/Dictionary/DictionaryWithContext.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/DictionaryWithContext.js.map +1 -1
- package/dist/dts/features/Dictionary/types.d.ts +5 -1
- package/dist/dts/features/Dictionary/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js +2 -2
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.js +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +8 -6
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryProvider.d.ts +0 -3
- package/dist/dts/features/Discovery/DiscoveryProvider.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryProvider.js +0 -5
- package/dist/dts/features/Discovery/DiscoveryProvider.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.js +7 -5
- package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.js +3 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts +2 -3
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +3 -3
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts +1 -2
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +5 -6
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/index.d.ts +2 -4
- package/dist/dts/features/Discovery/index.d.ts.map +1 -1
- package/dist/dts/features/Discovery/index.js +1 -3
- package/dist/dts/features/Discovery/index.js.map +1 -1
- package/dist/dts/features/Discovery/types.d.ts +5 -108
- package/dist/dts/features/Discovery/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/types.js +0 -16
- package/dist/dts/features/Discovery/types.js.map +1 -1
- package/dist/dts/features/Discovery/utils.d.ts +2 -8
- package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/utils.js +1 -28
- package/dist/dts/features/Discovery/utils.js.map +1 -1
- package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
- package/dist/dts/features/Navigation/NavPageLayout.js +2 -2
- package/dist/dts/features/Navigation/NavPageLayout.js.map +1 -1
- package/dist/dts/features/Navigation/TopBar/AccountButton.js +1 -1
- package/dist/dts/features/Navigation/TopBar/AccountButton.js.map +1 -1
- package/dist/dts/features/Navigation/TopBar/LoginButton.js +1 -1
- package/dist/dts/features/Navigation/TopBar/LoginButton.js.map +1 -1
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts +9 -0
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js +11 -0
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts +19 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.js +56 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts +15 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js +44 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts +10 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.js +36 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts +10 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js +19 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts +8 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.js +31 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts +9 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js +11 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts +5 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.js +283 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.js.map +1 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts +10 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js +45 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.d.ts +10 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.js +11 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.js.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts +9 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.js +8 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.js.map +1 -0
- package/dist/dts/features/Study/StudyProvider.d.ts +12 -0
- package/dist/dts/features/Study/StudyProvider.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyProvider.js +23 -0
- package/dist/dts/features/Study/StudyProvider.js.map +1 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts +3 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts.map +1 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.js +20 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.js.map +1 -0
- package/dist/dts/features/Study/TableRenderers/types.d.ts +14 -0
- package/dist/dts/features/Study/TableRenderers/types.d.ts.map +1 -0
- package/dist/dts/features/Study/TableRenderers/types.js +2 -0
- package/dist/dts/features/Study/TableRenderers/types.js.map +1 -0
- package/dist/dts/features/Study/index.d.ts +5 -0
- package/dist/dts/features/Study/index.d.ts.map +1 -0
- package/dist/dts/features/Study/index.js +4 -0
- package/dist/dts/features/Study/index.js.map +1 -0
- package/dist/dts/features/Study/types.d.ts +91 -0
- package/dist/dts/features/Study/types.d.ts.map +1 -0
- package/dist/dts/features/Study/types.js +8 -0
- package/dist/dts/features/Study/types.js.map +1 -0
- package/dist/dts/features/Study/utils.d.ts +10 -0
- package/dist/dts/features/Study/utils.d.ts.map +1 -0
- package/dist/dts/features/Study/utils.js +28 -0
- package/dist/dts/features/Study/utils.js.map +1 -0
- package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts.map +1 -1
- package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js.map +1 -1
- package/dist/dts/features/Workspace/types.d.ts +2 -1
- package/dist/dts/features/Workspace/types.d.ts.map +1 -1
- package/dist/dts/features/Workspace/types.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 +7 -1
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/content/types.d.ts +2 -0
- package/dist/dts/lib/content/types.d.ts.map +1 -1
- package/dist/dts/lib/session/session.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js +22 -34
- package/dist/dts/lib/session/session.js.map +1 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +1 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.js +1 -5
- package/dist/dts/pages/Crosswalk/Crosswalk.js.map +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.js +12 -5
- package/dist/dts/pages/DataDictionary/DataDictionary.js.map +1 -1
- package/dist/dts/pages/Discovery/Discovery.d.ts.map +1 -1
- package/dist/dts/pages/Discovery/Discovery.js +14 -5
- package/dist/dts/pages/Discovery/Discovery.js.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 +13 -6
- package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
- package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/data.js +28 -22
- package/dist/dts/pages/Explorer/data.js.map +1 -1
- package/dist/dts/pages/Landing/Landing.d.ts.map +1 -1
- package/dist/dts/pages/Landing/Landing.js +12 -5
- package/dist/dts/pages/Landing/Landing.js.map +1 -1
- package/dist/dts/pages/Login/Login.d.ts.map +1 -1
- package/dist/dts/pages/Login/Login.js +1 -5
- package/dist/dts/pages/Login/Login.js.map +1 -1
- package/dist/dts/pages/Profile/Profile.d.ts.map +1 -1
- package/dist/dts/pages/Profile/Profile.js +12 -5
- package/dist/dts/pages/Profile/Profile.js.map +1 -1
- package/dist/dts/pages/Query/Query.d.ts.map +1 -1
- package/dist/dts/pages/Query/Query.js +12 -5
- package/dist/dts/pages/Query/Query.js.map +1 -1
- package/dist/dts/pages/Query/types.d.ts +2 -1
- package/dist/dts/pages/Query/types.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/Workspace.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/Workspace.js +14 -5
- package/dist/dts/pages/Workspace/Workspace.js.map +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.d.ts +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.js +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.js.map +1 -1
- package/dist/dts/types/icons.d.ts +5 -0
- package/dist/dts/types/icons.d.ts.map +1 -0
- package/dist/dts/types/icons.js +6 -0
- package/dist/dts/types/icons.js.map +1 -0
- package/dist/dts/utils/access.d.ts +10 -0
- package/dist/dts/utils/access.d.ts.map +1 -0
- package/dist/dts/utils/access.js +11 -0
- package/dist/dts/utils/access.js.map +1 -0
- package/dist/dts/utils/authMapping.d.ts +4 -0
- package/dist/dts/utils/authMapping.d.ts.map +1 -1
- package/dist/dts/utils/authMapping.js.map +1 -1
- package/dist/dts/utils/convertResourcePathsToTree.d.ts +8 -0
- package/dist/dts/utils/convertResourcePathsToTree.d.ts.map +1 -0
- package/dist/dts/utils/convertResourcePathsToTree.js +43 -0
- package/dist/dts/utils/convertResourcePathsToTree.js.map +1 -0
- package/dist/dts/utils/dataAuthorization.d.ts +11 -0
- package/dist/dts/utils/dataAuthorization.d.ts.map +1 -0
- package/dist/dts/utils/dataAuthorization.js +2 -0
- package/dist/dts/utils/dataAuthorization.js.map +1 -0
- package/dist/dts/utils/date.d.ts +16 -0
- package/dist/dts/utils/date.d.ts.map +1 -1
- package/dist/dts/utils/date.js +54 -8
- package/dist/dts/utils/date.js.map +1 -1
- package/dist/dts/utils/index.d.ts +4 -3
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/index.js +4 -2
- package/dist/dts/utils/index.js.map +1 -1
- package/dist/dts/utils/layout.d.ts +2 -0
- package/dist/dts/utils/layout.d.ts.map +1 -0
- package/dist/dts/utils/layout.js +20 -0
- package/dist/dts/utils/layout.js.map +1 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts +2 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts.map +1 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js +150 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js.map +1 -0
- package/dist/dts/utils/tests/values.test.js +0 -1
- package/dist/dts/utils/tests/values.test.js.map +1 -1
- package/dist/esm/index.js +5798 -2718
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +412 -329
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js +0 -2
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js.map +0 -1
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts +0 -3
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts.map +0 -1
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js +0 -13
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js.map +0 -1
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import {
|
|
3
|
+
// createSelector,
|
|
4
|
+
// createEntityAdapter,
|
|
5
|
+
// createSlice,
|
|
6
|
+
// PayloadAction,
|
|
7
|
+
// EntityState,
|
|
8
|
+
// } from '@reduxjs/toolkit';
|
|
9
|
+
// import { FilterSet, IndexedFilterSet, Operation } from '@gen3/core';
|
|
10
|
+
// import { AppState } from './appApi';
|
|
11
|
+
// import { Cohort, CohortId, newCohort } from './types';
|
|
12
|
+
//
|
|
13
|
+
// const EmptyFilterSet: FilterSet = { mode: 'and', root: {} };
|
|
14
|
+
//
|
|
15
|
+
// // Create the entity adapter
|
|
16
|
+
// export const cohortsAdapter = createEntityAdapter<Cohort, CohortId>({
|
|
17
|
+
// // Select the id as the primary key
|
|
18
|
+
// selectId: (cohort: Cohort) => cohort.id,
|
|
19
|
+
// // Optional: Sort by name if needed
|
|
20
|
+
// sortComparer: (a, b) => {
|
|
21
|
+
// if (a.modifiedDatetime <= b.modifiedDatetime) return 1;
|
|
22
|
+
// else return -1;
|
|
23
|
+
// },
|
|
24
|
+
// });
|
|
25
|
+
//
|
|
26
|
+
// export interface SavedCohortsState {
|
|
27
|
+
// currentCohortId: string;
|
|
28
|
+
// }
|
|
29
|
+
//
|
|
30
|
+
// const DEFAULT_COHORT_ID = 'default';
|
|
31
|
+
// const DEFAULT_COHORT_NAME = 'Default';
|
|
32
|
+
//
|
|
33
|
+
// const DefaultCohort = newCohort(DEFAULT_COHORT_NAME, {}, DEFAULT_COHORT_ID);
|
|
34
|
+
//
|
|
35
|
+
// const emptyInitialState = cohortsAdapter.getInitialState<SavedCohortsState>({
|
|
36
|
+
// currentCohortId: DEFAULT_COHORT_ID,
|
|
37
|
+
// });
|
|
38
|
+
//
|
|
39
|
+
// const initialState = cohortsAdapter.addOne(emptyInitialState, DefaultCohort);
|
|
40
|
+
//
|
|
41
|
+
// interface AddCohortParams {
|
|
42
|
+
// name: string;
|
|
43
|
+
// filters: IndexedFilterSet;
|
|
44
|
+
// }
|
|
45
|
+
//
|
|
46
|
+
// interface UpdateFilterParams {
|
|
47
|
+
// index: string;
|
|
48
|
+
// field: string;
|
|
49
|
+
// filter: Operation;
|
|
50
|
+
// }
|
|
51
|
+
//
|
|
52
|
+
// interface SetFilterParams {
|
|
53
|
+
// index: string;
|
|
54
|
+
// filters: FilterSet;
|
|
55
|
+
// }
|
|
56
|
+
//
|
|
57
|
+
// interface RemoveFilterParams {
|
|
58
|
+
// index: string;
|
|
59
|
+
// field: string;
|
|
60
|
+
// }
|
|
61
|
+
//
|
|
62
|
+
// interface ClearAllFilterParams {
|
|
63
|
+
// index: string;
|
|
64
|
+
// }
|
|
65
|
+
//
|
|
66
|
+
// // Create a slice with reducers
|
|
67
|
+
// export const cohortPersistenceSlice = createSlice({
|
|
68
|
+
// name: 'CohortDiscovery/CohortManager',
|
|
69
|
+
// initialState: initialState,
|
|
70
|
+
// reducers: {
|
|
71
|
+
// resetCurrentCohortId: (state) => {
|
|
72
|
+
// state.currentCohortId = DEFAULT_COHORT_ID;
|
|
73
|
+
// },
|
|
74
|
+
// setCurrentCohortId: (state, action: PayloadAction<string>) => {
|
|
75
|
+
// state.currentCohortId = action.payload;
|
|
76
|
+
// },
|
|
77
|
+
// // Add a single cohort
|
|
78
|
+
// saveCohort: (state, action: PayloadAction<AddCohortParams>) => {
|
|
79
|
+
// const cohort = newCohort(
|
|
80
|
+
// action.payload.name,
|
|
81
|
+
// action.payload.filters,
|
|
82
|
+
// undefined,
|
|
83
|
+
// true,
|
|
84
|
+
// );
|
|
85
|
+
// cohortsAdapter.setOne(state, cohort);
|
|
86
|
+
// },
|
|
87
|
+
// // Remove a cohort
|
|
88
|
+
// removeSavedCohort: (state, action: PayloadAction<string>) => {
|
|
89
|
+
// // do not remove the default cohort
|
|
90
|
+
// if (action.payload === DEFAULT_COHORT_ID) {
|
|
91
|
+
// return;
|
|
92
|
+
// }
|
|
93
|
+
// cohortsAdapter.removeOne(state, action.payload);
|
|
94
|
+
// state.currentCohortId = DEFAULT_COHORT_ID;
|
|
95
|
+
// },
|
|
96
|
+
// // Remove multiple cohorts
|
|
97
|
+
// removeAllSavedCohorts: (state) => {
|
|
98
|
+
// cohortsAdapter.removeMany(state, Object.keys(state.entities));
|
|
99
|
+
// cohortsAdapter.addOne(state, DefaultCohort);
|
|
100
|
+
// state.currentCohortId = DEFAULT_COHORT_ID;
|
|
101
|
+
// },
|
|
102
|
+
// updateCohortFilter: (state, action: PayloadAction<UpdateFilterParams>) => {
|
|
103
|
+
// const { index, field, filter } = action.payload;
|
|
104
|
+
// const currentCohort = getCurrentCohort(state);
|
|
105
|
+
// cohortsAdapter.updateOne(state, {
|
|
106
|
+
// id: currentCohort.id,
|
|
107
|
+
// changes: {
|
|
108
|
+
// filters: {
|
|
109
|
+
// ...currentCohort.filters,
|
|
110
|
+
// [index]: {
|
|
111
|
+
// mode: currentCohort.filters?.[index]?.mode ?? 'and',
|
|
112
|
+
// root: {
|
|
113
|
+
// ...(currentCohort.filters?.[index]?.root ?? {}),
|
|
114
|
+
// [field]: filter,
|
|
115
|
+
// },
|
|
116
|
+
// },
|
|
117
|
+
// },
|
|
118
|
+
// modified: true,
|
|
119
|
+
// modifiedDatetime: new Date().toISOString(),
|
|
120
|
+
// },
|
|
121
|
+
// });
|
|
122
|
+
// },
|
|
123
|
+
// setCohortFilter: (state, action: PayloadAction<SetFilterParams>) => {
|
|
124
|
+
// const { index, filters } = action.payload;
|
|
125
|
+
// const currentCohort = getCurrentCohort(state);
|
|
126
|
+
// cohortsAdapter.updateOne(state, {
|
|
127
|
+
// id: currentCohort.id,
|
|
128
|
+
// changes: {
|
|
129
|
+
// filters: {
|
|
130
|
+
// ...currentCohort.filters,
|
|
131
|
+
// [index]: filters,
|
|
132
|
+
// },
|
|
133
|
+
// modified: true,
|
|
134
|
+
// modifiedDatetime: new Date().toISOString(),
|
|
135
|
+
// },
|
|
136
|
+
// });
|
|
137
|
+
// },
|
|
138
|
+
// setAllIndexFilters: (state, action: PayloadAction<IndexedFilterSet>) => {
|
|
139
|
+
// const currentCohort = getCurrentCohort(state);
|
|
140
|
+
// cohortsAdapter.updateOne(state, {
|
|
141
|
+
// id: currentCohort.id,
|
|
142
|
+
// changes: {
|
|
143
|
+
// filters: action.payload,
|
|
144
|
+
// modified: true,
|
|
145
|
+
// modifiedDatetime: new Date().toISOString(),
|
|
146
|
+
// },
|
|
147
|
+
// });
|
|
148
|
+
// },
|
|
149
|
+
// removeCohortFilter: (state, action: PayloadAction<RemoveFilterParams>) => {
|
|
150
|
+
// const { index, field } = action.payload;
|
|
151
|
+
// const currentCohort = getCurrentCohort(state);
|
|
152
|
+
// const filters = currentCohort.filters?.[index]?.root;
|
|
153
|
+
// if (!filters) {
|
|
154
|
+
// return;
|
|
155
|
+
// }
|
|
156
|
+
// const { [field]: _a, ...updated } = filters;
|
|
157
|
+
// cohortsAdapter.updateOne(state, {
|
|
158
|
+
// id: currentCohort.id,
|
|
159
|
+
// changes: {
|
|
160
|
+
// filters: {
|
|
161
|
+
// ...currentCohort.filters,
|
|
162
|
+
// [index]: {
|
|
163
|
+
// mode: currentCohort.filters[index].mode,
|
|
164
|
+
// root: updated,
|
|
165
|
+
// },
|
|
166
|
+
// },
|
|
167
|
+
// modified: true,
|
|
168
|
+
// modifiedDatetime: new Date().toISOString(),
|
|
169
|
+
// },
|
|
170
|
+
// });
|
|
171
|
+
// },
|
|
172
|
+
// clearCohortFilters: (
|
|
173
|
+
// state,
|
|
174
|
+
// action: PayloadAction<ClearAllFilterParams>,
|
|
175
|
+
// ) => {
|
|
176
|
+
// const { index } = action.payload;
|
|
177
|
+
// const currentCohort = getCurrentCohort(state);
|
|
178
|
+
// cohortsAdapter.updateOne(state, {
|
|
179
|
+
// id: currentCohort.id,
|
|
180
|
+
// changes: {
|
|
181
|
+
// filters: {
|
|
182
|
+
// ...currentCohort.filters,
|
|
183
|
+
// [index]: {
|
|
184
|
+
// // empty filter set
|
|
185
|
+
// mode: 'and',
|
|
186
|
+
// root: {},
|
|
187
|
+
// } as FilterSet,
|
|
188
|
+
// },
|
|
189
|
+
// modified: true,
|
|
190
|
+
// modifiedDatetime: new Date().toISOString(),
|
|
191
|
+
// },
|
|
192
|
+
// });
|
|
193
|
+
// },
|
|
194
|
+
// },
|
|
195
|
+
// });
|
|
196
|
+
//
|
|
197
|
+
// const getCurrentCohort = (
|
|
198
|
+
// state: EntityState<Cohort, CohortId> & SavedCohortsState,
|
|
199
|
+
// ): Cohort => {
|
|
200
|
+
// if (state.currentCohortId) {
|
|
201
|
+
// return state.entities[state.currentCohortId];
|
|
202
|
+
// }
|
|
203
|
+
// return state.entities[DEFAULT_COHORT_ID];
|
|
204
|
+
// };
|
|
205
|
+
//
|
|
206
|
+
// // Export actions
|
|
207
|
+
// export const {
|
|
208
|
+
// saveCohort,
|
|
209
|
+
// removeSavedCohort,
|
|
210
|
+
// resetCurrentCohortId,
|
|
211
|
+
// removeAllSavedCohorts,
|
|
212
|
+
// setCurrentCohortId,
|
|
213
|
+
// updateCohortFilter,
|
|
214
|
+
// setCohortFilter,
|
|
215
|
+
// removeCohortFilter,
|
|
216
|
+
// clearCohortFilters,
|
|
217
|
+
// setAllIndexFilters,
|
|
218
|
+
// } = cohortPersistenceSlice.actions;
|
|
219
|
+
//
|
|
220
|
+
// // Export selectors
|
|
221
|
+
// export const {
|
|
222
|
+
// selectAll: selectAllSavedCohorts,
|
|
223
|
+
// selectTotal: selectTotalCohorts,
|
|
224
|
+
// selectById: selectSavedCohortById,
|
|
225
|
+
// } = cohortsAdapter.getSelectors((state: AppState) => state.savedCohorts);
|
|
226
|
+
//
|
|
227
|
+
// /**
|
|
228
|
+
// * Selects the currently active cohort from the state.
|
|
229
|
+
// * Returns the cohort object corresponding to the currentCohortId,
|
|
230
|
+
// * or undefined if no cohort is currently selected.
|
|
231
|
+
// *
|
|
232
|
+
// * @param state - The application state
|
|
233
|
+
// * @returns The current Cohort object or undefined
|
|
234
|
+
// */
|
|
235
|
+
// export const selectCurrentCohort = (state: AppState): Cohort => {
|
|
236
|
+
// const { currentCohortId, entities } = state.savedCohorts;
|
|
237
|
+
//
|
|
238
|
+
// if (!currentCohortId || !entities) {
|
|
239
|
+
// return DefaultCohort;
|
|
240
|
+
// }
|
|
241
|
+
//
|
|
242
|
+
// return entities[currentCohortId];
|
|
243
|
+
// };
|
|
244
|
+
//
|
|
245
|
+
// export const selectCurrentCohortId = (state: AppState): string =>
|
|
246
|
+
// state.savedCohorts.currentCohortId;
|
|
247
|
+
//
|
|
248
|
+
// export const selectCohortIdToNameMap = createSelector(
|
|
249
|
+
// [selectAllSavedCohorts],
|
|
250
|
+
// (cohorts) => {
|
|
251
|
+
// return cohorts.reduce<Record<CohortId, string>>((acc, cohort) => {
|
|
252
|
+
// acc[cohort.id] = cohort.name;
|
|
253
|
+
// return acc;
|
|
254
|
+
// }, {});
|
|
255
|
+
// },
|
|
256
|
+
// );
|
|
257
|
+
//
|
|
258
|
+
// export const selectCurrentCohortName = createSelector(
|
|
259
|
+
// [selectCurrentCohort],
|
|
260
|
+
// (cohort) => cohort.name,
|
|
261
|
+
// );
|
|
262
|
+
//
|
|
263
|
+
// export const selectCurrentCohortFilters = createSelector(
|
|
264
|
+
// [selectCurrentCohort],
|
|
265
|
+
// (cohort) => cohort.filters,
|
|
266
|
+
// );
|
|
267
|
+
//
|
|
268
|
+
// export const selectCurrentIndexedFilterByName = createSelector(
|
|
269
|
+
// [selectCurrentCohort, (state, index, field) => ({ index, field })],
|
|
270
|
+
// (cohort, params) => {
|
|
271
|
+
// return cohort.filters[params.index]?.root[params.field];
|
|
272
|
+
// },
|
|
273
|
+
// );
|
|
274
|
+
//
|
|
275
|
+
// export const selectCurrentCohortIndexFilters = createSelector(
|
|
276
|
+
// [selectCurrentCohort, (state, index) => index],
|
|
277
|
+
// (cohort, index) => {
|
|
278
|
+
// return cohort.filters?.[index] ?? EmptyFilterSet;
|
|
279
|
+
// },
|
|
280
|
+
// );
|
|
281
|
+
//
|
|
282
|
+
// // Export reducer
|
|
283
|
+
// export const saveCohortPersistenceReducer = cohortPersistenceSlice.reducer;
|
|
284
|
+
//# sourceMappingURL=SavedCohortManagerSlice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SavedCohortManagerSlice.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/SavedCohortManagerSlice.ts"],"names":[],"mappings":";AAAA,WAAW;AACX,oBAAoB;AACpB,yBAAyB;AACzB,iBAAiB;AACjB,mBAAmB;AACnB,iBAAiB;AACjB,6BAA6B;AAC7B,uEAAuE;AACvE,uCAAuC;AACvC,yDAAyD;AACzD,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,+BAA+B;AAC/B,wEAAwE;AACxE,wCAAwC;AACxC,6CAA6C;AAC7C,wCAAwC;AACxC,8BAA8B;AAC9B,8DAA8D;AAC9D,sBAAsB;AACtB,OAAO;AACP,MAAM;AACN,EAAE;AACF,uCAAuC;AACvC,6BAA6B;AAC7B,IAAI;AACJ,EAAE;AACF,uCAAuC;AACvC,yCAAyC;AACzC,EAAE;AACF,+EAA+E;AAC/E,EAAE;AACF,gFAAgF;AAChF,wCAAwC;AACxC,MAAM;AACN,EAAE;AACF,gFAAgF;AAChF,EAAE;AACF,8BAA8B;AAC9B,kBAAkB;AAClB,+BAA+B;AAC/B,IAAI;AACJ,EAAE;AACF,iCAAiC;AACjC,mBAAmB;AACnB,mBAAmB;AACnB,uBAAuB;AACvB,IAAI;AACJ,EAAE;AACF,8BAA8B;AAC9B,mBAAmB;AACnB,wBAAwB;A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qD;AACrD,MAAM;AACN,oEAAoE;AACpE,8DAA8D;AAC9D,EAAE;AACF,yCAAyC;AACzC,4BAA4B;AAC5B,MAAM;AACN,EAAE;AACF,sCAAsC;AACtC,KAAK;AACL,EAAE;AACF,oEAAoE;AACpE,wCAAwC;AACxC,EAAE;AACF,yDAAyD;AACzD,6BAA6B;AAC7B,mBAAmB;AACnB,yEAAyE;AACzE,sCAAsC;AACtC,oBAAoB;AACpB,cAAc;AACd,OAAO;AACP,KAAK;AACL,EAAE;AACF,yDAAyD;AACzD,2BAA2B;AAC3B,6BAA6B;AAC7B,KAAK;AACL,EAAE;AACF,4DAA4D;AAC5D,2BAA2B;AAC3B,gCAAgC;AAChC,KAAK;AACL,EAAE;AACF,kEAAkE;AAClE,wEAAwE;AACxE,0BAA0B;AAC1B,+DAA+D;AAC/D,OAAO;AACP,KAAK;AACL,EAAE;AACF,iEAAiE;AACjE,oDAAoD;AACpD,yBAAyB;AACzB,wDAAwD;AACxD,OAAO;AACP,KAAK;AACL,EAAE;AACF,oBAAoB;AACpB,8EAA8E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IndexResourceField, SupportServiceConfiguration } from '../types';
|
|
2
|
+
interface SavedCohortsPanelProps {
|
|
3
|
+
indexResources: IndexResourceField;
|
|
4
|
+
remoteSupportService: SupportServiceConfiguration;
|
|
5
|
+
}
|
|
6
|
+
declare const SavedCohortsPanel: ({ indexResources, remoteSupportService, }: SavedCohortsPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SavedCohortsPanel;
|
|
8
|
+
//# sourceMappingURL=SavedCohortsPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SavedCohortsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAE3E,UAAU,sBAAsB;IAC9B,cAAc,EAAE,kBAAkB,CAAC;IACnC,oBAAoB,EAAE,2BAA2B,CAAC;CACnD;AAED,QAAA,MAAM,iBAAiB,GAAI,2CAGxB,sBAAsB,4CAaxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Group, Stack } from '@mantine/core';
|
|
3
|
+
import SavedCohortsTable from './SavedCohortsTable';
|
|
4
|
+
var SavedCohortsPanel = function (_a) {
|
|
5
|
+
var indexResources = _a.indexResources, remoteSupportService = _a.remoteSupportService;
|
|
6
|
+
return (_jsx(_Fragment, { children: _jsx(Stack, { className: "w-100 m-2", children: _jsx(Group, { className: "w-100 bg-base-light p-4", children: _jsx(SavedCohortsTable, { indexResources: indexResources, remoteSupportService: remoteSupportService }) }) }) }));
|
|
7
|
+
};
|
|
8
|
+
export default SavedCohortsPanel;
|
|
9
|
+
//# sourceMappingURL=SavedCohortsPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SavedCohortsPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAQpD,IAAM,iBAAiB,GAAG,UAAC,EAGF;QAFvB,cAAc,oBAAA,EACd,oBAAoB,0BAAA;IAEpB,OAAO,CACL,4BACE,KAAC,KAAK,IAAC,SAAS,EAAC,WAAW,YAC1B,KAAC,KAAK,IAAC,SAAS,EAAC,yBAAyB,YACxC,KAAC,iBAAiB,IAChB,cAAc,EAAE,cAAc,EAC9B,oBAAoB,EAAE,oBAAoB,GAC1C,GACI,GACF,GACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IndexResourceField, SupportServiceConfiguration } from '../types';
|
|
3
|
+
interface SavedCohortsTableProps {
|
|
4
|
+
indexResources: IndexResourceField;
|
|
5
|
+
remoteSupportService: SupportServiceConfiguration;
|
|
6
|
+
size?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const SavedCohortsTable: React.FC<SavedCohortsTableProps>;
|
|
9
|
+
export default SavedCohortsTable;
|
|
10
|
+
//# sourceMappingURL=SavedCohortsTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SavedCohortsTable.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAoBvC,OAAO,EAGL,kBAAkB,EAElB,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAiBlB,UAAU,sBAAsB;IAC9B,cAAc,EAAE,kBAAkB,CAAC;IACnC,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkLvD,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
49
|
+
import { useMemo } from 'react';
|
|
50
|
+
import { useAppDispatch, useAppSelector } from '../appApi';
|
|
51
|
+
import { MantineReactTable, useMantineReactTable, } from 'mantine-react-table';
|
|
52
|
+
import { useDeepCompareMemo } from 'use-deep-compare';
|
|
53
|
+
import { ActionIcon, Group, Text, Tooltip, useMantineTheme, } from '@mantine/core';
|
|
54
|
+
import { modals } from '@mantine/modals';
|
|
55
|
+
import { Icon } from '@iconify/react';
|
|
56
|
+
import { IconSize } from '../../../utils/sizes';
|
|
57
|
+
import { removeCohort } from '../CohortManagment/CohortManagerSlice';
|
|
58
|
+
import { selectAllCohorts } from '../CohortManagment/CohortManagerSelectors';
|
|
59
|
+
import { isIndexedFilterSetEmpty, } from '../types';
|
|
60
|
+
import { selectCohortToRequestId } from '../RequestManagerSlice';
|
|
61
|
+
import DataAccessRequestForm from '../Requests/DataAccessRequestForm';
|
|
62
|
+
import { formatDate } from '../../../utils/date';
|
|
63
|
+
import { commonTableSettings } from '../tableSettings';
|
|
64
|
+
import { selectUserDetails, useCoreSelector, useCreateRequestMutation, useLazyGetAggsNoFilterSelfQuery, } from '@gen3/core';
|
|
65
|
+
import { submitCohortRequestAction } from '../Requests/submitCohortRequestAction';
|
|
66
|
+
var SavedCohortsTable = function (_a) {
|
|
67
|
+
var indexResources = _a.indexResources, remoteSupportService = _a.remoteSupportService, _b = _a.size, size = _b === void 0 ? 'md' : _b;
|
|
68
|
+
var appDispatch = useAppDispatch();
|
|
69
|
+
var getGetAggs = useLazyGetAggsNoFilterSelfQuery()[0];
|
|
70
|
+
var requestQuery = useCreateRequestMutation()[0];
|
|
71
|
+
var user = useCoreSelector(selectUserDetails);
|
|
72
|
+
var columns = useMemo(function () { return [
|
|
73
|
+
{
|
|
74
|
+
accessorKey: 'name', //access nested data with dot notation
|
|
75
|
+
header: 'Name',
|
|
76
|
+
Cell: function (_a) {
|
|
77
|
+
var cell = _a.cell;
|
|
78
|
+
return _jsxs(Text, { children: [cell.getValue(), " "] });
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
accessorKey: 'createdDatetime',
|
|
83
|
+
header: 'Modified Date',
|
|
84
|
+
Cell: function (_a) {
|
|
85
|
+
var cell = _a.cell;
|
|
86
|
+
return _jsxs(Text, { children: [formatDate(cell.getValue()), " "] });
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
accessorKey: 'modifiedDatetime', //normal accessorKey
|
|
91
|
+
header: 'Created Date',
|
|
92
|
+
Cell: function (_a) {
|
|
93
|
+
var cell = _a.cell;
|
|
94
|
+
return _jsxs(Text, { children: [formatDate(cell.getValue()), " "] });
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
accessorKey: 'requested', //normal accessorKey
|
|
99
|
+
header: 'Requested',
|
|
100
|
+
Cell: function (_a) {
|
|
101
|
+
var cell = _a.cell;
|
|
102
|
+
return cell.getValue() === 'true' && (_jsx(Icon, { icon: "gen3:check", height: "2em", width: "2em", color: "green" }));
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
]; }, []);
|
|
106
|
+
var iconSize = IconSize[size] || IconSize['sm'];
|
|
107
|
+
var theme = useMantineTheme();
|
|
108
|
+
var data = useAppSelector(selectAllCohorts);
|
|
109
|
+
var requestByCohortId = useAppSelector(selectCohortToRequestId);
|
|
110
|
+
var tData = useDeepCompareMemo(function () {
|
|
111
|
+
return data.map(function (cohort) { return (__assign(__assign({}, cohort), { requested: (requestByCohortId[cohort.id] ? 'true' : 'false') })); });
|
|
112
|
+
}, [data, requestByCohortId]);
|
|
113
|
+
var handleCohortAccessRequest = function (cohortId, values) { return __awaiter(void 0, void 0, void 0, function () {
|
|
114
|
+
var cohort;
|
|
115
|
+
return __generator(this, function (_a) {
|
|
116
|
+
switch (_a.label) {
|
|
117
|
+
case 0:
|
|
118
|
+
cohort = data.find(function (obj) { return obj.id === cohortId; });
|
|
119
|
+
if (!cohort) return [3 /*break*/, 2];
|
|
120
|
+
return [4 /*yield*/, submitCohortRequestAction(cohort, values, user, indexResources, remoteSupportService, appDispatch, getGetAggs, requestQuery)];
|
|
121
|
+
case 1:
|
|
122
|
+
_a.sent();
|
|
123
|
+
_a.label = 2;
|
|
124
|
+
case 2: return [2 /*return*/];
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}); };
|
|
128
|
+
var table = useMantineReactTable(__assign(__assign({ columns: columns, data: tData, getRowId: function (originalRow) { return originalRow.id; } }, commonTableSettings()), { positionActionsColumn: 'last', renderRowActions: function (_a) {
|
|
129
|
+
var row = _a.row;
|
|
130
|
+
var hasNoFilters = isIndexedFilterSetEmpty(row.original.filters);
|
|
131
|
+
return (_jsxs(Group, { wrap: "nowrap", gap: "xs", children: [_jsx(Tooltip, { label: hasNoFilters
|
|
132
|
+
? 'No Filters defined. Cannot submit request.'
|
|
133
|
+
: 'Submit Data Access Request', withArrow: true, children: _jsx(ActionIcon, { color: "accent.4", variant: "transparent", disabled: hasNoFilters, "aria-label": "Submit Data Access Request", onClick: function () {
|
|
134
|
+
var modelId = modals.open({
|
|
135
|
+
title: 'DATA ACCESS REQUEST',
|
|
136
|
+
children: (_jsx(DataAccessRequestForm, { cohortId: row.id, submitFunction: handleCohortAccessRequest, close: function () { return modals.close(modelId); } })),
|
|
137
|
+
});
|
|
138
|
+
}, children: _jsx(Icon, { icon: "gen3:request", height: iconSize, width: iconSize, color: theme.colors.secondary[4] }) }) }), _jsx(Tooltip, { label: "Select Cohort", withArrow: true, children: _jsx(ActionIcon, { color: "accent.4", variant: "transparent", "aria-label": "Select cohort", onClick: function () { }, children: _jsx(Icon, { icon: "gen3:cohort", height: iconSize, width: iconSize, color: theme.colors.secondary[4] }) }) }), _jsx(Tooltip, { label: "Delete Cohort", withArrow: true, children: _jsx(ActionIcon, { color: "accent.4", variant: "transparent", "aria-label": "Delete saved cohort", onClick: function () {
|
|
139
|
+
var _a;
|
|
140
|
+
modals.openConfirmModal({
|
|
141
|
+
title: 'Delete Cohort',
|
|
142
|
+
centered: true,
|
|
143
|
+
children: (_jsxs(Text, { size: "sm", children: ["Are you sure you want to delete your cohort? Deleted cohorts cannot be restored.", ' ', ((_a = row.original) === null || _a === void 0 ? void 0 : _a.requested)
|
|
144
|
+
? "This cohort has an access request. Deleting this cohort will results in not being able to correlate nay pending requests.\n Are you sure you want to delete this cohort?."
|
|
145
|
+
: ''] })),
|
|
146
|
+
labels: { confirm: 'Delete Cohort', cancel: 'Cancel' },
|
|
147
|
+
confirmProps: { color: theme.colors.accent[4] },
|
|
148
|
+
onConfirm: function () {
|
|
149
|
+
appDispatch(removeCohort(row.id));
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
}, children: _jsx(Icon, { icon: "gen3:delete", height: iconSize, width: iconSize, color: theme.colors.secondary[4] }) }) })] }));
|
|
153
|
+
} }));
|
|
154
|
+
return (_jsx(_Fragment, { children: _jsx("div", { className: "inline-block overflow-x-scroll w-full", children: _jsx(MantineReactTable, { table: table }) }) }));
|
|
155
|
+
};
|
|
156
|
+
export default SavedCohortsTable;
|
|
157
|
+
//# sourceMappingURL=SavedCohortsTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SavedCohortsTable.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAEjB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EACL,UAAU,EACV,KAAK,EACL,IAAI,EACJ,OAAO,EACP,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAIL,uBAAuB,GAExB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,+BAA+B,GAChC,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAYlF,IAAM,iBAAiB,GAAqC,UAAC,EAI5D;QAHC,cAAc,oBAAA,EACd,oBAAoB,0BAAA,EACpB,YAAW,EAAX,IAAI,mBA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KAAC,UAAU,IACT,KAAK,EAAC,UAAU,EAChB,OAAO,EAAC,aAAa,gBACV,qBAAqB,EAChC,OAAO,EAAE;;gCACP,MAAM,CAAC,gBAAgB,CAAC;oCACtB,KAAK,EAAE,eAAe;oCACtB,QAAQ,EAAE,IAAI;oCACd,QAAQ,EAAE,CACR,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,iGAEe,GAAG,EAC9B,CAAA,MAAA,GAAG,CAAC,QAAQ,0CAAE,SAAS;gDACtB,CAAC,CAAC,8LACwC;gDAC1C,CAAC,CAAC,EAAE,IACD,CACR;oCACD,MAAM,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE;oCACtD,YAAY,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;oCAC/C,SAAS,EAAE;wCACT,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;oCACpC,CAAC;iCACF,CAAC,CAAC;4BACL,CAAC,YAED,KAAC,IAAI,IACH,IAAI,EAAC,aAAa,EAClB,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,QAAQ,EACf,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,GAChC,GACS,GACL,IACJ,CACT,CAAC;QACJ,CAAC,IACD,CAAC;IAEH,OAAO,CACL,4BACE,cAAK,SAAS,EAAC,uCAAuC,YACpD,KAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK,GAAI,GAC/B,GACL,CACJ,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -4,11 +4,10 @@ export declare const selectedFacetsReducer: import("redux").Reducer<SelectedInde
|
|
|
4
4
|
export declare const addFacetSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
5
5
|
index: string;
|
|
6
6
|
field: string;
|
|
7
|
-
}, "CohortDiscovery/
|
|
7
|
+
}, "CohortDiscovery/selectedFacets/addFacetSelection">, removeFacetSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
8
8
|
index: string;
|
|
9
9
|
field: string;
|
|
10
|
-
}, "CohortDiscovery/
|
|
11
|
-
export declare const selectSelectedFacetsFromIndex: (state: AppState, index: string
|
|
12
|
-
export declare const selectAllFiltersCollapsed: (state: AppState) => boolean;
|
|
10
|
+
}, "CohortDiscovery/selectedFacets/removeFacetSelection">;
|
|
11
|
+
export declare const selectSelectedFacetsFromIndex: (state: AppState, index: string) => string[];
|
|
13
12
|
export {};
|
|
14
13
|
//# sourceMappingURL=SelectedFacetsSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedFacetsSlice.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/SelectedFacetsSlice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectedFacetsSlice.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/SelectedFacetsSlice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AA4CrD,eAAO,MAAM,qBAAqB,+CAA4B,CAAC;AAE/D,eAAO,MAAQ,iBAAiB;WApCK,MAAM;WAAS,MAAM;wDAoCxB,oBAAoB;WAlBjB,MAAM;WAAS,MAAM;yDAmB/B,CAAC;AAE5B,eAAO,MAAM,6BAA6B,GACxC,OAAO,QAAQ,EACf,OAAO,MAAM,KACZ,MAAM,EAAsC,CAAC"}
|
|
@@ -22,7 +22,7 @@ var _a;
|
|
|
22
22
|
import { createSlice } from '@reduxjs/toolkit';
|
|
23
23
|
var initialState = {};
|
|
24
24
|
var selectIndexFacets = createSlice({
|
|
25
|
-
name: 'CohortDiscovery/
|
|
25
|
+
name: 'CohortDiscovery/selectedFacets',
|
|
26
26
|
initialState: initialState,
|
|
27
27
|
reducers: {
|
|
28
28
|
addFacetSelection: function (state, action) {
|
|
@@ -37,20 +37,15 @@ var selectIndexFacets = createSlice({
|
|
|
37
37
|
},
|
|
38
38
|
removeFacetSelection: function (state, action) {
|
|
39
39
|
var _a;
|
|
40
|
-
if (!(action.payload.index in state
|
|
40
|
+
if (!(action.payload.index in state))
|
|
41
41
|
return state;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
_a));
|
|
46
|
-
}
|
|
42
|
+
return __assign(__assign({}, state), (_a = {},
|
|
43
|
+
_a[action.payload.index] = state[action.payload.index].filter(function (x) { return x != action.payload.field; }),
|
|
44
|
+
_a));
|
|
47
45
|
},
|
|
48
46
|
},
|
|
49
47
|
});
|
|
50
48
|
export var selectedFacetsReducer = selectIndexFacets.reducer;
|
|
51
49
|
export var addFacetSelection = (_a = selectIndexFacets.actions, _a.addFacetSelection), removeFacetSelection = _a.removeFacetSelection;
|
|
52
|
-
export var selectSelectedFacetsFromIndex = function (state, index
|
|
53
|
-
export var selectAllFiltersCollapsed = function (state) {
|
|
54
|
-
return Object.values(state.filtersExpandedState).every(function (e) { return !e; });
|
|
55
|
-
};
|
|
50
|
+
export var selectSelectedFacetsFromIndex = function (state, index) { return state.selectedIndexFacets[index]; };
|
|
56
51
|
//# sourceMappingURL=SelectedFacetsSlice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedFacetsSlice.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/SelectedFacetsSlice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;AAK9D,IAAM,YAAY,GAAyB,EAAE,CAAC;AAE9C,IAAM,iBAAiB,GAAG,WAAW,CAAC;IACpC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"SelectedFacetsSlice.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/SelectedFacetsSlice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;AAK9D,IAAM,YAAY,GAAyB,EAAE,CAAC;AAE9C,IAAM,iBAAiB,GAAG,WAAW,CAAC;IACpC,IAAI,EAAE,gCAAgC;IACtC,YAAY,EAAE,YAAY;IAC1B,QAAQ,EAAE;QACR,iBAAiB,EAAE,UACjB,KAAK,EACL,MAAuD;;YAEvD,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC,EAAE,CAAC;gBACrC,6BACK,KAAK,aACH,GAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IAAG,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OACnD;YACJ,CAAC;;gBACC,6BACK,KAAK,gBACP,MAAM,CAAC,OAAO,CAAC,KAAK,oCAChB,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;oBAC9B,MAAM,CAAC,OAAO,CAAC,KAAK;gCAEtB;QACN,CAAC;QACD,oBAAoB,EAAE,UACpB,KAAK,EACL,MAAuD;;YAEvD,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC;gBAAE,OAAO,KAAK,CAAC;YAEnD,6BACK,KAAK;gBAEN,GAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CACxD,UAAC,CAAC,IAAK,OAAA,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,EAAzB,CAAyB,CACjC;qBAEH;QACJ,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,qBAAqB,GAAG,iBAAiB,CAAC,OAAO,CAAC;AAE/D,MAAM,CAAS,IAAA,iBAAiB,IAAnB,KACX,iBAAiB,CAAC,OAAO,uBADK,EAAE,oBAAoB,0BAAA,CAC1B;AAE5B,MAAM,CAAC,IAAM,6BAA6B,GAAG,UAC3C,KAAe,EACf,KAAa,IACA,OAAA,KAAK,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAhC,CAAgC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CohortDiscoveryConfig, IndexResourceField } from './types';
|
|
2
|
+
interface TabbedIndexProps {
|
|
3
|
+
config: CohortDiscoveryConfig;
|
|
4
|
+
indexResources: IndexResourceField;
|
|
5
|
+
tabsLayout?: 'left' | 'center' | 'right';
|
|
6
|
+
}
|
|
7
|
+
declare const TabbedIndex: ({ config, indexResources, tabsLayout, }: TabbedIndexProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TabbedIndex;
|
|
9
|
+
//# sourceMappingURL=TabbedIndex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabbedIndex.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/TabbedIndex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGpE,UAAU,gBAAgB;IACxB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,cAAc,EAAE,kBAAkB,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CAC1C;AAED,QAAA,MAAM,WAAW,GAAI,yCAIlB,gBAAgB,4CA4ClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Tabs } from '@mantine/core';
|
|
3
|
+
import { TabsLayoutToComponentProp } from '../../utils/layout';
|
|
4
|
+
import IndexPanel from './IndexPanel';
|
|
5
|
+
var TabbedIndex = function (_a) {
|
|
6
|
+
var config = _a.config, indexResources = _a.indexResources, _b = _a.tabsLayout, tabsLayout = _b === void 0 ? 'left' : _b;
|
|
7
|
+
return (_jsx("div", { className: "w-full", children: _jsxs(Tabs, { color: "primary.4", keepMounted: true, defaultValue: config.dataIndexes[0].tabTitle, children: [_jsx(Tabs.List, { className: "w-full", justify: TabsLayoutToComponentProp(tabsLayout), children: config.dataIndexes.map(function (panelConfig) {
|
|
8
|
+
return (_jsx(Tabs.Tab, { value: panelConfig.tabTitle, children: panelConfig.tabTitle }, "".concat(panelConfig.tabTitle, "-tabList")));
|
|
9
|
+
}) }), config.dataIndexes.map(function (panelConfig) {
|
|
10
|
+
var _a;
|
|
11
|
+
return (_jsx(Tabs.Panel, { value: panelConfig.tabTitle, children: _jsx(IndexPanel, { dataConfig: panelConfig.dataConfig, tabTitle: panelConfig.tabTitle, resourceField: panelConfig.resourceField, tabs: panelConfig.tabs, emptySelection: config.emptySelection, numColumns: (_a = panelConfig.numColumns) !== null && _a !== void 0 ? _a : 2, indexResources: indexResources, remoteSupportService: config.remoteSupportService }) }, "".concat(panelConfig.tabTitle, "-tabPanel")));
|
|
12
|
+
})] }) }));
|
|
13
|
+
};
|
|
14
|
+
export default TabbedIndex;
|
|
15
|
+
//# sourceMappingURL=TabbedIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabbedIndex.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/TabbedIndex.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAG/D,OAAO,UAAU,MAAM,cAAc,CAAC;AAQtC,IAAM,WAAW,GAAG,UAAC,EAIF;QAHjB,MAAM,YAAA,EACN,cAAc,oBAAA,EACd,k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
36
36
|
};
|
|
37
37
|
import { fetchJSONDataFromURL, GEN3_GUPPY_API, HTTPError, HttpMethod, roundHistogramResponse, } from '@gen3/core';
|
|
38
|
-
var COHORT_DISCOVERY_LIMIT = process.env.
|
|
39
|
-
? Number(process.env.
|
|
38
|
+
var COHORT_DISCOVERY_LIMIT = process.env.GEN3_COHORT_DISCOVERY_LIMIT
|
|
39
|
+
? Number(process.env.GEN3_COHORT_DISCOVERY_LIMIT)
|
|
40
40
|
: 100;
|
|
41
41
|
export default function (req, res) {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analysisApiCohortDiscovery.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/api/analysisApiCohortDiscovery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,SAAS,EACT,UAAU,EACV,sBAAsB,GACvB,MAAM,YAAY,CAAC;AAEpB,IAAM,sBAAsB,GAAG,OAAO,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"analysisApiCohortDiscovery.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/api/analysisApiCohortDiscovery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,SAAS,EACT,UAAU,EACV,sBAAsB,GACvB,MAAM,YAAY,CAAC;AAEpB,IAAM,sBAAsB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B;IACpE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;IACjD,CAAC,CAAC,GAAG,CAAC;AAER,MAAM,CAAC,OAAO,WAAiB,GAAmB,EAAE,GAAoB;;;;;;oBACtE,mDAAmD;oBACnD,IAAI,GAAG,CAAC,MAAM,KAAK,MAAM,EAAE,CAA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