@gen-epix/ui-client-casedb 4.0.0
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/LICENSE +287 -0
- package/README.md +101 -0
- package/dist/@types/mui.d.ts +12 -0
- package/dist/@types/ui-casedb.d.ts +3 -0
- package/dist/@types/vite-env.d.ts +3 -0
- package/dist/_chunks/AddCasesToEventDialog.js +246 -0
- package/dist/_chunks/AddCasesToEventDialog.js.map +1 -0
- package/dist/_chunks/CaseContentForm.js +43 -0
- package/dist/_chunks/CaseContentForm.js.map +1 -0
- package/dist/_chunks/CaseDbDownloadUtil.js +2307 -0
- package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -0
- package/dist/_chunks/CaseInfoDialog.js +509 -0
- package/dist/_chunks/CaseInfoDialog.js.map +1 -0
- package/dist/_chunks/CaseSetInfoDialog.js +479 -0
- package/dist/_chunks/CaseSetInfoDialog.js.map +1 -0
- package/dist/_chunks/CaseTypeInfoDialog.js +470 -0
- package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -0
- package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +123 -0
- package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -0
- package/dist/_chunks/CollectionIcon.js +18 -0
- package/dist/_chunks/CollectionIcon.js.map +1 -0
- package/dist/_chunks/CompletCaseTypeLoader.js +53 -0
- package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -0
- package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +18 -0
- package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -0
- package/dist/_chunks/CustomTabPanel.js +21 -0
- package/dist/_chunks/CustomTabPanel.js.map +1 -0
- package/dist/_chunks/Dashboard.js +2582 -0
- package/dist/_chunks/Dashboard.js.map +1 -0
- package/dist/_chunks/DashboardStoreLoader.js +67 -0
- package/dist/_chunks/DashboardStoreLoader.js.map +1 -0
- package/dist/_chunks/DataCollectionAccessInfo.js +66 -0
- package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -0
- package/dist/_chunks/EpiCurveUtil.js +378 -0
- package/dist/_chunks/EpiCurveUtil.js.map +1 -0
- package/dist/_chunks/EpiCurveWidget.js +570 -0
- package/dist/_chunks/EpiCurveWidget.js.map +1 -0
- package/dist/_chunks/FilterUtil.js +1537 -0
- package/dist/_chunks/FilterUtil.js.map +1 -0
- package/dist/_chunks/FindSimilarCasesDialog.js +439 -0
- package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -0
- package/dist/_chunks/FindSimilarCasesUtil.js +100 -0
- package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -0
- package/dist/_chunks/HomePageTrends.js +276 -0
- package/dist/_chunks/HomePageTrends.js.map +1 -0
- package/dist/_chunks/LegendaItem.js +325 -0
- package/dist/_chunks/LegendaItem.js.map +1 -0
- package/dist/_chunks/LineListWidget.js +702 -0
- package/dist/_chunks/LineListWidget.js.map +1 -0
- package/dist/_chunks/PanelSeparator.js +1676 -0
- package/dist/_chunks/PanelSeparator.js.map +1 -0
- package/dist/_chunks/Upload.js +1506 -0
- package/dist/_chunks/Upload.js.map +1 -0
- package/dist/_chunks/UploadUtil.js +1976 -0
- package/dist/_chunks/UploadUtil.js.map +1 -0
- package/dist/_chunks/UserRightsDialog.js +152 -0
- package/dist/_chunks/UserRightsDialog.js.map +1 -0
- package/dist/_chunks/_MapCache.js +274 -0
- package/dist/_chunks/_MapCache.js.map +1 -0
- package/dist/_chunks/_Set.js +9 -0
- package/dist/_chunks/_Set.js.map +1 -0
- package/dist/_chunks/_arrayIncludesWith.js +42 -0
- package/dist/_chunks/_arrayIncludesWith.js.map +1 -0
- package/dist/_chunks/_baseClone.js +262 -0
- package/dist/_chunks/_baseClone.js.map +1 -0
- package/dist/_chunks/_baseFlatten.js +26 -0
- package/dist/_chunks/_baseFlatten.js.map +1 -0
- package/dist/_chunks/_baseGet.js +246 -0
- package/dist/_chunks/_baseGet.js.map +1 -0
- package/dist/_chunks/_baseIteratee.js +246 -0
- package/dist/_chunks/_baseIteratee.js.map +1 -0
- package/dist/_chunks/_cacheHas.js +29 -0
- package/dist/_chunks/_cacheHas.js.map +1 -0
- package/dist/_chunks/_defineProperty.js +15 -0
- package/dist/_chunks/_defineProperty.js.map +1 -0
- package/dist/_chunks/_setToArray.js +15 -0
- package/dist/_chunks/_setToArray.js.map +1 -0
- package/dist/_chunks/_setToString.js +64 -0
- package/dist/_chunks/_setToString.js.map +1 -0
- package/dist/_chunks/chunk-KS7C4IRE.js +1327 -0
- package/dist/_chunks/chunk-KS7C4IRE.js.map +1 -0
- package/dist/_chunks/cloneDeep.js +119 -0
- package/dist/_chunks/cloneDeep.js.map +1 -0
- package/dist/_chunks/dashboardStore.js +743 -0
- package/dist/_chunks/dashboardStore.js.map +1 -0
- package/dist/_chunks/eachYearOfInterval.js +104 -0
- package/dist/_chunks/eachYearOfInterval.js.map +1 -0
- package/dist/_chunks/esm.js +46335 -0
- package/dist/_chunks/esm.js.map +1 -0
- package/dist/_chunks/format.js +504 -0
- package/dist/_chunks/format.js.map +1 -0
- package/dist/_chunks/hasIn.js +34 -0
- package/dist/_chunks/hasIn.js.map +1 -0
- package/dist/_chunks/index.esm.js +1342 -0
- package/dist/_chunks/index.esm.js.map +1 -0
- package/dist/_chunks/index.module.js +72 -0
- package/dist/_chunks/index.module.js.map +1 -0
- package/dist/_chunks/intersection.js +58 -0
- package/dist/_chunks/intersection.js.map +1 -0
- package/dist/_chunks/isArguments.js +27 -0
- package/dist/_chunks/isArguments.js.map +1 -0
- package/dist/_chunks/isArray.js +9 -0
- package/dist/_chunks/isArray.js.map +1 -0
- package/dist/_chunks/isArrayLike.js +30 -0
- package/dist/_chunks/isArrayLike.js.map +1 -0
- package/dist/_chunks/isObjectLike.js +18 -0
- package/dist/_chunks/isObjectLike.js.map +1 -0
- package/dist/_chunks/isValid.js +14 -0
- package/dist/_chunks/isValid.js.map +1 -0
- package/dist/_chunks/last.js +13 -0
- package/dist/_chunks/last.js.map +1 -0
- package/dist/_chunks/noop.js +10 -0
- package/dist/_chunks/noop.js.map +1 -0
- package/dist/_chunks/omit.js +81 -0
- package/dist/_chunks/omit.js.map +1 -0
- package/dist/_chunks/parseISO.js +117 -0
- package/dist/_chunks/parseISO.js.map +1 -0
- package/dist/_chunks/protectedTokens.js +630 -0
- package/dist/_chunks/protectedTokens.js.map +1 -0
- package/dist/_chunks/react.js +11 -0
- package/dist/_chunks/react.js.map +1 -0
- package/dist/_chunks/round.js +64 -0
- package/dist/_chunks/round.js.map +1 -0
- package/dist/_chunks/shallow.js +31 -0
- package/dist/_chunks/shallow.js.map +1 -0
- package/dist/_chunks/sync.js +3796 -0
- package/dist/_chunks/sync.js.map +1 -0
- package/dist/_chunks/toDate.js +18 -0
- package/dist/_chunks/toDate.js.map +1 -0
- package/dist/_chunks/toString.js +31 -0
- package/dist/_chunks/toString.js.map +1 -0
- package/dist/_chunks/useUnit.js +30 -0
- package/dist/_chunks/useUnit.js.map +1 -0
- package/dist/_chunks/userProfileStoreContext.js +7 -0
- package/dist/_chunks/userProfileStoreContext.js.map +1 -0
- package/dist/_chunks/vanilla.js +20 -0
- package/dist/_chunks/vanilla.js.map +1 -0
- package/dist/_chunks/yup.js +73 -0
- package/dist/_chunks/yup.js.map +1 -0
- package/dist/classes/errors/UploadError.d.ts +5 -0
- package/dist/classes/errors/index.d.ts +1 -0
- package/dist/classes/errors/index.js +11 -0
- package/dist/classes/errors/index.js.map +1 -0
- package/dist/classes/filters/SelectionFilter.d.ts +11 -0
- package/dist/classes/filters/TreeFilter.d.ts +11 -0
- package/dist/classes/services/DataService/DataService.d.ts +13 -0
- package/dist/classes/services/DataService/index.d.ts +1 -0
- package/dist/classes/services/DataService/index.js +83 -0
- package/dist/classes/services/DataService/index.js.map +1 -0
- package/dist/classes/services/EventBusService/EventBusService.d.ts +49 -0
- package/dist/classes/services/EventBusService/index.d.ts +1 -0
- package/dist/classes/services/EventBusService/index.js +16 -0
- package/dist/classes/services/EventBusService/index.js.map +1 -0
- package/dist/classes/services/LineListService/LineListCaseSetMembersService/LineListCaseSetMembersService.d.ts +9 -0
- package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.d.ts +1 -0
- package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.js +27 -0
- package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.js.map +1 -0
- package/dist/classes/services/LineListService/LineListIsOwnCaseService/LineListIsOwnCaseService.d.ts +9 -0
- package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.d.ts +1 -0
- package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.js +30 -0
- package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.js.map +1 -0
- package/dist/classes/services/LineListService/LineListServiceAbstract/LineListServiceAbstract.d.ts +11 -0
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.d.ts +1 -0
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +55 -0
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -0
- package/dist/components/app/CaseDbApp/CaseDbApp.d.ts +1 -0
- package/dist/components/app/CaseDbApp/index.d.ts +1 -0
- package/dist/components/app/CaseDbApp/index.js +14 -0
- package/dist/components/app/CaseDbApp/index.js.map +1 -0
- package/dist/components/form/fields/ArrangementEditor/ArrangementEditor.d.ts +17 -0
- package/dist/components/form/fields/ArrangementEditor/index.d.ts +1 -0
- package/dist/components/form/fields/ArrangementEditor/index.js +130 -0
- package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -0
- package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +10 -0
- package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialogSuccessNotificationMessage.d.ts +6 -0
- package/dist/components/ui/AddCasesToEventDialog/index.d.ts +1 -0
- package/dist/components/ui/AddCasesToEventDialog/index.js +2 -0
- package/dist/components/ui/CaseContentForm/CaseContentForm.d.ts +10 -0
- package/dist/components/ui/CaseContentForm/index.d.ts +1 -0
- package/dist/components/ui/CaseContentForm/index.js +2 -0
- package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +9 -0
- package/dist/components/ui/CaseContentFormDialog/index.d.ts +1 -0
- package/dist/components/ui/CaseContentFormDialog/index.js +57 -0
- package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -0
- package/dist/components/ui/CaseInfoDialog/CaseCaseSetInfo.d.ts +6 -0
- package/dist/components/ui/CaseInfoDialog/CaseContent.d.ts +6 -0
- package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +15 -0
- package/dist/components/ui/CaseInfoDialog/CaseInfoForm.d.ts +10 -0
- package/dist/components/ui/CaseInfoDialog/CaseSharingForm.d.ts +9 -0
- package/dist/components/ui/CaseInfoDialog/CaseSharingInfo.d.ts +3 -0
- package/dist/components/ui/CaseInfoDialog/ReadOnlyCaseContent.d.ts +6 -0
- package/dist/components/ui/CaseInfoDialog/index.d.ts +1 -0
- package/dist/components/ui/CaseInfoDialog/index.js +2 -0
- package/dist/components/ui/CaseSetInfoDialog/CaseSetContent.d.ts +6 -0
- package/dist/components/ui/CaseSetInfoDialog/CaseSetDescription.d.ts +6 -0
- package/dist/components/ui/CaseSetInfoDialog/CaseSetForm.d.ts +8 -0
- package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +10 -0
- package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingForm.d.ts +10 -0
- package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingInfo.d.ts +3 -0
- package/dist/components/ui/CaseSetInfoDialog/index.d.ts +1 -0
- package/dist/components/ui/CaseSetInfoDialog/index.js +2 -0
- package/dist/components/ui/CaseSummary/CaseSummary.d.ts +5 -0
- package/dist/components/ui/CaseSummary/index.d.ts +1 -0
- package/dist/components/ui/CaseSummary/index.js +92 -0
- package/dist/components/ui/CaseSummary/index.js.map +1 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoAccessRights.d.ts +5 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoColAccessRights.d.ts +4 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoData.d.ts +5 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +7 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +3 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +8 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoRegions.d.ts +5 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoTrees.d.ts +5 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoValues.d.ts +5 -0
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoVariableDetails.d.ts +6 -0
- package/dist/components/ui/CaseTypeInfoDialog/index.d.ts +10 -0
- package/dist/components/ui/CaseTypeInfoDialog/index.js +2 -0
- package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarning.d.ts +5 -0
- package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarningCaseSetLink.d.ts +5 -0
- package/dist/components/ui/CasesAlreadyInCaseSetWarning/index.d.ts +1 -0
- package/dist/components/ui/CasesAlreadyInCaseSetWarning/index.js +2 -0
- package/dist/components/ui/CompletCaseTypeLoader/CompletCaseTypeLoader.d.ts +7 -0
- package/dist/components/ui/CompletCaseTypeLoader/index.d.ts +1 -0
- package/dist/components/ui/CompletCaseTypeLoader/index.js +2 -0
- package/dist/components/ui/CompletCaseTypeLoader/withEpiCompleteCaseTypeLoader.d.ts +4 -0
- package/dist/components/ui/ContextMenu/ContextMenu.d.ts +20 -0
- package/dist/components/ui/ContextMenu/index.d.ts +1 -0
- package/dist/components/ui/ContextMenu/index.js +96 -0
- package/dist/components/ui/ContextMenu/index.js.map +1 -0
- package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +10 -0
- package/dist/components/ui/CreateEventDialog/CreateEventDialogSuccessNotificationMessage.d.ts +6 -0
- package/dist/components/ui/CreateEventDialog/index.d.ts +1 -0
- package/dist/components/ui/CreateEventDialog/index.js +278 -0
- package/dist/components/ui/CreateEventDialog/index.js.map +1 -0
- package/dist/components/ui/CustomTabPanel/CustomTabPanel.d.ts +6 -0
- package/dist/components/ui/CustomTabPanel/index.d.ts +1 -0
- package/dist/components/ui/CustomTabPanel/index.js +2 -0
- package/dist/components/ui/Dashboard/Dashboard.d.ts +1 -0
- package/dist/components/ui/Dashboard/DashboardContent.d.ts +6 -0
- package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +6 -0
- package/dist/components/ui/Dashboard/DashboardGeneralSettingsForm.d.ts +1 -0
- package/dist/components/ui/Dashboard/DashboardLayoutRenderer.d.ts +9 -0
- package/dist/components/ui/Dashboard/DashboardLayoutSettingsForm.d.ts +4 -0
- package/dist/components/ui/Dashboard/DashboardSearch.d.ts +1 -0
- package/dist/components/ui/Dashboard/DashboardSearchSettings.d.ts +10 -0
- package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +8 -0
- package/dist/components/ui/Dashboard/DashboardWidget.d.ts +12 -0
- package/dist/components/ui/Dashboard/DashboardWidgetPlaceHolder.d.ts +1 -0
- package/dist/components/ui/Dashboard/DashboardWidgetSettingsForm.d.ts +4 -0
- package/dist/components/ui/Dashboard/DashboardZoneContext.d.ts +1 -0
- package/dist/components/ui/Dashboard/context/DashboardContext.d.ts +12 -0
- package/dist/components/ui/Dashboard/context/DashboardContextProvider.d.ts +6 -0
- package/dist/components/ui/Dashboard/index.d.ts +2 -0
- package/dist/components/ui/Dashboard/index.js +2 -0
- package/dist/components/ui/DashboardEditCases/DashboardEditCases.d.ts +6 -0
- package/dist/components/ui/DashboardEditCases/index.d.ts +1 -0
- package/dist/components/ui/DashboardEditCases/index.js +70 -0
- package/dist/components/ui/DashboardEditCases/index.js.map +1 -0
- package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoader.d.ts +7 -0
- package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoaderContent.d.ts +8 -0
- package/dist/components/ui/DashboardStoreLoader/index.d.ts +2 -0
- package/dist/components/ui/DashboardStoreLoader/index.js +2 -0
- package/dist/components/ui/DashboardStoreLoader/withEpiDashboardStore.d.ts +4 -0
- package/dist/components/ui/DataCollectionAccessInfo/DataCollectionAccessInfo.d.ts +1 -0
- package/dist/components/ui/DataCollectionAccessInfo/index.d.ts +1 -0
- package/dist/components/ui/DataCollectionAccessInfo/index.js +2 -0
- package/dist/components/ui/EpiCurveWidget/EpiCurveBarChart.d.ts +21 -0
- package/dist/components/ui/EpiCurveWidget/EpiCurveStackedAreaChart.d.ts +22 -0
- package/dist/components/ui/EpiCurveWidget/EpiCurveWidget.d.ts +2 -0
- package/dist/components/ui/EpiCurveWidget/index.d.ts +1 -0
- package/dist/components/ui/EpiCurveWidget/index.js +2 -0
- package/dist/components/ui/FileSelector/FileSelector.d.ts +7 -0
- package/dist/components/ui/FileSelector/index.d.ts +1 -0
- package/dist/components/ui/FileSelector/index.js +206 -0
- package/dist/components/ui/FileSelector/index.js.map +1 -0
- package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +11 -0
- package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialogDateRangeChart.d.ts +11 -0
- package/dist/components/ui/FindSimilarCasesDialog/index.d.ts +1 -0
- package/dist/components/ui/FindSimilarCasesDialog/index.js +2 -0
- package/dist/components/ui/Grouping/Grouping.d.ts +1 -0
- package/dist/components/ui/Grouping/index.d.ts +1 -0
- package/dist/components/ui/Grouping/index.js +102 -0
- package/dist/components/ui/Grouping/index.js.map +1 -0
- package/dist/components/ui/HistogramWidget/HistogramWidget.d.ts +1 -0
- package/dist/components/ui/HistogramWidget/index.d.ts +1 -0
- package/dist/components/ui/HistogramWidget/index.js +333 -0
- package/dist/components/ui/HistogramWidget/index.js.map +1 -0
- package/dist/components/ui/HomePageTrends/HomePageTrendCard.d.ts +9 -0
- package/dist/components/ui/HomePageTrends/HomePageTrends.d.ts +4 -0
- package/dist/components/ui/HomePageTrends/index.d.ts +1 -0
- package/dist/components/ui/HomePageTrends/index.js +2 -0
- package/dist/components/ui/LegendaItem/LegendaItem.d.ts +10 -0
- package/dist/components/ui/LegendaItem/index.d.ts +1 -0
- package/dist/components/ui/LegendaItem/index.js +2 -0
- package/dist/components/ui/LineListWidget/LineListWidget.d.ts +1 -0
- package/dist/components/ui/LineListWidget/LineListWidgetIsInEventCell.d.ts +6 -0
- package/dist/components/ui/LineListWidget/LineListWidgetIsOwnCaseCell.d.ts +6 -0
- package/dist/components/ui/LineListWidget/LineListWidgetPrimaryMenu.d.ts +5 -0
- package/dist/components/ui/LineListWidget/LineListWidgetSecondaryMenu.d.ts +1 -0
- package/dist/components/ui/LineListWidget/LineListWidgetTitle.d.ts +1 -0
- package/dist/components/ui/LineListWidget/index.d.ts +1 -0
- package/dist/components/ui/LineListWidget/index.js +2 -0
- package/dist/components/ui/LineListWidget/useEpiLineListWidgetEmitDownloadOptions.d.ts +1 -0
- package/dist/components/ui/MapWidget/MapWidget.d.ts +1 -0
- package/dist/components/ui/MapWidget/index.d.ts +1 -0
- package/dist/components/ui/MapWidget/index.js +302 -0
- package/dist/components/ui/MapWidget/index.js.map +1 -0
- package/dist/components/ui/PanelSeparator/PanelSeparatorHorizontal.d.ts +2 -0
- package/dist/components/ui/PanelSeparator/PanelSeparatorVertical.d.ts +2 -0
- package/dist/components/ui/PanelSeparator/index.d.ts +2 -0
- package/dist/components/ui/PanelSeparator/index.js +2 -0
- package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +10 -0
- package/dist/components/ui/RemoveCasesFromEventDialog/index.d.ts +1 -0
- package/dist/components/ui/RemoveCasesFromEventDialog/index.js +111 -0
- package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -0
- package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +9 -0
- package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +10 -0
- package/dist/components/ui/SequenceDownloadDialog/index.d.ts +1 -0
- package/dist/components/ui/SequenceDownloadDialog/index.js +89 -0
- package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -0
- package/dist/components/ui/TreeDescription/TreeDescription.d.ts +5 -0
- package/dist/components/ui/TreeDescription/index.d.ts +1 -0
- package/dist/components/ui/TreeDescription/index.js +40 -0
- package/dist/components/ui/TreeDescription/index.js.map +1 -0
- package/dist/components/ui/TreeWidget/TreeWidget.d.ts +1 -0
- package/dist/components/ui/TreeWidget/index.d.ts +1 -0
- package/dist/components/ui/TreeWidget/index.js +404 -0
- package/dist/components/ui/TreeWidget/index.js.map +1 -0
- package/dist/components/ui/Upload/Upload.d.ts +1 -0
- package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +18 -0
- package/dist/components/ui/Upload/UploadCreateCases.d.ts +1 -0
- package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +12 -0
- package/dist/components/ui/Upload/UploadMapColumns.d.ts +1 -0
- package/dist/components/ui/Upload/UploadMapSequences.d.ts +1 -0
- package/dist/components/ui/Upload/UploadNavigation.d.ts +10 -0
- package/dist/components/ui/Upload/UploadPreview.d.ts +4 -0
- package/dist/components/ui/Upload/UploadPreviewNavigation.d.ts +5 -0
- package/dist/components/ui/Upload/UploadSelectFile.d.ts +1 -0
- package/dist/components/ui/Upload/UploadSelectSequenceFiles.d.ts +1 -0
- package/dist/components/ui/Upload/index.d.ts +1 -0
- package/dist/components/ui/Upload/index.js +2 -0
- package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +9 -0
- package/dist/components/ui/UserRightsDialog/UserRightsDialogCaseAccessPolicy.d.ts +5 -0
- package/dist/components/ui/UserRightsDialog/index.d.ts +1 -0
- package/dist/components/ui/UserRightsDialog/index.js +2 -0
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +13 -0
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.d.ts +1 -0
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +373 -0
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -0
- package/dist/components/ui/Warning/Warning.d.ts +4 -0
- package/dist/components/ui/Warning/index.d.ts +1 -0
- package/dist/components/ui/Warning/index.js +29 -0
- package/dist/components/ui/Warning/index.js.map +1 -0
- package/dist/components/ui/WidgetHeaderIconButton/WidgetHeaderIconButton.d.ts +5 -0
- package/dist/components/ui/WidgetHeaderIconButton/index.d.ts +1 -0
- package/dist/components/ui/WidgetHeaderIconButton/index.js +24 -0
- package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -0
- package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +6 -0
- package/dist/components/ui/WidgetMenu/index.d.ts +1 -0
- package/dist/components/ui/WidgetMenu/index.js +26 -0
- package/dist/components/ui/WidgetMenu/index.js.map +1 -0
- package/dist/components/ui/WidgetUnavailable/WidgetUnavailable.d.ts +6 -0
- package/dist/components/ui/WidgetUnavailable/index.d.ts +1 -0
- package/dist/components/ui/WidgetUnavailable/index.js +18 -0
- package/dist/components/ui/WidgetUnavailable/index.js.map +1 -0
- package/dist/constants/dashboard.d.ts +9 -0
- package/dist/constants/dashboard.js +14 -0
- package/dist/constants/dashboard.js.map +1 -0
- package/dist/constants/query.d.ts +62 -0
- package/dist/constants/query.js +163 -0
- package/dist/constants/query.js.map +1 -0
- package/dist/context/caseAbac/CaseAbacContext.d.ts +14 -0
- package/dist/context/caseAbac/CaseAbacContextProvider.d.ts +6 -0
- package/dist/context/caseAbac/index.d.ts +3 -0
- package/dist/context/caseAbac/useCaseAbacContext.d.ts +2 -0
- package/dist/context/caseTypeAbac/CaseTypeAbacContext.d.ts +14 -0
- package/dist/context/caseTypeAbac/CaseTypeAbacContextProvider.d.ts +6 -0
- package/dist/context/caseTypeAbac/index.d.ts +3 -0
- package/dist/context/caseTypeAbac/useCaseTypeAbacContext.d.ts +2 -0
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +21 -0
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -0
- package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +6 -0
- package/dist/dataHooks/useCaseRightsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseRightsQuery/index.js +17 -0
- package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseRightsQuery/useCaseRightsQuery.d.ts +3 -0
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +22 -0
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +6 -0
- package/dist/dataHooks/useCaseSetRightsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseSetRightsQuery/index.js +13 -0
- package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseSetRightsQuery/useCaseSetRightsQuery.d.ts +3 -0
- package/dist/dataHooks/useCaseSetStatsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseSetStatsQuery/index.js +19 -0
- package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +5 -0
- package/dist/dataHooks/useCaseSetStatusesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseSetStatusesQuery/index.js +22 -0
- package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +6 -0
- package/dist/dataHooks/useCaseSetsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseSetsQuery/index.js +22 -0
- package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +6 -0
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +22 -0
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +6 -0
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js +21 -0
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +4 -0
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +13 -0
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseTypeSetMembersQuery/useCaseTypeSetMembersQuery.d.ts +3 -0
- package/dist/dataHooks/useCaseTypeSetsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseTypeSetsQuery/index.js +25 -0
- package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +7 -0
- package/dist/dataHooks/useCaseTypeStatsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseTypeStatsQuery/index.js +13 -0
- package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseTypeStatsQuery/useCaseTypeStatsQuery.d.ts +3 -0
- package/dist/dataHooks/useCaseTypesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useCaseTypesQuery/index.js +24 -0
- package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -0
- package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +9 -0
- package/dist/dataHooks/useColSetMembersQuery/index.d.ts +1 -0
- package/dist/dataHooks/useColSetMembersQuery/index.js +13 -0
- package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -0
- package/dist/dataHooks/useColSetMembersQuery/useColSetMembersQuery.d.ts +3 -0
- package/dist/dataHooks/useColSetsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useColSetsQuery/index.js +21 -0
- package/dist/dataHooks/useColSetsQuery/index.js.map +1 -0
- package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +6 -0
- package/dist/dataHooks/useColTypesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useColTypesQuery/index.js +51 -0
- package/dist/dataHooks/useColTypesQuery/index.js.map +1 -0
- package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +4 -0
- package/dist/dataHooks/useColsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useColsQuery/index.js +27 -0
- package/dist/dataHooks/useColsQuery/index.js.map +1 -0
- package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +7 -0
- package/dist/dataHooks/useConceptQuery/index.d.ts +1 -0
- package/dist/dataHooks/useConceptQuery/index.js +26 -0
- package/dist/dataHooks/useConceptQuery/index.js.map +1 -0
- package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +7 -0
- package/dist/dataHooks/useConceptRelationTypeQuery/index.d.ts +1 -0
- package/dist/dataHooks/useConceptRelationTypeQuery/index.js +15 -0
- package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -0
- package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +4 -0
- package/dist/dataHooks/useConceptSetTypeQuery/index.d.ts +1 -0
- package/dist/dataHooks/useConceptSetTypeQuery/index.js +22 -0
- package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -0
- package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +4 -0
- package/dist/dataHooks/useConceptSetsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useConceptSetsQuery/index.js +21 -0
- package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -0
- package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +6 -0
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.d.ts +1 -0
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +13 -0
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -0
- package/dist/dataHooks/useDataCollectionSetMembersQuery/useDataCollectionSetMembersQuery.d.ts +3 -0
- package/dist/dataHooks/useDataCollectionsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useDataCollectionsQuery/index.js +22 -0
- package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -0
- package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +6 -0
- package/dist/dataHooks/useDimTypesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useDimTypesQuery/index.js +26 -0
- package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -0
- package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +4 -0
- package/dist/dataHooks/useDimsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useDimsQuery/index.js +26 -0
- package/dist/dataHooks/useDimsQuery/index.js.map +1 -0
- package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +7 -0
- package/dist/dataHooks/useDiseasesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useDiseasesQuery/index.js +21 -0
- package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -0
- package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +6 -0
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +21 -0
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -0
- package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +6 -0
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +18 -0
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -0
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +5 -0
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +14 -0
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -0
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/useOrganizationAccessCasePoliciesQuery.d.ts +3 -0
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +14 -0
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -0
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/useOrganizationShareCasePoliciesQuery.d.ts +3 -0
- package/dist/dataHooks/useRefColsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useRefColsQuery/index.js +22 -0
- package/dist/dataHooks/useRefColsQuery/index.js.map +1 -0
- package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +6 -0
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +13 -0
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -0
- package/dist/dataHooks/useRefColsValidationRulesQuery/useRefColsValidationRulesQuery.d.ts +3 -0
- package/dist/dataHooks/useRefDimsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useRefDimsQuery/index.js +22 -0
- package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -0
- package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +6 -0
- package/dist/dataHooks/useRegionQuery/index.d.ts +1 -0
- package/dist/dataHooks/useRegionQuery/index.js +25 -0
- package/dist/dataHooks/useRegionQuery/index.js.map +1 -0
- package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +7 -0
- package/dist/dataHooks/useRegionRelationTypeQuery/index.d.ts +1 -0
- package/dist/dataHooks/useRegionRelationTypeQuery/index.js +20 -0
- package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -0
- package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +4 -0
- package/dist/dataHooks/useRegionSetsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useRegionSetsQuery/index.js +21 -0
- package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -0
- package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +6 -0
- package/dist/dataHooks/useSequencingProtocolsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useSequencingProtocolsQuery/index.js +21 -0
- package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -0
- package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +6 -0
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js +42 -0
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -0
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +4 -0
- package/dist/dataHooks/useUnitQuery/index.d.ts +1 -0
- package/dist/dataHooks/useUnitQuery/index.js +2 -0
- package/dist/dataHooks/useUnitQuery/useUnit.d.ts +4 -0
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +14 -0
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -0
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/useUserAccessCasePoliciesQuery.d.ts +3 -0
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.d.ts +1 -0
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +83 -0
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -0
- package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +16 -0
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.d.ts +1 -0
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +14 -0
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -0
- package/dist/dataHooks/useUserShareCasePoliciesQuery/useUserShareCasePoliciesQuery.d.ts +3 -0
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.d.ts +1 -0
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +25 -0
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -0
- package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +3 -0
- package/dist/hooks/useUserCasePolicyNameFactory/index.d.ts +1 -0
- package/dist/hooks/useUserCasePolicyNameFactory/index.js +28 -0
- package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -0
- package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +3 -0
- package/dist/locale/en.json +676 -0
- package/dist/locale/nl.json +676 -0
- package/dist/models/caseAccess.d.ts +15 -0
- package/dist/models/caseAccess.js +0 -0
- package/dist/models/caseDb.d.ts +96 -0
- package/dist/models/caseDb.js +8 -0
- package/dist/models/caseDb.js.map +1 -0
- package/dist/models/config.d.ts +70 -0
- package/dist/models/config.js +0 -0
- package/dist/models/dashboard.d.ts +91 -0
- package/dist/models/dashboard.js +10 -0
- package/dist/models/dashboard.js.map +1 -0
- package/dist/models/stratification.d.ts +40 -0
- package/dist/models/stratification.js +12 -0
- package/dist/models/stratification.js.map +1 -0
- package/dist/models/theme.d.ts +17 -0
- package/dist/models/theme.js +0 -0
- package/dist/models/upload.d.ts +51 -0
- package/dist/models/upload.js +8 -0
- package/dist/models/upload.js.map +1 -0
- package/dist/pages/CaseDbUsersAdminPage/CaseDbUsersAdminPage.d.ts +1 -0
- package/dist/pages/CaseDbUsersAdminPage/index.d.ts +1 -0
- package/dist/pages/CaseDbUsersAdminPage/index.js +67 -0
- package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -0
- package/dist/pages/CaseSetCategoryAdminPage/CaseSetCategoryAdminPage.d.ts +1 -0
- package/dist/pages/CaseSetCategoryAdminPage/index.d.ts +1 -0
- package/dist/pages/CaseSetCategoryAdminPage/index.js +69 -0
- package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -0
- package/dist/pages/CaseSetStatusAdminPage/CaseSetStatusAdminPage.d.ts +1 -0
- package/dist/pages/CaseSetStatusAdminPage/index.d.ts +1 -0
- package/dist/pages/CaseSetStatusAdminPage/index.js +69 -0
- package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -0
- package/dist/pages/CaseTypeSetCategoriesAdminPage/CaseTypeSetCategoriesAdminPage.d.ts +1 -0
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.d.ts +1 -0
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +92 -0
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -0
- package/dist/pages/CaseTypeSetsAdminPage/CaseTypeSetsAdminPage.d.ts +1 -0
- package/dist/pages/CaseTypeSetsAdminPage/index.d.ts +1 -0
- package/dist/pages/CaseTypeSetsAdminPage/index.js +148 -0
- package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -0
- package/dist/pages/CaseTypesAdminPage/CaseTypesAdminPage.d.ts +1 -0
- package/dist/pages/CaseTypesAdminPage/index.d.ts +1 -0
- package/dist/pages/CaseTypesAdminPage/index.js +288 -0
- package/dist/pages/CaseTypesAdminPage/index.js.map +1 -0
- package/dist/pages/CasesDetailPage/CasesDetailPage.d.ts +1 -0
- package/dist/pages/CasesDetailPage/index.d.ts +1 -0
- package/dist/pages/CasesDetailPage/index.js +41 -0
- package/dist/pages/CasesDetailPage/index.js.map +1 -0
- package/dist/pages/CasesPage/CasesPage.d.ts +1 -0
- package/dist/pages/CasesPage/index.d.ts +1 -0
- package/dist/pages/CasesPage/index.js +229 -0
- package/dist/pages/CasesPage/index.js.map +1 -0
- package/dist/pages/ColSetsAdminPage/ColSetsAdminPage.d.ts +1 -0
- package/dist/pages/ColSetsAdminPage/index.d.ts +1 -0
- package/dist/pages/ColSetsAdminPage/index.js +109 -0
- package/dist/pages/ColSetsAdminPage/index.js.map +1 -0
- package/dist/pages/ColsAdminPage/ColsAdminPage.d.ts +1 -0
- package/dist/pages/ColsAdminPage/index.d.ts +1 -0
- package/dist/pages/ColsAdminPage/index.js +315 -0
- package/dist/pages/ColsAdminPage/index.js.map +1 -0
- package/dist/pages/ConceptRelationsAdminPage/ConceptRelationsAdminPage.d.ts +1 -0
- package/dist/pages/ConceptRelationsAdminPage/index.d.ts +1 -0
- package/dist/pages/ConceptRelationsAdminPage/index.js +103 -0
- package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -0
- package/dist/pages/ConceptSetsAdminPage/ConceptSetsAdminPage.d.ts +1 -0
- package/dist/pages/ConceptSetsAdminPage/index.d.ts +1 -0
- package/dist/pages/ConceptSetsAdminPage/index.js +112 -0
- package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -0
- package/dist/pages/ConceptsAdminPage/ConceptsAdminPage.d.ts +1 -0
- package/dist/pages/ConceptsAdminPage/index.d.ts +1 -0
- package/dist/pages/ConceptsAdminPage/index.js +94 -0
- package/dist/pages/ConceptsAdminPage/index.js.map +1 -0
- package/dist/pages/DataCollectionSetsAdminPage/DataCollectionSetsAdminPage.d.ts +1 -0
- package/dist/pages/DataCollectionSetsAdminPage/index.d.ts +1 -0
- package/dist/pages/DataCollectionSetsAdminPage/index.js +99 -0
- package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -0
- package/dist/pages/DataCollectionVisualizationPage/DataCollectionVisualizationPage.d.ts +1 -0
- package/dist/pages/DataCollectionVisualizationPage/index.d.ts +1 -0
- package/dist/pages/DataCollectionVisualizationPage/index.js +494 -0
- package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -0
- package/dist/pages/DataCollectionsAdminPage/DataCollectionsAdminPage.d.ts +1 -0
- package/dist/pages/DataCollectionsAdminPage/index.d.ts +1 -0
- package/dist/pages/DataCollectionsAdminPage/index.js +54 -0
- package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -0
- package/dist/pages/DimsAdminPage/DimsAdminPage.d.ts +1 -0
- package/dist/pages/DimsAdminPage/index.d.ts +1 -0
- package/dist/pages/DimsAdminPage/index.js +146 -0
- package/dist/pages/DimsAdminPage/index.js.map +1 -0
- package/dist/pages/DiseasesAdminPage/DiseasesAdminPage.d.ts +1 -0
- package/dist/pages/DiseasesAdminPage/index.d.ts +1 -0
- package/dist/pages/DiseasesAdminPage/index.js +57 -0
- package/dist/pages/DiseasesAdminPage/index.js.map +1 -0
- package/dist/pages/EtiologicalAgentsAdminPage/EtiologicalAgentsAdminPage.d.ts +1 -0
- package/dist/pages/EtiologicalAgentsAdminPage/index.d.ts +1 -0
- package/dist/pages/EtiologicalAgentsAdminPage/index.js +54 -0
- package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -0
- package/dist/pages/EtiologiesAdminPage/EtiologiesAdminPage.d.ts +1 -0
- package/dist/pages/EtiologiesAdminPage/index.d.ts +1 -0
- package/dist/pages/EtiologiesAdminPage/index.js +76 -0
- package/dist/pages/EtiologiesAdminPage/index.js.map +1 -0
- package/dist/pages/EventsDetailPage/EventsDetailPage.d.ts +1 -0
- package/dist/pages/EventsDetailPage/index.d.ts +1 -0
- package/dist/pages/EventsDetailPage/index.js +56 -0
- package/dist/pages/EventsDetailPage/index.js.map +1 -0
- package/dist/pages/EventsPage/EventsPage.d.ts +1 -0
- package/dist/pages/EventsPage/index.d.ts +1 -0
- package/dist/pages/EventsPage/index.js +221 -0
- package/dist/pages/EventsPage/index.js.map +1 -0
- package/dist/pages/HomePage/HomePage.d.ts +1 -0
- package/dist/pages/HomePage/index.d.ts +1 -0
- package/dist/pages/HomePage/index.js +35 -0
- package/dist/pages/HomePage/index.js.map +1 -0
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/OrganizationAccessCasePoliciesAdminPage.d.ts +1 -0
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.d.ts +1 -0
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +216 -0
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -0
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/OrganizationShareCasePoliciesAdminPage.d.ts +1 -0
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.d.ts +1 -0
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +170 -0
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -0
- package/dist/pages/RefColsAdminPage/RefColsAdminPage.d.ts +1 -0
- package/dist/pages/RefColsAdminPage/index.d.ts +1 -0
- package/dist/pages/RefColsAdminPage/index.js +302 -0
- package/dist/pages/RefColsAdminPage/index.js.map +1 -0
- package/dist/pages/RefDimsAdminPage/RefDimsAdminPage.d.ts +1 -0
- package/dist/pages/RefDimsAdminPage/index.d.ts +1 -0
- package/dist/pages/RefDimsAdminPage/index.js +110 -0
- package/dist/pages/RefDimsAdminPage/index.js.map +1 -0
- package/dist/pages/RegionRelationsAdminPage/RegionRelationsAdminPage.d.ts +1 -0
- package/dist/pages/RegionRelationsAdminPage/index.d.ts +1 -0
- package/dist/pages/RegionRelationsAdminPage/index.js +102 -0
- package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -0
- package/dist/pages/RegionSetShapesAdminPage/RegionSetShapesAdminPage.d.ts +1 -0
- package/dist/pages/RegionSetShapesAdminPage/index.d.ts +1 -0
- package/dist/pages/RegionSetShapesAdminPage/index.js +73 -0
- package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -0
- package/dist/pages/RegionSetsAdminPage/RegionSetsAdminPage.d.ts +1 -0
- package/dist/pages/RegionSetsAdminPage/index.d.ts +1 -0
- package/dist/pages/RegionSetsAdminPage/index.js +101 -0
- package/dist/pages/RegionSetsAdminPage/index.js.map +1 -0
- package/dist/pages/RegionsAdminPage/RegionsAdminPage.d.ts +1 -0
- package/dist/pages/RegionsAdminPage/index.d.ts +1 -0
- package/dist/pages/RegionsAdminPage/index.js +99 -0
- package/dist/pages/RegionsAdminPage/index.js.map +1 -0
- package/dist/pages/TrendsPage/TrendsPage.d.ts +1 -0
- package/dist/pages/TrendsPage/index.d.ts +1 -0
- package/dist/pages/TrendsPage/index.js +17 -0
- package/dist/pages/TrendsPage/index.js.map +1 -0
- package/dist/pages/UploadPage/UploadPage.d.ts +1 -0
- package/dist/pages/UploadPage/index.d.ts +1 -0
- package/dist/pages/UploadPage/index.js +31 -0
- package/dist/pages/UploadPage/index.js.map +1 -0
- package/dist/pages/UserAccessCasePoliciesAdminPage/UserAccessCasePoliciesAdminPage.d.ts +1 -0
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.d.ts +1 -0
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +206 -0
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -0
- package/dist/pages/UserEffectiveRightsAdminPage/UserEffectiveRightsAdminPage.d.ts +1 -0
- package/dist/pages/UserEffectiveRightsAdminPage/index.d.ts +1 -0
- package/dist/pages/UserEffectiveRightsAdminPage/index.js +246 -0
- package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -0
- package/dist/pages/UserEffectiveRightsTesterAdminPage/UserEffectiveRightsTesterAdminPage.d.ts +1 -0
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.d.ts +1 -0
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +195 -0
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -0
- package/dist/pages/UserShareCasePoliciesAdminPage/UserShareCasePoliciesAdminPage.d.ts +1 -0
- package/dist/pages/UserShareCasePoliciesAdminPage/index.d.ts +1 -0
- package/dist/pages/UserShareCasePoliciesAdminPage/index.js +169 -0
- package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -0
- package/dist/routes/adminRoutes.d.ts +6 -0
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/index.js +1110 -0
- package/dist/routes/index.js.map +1 -0
- package/dist/routes/routes.d.ts +6 -0
- package/dist/setup/setup.d.ts +1 -0
- package/dist/setup/setup.js +28 -0
- package/dist/setup/setup.js.map +1 -0
- package/dist/stores/dashboardStore/dashboardStore.d.ts +80 -0
- package/dist/stores/dashboardStore/dashboardStoreContext.d.ts +3 -0
- package/dist/stores/dashboardStore/index.d.ts +2 -0
- package/dist/stores/dashboardStore/index.js +2 -0
- package/dist/stores/uploadStore/index.d.ts +2 -0
- package/dist/stores/uploadStore/index.js +185 -0
- package/dist/stores/uploadStore/index.js.map +1 -0
- package/dist/stores/uploadStore/uploadStore.d.ts +80 -0
- package/dist/stores/uploadStore/uploadStoreContext.d.ts +3 -0
- package/dist/stores/userProfileStore/index.d.ts +1 -0
- package/dist/stores/userProfileStore/index.js +81 -0
- package/dist/stores/userProfileStore/index.js.map +1 -0
- package/dist/stores/userProfileStore/userProfileStore.d.ts +38 -0
- package/dist/stores/userProfileStore/userProfileStoreContext.d.ts +3 -0
- package/dist/theme/demoTheme/demoTheme.d.ts +3 -0
- package/dist/theme/demoTheme/index.d.ts +1 -0
- package/dist/theme/demoTheme/index.js +20 -0
- package/dist/theme/demoTheme/index.js.map +1 -0
- package/dist/utils/AbacUtil/AbacUtil.d.ts +7 -0
- package/dist/utils/AbacUtil/index.d.ts +1 -0
- package/dist/utils/AbacUtil/index.js +31 -0
- package/dist/utils/AbacUtil/index.js.map +1 -0
- package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +31 -0
- package/dist/utils/CaseDbDataUtil/index.d.ts +1 -0
- package/dist/utils/CaseDbDataUtil/index.js +43 -0
- package/dist/utils/CaseDbDataUtil/index.js.map +1 -0
- package/dist/utils/CaseDbDownloadUtil/CaseDbDownloadUtil.d.ts +17 -0
- package/dist/utils/CaseDbDownloadUtil/index.d.ts +1 -0
- package/dist/utils/CaseDbDownloadUtil/index.js +2 -0
- package/dist/utils/CaseDbStandardConfigUtil/CaseDbStandardConfigUtil.d.ts +7 -0
- package/dist/utils/CaseDbStandardConfigUtil/index.d.ts +1 -0
- package/dist/utils/CaseDbStandardConfigUtil/index.js +4778 -0
- package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -0
- package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +6 -0
- package/dist/utils/CaseDbTableUtil/index.d.ts +1 -0
- package/dist/utils/CaseDbTableUtil/index.js +41 -0
- package/dist/utils/CaseDbTableUtil/index.js.map +1 -0
- package/dist/utils/CaseSelectionUtil/CaseSelectionUtil.d.ts +8 -0
- package/dist/utils/CaseSelectionUtil/index.d.ts +1 -0
- package/dist/utils/CaseSelectionUtil/index.js +29 -0
- package/dist/utils/CaseSelectionUtil/index.js.map +1 -0
- package/dist/utils/CaseSetUtil/CaseSetUtil.d.ts +4 -0
- package/dist/utils/CaseSetUtil/index.d.ts +1 -0
- package/dist/utils/CaseSetUtil/index.js +13 -0
- package/dist/utils/CaseSetUtil/index.js.map +1 -0
- package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +20 -0
- package/dist/utils/CaseTypeFormUtil/index.d.ts +1 -0
- package/dist/utils/CaseTypeFormUtil/index.js +199 -0
- package/dist/utils/CaseTypeFormUtil/index.js.map +1 -0
- package/dist/utils/CaseTypeUtil/CaseTypeUtil.d.ts +39 -0
- package/dist/utils/CaseTypeUtil/index.d.ts +1 -0
- package/dist/utils/CaseTypeUtil/index.js +135 -0
- package/dist/utils/CaseTypeUtil/index.js.map +1 -0
- package/dist/utils/CaseUtil/CaseUtil.d.ts +18 -0
- package/dist/utils/CaseUtil/index.d.ts +1 -0
- package/dist/utils/CaseUtil/index.js +138 -0
- package/dist/utils/CaseUtil/index.js.map +1 -0
- package/dist/utils/DashboardUtil/DashboardUtil.d.ts +29 -0
- package/dist/utils/DashboardUtil/index.d.ts +1 -0
- package/dist/utils/DashboardUtil/index.js +152 -0
- package/dist/utils/DashboardUtil/index.js.map +1 -0
- package/dist/utils/DataSetUtil/DataSetUtil.d.ts +17 -0
- package/dist/utils/DataSetUtil/index.d.ts +1 -0
- package/dist/utils/DataSetUtil/index.js +43 -0
- package/dist/utils/DataSetUtil/index.js.map +1 -0
- package/dist/utils/EffectiveRightsUtil/EffectiveRightsUtil.d.ts +29 -0
- package/dist/utils/EffectiveRightsUtil/index.d.ts +1 -0
- package/dist/utils/EffectiveRightsUtil/index.js +118 -0
- package/dist/utils/EffectiveRightsUtil/index.js.map +1 -0
- package/dist/utils/EpiCurveUtil/EpiCurveUtil.d.ts +96 -0
- package/dist/utils/EpiCurveUtil/index.d.ts +1 -0
- package/dist/utils/EpiCurveUtil/index.js +2 -0
- package/dist/utils/FileUtil/FileUtil.d.ts +5 -0
- package/dist/utils/FileUtil/index.d.ts +1 -0
- package/dist/utils/FileUtil/index.js +15 -0
- package/dist/utils/FileUtil/index.js.map +1 -0
- package/dist/utils/FilterUtil/FilterUtil.d.ts +11 -0
- package/dist/utils/FilterUtil/index.d.ts +1 -0
- package/dist/utils/FilterUtil/index.js +2 -0
- package/dist/utils/FindSimilarCasesUtil/FindSimilarCasesUtil.d.ts +7 -0
- package/dist/utils/FindSimilarCasesUtil/index.d.ts +1 -0
- package/dist/utils/FindSimilarCasesUtil/index.js +2 -0
- package/dist/utils/HistogramUtil/HistogramUtil.d.ts +78 -0
- package/dist/utils/HistogramUtil/index.d.ts +1 -0
- package/dist/utils/HistogramUtil/index.js +145 -0
- package/dist/utils/HistogramUtil/index.js.map +1 -0
- package/dist/utils/MapUtil/MapUtil.d.ts +38 -0
- package/dist/utils/MapUtil/index.d.ts +1 -0
- package/dist/utils/MapUtil/index.js +210 -0
- package/dist/utils/MapUtil/index.js.map +1 -0
- package/dist/utils/StratificationUtil/StratificationUtil.d.ts +25 -0
- package/dist/utils/StratificationUtil/index.d.ts +1 -0
- package/dist/utils/StratificationUtil/index.js +198 -0
- package/dist/utils/StratificationUtil/index.js.map +1 -0
- package/dist/utils/TreeWidgetUtil/TreeWidgetUtil.d.ts +7 -0
- package/dist/utils/TreeWidgetUtil/index.d.ts +1 -0
- package/dist/utils/TreeWidgetUtil/index.js +35 -0
- package/dist/utils/TreeWidgetUtil/index.js.map +1 -0
- package/dist/utils/UploadUtil/UploadUtil.d.ts +106 -0
- package/dist/utils/UploadUtil/index.d.ts +1 -0
- package/dist/utils/UploadUtil/index.js +2 -0
- package/package.json +784 -0
|
@@ -0,0 +1,743 @@
|
|
|
1
|
+
import { h as e } from "./_MapCache.js";
|
|
2
|
+
import { n as t, r as n, t as r } from "./FilterUtil.js";
|
|
3
|
+
import { SELECTION_FILTER_GROUP as i, TREE_FILTER_GROUP as a, t as o } from "../utils/CaseTypeUtil/index.js";
|
|
4
|
+
import { CASEDB_QUERY_KEY as s } from "../constants/query.js";
|
|
5
|
+
import { t as c } from "../utils/CaseUtil/index.js";
|
|
6
|
+
import { STRATIFICATION_MODE as l } from "../models/stratification.js";
|
|
7
|
+
import { StratificationUtil as u } from "../utils/StratificationUtil/index.js";
|
|
8
|
+
import { DASHBOARD_COMPONENT_NAME as d } from "../constants/dashboard.js";
|
|
9
|
+
import { t as ee } from "./vanilla.js";
|
|
10
|
+
import { t as f } from "./last.js";
|
|
11
|
+
import { r as te, t as p } from "./cloneDeep.js";
|
|
12
|
+
import { t as m } from "i18next";
|
|
13
|
+
import { CaseDbCaseApi as ne } from "@gen-epix/api-casedb";
|
|
14
|
+
import { QueryClientService as h } from "@gen-epix/ui/classes/services/QueryClientService";
|
|
15
|
+
import { ObjectUtil as re } from "@gen-epix/ui-core/utils/ObjectUtil";
|
|
16
|
+
import { ConfigService as ie } from "@gen-epix/ui/classes/services/ConfigService";
|
|
17
|
+
import { NotificationService as ae } from "@gen-epix/ui/classes/services/NotificationService";
|
|
18
|
+
import { FILTER_MODE as oe } from "@gen-epix/ui/classes/abstracts/FilterAbstract";
|
|
19
|
+
import { createContext as se } from "react";
|
|
20
|
+
import { AxiosUtil as ce } from "@gen-epix/ui/utils/AxiosUtil";
|
|
21
|
+
import { createTableStoreActions as le, createTableStoreInitialState as ue, createTableStorePersistConfiguration as de } from "@gen-epix/ui/stores/tableStore";
|
|
22
|
+
import { NewickUtil as fe } from "@gen-epix/ui-phylogenetic-tree/utils/NewickUtil";
|
|
23
|
+
import { TreeUtil as g } from "@gen-epix/ui-phylogenetic-tree/utils/TreeUtil";
|
|
24
|
+
//#region ../../node_modules/.pnpm/immer@11.1.9/node_modules/immer/dist/immer.mjs
|
|
25
|
+
var pe = Symbol.for("immer-nothing"), me = Symbol.for("immer-draftable"), _ = Symbol.for("immer-state"), he = process.env.NODE_ENV === "production" ? [] : [
|
|
26
|
+
function(e) {
|
|
27
|
+
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
28
|
+
},
|
|
29
|
+
function(e) {
|
|
30
|
+
return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`;
|
|
31
|
+
},
|
|
32
|
+
"This object has been frozen and should not be mutated",
|
|
33
|
+
function(e) {
|
|
34
|
+
return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + e;
|
|
35
|
+
},
|
|
36
|
+
"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",
|
|
37
|
+
"Immer forbids circular references",
|
|
38
|
+
"The first or second argument to `produce` must be a function",
|
|
39
|
+
"The third argument to `produce` must be a function or undefined",
|
|
40
|
+
"First argument to `createDraft` must be a plain object, an array, or an immerable object",
|
|
41
|
+
"First argument to `finishDraft` must be a draft returned by `createDraft`",
|
|
42
|
+
function(e) {
|
|
43
|
+
return `'current' expects a draft, got: ${e}`;
|
|
44
|
+
},
|
|
45
|
+
"Object.defineProperty() cannot be used on an Immer draft",
|
|
46
|
+
"Object.setPrototypeOf() cannot be used on an Immer draft",
|
|
47
|
+
"Immer only supports deleting array indices",
|
|
48
|
+
"Immer only supports setting array indices and the 'length' property",
|
|
49
|
+
function(e) {
|
|
50
|
+
return `'original' expects a draft, got: ${e}`;
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
function v(e, ...t) {
|
|
54
|
+
if (process.env.NODE_ENV !== "production") {
|
|
55
|
+
let n = he[e], r = I(n) ? n.apply(null, t) : n;
|
|
56
|
+
throw Error(`[Immer] ${r}`);
|
|
57
|
+
}
|
|
58
|
+
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
|
|
59
|
+
}
|
|
60
|
+
var y = Object, b = y.getPrototypeOf, x = "constructor", S = "prototype", ge = "configurable", C = "enumerable", w = "writable", T = "value", E = (e) => !!e && !!e[_];
|
|
61
|
+
function D(e) {
|
|
62
|
+
return e ? ye(e) || M(e) || !!e[me] || !!e[x]?.[me] || N(e) || P(e) : !1;
|
|
63
|
+
}
|
|
64
|
+
var _e = y[S][x].toString(), ve = /* @__PURE__ */ new WeakMap();
|
|
65
|
+
function ye(e) {
|
|
66
|
+
if (!e || !F(e)) return !1;
|
|
67
|
+
let t = b(e);
|
|
68
|
+
if (t === null || t === y[S]) return !0;
|
|
69
|
+
let n = y.hasOwnProperty.call(t, x) && t[x];
|
|
70
|
+
if (n === Object) return !0;
|
|
71
|
+
if (!I(n)) return !1;
|
|
72
|
+
let r = ve.get(n);
|
|
73
|
+
return r === void 0 && (r = Function.toString.call(n), ve.set(n, r)), r === _e;
|
|
74
|
+
}
|
|
75
|
+
function O(e, t, n = !0) {
|
|
76
|
+
k(e) === 0 ? (n ? Reflect.ownKeys(e) : y.keys(e)).forEach((n) => {
|
|
77
|
+
t(n, e[n], e);
|
|
78
|
+
}) : e.forEach((n, r) => t(r, n, e));
|
|
79
|
+
}
|
|
80
|
+
function k(e) {
|
|
81
|
+
let t = e[_];
|
|
82
|
+
return t ? t.type_ : M(e) ? 1 : N(e) ? 2 : P(e) ? 3 : 0;
|
|
83
|
+
}
|
|
84
|
+
var be = (e, t, n = k(e)) => n === 2 ? e.has(t) : y[S].hasOwnProperty.call(e, t), A = (e, t, n = k(e)) => n === 2 ? e.get(t) : e[t], j = (e, t, n, r = k(e)) => {
|
|
85
|
+
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
86
|
+
};
|
|
87
|
+
function xe(e, t) {
|
|
88
|
+
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
|
|
89
|
+
}
|
|
90
|
+
var M = Array.isArray, N = (e) => e instanceof Map, P = (e) => e instanceof Set, F = (e) => typeof e == "object", I = (e) => typeof e == "function", L = (e) => typeof e == "boolean";
|
|
91
|
+
function Se(e) {
|
|
92
|
+
let t = +e;
|
|
93
|
+
return Number.isInteger(t) && String(t) === e;
|
|
94
|
+
}
|
|
95
|
+
var R = (e) => e.copy_ || e.base_, z = (e) => e.modified_ ? e.copy_ : e.base_;
|
|
96
|
+
function B(e, t) {
|
|
97
|
+
if (N(e)) return new Map(e);
|
|
98
|
+
if (P(e)) return new Set(e);
|
|
99
|
+
if (M(e)) return Array[S].slice.call(e);
|
|
100
|
+
let n = ye(e);
|
|
101
|
+
if (t === !0 || t === "class_only" && !n) {
|
|
102
|
+
let t = y.getOwnPropertyDescriptors(e);
|
|
103
|
+
delete t[_];
|
|
104
|
+
let n = Reflect.ownKeys(t);
|
|
105
|
+
for (let r = 0; r < n.length; r++) {
|
|
106
|
+
let i = n[r], a = t[i];
|
|
107
|
+
a[w] === !1 && (a[w] = !0, a[ge] = !0), (a.get || a.set) && (t[i] = {
|
|
108
|
+
[ge]: !0,
|
|
109
|
+
[w]: !0,
|
|
110
|
+
[C]: a[C],
|
|
111
|
+
[T]: e[i]
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
return y.create(b(e), t);
|
|
115
|
+
} else {
|
|
116
|
+
let t = b(e);
|
|
117
|
+
if (t !== null && n) return { ...e };
|
|
118
|
+
let r = y.create(t);
|
|
119
|
+
return y.assign(r, e);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
function V(e, t = !1) {
|
|
123
|
+
return U(e) || E(e) || !D(e) ? e : (k(e) > 1 && y.defineProperties(e, {
|
|
124
|
+
set: H,
|
|
125
|
+
add: H,
|
|
126
|
+
clear: H,
|
|
127
|
+
delete: H
|
|
128
|
+
}), y.freeze(e), t && O(e, (e, t) => {
|
|
129
|
+
V(t, !0);
|
|
130
|
+
}, !1), e);
|
|
131
|
+
}
|
|
132
|
+
function Ce() {
|
|
133
|
+
v(2);
|
|
134
|
+
}
|
|
135
|
+
var H = { [T]: Ce };
|
|
136
|
+
function U(e) {
|
|
137
|
+
return e === null || !F(e) ? !0 : y.isFrozen(e);
|
|
138
|
+
}
|
|
139
|
+
var W = "MapSet", we = "Patches", Te = "ArrayMethods", Ee = {};
|
|
140
|
+
function G(e) {
|
|
141
|
+
let t = Ee[e];
|
|
142
|
+
return t || v(0, e), t;
|
|
143
|
+
}
|
|
144
|
+
var De = (e) => !!Ee[e], K, Oe = () => K, ke = (e, t) => ({
|
|
145
|
+
drafts_: [],
|
|
146
|
+
parent_: e,
|
|
147
|
+
immer_: t,
|
|
148
|
+
canAutoFreeze_: !0,
|
|
149
|
+
unfinalizedDrafts_: 0,
|
|
150
|
+
handledSet_: /* @__PURE__ */ new Set(),
|
|
151
|
+
processedForPatches_: /* @__PURE__ */ new Set(),
|
|
152
|
+
mapSetPlugin_: De(W) ? G(W) : void 0,
|
|
153
|
+
arrayMethodsPlugin_: De(Te) ? G(Te) : void 0
|
|
154
|
+
});
|
|
155
|
+
function Ae(e, t) {
|
|
156
|
+
t && (e.patchPlugin_ = G(we), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
|
|
157
|
+
}
|
|
158
|
+
function je(e) {
|
|
159
|
+
Me(e), e.drafts_.forEach(Pe), e.drafts_ = null;
|
|
160
|
+
}
|
|
161
|
+
function Me(e) {
|
|
162
|
+
e === K && (K = e.parent_);
|
|
163
|
+
}
|
|
164
|
+
var Ne = (e) => K = ke(K, e);
|
|
165
|
+
function Pe(e) {
|
|
166
|
+
let t = e[_];
|
|
167
|
+
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
|
|
168
|
+
}
|
|
169
|
+
function Fe(e, t) {
|
|
170
|
+
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
171
|
+
let n = t.drafts_[0];
|
|
172
|
+
if (e !== void 0 && e !== n) {
|
|
173
|
+
n[_].modified_ && (je(t), v(4)), D(e) && (e = Ie(t, e));
|
|
174
|
+
let { patchPlugin_: r } = t;
|
|
175
|
+
r && r.generateReplacementPatches_(n[_].base_, e, t);
|
|
176
|
+
} else e = Ie(t, n);
|
|
177
|
+
return Le(t, e, !0), je(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === pe ? void 0 : e;
|
|
178
|
+
}
|
|
179
|
+
function Ie(e, t) {
|
|
180
|
+
if (U(t)) return t;
|
|
181
|
+
let n = t[_];
|
|
182
|
+
if (!n) return J(t, e.handledSet_, e);
|
|
183
|
+
if (!q(n, e)) return t;
|
|
184
|
+
if (!n.modified_) return n.base_;
|
|
185
|
+
if (!n.finalized_) {
|
|
186
|
+
let { callbacks_: t } = n;
|
|
187
|
+
if (t) for (; t.length > 0;) t.pop()(e);
|
|
188
|
+
He(n, e);
|
|
189
|
+
}
|
|
190
|
+
return n.copy_;
|
|
191
|
+
}
|
|
192
|
+
function Le(e, t, n = !1) {
|
|
193
|
+
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && V(t, n);
|
|
194
|
+
}
|
|
195
|
+
function Re(e) {
|
|
196
|
+
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
|
|
197
|
+
}
|
|
198
|
+
var q = (e, t) => e.scope_ === t, ze = [];
|
|
199
|
+
function Be(e, t, n, r) {
|
|
200
|
+
let i = R(e), a = e.type_;
|
|
201
|
+
if (r !== void 0 && A(i, r, a) === t) {
|
|
202
|
+
j(i, r, n, a);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
if (!e.draftLocations_) {
|
|
206
|
+
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
|
|
207
|
+
O(i, (e, n) => {
|
|
208
|
+
if (E(n)) {
|
|
209
|
+
let r = t.get(n) || [];
|
|
210
|
+
r.push(e), t.set(n, r);
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
let o = e.draftLocations_.get(t) ?? ze;
|
|
215
|
+
for (let e of o) j(i, e, n, a);
|
|
216
|
+
}
|
|
217
|
+
function Ve(e, t, n) {
|
|
218
|
+
e.callbacks_.push(function(r) {
|
|
219
|
+
let i = t;
|
|
220
|
+
if (!i || !q(i, r)) return;
|
|
221
|
+
r.mapSetPlugin_?.fixSetContents(i);
|
|
222
|
+
let a = z(i);
|
|
223
|
+
Be(e, i.draft_ ?? i, a, n), He(i, r);
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
function He(e, t) {
|
|
227
|
+
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
|
|
228
|
+
let { patchPlugin_: n } = t;
|
|
229
|
+
if (n) {
|
|
230
|
+
let r = n.getPath(e);
|
|
231
|
+
r && n.generatePatches_(e, r, t);
|
|
232
|
+
}
|
|
233
|
+
Re(e);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
function Ue(e, t, n) {
|
|
237
|
+
let { scope_: r } = e;
|
|
238
|
+
if (E(n)) {
|
|
239
|
+
let i = n[_];
|
|
240
|
+
q(i, r) && i.callbacks_.push(function() {
|
|
241
|
+
Z(e), Be(e, n, z(i), t);
|
|
242
|
+
});
|
|
243
|
+
} else D(n) && e.callbacks_.push(function() {
|
|
244
|
+
let i = R(e);
|
|
245
|
+
e.type_ === 3 ? i.has(n) && J(n, r.handledSet_, r) : A(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && J(A(e.copy_, t, e.type_), r.handledSet_, r);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function J(e, t, n) {
|
|
249
|
+
return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || E(e) || t.has(e) || !D(e) || U(e) ? e : (t.add(e), O(e, (r, i) => {
|
|
250
|
+
if (E(i)) {
|
|
251
|
+
let t = i[_];
|
|
252
|
+
q(t, n) && (j(e, r, z(t), e.type_), Re(t));
|
|
253
|
+
} else D(i) && J(i, t, n);
|
|
254
|
+
}), e);
|
|
255
|
+
}
|
|
256
|
+
function We(e, t) {
|
|
257
|
+
let n = M(e), r = {
|
|
258
|
+
type_: +!!n,
|
|
259
|
+
scope_: t ? t.scope_ : Oe(),
|
|
260
|
+
modified_: !1,
|
|
261
|
+
finalized_: !1,
|
|
262
|
+
assigned_: void 0,
|
|
263
|
+
parent_: t,
|
|
264
|
+
base_: e,
|
|
265
|
+
draft_: null,
|
|
266
|
+
copy_: null,
|
|
267
|
+
revoke_: null,
|
|
268
|
+
isManual_: !1,
|
|
269
|
+
callbacks_: void 0
|
|
270
|
+
}, i = r, a = Y;
|
|
271
|
+
n && (i = [r], a = X);
|
|
272
|
+
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
|
|
273
|
+
return r.draft_ = s, r.revoke_ = o, [s, r];
|
|
274
|
+
}
|
|
275
|
+
var Y = {
|
|
276
|
+
get(e, t) {
|
|
277
|
+
if (t === _) return e;
|
|
278
|
+
if (t === "constructor" || t === "__proto__") {
|
|
279
|
+
let n = R(e)[t];
|
|
280
|
+
return new Proxy(n || {}, {
|
|
281
|
+
get: (e, t) => t === "__proto__" || t === "prototype" ? Object.freeze(/* @__PURE__ */ Object.create(null)) : Reflect.get(e, t),
|
|
282
|
+
set: () => !0,
|
|
283
|
+
apply: (e, t, n) => Reflect.apply(e, t, n)
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
|
|
287
|
+
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
|
|
288
|
+
let i = R(e);
|
|
289
|
+
if (!be(i, t, e.type_)) return Ke(e, i, t);
|
|
290
|
+
let a = i[t];
|
|
291
|
+
if (e.finalized_ || !D(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Se(t)) return a;
|
|
292
|
+
if (a === Ge(e.base_, t)) {
|
|
293
|
+
Z(e);
|
|
294
|
+
let n = e.type_ === 1 ? +t : t, r = Q(e.scope_, a, e, n);
|
|
295
|
+
return e.copy_[n] = r;
|
|
296
|
+
}
|
|
297
|
+
return a;
|
|
298
|
+
},
|
|
299
|
+
has(e, t) {
|
|
300
|
+
return t === "constructor" || t === "__proto__" || t === "prototype" ? !1 : t in R(e);
|
|
301
|
+
},
|
|
302
|
+
ownKeys(e) {
|
|
303
|
+
return Reflect.ownKeys(R(e));
|
|
304
|
+
},
|
|
305
|
+
set(e, t, n) {
|
|
306
|
+
if (t === "constructor" || t === "__proto__" || t === "prototype") return !0;
|
|
307
|
+
let r = qe(R(e), t);
|
|
308
|
+
if (r?.set) return r.set.call(e.draft_, n), !0;
|
|
309
|
+
if (!e.modified_) {
|
|
310
|
+
let r = Ge(R(e), t), i = r?.[_];
|
|
311
|
+
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
|
|
312
|
+
if (xe(n, r) && (n !== void 0 || be(e.base_, t, e.type_))) return !0;
|
|
313
|
+
Z(e), Je(e);
|
|
314
|
+
}
|
|
315
|
+
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Ue(e, t, n), !0);
|
|
316
|
+
},
|
|
317
|
+
deleteProperty(e, t) {
|
|
318
|
+
return Z(e), Ge(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Je(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
|
|
319
|
+
},
|
|
320
|
+
getOwnPropertyDescriptor(e, t) {
|
|
321
|
+
let n = R(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
322
|
+
return r && {
|
|
323
|
+
[w]: !0,
|
|
324
|
+
[ge]: e.type_ !== 1 || t !== "length",
|
|
325
|
+
[C]: r[C],
|
|
326
|
+
[T]: n[t]
|
|
327
|
+
};
|
|
328
|
+
},
|
|
329
|
+
defineProperty() {
|
|
330
|
+
v(11);
|
|
331
|
+
},
|
|
332
|
+
getPrototypeOf(e) {
|
|
333
|
+
return b(e.base_);
|
|
334
|
+
},
|
|
335
|
+
setPrototypeOf() {
|
|
336
|
+
v(12);
|
|
337
|
+
}
|
|
338
|
+
}, X = {};
|
|
339
|
+
for (let e in Y) {
|
|
340
|
+
let t = Y[e];
|
|
341
|
+
X[e] = function() {
|
|
342
|
+
let e = arguments;
|
|
343
|
+
return e[0] = e[0][0], t.apply(this, e);
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
X.deleteProperty = function(e, t) {
|
|
347
|
+
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && v(13), X.set.call(this, e, t, void 0);
|
|
348
|
+
}, X.set = function(e, t, n) {
|
|
349
|
+
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && v(14), Y.set.call(this, e[0], t, n, e[0]);
|
|
350
|
+
};
|
|
351
|
+
function Ge(e, t) {
|
|
352
|
+
let n = e[_];
|
|
353
|
+
return (n ? R(n) : e)[t];
|
|
354
|
+
}
|
|
355
|
+
function Ke(e, t, n) {
|
|
356
|
+
let r = qe(t, n);
|
|
357
|
+
return r ? T in r ? r[T] : r.get?.call(e.draft_) : void 0;
|
|
358
|
+
}
|
|
359
|
+
function qe(e, t) {
|
|
360
|
+
if (!(t in e)) return;
|
|
361
|
+
let n = b(e);
|
|
362
|
+
for (; n;) {
|
|
363
|
+
let e = Object.getOwnPropertyDescriptor(n, t);
|
|
364
|
+
if (e) return e;
|
|
365
|
+
n = b(n);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
function Je(e) {
|
|
369
|
+
e.modified_ || (e.modified_ = !0, e.parent_ && Je(e.parent_));
|
|
370
|
+
}
|
|
371
|
+
function Z(e) {
|
|
372
|
+
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), B(e.base_, e.scope_.immer_.useStrictShallowCopy_));
|
|
373
|
+
}
|
|
374
|
+
var Ye = class {
|
|
375
|
+
constructor(e) {
|
|
376
|
+
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
|
|
377
|
+
if (I(e) && !I(t)) {
|
|
378
|
+
let n = t;
|
|
379
|
+
t = e;
|
|
380
|
+
let r = this;
|
|
381
|
+
return function(e = n, ...i) {
|
|
382
|
+
return r.produce(e, (e) => t.call(this, e, ...i));
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
I(t) || v(6), n !== void 0 && !I(n) && v(7);
|
|
386
|
+
let r;
|
|
387
|
+
if (D(e)) {
|
|
388
|
+
let i = Ne(this), a = Q(i, e, void 0), o = !0;
|
|
389
|
+
try {
|
|
390
|
+
r = t(a), o = !1;
|
|
391
|
+
} finally {
|
|
392
|
+
o ? je(i) : Me(i);
|
|
393
|
+
}
|
|
394
|
+
return Ae(i, n), Fe(r, i);
|
|
395
|
+
} else if (!e || !F(e)) {
|
|
396
|
+
if (r = t(e), r === void 0 && (r = e), r === pe && (r = void 0), this.autoFreeze_ && V(r, !0), n) {
|
|
397
|
+
let t = [], i = [];
|
|
398
|
+
G(we).generateReplacementPatches_(e, r, {
|
|
399
|
+
patches_: t,
|
|
400
|
+
inversePatches_: i
|
|
401
|
+
}), n(t, i);
|
|
402
|
+
}
|
|
403
|
+
return r;
|
|
404
|
+
} else v(1, e);
|
|
405
|
+
}, this.produceWithPatches = (e, t) => {
|
|
406
|
+
if (I(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
|
|
407
|
+
let n, r;
|
|
408
|
+
return [
|
|
409
|
+
this.produce(e, t, (e, t) => {
|
|
410
|
+
n = e, r = t;
|
|
411
|
+
}),
|
|
412
|
+
n,
|
|
413
|
+
r
|
|
414
|
+
];
|
|
415
|
+
}, L(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), L(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), L(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
|
|
416
|
+
}
|
|
417
|
+
createDraft(e) {
|
|
418
|
+
D(e) || v(8), E(e) && (e = Xe(e));
|
|
419
|
+
let t = Ne(this), n = Q(t, e, void 0);
|
|
420
|
+
return n[_].isManual_ = !0, Me(t), n;
|
|
421
|
+
}
|
|
422
|
+
finishDraft(e, t) {
|
|
423
|
+
let n = e && e[_];
|
|
424
|
+
(!n || !n.isManual_) && v(9);
|
|
425
|
+
let { scope_: r } = n;
|
|
426
|
+
return Ae(r, t), Fe(void 0, r);
|
|
427
|
+
}
|
|
428
|
+
setAutoFreeze(e) {
|
|
429
|
+
this.autoFreeze_ = e;
|
|
430
|
+
}
|
|
431
|
+
setUseStrictShallowCopy(e) {
|
|
432
|
+
this.useStrictShallowCopy_ = e;
|
|
433
|
+
}
|
|
434
|
+
setUseStrictIteration(e) {
|
|
435
|
+
this.useStrictIteration_ = e;
|
|
436
|
+
}
|
|
437
|
+
shouldUseStrictIteration() {
|
|
438
|
+
return this.useStrictIteration_;
|
|
439
|
+
}
|
|
440
|
+
applyPatches(e, t) {
|
|
441
|
+
let n;
|
|
442
|
+
for (n = t.length - 1; n >= 0; n--) {
|
|
443
|
+
let r = t[n];
|
|
444
|
+
if (r.path.length === 0 && r.op === "replace") {
|
|
445
|
+
e = r.value;
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
n > -1 && (t = t.slice(n + 1));
|
|
450
|
+
let r = G(we).applyPatches_;
|
|
451
|
+
return E(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
function Q(e, t, n, r) {
|
|
455
|
+
let [i, a] = N(t) ? G(W).proxyMap_(t, n) : P(t) ? G(W).proxySet_(t, n) : We(t, n);
|
|
456
|
+
return (n?.scope_ ?? Oe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Ve(n, a, r) : a.callbacks_.push(function(e) {
|
|
457
|
+
e.mapSetPlugin_?.fixSetContents(a);
|
|
458
|
+
let { patchPlugin_: t } = e;
|
|
459
|
+
a.modified_ && t && t.generatePatches_(a, [], e);
|
|
460
|
+
}), i;
|
|
461
|
+
}
|
|
462
|
+
function Xe(e) {
|
|
463
|
+
return E(e) || v(10, e), Ze(e);
|
|
464
|
+
}
|
|
465
|
+
function Ze(e) {
|
|
466
|
+
if (!D(e) || U(e)) return e;
|
|
467
|
+
let t = e[_], n, r = !0;
|
|
468
|
+
if (t) {
|
|
469
|
+
if (!t.modified_) return t.base_;
|
|
470
|
+
t.finalized_ = !0, n = B(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
|
|
471
|
+
} else n = B(e, !0);
|
|
472
|
+
return O(n, (e, t) => {
|
|
473
|
+
j(n, e, Ze(t));
|
|
474
|
+
}, r), t && (t.finalized_ = !1), n;
|
|
475
|
+
}
|
|
476
|
+
var $ = new Ye().produce, Qe = /* @__PURE__ */ e(c(), 1), $e = /* @__PURE__ */ e(o(), 1), et = /* @__PURE__ */ e(f(), 1), tt = /* @__PURE__ */ e(p(), 1), nt = (e) => {
|
|
477
|
+
let { caseSetId: t, completeCaseType: n, ...r } = e;
|
|
478
|
+
return {
|
|
479
|
+
...ue(r),
|
|
480
|
+
caseSetId: t,
|
|
481
|
+
completeCaseType: n,
|
|
482
|
+
dataContext: n,
|
|
483
|
+
expandedZone: null,
|
|
484
|
+
filteredData: {
|
|
485
|
+
[i]: [],
|
|
486
|
+
[a]: []
|
|
487
|
+
},
|
|
488
|
+
findSimilarCasesResults: [],
|
|
489
|
+
frontendFilterPriorities: [i, a],
|
|
490
|
+
isMaxResultsExceeded: !1,
|
|
491
|
+
isMaxResultsExceededDismissed: !1,
|
|
492
|
+
newick: null,
|
|
493
|
+
numVisibleAttributesInSummary: ie.getInstance().config.epi.INITIAL_NUM_VISIBLE_ATTRIBUTES_IN_CASE_SUMMARY,
|
|
494
|
+
stratification: null,
|
|
495
|
+
stratifyableColumns: [],
|
|
496
|
+
tree: null,
|
|
497
|
+
treeAddresses: {},
|
|
498
|
+
treeResponse: null,
|
|
499
|
+
widgetData: Object.entries(ie.getInstance().config.dashboard.WIDGETS).reduce((e, [t, n]) => (e[t] = (0, tt.default)(n.dataDefaultValues), e), {}),
|
|
500
|
+
widgetDataPersistable: Object.entries(ie.getInstance().config.dashboard.WIDGETS).reduce((e, [t, n]) => (e[t] = (0, tt.default)(n.dataDefaultValues), e), {})
|
|
501
|
+
};
|
|
502
|
+
}, rt = (e) => {
|
|
503
|
+
let { caseSetId: o, completeCaseType: c, ...f } = e, p = ee()(te((e, r) => {
|
|
504
|
+
let i = nt({
|
|
505
|
+
caseSetId: o,
|
|
506
|
+
completeCaseType: c,
|
|
507
|
+
...f
|
|
508
|
+
}), a = le({
|
|
509
|
+
get: r,
|
|
510
|
+
set: e
|
|
511
|
+
});
|
|
512
|
+
return {
|
|
513
|
+
...i,
|
|
514
|
+
...a,
|
|
515
|
+
addTreeFilter: async (e) => {
|
|
516
|
+
let { filters: n, reloadSelectedIds: i, resetTreeAddresses: a, setFilterValue: o } = r();
|
|
517
|
+
a(), await o(n.find((e) => e instanceof t).id, e), i();
|
|
518
|
+
},
|
|
519
|
+
destroy: () => {
|
|
520
|
+
a.destroy();
|
|
521
|
+
},
|
|
522
|
+
expandZone: (t) => {
|
|
523
|
+
e({ expandedZone: t });
|
|
524
|
+
},
|
|
525
|
+
fetchData: async () => {
|
|
526
|
+
e({
|
|
527
|
+
dataError: null,
|
|
528
|
+
isMaxResultsExceeded: !1,
|
|
529
|
+
isMaxResultsExceededDismissed: !1
|
|
530
|
+
});
|
|
531
|
+
let { fetchAbortController: t, findSimilarCasesResults: n, globalAbortSignal: i } = r(), a = h.getInstance().queryClient, l = n?.flatMap((e) => e.similarCaseIds) || [];
|
|
532
|
+
t && !t.signal.aborted && t.abort();
|
|
533
|
+
let u = new AbortController(), d = () => {
|
|
534
|
+
u.abort(), i.removeEventListener("abort", d);
|
|
535
|
+
};
|
|
536
|
+
i.addEventListener("abort", d), e({ fetchAbortController: u }), e({ isDataLoading: !0 });
|
|
537
|
+
let { filters: ee, setBaseData: f } = r(), te = ee.filter((e) => e.filterMode === oe.BACKEND && !e.isInitialFilterValue()).map((e) => e.toBackendFilter()).filter((e) => !!e), p = te.length ? {
|
|
538
|
+
filters: te,
|
|
539
|
+
operator: "AND",
|
|
540
|
+
type: "COMPOSITE"
|
|
541
|
+
} : void 0, m = {
|
|
542
|
+
case_set_ids: o ? [o] : void 0,
|
|
543
|
+
case_type_id: c.id,
|
|
544
|
+
filter: p
|
|
545
|
+
}, re = [
|
|
546
|
+
s.CASE_IDS_BY_QUERY,
|
|
547
|
+
c.id,
|
|
548
|
+
JSON.stringify(m)
|
|
549
|
+
];
|
|
550
|
+
try {
|
|
551
|
+
let t = h.getInstance().getValidQueryData(re);
|
|
552
|
+
t || (t = (await ne.getInstance().retrieveCaseIdsByQuery(m, { signal: u.signal })).data, a.setQueryData(re, t));
|
|
553
|
+
let n = (0, $e.default)([...t.case_ids, ...l]), r = h.getInstance().getValidQueryData(h.getInstance().getGenericKey(s.CASES_LAZY)), i = (0, Qe.default)(n, (r ?? []).map((e) => e.id));
|
|
554
|
+
if (i.length) {
|
|
555
|
+
let e = (await ne.getInstance().retrieveCasesByIds({
|
|
556
|
+
case_ids: i,
|
|
557
|
+
case_type_id: c.id
|
|
558
|
+
}, { signal: u.signal })).data;
|
|
559
|
+
a.setQueryData(h.getInstance().getGenericKey(s.CASES_LAZY), [...r ?? [], ...e]);
|
|
560
|
+
}
|
|
561
|
+
let o = new Map((h.getInstance().getValidQueryData(h.getInstance().getGenericKey(s.CASES_LAZY)) ?? []).map((e) => [e.id, e]));
|
|
562
|
+
o.forEach((e) => {
|
|
563
|
+
a.setQueryData(h.getInstance().getGenericKey(s.CASES_LAZY, e.id), e);
|
|
564
|
+
}), f(n.map((e) => o.get(e))), e({
|
|
565
|
+
isDataLoading: !1,
|
|
566
|
+
isMaxResultsExceeded: t.is_max_results_exceeded
|
|
567
|
+
});
|
|
568
|
+
} catch (t) {
|
|
569
|
+
ce.isAxiosCanceledError(t) || e({ dataError: t });
|
|
570
|
+
} finally {
|
|
571
|
+
i.removeEventListener("abort", d);
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
getWidgetData: (e) => r().widgetData[e],
|
|
575
|
+
getWidgetDataPersistable: (e) => r().widgetDataPersistable[e],
|
|
576
|
+
mutateCachedCase: (e, t) => {
|
|
577
|
+
let n = h.getInstance().queryClient, r = h.getInstance().getValidQueryData(h.getInstance().getGenericKey(s.CASES_LAZY));
|
|
578
|
+
n.setQueryData(h.getInstance().getGenericKey(s.CASES_LAZY), r.map((n) => n.id === e ? t : n));
|
|
579
|
+
},
|
|
580
|
+
reloadFieldStratification: () => {
|
|
581
|
+
let { stratification: e, stratify: t, stratifyableColumns: n } = r();
|
|
582
|
+
if (e?.mode === l.FIELD && !n.find((t) => t.col.ref_col_id === e.col.ref_col_id)?.enabled) {
|
|
583
|
+
ae.getInstance().showNotification({
|
|
584
|
+
message: m`The grouping column is no longer available. Grouping has been removed.`,
|
|
585
|
+
severity: "info"
|
|
586
|
+
}), t(null);
|
|
587
|
+
return;
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
reloadFilterData: () => {
|
|
591
|
+
let { reloadFieldStratification: e, reloadStratifyableColumns: t } = r();
|
|
592
|
+
a.reloadFilterData(), t(), e();
|
|
593
|
+
},
|
|
594
|
+
reloadFilterPriorityData: (e, i) => {
|
|
595
|
+
let { filters: a, reloadTree: o } = r();
|
|
596
|
+
if (e === "selection") {
|
|
597
|
+
let e = a.find((e) => e instanceof n), t;
|
|
598
|
+
if (e.isInitialFilterValue()) t = i;
|
|
599
|
+
else {
|
|
600
|
+
let n = e.filterValue;
|
|
601
|
+
t = i.filter((e) => n.includes(e.id));
|
|
602
|
+
}
|
|
603
|
+
return t;
|
|
604
|
+
}
|
|
605
|
+
if (e === "tree") {
|
|
606
|
+
let e = a.find((e) => e instanceof t);
|
|
607
|
+
o();
|
|
608
|
+
let { tree: n } = r(), s;
|
|
609
|
+
if (e.isInitialFilterValue()) s = i;
|
|
610
|
+
else {
|
|
611
|
+
let { subTreeLeaveNames: e } = n;
|
|
612
|
+
s = i.filter((t) => e.includes(t.id));
|
|
613
|
+
}
|
|
614
|
+
return s;
|
|
615
|
+
}
|
|
616
|
+
throw Error(`Unknown filter group: ${e}`);
|
|
617
|
+
},
|
|
618
|
+
reloadStratifyableColumns: () => {
|
|
619
|
+
let { filteredData: t, frontendFilterPriorities: n } = r(), i = t[(0, et.default)(n)];
|
|
620
|
+
e({ stratifyableColumns: u.getStratifyableColumns({
|
|
621
|
+
completeCaseType: c,
|
|
622
|
+
data: i
|
|
623
|
+
}) });
|
|
624
|
+
},
|
|
625
|
+
reloadTree: () => {
|
|
626
|
+
let { filters: n, getWidgetDataPersistable: i, treeResponse: a } = r(), o = i(d.TREE).treeConfiguration, s = n.find((e) => e instanceof t)?.filterValue, c = s ? g.findNewTreeRoot(a, s, "node") : a;
|
|
627
|
+
c && e({ treeAddresses: {
|
|
628
|
+
...r().treeAddresses,
|
|
629
|
+
[o.col.id]: {
|
|
630
|
+
addresses: g.createTreeAddresses(c),
|
|
631
|
+
algorithmCode: o.treeAlgorithm.code
|
|
632
|
+
}
|
|
633
|
+
} }), e({ tree: c });
|
|
634
|
+
},
|
|
635
|
+
removeTreeFilter: async () => {
|
|
636
|
+
let { filters: e, resetTreeAddresses: n, setFilterValue: i } = r(), a = e.find((e) => e instanceof t);
|
|
637
|
+
a.filterValue && (n(), await i(a.id, a.initialFilterValue));
|
|
638
|
+
},
|
|
639
|
+
resetTreeAddresses: () => {
|
|
640
|
+
e({ treeAddresses: {} });
|
|
641
|
+
},
|
|
642
|
+
setFilterValues: async (e) => {
|
|
643
|
+
let { filters: n } = r(), i = {};
|
|
644
|
+
n.forEach((e) => {
|
|
645
|
+
i[e.id] = e.filterValue;
|
|
646
|
+
});
|
|
647
|
+
let o = re.getObjectDiff(i, e), s = n.find((e) => e instanceof t);
|
|
648
|
+
!s.isInitialFilterValue(i[s.id]) && !o.includes(s.id) ? (ae.getInstance().showNotification({
|
|
649
|
+
message: m`The tree filter has automatically been removed, because it's incompatible with the results of the other filters.`,
|
|
650
|
+
severity: "info"
|
|
651
|
+
}), await a.setFilterValues({
|
|
652
|
+
...e,
|
|
653
|
+
[s.id]: s.initialFilterValue
|
|
654
|
+
})) : await a.setFilterValues(e);
|
|
655
|
+
},
|
|
656
|
+
setFindSimilarCasesResults: async (n) => {
|
|
657
|
+
let { filters: i, stratification: o, stratify: s } = r(), c = {};
|
|
658
|
+
i.forEach((e) => {
|
|
659
|
+
c[e.id] = e.filterValue;
|
|
660
|
+
});
|
|
661
|
+
let u = i.find((e) => e instanceof t);
|
|
662
|
+
u.isInitialFilterValue(c[u.id]) || (ae.getInstance().showNotification({
|
|
663
|
+
message: m`The tree filter has automatically been removed, because it's incompatible with the results of "Find Similar Cases".`,
|
|
664
|
+
severity: "info"
|
|
665
|
+
}), await a.setFilterValues({
|
|
666
|
+
...c,
|
|
667
|
+
[u.id]: u.initialFilterValue
|
|
668
|
+
})), e({ findSimilarCasesResults: n }), await r().fetchData(), o?.mode === l.SIMILAR_CASES && s(l.SIMILAR_CASES);
|
|
669
|
+
},
|
|
670
|
+
setNumVisibleAttributesInSummary: (t) => {
|
|
671
|
+
e({ numVisibleAttributesInSummary: t });
|
|
672
|
+
},
|
|
673
|
+
setPhylogeneticTreeResponse: (t) => {
|
|
674
|
+
let { newick: n, reloadSelectedIds: i, reloadSortedData: a, reloadTree: o } = r();
|
|
675
|
+
if (n !== t.newick_repr) {
|
|
676
|
+
if (t.newick_repr && t.newick_repr.trim().length > 0 && t.newick_repr !== "();") {
|
|
677
|
+
let n = fe.parse(t.newick_repr), r = g.sanitizeTree(n, c.genetic_distance_protocols[t.protocol_id].seqdb_max_stored_distance), i = fe.getSortedNames(r);
|
|
678
|
+
e({
|
|
679
|
+
newick: t.newick_repr,
|
|
680
|
+
sortedIds: i,
|
|
681
|
+
tree: r,
|
|
682
|
+
treeResponse: r
|
|
683
|
+
});
|
|
684
|
+
} else e({
|
|
685
|
+
newick: t.newick_repr,
|
|
686
|
+
sortedIds: [],
|
|
687
|
+
tree: null,
|
|
688
|
+
treeResponse: null
|
|
689
|
+
});
|
|
690
|
+
o(), a(), i();
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
setSelectedIds: (e) => {
|
|
694
|
+
a.setSelectedIds(e);
|
|
695
|
+
let { stratification: t, stratify: n } = r();
|
|
696
|
+
e.length && (!t || t?.mode === l.SELECTION) ? n(l.SELECTION) : t?.mode === l.SELECTION && !e.length && n(null);
|
|
697
|
+
},
|
|
698
|
+
stratify: (t, n) => {
|
|
699
|
+
let { findSimilarCasesResults: i, selectedIds: a, sortedData: o } = r();
|
|
700
|
+
e({ stratification: u.getStratification({
|
|
701
|
+
col: n,
|
|
702
|
+
completeCaseType: c,
|
|
703
|
+
mode: t,
|
|
704
|
+
selectedIds: a,
|
|
705
|
+
similarCaseIds: i?.flatMap((e) => e.similarCaseIds) || [],
|
|
706
|
+
sortedData: o
|
|
707
|
+
}) });
|
|
708
|
+
},
|
|
709
|
+
treeFilterStepOut: async () => {
|
|
710
|
+
let { filters: e, resetTreeAddresses: n, setFilterValue: i, treeResponse: a } = r();
|
|
711
|
+
n();
|
|
712
|
+
let o = e.find((e) => e instanceof t), s = g.findNewTreeRoot(a, o?.filterValue, "parent").name;
|
|
713
|
+
await i(o.id, s === a.name ? null : s);
|
|
714
|
+
},
|
|
715
|
+
updateWidgetData: (t, n) => {
|
|
716
|
+
e({ widgetData: $(r().widgetData, (e) => ({
|
|
717
|
+
...e,
|
|
718
|
+
[t]: {
|
|
719
|
+
...e[t],
|
|
720
|
+
...n
|
|
721
|
+
}
|
|
722
|
+
})) });
|
|
723
|
+
},
|
|
724
|
+
updateWidgetDataPersistable: (t, n) => {
|
|
725
|
+
e({ widgetDataPersistable: $(r().widgetDataPersistable, (e) => ({
|
|
726
|
+
...e,
|
|
727
|
+
[t]: {
|
|
728
|
+
...e[t],
|
|
729
|
+
...n
|
|
730
|
+
}
|
|
731
|
+
})) });
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
}, de(e.storageNamePostFix, e.storageVersion, (e) => ({
|
|
735
|
+
numVisibleAttributesInSummary: e.numVisibleAttributesInSummary,
|
|
736
|
+
widgetDataPersistable: e.widgetDataPersistable
|
|
737
|
+
}))));
|
|
738
|
+
return p.getState().setFilters(r.createFilters(c), r.createFilterDimensions(c), [i, a]), p;
|
|
739
|
+
}, it = se(null);
|
|
740
|
+
//#endregion
|
|
741
|
+
export { rt as n, $ as r, it as t };
|
|
742
|
+
|
|
743
|
+
//# sourceMappingURL=dashboardStore.js.map
|