@gen3/frontend 0.10.94 → 0.10.95
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 +5530 -3554
- package/dist/cjs/index.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/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/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/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/ReactECharts.js +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js.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/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 +3 -1
- 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/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 -19
- 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.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 +13 -5
- 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/ChartsAndFacetsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +19 -11
- 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 +23 -8
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +6 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +71 -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 +417 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +45 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +95 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +388 -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 +574 -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/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 +22 -6
- 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 +41 -33
- package/dist/dts/features/CohortDiscovery/IndexPanel.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/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 +231 -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 +8 -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 +19 -3
- package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.js +11 -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 +42 -1
- package/dist/dts/features/CohortDiscovery/hooks.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 +57 -0
- package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/types.js +35 -1
- package/dist/dts/features/CohortDiscovery/types.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/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/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 +3 -107
- 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/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/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/session/session.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js +16 -32
- package/dist/dts/lib/session/session.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/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 +4 -0
- package/dist/dts/types/icons.d.ts.map +1 -0
- package/dist/dts/types/icons.js +5 -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 +2 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/index.js +2 -0
- 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/esm/index.js +5935 -3965
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +214 -145
- 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,417 @@
|
|
|
1
|
+
import { AppState } from '../appApi';
|
|
2
|
+
import { Cohort } from '../types';
|
|
3
|
+
export declare const selectAllCohorts: (state: {
|
|
4
|
+
selectedIndexFacets: {
|
|
5
|
+
[x: string]: string[];
|
|
6
|
+
};
|
|
7
|
+
filtersExpandedState: {
|
|
8
|
+
[x: string]: boolean;
|
|
9
|
+
};
|
|
10
|
+
facetDefinitionState: {
|
|
11
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
12
|
+
};
|
|
13
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
14
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
15
|
+
} & {
|
|
16
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
17
|
+
}) => Cohort[], selectTotalCohorts: (state: {
|
|
18
|
+
selectedIndexFacets: {
|
|
19
|
+
[x: string]: string[];
|
|
20
|
+
};
|
|
21
|
+
filtersExpandedState: {
|
|
22
|
+
[x: string]: boolean;
|
|
23
|
+
};
|
|
24
|
+
facetDefinitionState: {
|
|
25
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
26
|
+
};
|
|
27
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
28
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
29
|
+
} & {
|
|
30
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
31
|
+
}) => number, selectCohortById: (state: {
|
|
32
|
+
selectedIndexFacets: {
|
|
33
|
+
[x: string]: string[];
|
|
34
|
+
};
|
|
35
|
+
filtersExpandedState: {
|
|
36
|
+
[x: string]: boolean;
|
|
37
|
+
};
|
|
38
|
+
facetDefinitionState: {
|
|
39
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
40
|
+
};
|
|
41
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
42
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
43
|
+
} & {
|
|
44
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
45
|
+
}, id: string) => {
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
filters: import("@gen3/core").IndexedFilterSet;
|
|
49
|
+
modified: boolean;
|
|
50
|
+
modifiedDatetime: string;
|
|
51
|
+
createdDatetime: string;
|
|
52
|
+
requestedAccess: boolean;
|
|
53
|
+
requestId: string;
|
|
54
|
+
saved: boolean;
|
|
55
|
+
}, selectCohortIds: (state: {
|
|
56
|
+
selectedIndexFacets: {
|
|
57
|
+
[x: string]: string[];
|
|
58
|
+
};
|
|
59
|
+
filtersExpandedState: {
|
|
60
|
+
[x: string]: boolean;
|
|
61
|
+
};
|
|
62
|
+
facetDefinitionState: {
|
|
63
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
64
|
+
};
|
|
65
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
66
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
67
|
+
} & {
|
|
68
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
69
|
+
}) => string[];
|
|
70
|
+
export declare const selectCurrentCohortId: (state: AppState) => string;
|
|
71
|
+
export declare const selectCurrentCohort: (state: AppState) => Cohort;
|
|
72
|
+
export declare const selectSavedCohorts: ((state: {
|
|
73
|
+
selectedIndexFacets: {
|
|
74
|
+
[x: string]: string[];
|
|
75
|
+
};
|
|
76
|
+
filtersExpandedState: {
|
|
77
|
+
[x: string]: boolean;
|
|
78
|
+
};
|
|
79
|
+
facetDefinitionState: {
|
|
80
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
81
|
+
};
|
|
82
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
83
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
84
|
+
} & {
|
|
85
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
86
|
+
}) => Cohort[]) & {
|
|
87
|
+
clearCache: () => void;
|
|
88
|
+
resultsCount: () => number;
|
|
89
|
+
resetResultsCount: () => void;
|
|
90
|
+
} & {
|
|
91
|
+
resultFunc: (resultFuncArgs_0: Cohort[]) => Cohort[];
|
|
92
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort[]) => Cohort[]) & {
|
|
93
|
+
clearCache: () => void;
|
|
94
|
+
resultsCount: () => number;
|
|
95
|
+
resetResultsCount: () => void;
|
|
96
|
+
};
|
|
97
|
+
lastResult: () => Cohort[];
|
|
98
|
+
dependencies: [(state: {
|
|
99
|
+
selectedIndexFacets: {
|
|
100
|
+
[x: string]: string[];
|
|
101
|
+
};
|
|
102
|
+
filtersExpandedState: {
|
|
103
|
+
[x: string]: boolean;
|
|
104
|
+
};
|
|
105
|
+
facetDefinitionState: {
|
|
106
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
107
|
+
};
|
|
108
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
109
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
110
|
+
} & {
|
|
111
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
112
|
+
}) => Cohort[]];
|
|
113
|
+
recomputations: () => number;
|
|
114
|
+
resetRecomputations: () => void;
|
|
115
|
+
dependencyRecomputations: () => number;
|
|
116
|
+
resetDependencyRecomputations: () => void;
|
|
117
|
+
} & {
|
|
118
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
119
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
120
|
+
};
|
|
121
|
+
export declare const selectUnsavedCohorts: ((state: {
|
|
122
|
+
selectedIndexFacets: {
|
|
123
|
+
[x: string]: string[];
|
|
124
|
+
};
|
|
125
|
+
filtersExpandedState: {
|
|
126
|
+
[x: string]: boolean;
|
|
127
|
+
};
|
|
128
|
+
facetDefinitionState: {
|
|
129
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
130
|
+
};
|
|
131
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
132
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
133
|
+
} & {
|
|
134
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
135
|
+
}) => Cohort[]) & {
|
|
136
|
+
clearCache: () => void;
|
|
137
|
+
resultsCount: () => number;
|
|
138
|
+
resetResultsCount: () => void;
|
|
139
|
+
} & {
|
|
140
|
+
resultFunc: (resultFuncArgs_0: Cohort[]) => Cohort[];
|
|
141
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort[]) => Cohort[]) & {
|
|
142
|
+
clearCache: () => void;
|
|
143
|
+
resultsCount: () => number;
|
|
144
|
+
resetResultsCount: () => void;
|
|
145
|
+
};
|
|
146
|
+
lastResult: () => Cohort[];
|
|
147
|
+
dependencies: [(state: {
|
|
148
|
+
selectedIndexFacets: {
|
|
149
|
+
[x: string]: string[];
|
|
150
|
+
};
|
|
151
|
+
filtersExpandedState: {
|
|
152
|
+
[x: string]: boolean;
|
|
153
|
+
};
|
|
154
|
+
facetDefinitionState: {
|
|
155
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
156
|
+
};
|
|
157
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
158
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
159
|
+
} & {
|
|
160
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
161
|
+
}) => Cohort[]];
|
|
162
|
+
recomputations: () => number;
|
|
163
|
+
resetRecomputations: () => void;
|
|
164
|
+
dependencyRecomputations: () => number;
|
|
165
|
+
resetDependencyRecomputations: () => void;
|
|
166
|
+
} & {
|
|
167
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
168
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
169
|
+
};
|
|
170
|
+
export declare const selectModifiedUnsavedCohorts: ((state: {
|
|
171
|
+
selectedIndexFacets: {
|
|
172
|
+
[x: string]: string[];
|
|
173
|
+
};
|
|
174
|
+
filtersExpandedState: {
|
|
175
|
+
[x: string]: boolean;
|
|
176
|
+
};
|
|
177
|
+
facetDefinitionState: {
|
|
178
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
179
|
+
};
|
|
180
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
181
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
182
|
+
} & {
|
|
183
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
184
|
+
}) => Cohort[]) & {
|
|
185
|
+
clearCache: () => void;
|
|
186
|
+
resultsCount: () => number;
|
|
187
|
+
resetResultsCount: () => void;
|
|
188
|
+
} & {
|
|
189
|
+
resultFunc: (resultFuncArgs_0: Cohort[]) => Cohort[];
|
|
190
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort[]) => Cohort[]) & {
|
|
191
|
+
clearCache: () => void;
|
|
192
|
+
resultsCount: () => number;
|
|
193
|
+
resetResultsCount: () => void;
|
|
194
|
+
};
|
|
195
|
+
lastResult: () => Cohort[];
|
|
196
|
+
dependencies: [(state: {
|
|
197
|
+
selectedIndexFacets: {
|
|
198
|
+
[x: string]: string[];
|
|
199
|
+
};
|
|
200
|
+
filtersExpandedState: {
|
|
201
|
+
[x: string]: boolean;
|
|
202
|
+
};
|
|
203
|
+
facetDefinitionState: {
|
|
204
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
205
|
+
};
|
|
206
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
207
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
208
|
+
} & {
|
|
209
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
210
|
+
}) => Cohort[]];
|
|
211
|
+
recomputations: () => number;
|
|
212
|
+
resetRecomputations: () => void;
|
|
213
|
+
dependencyRecomputations: () => number;
|
|
214
|
+
resetDependencyRecomputations: () => void;
|
|
215
|
+
} & {
|
|
216
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
217
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
218
|
+
};
|
|
219
|
+
export declare const selectAutoSaveInProgress: ((state: {
|
|
220
|
+
selectedIndexFacets: {
|
|
221
|
+
[x: string]: string[];
|
|
222
|
+
};
|
|
223
|
+
filtersExpandedState: {
|
|
224
|
+
[x: string]: boolean;
|
|
225
|
+
};
|
|
226
|
+
facetDefinitionState: {
|
|
227
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
228
|
+
};
|
|
229
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
230
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
231
|
+
} & {
|
|
232
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
233
|
+
}) => string[]) & {
|
|
234
|
+
clearCache: () => void;
|
|
235
|
+
resultsCount: () => number;
|
|
236
|
+
resetResultsCount: () => void;
|
|
237
|
+
} & {
|
|
238
|
+
resultFunc: (resultFuncArgs_0: string[]) => string[];
|
|
239
|
+
memoizedResultFunc: ((resultFuncArgs_0: string[]) => string[]) & {
|
|
240
|
+
clearCache: () => void;
|
|
241
|
+
resultsCount: () => number;
|
|
242
|
+
resetResultsCount: () => void;
|
|
243
|
+
};
|
|
244
|
+
lastResult: () => string[];
|
|
245
|
+
dependencies: [(state: AppState) => string[]];
|
|
246
|
+
recomputations: () => number;
|
|
247
|
+
resetRecomputations: () => void;
|
|
248
|
+
dependencyRecomputations: () => number;
|
|
249
|
+
resetDependencyRecomputations: () => void;
|
|
250
|
+
} & {
|
|
251
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
252
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
253
|
+
};
|
|
254
|
+
export declare const selectCohortAutoSaveStatus: ((state: any, cohortId: any) => boolean) & {
|
|
255
|
+
clearCache: () => void;
|
|
256
|
+
resultsCount: () => number;
|
|
257
|
+
resetResultsCount: () => void;
|
|
258
|
+
} & {
|
|
259
|
+
resultFunc: (resultFuncArgs_0: string[], resultFuncArgs_1: any) => boolean;
|
|
260
|
+
memoizedResultFunc: ((resultFuncArgs_0: string[], resultFuncArgs_1: any) => boolean) & {
|
|
261
|
+
clearCache: () => void;
|
|
262
|
+
resultsCount: () => number;
|
|
263
|
+
resetResultsCount: () => void;
|
|
264
|
+
};
|
|
265
|
+
lastResult: () => boolean;
|
|
266
|
+
dependencies: [(state: AppState) => string[], (state: any, cohortId: any) => any];
|
|
267
|
+
recomputations: () => number;
|
|
268
|
+
resetRecomputations: () => void;
|
|
269
|
+
dependencyRecomputations: () => number;
|
|
270
|
+
resetDependencyRecomputations: () => void;
|
|
271
|
+
} & {
|
|
272
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
273
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
274
|
+
};
|
|
275
|
+
export declare const selectCurrentCohortName: ((state: {
|
|
276
|
+
selectedIndexFacets: {
|
|
277
|
+
[x: string]: string[];
|
|
278
|
+
};
|
|
279
|
+
filtersExpandedState: {
|
|
280
|
+
[x: string]: boolean;
|
|
281
|
+
};
|
|
282
|
+
facetDefinitionState: {
|
|
283
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
284
|
+
};
|
|
285
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
286
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
287
|
+
} & {
|
|
288
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
289
|
+
}) => string) & {
|
|
290
|
+
clearCache: () => void;
|
|
291
|
+
resultsCount: () => number;
|
|
292
|
+
resetResultsCount: () => void;
|
|
293
|
+
} & {
|
|
294
|
+
resultFunc: (resultFuncArgs_0: Cohort) => string;
|
|
295
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort) => string) & {
|
|
296
|
+
clearCache: () => void;
|
|
297
|
+
resultsCount: () => number;
|
|
298
|
+
resetResultsCount: () => void;
|
|
299
|
+
};
|
|
300
|
+
lastResult: () => string;
|
|
301
|
+
dependencies: [(state: AppState) => Cohort];
|
|
302
|
+
recomputations: () => number;
|
|
303
|
+
resetRecomputations: () => void;
|
|
304
|
+
dependencyRecomputations: () => number;
|
|
305
|
+
resetDependencyRecomputations: () => void;
|
|
306
|
+
} & {
|
|
307
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
308
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
309
|
+
};
|
|
310
|
+
export declare const selectCurrentCohortFilters: ((state: {
|
|
311
|
+
selectedIndexFacets: {
|
|
312
|
+
[x: string]: string[];
|
|
313
|
+
};
|
|
314
|
+
filtersExpandedState: {
|
|
315
|
+
[x: string]: boolean;
|
|
316
|
+
};
|
|
317
|
+
facetDefinitionState: {
|
|
318
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
319
|
+
};
|
|
320
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
321
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
322
|
+
} & {
|
|
323
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
324
|
+
}) => import("@gen3/core").IndexedFilterSet) & {
|
|
325
|
+
clearCache: () => void;
|
|
326
|
+
resultsCount: () => number;
|
|
327
|
+
resetResultsCount: () => void;
|
|
328
|
+
} & {
|
|
329
|
+
resultFunc: (resultFuncArgs_0: Cohort) => import("@gen3/core").IndexedFilterSet;
|
|
330
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort) => import("@gen3/core").IndexedFilterSet) & {
|
|
331
|
+
clearCache: () => void;
|
|
332
|
+
resultsCount: () => number;
|
|
333
|
+
resetResultsCount: () => void;
|
|
334
|
+
};
|
|
335
|
+
lastResult: () => import("@gen3/core").IndexedFilterSet;
|
|
336
|
+
dependencies: [(state: AppState) => Cohort];
|
|
337
|
+
recomputations: () => number;
|
|
338
|
+
resetRecomputations: () => void;
|
|
339
|
+
dependencyRecomputations: () => number;
|
|
340
|
+
resetDependencyRecomputations: () => void;
|
|
341
|
+
} & {
|
|
342
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
343
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
344
|
+
};
|
|
345
|
+
export declare const selectCurrentCohortIndexFilters: ((state: any, index: any) => import("@gen3/core").FilterSet) & {
|
|
346
|
+
clearCache: () => void;
|
|
347
|
+
resultsCount: () => number;
|
|
348
|
+
resetResultsCount: () => void;
|
|
349
|
+
} & {
|
|
350
|
+
resultFunc: (resultFuncArgs_0: Cohort, resultFuncArgs_1: any) => import("@gen3/core").FilterSet;
|
|
351
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort, resultFuncArgs_1: any) => import("@gen3/core").FilterSet) & {
|
|
352
|
+
clearCache: () => void;
|
|
353
|
+
resultsCount: () => number;
|
|
354
|
+
resetResultsCount: () => void;
|
|
355
|
+
};
|
|
356
|
+
lastResult: () => import("@gen3/core").FilterSet;
|
|
357
|
+
dependencies: [(state: AppState) => Cohort, (state: any, index: any) => any];
|
|
358
|
+
recomputations: () => number;
|
|
359
|
+
resetRecomputations: () => void;
|
|
360
|
+
dependencyRecomputations: () => number;
|
|
361
|
+
resetDependencyRecomputations: () => void;
|
|
362
|
+
} & {
|
|
363
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
364
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
365
|
+
};
|
|
366
|
+
export declare const selectCohortManagerLoading: (state: AppState) => boolean;
|
|
367
|
+
export declare const selectCohortManagerError: (state: AppState) => string | null;
|
|
368
|
+
export declare const selectCohortIdToNameMap: ((state: {
|
|
369
|
+
selectedIndexFacets: {
|
|
370
|
+
[x: string]: string[];
|
|
371
|
+
};
|
|
372
|
+
filtersExpandedState: {
|
|
373
|
+
[x: string]: boolean;
|
|
374
|
+
};
|
|
375
|
+
facetDefinitionState: {
|
|
376
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
377
|
+
};
|
|
378
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
379
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
380
|
+
} & {
|
|
381
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
382
|
+
}) => Record<string, string>) & {
|
|
383
|
+
clearCache: () => void;
|
|
384
|
+
resultsCount: () => number;
|
|
385
|
+
resetResultsCount: () => void;
|
|
386
|
+
} & {
|
|
387
|
+
resultFunc: (resultFuncArgs_0: Cohort[]) => Record<string, string>;
|
|
388
|
+
memoizedResultFunc: ((resultFuncArgs_0: Cohort[]) => Record<string, string>) & {
|
|
389
|
+
clearCache: () => void;
|
|
390
|
+
resultsCount: () => number;
|
|
391
|
+
resetResultsCount: () => void;
|
|
392
|
+
};
|
|
393
|
+
lastResult: () => Record<string, string>;
|
|
394
|
+
dependencies: [(state: {
|
|
395
|
+
selectedIndexFacets: {
|
|
396
|
+
[x: string]: string[];
|
|
397
|
+
};
|
|
398
|
+
filtersExpandedState: {
|
|
399
|
+
[x: string]: boolean;
|
|
400
|
+
};
|
|
401
|
+
facetDefinitionState: {
|
|
402
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
403
|
+
};
|
|
404
|
+
cohorts: import("@reduxjs/toolkit").EntityState<Cohort, string> & import("./CohortManagerSlice").CohortManagerState;
|
|
405
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("../types").DataAccessRequest, string>;
|
|
406
|
+
} & {
|
|
407
|
+
_persist: import("redux-persist/es/types").PersistState;
|
|
408
|
+
}) => Cohort[]];
|
|
409
|
+
recomputations: () => number;
|
|
410
|
+
resetRecomputations: () => void;
|
|
411
|
+
dependencyRecomputations: () => number;
|
|
412
|
+
resetDependencyRecomputations: () => void;
|
|
413
|
+
} & {
|
|
414
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
415
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
416
|
+
};
|
|
417
|
+
//# sourceMappingURL=CohortManagerSelectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CohortManagerSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,MAAM,EAAY,MAAM,UAAU,CAAC;AAG5C,eAAO,MACM,gBAAgB;;;;;;;;;;;;;;gBACd,kBAAkB;;;;;;;;;;;;;;cACnB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;GACjB,eAAe;;;;;;;;;;;;;;cACuC,CAAC;AAEpE,eAAO,MAAM,qBAAqB,GAAI,OAAO,QAAQ,KAAG,MACzB,CAAC;AAEhC,eAAO,MAAM,mBAAmB,GAAI,OAAO,QAAQ,KAAG,MASrD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;2BAC1B,QAAQ;;;;;;;;CAElB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;2BAE3B,QAAQ;;;;;;;;CAInB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;2BAvCO,QAAQ,KAAG,MAAM;;;;;;;;CA0C3D,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;2BA5CI,QAAQ,KAAG,MAAM;;;;;;;;CA+C3D,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;2BAjDD,QAAQ,KAAG,MAAM;;;;;;;;CAuD3D,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,OAAO,QAAQ,KAAG,OACtC,CAAC;AAExB,eAAO,MAAM,wBAAwB,GAAI,OAAO,QAAQ,KAAG,MAAM,GAAG,IAC/C,CAAC;AAEtB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { createSelector } from '@reduxjs/toolkit';
|
|
3
|
+
import { cohortsAdapter, createDefaultCohort } from './CohortManagerSlice';
|
|
4
|
+
import { EmptyFilterSet } from './types';
|
|
5
|
+
// Selectors
|
|
6
|
+
export var selectAllCohorts = (_a = cohortsAdapter.getSelectors(function (state) { return state.cohorts; }), _a.selectAll), selectTotalCohorts = _a.selectTotal, selectCohortById = _a.selectById, selectCohortIds = _a.selectIds;
|
|
7
|
+
export var selectCurrentCohortId = function (state) {
|
|
8
|
+
return state.cohorts.currentCohortId;
|
|
9
|
+
};
|
|
10
|
+
export var selectCurrentCohort = function (state) {
|
|
11
|
+
var _a = state.cohorts, currentCohortId = _a.currentCohortId, entities = _a.entities;
|
|
12
|
+
var cohort = entities[currentCohortId];
|
|
13
|
+
if (!cohort) {
|
|
14
|
+
return createDefaultCohort();
|
|
15
|
+
}
|
|
16
|
+
return cohort;
|
|
17
|
+
};
|
|
18
|
+
export var selectSavedCohorts = createSelector([selectAllCohorts], function (cohorts) { return cohorts.filter(function (cohort) { return cohort.saved; }); });
|
|
19
|
+
export var selectUnsavedCohorts = createSelector([selectAllCohorts], function (cohorts) { return cohorts.filter(function (cohort) { return !cohort.saved; }); });
|
|
20
|
+
export var selectModifiedUnsavedCohorts = createSelector([selectAllCohorts], function (cohorts) { return cohorts.filter(function (cohort) { return cohort.modified && !cohort.saved; }); });
|
|
21
|
+
export var selectAutoSaveInProgress = createSelector([function (state) { return Array.from(state.cohorts.autoSaveInProgress); }], function (autoSaveArray) { return autoSaveArray; });
|
|
22
|
+
export var selectCohortAutoSaveStatus = createSelector([
|
|
23
|
+
function (state) { return state.cohorts.autoSaveInProgress; },
|
|
24
|
+
function (state, cohortId) { return cohortId; },
|
|
25
|
+
], function (autoSaveArray, cohortId) { return autoSaveArray.includes(cohortId); });
|
|
26
|
+
export var selectCurrentCohortName = createSelector([selectCurrentCohort], function (cohort) { return cohort.name; });
|
|
27
|
+
export var selectCurrentCohortFilters = createSelector([selectCurrentCohort], function (cohort) { return cohort.filters; });
|
|
28
|
+
export var selectCurrentCohortIndexFilters = createSelector([selectCurrentCohort, function (state, index) { return index; }], function (cohort, index) {
|
|
29
|
+
var _a, _b;
|
|
30
|
+
console.log('selectCurrentCohortIndexFilters', cohort, index);
|
|
31
|
+
return (_b = (_a = cohort.filters) === null || _a === void 0 ? void 0 : _a[index]) !== null && _b !== void 0 ? _b : EmptyFilterSet;
|
|
32
|
+
});
|
|
33
|
+
export var selectCohortManagerLoading = function (state) {
|
|
34
|
+
return state.cohorts.loading;
|
|
35
|
+
};
|
|
36
|
+
export var selectCohortManagerError = function (state) {
|
|
37
|
+
return state.cohorts.error;
|
|
38
|
+
};
|
|
39
|
+
export var selectCohortIdToNameMap = createSelector([selectAllCohorts], function (cohorts) {
|
|
40
|
+
return cohorts.reduce(function (acc, cohort) {
|
|
41
|
+
acc[cohort.id] = cohort.name;
|
|
42
|
+
return acc;
|
|
43
|
+
}, {});
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=CohortManagerSelectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CohortManagerSelectors.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGzC,YAAY;AACZ,MAAM,CACJ,IAAW,gBAAgB,IADhB,KAKT,cAAc,CAAC,YAAY,CAAC,UAAC,KAAe,IAAK,OAAA,KAAK,CAAC,OAAO,EAAb,CAAa,CAAC,eAJtC,EACd,kBAAkB,iBAAA,EACnB,gBAAgB,gBAAA,EACjB,eAAe,eAAA,CACwC;AAEpE,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,KAAe;IACnD,OAAA,KAAK,CAAC,OAAO,CAAC,eAAe;AAA7B,CAA6B,CAAC;AAEhC,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAAC,KAAe;IAC3C,IAAA,KAAgC,KAAK,CAAC,OAAO,EAA3C,eAAe,qBAAA,EAAE,QAAQ,cAAkB,CAAC;IACpD,IAAM,MAAM,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;IAEzC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,mBAAmB,EAAE,CAAC;IAC/B,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,kBAAkB,GAAG,cAAc,CAC9C,CAAC,gBAAgB,CAAC,EAClB,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,KAAK,EAAZ,CAAY,CAAC,EAAxC,CAAwC,CACtD,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAAG,cAAc,CAChD,CAAC,gBAAgB,CAAC,EAClB,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,UAAC,MAAM,IAAK,OAAA,CAAC,MAAM,CAAC,KAAK,EAAb,CAAa,CAAC,EAAzC,CAAyC,CACvD,CAAC;AAEF,MAAM,CAAC,IAAM,4BAA4B,GAAG,cAAc,CACxD,CAAC,gBAAgB,CAAC,EAClB,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,KAAK,EAAhC,CAAgC,CAAC,EAA5D,CAA4D,CAC1E,CAAC;AAEF,MAAM,CAAC,IAAM,wBAAwB,GAAG,cAAc,CACpD,CAAC,UAAC,KAAe,IAAK,OAAA,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAA5C,CAA4C,CAAC,EACnE,UAAC,aAAa,IAAK,OAAA,aAAa,EAAb,CAAa,CACjC,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAAG,cAAc,CACtD;IACE,UAAC,KAAe,IAAK,OAAA,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAhC,CAAgC;IACrD,UAAC,KAAK,EAAE,QAAQ,IAAK,OAAA,QAAQ,EAAR,CAAQ;CAC9B,EACD,UAAC,aAAa,EAAE,QAAQ,IAAK,OAAA,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAhC,CAAgC,CAC9D,CAAC;AAEF,MAAM,CAAC,IAAM,uBAAuB,GAAG,cAAc,CACnD,CAAC,mBAAmB,CAAC,EACrB,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,IAAI,EAAX,CAAW,CACxB,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAAG,cAAc,CACtD,CAAC,mBAAmB,CAAC,EACrB,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,OAAO,EAAd,CAAc,CAC3B,CAAC;AAEF,MAAM,CAAC,IAAM,+BAA+B,GAAG,cAAc,CAC3D,CAAC,mBAAmB,EAAE,UAAC,KAAK,EAAE,KAAK,IAAK,OAAA,KAAK,EAAL,CAAK,CAAC,EAC9C,UAAC,MAAM,EAAE,KAAK;;IACZ,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;IAC9D,OAAO,MAAA,MAAA,MAAM,CAAC,OAAO,0CAAG,KAAK,CAAC,mCAAI,cAAc,CAAC;AACnD,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAAG,UAAC,KAAe;IACxD,OAAA,KAAK,CAAC,OAAO,CAAC,OAAO;AAArB,CAAqB,CAAC;AAExB,MAAM,CAAC,IAAM,wBAAwB,GAAG,UAAC,KAAe;IACtD,OAAA,KAAK,CAAC,OAAO,CAAC,KAAK;AAAnB,CAAmB,CAAC;AAEtB,MAAM,CAAC,IAAM,uBAAuB,GAAG,cAAc,CACnD,CAAC,gBAAgB,CAAC,EAClB,UAAC,OAAO;IACN,OAAO,OAAO,CAAC,MAAM,CAA2B,UAAC,GAAG,EAAE,MAAM;QAC1D,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;QAC7B,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EntityState, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { FilterSet, IndexedFilterSet, Operation } from '@gen3/core';
|
|
3
|
+
import { Cohort } from '../types';
|
|
4
|
+
export declare const createDefaultCohort: () => Cohort;
|
|
5
|
+
export declare const cohortsAdapter: import("@reduxjs/toolkit").EntityAdapter<Cohort, string>;
|
|
6
|
+
export interface CohortManagerState {
|
|
7
|
+
currentCohortId: string;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
error: string | null;
|
|
10
|
+
autoSaveInProgress: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare const loadCohortsFromStorage: import("@reduxjs/toolkit").AsyncThunk<Cohort[], void, {
|
|
13
|
+
state?: unknown;
|
|
14
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>;
|
|
15
|
+
extra?: unknown;
|
|
16
|
+
rejectValue?: unknown;
|
|
17
|
+
serializedErrorType?: unknown;
|
|
18
|
+
pendingMeta?: unknown;
|
|
19
|
+
fulfilledMeta?: unknown;
|
|
20
|
+
rejectedMeta?: unknown;
|
|
21
|
+
}>;
|
|
22
|
+
interface SaveCohortParams {
|
|
23
|
+
cohortId: string;
|
|
24
|
+
cohortName?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const saveCohortToStorage: import("@reduxjs/toolkit").AsyncThunk<Cohort, SaveCohortParams, {
|
|
27
|
+
state?: unknown;
|
|
28
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>;
|
|
29
|
+
extra?: unknown;
|
|
30
|
+
rejectValue?: unknown;
|
|
31
|
+
serializedErrorType?: unknown;
|
|
32
|
+
pendingMeta?: unknown;
|
|
33
|
+
fulfilledMeta?: unknown;
|
|
34
|
+
rejectedMeta?: unknown;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const autoSaveCohort: import("@reduxjs/toolkit").AsyncThunk<Cohort, string, {
|
|
37
|
+
state?: unknown;
|
|
38
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>;
|
|
39
|
+
extra?: unknown;
|
|
40
|
+
rejectValue?: unknown;
|
|
41
|
+
serializedErrorType?: unknown;
|
|
42
|
+
pendingMeta?: unknown;
|
|
43
|
+
fulfilledMeta?: unknown;
|
|
44
|
+
rejectedMeta?: unknown;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const deleteCohortFromStorage: import("@reduxjs/toolkit").AsyncThunk<string, string, {
|
|
47
|
+
state?: unknown;
|
|
48
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>;
|
|
49
|
+
extra?: unknown;
|
|
50
|
+
rejectValue?: unknown;
|
|
51
|
+
serializedErrorType?: unknown;
|
|
52
|
+
pendingMeta?: unknown;
|
|
53
|
+
fulfilledMeta?: unknown;
|
|
54
|
+
rejectedMeta?: unknown;
|
|
55
|
+
}>;
|
|
56
|
+
interface CreateCohortParams {
|
|
57
|
+
name?: string;
|
|
58
|
+
filters?: IndexedFilterSet;
|
|
59
|
+
}
|
|
60
|
+
interface UpdateCohortNameParams {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
}
|
|
64
|
+
interface UpdateFilterParams {
|
|
65
|
+
index: string;
|
|
66
|
+
field: string;
|
|
67
|
+
filter: Operation;
|
|
68
|
+
}
|
|
69
|
+
interface SetFilterParams {
|
|
70
|
+
index: string;
|
|
71
|
+
filters: FilterSet;
|
|
72
|
+
}
|
|
73
|
+
interface RemoveFilterParams {
|
|
74
|
+
index: string;
|
|
75
|
+
field: string;
|
|
76
|
+
}
|
|
77
|
+
interface ClearAllFilterParams {
|
|
78
|
+
index: string;
|
|
79
|
+
}
|
|
80
|
+
export declare const cohortManagerSlice: import("@reduxjs/toolkit").Slice<EntityState<Cohort, string> & CohortManagerState, {
|
|
81
|
+
setCurrentCohortId: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<string>) => void;
|
|
82
|
+
createNewCohort: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<CreateCohortParams>) => void;
|
|
83
|
+
removeCohort: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<string>) => void;
|
|
84
|
+
updateCohortName: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<UpdateCohortNameParams>) => void;
|
|
85
|
+
updateCohortFilter: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<UpdateFilterParams>) => void;
|
|
86
|
+
setCohortFilter: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<SetFilterParams>) => void;
|
|
87
|
+
setAllIndexFilters: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<IndexedFilterSet>) => void;
|
|
88
|
+
removeCohortFilter: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<RemoveFilterParams>) => void;
|
|
89
|
+
clearCohortFilters: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>, action: PayloadAction<ClearAllFilterParams>) => void;
|
|
90
|
+
clearError: (state: import("immer").WritableDraft<EntityState<Cohort, string> & CohortManagerState>) => void;
|
|
91
|
+
}, "CohortDiscovery/CohortManager", "CohortDiscovery/CohortManager", import("@reduxjs/toolkit").SliceSelectors<EntityState<Cohort, string> & CohortManagerState>>;
|
|
92
|
+
export declare const setCurrentCohortId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "CohortDiscovery/CohortManager/setCurrentCohortId">, createNewCohort: import("@reduxjs/toolkit").ActionCreatorWithPayload<CreateCohortParams, "CohortDiscovery/CohortManager/createNewCohort">, removeCohort: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "CohortDiscovery/CohortManager/removeCohort">, updateCohortName: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateCohortNameParams, "CohortDiscovery/CohortManager/updateCohortName">, updateCohortFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateFilterParams, "CohortDiscovery/CohortManager/updateCohortFilter">, setCohortFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetFilterParams, "CohortDiscovery/CohortManager/setCohortFilter">, setAllIndexFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<IndexedFilterSet, "CohortDiscovery/CohortManager/setAllIndexFilters">, removeCohortFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<RemoveFilterParams, "CohortDiscovery/CohortManager/removeCohortFilter">, clearCohortFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<ClearAllFilterParams, "CohortDiscovery/CohortManager/clearCohortFilters">, clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"CohortDiscovery/CohortManager/clearError">;
|
|
93
|
+
export declare const cohortManagerReducer: import("redux").Reducer<EntityState<Cohort, string> & CohortManagerState>;
|
|
94
|
+
export {};
|
|
95
|
+
//# sourceMappingURL=CohortManagerSlice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CohortManagerSlice.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/CohortManagment/CohortManagerSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,WAAW,EACX,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,MAAM,EAAuB,MAAM,UAAU,CAAC;AAIvD,eAAO,MAAM,mBAAmB,cAC8B,CAAC;AAG/D,eAAO,MAAM,cAAc,0DAOzB,CAAC;AAEH,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,kBAAkB,EAAE,MAAM,EAAE,CAAC;CAC9B;AAKD,eAAO,MAAM,sBAAsB;;;;;;;;;EAWlC,CAAC;AAEF,UAAU,gBAAgB;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,mBAAmB;;;;;;;;;EAwB/B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;EAqB1B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;EAMnC,CAAC;AAGF,UAAU,kBAAkB;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B;AAED,UAAU,sBAAsB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAqBD,eAAO,MAAM,kBAAkB;yHAIS,aAAa,CAAC,MAAM,CAAC;sHAMxB,aAAa,CAAC,kBAAkB,CAAC;mHAWpC,aAAa,CAAC,MAAM,CAAC;uHA0BzC,aAAa,CAAC,sBAAsB,CAAC;yHAwBX,aAAa,CAAC,kBAAkB,CAAC;sHA6BpC,aAAa,CAAC,eAAe,CAAC;yHAsB3B,aAAa,CAAC,gBAAgB,CAAC;yHAkB/B,aAAa,CAAC,kBAAkB,CAAC;yHAgC3D,aAAa,CAAC,oBAAoB,CAAC;;iKAgH/C,CAAC;AAcH,eAAO,MACL,kBAAkB,mHAClB,eAAe,4HACf,YAAY,6GACZ,gBAAgB,iIAChB,kBAAkB,+HAClB,eAAe,yHACf,kBAAkB,6HAClB,kBAAkB,+HAClB,kBAAkB,iIAClB,UAAU,oGACkB,CAAC;AAE/B,eAAO,MAAM,oBAAoB,2EAA6B,CAAC"}
|