@gen-epix/ui-client-casedb 4.0.0 → 4.0.2
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/@types/mui.d.ts +1 -1
- package/dist/@types/{ui-casedb.d.ts → ui-client-casedb.d.ts} +1 -1
- package/dist/_chunks/AddCasesToEventDialog.js +74 -74
- package/dist/_chunks/AddCasesToEventDialog.js.map +1 -1
- package/dist/_chunks/CaseContentForm.js +2 -2
- package/dist/_chunks/CaseContentForm.js.map +1 -1
- package/dist/_chunks/CaseDbDownloadUtil.js +40 -35
- package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -1
- package/dist/_chunks/CaseInfoDialog.js +195 -195
- package/dist/_chunks/CaseInfoDialog.js.map +1 -1
- package/dist/_chunks/CaseSetInfoDialog.js +131 -131
- package/dist/_chunks/CaseSetInfoDialog.js.map +1 -1
- package/dist/_chunks/CaseTypeInfoDialog.js +63 -61
- package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -1
- package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +6 -6
- package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -1
- package/dist/_chunks/CompletCaseTypeLoader.js +3 -3
- package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -1
- package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +1 -1
- package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -1
- package/dist/_chunks/CustomTabPanel.js.map +1 -1
- package/dist/_chunks/Dashboard.js +399 -386
- package/dist/_chunks/Dashboard.js.map +1 -1
- package/dist/_chunks/DashboardStoreLoader.js +5 -5
- package/dist/_chunks/DashboardStoreLoader.js.map +1 -1
- package/dist/_chunks/DataCollectionAccessInfo.js +21 -21
- package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -1
- package/dist/_chunks/EpiCurveUtil.js +4 -4
- package/dist/_chunks/EpiCurveUtil.js.map +1 -1
- package/dist/_chunks/EpiCurveWidget.js +189 -183
- package/dist/_chunks/EpiCurveWidget.js.map +1 -1
- package/dist/_chunks/FilterUtil.js +103 -101
- package/dist/_chunks/FilterUtil.js.map +1 -1
- package/dist/_chunks/FindSimilarCasesDialog.js +16 -16
- package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -1
- package/dist/_chunks/FindSimilarCasesUtil.js +9 -9
- package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -1
- package/dist/_chunks/HomePageTrends.js +8 -8
- package/dist/_chunks/HomePageTrends.js.map +1 -1
- package/dist/_chunks/LegendaItem.js +3 -3
- package/dist/_chunks/LegendaItem.js.map +1 -1
- package/dist/_chunks/LineListWidget.js +23 -21
- package/dist/_chunks/LineListWidget.js.map +1 -1
- package/dist/_chunks/PanelSeparator.js +374 -384
- package/dist/_chunks/PanelSeparator.js.map +1 -1
- package/dist/_chunks/Upload.js +222 -207
- package/dist/_chunks/Upload.js.map +1 -1
- package/dist/_chunks/UploadUtil.js +1970 -841
- package/dist/_chunks/UploadUtil.js.map +1 -1
- package/dist/_chunks/UserRightsDialog.js +12 -12
- package/dist/_chunks/UserRightsDialog.js.map +1 -1
- package/dist/_chunks/_MapCache.js +2 -2
- package/dist/_chunks/_baseGet.js +1 -1
- package/dist/_chunks/_baseGet.js.map +1 -1
- package/dist/_chunks/_baseIteratee.js +1 -1
- package/dist/_chunks/_baseIteratee.js.map +1 -1
- package/dist/_chunks/_setToString.js.map +1 -1
- package/dist/_chunks/{chunk-KS7C4IRE.js → chunk-BV7QT456.js} +330 -495
- package/dist/_chunks/chunk-BV7QT456.js.map +1 -0
- package/dist/_chunks/cloneDeep.js +11 -9
- package/dist/_chunks/cloneDeep.js.map +1 -1
- package/dist/_chunks/dashboardStore.js +259 -261
- package/dist/_chunks/dashboardStore.js.map +1 -1
- package/dist/_chunks/esm.js +2900 -2868
- package/dist/_chunks/esm.js.map +1 -1
- package/dist/_chunks/format.js +8 -8
- package/dist/_chunks/format.js.map +1 -1
- package/dist/_chunks/index.esm.js +919 -796
- package/dist/_chunks/index.esm.js.map +1 -1
- package/dist/_chunks/index.module.js +1 -1
- package/dist/_chunks/index.module.js.map +1 -1
- package/dist/_chunks/protectedTokens.js +79 -81
- package/dist/_chunks/protectedTokens.js.map +1 -1
- package/dist/_chunks/react.js +1 -1
- package/dist/_chunks/react.js.map +1 -1
- package/dist/_chunks/round.js +1 -1
- package/dist/_chunks/round.js.map +1 -1
- package/dist/_chunks/shallow.js +2 -2
- package/dist/_chunks/shallow.js.map +1 -1
- package/dist/_chunks/sync.js +198 -161
- package/dist/_chunks/sync.js.map +1 -1
- package/dist/_chunks/toDate.js +1 -1
- package/dist/_chunks/toDate.js.map +1 -1
- package/dist/_chunks/toString.js +1 -1
- package/dist/_chunks/toString.js.map +1 -1
- package/dist/_chunks/useUnit.js.map +1 -1
- package/dist/_chunks/vanilla.js +1 -1
- package/dist/_chunks/vanilla.js.map +1 -1
- package/dist/_chunks/yup.js +5 -5
- package/dist/_chunks/yup.js.map +1 -1
- package/dist/classes/filters/SelectionFilter.d.ts +2 -2
- package/dist/classes/filters/TreeFilter.d.ts +2 -2
- package/dist/classes/services/DataService/index.js +3 -3
- package/dist/classes/services/DataService/index.js.map +1 -1
- package/dist/classes/services/EventBusService/EventBusService.d.ts +1 -1
- package/dist/classes/services/EventBusService/index.js.map +1 -1
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +1 -1
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -1
- package/dist/components/app/CaseDbApp/index.js +8 -5
- package/dist/components/app/CaseDbApp/index.js.map +1 -1
- package/dist/components/form/fields/ArrangementEditor/index.js +83 -83
- package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -1
- package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +2 -2
- package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +2 -2
- package/dist/components/ui/CaseContentFormDialog/index.js +1 -1
- package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -1
- package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +2 -2
- package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +2 -2
- package/dist/components/ui/CaseSummary/index.js +1 -1
- package/dist/components/ui/CaseSummary/index.js.map +1 -1
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +2 -2
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +1 -1
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +2 -2
- package/dist/components/ui/ContextMenu/index.js.map +1 -1
- package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +2 -2
- package/dist/components/ui/CreateEventDialog/index.js +9 -9
- package/dist/components/ui/CreateEventDialog/index.js.map +1 -1
- package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +1 -1
- package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +1 -1
- package/dist/components/ui/Dashboard/DashboardWidget.d.ts +1 -1
- package/dist/components/ui/DashboardEditCases/index.js +1 -1
- package/dist/components/ui/DashboardEditCases/index.js.map +1 -1
- package/dist/components/ui/FileSelector/index.js +46 -46
- package/dist/components/ui/FileSelector/index.js.map +1 -1
- package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +2 -2
- package/dist/components/ui/Grouping/index.js +50 -50
- package/dist/components/ui/Grouping/index.js.map +1 -1
- package/dist/components/ui/HistogramWidget/index.js +1 -1
- package/dist/components/ui/HistogramWidget/index.js.map +1 -1
- package/dist/components/ui/MapWidget/index.js +7 -3
- package/dist/components/ui/MapWidget/index.js.map +1 -1
- package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +2 -2
- package/dist/components/ui/RemoveCasesFromEventDialog/index.js +6 -6
- package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -1
- package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +2 -2
- package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +2 -2
- package/dist/components/ui/SequenceDownloadDialog/index.js +22 -22
- package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -1
- package/dist/components/ui/TreeDescription/index.js.map +1 -1
- package/dist/components/ui/TreeWidget/index.js +11 -11
- package/dist/components/ui/TreeWidget/index.js.map +1 -1
- package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +2 -2
- package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +2 -2
- package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +2 -2
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +2 -2
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +25 -11
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -1
- package/dist/components/ui/Warning/index.js.map +1 -1
- package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -1
- package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +1 -1
- package/dist/components/ui/WidgetMenu/index.js +2 -2
- package/dist/components/ui/WidgetMenu/index.js.map +1 -1
- package/dist/components/ui/WidgetUnavailable/index.js.map +1 -1
- package/dist/constants/query.d.ts +1 -1
- package/dist/constants/query.js +1 -1
- package/dist/constants/query.js.map +1 -1
- package/dist/context/caseAbac/CaseAbacContext.d.ts +1 -1
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +3 -3
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -1
- package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseRightsQuery/index.js +2 -2
- package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseSetRightsQuery/index.js +2 -2
- package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetStatsQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseSetStatusesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseSetsQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +2 -2
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetsQuery/index.js +3 -3
- package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeStatsQuery/index.js +2 -2
- package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +1 -1
- package/dist/dataHooks/useColSetMembersQuery/index.js +2 -2
- package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -1
- package/dist/dataHooks/useColSetsQuery/index.js +3 -3
- package/dist/dataHooks/useColSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useColTypesQuery/index.js.map +1 -1
- package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +1 -1
- package/dist/dataHooks/useColsQuery/index.js +3 -3
- package/dist/dataHooks/useColsQuery/index.js.map +1 -1
- package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptQuery/index.js +3 -3
- package/dist/dataHooks/useConceptQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptSetsQuery/index.js +3 -3
- package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +2 -2
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -1
- package/dist/dataHooks/useDataCollectionsQuery/index.js +3 -3
- package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -1
- package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +1 -1
- package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -1
- package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +1 -1
- package/dist/dataHooks/useDimsQuery/index.js +3 -3
- package/dist/dataHooks/useDimsQuery/index.js.map +1 -1
- package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +1 -1
- package/dist/dataHooks/useDiseasesQuery/index.js +3 -3
- package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -1
- package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +1 -1
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +3 -3
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -1
- package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +1 -1
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +3 -3
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -1
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +1 -1
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefColsQuery/index.js +3 -3
- package/dist/dataHooks/useRefColsQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +1 -1
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +2 -2
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefDimsQuery/index.js +3 -3
- package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +1 -1
- package/dist/dataHooks/useRegionQuery/index.js +3 -3
- package/dist/dataHooks/useRegionQuery/index.js.map +1 -1
- package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +1 -1
- package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -1
- package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +1 -1
- package/dist/dataHooks/useRegionSetsQuery/index.js +3 -3
- package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useSequencingProtocolsQuery/index.js +3 -3
- package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -1
- package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +1 -1
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -1
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +1 -1
- package/dist/dataHooks/useUnitQuery/useUnit.d.ts +1 -1
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +3 -3
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -1
- package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +1 -1
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -1
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +2 -2
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -1
- package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +1 -1
- package/dist/hooks/useUserCasePolicyNameFactory/index.js +3 -3
- package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -1
- package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +1 -1
- package/dist/locale/nl.json +1 -1
- package/dist/models/config.d.ts +1 -1
- package/dist/models/dashboard.d.ts +1 -1
- package/dist/models/dashboard.js.map +1 -1
- package/dist/models/theme.d.ts +2 -2
- package/dist/pages/CaseDbUsersAdminPage/index.js +5 -5
- package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -1
- package/dist/pages/CaseSetCategoryAdminPage/index.js +4 -4
- package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -1
- package/dist/pages/CaseSetStatusAdminPage/index.js +4 -4
- package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -1
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +4 -4
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -1
- package/dist/pages/CaseTypeSetsAdminPage/index.js +6 -6
- package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -1
- package/dist/pages/CaseTypesAdminPage/index.js +5 -5
- package/dist/pages/CaseTypesAdminPage/index.js.map +1 -1
- package/dist/pages/CasesDetailPage/index.js +5 -5
- package/dist/pages/CasesDetailPage/index.js.map +1 -1
- package/dist/pages/CasesPage/index.js +10 -10
- package/dist/pages/CasesPage/index.js.map +1 -1
- package/dist/pages/ColSetsAdminPage/index.js +6 -6
- package/dist/pages/ColSetsAdminPage/index.js.map +1 -1
- package/dist/pages/ColsAdminPage/index.js +5 -5
- package/dist/pages/ColsAdminPage/index.js.map +1 -1
- package/dist/pages/ConceptRelationsAdminPage/index.js +19 -19
- package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -1
- package/dist/pages/ConceptSetsAdminPage/index.js +5 -5
- package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -1
- package/dist/pages/ConceptsAdminPage/index.js +5 -5
- package/dist/pages/ConceptsAdminPage/index.js.map +1 -1
- package/dist/pages/DataCollectionSetsAdminPage/index.js +12 -12
- package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -1
- package/dist/pages/DataCollectionVisualizationPage/index.js +4 -4
- package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -1
- package/dist/pages/DataCollectionsAdminPage/index.js +4 -4
- package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -1
- package/dist/pages/DimsAdminPage/index.js +6 -6
- package/dist/pages/DimsAdminPage/index.js.map +1 -1
- package/dist/pages/DiseasesAdminPage/index.js +4 -4
- package/dist/pages/DiseasesAdminPage/index.js.map +1 -1
- package/dist/pages/EtiologicalAgentsAdminPage/index.js +4 -4
- package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -1
- package/dist/pages/EtiologiesAdminPage/index.js +3 -3
- package/dist/pages/EtiologiesAdminPage/index.js.map +1 -1
- package/dist/pages/EventsDetailPage/index.js +5 -5
- package/dist/pages/EventsDetailPage/index.js.map +1 -1
- package/dist/pages/EventsPage/index.js +11 -11
- package/dist/pages/EventsPage/index.js.map +1 -1
- package/dist/pages/HomePage/index.js +2 -2
- package/dist/pages/HomePage/index.js.map +1 -1
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/RefColsAdminPage/index.js +7 -7
- package/dist/pages/RefColsAdminPage/index.js.map +1 -1
- package/dist/pages/RefDimsAdminPage/index.js +5 -5
- package/dist/pages/RefDimsAdminPage/index.js.map +1 -1
- package/dist/pages/RegionRelationsAdminPage/index.js +3 -3
- package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -1
- package/dist/pages/RegionSetShapesAdminPage/index.js +4 -4
- package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -1
- package/dist/pages/RegionSetsAdminPage/index.js +5 -5
- package/dist/pages/RegionSetsAdminPage/index.js.map +1 -1
- package/dist/pages/RegionsAdminPage/index.js +5 -5
- package/dist/pages/RegionsAdminPage/index.js.map +1 -1
- package/dist/pages/TrendsPage/index.js +1 -1
- package/dist/pages/TrendsPage/index.js.map +1 -1
- package/dist/pages/UploadPage/index.js +1 -1
- package/dist/pages/UploadPage/index.js.map +1 -1
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/UserEffectiveRightsAdminPage/index.js +12 -12
- package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -1
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +8 -8
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -1
- package/dist/pages/UserShareCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/routes/adminRoutes.d.ts +1 -1
- package/dist/routes/index.js +11 -8
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/routes.d.ts +1 -1
- package/dist/setup/setup.js +5 -5
- package/dist/setup/setup.js.map +1 -1
- package/dist/stores/dashboardStore/dashboardStore.d.ts +1 -1
- package/dist/stores/uploadStore/index.js +2 -2
- package/dist/stores/uploadStore/index.js.map +1 -1
- package/dist/stores/uploadStore/uploadStore.d.ts +1 -1
- package/dist/stores/userProfileStore/index.js +2 -2
- package/dist/stores/userProfileStore/index.js.map +1 -1
- package/dist/theme/demoTheme/index.js +2 -2
- package/dist/theme/demoTheme/index.js.map +1 -1
- package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +1 -1
- package/dist/utils/CaseDbDataUtil/index.js +1 -1
- package/dist/utils/CaseDbDataUtil/index.js.map +1 -1
- package/dist/utils/CaseDbStandardConfigUtil/index.js +2488 -1408
- package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -1
- package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +1 -1
- package/dist/utils/CaseDbTableUtil/index.js +1 -1
- package/dist/utils/CaseDbTableUtil/index.js.map +1 -1
- package/dist/utils/CaseSelectionUtil/index.js.map +1 -1
- package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +1 -1
- package/dist/utils/CaseTypeFormUtil/index.js +7 -10
- package/dist/utils/CaseTypeFormUtil/index.js.map +1 -1
- package/dist/utils/CaseTypeUtil/index.js +1 -1
- package/dist/utils/CaseTypeUtil/index.js.map +1 -1
- package/dist/utils/CaseUtil/index.js +3 -3
- package/dist/utils/CaseUtil/index.js.map +1 -1
- package/dist/utils/DashboardUtil/index.js +1 -1
- package/dist/utils/DashboardUtil/index.js.map +1 -1
- package/dist/utils/DataSetUtil/index.js.map +1 -1
- package/dist/utils/FileUtil/index.js +1 -1
- package/dist/utils/FileUtil/index.js.map +1 -1
- package/dist/utils/FilterUtil/FilterUtil.d.ts +2 -2
- package/dist/utils/HistogramUtil/index.js +1 -1
- package/dist/utils/HistogramUtil/index.js.map +1 -1
- package/dist/utils/MapUtil/index.js +1 -1
- package/dist/utils/MapUtil/index.js.map +1 -1
- package/dist/utils/StratificationUtil/index.js +3 -2
- package/dist/utils/StratificationUtil/index.js.map +1 -1
- package/dist/utils/UploadUtil/UploadUtil.d.ts +1 -1
- package/package.json +19 -11
- package/dist/_chunks/chunk-KS7C4IRE.js.map +0 -1
package/dist/_chunks/Upload.js
CHANGED
|
@@ -21,40 +21,40 @@ import { useSequencingProtocolOptionsQuery as w } from "../dataHooks/useSequenci
|
|
|
21
21
|
import { useAssemblyProtocolOptionsQuery as T } from "../dataHooks/useAssemblyProtocolsQuery/index.js";
|
|
22
22
|
import { mixed as E, object as D, string as O } from "yup";
|
|
23
23
|
import { CaseDbCaseApi as k, CaseDbDataIssueType as A, CaseDbEtlStatus as j, CaseDbUploadAction as M } from "@gen-epix/api-casedb";
|
|
24
|
-
import { QueryClientService as ee } from "@gen-epix/ui/classes/services/QueryClientService";
|
|
24
|
+
import { QueryClientService as ee } from "@gen-epix/ui-client-common/classes/services/QueryClientService";
|
|
25
25
|
import { ObjectUtil as N } from "@gen-epix/ui-core/utils/ObjectUtil";
|
|
26
|
-
import { FORM_FIELD_DEFINITION_TYPE as P } from "@gen-epix/ui-form/models/form";
|
|
27
|
-
import { ConfigService as te } from "@gen-epix/ui/classes/services/ConfigService";
|
|
26
|
+
import { FORM_FIELD_DEFINITION_TYPE as P } from "@gen-epix/ui-core-form/models/form";
|
|
27
|
+
import { ConfigService as te } from "@gen-epix/ui-client-common/classes/services/ConfigService";
|
|
28
28
|
import { Alert as F, AlertTitle as I, Autocomplete as ne, Box as L, Button as R, Container as re, ListItemIcon as z, ListItemText as B, MenuItem as ie, Table as V, TableBody as H, TableCell as U, TableHead as ae, TableRow as oe, TextField as se, Tooltip as ce, Typography as le, useTheme as ue } from "@mui/material";
|
|
29
29
|
import { use as W, useCallback as G, useEffect as K, useId as de, useMemo as q, useRef as J, useState as Y } from "react";
|
|
30
30
|
import { useTranslation as X } from "react-i18next";
|
|
31
|
-
import { TableStoreContextProvider as fe, createTableStore as pe, useTableStoreContext as me } from "@gen-epix/ui/stores/tableStore";
|
|
31
|
+
import { TableStoreContextProvider as fe, createTableStore as pe, useTableStoreContext as me } from "@gen-epix/ui-client-common/stores/tableStore";
|
|
32
32
|
import { Fragment as Z, jsx as Q, jsxs as $ } from "react/jsx-runtime";
|
|
33
|
-
import { ResponseHandler as he } from "@gen-epix/ui/components/ui/ResponseHandler";
|
|
34
|
-
import { useItemQuery as ge } from "@gen-epix/ui/hooks/useItemQuery";
|
|
33
|
+
import { ResponseHandler as he } from "@gen-epix/ui-client-common/components/ui/ResponseHandler";
|
|
34
|
+
import { useItemQuery as ge } from "@gen-epix/ui-client-common/hooks/useItemQuery";
|
|
35
35
|
import { useArray as _e } from "@gen-epix/ui-core/hooks/useArray";
|
|
36
36
|
import ve from "@mui/material/Box";
|
|
37
|
-
import { Stepper as ye } from "@gen-epix/ui/components/
|
|
38
|
-
import { GenericForm as be } from "@gen-epix/ui-form/components/helpers/GenericForm";
|
|
39
|
-
import { useQueryMemo as xe } from "@gen-epix/ui/hooks/useQueryMemo";
|
|
40
|
-
import { useIdentifierIssuerOwnOrganizationOptionsQuery as Se } from "@gen-epix/ui/dataHooks/useIdentifierIssuerOwnOrganizationQuery";
|
|
41
|
-
import { Select as Ce } from "@gen-epix/ui-form/components/fields/Select";
|
|
42
|
-
import { BackdropSpinner as we } from "@gen-epix/ui/components/
|
|
43
|
-
import { Confirmation as Te } from "@gen-epix/ui/components/
|
|
37
|
+
import { Stepper as ye } from "@gen-epix/ui-core-components/components/Stepper";
|
|
38
|
+
import { GenericForm as be } from "@gen-epix/ui-core-form/components/helpers/GenericForm";
|
|
39
|
+
import { useQueryMemo as xe } from "@gen-epix/ui-client-common/hooks/useQueryMemo";
|
|
40
|
+
import { useIdentifierIssuerOwnOrganizationOptionsQuery as Se } from "@gen-epix/ui-client-common/dataHooks/useIdentifierIssuerOwnOrganizationQuery";
|
|
41
|
+
import { Select as Ce } from "@gen-epix/ui-core-form/components/fields/Select";
|
|
42
|
+
import { BackdropSpinner as we } from "@gen-epix/ui-core-components/components/BackdropSpinner";
|
|
43
|
+
import { Confirmation as Te } from "@gen-epix/ui-core-components/components/Confirmation";
|
|
44
44
|
import Ee from "@mui/icons-material/Edit";
|
|
45
45
|
import De from "@mui/icons-material/ErrorOutlined";
|
|
46
46
|
import Oe from "@mui/icons-material/Add";
|
|
47
|
-
import { Table as ke, TableMenu as Ae } from "@gen-epix/ui/components/ui/Table";
|
|
48
|
-
import { TABLE_COLUMN_FROZEN as je } from "@gen-epix/ui/models/table";
|
|
49
|
-
import { TableUtil as Me } from "@gen-epix/ui/utils/TableUtil";
|
|
50
|
-
import { useInitializeTableStore as Ne } from "@gen-epix/ui/hooks/useInitializeTableStore";
|
|
51
|
-
import { withDialog as Pe } from "@gen-epix/ui/hoc/withDialog";
|
|
47
|
+
import { Table as ke, TableMenu as Ae } from "@gen-epix/ui-client-common/components/ui/Table";
|
|
48
|
+
import { TABLE_COLUMN_FROZEN as je } from "@gen-epix/ui-client-common/models/table";
|
|
49
|
+
import { TableUtil as Me } from "@gen-epix/ui-client-common/utils/TableUtil";
|
|
50
|
+
import { useInitializeTableStore as Ne } from "@gen-epix/ui-client-common/hooks/useInitializeTableStore";
|
|
51
|
+
import { withDialog as Pe } from "@gen-epix/ui-core-components/hoc/withDialog";
|
|
52
52
|
import { TestIdUtil as Fe } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
53
|
-
import { FormUtil as Ie } from "@gen-epix/ui-form/utils/FormUtil";
|
|
54
|
-
import { GenericErrorMessage as Le } from "@gen-epix/ui/components/ui/GenericErrorMessage";
|
|
55
|
-
import { InactivityService as Re } from "@gen-epix/ui/classes/services/InactivityService";
|
|
56
|
-
import { LinearProgressWithLabel as ze } from "@gen-epix/ui/components/
|
|
57
|
-
import { RouterService as Be } from "@gen-epix/ui/classes/services/RouterService";
|
|
53
|
+
import { FormUtil as Ie } from "@gen-epix/ui-core-form/utils/FormUtil";
|
|
54
|
+
import { GenericErrorMessage as Le } from "@gen-epix/ui-client-common/components/ui/GenericErrorMessage";
|
|
55
|
+
import { InactivityService as Re } from "@gen-epix/ui-client-common/classes/services/InactivityService";
|
|
56
|
+
import { LinearProgressWithLabel as ze } from "@gen-epix/ui-core-components/components/LinearProgressWithLabel";
|
|
57
|
+
import { RouterService as Be } from "@gen-epix/ui-client-common/classes/services/RouterService";
|
|
58
58
|
//#region src/components/ui/Upload/UploadNavigation.tsx
|
|
59
59
|
var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proceedDisabled: r, proceedLabel: i }) => {
|
|
60
60
|
let { t: a } = X(), o = W(p), s = l(o, (e) => e.stepOrder), c = l(o, (e) => e.activeStep), u = l(o, (e) => e.goBackFromFirstStepCallback), d = l(o, (e) => e.goBackFromFirstStepLabel), f = c === s[0], m = f ? u ?? t : t;
|
|
@@ -259,10 +259,13 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
259
259
|
n.map,
|
|
260
260
|
a
|
|
261
261
|
]);
|
|
262
|
-
let D = q(() =>
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
262
|
+
let D = q(() => {
|
|
263
|
+
let e = o[0].map((e, t) => t), r = t.getMappedColumnsFromFormData(T, o, n.map, a).map((e) => e.originalIndex);
|
|
264
|
+
return (0, We.default)(e, r).map((e) => ({
|
|
265
|
+
originalIndex: e,
|
|
266
|
+
originalLabel: o[0][e]
|
|
267
|
+
}));
|
|
268
|
+
}, [
|
|
266
269
|
n.map,
|
|
267
270
|
o,
|
|
268
271
|
T,
|
|
@@ -488,10 +491,13 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
488
491
|
message: r
|
|
489
492
|
});
|
|
490
493
|
}), t;
|
|
491
|
-
}, [n.cols]), y = G((e) =>
|
|
492
|
-
|
|
493
|
-
children: t
|
|
494
|
-
|
|
494
|
+
}, [n.cols]), y = G((e) => {
|
|
495
|
+
let t = v(e);
|
|
496
|
+
return /* @__PURE__ */ Q(Z, { children: t.map(({ key: e, message: t }, n) => /* @__PURE__ */ Q(L, {
|
|
497
|
+
sx: { marginTop: +(n > 0) },
|
|
498
|
+
children: t
|
|
499
|
+
}, e)) });
|
|
500
|
+
}, [v]), b = G((e) => v(e).map((e) => e.message).join(", "), [v]), x = G((e, t, n) => t.filter((t) => !(t.col_id !== e || t.data_issue_type === A.TRANSFORMED && t.original_value === n)).sort((e, t) => f.indexOf(e.data_issue_type) - f.indexOf(t.data_issue_type)), [f]), C = G(() => /* @__PURE__ */ Q(ce, {
|
|
495
501
|
"aria-hidden": !1,
|
|
496
502
|
arrow: !0,
|
|
497
503
|
title: l("Indicates if there are any issues with the case"),
|
|
@@ -576,105 +582,109 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
576
582
|
y,
|
|
577
583
|
c,
|
|
578
584
|
m
|
|
579
|
-
])
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
let
|
|
620
|
-
return
|
|
621
|
-
originalValue:
|
|
585
|
+
]), O = q(() => {
|
|
586
|
+
let i = [];
|
|
587
|
+
if (!t?.length) return i;
|
|
588
|
+
i.push(Me.createReadableIndexColumn()), i.push(Me.createSelectableColumn()), i.push({
|
|
589
|
+
disableEllipsis: !0,
|
|
590
|
+
frozen: je.LEFT,
|
|
591
|
+
headerName: "",
|
|
592
|
+
hideInFilter: !0,
|
|
593
|
+
id: "gen-epix-ui-issue",
|
|
594
|
+
isInitiallyVisible: !0,
|
|
595
|
+
renderCell: w,
|
|
596
|
+
renderHeader: C,
|
|
597
|
+
resizable: !1,
|
|
598
|
+
type: "text",
|
|
599
|
+
valueGetter: () => "",
|
|
600
|
+
widthPx: 38
|
|
601
|
+
}), i.push({
|
|
602
|
+
disableEllipsis: !0,
|
|
603
|
+
frozen: je.LEFT,
|
|
604
|
+
headerName: "",
|
|
605
|
+
hideInFilter: !0,
|
|
606
|
+
id: "gen-epix-ui-id",
|
|
607
|
+
isInitiallyVisible: !0,
|
|
608
|
+
renderCell: E,
|
|
609
|
+
renderHeader: T,
|
|
610
|
+
resizable: !1,
|
|
611
|
+
type: "text",
|
|
612
|
+
valueGetter: () => "",
|
|
613
|
+
widthPx: 38
|
|
614
|
+
});
|
|
615
|
+
let o = /* @__PURE__ */ new Set();
|
|
616
|
+
return t.forEach((e) => {
|
|
617
|
+
Object.keys(e.validated_content || {}).forEach((e) => o.add(e)), e.data_issues.forEach((e) => o.add(e.col_id));
|
|
618
|
+
}), n.ordered_col_ids.forEach((s) => {
|
|
619
|
+
if (!o.has(s)) return;
|
|
620
|
+
let c = n.cols[s], u = t.flatMap((e) => e.data_issues.filter((e) => e.col_id === c.id)), d = u.length === 0 || u.some((e) => e.data_issue_type !== A.DERIVED), f = e[c.id]?.length;
|
|
621
|
+
c && i.push({
|
|
622
|
+
cellTitleGetter: (e) => {
|
|
623
|
+
let t = e.row.data_issues.find((e) => e.col_id === c.id);
|
|
624
|
+
if (!t && r) {
|
|
625
|
+
let i = r(c, e, t) ?? "";
|
|
626
|
+
return l("{{value}} (original value: \"{{originalValue}}\")", {
|
|
627
|
+
originalValue: i,
|
|
622
628
|
value: a.getRowValue(e.row.validated_content, c, n).short
|
|
623
|
-
})
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
} :
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
isInitiallyVisible: d,
|
|
634
|
-
renderCell: D,
|
|
635
|
-
type: "text",
|
|
636
|
-
valueGetter: (e) => a.getRowValue(e.row.validated_content, c, n).short,
|
|
637
|
-
widthPx: 250
|
|
638
|
-
});
|
|
639
|
-
}), t.some((e) => e.id) && i.push({
|
|
640
|
-
headerName: l("case_id"),
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
return "";
|
|
632
|
+
},
|
|
633
|
+
customHeaderIcon: f ? {
|
|
634
|
+
iconElement: /* @__PURE__ */ Q(Ee, { fontSize: "inherit" }),
|
|
635
|
+
label: l("Edit values for {{colLabel}} (for selected rows)", { colLabel: c.label }),
|
|
636
|
+
onClick: h
|
|
637
|
+
} : void 0,
|
|
638
|
+
headerName: c.code,
|
|
641
639
|
hideInFilter: !0,
|
|
642
|
-
id:
|
|
643
|
-
isInitiallyVisible:
|
|
640
|
+
id: c.id,
|
|
641
|
+
isInitiallyVisible: d,
|
|
642
|
+
renderCell: D,
|
|
644
643
|
type: "text",
|
|
645
|
-
valueGetter: (e) => e.row.
|
|
644
|
+
valueGetter: (e) => a.getRowValue(e.row.validated_content, c, n).short,
|
|
646
645
|
widthPx: 250
|
|
647
|
-
})
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
l
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
646
|
+
});
|
|
647
|
+
}), t.some((e) => e.id) && i.push({
|
|
648
|
+
headerName: l("case_id"),
|
|
649
|
+
hideInFilter: !0,
|
|
650
|
+
id: "case_id",
|
|
651
|
+
isInitiallyVisible: !0,
|
|
652
|
+
type: "text",
|
|
653
|
+
valueGetter: (e) => e.row.id || "",
|
|
654
|
+
widthPx: 250
|
|
655
|
+
}), i.push(Me.createActionsColumn({
|
|
656
|
+
getActions: (e) => {
|
|
657
|
+
let t = [];
|
|
658
|
+
return t.push(/* @__PURE__ */ $(ie, {
|
|
659
|
+
onClick: () => {
|
|
660
|
+
u.current?.open({
|
|
661
|
+
caseContent: e.row.validated_content,
|
|
662
|
+
caseId: e.row.id,
|
|
663
|
+
completeCaseType: n,
|
|
664
|
+
enabledColIds: n.ordered_col_ids,
|
|
665
|
+
formId: "edit-case-form"
|
|
666
|
+
});
|
|
667
|
+
},
|
|
668
|
+
children: [/* @__PURE__ */ Q(z, { children: /* @__PURE__ */ Q(Ee, {}) }), /* @__PURE__ */ Q(B, { children: l`Edit` })]
|
|
669
|
+
}, "editCase")), t;
|
|
670
|
+
},
|
|
671
|
+
t: l
|
|
672
|
+
})), i;
|
|
673
|
+
}, [
|
|
674
|
+
t,
|
|
675
|
+
w,
|
|
676
|
+
C,
|
|
677
|
+
E,
|
|
678
|
+
T,
|
|
679
|
+
n,
|
|
680
|
+
l,
|
|
681
|
+
e,
|
|
682
|
+
h,
|
|
683
|
+
D,
|
|
684
|
+
r
|
|
685
|
+
]);
|
|
686
|
+
return Ne({
|
|
687
|
+
columns: O,
|
|
678
688
|
createFiltersFromColumns: !0,
|
|
679
689
|
rows: t,
|
|
680
690
|
store: s
|
|
@@ -683,7 +693,7 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
683
693
|
display: "inline-block",
|
|
684
694
|
float: "right"
|
|
685
695
|
} } }) }),
|
|
686
|
-
/* @__PURE__ */ Q(ke, { font: c["gen-epix-ui-casedb"].lineList.font }),
|
|
696
|
+
/* @__PURE__ */ Q(ke, { font: c["gen-epix-ui-client-casedb"].lineList.font }),
|
|
687
697
|
/* @__PURE__ */ Q(S, {
|
|
688
698
|
onSubmit: g,
|
|
689
699
|
ref: u
|
|
@@ -694,12 +704,12 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
694
704
|
})
|
|
695
705
|
] });
|
|
696
706
|
}, Ye = ({ onGoBackButtonClick: e, onProceedButtonClick: t }) => {
|
|
697
|
-
let { t: n } = X(), r = me(), i =
|
|
707
|
+
let { t: n } = X(), r = me(), i = W(p), a = l(i, (e) => e.completeCaseType), o = l(r, (e) => e.selectedIds), s = !o.length || o.length > a.props.create_max_n_cases;
|
|
698
708
|
return /* @__PURE__ */ Q(Ve, {
|
|
699
709
|
onGoBackButtonClick: e,
|
|
700
710
|
onProceedButtonClick: t,
|
|
701
|
-
proceedDisabled:
|
|
702
|
-
proceedLabel:
|
|
711
|
+
proceedDisabled: s,
|
|
712
|
+
proceedLabel: o.length ? n("Proceed with {{count}} selected cases", { count: o.length }) : n("Proceed")
|
|
703
713
|
});
|
|
704
714
|
}, Xe = Ke(({ caseTypeId: e }) => {
|
|
705
715
|
let { t } = X(), n = W(p), r = l(n, (e) => e.goToNextStep), i = l(n, (e) => e.goToPreviousStep), o = l(n, (e) => e.completeCaseType), s = l(n, (e) => e.casesForVerificationFromSourceData), c = l(n, (e) => e.createdInDataCollectionId), u = l(n, (e) => e.validateCasesQueryKey), f = l(n, (e) => e.caseRightsColMap), [m, h] = Y(!1), [g, _] = Y(!1), [v, y] = Y(null), b = J([]), x = J(null), S = J(null), C = G((e, t, n) => s[t.rowIndex]?.case?.content[e.id] ?? "", [s]), w = xe({
|
|
@@ -784,20 +794,25 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
784
794
|
O,
|
|
785
795
|
E
|
|
786
796
|
]), te = G(async (e, t) => {
|
|
797
|
+
let n = w.data.find((t) => t.id === e);
|
|
787
798
|
await O([{
|
|
788
799
|
content: t,
|
|
789
|
-
row:
|
|
800
|
+
row: n
|
|
790
801
|
}]);
|
|
791
802
|
}, [w.data, O]);
|
|
792
803
|
K(() => {
|
|
793
804
|
let e = E.subscribe((e, t) => {
|
|
794
|
-
e.selectedIds
|
|
805
|
+
if (e.selectedIds === t.selectedIds) return;
|
|
806
|
+
b.current = e.selectedIds;
|
|
807
|
+
let n = e.selectedIds.length > o.props.create_max_n_cases;
|
|
808
|
+
h(n);
|
|
795
809
|
});
|
|
796
810
|
return () => {
|
|
797
811
|
e();
|
|
798
812
|
};
|
|
799
813
|
}, [o.props.create_max_n_cases, E]), K(() => {
|
|
800
|
-
|
|
814
|
+
let e = (w.data ?? []).filter((e) => !e.data_issues.some((e) => e.data_issue_type === A.INVALID || e.data_issue_type === A.UNAUTHORIZED)).map((e) => e.id);
|
|
815
|
+
D(e);
|
|
801
816
|
}, [w.data, D]);
|
|
802
817
|
let ne = G(async () => {
|
|
803
818
|
let e = E.getState().selectedIds, t = w.data.filter((t) => e.includes(t.id) && !t.data_issues.some((e) => e.data_issue_type === A.INVALID));
|
|
@@ -1296,7 +1311,7 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
1296
1311
|
value: n
|
|
1297
1312
|
});
|
|
1298
1313
|
}, [m, x]), D = G((e) => {
|
|
1299
|
-
let t = s.cols[e.id], n = e.row.id;
|
|
1314
|
+
let t = s.cols[e.id], n = e.row.id, r = v.current?.[e.row.id]?.sequenceFileNames[t.id] || "";
|
|
1300
1315
|
return /* @__PURE__ */ Q(L, {
|
|
1301
1316
|
sx: {
|
|
1302
1317
|
alignItems: "center",
|
|
@@ -1307,7 +1322,7 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
1307
1322
|
},
|
|
1308
1323
|
children: E({
|
|
1309
1324
|
dropDownOptions: w,
|
|
1310
|
-
dropDownValue:
|
|
1325
|
+
dropDownValue: r,
|
|
1311
1326
|
label: t.label,
|
|
1312
1327
|
onChange: (e) => {
|
|
1313
1328
|
e ? v.current[n].sequenceFileNames[t.id] = e : delete v.current?.[n]?.sequenceFileNames[t.id];
|
|
@@ -1351,82 +1366,82 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
1351
1366
|
E,
|
|
1352
1367
|
w,
|
|
1353
1368
|
T
|
|
1354
|
-
])
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1369
|
+
]), k = q(() => {
|
|
1370
|
+
let e = [];
|
|
1371
|
+
e.push(Me.createReadableIndexColumn());
|
|
1372
|
+
let t = [
|
|
1373
|
+
...h.sampleIdColumns,
|
|
1374
|
+
...h.sequenceColumns,
|
|
1375
|
+
...h.readsColumns
|
|
1376
|
+
], n = h.sampleIdColumns.find((e) => e.id === c);
|
|
1377
|
+
n && C(f, n) && e.push({
|
|
1378
|
+
headerName: n.label,
|
|
1379
|
+
hideInFilter: !0,
|
|
1380
|
+
id: n.id,
|
|
1381
|
+
isInitiallyVisible: !0,
|
|
1382
|
+
type: "text",
|
|
1383
|
+
valueGetter: (e) => a.getRowValue(e.row.validated_content, n, s).short,
|
|
1384
|
+
widthPx: 300
|
|
1385
|
+
}), h.sequenceColumns.forEach((t) => {
|
|
1386
|
+
e.push({
|
|
1387
|
+
cellTitleGetter: () => null,
|
|
1388
|
+
headerName: t.label,
|
|
1366
1389
|
hideInFilter: !0,
|
|
1367
|
-
id:
|
|
1390
|
+
id: t.id,
|
|
1368
1391
|
isInitiallyVisible: !0,
|
|
1392
|
+
renderCell: D,
|
|
1369
1393
|
type: "text",
|
|
1370
|
-
valueGetter: (e) => a.getRowValue(e.row.validated_content,
|
|
1371
|
-
widthPx:
|
|
1372
|
-
}), h.sequenceColumns.forEach((t) => {
|
|
1373
|
-
e.push({
|
|
1374
|
-
cellTitleGetter: () => null,
|
|
1375
|
-
headerName: t.label,
|
|
1376
|
-
hideInFilter: !0,
|
|
1377
|
-
id: t.id,
|
|
1378
|
-
isInitiallyVisible: !0,
|
|
1379
|
-
renderCell: D,
|
|
1380
|
-
type: "text",
|
|
1381
|
-
valueGetter: (e) => a.getRowValue(e.row.validated_content, t, s).short,
|
|
1382
|
-
widthPx: 400
|
|
1383
|
-
});
|
|
1384
|
-
}), h.readsColumns.forEach((t) => {
|
|
1385
|
-
e.push({
|
|
1386
|
-
cellTitleGetter: () => null,
|
|
1387
|
-
headerName: t.label,
|
|
1388
|
-
hideInFilter: !0,
|
|
1389
|
-
id: t.id,
|
|
1390
|
-
isInitiallyVisible: !0,
|
|
1391
|
-
renderCell: O,
|
|
1392
|
-
type: "text",
|
|
1393
|
-
valueGetter: (e) => a.getRowValue(e.row.validated_content, t, s).short,
|
|
1394
|
-
widthPx: 800
|
|
1395
|
-
});
|
|
1394
|
+
valueGetter: (e) => a.getRowValue(e.row.validated_content, t, s).short,
|
|
1395
|
+
widthPx: 400
|
|
1396
1396
|
});
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1397
|
+
}), h.readsColumns.forEach((t) => {
|
|
1398
|
+
e.push({
|
|
1399
|
+
cellTitleGetter: () => null,
|
|
1400
|
+
headerName: t.label,
|
|
1401
|
+
hideInFilter: !0,
|
|
1402
|
+
id: t.id,
|
|
1403
|
+
isInitiallyVisible: !0,
|
|
1404
|
+
renderCell: O,
|
|
1405
|
+
type: "text",
|
|
1406
|
+
valueGetter: (e) => a.getRowValue(e.row.validated_content, t, s).short,
|
|
1407
|
+
widthPx: 800
|
|
1400
1408
|
});
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1409
|
+
});
|
|
1410
|
+
let r = /* @__PURE__ */ new Set();
|
|
1411
|
+
f.forEach((e) => {
|
|
1412
|
+
Object.keys(e.validated_content || {}).forEach((e) => r.add(e));
|
|
1413
|
+
});
|
|
1414
|
+
let i = [
|
|
1415
|
+
...h.sequenceColumns.map((e) => e.id),
|
|
1416
|
+
...h.readsColumns.map((e) => e.id),
|
|
1417
|
+
n?.id
|
|
1418
|
+
];
|
|
1419
|
+
return s.ordered_col_ids.forEach((n) => {
|
|
1420
|
+
if (i.includes(n) || !r.has(n) || t.find((e) => e.id === n)) return;
|
|
1421
|
+
let o = s.cols[n];
|
|
1422
|
+
o && e.push({
|
|
1423
|
+
headerName: o.code,
|
|
1424
|
+
hideInFilter: !0,
|
|
1425
|
+
id: o.id,
|
|
1426
|
+
isInitiallyVisible: !0,
|
|
1427
|
+
type: "text",
|
|
1428
|
+
valueGetter: (e) => a.getRowValue(e.row.validated_content, o, s).short,
|
|
1429
|
+
widthPx: 250
|
|
1430
|
+
});
|
|
1431
|
+
}), e;
|
|
1432
|
+
}, [
|
|
1433
|
+
C,
|
|
1434
|
+
s,
|
|
1435
|
+
h.readsColumns,
|
|
1436
|
+
h.sampleIdColumns,
|
|
1437
|
+
h.sequenceColumns,
|
|
1438
|
+
O,
|
|
1439
|
+
D,
|
|
1440
|
+
c,
|
|
1441
|
+
f
|
|
1442
|
+
]);
|
|
1443
|
+
return Ne({
|
|
1444
|
+
columns: k,
|
|
1430
1445
|
createFiltersFromColumns: !0,
|
|
1431
1446
|
rows: f,
|
|
1432
1447
|
store: S
|
|
@@ -1445,7 +1460,7 @@ var Ve = ({ backLabel: e, onGoBackButtonClick: t, onProceedButtonClick: n, proce
|
|
|
1445
1460
|
}), /* @__PURE__ */ $(fe, {
|
|
1446
1461
|
store: S,
|
|
1447
1462
|
children: [/* @__PURE__ */ Q(ke, {
|
|
1448
|
-
font: n["gen-epix-ui-casedb"].lineList.font,
|
|
1463
|
+
font: n["gen-epix-ui-client-casedb"].lineList.font,
|
|
1449
1464
|
rowHeight: 7
|
|
1450
1465
|
}), /* @__PURE__ */ Q(Ve, {
|
|
1451
1466
|
onGoBackButtonClick: b,
|