@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.
Files changed (393) hide show
  1. package/dist/@types/mui.d.ts +1 -1
  2. package/dist/@types/{ui-casedb.d.ts → ui-client-casedb.d.ts} +1 -1
  3. package/dist/_chunks/AddCasesToEventDialog.js +74 -74
  4. package/dist/_chunks/AddCasesToEventDialog.js.map +1 -1
  5. package/dist/_chunks/CaseContentForm.js +2 -2
  6. package/dist/_chunks/CaseContentForm.js.map +1 -1
  7. package/dist/_chunks/CaseDbDownloadUtil.js +40 -35
  8. package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -1
  9. package/dist/_chunks/CaseInfoDialog.js +195 -195
  10. package/dist/_chunks/CaseInfoDialog.js.map +1 -1
  11. package/dist/_chunks/CaseSetInfoDialog.js +131 -131
  12. package/dist/_chunks/CaseSetInfoDialog.js.map +1 -1
  13. package/dist/_chunks/CaseTypeInfoDialog.js +63 -61
  14. package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -1
  15. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +6 -6
  16. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -1
  17. package/dist/_chunks/CompletCaseTypeLoader.js +3 -3
  18. package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -1
  19. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +1 -1
  20. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -1
  21. package/dist/_chunks/CustomTabPanel.js.map +1 -1
  22. package/dist/_chunks/Dashboard.js +399 -386
  23. package/dist/_chunks/Dashboard.js.map +1 -1
  24. package/dist/_chunks/DashboardStoreLoader.js +5 -5
  25. package/dist/_chunks/DashboardStoreLoader.js.map +1 -1
  26. package/dist/_chunks/DataCollectionAccessInfo.js +21 -21
  27. package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -1
  28. package/dist/_chunks/EpiCurveUtil.js +4 -4
  29. package/dist/_chunks/EpiCurveUtil.js.map +1 -1
  30. package/dist/_chunks/EpiCurveWidget.js +189 -183
  31. package/dist/_chunks/EpiCurveWidget.js.map +1 -1
  32. package/dist/_chunks/FilterUtil.js +103 -101
  33. package/dist/_chunks/FilterUtil.js.map +1 -1
  34. package/dist/_chunks/FindSimilarCasesDialog.js +16 -16
  35. package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -1
  36. package/dist/_chunks/FindSimilarCasesUtil.js +9 -9
  37. package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -1
  38. package/dist/_chunks/HomePageTrends.js +8 -8
  39. package/dist/_chunks/HomePageTrends.js.map +1 -1
  40. package/dist/_chunks/LegendaItem.js +3 -3
  41. package/dist/_chunks/LegendaItem.js.map +1 -1
  42. package/dist/_chunks/LineListWidget.js +23 -21
  43. package/dist/_chunks/LineListWidget.js.map +1 -1
  44. package/dist/_chunks/PanelSeparator.js +374 -384
  45. package/dist/_chunks/PanelSeparator.js.map +1 -1
  46. package/dist/_chunks/Upload.js +222 -207
  47. package/dist/_chunks/Upload.js.map +1 -1
  48. package/dist/_chunks/UploadUtil.js +1970 -841
  49. package/dist/_chunks/UploadUtil.js.map +1 -1
  50. package/dist/_chunks/UserRightsDialog.js +12 -12
  51. package/dist/_chunks/UserRightsDialog.js.map +1 -1
  52. package/dist/_chunks/_MapCache.js +2 -2
  53. package/dist/_chunks/_baseGet.js +1 -1
  54. package/dist/_chunks/_baseGet.js.map +1 -1
  55. package/dist/_chunks/_baseIteratee.js +1 -1
  56. package/dist/_chunks/_baseIteratee.js.map +1 -1
  57. package/dist/_chunks/_setToString.js.map +1 -1
  58. package/dist/_chunks/{chunk-KS7C4IRE.js → chunk-BV7QT456.js} +330 -495
  59. package/dist/_chunks/chunk-BV7QT456.js.map +1 -0
  60. package/dist/_chunks/cloneDeep.js +11 -9
  61. package/dist/_chunks/cloneDeep.js.map +1 -1
  62. package/dist/_chunks/dashboardStore.js +259 -261
  63. package/dist/_chunks/dashboardStore.js.map +1 -1
  64. package/dist/_chunks/esm.js +2900 -2868
  65. package/dist/_chunks/esm.js.map +1 -1
  66. package/dist/_chunks/format.js +8 -8
  67. package/dist/_chunks/format.js.map +1 -1
  68. package/dist/_chunks/index.esm.js +919 -796
  69. package/dist/_chunks/index.esm.js.map +1 -1
  70. package/dist/_chunks/index.module.js +1 -1
  71. package/dist/_chunks/index.module.js.map +1 -1
  72. package/dist/_chunks/protectedTokens.js +79 -81
  73. package/dist/_chunks/protectedTokens.js.map +1 -1
  74. package/dist/_chunks/react.js +1 -1
  75. package/dist/_chunks/react.js.map +1 -1
  76. package/dist/_chunks/round.js +1 -1
  77. package/dist/_chunks/round.js.map +1 -1
  78. package/dist/_chunks/shallow.js +2 -2
  79. package/dist/_chunks/shallow.js.map +1 -1
  80. package/dist/_chunks/sync.js +198 -161
  81. package/dist/_chunks/sync.js.map +1 -1
  82. package/dist/_chunks/toDate.js +1 -1
  83. package/dist/_chunks/toDate.js.map +1 -1
  84. package/dist/_chunks/toString.js +1 -1
  85. package/dist/_chunks/toString.js.map +1 -1
  86. package/dist/_chunks/useUnit.js.map +1 -1
  87. package/dist/_chunks/vanilla.js +1 -1
  88. package/dist/_chunks/vanilla.js.map +1 -1
  89. package/dist/_chunks/yup.js +5 -5
  90. package/dist/_chunks/yup.js.map +1 -1
  91. package/dist/classes/filters/SelectionFilter.d.ts +2 -2
  92. package/dist/classes/filters/TreeFilter.d.ts +2 -2
  93. package/dist/classes/services/DataService/index.js +3 -3
  94. package/dist/classes/services/DataService/index.js.map +1 -1
  95. package/dist/classes/services/EventBusService/EventBusService.d.ts +1 -1
  96. package/dist/classes/services/EventBusService/index.js.map +1 -1
  97. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +1 -1
  98. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -1
  99. package/dist/components/app/CaseDbApp/index.js +8 -5
  100. package/dist/components/app/CaseDbApp/index.js.map +1 -1
  101. package/dist/components/form/fields/ArrangementEditor/index.js +83 -83
  102. package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -1
  103. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +2 -2
  104. package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +2 -2
  105. package/dist/components/ui/CaseContentFormDialog/index.js +1 -1
  106. package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -1
  107. package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +2 -2
  108. package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +2 -2
  109. package/dist/components/ui/CaseSummary/index.js +1 -1
  110. package/dist/components/ui/CaseSummary/index.js.map +1 -1
  111. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +2 -2
  112. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +1 -1
  113. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +2 -2
  114. package/dist/components/ui/ContextMenu/index.js.map +1 -1
  115. package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +2 -2
  116. package/dist/components/ui/CreateEventDialog/index.js +9 -9
  117. package/dist/components/ui/CreateEventDialog/index.js.map +1 -1
  118. package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +1 -1
  119. package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +1 -1
  120. package/dist/components/ui/Dashboard/DashboardWidget.d.ts +1 -1
  121. package/dist/components/ui/DashboardEditCases/index.js +1 -1
  122. package/dist/components/ui/DashboardEditCases/index.js.map +1 -1
  123. package/dist/components/ui/FileSelector/index.js +46 -46
  124. package/dist/components/ui/FileSelector/index.js.map +1 -1
  125. package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +2 -2
  126. package/dist/components/ui/Grouping/index.js +50 -50
  127. package/dist/components/ui/Grouping/index.js.map +1 -1
  128. package/dist/components/ui/HistogramWidget/index.js +1 -1
  129. package/dist/components/ui/HistogramWidget/index.js.map +1 -1
  130. package/dist/components/ui/MapWidget/index.js +7 -3
  131. package/dist/components/ui/MapWidget/index.js.map +1 -1
  132. package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +2 -2
  133. package/dist/components/ui/RemoveCasesFromEventDialog/index.js +6 -6
  134. package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -1
  135. package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +2 -2
  136. package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +2 -2
  137. package/dist/components/ui/SequenceDownloadDialog/index.js +22 -22
  138. package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -1
  139. package/dist/components/ui/TreeDescription/index.js.map +1 -1
  140. package/dist/components/ui/TreeWidget/index.js +11 -11
  141. package/dist/components/ui/TreeWidget/index.js.map +1 -1
  142. package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +2 -2
  143. package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +2 -2
  144. package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +2 -2
  145. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +2 -2
  146. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +25 -11
  147. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -1
  148. package/dist/components/ui/Warning/index.js.map +1 -1
  149. package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -1
  150. package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +1 -1
  151. package/dist/components/ui/WidgetMenu/index.js +2 -2
  152. package/dist/components/ui/WidgetMenu/index.js.map +1 -1
  153. package/dist/components/ui/WidgetUnavailable/index.js.map +1 -1
  154. package/dist/constants/query.d.ts +1 -1
  155. package/dist/constants/query.js +1 -1
  156. package/dist/constants/query.js.map +1 -1
  157. package/dist/context/caseAbac/CaseAbacContext.d.ts +1 -1
  158. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +3 -3
  159. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -1
  160. package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +1 -1
  161. package/dist/dataHooks/useCaseRightsQuery/index.js +2 -2
  162. package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -1
  163. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +3 -3
  164. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -1
  165. package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +1 -1
  166. package/dist/dataHooks/useCaseSetRightsQuery/index.js +2 -2
  167. package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -1
  168. package/dist/dataHooks/useCaseSetStatsQuery/index.js +3 -3
  169. package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -1
  170. package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +1 -1
  171. package/dist/dataHooks/useCaseSetStatusesQuery/index.js +3 -3
  172. package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -1
  173. package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +1 -1
  174. package/dist/dataHooks/useCaseSetsQuery/index.js +3 -3
  175. package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -1
  176. package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +1 -1
  177. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +3 -3
  178. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -1
  179. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +1 -1
  180. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -1
  181. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +1 -1
  182. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +2 -2
  183. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -1
  184. package/dist/dataHooks/useCaseTypeSetsQuery/index.js +3 -3
  185. package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -1
  186. package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +1 -1
  187. package/dist/dataHooks/useCaseTypeStatsQuery/index.js +2 -2
  188. package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -1
  189. package/dist/dataHooks/useCaseTypesQuery/index.js +3 -3
  190. package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -1
  191. package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +1 -1
  192. package/dist/dataHooks/useColSetMembersQuery/index.js +2 -2
  193. package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -1
  194. package/dist/dataHooks/useColSetsQuery/index.js +3 -3
  195. package/dist/dataHooks/useColSetsQuery/index.js.map +1 -1
  196. package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +1 -1
  197. package/dist/dataHooks/useColTypesQuery/index.js.map +1 -1
  198. package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +1 -1
  199. package/dist/dataHooks/useColsQuery/index.js +3 -3
  200. package/dist/dataHooks/useColsQuery/index.js.map +1 -1
  201. package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +1 -1
  202. package/dist/dataHooks/useConceptQuery/index.js +3 -3
  203. package/dist/dataHooks/useConceptQuery/index.js.map +1 -1
  204. package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +1 -1
  205. package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -1
  206. package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +1 -1
  207. package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -1
  208. package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +1 -1
  209. package/dist/dataHooks/useConceptSetsQuery/index.js +3 -3
  210. package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -1
  211. package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +1 -1
  212. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +2 -2
  213. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -1
  214. package/dist/dataHooks/useDataCollectionsQuery/index.js +3 -3
  215. package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -1
  216. package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +1 -1
  217. package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -1
  218. package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +1 -1
  219. package/dist/dataHooks/useDimsQuery/index.js +3 -3
  220. package/dist/dataHooks/useDimsQuery/index.js.map +1 -1
  221. package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +1 -1
  222. package/dist/dataHooks/useDiseasesQuery/index.js +3 -3
  223. package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -1
  224. package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +1 -1
  225. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +3 -3
  226. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -1
  227. package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +1 -1
  228. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +3 -3
  229. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -1
  230. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +1 -1
  231. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +2 -2
  232. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -1
  233. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +2 -2
  234. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -1
  235. package/dist/dataHooks/useRefColsQuery/index.js +3 -3
  236. package/dist/dataHooks/useRefColsQuery/index.js.map +1 -1
  237. package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +1 -1
  238. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +2 -2
  239. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -1
  240. package/dist/dataHooks/useRefDimsQuery/index.js +3 -3
  241. package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -1
  242. package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +1 -1
  243. package/dist/dataHooks/useRegionQuery/index.js +3 -3
  244. package/dist/dataHooks/useRegionQuery/index.js.map +1 -1
  245. package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +1 -1
  246. package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -1
  247. package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +1 -1
  248. package/dist/dataHooks/useRegionSetsQuery/index.js +3 -3
  249. package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -1
  250. package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +1 -1
  251. package/dist/dataHooks/useSequencingProtocolsQuery/index.js +3 -3
  252. package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -1
  253. package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +1 -1
  254. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -1
  255. package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +1 -1
  256. package/dist/dataHooks/useUnitQuery/useUnit.d.ts +1 -1
  257. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +2 -2
  258. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -1
  259. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +3 -3
  260. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -1
  261. package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +1 -1
  262. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +2 -2
  263. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -1
  264. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +2 -2
  265. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -1
  266. package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +1 -1
  267. package/dist/hooks/useUserCasePolicyNameFactory/index.js +3 -3
  268. package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -1
  269. package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +1 -1
  270. package/dist/locale/nl.json +1 -1
  271. package/dist/models/config.d.ts +1 -1
  272. package/dist/models/dashboard.d.ts +1 -1
  273. package/dist/models/dashboard.js.map +1 -1
  274. package/dist/models/theme.d.ts +2 -2
  275. package/dist/pages/CaseDbUsersAdminPage/index.js +5 -5
  276. package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -1
  277. package/dist/pages/CaseSetCategoryAdminPage/index.js +4 -4
  278. package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -1
  279. package/dist/pages/CaseSetStatusAdminPage/index.js +4 -4
  280. package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -1
  281. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +4 -4
  282. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -1
  283. package/dist/pages/CaseTypeSetsAdminPage/index.js +6 -6
  284. package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -1
  285. package/dist/pages/CaseTypesAdminPage/index.js +5 -5
  286. package/dist/pages/CaseTypesAdminPage/index.js.map +1 -1
  287. package/dist/pages/CasesDetailPage/index.js +5 -5
  288. package/dist/pages/CasesDetailPage/index.js.map +1 -1
  289. package/dist/pages/CasesPage/index.js +10 -10
  290. package/dist/pages/CasesPage/index.js.map +1 -1
  291. package/dist/pages/ColSetsAdminPage/index.js +6 -6
  292. package/dist/pages/ColSetsAdminPage/index.js.map +1 -1
  293. package/dist/pages/ColsAdminPage/index.js +5 -5
  294. package/dist/pages/ColsAdminPage/index.js.map +1 -1
  295. package/dist/pages/ConceptRelationsAdminPage/index.js +19 -19
  296. package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -1
  297. package/dist/pages/ConceptSetsAdminPage/index.js +5 -5
  298. package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -1
  299. package/dist/pages/ConceptsAdminPage/index.js +5 -5
  300. package/dist/pages/ConceptsAdminPage/index.js.map +1 -1
  301. package/dist/pages/DataCollectionSetsAdminPage/index.js +12 -12
  302. package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -1
  303. package/dist/pages/DataCollectionVisualizationPage/index.js +4 -4
  304. package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -1
  305. package/dist/pages/DataCollectionsAdminPage/index.js +4 -4
  306. package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -1
  307. package/dist/pages/DimsAdminPage/index.js +6 -6
  308. package/dist/pages/DimsAdminPage/index.js.map +1 -1
  309. package/dist/pages/DiseasesAdminPage/index.js +4 -4
  310. package/dist/pages/DiseasesAdminPage/index.js.map +1 -1
  311. package/dist/pages/EtiologicalAgentsAdminPage/index.js +4 -4
  312. package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -1
  313. package/dist/pages/EtiologiesAdminPage/index.js +3 -3
  314. package/dist/pages/EtiologiesAdminPage/index.js.map +1 -1
  315. package/dist/pages/EventsDetailPage/index.js +5 -5
  316. package/dist/pages/EventsDetailPage/index.js.map +1 -1
  317. package/dist/pages/EventsPage/index.js +11 -11
  318. package/dist/pages/EventsPage/index.js.map +1 -1
  319. package/dist/pages/HomePage/index.js +2 -2
  320. package/dist/pages/HomePage/index.js.map +1 -1
  321. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +4 -4
  322. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -1
  323. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +4 -4
  324. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -1
  325. package/dist/pages/RefColsAdminPage/index.js +7 -7
  326. package/dist/pages/RefColsAdminPage/index.js.map +1 -1
  327. package/dist/pages/RefDimsAdminPage/index.js +5 -5
  328. package/dist/pages/RefDimsAdminPage/index.js.map +1 -1
  329. package/dist/pages/RegionRelationsAdminPage/index.js +3 -3
  330. package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -1
  331. package/dist/pages/RegionSetShapesAdminPage/index.js +4 -4
  332. package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -1
  333. package/dist/pages/RegionSetsAdminPage/index.js +5 -5
  334. package/dist/pages/RegionSetsAdminPage/index.js.map +1 -1
  335. package/dist/pages/RegionsAdminPage/index.js +5 -5
  336. package/dist/pages/RegionsAdminPage/index.js.map +1 -1
  337. package/dist/pages/TrendsPage/index.js +1 -1
  338. package/dist/pages/TrendsPage/index.js.map +1 -1
  339. package/dist/pages/UploadPage/index.js +1 -1
  340. package/dist/pages/UploadPage/index.js.map +1 -1
  341. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +4 -4
  342. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -1
  343. package/dist/pages/UserEffectiveRightsAdminPage/index.js +12 -12
  344. package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -1
  345. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +8 -8
  346. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -1
  347. package/dist/pages/UserShareCasePoliciesAdminPage/index.js +4 -4
  348. package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -1
  349. package/dist/routes/adminRoutes.d.ts +1 -1
  350. package/dist/routes/index.js +11 -8
  351. package/dist/routes/index.js.map +1 -1
  352. package/dist/routes/routes.d.ts +1 -1
  353. package/dist/setup/setup.js +5 -5
  354. package/dist/setup/setup.js.map +1 -1
  355. package/dist/stores/dashboardStore/dashboardStore.d.ts +1 -1
  356. package/dist/stores/uploadStore/index.js +2 -2
  357. package/dist/stores/uploadStore/index.js.map +1 -1
  358. package/dist/stores/uploadStore/uploadStore.d.ts +1 -1
  359. package/dist/stores/userProfileStore/index.js +2 -2
  360. package/dist/stores/userProfileStore/index.js.map +1 -1
  361. package/dist/theme/demoTheme/index.js +2 -2
  362. package/dist/theme/demoTheme/index.js.map +1 -1
  363. package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +1 -1
  364. package/dist/utils/CaseDbDataUtil/index.js +1 -1
  365. package/dist/utils/CaseDbDataUtil/index.js.map +1 -1
  366. package/dist/utils/CaseDbStandardConfigUtil/index.js +2488 -1408
  367. package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -1
  368. package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +1 -1
  369. package/dist/utils/CaseDbTableUtil/index.js +1 -1
  370. package/dist/utils/CaseDbTableUtil/index.js.map +1 -1
  371. package/dist/utils/CaseSelectionUtil/index.js.map +1 -1
  372. package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +1 -1
  373. package/dist/utils/CaseTypeFormUtil/index.js +7 -10
  374. package/dist/utils/CaseTypeFormUtil/index.js.map +1 -1
  375. package/dist/utils/CaseTypeUtil/index.js +1 -1
  376. package/dist/utils/CaseTypeUtil/index.js.map +1 -1
  377. package/dist/utils/CaseUtil/index.js +3 -3
  378. package/dist/utils/CaseUtil/index.js.map +1 -1
  379. package/dist/utils/DashboardUtil/index.js +1 -1
  380. package/dist/utils/DashboardUtil/index.js.map +1 -1
  381. package/dist/utils/DataSetUtil/index.js.map +1 -1
  382. package/dist/utils/FileUtil/index.js +1 -1
  383. package/dist/utils/FileUtil/index.js.map +1 -1
  384. package/dist/utils/FilterUtil/FilterUtil.d.ts +2 -2
  385. package/dist/utils/HistogramUtil/index.js +1 -1
  386. package/dist/utils/HistogramUtil/index.js.map +1 -1
  387. package/dist/utils/MapUtil/index.js +1 -1
  388. package/dist/utils/MapUtil/index.js.map +1 -1
  389. package/dist/utils/StratificationUtil/index.js +3 -2
  390. package/dist/utils/StratificationUtil/index.js.map +1 -1
  391. package/dist/utils/UploadUtil/UploadUtil.d.ts +1 -1
  392. package/package.json +19 -11
  393. package/dist/_chunks/chunk-KS7C4IRE.js.map +0 -1
