@gen3/frontend 0.10.94 → 0.10.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +5783 -2696
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Content/LandingPageContent.d.ts +2 -1
- package/dist/dts/components/Content/LandingPageContent.d.ts.map +1 -1
- package/dist/dts/components/Content/LandingPageContent.js.map +1 -1
- package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts +64 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.js +38 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts +2 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts.map +1 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js +141 -0
- package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js.map +1 -0
- package/dist/dts/components/DropdownMenu/index.d.ts +3 -0
- package/dist/dts/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/dts/components/DropdownMenu/index.js +3 -0
- package/dist/dts/components/DropdownMenu/index.js.map +1 -0
- package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginPanel.js +1 -0
- package/dist/dts/components/Login/LoginPanel.js.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.js +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
- package/dist/dts/components/Login/types.d.ts +2 -1
- package/dist/dts/components/Login/types.d.ts.map +1 -1
- package/dist/dts/components/Login/types.js.map +1 -1
- package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts +5 -0
- package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts.map +1 -0
- package/dist/dts/components/MessageCards/EmptyTableMessage.js +9 -0
- package/dist/dts/components/MessageCards/EmptyTableMessage.js.map +1 -0
- package/dist/dts/components/MessageCards/ErrorMessage.d.ts +7 -0
- package/dist/dts/components/MessageCards/ErrorMessage.d.ts.map +1 -0
- package/dist/dts/components/MessageCards/ErrorMessage.js +8 -0
- package/dist/dts/components/MessageCards/ErrorMessage.js.map +1 -0
- package/dist/dts/components/MessageCards/index.d.ts +2 -1
- package/dist/dts/components/MessageCards/index.d.ts.map +1 -1
- package/dist/dts/components/MessageCards/index.js +2 -1
- package/dist/dts/components/MessageCards/index.js.map +1 -1
- package/dist/dts/components/Profile/types.d.ts +2 -1
- package/dist/dts/components/Profile/types.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.js +2 -0
- package/dist/dts/components/charts/Charts.js.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.js +42 -4
- package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/HorizontalBarChart.js +3 -2
- package/dist/dts/components/charts/echarts/HorizontalBarChart.js.map +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js +1 -1
- package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
- package/dist/dts/components/charts/types.d.ts +2 -0
- package/dist/dts/components/charts/types.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.d.ts +1 -1
- package/dist/dts/components/charts/utils.d.ts.map +1 -1
- package/dist/dts/components/charts/utils.js +2 -4
- package/dist/dts/components/charts/utils.js.map +1 -1
- package/dist/dts/components/facets/EnumFacet.d.ts +2 -1
- package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/EnumFacet.js.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.js +1 -1
- package/dist/dts/components/facets/FacetControlsHeader.js.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.js +7 -30
- package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
- package/dist/dts/components/facets/FacetSelector.d.ts +1 -1
- package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetSelector.js +9 -7
- package/dist/dts/components/facets/FacetSelector.js.map +1 -1
- package/dist/dts/components/facets/types.d.ts +1 -0
- package/dist/dts/components/facets/types.d.ts.map +1 -1
- package/dist/dts/components/facets/types.js.map +1 -1
- package/dist/dts/components/facets/utils.d.ts +4 -2
- package/dist/dts/components/facets/utils.d.ts.map +1 -1
- package/dist/dts/components/facets/utils.js +27 -1
- package/dist/dts/components/facets/utils.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
- package/dist/dts/features/Analysis/types.d.ts +2 -1
- package/dist/dts/features/Analysis/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/types.js.map +1 -1
- package/dist/dts/features/CohortBuilder/AccessLevel.d.ts +8 -0
- package/dist/dts/features/CohortBuilder/AccessLevel.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/AccessLevel.js +20 -0
- package/dist/dts/features/CohortBuilder/AccessLevel.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +1 -0
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.js +4 -20
- package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts +20 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js +37 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +18 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +149 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js +122 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts +19 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js +52 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts +10 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js +37 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts +13 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js +33 -0
- package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts +7 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js +80 -0
- package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.js +4 -0
- package/dist/dts/features/CohortBuilder/CohortManager/index.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts +13 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js +15 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js +8 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts +32 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js +190 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts +2 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js +145 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts +29 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js +79 -0
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts +5 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.js +21 -0
- package/dist/dts/features/CohortBuilder/CohortManager/style.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts +49 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.js +2 -0
- package/dist/dts/features/CohortBuilder/CohortManager/types.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts +6 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js +21 -0
- package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts +6 -2
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +15 -19
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +8 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.js +51 -10
- package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +6 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js +32 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +2 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +3 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +56 -60
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +48 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts +4 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js +81 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +22 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts +9 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js +17 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts +12 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js +2 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +52 -12
- package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +4 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +70 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js +2 -2
- package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +5 -4
- package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js +2 -1
- package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Panels/types.d.ts +4 -1
- package/dist/dts/features/CohortBuilder/Panels/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -1
- package/dist/dts/features/CohortBuilder/index.d.ts +5 -2
- package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/index.js +4 -1
- package/dist/dts/features/CohortBuilder/index.js.map +1 -1
- package/dist/dts/features/CohortBuilder/types.d.ts +15 -7
- package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/types.js +6 -0
- package/dist/dts/features/CohortBuilder/types.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js +18 -2
- package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js +10 -4
- package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +20 -12
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +28 -8
- package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +9 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +147 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts +2 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +36 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +461 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +51 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +97 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +435 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts +64 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js +572 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts +7 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.js +2 -0
- package/dist/dts/features/CohortDiscovery/CohortManagment/types.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts +6 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js +55 -0
- package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts +0 -22
- package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortSelectors.js +40 -34
- package/dist/dts/features/CohortDiscovery/CohortSelectors.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts +0 -90
- package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/CohortSlice.js +161 -92
- package/dist/dts/features/CohortDiscovery/CohortSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +1 -1
- package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js +1 -1
- package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +2 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +25 -7
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.js +42 -34
- package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts +14 -28
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js +4 -4
- package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js +4 -10
- package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js +2 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js +76 -13
- package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts +22 -0
- package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/Requests/hooks.js +147 -0
- package/dist/dts/features/CohortDiscovery/Requests/hooks.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts +9 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js +133 -0
- package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js +284 -0
- package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts +8 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js +9 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts +10 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +157 -0
- package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts +3 -4
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js +6 -11
- package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts +9 -0
- package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/TabbedIndex.js +15 -0
- package/dist/dts/features/CohortDiscovery/TabbedIndex.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js +2 -2
- package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.d.ts +17 -3
- package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.js +13 -3
- package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.d.ts +12 -0
- package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.js +40 -1
- package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/queryApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/queryApi.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/registerApp.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/registerApp.js +5 -3
- package/dist/dts/features/CohortDiscovery/registerApp.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/types.d.ts +88 -3
- package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/types.js +45 -1
- package/dist/dts/features/CohortDiscovery/types.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/utils.d.ts +2 -0
- package/dist/dts/features/CohortDiscovery/utils.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/utils.js +9 -0
- package/dist/dts/features/CohortDiscovery/utils.js.map +1 -1
- package/dist/dts/features/CohortSimilarity/appApi.d.ts +4 -6
- package/dist/dts/features/CohortSimilarity/appApi.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/appApi.js +3 -1
- package/dist/dts/features/CohortSimilarity/appApi.js.map +1 -1
- package/dist/dts/features/CohortSimilarity/registerApp.d.ts.map +1 -1
- package/dist/dts/features/CohortSimilarity/registerApp.js +1 -3
- package/dist/dts/features/CohortSimilarity/registerApp.js.map +1 -1
- package/dist/dts/features/Crosswalk/types.d.ts +2 -1
- package/dist/dts/features/Crosswalk/types.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.js +2 -2
- package/dist/dts/features/DataLibrary/DatasetAccordionControl.js.map +1 -1
- package/dist/dts/features/DataLibrary/SearchAndActions.js +1 -1
- package/dist/dts/features/DataLibrary/SearchAndActions.js.map +1 -1
- package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js +1 -1
- package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js.map +1 -1
- package/dist/dts/features/DataLibrary/tests/utils.unit.test.js +2 -1
- package/dist/dts/features/DataLibrary/tests/utils.unit.test.js.map +1 -1
- package/dist/dts/features/DataLibrary/utils.d.ts +0 -10
- package/dist/dts/features/DataLibrary/utils.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/utils.js +0 -34
- package/dist/dts/features/DataLibrary/utils.js.map +1 -1
- package/dist/dts/features/Dictionary/CategoryPanel.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/CategoryPanel.js +9 -9
- package/dist/dts/features/Dictionary/CategoryPanel.js.map +1 -1
- package/dist/dts/features/Dictionary/DictionaryWithContext.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/DictionaryWithContext.js.map +1 -1
- package/dist/dts/features/Dictionary/types.d.ts +5 -1
- package/dist/dts/features/Dictionary/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js +2 -2
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js +1 -1
- package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.js +1 -1
- package/dist/dts/features/Discovery/DataLoaders/utils.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +8 -6
- package/dist/dts/features/Discovery/DiscoveryIndexPanel.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryProvider.d.ts +0 -3
- package/dist/dts/features/Discovery/DiscoveryProvider.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryProvider.js +0 -5
- package/dist/dts/features/Discovery/DiscoveryProvider.js.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
- package/dist/dts/features/Discovery/DiscoveryTable.js +7 -5
- package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.d.ts.map +1 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.js +3 -1
- package/dist/dts/features/Discovery/StudyDetails/StudyItems.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts +2 -3
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +3 -3
- package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts +1 -2
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +5 -6
- package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts +1 -1
- package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts.map +1 -1
- package/dist/dts/features/Discovery/index.d.ts +2 -4
- package/dist/dts/features/Discovery/index.d.ts.map +1 -1
- package/dist/dts/features/Discovery/index.js +1 -3
- package/dist/dts/features/Discovery/index.js.map +1 -1
- package/dist/dts/features/Discovery/types.d.ts +5 -108
- package/dist/dts/features/Discovery/types.d.ts.map +1 -1
- package/dist/dts/features/Discovery/types.js +0 -16
- package/dist/dts/features/Discovery/types.js.map +1 -1
- package/dist/dts/features/Discovery/utils.d.ts +2 -8
- package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
- package/dist/dts/features/Discovery/utils.js +1 -28
- package/dist/dts/features/Discovery/utils.js.map +1 -1
- package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
- package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
- package/dist/dts/features/Navigation/NavPageLayout.js +2 -2
- package/dist/dts/features/Navigation/NavPageLayout.js.map +1 -1
- package/dist/dts/features/Navigation/TopBar/AccountButton.js +1 -1
- package/dist/dts/features/Navigation/TopBar/AccountButton.js.map +1 -1
- package/dist/dts/features/Navigation/TopBar/LoginButton.js +1 -1
- package/dist/dts/features/Navigation/TopBar/LoginButton.js.map +1 -1
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts +9 -0
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js +11 -0
- package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts +19 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.js +56 -0
- package/dist/dts/features/Study/StudyDetails/RendererFactory.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts +15 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js +44 -0
- package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts +10 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.js +36 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetails.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts +10 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js +19 -0
- package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts +8 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.js +31 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroup.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts +9 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js +11 -0
- package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts +5 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.js +283 -0
- package/dist/dts/features/Study/StudyDetails/StudyItems.js.map +1 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts +10 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js +45 -0
- package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.d.ts +10 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.js +11 -0
- package/dist/dts/features/Study/StudyPage/StudyPage.js.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts +9 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.js +8 -0
- package/dist/dts/features/Study/StudyPage/StudyPageGroup.js.map +1 -0
- package/dist/dts/features/Study/StudyProvider.d.ts +12 -0
- package/dist/dts/features/Study/StudyProvider.d.ts.map +1 -0
- package/dist/dts/features/Study/StudyProvider.js +23 -0
- package/dist/dts/features/Study/StudyProvider.js.map +1 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts +3 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts.map +1 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.js +20 -0
- package/dist/dts/features/Study/TableRenderers/CellRenderers.js.map +1 -0
- package/dist/dts/features/Study/TableRenderers/types.d.ts +14 -0
- package/dist/dts/features/Study/TableRenderers/types.d.ts.map +1 -0
- package/dist/dts/features/Study/TableRenderers/types.js +2 -0
- package/dist/dts/features/Study/TableRenderers/types.js.map +1 -0
- package/dist/dts/features/Study/index.d.ts +5 -0
- package/dist/dts/features/Study/index.d.ts.map +1 -0
- package/dist/dts/features/Study/index.js +4 -0
- package/dist/dts/features/Study/index.js.map +1 -0
- package/dist/dts/features/Study/types.d.ts +91 -0
- package/dist/dts/features/Study/types.d.ts.map +1 -0
- package/dist/dts/features/Study/types.js +8 -0
- package/dist/dts/features/Study/types.js.map +1 -0
- package/dist/dts/features/Study/utils.d.ts +10 -0
- package/dist/dts/features/Study/utils.d.ts.map +1 -0
- package/dist/dts/features/Study/utils.js +28 -0
- package/dist/dts/features/Study/utils.js.map +1 -0
- package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts.map +1 -1
- package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js.map +1 -1
- package/dist/dts/features/Workspace/types.d.ts +2 -1
- package/dist/dts/features/Workspace/types.d.ts.map +1 -1
- package/dist/dts/features/Workspace/types.js.map +1 -1
- package/dist/dts/index.d.ts +3 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +7 -1
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/content/types.d.ts +2 -0
- package/dist/dts/lib/content/types.d.ts.map +1 -1
- package/dist/dts/lib/session/session.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js +22 -34
- package/dist/dts/lib/session/session.js.map +1 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +1 -1
- package/dist/dts/pages/Crosswalk/Crosswalk.js +1 -5
- package/dist/dts/pages/Crosswalk/Crosswalk.js.map +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +1 -1
- package/dist/dts/pages/DataDictionary/DataDictionary.js +12 -5
- package/dist/dts/pages/DataDictionary/DataDictionary.js.map +1 -1
- package/dist/dts/pages/Discovery/Discovery.d.ts.map +1 -1
- package/dist/dts/pages/Discovery/Discovery.js +14 -5
- package/dist/dts/pages/Discovery/Discovery.js.map +1 -1
- package/dist/dts/pages/Explorer/Explorer.d.ts +1 -1
- package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/Explorer.js +13 -6
- package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
- package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
- package/dist/dts/pages/Explorer/data.js +28 -22
- package/dist/dts/pages/Explorer/data.js.map +1 -1
- package/dist/dts/pages/Landing/Landing.d.ts.map +1 -1
- package/dist/dts/pages/Landing/Landing.js +12 -5
- package/dist/dts/pages/Landing/Landing.js.map +1 -1
- package/dist/dts/pages/Login/Login.d.ts.map +1 -1
- package/dist/dts/pages/Login/Login.js +1 -5
- package/dist/dts/pages/Login/Login.js.map +1 -1
- package/dist/dts/pages/Profile/Profile.d.ts.map +1 -1
- package/dist/dts/pages/Profile/Profile.js +12 -5
- package/dist/dts/pages/Profile/Profile.js.map +1 -1
- package/dist/dts/pages/Query/Query.d.ts.map +1 -1
- package/dist/dts/pages/Query/Query.js +12 -5
- package/dist/dts/pages/Query/Query.js.map +1 -1
- package/dist/dts/pages/Query/types.d.ts +2 -1
- package/dist/dts/pages/Query/types.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/Workspace.d.ts.map +1 -1
- package/dist/dts/pages/Workspace/Workspace.js +14 -5
- package/dist/dts/pages/Workspace/Workspace.js.map +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.d.ts +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.js +1 -1
- package/dist/dts/pages/admin/analysis/Analysis.js.map +1 -1
- package/dist/dts/types/icons.d.ts +5 -0
- package/dist/dts/types/icons.d.ts.map +1 -0
- package/dist/dts/types/icons.js +6 -0
- package/dist/dts/types/icons.js.map +1 -0
- package/dist/dts/utils/access.d.ts +10 -0
- package/dist/dts/utils/access.d.ts.map +1 -0
- package/dist/dts/utils/access.js +11 -0
- package/dist/dts/utils/access.js.map +1 -0
- package/dist/dts/utils/authMapping.d.ts +4 -0
- package/dist/dts/utils/authMapping.d.ts.map +1 -1
- package/dist/dts/utils/authMapping.js.map +1 -1
- package/dist/dts/utils/convertResourcePathsToTree.d.ts +8 -0
- package/dist/dts/utils/convertResourcePathsToTree.d.ts.map +1 -0
- package/dist/dts/utils/convertResourcePathsToTree.js +43 -0
- package/dist/dts/utils/convertResourcePathsToTree.js.map +1 -0
- package/dist/dts/utils/dataAuthorization.d.ts +11 -0
- package/dist/dts/utils/dataAuthorization.d.ts.map +1 -0
- package/dist/dts/utils/dataAuthorization.js +2 -0
- package/dist/dts/utils/dataAuthorization.js.map +1 -0
- package/dist/dts/utils/date.d.ts +16 -0
- package/dist/dts/utils/date.d.ts.map +1 -1
- package/dist/dts/utils/date.js +54 -8
- package/dist/dts/utils/date.js.map +1 -1
- package/dist/dts/utils/index.d.ts +4 -3
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/index.js +4 -2
- package/dist/dts/utils/index.js.map +1 -1
- package/dist/dts/utils/layout.d.ts +2 -0
- package/dist/dts/utils/layout.d.ts.map +1 -0
- package/dist/dts/utils/layout.js +20 -0
- package/dist/dts/utils/layout.js.map +1 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts +2 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts.map +1 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js +150 -0
- package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js.map +1 -0
- package/dist/dts/utils/tests/values.test.js +0 -1
- package/dist/dts/utils/tests/values.test.js.map +1 -1
- package/dist/esm/index.js +5798 -2718
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +412 -329
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js +0 -2
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js.map +0 -1
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts +0 -3
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts.map +0 -1
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js +0 -13
- package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js.map +0 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { ColumnDefinition, SummaryTableColumn } from './types';
|
|
1
|
+
import type { ColumnDefinition, SummaryTableColumn, TableColumnsAndFields, ExplorerTableColumnMRT } from './types';
|
|
2
2
|
export declare const convertGuppyTableConfig: (config: ReadonlyArray<SummaryTableColumn>) => ColumnDefinition[];
|
|
3
|
+
export declare const isRecordAny: (obj: unknown) => obj is Record<string, any>;
|
|
4
|
+
export declare const createTableColumns: (tableConfig: TableColumnsAndFields) => ExplorerTableColumnMRT[];
|
|
5
|
+
export declare const createArrayTableColumns: (root: string, tableConfig: TableColumnsAndFields) => ExplorerTableColumnMRT[];
|
|
3
6
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/ExplorerTable/utils.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/ExplorerTable/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EAErB,sBAAsB,EACvB,MAAM,SAAS,CAAC;AASjB,eAAO,MAAM,uBAAuB,GAClC,QAAQ,aAAa,CAAC,kBAAkB,CAAC,KACxC,gBAAgB,EAQlB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,KAAK,OAAO,KAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAInE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,aAAa,qBAAqB,KACjC,sBAAsB,EAmCxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,MAAM,MAAM,EACZ,aAAa,qBAAqB,KACjC,sBAAsB,EAoCxB,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { fieldNameToTitle } from '@gen3/core';
|
|
2
|
+
import { ExplorerTableCellRendererFactory, RenderArrayCell, } from './ExplorerTableCellRenderers';
|
|
3
|
+
import { jsonPathAccessor } from '../../../components/Tables/utils';
|
|
4
|
+
import { ArrayCellRenderer } from './ArrayCellRenderer';
|
|
2
5
|
export var convertGuppyTableConfig = function (config) {
|
|
3
6
|
// convert the config to the format that guppy table expects
|
|
4
7
|
return config.map(function (column) {
|
|
@@ -9,4 +12,71 @@ export var convertGuppyTableConfig = function (config) {
|
|
|
9
12
|
};
|
|
10
13
|
});
|
|
11
14
|
};
|
|
15
|
+
export var isRecordAny = function (obj) {
|
|
16
|
+
if (Array.isArray(obj))
|
|
17
|
+
return false;
|
|
18
|
+
return obj !== null && typeof obj === 'object';
|
|
19
|
+
};
|
|
20
|
+
export var createTableColumns = function (tableConfig) {
|
|
21
|
+
return tableConfig.fields.map(function (field) {
|
|
22
|
+
var _a, _b, _c, _d;
|
|
23
|
+
var columnDef = (_a = tableConfig === null || tableConfig === void 0 ? void 0 : tableConfig.columns) === null || _a === void 0 ? void 0 : _a[field];
|
|
24
|
+
var cellRendererFunc = (columnDef === null || columnDef === void 0 ? void 0 : columnDef.type)
|
|
25
|
+
? ExplorerTableCellRendererFactory().getRenderer(columnDef === null || columnDef === void 0 ? void 0 : columnDef.type, (_b = columnDef === null || columnDef === void 0 ? void 0 : columnDef.cellRenderFunction) !== null && _b !== void 0 ? _b : 'default')
|
|
26
|
+
: undefined;
|
|
27
|
+
var cellRendererFuncParams = (columnDef === null || columnDef === void 0 ? void 0 : columnDef.params) && isRecordAny(columnDef === null || columnDef === void 0 ? void 0 : columnDef.params)
|
|
28
|
+
? columnDef === null || columnDef === void 0 ? void 0 : columnDef.params
|
|
29
|
+
: {};
|
|
30
|
+
return {
|
|
31
|
+
id: field,
|
|
32
|
+
field: field,
|
|
33
|
+
accessorKey: field,
|
|
34
|
+
header: (_c = columnDef === null || columnDef === void 0 ? void 0 : columnDef.title) !== null && _c !== void 0 ? _c : fieldNameToTitle(field),
|
|
35
|
+
accessorFn: (columnDef === null || columnDef === void 0 ? void 0 : columnDef.accessorPath)
|
|
36
|
+
? jsonPathAccessor(columnDef.accessorPath)
|
|
37
|
+
: undefined,
|
|
38
|
+
Cell: cellRendererFunc && (columnDef === null || columnDef === void 0 ? void 0 : columnDef.params)
|
|
39
|
+
? function (cell) {
|
|
40
|
+
return cellRendererFunc(cell, cellRendererFuncParams);
|
|
41
|
+
}
|
|
42
|
+
: cellRendererFunc
|
|
43
|
+
? cellRendererFunc
|
|
44
|
+
: undefined,
|
|
45
|
+
size: columnDef === null || columnDef === void 0 ? void 0 : columnDef.width,
|
|
46
|
+
enableSorting: (_d = columnDef === null || columnDef === void 0 ? void 0 : columnDef.sortable) !== null && _d !== void 0 ? _d : undefined,
|
|
47
|
+
};
|
|
48
|
+
}, []);
|
|
49
|
+
};
|
|
50
|
+
export var createArrayTableColumns = function (root, tableConfig) {
|
|
51
|
+
return tableConfig.fields.map(function (field) {
|
|
52
|
+
var _a, _b, _c, _d;
|
|
53
|
+
var columnDef = (_a = tableConfig === null || tableConfig === void 0 ? void 0 : tableConfig.columns) === null || _a === void 0 ? void 0 : _a[field];
|
|
54
|
+
var cellRendererFunc = (columnDef === null || columnDef === void 0 ? void 0 : columnDef.type)
|
|
55
|
+
? ExplorerTableCellRendererFactory().getRenderer(columnDef === null || columnDef === void 0 ? void 0 : columnDef.type, (_b = columnDef === null || columnDef === void 0 ? void 0 : columnDef.cellRenderFunction) !== null && _b !== void 0 ? _b : 'default')
|
|
56
|
+
: undefined;
|
|
57
|
+
var cellRendererFuncParams = (columnDef === null || columnDef === void 0 ? void 0 : columnDef.params) && isRecordAny(columnDef === null || columnDef === void 0 ? void 0 : columnDef.params)
|
|
58
|
+
? columnDef === null || columnDef === void 0 ? void 0 : columnDef.params
|
|
59
|
+
: {};
|
|
60
|
+
return {
|
|
61
|
+
id: field,
|
|
62
|
+
field: field,
|
|
63
|
+
accessorKey: field,
|
|
64
|
+
header: (_c = columnDef === null || columnDef === void 0 ? void 0 : columnDef.title) !== null && _c !== void 0 ? _c : fieldNameToTitle(field),
|
|
65
|
+
accessorFn: (columnDef === null || columnDef === void 0 ? void 0 : columnDef.accessorPath)
|
|
66
|
+
? jsonPathAccessor(columnDef.accessorPath)
|
|
67
|
+
: undefined,
|
|
68
|
+
Cell: cellRendererFunc && (columnDef === null || columnDef === void 0 ? void 0 : columnDef.params)
|
|
69
|
+
? function (cell) {
|
|
70
|
+
return ArrayCellRenderer(cellRendererFunc, cell, cellRendererFuncParams);
|
|
71
|
+
}
|
|
72
|
+
: cellRendererFunc
|
|
73
|
+
? function (cell) {
|
|
74
|
+
return ArrayCellRenderer(cellRendererFunc, cell);
|
|
75
|
+
}
|
|
76
|
+
: RenderArrayCell,
|
|
77
|
+
size: columnDef === null || columnDef === void 0 ? void 0 : columnDef.width,
|
|
78
|
+
enableSorting: (_d = columnDef === null || columnDef === void 0 ? void 0 : columnDef.sortable) !== null && _d !== void 0 ? _d : undefined,
|
|
79
|
+
};
|
|
80
|
+
}, []);
|
|
81
|
+
};
|
|
12
82
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/ExplorerTable/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/ExplorerTable/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAA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AAS,CAAE,KAAK;YACtB,aAAa,EAAE,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,QAAQ,mCAAI,SAAS;SAChD,CAAC;IACJ,CAAC,EAAE,EAAkC,CAAC,CAAC;AACzC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TabbablePanelProps } from './types';
|
|
2
|
-
export declare const AccordionPanel: ({ index, filters, tabTitle, facetDefinitions, facetDataHooks, }: TabbablePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const AccordionPanel: ({ index, filters, tabTitle, facetDefinitions, facetDataHooks, onAccessChange, accessLevel, showAccessLevel, }: TabbablePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default AccordionPanel;
|
|
4
4
|
//# sourceMappingURL=AccordianPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordianPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/AccordianPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccordianPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/AccordianPanel.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,cAAc,GAAI,+GAS5B,kBAAkB,4CA6FpB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -10,12 +10,12 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { Accordion, Group, Stack, Switch, Text, useMantineTheme, } from '@mantine/core';
|
|
12
12
|
import { FiltersPanel } from '../FiltersPanel';
|
|
13
|
-
import { selectAllCohortFiltersCollapsed, selectSharedFilters, selectShouldShareFilters, setShouldShareFilters, toggleCohortBuilderAllFilters, useCoreDispatch, useCoreSelector, } from '@gen3/core';
|
|
13
|
+
import { Accessibility, selectAllCohortFiltersCollapsed, selectSharedFilters, selectShouldShareFilters, setShouldShareFilters, toggleCohortBuilderAllFilters, useCoreDispatch, useCoreSelector, } from '@gen3/core';
|
|
14
14
|
import { Icon } from '@iconify/react';
|
|
15
15
|
import { modals } from '@mantine/modals';
|
|
16
16
|
export var AccordionPanel = function (_a) {
|
|
17
17
|
var _b;
|
|
18
|
-
var index = _a.index, filters = _a.filters, tabTitle = _a.tabTitle, facetDefinitions = _a.facetDefinitions, facetDataHooks = _a.facetDataHooks;
|
|
18
|
+
var index = _a.index, filters = _a.filters, tabTitle = _a.tabTitle, facetDefinitions = _a.facetDefinitions, facetDataHooks = _a.facetDataHooks, _c = _a.onAccessChange, onAccessChange = _c === void 0 ? function (value) { return null; } : _c, _d = _a.accessLevel, accessLevel = _d === void 0 ? Accessibility.ALL : _d, _e = _a.showAccessLevel, showAccessLevel = _e === void 0 ? false : _e;
|
|
19
19
|
var coreDispatch = useCoreDispatch();
|
|
20
20
|
var sharedFilters = useCoreSelector(function (state) { return selectSharedFilters(state); });
|
|
21
21
|
var theme = useMantineTheme();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordianPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/AccordianPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,KAAK,EACL,MAAM,EACN,IAAI,EACJ,eAAe,GAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"AccordianPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/AccordianPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,KAAK,EACL,MAAM,EACN,IAAI,EACJ,eAAe,GAChB,MAAM,eA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,GACQ,IACN,IACF,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TabbablePanelProps } from './types';
|
|
2
|
-
export declare const DropdownPanel: ({ index, filters, tabTitle, facetDefinitions, facetDataHooks, }: TabbablePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const DropdownPanel: ({ index, filters, tabTitle, facetDefinitions, facetDataHooks, onAccessChange, accessLevel, showAccessLevel, }: TabbablePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default DropdownPanel;
|
|
4
4
|
//# sourceMappingURL=DropdownPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/DropdownPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/DropdownPanel.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,aAAa,GAAI,+GAS3B,kBAAkB,4CAoHpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -13,11 +13,12 @@ import { Group, Select, Stack, Switch, Text, Tooltip, useMantineTheme, } from '@
|
|
|
13
13
|
import { modals } from '@mantine/modals';
|
|
14
14
|
import { Icon } from '@iconify/react';
|
|
15
15
|
import { FiltersPanel } from '../FiltersPanel';
|
|
16
|
-
import { useCoreSelector, selectAllCohortFiltersCollapsed, toggleCohortBuilderAllFilters, useCoreDispatch, selectShouldShareFilters, setShouldShareFilters, selectSharedFilters, } from '@gen3/core';
|
|
16
|
+
import { useCoreSelector, selectAllCohortFiltersCollapsed, toggleCohortBuilderAllFilters, useCoreDispatch, selectShouldShareFilters, setShouldShareFilters, selectSharedFilters, Accessibility, } from '@gen3/core';
|
|
17
17
|
import { useDeepCompareMemo } from 'use-deep-compare';
|
|
18
|
+
import AccessLevel from '../AccessLevel';
|
|
18
19
|
export var DropdownPanel = function (_a) {
|
|
19
|
-
var index = _a.index, filters = _a.filters, tabTitle = _a.tabTitle, facetDefinitions = _a.facetDefinitions, facetDataHooks = _a.facetDataHooks;
|
|
20
|
-
var
|
|
20
|
+
var index = _a.index, filters = _a.filters, tabTitle = _a.tabTitle, facetDefinitions = _a.facetDefinitions, facetDataHooks = _a.facetDataHooks, _b = _a.onAccessChange, onAccessChange = _b === void 0 ? function (value) { return null; } : _b, _c = _a.accessLevel, accessLevel = _c === void 0 ? Accessibility.ALL : _c, _d = _a.showAccessLevel, showAccessLevel = _d === void 0 ? false : _d;
|
|
21
|
+
var _e = useState('0'), value = _e[0], setValue = _e[1];
|
|
21
22
|
var allFiltersCollapsed = useCoreSelector(function (state) {
|
|
22
23
|
return selectAllCohortFiltersCollapsed(state, index);
|
|
23
24
|
});
|
|
@@ -48,7 +49,7 @@ export var DropdownPanel = function (_a) {
|
|
|
48
49
|
onConfirm: function () { return coreDispatch(setShouldShareFilters(value)); },
|
|
49
50
|
});
|
|
50
51
|
};
|
|
51
|
-
return (_jsxs(Stack, { align: "flex-start", children: [_jsxs(Group, { justify: "space-between", className: "w-full", children: [_jsx(Text, { size: "xl", fw: 800, children: "Filters" }), _jsx("button", { className: "text-primary text-sm font-normal", onClick: function () { return toggleAllFiltersExpanded(allFiltersCollapsed); }, children: allFiltersCollapsed ? 'Expand All' : 'Collapse All' })] }), _jsxs(Stack, { className: "bg-base-max py-4 px-2 h-full w-full", children: [Object.keys(sharedFilters).length > 0 && (_jsxs(Group, { gap: "xs", justify: "space-between", children: [_jsxs("div", { className: "flex items-center space-x-1", children: [_jsx(Icon, { icon: "gen3:share", height: 16, width: 16, color: theme.colors.accent[4] }), _jsx(Text, { size: "sm", children: "Set the shared filters for all" }), _jsx(Tooltip, { label: "If enabled any filter set on this tab will be applied to every tab where occurs.", position: "top", withArrow: true, children: _jsx(Icon, { icon: "gen3:info", height: 12, width: 12, color: theme.colors.accent[4] }) })] }), _jsx(Switch, { checked: shareFilters, onChange: function (event) {
|
|
52
|
+
return (_jsxs(Stack, { align: "flex-start", children: [_jsxs(Group, { justify: "space-between", className: "w-full", children: [_jsx(Text, { size: "xl", fw: 800, children: "Filters" }), _jsx("button", { className: "text-primary text-sm font-normal", onClick: function () { return toggleAllFiltersExpanded(allFiltersCollapsed); }, children: allFiltersCollapsed ? 'Expand All' : 'Collapse All' })] }), showAccessLevel ? (_jsx(AccessLevel, { onChange: onAccessChange, accessLevel: accessLevel })) : null, _jsxs(Stack, { className: "bg-base-max py-4 px-2 h-full w-full", children: [Object.keys(sharedFilters).length > 0 && (_jsxs(Group, { gap: "xs", justify: "space-between", children: [_jsxs("div", { className: "flex items-center space-x-1", children: [_jsx(Icon, { icon: "gen3:share", height: 16, width: 16, color: theme.colors.accent[4] }), _jsx(Text, { size: "sm", children: "Set the shared filters for all" }), _jsx(Tooltip, { label: "If enabled any filter set on this tab will be applied to every tab where occurs.", position: "top", withArrow: true, children: _jsx(Icon, { icon: "gen3:info", height: 12, width: 12, color: theme.colors.accent[4] }) })] }), _jsx(Switch, { checked: shareFilters, onChange: function (event) {
|
|
52
53
|
return handleSharedFiltersChange(event.currentTarget.checked);
|
|
53
54
|
} })] })), filters.tabs.length > 1 && (_jsx(Select, { classNames: {
|
|
54
55
|
options: 'border-1 border-base-dark',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/DropdownPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,EACN,IAAI,EACJ,OAAO,EACP,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,6BAA6B,EAC7B,eAAe,EACf,wBAAwB,EACxB,qBAAqB,EAErB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DropdownPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/DropdownPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,EACN,IAAI,EACJ,OAAO,EACP,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,6BAA6B,EAC7B,eAAe,EACf,wBAAwB,EACxB,qBAAqB,EAErB,mBAAmB,EACnB,aAAa,GACd,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,EAST;QARnB,KAAK,WAAA,EACL,OAAO,aAAA,EACP,QAAQ,cAAA,EACR,gBAAgB,sBAAA,EAChB,cAAc,oBAAA,EACd,sBAA+C,EAA/C,cAAc,mBAAG,UAAC,KAAoB,IAAK,OAAA,IAAI,EAAJ,CAAI,KAAA,EAC/C,mBAA+B,EAA/B,WAAW,mBAAG,aAAa,CAAC,GAAG,KAAA,EAC/B,uBAAuB,EAAvB,eAAe,mBAAG,KAAK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bedPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"TabbedPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/TabbedPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA2E7C,eAAO,MAAM,WAAW,GAAI,iEAMzB,kBAAkB,4CAkBpB,CAAC"}
|
|
@@ -10,9 +10,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { Tabs } from '@mantine/core';
|
|
12
12
|
import { FiltersPanel } from '../FiltersPanel';
|
|
13
|
+
import { Accessibility } from '@gen3/core';
|
|
13
14
|
var VerticalTabbedPanel = function (_a) {
|
|
14
15
|
var _b;
|
|
15
|
-
var index = _a.index, filters = _a.filters, tabTitle = _a.tabTitle, facetDefinitions = _a.facetDefinitions, facetDataHooks = _a.facetDataHooks;
|
|
16
|
+
var index = _a.index, filters = _a.filters, tabTitle = _a.tabTitle, facetDefinitions = _a.facetDefinitions, facetDataHooks = _a.facetDataHooks, _c = _a.onAccessChange, onAccessChange = _c === void 0 ? function (value) { return null; } : _c, _d = _a.accessLevel, accessLevel = _d === void 0 ? Accessibility.ALL : _d, _e = _a.showAccessLevel, showAccessLevel = _e === void 0 ? false : _e;
|
|
16
17
|
return (_jsx("div", { children: _jsxs(Tabs, { variant: "pills", orientation: "vertical", keepMounted: false, defaultValue: (_b = filters === null || filters === void 0 ? void 0 : filters.tabs[0].title) !== null && _b !== void 0 ? _b : 'Filters', children: [_jsx(Tabs.List, { children: filters.tabs.map(function (tab) {
|
|
17
18
|
return (_jsx(Tabs.Tab, { value: tab.title, children: tab.title }, "".concat(tab.title, "-tab")));
|
|
18
19
|
}) }), filters.tabs.map(function (tab) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/TabbedPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"TabbedPanel.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/TabbedPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAmB,MAAM,YAAY,CAAC;AAI5D,IAAM,mBAAmB,GAAG,UAAC,EASR;;QARnB,KAAK,WAAA,EACL,OAAO,aAAA,EACP,QAAQ,cAAA,EACR,gBAAgB,sBAAA,EAChB,cAAc,oBAAA,EACe,sBAA+C,EAA/C,cAAc,mBAAG,UAAC,KAAoB,IAAK,OAAA,IAAI,EAAJ,CAAI,KAAA,EAC/C,mBAA+B,EAA/B,WAAW,mBAAG,aAAa,CAAC,GAAG,KAAA,EAC/B,uBAAuB,EAAvB,eAAe,mBAAG,KAAK,KAAA;IAEpD,OAAO,CACL,wBACE,MAAC,IAAI,IACH,OAAO,EAAC,OAAO,EACf,WAAW,EAAC,UAAU,EACtB,WAAW,EAAE,KAAK,EAClB,YAAY,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,CAAC,EAAE,KAAK,mCAAI,SAAS,aAEjD,KAAC,IAAI,CAAC,IAAI,cACP,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,UAAC,GAAc;wBAC/B,OAAO,CACL,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,GAAG,CAAC,KAAK,YACvB,GAAG,CAAC,KAAK,IADqB,UAAG,GAAG,CAAC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J,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG,UAAC,EAMP;QALnB,KAAK,WAAA,EACL,OAAO,aAAA,EACP,QAAQ,cAAA,EACR,gBAAgB,sBAAA,EAChB,cAAc,oBAAA;IAEd,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC/B,KAAC,mBAAmB,IAClB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC,CAAC,CAAC,CACF,KAAC,WAAW,IACV,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TabsConfig } from '../types';
|
|
2
|
-
import { FacetDefinition, FacetType } from '@gen3/core';
|
|
2
|
+
import { Accessibility, FacetDefinition, FacetType } from '@gen3/core';
|
|
3
3
|
import { FacetDataHooks } from '../../../components/facets';
|
|
4
4
|
export interface TabbablePanelProps {
|
|
5
5
|
index: string;
|
|
@@ -7,5 +7,8 @@ export interface TabbablePanelProps {
|
|
|
7
7
|
tabTitle: string;
|
|
8
8
|
facetDefinitions: Record<string, FacetDefinition>;
|
|
9
9
|
facetDataHooks: Record<FacetType, FacetDataHooks>;
|
|
10
|
+
onAccessChange?: (value: Accessibility) => void;
|
|
11
|
+
accessLevel?: Accessibility;
|
|
12
|
+
showAccessLevel?: boolean;
|
|
10
13
|
}
|
|
11
14
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/Panels/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,UAAU,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAClD,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;IAClD,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B"}
|
|
@@ -61,7 +61,7 @@ var reducer = function (state, action) {
|
|
|
61
61
|
};
|
|
62
62
|
var QueryExpressionSection = function (_a) {
|
|
63
63
|
var _b, _c;
|
|
64
|
-
var index = _a.index, _d = _a.showImportExport, showImportExport = _d === void 0 ? false : _d, _e = _a.displayOnly, displayOnly = _e === void 0 ? false : _e, _f = _a.showTitle, showTitle = _f === void 0 ?
|
|
64
|
+
var index = _a.index, _d = _a.showImportExport, showImportExport = _d === void 0 ? false : _d, _e = _a.displayOnly, displayOnly = _e === void 0 ? false : _e, _f = _a.showTitle, showTitle = _f === void 0 ? true : _f;
|
|
65
65
|
var _g = useReducer(reducer, {}), expandedState = _g[0], setExpandedState = _g[1];
|
|
66
66
|
var _h = useState(true), filtersSectionCollapsed = _h[0], setFiltersSectionCollapsed = _h[1];
|
|
67
67
|
var filtersRef = useRef(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryExpressionSection.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/QueryExpression/QueryExpressionSection.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,
|
|
1
|
+
{"version":3,"file":"QueryExpressionSection.js","sourceRoot":"","sources":["../../../../../src/features/CohortBuilder/QueryExpression/QueryExpressionSection.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EACL,mBAAmB,IAAI,aAAa,EACpC,iBAAiB,IAAI,WAAW,GACjC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,uBAAuB,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EACL,+BAA+B,GAEhC,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EACL,qCAAqC,EACrC,gCAAgC,GACjC,MAAM,UAAU,CAAC;A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,iBAAc,MAAM,GAAG,GAC7B,CAClB,GACM,GACD,IACN,IACS,IACb,EACN,6BACc,qBAAqB,EACjC,SAAS,EAAC,yDAAyD,EACnE,KAAK,EACH,uBAAuB;4BACrB,CAAC,CAAC,EAAE,SAAS,EAAE,UAAG,eAAe,OAAI,EAAE,SAAS,EAAE,QAAQ,EAAE;4BAC5D,CAAC,CAAC,SAAS,EAEf,GAAG,EAAE,UAAU,YAEd,SAAS,CAAC,CAAC,CAAC,CACX,2BACc,8BAA8B,EAC1C,SAAS,EAAC,qCAAqC,8CAG7C,CACL,CAAC,CAAC,CAAC,CACF,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC;4BAC9B,OAAO,wBAAwB,CAC7B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EACf,KAAK,EACL,GAAG,EACH,WAAW,CACZ,CAAC;wBACJ,CAAC,CAAC,CACH,GACG,IACF,GACmC,GAClB,CAC5B,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { CohortBuilder } from './CohortBuilder';
|
|
2
|
-
import { type CohortBuilderConfiguration, type CohortBuilderProps, type
|
|
2
|
+
import { type CohortBuilderConfiguration, type CohortBuilderProps, type CohortPanelConfiguration } from './types';
|
|
3
3
|
import { type TableDetailsPanelProps, type CellRendererFunctionProps, ExplorerTableDetailsPanelFactory, ExplorerTableCellRendererFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers } from './ExplorerTable';
|
|
4
|
+
import { QueryExpressionContext } from './QueryExpression/QueryExpressionContext';
|
|
5
|
+
import QueryExpressionSection from './QueryExpression/QueryExpressionSection';
|
|
6
|
+
import QueryExpression from './QueryExpression/QueryExpression';
|
|
4
7
|
import CohortManager from './CohortManager';
|
|
5
|
-
export { type CohortBuilderConfiguration, type CohortBuilderProps, type TableDetailsPanelProps, type CellRendererFunctionProps, type
|
|
8
|
+
export { type CohortBuilderConfiguration, type CohortBuilderProps, type TableDetailsPanelProps, type CellRendererFunctionProps, type CohortPanelConfiguration, CohortBuilder, CohortManager, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, QueryExpressionContext, QueryExpression, QueryExpressionSection, };
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC9B,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,EAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,sBAAsB,MAAM,0CAA0C,CAAC;AAC9E,OAAO,eAAe,MAAM,mCAAmC,CAAC;AAEhE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,aAAa,EACb,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,EAC5C,sBAAsB,EACtB,eAAe,EACf,sBAAsB,GACvB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { CohortBuilder } from './CohortBuilder';
|
|
2
2
|
import { ExplorerTableDetailsPanelFactory, ExplorerTableCellRendererFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, } from './ExplorerTable';
|
|
3
|
+
import { QueryExpressionContext } from './QueryExpression/QueryExpressionContext';
|
|
4
|
+
import QueryExpressionSection from './QueryExpression/QueryExpressionSection';
|
|
5
|
+
import QueryExpression from './QueryExpression/QueryExpression';
|
|
3
6
|
import CohortManager from './CohortManager';
|
|
4
|
-
export { CohortBuilder, CohortManager, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, };
|
|
7
|
+
export { CohortBuilder, CohortManager, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, QueryExpressionContext, QueryExpression, QueryExpressionSection, };
|
|
5
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD,OAAO,EAGL,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAML,aAAa,EACb,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD,OAAO,EAGL,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,sBAAsB,MAAM,0CAA0C,CAAC;AAC9E,OAAO,eAAe,MAAM,mCAAmC,CAAC;AAEhE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAML,aAAa,EACb,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,EAC5C,sBAAsB,EACtB,eAAe,EACf,sBAAsB,GACvB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { DownloadButtonProps } from '../../components/Buttons/DropdownButtons';
|
|
|
5
5
|
import { Dispatch, SetStateAction } from 'react';
|
|
6
6
|
import { Modals, FacetDefinition, SharedFieldMapping } from '@gen3/core';
|
|
7
7
|
import { StylingOverride } from '../../types/styling';
|
|
8
|
-
import {
|
|
8
|
+
import { Gen3AppConfigData } from '../../lib/content/types';
|
|
9
9
|
export type FacetType = 'enum' | 'range' | 'text' | 'number' | 'boolean' | 'date' | 'datetime';
|
|
10
10
|
export interface TabConfig {
|
|
11
11
|
title: string;
|
|
@@ -44,7 +44,7 @@ export interface DropdownButtonsConfig {
|
|
|
44
44
|
export interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
|
|
45
45
|
dropdownItems: ReadonlyArray<DownloadButtonProps>;
|
|
46
46
|
}
|
|
47
|
-
export interface
|
|
47
|
+
export interface CohortPanelConfiguration {
|
|
48
48
|
guppyConfig: DataTypeConfigWithManifest;
|
|
49
49
|
tabTitle: string;
|
|
50
50
|
charts?: Record<string, SummaryChart>;
|
|
@@ -59,17 +59,25 @@ export interface SharedFieldConfiguration {
|
|
|
59
59
|
defined?: SharedFieldMapping;
|
|
60
60
|
autoCreate?: boolean;
|
|
61
61
|
}
|
|
62
|
-
export
|
|
62
|
+
export declare enum GuppyDataAccessMode {
|
|
63
|
+
REGULAR = "regular",
|
|
64
|
+
LIBRE = "libre",
|
|
65
|
+
PRIVATE = "private"
|
|
66
|
+
}
|
|
67
|
+
export interface AccessControlConfiguration {
|
|
68
|
+
dataMode: GuppyDataAccessMode;
|
|
69
|
+
tierLimit?: number;
|
|
70
|
+
showAccessLevelControl?: boolean;
|
|
71
|
+
}
|
|
72
|
+
export interface CohortBuilderConfiguration extends Gen3AppConfigData {
|
|
63
73
|
tabsLayout?: 'left' | 'right' | 'center';
|
|
64
74
|
sharedFilters?: SharedFieldConfiguration;
|
|
65
|
-
explorerConfig: Array<
|
|
75
|
+
explorerConfig: Array<CohortPanelConfiguration>;
|
|
76
|
+
accessControl?: AccessControlConfiguration;
|
|
66
77
|
}
|
|
67
78
|
export interface CohortBuilderProps extends Omit<CohortBuilderConfiguration, 'sharedFilters'> {
|
|
68
79
|
sharedFiltersMap: SharedFieldMapping | null;
|
|
69
80
|
}
|
|
70
|
-
export interface CohortConfig {
|
|
71
|
-
tabs: TabConfig[];
|
|
72
|
-
}
|
|
73
81
|
export declare enum DownloadFileFormats {
|
|
74
82
|
JSON = "JSON",
|
|
75
83
|
CSV = "CSV",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC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AC,mBAAmB,EAAE,QAAQ,GAAG,YAAY,CAAC;IAC1D,cAAc,EAAE,4BAA4B,CAAC;IAC7C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,EAAE,4BAA4B,CAAC;IAC7C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
// set of interfaces which follows the current explorer configuration
|
|
2
|
+
export var GuppyDataAccessMode;
|
|
3
|
+
(function (GuppyDataAccessMode) {
|
|
4
|
+
GuppyDataAccessMode["REGULAR"] = "regular";
|
|
5
|
+
GuppyDataAccessMode["LIBRE"] = "libre";
|
|
6
|
+
GuppyDataAccessMode["PRIVATE"] = "private";
|
|
7
|
+
})(GuppyDataAccessMode || (GuppyDataAccessMode = {}));
|
|
2
8
|
export var DownloadFileFormats;
|
|
3
9
|
(function (DownloadFileFormats) {
|
|
4
10
|
DownloadFileFormats["JSON"] = "JSON";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/types.ts"],"names":[],"mappings":"AAAA,qEAAqE;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AAkFrE,MAAM,CAAN,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,0CAAmB,CAAA;AACrB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;AAoBD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,kCAAW,CAAA;IACX,kCAAW,CAAA;IACX,oCAAa,CAAA;IACb,8CAAuB,CAAA;AACzB,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/ActionButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ActionButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/ActionButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAU,MAAM,UAAU,CAAC;AASrD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgDlD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { useCallback, useMemo } from 'react';
|
|
3
|
+
import { Button, Group, Select } from '@mantine/core';
|
|
3
4
|
import SaveActionButton from './SaveActionButton';
|
|
5
|
+
import { useAppSelector, useAppDispatch } from '../appApi';
|
|
6
|
+
import { selectCurrentCohort, selectAllCohorts, } from '../CohortManagment/CohortManagerSelectors';
|
|
7
|
+
import { setCurrentCohortId } from '../CohortManagment/CohortManagerSlice';
|
|
4
8
|
var ActionButtonGroup = function (_a) {
|
|
9
|
+
var _b;
|
|
5
10
|
var index = _a.index;
|
|
6
|
-
|
|
11
|
+
var data = useAppSelector(selectAllCohorts); // all saved cohorts
|
|
12
|
+
var currentCohort = useAppSelector(selectCurrentCohort);
|
|
13
|
+
var dispatch = useAppDispatch();
|
|
14
|
+
var selectData = useMemo(function () {
|
|
15
|
+
return data.map(function (cohort) { return ({ label: cohort.name, value: cohort.id }); });
|
|
16
|
+
}, [data]);
|
|
17
|
+
var onSelectCohort = useCallback(function (_value, option) {
|
|
18
|
+
if (option) {
|
|
19
|
+
dispatch(setCurrentCohortId(option.value));
|
|
20
|
+
}
|
|
21
|
+
}, [dispatch]);
|
|
22
|
+
return (_jsxs(Group, { gap: "xs", className: "flex pt-4 pl-2", children: [_jsx(Select, { data: selectData, value: (_b = currentCohort === null || currentCohort === void 0 ? void 0 : currentCohort.id) !== null && _b !== void 0 ? _b : null, onChange: onSelectCohort }), _jsx(SaveActionButton, { index: index }), _jsx(Button, { size: "sm", variant: "outline", color: "secondary.4", classNames: {
|
|
7
23
|
root: 'bg-base-max',
|
|
8
24
|
}, children: "Export Cohort" }), _jsx(Button, { size: "sm", variant: "outline", color: "secondary.4", classNames: {
|
|
9
25
|
root: 'bg-base-max',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionButtonGroup.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/ActionButtonGroup.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ActionButtonGroup.js","sourceRoot":"","sources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M,IACL,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,EAAE,mCAAI,IAAI,EAChC,QAAQ,EAAE,cAAc,GACxB,EACF,KAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,GAAI,EAClC,KAAC,MAAM,IACL,IAAI,EAAC,IAAI,EACT,OAAO,EAAC,SAAS,EACjB,KAAK,EAAC,aAAa,EACnB,UAAU,EAAE;oBACV,IAAI,EAAE,aAAa;iBACpB,8BAGM,EACT,KAAC,MAAM,IACL,IAAI,EAAC,IAAI,EACT,OAAO,EAAC,SAAS,EACjB,KAAK,EAAC,aAAa,EACnB,UAAU,EAAE;oBACV,IAAI,EAAE,aAAa;iBACpB,8BAGM,IACH,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveActionButton.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/SaveActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SaveActionButton.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/SaveActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyEjD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -3,13 +3,16 @@ import { useState } from 'react';
|
|
|
3
3
|
import { Button, Group, Modal, Stack, TextInput } from '@mantine/core';
|
|
4
4
|
import { useDisclosure } from '@mantine/hooks';
|
|
5
5
|
import { useAppSelector, useAppDispatch } from '../appApi';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { selectCurrentCohortFilters, selectCurrentCohort, } from '../CohortManagment/CohortManagerSelectors';
|
|
7
|
+
import { saveCohortToStorage } from '../CohortManagment/CohortManagerSlice';
|
|
8
8
|
var SaveActionButton = function (_a) {
|
|
9
9
|
var index = _a.index;
|
|
10
10
|
var _b = useDisclosure(false), opened = _b[0], _c = _b[1], close = _c.close, open = _c.open;
|
|
11
11
|
var filters = useAppSelector(function (state) {
|
|
12
|
-
return
|
|
12
|
+
return selectCurrentCohortFilters(state);
|
|
13
|
+
});
|
|
14
|
+
var currentCohort = useAppSelector(function (state) {
|
|
15
|
+
return selectCurrentCohort(state);
|
|
13
16
|
});
|
|
14
17
|
var _d = useState('New Cohort'), cohortName = _d[0], setCohortName = _d[1];
|
|
15
18
|
var appDispatch = useAppDispatch();
|
|
@@ -18,7 +21,10 @@ var SaveActionButton = function (_a) {
|
|
|
18
21
|
}, children: _jsxs(Stack, { className: "mt-2", children: [_jsx(TextInput, { description: "Enter name to save cohort", label: "Cohort Name", placeholder: "New Cohort", "data-autofocus": true, onChange: function (event) {
|
|
19
22
|
setCohortName(event.currentTarget.value);
|
|
20
23
|
}, value: cohortName, required: true }), _jsxs(Group, { justify: "flex-end", className: "bg-base-lighter -m-4 p-3 mt-3", children: [_jsx(Button, { variant: "outline", onClick: close, children: "Cancel" }), _jsx(Button, { onClick: function () {
|
|
21
|
-
appDispatch(
|
|
24
|
+
appDispatch(saveCohortToStorage({
|
|
25
|
+
cohortId: currentCohort.id,
|
|
26
|
+
cohortName: cohortName,
|
|
27
|
+
}));
|
|
22
28
|
close();
|
|
23
29
|
}, children: "Save" })] })] }) }), _jsx(Button, { size: "sm", variant: "outline", color: "secondary.4", disabled: !(index in filters) || Object.keys(filters[index].root).length == 0, classNames: {
|
|
24
30
|
root: 'bg-base-max',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveActionButton.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/SaveActionButton.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAY,MAAM,WAAW,CAAC;AACrE,OAAO,
|
|
1
|
+
{"version":3,"file":"SaveActionButton.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/ActionButtons/SaveActionButton.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAY,MAAM,WAAW,CAAC;AACrE,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAI5E,IAAM,gBAAgB,GAAgC,UAAC,EAAS;QAAP,KAAK,WAAA;IACtD,IAAA,KAA4B,aAAa,CAAC,KAAK,CAAC,EAA/C,MAAM,QAAA,EAAE,UAAe,EAAb,KAAK,WAAA,EAAE,IAAI,UAA0B,CAAC;IACvD,IAAM,OAAO,GAAqB,cAAc,CAAC,UAAC,KAAe;QAC/D,OAAA,0BAA0B,CAAC,KAAK,CAAC;IAAjC,CAAiC,CAClC,CAAC;IAEF,IAAM,aAAa,GAAG,cAAc,CAAC,UAAC,KAAe;QACnD,OAAA,mBAAmB,CAAC,KAAK,CAAC;IAA1B,CAA0B,CAC3B,CAAC;IAEI,IAAA,KAA8B,QAAQ,CAAC,YAAY,CAAC,EAAnD,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CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartsAndFacetsPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/ChartsAndFacetsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChartsAndFacetsPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/ChartsAndFacetsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAEL,eAAe,EAEhB,MAAM,YAAY,CAAC;AAgBpB,UAAU,yBAAyB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAChC;AAID;;;;;;GAMG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAgG7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|