@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
|
@@ -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,8 @@
|
|
|
1
|
+
import { CohortDiscoveryConfig } from './types';
|
|
2
|
+
interface TabbedIndexProps {
|
|
3
|
+
config: CohortDiscoveryConfig;
|
|
4
|
+
tabsLayout?: 'left' | 'center' | 'right';
|
|
5
|
+
}
|
|
6
|
+
declare const TabbedIndex: ({ config, tabsLayout }: TabbedIndexProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default TabbedIndex;
|
|
8
|
+
//# 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,MAAM,SAAS,CAAC;AAGhD,UAAU,gBAAgB;IACxB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CAC1C;AAED,QAAA,MAAM,WAAW,GAAI,wBAAiC,gBAAgB,4CAyCrE,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, _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, tabs: panelConfig.tabs, emptySelection: config.emptySelection, numColumns: (_a = panelConfig.numColumns) !== null && _a !== void 0 ? _a : 2 }) }, "".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;AAOtC,IAAM,WAAW,GAAG,UAAC,EAAiD;QAA/C,MAAM,YAAA,EAAE,kBAAmB,EAAnB,UAAU,mBAAG,MAAM,KAAA;IAChD,OAAO,CACL,cAAK,SAAS,EAAC,QAAQ,YACrB,MAAC,IAAI,IACH,KAAK,EAAC,WAAW,EACjB,WAAW,EAAE,IAAI,EACjB,YAAY,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,aAE5C,KAAC,IAAI,CAAC,IAAI,IACR,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,yBAAyB,CAAC,UAAU,CAAC,YAE7C,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,UAAC,WAAW;wBAClC,OAAO,CACL,KAAC,IAAI,CAAC,GAAG,IACP,KAAK,EAAE,WAAW,CAAC,QAAQ,YAG1B,WAAW,CAAC,QAAQ,IAFhB,UAAG,WAAW,CAAC,QAAQ,aAAU,CAG7B,CACZ,CAAC;oBACJ,CAAC,CAAC,GACQ,EAEX,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,UAAC,WAAW;;oBAAK,OAAA,CACvC,KAAC,IAAI,CAAC,KAAK,IACT,KAAK,EAAE,WAAW,CAAC,QAAQ,YAG3B,KAAC,UAAU,IACT,UAAU,EAAE,WAAW,CAAC,UAAU,EAClC,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,IAAI,EAAE,WAAW,CAAC,IAAI,EACtB,cAAc,EAAE,MAAM,CAAC,cAAc,EACrC,UAAU,EAAE,MAAA,WAAW,CAAC,UAAU,mCAAI,CAAC,GACvC,IARG,UAAG,WAAW,CAAC,QAAQ,cAAW,CAS5B,CACd,CAAA;iBAAA,CAAC,IACG,GACH,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -35,8 +35,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
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,o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EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,OAAK,CAAC,OAAO,EAAE,CAAC,CAAC;oBAC3D,0CAA0C;yBACrC,IAAI,OAAK,YAAY,KAAK;wBAC7B,GAAG;6BACA,MAAM,CAAC,GAAG,CAAC;6BACX,IAAI,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,OAAK,CAAC,OAAO,EAAE,CAAC,CAAC;;wBAEpE,GAAG;6BACA,MAAM,CAAC,GAAG,CAAC;6BACX,IAAI,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC,CAAC;;;;;;CAE3E"}
|
|
@@ -7,13 +7,21 @@ declare module 'redux-persist' {
|
|
|
7
7
|
_persist?: PersistState;
|
|
8
8
|
}>;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
10
|
+
declare const persistedReducers: Reducer<{
|
|
11
11
|
selectedIndexFacets: {
|
|
12
12
|
[x: string]: string[];
|
|
13
13
|
};
|
|
14
14
|
filtersExpandedState: {
|
|
15
15
|
[x: string]: boolean;
|
|
16
16
|
};
|
|
17
|
+
facetDefinitionState: {
|
|
18
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
19
|
+
};
|
|
20
|
+
cohorts: import("./CohortSlice").CohortState;
|
|
21
|
+
savedCohorts: import("@reduxjs/toolkit").EntityState<import("./types").Cohort, string>;
|
|
22
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("./types").DataAccessRequest, string>;
|
|
23
|
+
} & {
|
|
24
|
+
_persist: PersistState;
|
|
17
25
|
}, import("redux").UnknownAction, Partial<{
|
|
18
26
|
selectedIndexFacets: {
|
|
19
27
|
[x: string]: string[];
|
|
@@ -21,8 +29,16 @@ declare const reducers: Reducer<{
|
|
|
21
29
|
filtersExpandedState: {
|
|
22
30
|
[x: string]: boolean;
|
|
23
31
|
} | undefined;
|
|
24
|
-
|
|
32
|
+
facetDefinitionState: {
|
|
33
|
+
[x: string]: Record<string, import("@gen3/core").FacetDefinition>;
|
|
34
|
+
} | undefined;
|
|
35
|
+
cohorts: import("./CohortSlice").CohortState | undefined;
|
|
36
|
+
savedCohorts: import("@reduxjs/toolkit").EntityState<import("./types").Cohort, string> | undefined;
|
|
37
|
+
dataAccessRequests: import("@reduxjs/toolkit").EntityState<import("./types").DataAccessRequest, string> | undefined;
|
|
38
|
+
}> & {
|
|
39
|
+
_persist?: PersistState;
|
|
40
|
+
}>;
|
|
25
41
|
export declare const id: any, AppStore: any, AppContext: any, useAppSelector: any, useAppDispatch: any;
|
|
26
|
-
export type AppState = ReturnType<typeof
|
|
42
|
+
export type AppState = ReturnType<typeof persistedReducers>;
|
|
27
43
|
export {};
|
|
28
44
|
//# sourceMappingURL=appApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appApi.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appApi.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,QAAQ,eAAe,CAAC;IAC7B,SAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,EAChE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,EACxB,WAAW,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAC5B,OAAO,CACR,CAAC,GAAG;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,EAC9B,CAAC,EACD,CAAC,GAAG;QAAE,QAAQ,CAAC,EAAE,YAAY,CAAA;KAAE,CAChC,CAAC;CACH;AAuBD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;cA3BH,YAAY;;;;;;;;;;;;;;;eAEX,YAAY;EAyBgC,CAAC;AAElE,eAAO,MAAQ,EAAE,OAAE,QAAQ,OAAE,UAAU,OAAE,cAAc,OAAE,cAAc,KAKnE,CAAC;AAEL,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
import { combineReducers } from 'redux';
|
|
3
3
|
import { persistReducer } from 'redux-persist';
|
|
4
|
-
import storage from 'redux-persist/lib/storage';
|
|
5
4
|
import { createAppStore } from '@gen3/core';
|
|
6
5
|
import { filtersExpandedReducer } from './FilterExpandSlice';
|
|
7
6
|
import { selectedFacetsReducer } from './SelectedFacetsSlice';
|
|
7
|
+
import { facetDefinitionsReducer } from './FacetDefinitionsSlice';
|
|
8
|
+
import { cohortReducer } from './CohortSlice';
|
|
9
|
+
import storage from './storage-persist';
|
|
10
|
+
import { cohortPersistenceReducer } from './CohortManagerSlice';
|
|
11
|
+
import { dataAccessRequestsReducer } from './RequestManagerSlice';
|
|
8
12
|
var _APP_NAME = 'CohortDiscovery';
|
|
9
13
|
var persistConfig = {
|
|
10
14
|
key: _APP_NAME,
|
|
11
15
|
version: 1,
|
|
12
16
|
storage: storage,
|
|
13
|
-
whitelist: ['filterExpandState'],
|
|
14
17
|
};
|
|
15
18
|
// create the store, context and selector for the ProjectsCenter
|
|
16
19
|
// Note the project app has a local store and context which isolates
|
|
@@ -18,9 +21,14 @@ var persistConfig = {
|
|
|
18
21
|
var reducers = combineReducers({
|
|
19
22
|
selectedIndexFacets: selectedFacetsReducer,
|
|
20
23
|
filtersExpandedState: filtersExpandedReducer,
|
|
24
|
+
facetDefinitionState: facetDefinitionsReducer,
|
|
25
|
+
cohorts: cohortReducer,
|
|
26
|
+
savedCohorts: cohortPersistenceReducer,
|
|
27
|
+
dataAccessRequests: dataAccessRequestsReducer,
|
|
21
28
|
});
|
|
29
|
+
var persistedReducers = persistReducer(persistConfig, reducers);
|
|
22
30
|
export var id = (_a = createAppStore({
|
|
23
|
-
reducers:
|
|
31
|
+
reducers: persistedReducers,
|
|
24
32
|
name: _APP_NAME,
|
|
25
33
|
version: '0.0.1',
|
|
26
34
|
}), _a.id), AppStore = _a.AppStore, AppContext = _a.AppContext, useAppSelector = _a.useAppSelector, useAppDispatch = _a.useAppDispatch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appApi.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"appApi.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAgBlE,IAAM,SAAS,GAAG,iBAAiB,CAAC;AAEpC,IAAM,aAAa,GAAG;IACpB,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,CAAC;IACV,OAAO,SAAA;CACR,CAAC;AAEF,gEAAgE;AAChE,oEAAoE;AACpE,2CAA2C;AAE3C,IAAM,QAAQ,GAAG,eAAe,CAAC;IAC/B,mBAAmB,EAAE,qBAAqB;IAC1C,oBAAoB,EAAE,sBAAsB;IAC5C,oBAAoB,EAAE,uBAAuB;IAC7C,OAAO,EAAE,aAAa;IACtB,YAAY,EAAE,wBAAwB;IACtC,kBAAkB,EAAE,yBAAyB;CAC9C,CAAC,CAAC;AAEH,IAAM,iBAAiB,GAAG,cAAc,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;AAElE,MAAM,CAAS,IAAA,EAAE,IAAJ,KACX,cAAc,CAAC;IACb,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;CACjB,CAAC,QALa,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA,EAAE,cAAc,oBAAA,EAAE,cAAc,oBAAA,CAKlE"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
import { AppState } from './appApi';
|
|
2
|
+
import { FilterSet, Operation } from '@gen3/core';
|
|
1
3
|
export declare const useToggleExpandFilter: () => (field: string, expanded: boolean) => void;
|
|
2
4
|
export declare const useFilterExpandedState: (field: string) => any;
|
|
3
5
|
export declare const useAllFiltersCollapsed: () => any;
|
|
6
|
+
export declare const useCohortFacetFilters: (index: string) => FilterSet;
|
|
7
|
+
export declare const useClearFilters: (index: string) => (field: string) => void;
|
|
8
|
+
export declare const useGetSelectFacets: (state: AppState, index: string) => string[];
|
|
9
|
+
/**
|
|
10
|
+
* Update Guppy filters: process nested fields and have the final
|
|
11
|
+
* leaf be filtered
|
|
12
|
+
* @param index
|
|
13
|
+
*/
|
|
14
|
+
export declare const useUpdateFilters: (index: string) => (field: string, filter: Operation) => void;
|
|
15
|
+
export declare const useGetFacetFilters: (index: string, field: string) => Operation;
|
|
4
16
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAkC,MAAM,UAAU,CAAC;AASpE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAOlD,eAAO,MAAM,qBAAqB,SAExB,OAAO,MAAM,EAAE,UAAU,OAAO,SAGzC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,OAAO,MAAM,QAInD,CAAC;AAEF,eAAO,MAAM,sBAAsB,WAElC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,KAAG,SAErD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,MAGnC,OAAO,MAAM,SAGtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,QAAQ,EAAE,OAAO,MAAM,aAEhE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,MAIpC,OAAO,MAAM,EAAE,QAAQ,SAAS,SASzC,CAAC;AACF,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,SAQjE,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { useAppDispatch, useAppSelector } from './appApi';
|
|
2
|
-
import {
|
|
2
|
+
import { selectAllFiltersCollapsed, selectFilterExpanded, toggleCategoryFilter, } from './FilterExpandSlice';
|
|
3
|
+
import { selectSelectedFacetsFromIndex } from './SelectedFacetsSlice';
|
|
4
|
+
import { removeCohortFilter, updateCohortFilter } from './CohortSlice';
|
|
5
|
+
import { buildNested } from '../../components/facets';
|
|
6
|
+
import { selectIndexedFilterByName, selectCohortFilters, } from './CohortSelectors';
|
|
3
7
|
export var useToggleExpandFilter = function () {
|
|
4
8
|
var dispatch = useAppDispatch();
|
|
5
9
|
return function (field, expanded) {
|
|
@@ -14,4 +18,41 @@ export var useFilterExpandedState = function (field) {
|
|
|
14
18
|
export var useAllFiltersCollapsed = function () {
|
|
15
19
|
return useAppSelector(function (state) { return selectAllFiltersCollapsed(state); });
|
|
16
20
|
};
|
|
21
|
+
export var useCohortFacetFilters = function (index) {
|
|
22
|
+
return useAppSelector(function (state) { return selectCohortFilters(state)[index]; });
|
|
23
|
+
};
|
|
24
|
+
export var useClearFilters = function (index) {
|
|
25
|
+
var dispatch = useAppDispatch();
|
|
26
|
+
return function (field) {
|
|
27
|
+
dispatch(removeCohortFilter({ index: index, field: field }));
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export var useGetSelectFacets = function (state, index) {
|
|
31
|
+
return selectSelectedFacetsFromIndex(state, index);
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Update Guppy filters: process nested fields and have the final
|
|
35
|
+
* leaf be filtered
|
|
36
|
+
* @param index
|
|
37
|
+
*/
|
|
38
|
+
export var useUpdateFilters = function (index) {
|
|
39
|
+
var dispatch = useAppDispatch();
|
|
40
|
+
// update the filter for this facet
|
|
41
|
+
return function (field, filter) {
|
|
42
|
+
dispatch(updateCohortFilter({
|
|
43
|
+
index: index,
|
|
44
|
+
field: field,
|
|
45
|
+
filter: buildNested(field, filter),
|
|
46
|
+
}));
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export var useGetFacetFilters = function (index, field) {
|
|
50
|
+
return useAppSelector(function (state) {
|
|
51
|
+
var _a;
|
|
52
|
+
return (_a = selectIndexedFilterByName(state, index, field)) !== null && _a !== void 0 ? _a : {
|
|
53
|
+
operator: 'and',
|
|
54
|
+
operands: [],
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
};
|
|
17
58
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EACL,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACnC,IAAM,QAAQ,GAAG,cAAc,EAAE,CAAC;IAClC,OAAO,UAAC,KAAa,EAAE,QAAiB;QACtC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,KAAK,OAAA,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,KAAa;IAClD,OAAO,cAAc,CAAC,UAAC,KAAe;QACpC,OAAA,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC;IAAlC,CAAkC,CACnC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACpC,OAAO,cAAc,CAAC,UAAC,KAAe,IAAK,OAAA,yBAAyB,CAAC,KAAK,CAAC,EAAhC,CAAgC,CAAC,CAAC;AAC/E,CAAC,CAAC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|
-
{"version":3,"file":"registerApp.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/registerApp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registerApp.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/registerApp.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,iCASnC,CAAC;AAEL,eAAO,MAAM,sBAAsB,oBAAY,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { createGen3AppWithOwnStore } from '@gen3/core';
|
|
1
|
+
import { createGen3AppWithOwnStore, getGen3AppId } from '@gen3/core';
|
|
2
2
|
import CohortDiscovery from './CohortDiscovery';
|
|
3
|
-
import { AppContext, AppStore
|
|
3
|
+
import { AppContext, AppStore } from './appApi';
|
|
4
4
|
var _APP_NAME = 'CohortDiscovery'; // This wil be the route name of the app
|
|
5
|
+
var _APP_VERSION = '1.0.0';
|
|
6
|
+
var AppId = getGen3AppId(_APP_NAME, _APP_VERSION);
|
|
5
7
|
export var registerCohortDiscoveryApp = function () {
|
|
6
8
|
return createGen3AppWithOwnStore({
|
|
7
9
|
App: CohortDiscovery,
|
|
8
|
-
id:
|
|
10
|
+
id: AppId,
|
|
9
11
|
name: _APP_NAME,
|
|
10
12
|
version: 'v1.0.0',
|
|
11
13
|
requiredEntityTypes: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerApp.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/registerApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"registerApp.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/registerApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEhD,IAAM,SAAS,GAAG,iBAAiB,CAAC,CAAC,wCAAwC;AAC7E,IAAM,YAAY,GAAG,OAAO,CAAC;AAE7B,IAAM,KAAK,GAAG,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AACpD,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACxC,OAAA,yBAAyB,CAAC;QACxB,GAAG,EAAE,eAAe;QACpB,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,QAAQ;QACjB,mBAAmB,EAAE,EAAE;QACvB,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,UAAU;KACpB,CAAC;AARF,CAQE,CAAC;AAEL,MAAM,CAAC,IAAM,sBAAsB,GAAG,SAAS,CAAC"}
|
|
@@ -1,12 +1,69 @@
|
|
|
1
1
|
import { Gen3AppConfigData } from '../../lib/content/types';
|
|
2
2
|
import { DataTypeConfig, TabConfig } from '../CohortBuilder/types';
|
|
3
|
+
import { IndexedFilterSet } from '@gen3/core';
|
|
4
|
+
interface EmptySelection {
|
|
5
|
+
image: string;
|
|
6
|
+
imageAlt: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
subHead?: string;
|
|
9
|
+
}
|
|
10
|
+
interface LeftNavItem {
|
|
11
|
+
image: string;
|
|
12
|
+
imageAlt: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}
|
|
15
|
+
interface LeftNav {
|
|
16
|
+
build: LeftNavItem;
|
|
17
|
+
saved: LeftNavItem;
|
|
18
|
+
rquest: LeftNavItem;
|
|
19
|
+
}
|
|
3
20
|
export interface CohortDiscoveryGroup {
|
|
4
21
|
readonly dataConfig: DataTypeConfig;
|
|
5
22
|
readonly tabTitle: string;
|
|
6
23
|
readonly tabs: ReadonlyArray<TabConfig>;
|
|
24
|
+
readonly numColumns?: number;
|
|
25
|
+
readonly emptySelection: EmptySelection;
|
|
7
26
|
}
|
|
8
27
|
export interface CohortDiscoveryConfig extends Gen3AppConfigData {
|
|
9
28
|
dataIndexes: Array<CohortDiscoveryGroup>;
|
|
29
|
+
emptySelection: EmptySelection;
|
|
30
|
+
leftNav: LeftNav;
|
|
10
31
|
}
|
|
11
32
|
export type SupportedFacetTypes = 'enum';
|
|
33
|
+
export type CohortId = string;
|
|
34
|
+
export interface Cohort {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
filters: IndexedFilterSet;
|
|
38
|
+
modified?: boolean;
|
|
39
|
+
modified_datetime: string;
|
|
40
|
+
created_datetime: string;
|
|
41
|
+
requestedAccess: boolean;
|
|
42
|
+
requestId: string;
|
|
43
|
+
}
|
|
44
|
+
export declare const newCohort: (name: string, filters: IndexedFilterSet) => Cohort;
|
|
45
|
+
export interface DataAccessRequestUserInformation {
|
|
46
|
+
name: string;
|
|
47
|
+
institution: string;
|
|
48
|
+
department?: string;
|
|
49
|
+
address: string;
|
|
50
|
+
email: string;
|
|
51
|
+
phone: string;
|
|
52
|
+
}
|
|
53
|
+
export declare enum DataAccessRequestStatus {
|
|
54
|
+
pending = "pending",
|
|
55
|
+
approved = "approved",
|
|
56
|
+
rejected = "rejected"
|
|
57
|
+
}
|
|
58
|
+
export interface DataAccessRequest extends DataAccessRequestUserInformation {
|
|
59
|
+
id: string;
|
|
60
|
+
request_datetime: string;
|
|
61
|
+
status: DataAccessRequestStatus;
|
|
62
|
+
cohortId: CohortId;
|
|
63
|
+
}
|
|
64
|
+
export declare const newDataAccessRequest: (userInformation: DataAccessRequestUserInformation, cohortId: CohortId) => DataAccessRequest;
|
|
65
|
+
export interface ActionButtonProps {
|
|
66
|
+
index: string;
|
|
67
|
+
}
|
|
68
|
+
export {};
|
|
12
69
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBA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C;AAI9B,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,SAAS,gBAAgB,KAAG,MAYnE,CAAC;AAEF,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,gCAAgC;IACzE,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,uBAAuB,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,GAC/B,iBAAiB,gCAAgC,EACjD,UAAU,QAAQ,KAQb,iBACN,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
|
|
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
|
+
import { nanoid } from '@reduxjs/toolkit';
|
|
13
|
+
var createCohortId = function () { return nanoid(); };
|
|
14
|
+
var createRequestId = function () { return nanoid(); };
|
|
15
|
+
export var newCohort = function (name, filters) {
|
|
16
|
+
var ts = new Date().toISOString();
|
|
17
|
+
return {
|
|
18
|
+
id: createCohortId(),
|
|
19
|
+
name: name,
|
|
20
|
+
filters: filters,
|
|
21
|
+
modified_datetime: ts,
|
|
22
|
+
created_datetime: ts,
|
|
23
|
+
requestedAccess: false,
|
|
24
|
+
requestId: 'no_request_id',
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export var DataAccessRequestStatus;
|
|
28
|
+
(function (DataAccessRequestStatus) {
|
|
29
|
+
DataAccessRequestStatus["pending"] = "pending";
|
|
30
|
+
DataAccessRequestStatus["approved"] = "approved";
|
|
31
|
+
DataAccessRequestStatus["rejected"] = "rejected";
|
|
32
|
+
})(DataAccessRequestStatus || (DataAccessRequestStatus = {}));
|
|
33
|
+
export var newDataAccessRequest = function (userInformation, cohortId) {
|
|
34
|
+
return __assign({ id: createRequestId(), request_datetime: new Date().toISOString(), status: 'pending', cohortId: cohortId }, userInformation);
|
|
35
|
+
};
|
|
2
36
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/types.ts"],"names":[],"mappings":";;;;;;;;;;;AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAqC1C,IAAM,cAAc,GAAG,cAAc,OAAA,MAAM,EAAE,EAAR,CAAQ,CAAC;AAC9C,IAAM,eAAe,GAAG,cAAc,OAAA,MAAM,EAAE,EAAR,CAAQ,CAAC;AAa/C,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,IAAY,EAAE,OAAyB;IAC/D,IAAM,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAEpC,OAAO;QACL,EAAE,EAAE,cAAc,EAAE;QACpB,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,OAAO;QAChB,iBAAiB,EAAE,EAAE;QACrB,gBAAgB,EAAE,EAAE;QACpB,eAAe,EAAE,KAAK;QACtB,SAAS,EAAE,eAAe;KAC3B,CAAC;AACJ,CAAC,CAAC;AAWF,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC;AASD,MAAM,CAAC,IAAM,oBAAoB,GAAG,UAClC,eAAiD,EACjD,QAAkB;IAElB,OAAO,WACL,EAAE,EAAE,eAAe,EAAE,EACrB,gBAAgB,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAC1C,MAAM,EAAE,SAAS,EACjB,QAAQ,UAAA,IACL,eAAe,CACE,CAAC;AACzB,CAAC,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
}, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
4
|
-
dispatch: import("redux-thunk").ThunkDispatch<
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
}, undefined, import("redux").UnknownAction>;
|
|
1
|
+
export declare const _APP_NAME = "CohortSimilarity";
|
|
2
|
+
export declare const _APP_VERSION = "1.0.0";
|
|
3
|
+
export declare const cohortSimilarityApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta> | import("@reduxjs/toolkit/query").BaseQueryFn, {}, string, never, keyof import("@reduxjs/toolkit/query").ApiModules<any, any, any, any>>, appStore: import("@reduxjs/toolkit").EnhancedStore<any, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
4
|
+
dispatch: import("redux-thunk").ThunkDispatch<any, undefined, import("redux").UnknownAction>;
|
|
7
5
|
}>, import("redux").StoreEnhancer]>>, appContext: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null>;
|
|
8
6
|
//# sourceMappingURL=appApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appApi.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/appApi.ts"],"names":[],"mappings":"AAEA,eAAO,MACG,mBAAmB,4YAC3B,QAAQ
|
|
1
|
+
{"version":3,"file":"appApi.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/appApi.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAC5C,eAAO,MAAM,YAAY,UAAU,CAAC;AAEpC,eAAO,MACG,mBAAmB,4YAC3B,QAAQ;;sCACR,UAAU,kHACwD,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
import { createAppApiForRTKQ } from '@gen3/core';
|
|
3
|
-
export var
|
|
3
|
+
export var _APP_NAME = 'CohortSimilarity'; // This wil be the route name of the app
|
|
4
|
+
export var _APP_VERSION = '1.0.0';
|
|
5
|
+
export var cohortSimilarityApi = (_a = createAppApiForRTKQ('cohortSimilarity', _APP_NAME, _APP_VERSION), _a.appApi), appStore = _a.appStore, appContext = _a.appContext;
|
|
4
6
|
//# sourceMappingURL=appApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appApi.js","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/appApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CACJ,IAAQ,mBAAmB,IADhB,KAIT,mBAAmB,CAAC,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"appApi.js","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/appApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,IAAM,SAAS,GAAG,kBAAkB,CAAC,CAAC,wCAAwC;AACrF,MAAM,CAAC,IAAM,YAAY,GAAG,OAAO,CAAC;AAEpC,MAAM,CACJ,IAAQ,mBAAmB,IADhB,KAIT,mBAAmB,CAAC,kBAAkB,EAAE,SAAS,EAAE,YAAY,CAAC,YAHvC,EAC3B,QAAQ,cAAA,EACR,UAAU,gBAAA,CACyD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerApp.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/registerApp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registerApp.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/registerApp.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B,iCASpC,CAAC;AAEL,eAAO,MAAM,uBAAuB,qBAAY,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { createGen3AppWithOwnStore, getGen3AppId } from '@gen3/core';
|
|
2
2
|
import CohortSimilarityApp from './CohortSimilarityApp';
|
|
3
|
-
import {
|
|
4
|
-
var _APP_NAME = 'CohortSimilarity'; // This wil be the route name of the app
|
|
5
|
-
var _APP_VERSION = '1.0.0';
|
|
3
|
+
import { _APP_NAME, _APP_VERSION, appContext, appStore } from './appApi';
|
|
6
4
|
var AppId = getGen3AppId(_APP_NAME, _APP_VERSION);
|
|
7
5
|
export var registerCohortSimilarityApp = function () {
|
|
8
6
|
return createGen3AppWithOwnStore({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerApp.js","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/registerApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"registerApp.js","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/registerApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzE,IAAM,KAAK,GAAG,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AACpD,MAAM,CAAC,IAAM,2BAA2B,GAAG;IACzC,OAAA,yBAAyB,CAAC;QACxB,GAAG,EAAE,mBAAmB;QACxB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,QAAQ;QACjB,EAAE,EAAE,KAAK;QACT,mBAAmB,EAAE,EAAE;QACvB,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,UAAU;KACpB,CAAC;AARF,CAQE,CAAC;AAEL,MAAM,CAAC,IAAM,uBAAuB,GAAG,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatasetAccordionControl.d.ts","sourceRoot":"","sources":["../../../../src/features/DataLibrary/DatasetAccordionControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,EAQtB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"DatasetAccordionControl.d.ts","sourceRoot":"","sources":["../../../../src/features/DataLibrary/DatasetAccordionControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,EAQtB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAIhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,UAAU,4BAA6B,SAAQ,qBAAqB;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,CACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KACxB,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACtC,iBAAiB,EAAE,MAAM,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC1D,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,aAAa,EAAE,qBAAqB,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,uBAAuB,GAAI,2IAWrC,4BAA4B,KAAG,GAAG,CAAC,OA4GrC,CAAC"}
|
|
@@ -25,9 +25,9 @@ import { useState } from 'react';
|
|
|
25
25
|
import { Accordion, ActionIcon, Checkbox, CloseButton, Text, TextInput, Tooltip, useMantineTheme, } from '@mantine/core';
|
|
26
26
|
import { Icon } from '@iconify/react';
|
|
27
27
|
import { getHotkeyHandler } from '@mantine/hooks';
|
|
28
|
-
import { IconSize } from './types';
|
|
29
28
|
import EmptyList from './EmptyList';
|
|
30
|
-
import {
|
|
29
|
+
import { IconSize } from '../../utils/sizes';
|
|
30
|
+
import { formatDate } from '../../utils/date';
|
|
31
31
|
export var DatasetAccordionControl = function (_a) {
|
|
32
32
|
var listName = _a.listName, numberOfItems = _a.numberOfItems, updatedTime = _a.updatedTime, createdTime = _a.createdTime, updateHandler = _a.updateHandler, deleteListHandler = _a.deleteListHandler, selectListHandler = _a.selectListHandler, selectedState = _a.selectedState, _b = _a.size, size = _b === void 0 ? 'sm' : _b, props = __rest(_a, ["listName", "numberOfItems", "updatedTime", "createdTime", "updateHandler", "deleteListHandler", "selectListHandler", "selectedState", "size"]);
|
|
33
33
|
var _c = useState(undefined), value = _c[0], setValue = _c[1];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatasetAccordionControl.js","sourceRoot":"","sources":["../../../../src/features/DataLibrary/DatasetAccordionControl.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,SAAS,EAET,UAAU,EACV,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DatasetAccordionControl.js","sourceRoot":"","sources":["../../../../src/features/DataLibrary/DatasetAccordionControl.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,SAAS,EAET,UAAU,EACV,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAiB9C,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,EAWT;IAV7B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IAAI,YAC1C,UAAU,CAAC,WAAW,CAAC,GACnB,EAEP,KAAC,IAAI,IACH,IAAI,EAAC,UAAU,EACf,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,QAAQ,EACf,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,GAC7B,EAEF,KAAC,IAAI,IAAC,EAAE,EAAE,GAAG,EAAE,CAAC,EAAC,iBAAiB,EAAC,EAAE,EAAC,WAAW,EAAC,IAAI,EAAE,IAAI,yBAErD,EACP,KAAC,IAAI,IAAC,EAAE,EAAE,GAAG,EAAE,CAAC,EAAC,iBAAiB,EAAC,IAAI,EAAE,IAAI,YAC1C,UAAU,CAAC,WAAW,CAAC,GACnB,IACH,EACN,KAAC,OAAO,IACN,KAAK,EAAE,sBAAe,QAAQ,yCAAsC,YAEpE,KAAC,UAAU,IACT,KAAK,EAAC,UAAU,EAChB,OAAO,EAAC,aAAa,gBACV,aAAa,EACxB,OAAO,EAAE,cAAM,OAAA,iBAAiB,EAAE,EAAnB,CAAmB,YAElC,KAAC,IAAI,IACH,IAAI,EAAC,aAAa,EAClB,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,QAAQ,EACf,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,GAC9B,GACS,GACL,IACN,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { ActionIcon, Button, Group, Tooltip } from '@mantine/core';
|
|
3
3
|
import { MdAdd as PlusIcon } from 'react-icons/md';
|
|
4
4
|
import { Icon } from '@iconify/react';
|
|
5
|
-
import { IconSize } from './types';
|
|
6
5
|
import { useDataLibrarySelection } from './selection/SelectionContext';
|
|
6
|
+
import { IconSize } from '../../utils/sizes';
|
|
7
7
|
var SearchAndActions = function (_a) {
|
|
8
8
|
var createList = _a.createList, gatherData = _a.gatherData, _b = _a.size, size = _b === void 0 ? 'sm' : _b, _c = _a.enableCreateNewList, enableCreateNewList = _c === void 0 ? false : _c, _d = _a.enableDownloadManifest, enableDownloadManifest = _d === void 0 ? false : _d;
|
|
9
9
|
var _e = useDataLibrarySelection(), selections = _e.selections, clearSelections = _e.clearSelections;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchAndActions.js","sourceRoot":"","sources":["../../../../src/features/DataLibrary/SearchAndActions.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,KAAK,IAAI,QAAQ,EAA0B,MAAM,gBAAgB,CAAC;AAE3E,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchAndActions.js","sourceRoot":"","sources":["../../../../src/features/DataLibrary/SearchAndActions.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,KAAK,IAAI,QAAQ,EAA0B,MAAM,gBAAgB,CAAC;AAE3E,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAa7C,IAAM,gBAAgB,GAAoC,UAAC,EAM1D;QALC,UAAU,gBAAA,EACV,UAAU,gBAAA,EACV,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,2BAA2B,EAA3B,mBAAmB,mBAAG,KAAK,KAAA,EAC3B,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA;IAExB,IAAA,KAAkC,uBAAuB,EAAE,EAAzD,UAAU,gBAAA,EAAE,eAAe,qBAA8B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AG,GAClB,GACD,CACX,EACA,mBAAmB,IAAI,CACtB,KAAC,OAAO,IAAC,KAAK,EAAC,qCAAqC,YAClD,KAAC,MAAM,IACL,IAAI,EAAC,YAAY,EACjB,OAAO,EAAC,SAAS,gBACN,qCAAqC,EAChD,UAAU,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE,YAEvD,KAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,GAAI,GACjD,GACD,CACX,IACK,GAQJ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedItemsTable.d.ts","sourceRoot":"","sources":["../../../../../src/features/DataLibrary/tables/SelectedItemsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,qBAAqB,EAKtB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectedItemsTable.d.ts","sourceRoot":"","sources":["../../../../../src/features/DataLibrary/tables/SelectedItemsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,qBAAqB,EAKtB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAyEjD,UAAU,uBAAuB;IAC/B,cAAc,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;IACrD,YAAY,EAAE,qBAAqB,CAAC;IACpC,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6LzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { Text, Tooltip } from '@mantine/core';
|
|
|
6
6
|
import { Icon } from '@iconify/react';
|
|
7
7
|
import { isCohortItem } from '@gen3/core';
|
|
8
8
|
import { TableIcons } from '../../../components/Tables/TableIcons';
|
|
9
|
-
import { IconSize } from '
|
|
9
|
+
import { IconSize } from '../../../utils/sizes';
|
|
10
10
|
var SelectedItemsTableHeader = function (_a) {
|
|
11
11
|
var numberOfItems = _a.numberOfItems, numberOfWarnings = _a.numberOfWarnings, _b = _a.size, size = _b === void 0 ? 'sm' : _b;
|
|
12
12
|
var iconSize = IconSize[size] || IconSize['sm'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedItemsTable.js","sourceRoot":"","sources":["../../../../../src/features/DataLibrary/tables/SelectedItemsTable.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACL,iBAAiB,EAIjB,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectedItemsTable.js","sourceRoot":"","sources":["../../../../../src/features/DataLibrary/tables/SelectedItemsTable.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACL,iBAAiB,EAIjB,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC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AM,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,KAAK,KAAK,KAAK,EAAjB,CAAiB,CAAC,CAAC,MAAM,EAExD,IAAI,EAAE,IAAI,GACV,EACF,cAAK,SAAS,EAAC,MAAM,YACnB,KAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK,GAAI,GAC/B,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { getNextSize
|
|
1
|
+
import { getNextSize } from '../utils';
|
|
2
2
|
import '@jest/globals';
|
|
3
|
+
import { formatDate } from '../../../utils/date';
|
|
3
4
|
// Start test suite
|
|
4
5
|
describe('FormatDate Function', function () {
|
|
5
6
|
it('should format a date string correctly', function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.unit.test.js","sourceRoot":"","sources":["../../../../../src/features/DataLibrary/tests/utils.unit.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.unit.test.js","sourceRoot":"","sources":["../../../../../src/features/DataLibrary/tests/utils.unit.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,mBAAmB;AACnB,QAAQ,CAAC,qBAAqB,EAAE;IAC9B,EAAE,CAAC,uCAAuC,EAAE;QAC1C,IAAM,SAAS,GAAG,sBAAsB,CAAC;QACzC,IAAM,cAAc,GAAG,qBAAqB,CAAC;QAC7C,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+DAA+D,EAAE;QAClE,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,MAAM,CAAC;Y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