@@ -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/ui/Stepper";
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/ui/BackdropSpinner";
43
- import { Confirmation as Te } from "@gen-epix/ui/components/ui/Confirmation";
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/ui/LinearProgressWithLabel";
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(() => (0, We.default)(o[0].map((e, t) => t), t.getMappedColumnsFromFormData(T, o, n.map, a).map((e) => e.originalIndex)).map((e) => ({
263
- originalIndex: e,
264
- originalLabel: o[0][e]
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) => /* @__PURE__ */ Q(Z, { children: v(e).map(({ key: e, message: t }, n) => /* @__PURE__ */ Q(L, {
492
- sx: { marginTop: +(n > 0) },
493
- children: t
494
- }, e)) }), [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, {
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
- return Ne({
581
- columns: q(() => {
582
- let i = [];
583
- if (!t?.length) return i;
584
- i.push(Me.createReadableIndexColumn()), i.push(Me.createSelectableColumn()), i.push({
585
- disableEllipsis: !0,
586
- frozen: je.LEFT,
587
- headerName: "",
588
- hideInFilter: !0,
589
- id: "gen-epix-ui-issue",
590
- isInitiallyVisible: !0,
591
- renderCell: w,
592
- renderHeader: C,
593
- resizable: !1,
594
- type: "text",
595
- valueGetter: () => "",
596
- widthPx: 38
597
- }), i.push({
598
- disableEllipsis: !0,
599
- frozen: je.LEFT,
600
- headerName: "",
601
- hideInFilter: !0,
602
- id: "gen-epix-ui-id",
603
- isInitiallyVisible: !0,
604
- renderCell: E,
605
- renderHeader: T,
606
- resizable: !1,
607
- type: "text",
608
- valueGetter: () => "",
609
- widthPx: 38
610
- });
611
- let o = /* @__PURE__ */ new Set();
612
- return t.forEach((e) => {
613
- Object.keys(e.validated_content || {}).forEach((e) => o.add(e)), e.data_issues.forEach((e) => o.add(e.col_id));
614
- }), n.ordered_col_ids.forEach((s) => {
615
- if (!o.has(s)) return;
616
- 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;
617
- c && i.push({
618
- cellTitleGetter: (e) => {
619
- let t = e.row.data_issues.find((e) => e.col_id === c.id);
620
- return !t && r ? l("{{value}} (original value: \"{{originalValue}}\")", {
621
- originalValue: r(c, e, t) ?? "",
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
- customHeaderIcon: f ? {
626
- iconElement: /* @__PURE__ */ Q(Ee, { fontSize: "inherit" }),
627
- label: l("Edit values for {{colLabel}} (for selected rows)", { colLabel: c.label }),
628
- onClick: h
629
- } : void 0,
630
- headerName: c.code,
631
- hideInFilter: !0,
632
- id: c.id,
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: "case_id",
643
- isInitiallyVisible: !0,
640
+ id: c.id,
641
+ isInitiallyVisible: d,
642
+ renderCell: D,
644
643
  type: "text",
645
- valueGetter: (e) => e.row.id || "",
644
+ valueGetter: (e) => a.getRowValue(e.row.validated_content, c, n).short,
646
645
  widthPx: 250
647
- }), i.push(Me.createActionsColumn({
648
- getActions: (e) => {
649
- let t = [];
650
- return t.push(/* @__PURE__ */ $(ie, {
651
- onClick: () => {
652
- u.current?.open({
653
- caseContent: e.row.validated_content,
654
- caseId: e.row.id,
655
- completeCaseType: n,
656
- enabledColIds: n.ordered_col_ids,
657
- formId: "edit-case-form"
658
- });
659
- },
660
- children: [/* @__PURE__ */ Q(z, { children: /* @__PURE__ */ Q(Ee, {}) }), /* @__PURE__ */ Q(B, { children: l`Edit` })]
661
- }, "editCase")), t;
662
- },
663
- t: l
664
- })), i;
665
- }, [
666
- t,
667
- w,
668
- C,
669
- E,
670
- T,
671
- n,
672
- l,
673
- e,
674
- h,
675
- D,
676
- r
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 = l(W(p), (e) => e.completeCaseType), a = l(r, (e) => e.selectedIds);
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: !a.length || a.length > i.props.create_max_n_cases,
702
- proceedLabel: a.length ? n("Proceed with {{count}} selected cases", { count: a.length }) : n("Proceed")
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: w.data.find((t) => t.id === e)
800
+ row: n
790
801
  }]);
791
802
  }, [w.data, O]);
792
803
  K(() => {
793
804
  let e = E.subscribe((e, t) => {
794
- e.selectedIds !== t.selectedIds && (b.current = e.selectedIds, h(e.selectedIds.length > o.props.create_max_n_cases));
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
- D((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));
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: v.current?.[e.row.id]?.sequenceFileNames[t.id] || "",
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
- return Ne({
1356
- columns: q(() => {
1357
- let e = [];
1358
- e.push(Me.createReadableIndexColumn());
1359
- let t = [
1360
- ...h.sampleIdColumns,
1361
- ...h.sequenceColumns,
1362
- ...h.readsColumns
1363
- ], n = h.sampleIdColumns.find((e) => e.id === c);
1364
- n && C(f, n) && e.push({
1365
- headerName: n.label,
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: n.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, n, s).short,
1371
- widthPx: 300
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
- let r = /* @__PURE__ */ new Set();
1398
- f.forEach((e) => {
1399
- Object.keys(e.validated_content || {}).forEach((e) => r.add(e));
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
- let i = [
1402
- ...h.sequenceColumns.map((e) => e.id),
1403
- ...h.readsColumns.map((e) => e.id),
1404
- n?.id
1405
- ];
1406
- return s.ordered_col_ids.forEach((n) => {
1407
- if (i.includes(n) || !r.has(n) || t.find((e) => e.id === n)) return;
1408
- let o = s.cols[n];
1409
- o && e.push({
1410
- headerName: o.code,
1411
- hideInFilter: !0,
1412
- id: o.id,
1413
- isInitiallyVisible: !0,
1414
- type: "text",
1415
- valueGetter: (e) => a.getRowValue(e.row.validated_content, o, s).short,
1416
- widthPx: 250
1417
- });
1418
- }), e;
1419
- }, [
1420
- C,
1421
- s,
1422
- h.readsColumns,
1423
- h.sampleIdColumns,
1424
- h.sequenceColumns,
1425
- O,
1426
- D,
1427
- c,
1428
- f
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,