@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.
Files changed (832) hide show
  1. package/LICENSE +287 -0
  2. package/README.md +101 -0
  3. package/dist/@types/mui.d.ts +12 -0
  4. package/dist/@types/ui-casedb.d.ts +3 -0
  5. package/dist/@types/vite-env.d.ts +3 -0
  6. package/dist/_chunks/AddCasesToEventDialog.js +246 -0
  7. package/dist/_chunks/AddCasesToEventDialog.js.map +1 -0
  8. package/dist/_chunks/CaseContentForm.js +43 -0
  9. package/dist/_chunks/CaseContentForm.js.map +1 -0
  10. package/dist/_chunks/CaseDbDownloadUtil.js +2307 -0
  11. package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -0
  12. package/dist/_chunks/CaseInfoDialog.js +509 -0
  13. package/dist/_chunks/CaseInfoDialog.js.map +1 -0
  14. package/dist/_chunks/CaseSetInfoDialog.js +479 -0
  15. package/dist/_chunks/CaseSetInfoDialog.js.map +1 -0
  16. package/dist/_chunks/CaseTypeInfoDialog.js +470 -0
  17. package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -0
  18. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +123 -0
  19. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -0
  20. package/dist/_chunks/CollectionIcon.js +18 -0
  21. package/dist/_chunks/CollectionIcon.js.map +1 -0
  22. package/dist/_chunks/CompletCaseTypeLoader.js +53 -0
  23. package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -0
  24. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +18 -0
  25. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -0
  26. package/dist/_chunks/CustomTabPanel.js +21 -0
  27. package/dist/_chunks/CustomTabPanel.js.map +1 -0
  28. package/dist/_chunks/Dashboard.js +2582 -0
  29. package/dist/_chunks/Dashboard.js.map +1 -0
  30. package/dist/_chunks/DashboardStoreLoader.js +67 -0
  31. package/dist/_chunks/DashboardStoreLoader.js.map +1 -0
  32. package/dist/_chunks/DataCollectionAccessInfo.js +66 -0
  33. package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -0
  34. package/dist/_chunks/EpiCurveUtil.js +378 -0
  35. package/dist/_chunks/EpiCurveUtil.js.map +1 -0
  36. package/dist/_chunks/EpiCurveWidget.js +570 -0
  37. package/dist/_chunks/EpiCurveWidget.js.map +1 -0
  38. package/dist/_chunks/FilterUtil.js +1537 -0
  39. package/dist/_chunks/FilterUtil.js.map +1 -0
  40. package/dist/_chunks/FindSimilarCasesDialog.js +439 -0
  41. package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -0
  42. package/dist/_chunks/FindSimilarCasesUtil.js +100 -0
  43. package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -0
  44. package/dist/_chunks/HomePageTrends.js +276 -0
  45. package/dist/_chunks/HomePageTrends.js.map +1 -0
  46. package/dist/_chunks/LegendaItem.js +325 -0
  47. package/dist/_chunks/LegendaItem.js.map +1 -0
  48. package/dist/_chunks/LineListWidget.js +702 -0
  49. package/dist/_chunks/LineListWidget.js.map +1 -0
  50. package/dist/_chunks/PanelSeparator.js +1676 -0
  51. package/dist/_chunks/PanelSeparator.js.map +1 -0
  52. package/dist/_chunks/Upload.js +1506 -0
  53. package/dist/_chunks/Upload.js.map +1 -0
  54. package/dist/_chunks/UploadUtil.js +1976 -0
  55. package/dist/_chunks/UploadUtil.js.map +1 -0
  56. package/dist/_chunks/UserRightsDialog.js +152 -0
  57. package/dist/_chunks/UserRightsDialog.js.map +1 -0
  58. package/dist/_chunks/_MapCache.js +274 -0
  59. package/dist/_chunks/_MapCache.js.map +1 -0
  60. package/dist/_chunks/_Set.js +9 -0
  61. package/dist/_chunks/_Set.js.map +1 -0
  62. package/dist/_chunks/_arrayIncludesWith.js +42 -0
  63. package/dist/_chunks/_arrayIncludesWith.js.map +1 -0
  64. package/dist/_chunks/_baseClone.js +262 -0
  65. package/dist/_chunks/_baseClone.js.map +1 -0
  66. package/dist/_chunks/_baseFlatten.js +26 -0
  67. package/dist/_chunks/_baseFlatten.js.map +1 -0
  68. package/dist/_chunks/_baseGet.js +246 -0
  69. package/dist/_chunks/_baseGet.js.map +1 -0
  70. package/dist/_chunks/_baseIteratee.js +246 -0
  71. package/dist/_chunks/_baseIteratee.js.map +1 -0
  72. package/dist/_chunks/_cacheHas.js +29 -0
  73. package/dist/_chunks/_cacheHas.js.map +1 -0
  74. package/dist/_chunks/_defineProperty.js +15 -0
  75. package/dist/_chunks/_defineProperty.js.map +1 -0
  76. package/dist/_chunks/_setToArray.js +15 -0
  77. package/dist/_chunks/_setToArray.js.map +1 -0
  78. package/dist/_chunks/_setToString.js +64 -0
  79. package/dist/_chunks/_setToString.js.map +1 -0
  80. package/dist/_chunks/chunk-KS7C4IRE.js +1327 -0
  81. package/dist/_chunks/chunk-KS7C4IRE.js.map +1 -0
  82. package/dist/_chunks/cloneDeep.js +119 -0
  83. package/dist/_chunks/cloneDeep.js.map +1 -0
  84. package/dist/_chunks/dashboardStore.js +743 -0
  85. package/dist/_chunks/dashboardStore.js.map +1 -0
  86. package/dist/_chunks/eachYearOfInterval.js +104 -0
  87. package/dist/_chunks/eachYearOfInterval.js.map +1 -0
  88. package/dist/_chunks/esm.js +46335 -0
  89. package/dist/_chunks/esm.js.map +1 -0
  90. package/dist/_chunks/format.js +504 -0
  91. package/dist/_chunks/format.js.map +1 -0
  92. package/dist/_chunks/hasIn.js +34 -0
  93. package/dist/_chunks/hasIn.js.map +1 -0
  94. package/dist/_chunks/index.esm.js +1342 -0
  95. package/dist/_chunks/index.esm.js.map +1 -0
  96. package/dist/_chunks/index.module.js +72 -0
  97. package/dist/_chunks/index.module.js.map +1 -0
  98. package/dist/_chunks/intersection.js +58 -0
  99. package/dist/_chunks/intersection.js.map +1 -0
  100. package/dist/_chunks/isArguments.js +27 -0
  101. package/dist/_chunks/isArguments.js.map +1 -0
  102. package/dist/_chunks/isArray.js +9 -0
  103. package/dist/_chunks/isArray.js.map +1 -0
  104. package/dist/_chunks/isArrayLike.js +30 -0
  105. package/dist/_chunks/isArrayLike.js.map +1 -0
  106. package/dist/_chunks/isObjectLike.js +18 -0
  107. package/dist/_chunks/isObjectLike.js.map +1 -0
  108. package/dist/_chunks/isValid.js +14 -0
  109. package/dist/_chunks/isValid.js.map +1 -0
  110. package/dist/_chunks/last.js +13 -0
  111. package/dist/_chunks/last.js.map +1 -0
  112. package/dist/_chunks/noop.js +10 -0
  113. package/dist/_chunks/noop.js.map +1 -0
  114. package/dist/_chunks/omit.js +81 -0
  115. package/dist/_chunks/omit.js.map +1 -0
  116. package/dist/_chunks/parseISO.js +117 -0
  117. package/dist/_chunks/parseISO.js.map +1 -0
  118. package/dist/_chunks/protectedTokens.js +630 -0
  119. package/dist/_chunks/protectedTokens.js.map +1 -0
  120. package/dist/_chunks/react.js +11 -0
  121. package/dist/_chunks/react.js.map +1 -0
  122. package/dist/_chunks/round.js +64 -0
  123. package/dist/_chunks/round.js.map +1 -0
  124. package/dist/_chunks/shallow.js +31 -0
  125. package/dist/_chunks/shallow.js.map +1 -0
  126. package/dist/_chunks/sync.js +3796 -0
  127. package/dist/_chunks/sync.js.map +1 -0
  128. package/dist/_chunks/toDate.js +18 -0
  129. package/dist/_chunks/toDate.js.map +1 -0
  130. package/dist/_chunks/toString.js +31 -0
  131. package/dist/_chunks/toString.js.map +1 -0
  132. package/dist/_chunks/useUnit.js +30 -0
  133. package/dist/_chunks/useUnit.js.map +1 -0
  134. package/dist/_chunks/userProfileStoreContext.js +7 -0
  135. package/dist/_chunks/userProfileStoreContext.js.map +1 -0
  136. package/dist/_chunks/vanilla.js +20 -0
  137. package/dist/_chunks/vanilla.js.map +1 -0
  138. package/dist/_chunks/yup.js +73 -0
  139. package/dist/_chunks/yup.js.map +1 -0
  140. package/dist/classes/errors/UploadError.d.ts +5 -0
  141. package/dist/classes/errors/index.d.ts +1 -0
  142. package/dist/classes/errors/index.js +11 -0
  143. package/dist/classes/errors/index.js.map +1 -0
  144. package/dist/classes/filters/SelectionFilter.d.ts +11 -0
  145. package/dist/classes/filters/TreeFilter.d.ts +11 -0
  146. package/dist/classes/services/DataService/DataService.d.ts +13 -0
  147. package/dist/classes/services/DataService/index.d.ts +1 -0
  148. package/dist/classes/services/DataService/index.js +83 -0
  149. package/dist/classes/services/DataService/index.js.map +1 -0
  150. package/dist/classes/services/EventBusService/EventBusService.d.ts +49 -0
  151. package/dist/classes/services/EventBusService/index.d.ts +1 -0
  152. package/dist/classes/services/EventBusService/index.js +16 -0
  153. package/dist/classes/services/EventBusService/index.js.map +1 -0
  154. package/dist/classes/services/LineListService/LineListCaseSetMembersService/LineListCaseSetMembersService.d.ts +9 -0
  155. package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.d.ts +1 -0
  156. package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.js +27 -0
  157. package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.js.map +1 -0
  158. package/dist/classes/services/LineListService/LineListIsOwnCaseService/LineListIsOwnCaseService.d.ts +9 -0
  159. package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.d.ts +1 -0
  160. package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.js +30 -0
  161. package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.js.map +1 -0
  162. package/dist/classes/services/LineListService/LineListServiceAbstract/LineListServiceAbstract.d.ts +11 -0
  163. package/dist/classes/services/LineListService/LineListServiceAbstract/index.d.ts +1 -0
  164. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +55 -0
  165. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -0
  166. package/dist/components/app/CaseDbApp/CaseDbApp.d.ts +1 -0
  167. package/dist/components/app/CaseDbApp/index.d.ts +1 -0
  168. package/dist/components/app/CaseDbApp/index.js +14 -0
  169. package/dist/components/app/CaseDbApp/index.js.map +1 -0
  170. package/dist/components/form/fields/ArrangementEditor/ArrangementEditor.d.ts +17 -0
  171. package/dist/components/form/fields/ArrangementEditor/index.d.ts +1 -0
  172. package/dist/components/form/fields/ArrangementEditor/index.js +130 -0
  173. package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -0
  174. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +10 -0
  175. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialogSuccessNotificationMessage.d.ts +6 -0
  176. package/dist/components/ui/AddCasesToEventDialog/index.d.ts +1 -0
  177. package/dist/components/ui/AddCasesToEventDialog/index.js +2 -0
  178. package/dist/components/ui/CaseContentForm/CaseContentForm.d.ts +10 -0
  179. package/dist/components/ui/CaseContentForm/index.d.ts +1 -0
  180. package/dist/components/ui/CaseContentForm/index.js +2 -0
  181. package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +9 -0
  182. package/dist/components/ui/CaseContentFormDialog/index.d.ts +1 -0
  183. package/dist/components/ui/CaseContentFormDialog/index.js +57 -0
  184. package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -0
  185. package/dist/components/ui/CaseInfoDialog/CaseCaseSetInfo.d.ts +6 -0
  186. package/dist/components/ui/CaseInfoDialog/CaseContent.d.ts +6 -0
  187. package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +15 -0
  188. package/dist/components/ui/CaseInfoDialog/CaseInfoForm.d.ts +10 -0
  189. package/dist/components/ui/CaseInfoDialog/CaseSharingForm.d.ts +9 -0
  190. package/dist/components/ui/CaseInfoDialog/CaseSharingInfo.d.ts +3 -0
  191. package/dist/components/ui/CaseInfoDialog/ReadOnlyCaseContent.d.ts +6 -0
  192. package/dist/components/ui/CaseInfoDialog/index.d.ts +1 -0
  193. package/dist/components/ui/CaseInfoDialog/index.js +2 -0
  194. package/dist/components/ui/CaseSetInfoDialog/CaseSetContent.d.ts +6 -0
  195. package/dist/components/ui/CaseSetInfoDialog/CaseSetDescription.d.ts +6 -0
  196. package/dist/components/ui/CaseSetInfoDialog/CaseSetForm.d.ts +8 -0
  197. package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +10 -0
  198. package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingForm.d.ts +10 -0
  199. package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingInfo.d.ts +3 -0
  200. package/dist/components/ui/CaseSetInfoDialog/index.d.ts +1 -0
  201. package/dist/components/ui/CaseSetInfoDialog/index.js +2 -0
  202. package/dist/components/ui/CaseSummary/CaseSummary.d.ts +5 -0
  203. package/dist/components/ui/CaseSummary/index.d.ts +1 -0
  204. package/dist/components/ui/CaseSummary/index.js +92 -0
  205. package/dist/components/ui/CaseSummary/index.js.map +1 -0
  206. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoAccessRights.d.ts +5 -0
  207. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoColAccessRights.d.ts +4 -0
  208. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoData.d.ts +5 -0
  209. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +7 -0
  210. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +3 -0
  211. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +8 -0
  212. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoRegions.d.ts +5 -0
  213. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoTrees.d.ts +5 -0
  214. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoValues.d.ts +5 -0
  215. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoVariableDetails.d.ts +6 -0
  216. package/dist/components/ui/CaseTypeInfoDialog/index.d.ts +10 -0
  217. package/dist/components/ui/CaseTypeInfoDialog/index.js +2 -0
  218. package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarning.d.ts +5 -0
  219. package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarningCaseSetLink.d.ts +5 -0
  220. package/dist/components/ui/CasesAlreadyInCaseSetWarning/index.d.ts +1 -0
  221. package/dist/components/ui/CasesAlreadyInCaseSetWarning/index.js +2 -0
  222. package/dist/components/ui/CompletCaseTypeLoader/CompletCaseTypeLoader.d.ts +7 -0
  223. package/dist/components/ui/CompletCaseTypeLoader/index.d.ts +1 -0
  224. package/dist/components/ui/CompletCaseTypeLoader/index.js +2 -0
  225. package/dist/components/ui/CompletCaseTypeLoader/withEpiCompleteCaseTypeLoader.d.ts +4 -0
  226. package/dist/components/ui/ContextMenu/ContextMenu.d.ts +20 -0
  227. package/dist/components/ui/ContextMenu/index.d.ts +1 -0
  228. package/dist/components/ui/ContextMenu/index.js +96 -0
  229. package/dist/components/ui/ContextMenu/index.js.map +1 -0
  230. package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +10 -0
  231. package/dist/components/ui/CreateEventDialog/CreateEventDialogSuccessNotificationMessage.d.ts +6 -0
  232. package/dist/components/ui/CreateEventDialog/index.d.ts +1 -0
  233. package/dist/components/ui/CreateEventDialog/index.js +278 -0
  234. package/dist/components/ui/CreateEventDialog/index.js.map +1 -0
  235. package/dist/components/ui/CustomTabPanel/CustomTabPanel.d.ts +6 -0
  236. package/dist/components/ui/CustomTabPanel/index.d.ts +1 -0
  237. package/dist/components/ui/CustomTabPanel/index.js +2 -0
  238. package/dist/components/ui/Dashboard/Dashboard.d.ts +1 -0
  239. package/dist/components/ui/Dashboard/DashboardContent.d.ts +6 -0
  240. package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +6 -0
  241. package/dist/components/ui/Dashboard/DashboardGeneralSettingsForm.d.ts +1 -0
  242. package/dist/components/ui/Dashboard/DashboardLayoutRenderer.d.ts +9 -0
  243. package/dist/components/ui/Dashboard/DashboardLayoutSettingsForm.d.ts +4 -0
  244. package/dist/components/ui/Dashboard/DashboardSearch.d.ts +1 -0
  245. package/dist/components/ui/Dashboard/DashboardSearchSettings.d.ts +10 -0
  246. package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +8 -0
  247. package/dist/components/ui/Dashboard/DashboardWidget.d.ts +12 -0
  248. package/dist/components/ui/Dashboard/DashboardWidgetPlaceHolder.d.ts +1 -0
  249. package/dist/components/ui/Dashboard/DashboardWidgetSettingsForm.d.ts +4 -0
  250. package/dist/components/ui/Dashboard/DashboardZoneContext.d.ts +1 -0
  251. package/dist/components/ui/Dashboard/context/DashboardContext.d.ts +12 -0
  252. package/dist/components/ui/Dashboard/context/DashboardContextProvider.d.ts +6 -0
  253. package/dist/components/ui/Dashboard/index.d.ts +2 -0
  254. package/dist/components/ui/Dashboard/index.js +2 -0
  255. package/dist/components/ui/DashboardEditCases/DashboardEditCases.d.ts +6 -0
  256. package/dist/components/ui/DashboardEditCases/index.d.ts +1 -0
  257. package/dist/components/ui/DashboardEditCases/index.js +70 -0
  258. package/dist/components/ui/DashboardEditCases/index.js.map +1 -0
  259. package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoader.d.ts +7 -0
  260. package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoaderContent.d.ts +8 -0
  261. package/dist/components/ui/DashboardStoreLoader/index.d.ts +2 -0
  262. package/dist/components/ui/DashboardStoreLoader/index.js +2 -0
  263. package/dist/components/ui/DashboardStoreLoader/withEpiDashboardStore.d.ts +4 -0
  264. package/dist/components/ui/DataCollectionAccessInfo/DataCollectionAccessInfo.d.ts +1 -0
  265. package/dist/components/ui/DataCollectionAccessInfo/index.d.ts +1 -0
  266. package/dist/components/ui/DataCollectionAccessInfo/index.js +2 -0
  267. package/dist/components/ui/EpiCurveWidget/EpiCurveBarChart.d.ts +21 -0
  268. package/dist/components/ui/EpiCurveWidget/EpiCurveStackedAreaChart.d.ts +22 -0
  269. package/dist/components/ui/EpiCurveWidget/EpiCurveWidget.d.ts +2 -0
  270. package/dist/components/ui/EpiCurveWidget/index.d.ts +1 -0
  271. package/dist/components/ui/EpiCurveWidget/index.js +2 -0
  272. package/dist/components/ui/FileSelector/FileSelector.d.ts +7 -0
  273. package/dist/components/ui/FileSelector/index.d.ts +1 -0
  274. package/dist/components/ui/FileSelector/index.js +206 -0
  275. package/dist/components/ui/FileSelector/index.js.map +1 -0
  276. package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +11 -0
  277. package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialogDateRangeChart.d.ts +11 -0
  278. package/dist/components/ui/FindSimilarCasesDialog/index.d.ts +1 -0
  279. package/dist/components/ui/FindSimilarCasesDialog/index.js +2 -0
  280. package/dist/components/ui/Grouping/Grouping.d.ts +1 -0
  281. package/dist/components/ui/Grouping/index.d.ts +1 -0
  282. package/dist/components/ui/Grouping/index.js +102 -0
  283. package/dist/components/ui/Grouping/index.js.map +1 -0
  284. package/dist/components/ui/HistogramWidget/HistogramWidget.d.ts +1 -0
  285. package/dist/components/ui/HistogramWidget/index.d.ts +1 -0
  286. package/dist/components/ui/HistogramWidget/index.js +333 -0
  287. package/dist/components/ui/HistogramWidget/index.js.map +1 -0
  288. package/dist/components/ui/HomePageTrends/HomePageTrendCard.d.ts +9 -0
  289. package/dist/components/ui/HomePageTrends/HomePageTrends.d.ts +4 -0
  290. package/dist/components/ui/HomePageTrends/index.d.ts +1 -0
  291. package/dist/components/ui/HomePageTrends/index.js +2 -0
  292. package/dist/components/ui/LegendaItem/LegendaItem.d.ts +10 -0
  293. package/dist/components/ui/LegendaItem/index.d.ts +1 -0
  294. package/dist/components/ui/LegendaItem/index.js +2 -0
  295. package/dist/components/ui/LineListWidget/LineListWidget.d.ts +1 -0
  296. package/dist/components/ui/LineListWidget/LineListWidgetIsInEventCell.d.ts +6 -0
  297. package/dist/components/ui/LineListWidget/LineListWidgetIsOwnCaseCell.d.ts +6 -0
  298. package/dist/components/ui/LineListWidget/LineListWidgetPrimaryMenu.d.ts +5 -0
  299. package/dist/components/ui/LineListWidget/LineListWidgetSecondaryMenu.d.ts +1 -0
  300. package/dist/components/ui/LineListWidget/LineListWidgetTitle.d.ts +1 -0
  301. package/dist/components/ui/LineListWidget/index.d.ts +1 -0
  302. package/dist/components/ui/LineListWidget/index.js +2 -0
  303. package/dist/components/ui/LineListWidget/useEpiLineListWidgetEmitDownloadOptions.d.ts +1 -0
  304. package/dist/components/ui/MapWidget/MapWidget.d.ts +1 -0
  305. package/dist/components/ui/MapWidget/index.d.ts +1 -0
  306. package/dist/components/ui/MapWidget/index.js +302 -0
  307. package/dist/components/ui/MapWidget/index.js.map +1 -0
  308. package/dist/components/ui/PanelSeparator/PanelSeparatorHorizontal.d.ts +2 -0
  309. package/dist/components/ui/PanelSeparator/PanelSeparatorVertical.d.ts +2 -0
  310. package/dist/components/ui/PanelSeparator/index.d.ts +2 -0
  311. package/dist/components/ui/PanelSeparator/index.js +2 -0
  312. package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +10 -0
  313. package/dist/components/ui/RemoveCasesFromEventDialog/index.d.ts +1 -0
  314. package/dist/components/ui/RemoveCasesFromEventDialog/index.js +111 -0
  315. package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -0
  316. package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +9 -0
  317. package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +10 -0
  318. package/dist/components/ui/SequenceDownloadDialog/index.d.ts +1 -0
  319. package/dist/components/ui/SequenceDownloadDialog/index.js +89 -0
  320. package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -0
  321. package/dist/components/ui/TreeDescription/TreeDescription.d.ts +5 -0
  322. package/dist/components/ui/TreeDescription/index.d.ts +1 -0
  323. package/dist/components/ui/TreeDescription/index.js +40 -0
  324. package/dist/components/ui/TreeDescription/index.js.map +1 -0
  325. package/dist/components/ui/TreeWidget/TreeWidget.d.ts +1 -0
  326. package/dist/components/ui/TreeWidget/index.d.ts +1 -0
  327. package/dist/components/ui/TreeWidget/index.js +404 -0
  328. package/dist/components/ui/TreeWidget/index.js.map +1 -0
  329. package/dist/components/ui/Upload/Upload.d.ts +1 -0
  330. package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +18 -0
  331. package/dist/components/ui/Upload/UploadCreateCases.d.ts +1 -0
  332. package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +12 -0
  333. package/dist/components/ui/Upload/UploadMapColumns.d.ts +1 -0
  334. package/dist/components/ui/Upload/UploadMapSequences.d.ts +1 -0
  335. package/dist/components/ui/Upload/UploadNavigation.d.ts +10 -0
  336. package/dist/components/ui/Upload/UploadPreview.d.ts +4 -0
  337. package/dist/components/ui/Upload/UploadPreviewNavigation.d.ts +5 -0
  338. package/dist/components/ui/Upload/UploadSelectFile.d.ts +1 -0
  339. package/dist/components/ui/Upload/UploadSelectSequenceFiles.d.ts +1 -0
  340. package/dist/components/ui/Upload/index.d.ts +1 -0
  341. package/dist/components/ui/Upload/index.js +2 -0
  342. package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +9 -0
  343. package/dist/components/ui/UserRightsDialog/UserRightsDialogCaseAccessPolicy.d.ts +5 -0
  344. package/dist/components/ui/UserRightsDialog/index.d.ts +1 -0
  345. package/dist/components/ui/UserRightsDialog/index.js +2 -0
  346. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +13 -0
  347. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.d.ts +1 -0
  348. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +373 -0
  349. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -0
  350. package/dist/components/ui/Warning/Warning.d.ts +4 -0
  351. package/dist/components/ui/Warning/index.d.ts +1 -0
  352. package/dist/components/ui/Warning/index.js +29 -0
  353. package/dist/components/ui/Warning/index.js.map +1 -0
  354. package/dist/components/ui/WidgetHeaderIconButton/WidgetHeaderIconButton.d.ts +5 -0
  355. package/dist/components/ui/WidgetHeaderIconButton/index.d.ts +1 -0
  356. package/dist/components/ui/WidgetHeaderIconButton/index.js +24 -0
  357. package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -0
  358. package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +6 -0
  359. package/dist/components/ui/WidgetMenu/index.d.ts +1 -0
  360. package/dist/components/ui/WidgetMenu/index.js +26 -0
  361. package/dist/components/ui/WidgetMenu/index.js.map +1 -0
  362. package/dist/components/ui/WidgetUnavailable/WidgetUnavailable.d.ts +6 -0
  363. package/dist/components/ui/WidgetUnavailable/index.d.ts +1 -0
  364. package/dist/components/ui/WidgetUnavailable/index.js +18 -0
  365. package/dist/components/ui/WidgetUnavailable/index.js.map +1 -0
  366. package/dist/constants/dashboard.d.ts +9 -0
  367. package/dist/constants/dashboard.js +14 -0
  368. package/dist/constants/dashboard.js.map +1 -0
  369. package/dist/constants/query.d.ts +62 -0
  370. package/dist/constants/query.js +163 -0
  371. package/dist/constants/query.js.map +1 -0
  372. package/dist/context/caseAbac/CaseAbacContext.d.ts +14 -0
  373. package/dist/context/caseAbac/CaseAbacContextProvider.d.ts +6 -0
  374. package/dist/context/caseAbac/index.d.ts +3 -0
  375. package/dist/context/caseAbac/useCaseAbacContext.d.ts +2 -0
  376. package/dist/context/caseTypeAbac/CaseTypeAbacContext.d.ts +14 -0
  377. package/dist/context/caseTypeAbac/CaseTypeAbacContextProvider.d.ts +6 -0
  378. package/dist/context/caseTypeAbac/index.d.ts +3 -0
  379. package/dist/context/caseTypeAbac/useCaseTypeAbacContext.d.ts +2 -0
  380. package/dist/dataHooks/useAssemblyProtocolsQuery/index.d.ts +1 -0
  381. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +21 -0
  382. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -0
  383. package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +6 -0
  384. package/dist/dataHooks/useCaseRightsQuery/index.d.ts +1 -0
  385. package/dist/dataHooks/useCaseRightsQuery/index.js +17 -0
  386. package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -0
  387. package/dist/dataHooks/useCaseRightsQuery/useCaseRightsQuery.d.ts +3 -0
  388. package/dist/dataHooks/useCaseSetCategoriesQuery/index.d.ts +1 -0
  389. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +22 -0
  390. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -0
  391. package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +6 -0
  392. package/dist/dataHooks/useCaseSetRightsQuery/index.d.ts +1 -0
  393. package/dist/dataHooks/useCaseSetRightsQuery/index.js +13 -0
  394. package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -0
  395. package/dist/dataHooks/useCaseSetRightsQuery/useCaseSetRightsQuery.d.ts +3 -0
  396. package/dist/dataHooks/useCaseSetStatsQuery/index.d.ts +1 -0
  397. package/dist/dataHooks/useCaseSetStatsQuery/index.js +19 -0
  398. package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -0
  399. package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +5 -0
  400. package/dist/dataHooks/useCaseSetStatusesQuery/index.d.ts +1 -0
  401. package/dist/dataHooks/useCaseSetStatusesQuery/index.js +22 -0
  402. package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -0
  403. package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +6 -0
  404. package/dist/dataHooks/useCaseSetsQuery/index.d.ts +1 -0
  405. package/dist/dataHooks/useCaseSetsQuery/index.js +22 -0
  406. package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -0
  407. package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +6 -0
  408. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.d.ts +1 -0
  409. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +22 -0
  410. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -0
  411. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +6 -0
  412. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.d.ts +1 -0
  413. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js +21 -0
  414. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -0
  415. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +4 -0
  416. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.d.ts +1 -0
  417. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +13 -0
  418. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -0
  419. package/dist/dataHooks/useCaseTypeSetMembersQuery/useCaseTypeSetMembersQuery.d.ts +3 -0
  420. package/dist/dataHooks/useCaseTypeSetsQuery/index.d.ts +1 -0
  421. package/dist/dataHooks/useCaseTypeSetsQuery/index.js +25 -0
  422. package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -0
  423. package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +7 -0
  424. package/dist/dataHooks/useCaseTypeStatsQuery/index.d.ts +1 -0
  425. package/dist/dataHooks/useCaseTypeStatsQuery/index.js +13 -0
  426. package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -0
  427. package/dist/dataHooks/useCaseTypeStatsQuery/useCaseTypeStatsQuery.d.ts +3 -0
  428. package/dist/dataHooks/useCaseTypesQuery/index.d.ts +1 -0
  429. package/dist/dataHooks/useCaseTypesQuery/index.js +24 -0
  430. package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -0
  431. package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +9 -0
  432. package/dist/dataHooks/useColSetMembersQuery/index.d.ts +1 -0
  433. package/dist/dataHooks/useColSetMembersQuery/index.js +13 -0
  434. package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -0
  435. package/dist/dataHooks/useColSetMembersQuery/useColSetMembersQuery.d.ts +3 -0
  436. package/dist/dataHooks/useColSetsQuery/index.d.ts +1 -0
  437. package/dist/dataHooks/useColSetsQuery/index.js +21 -0
  438. package/dist/dataHooks/useColSetsQuery/index.js.map +1 -0
  439. package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +6 -0
  440. package/dist/dataHooks/useColTypesQuery/index.d.ts +1 -0
  441. package/dist/dataHooks/useColTypesQuery/index.js +51 -0
  442. package/dist/dataHooks/useColTypesQuery/index.js.map +1 -0
  443. package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +4 -0
  444. package/dist/dataHooks/useColsQuery/index.d.ts +1 -0
  445. package/dist/dataHooks/useColsQuery/index.js +27 -0
  446. package/dist/dataHooks/useColsQuery/index.js.map +1 -0
  447. package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +7 -0
  448. package/dist/dataHooks/useConceptQuery/index.d.ts +1 -0
  449. package/dist/dataHooks/useConceptQuery/index.js +26 -0
  450. package/dist/dataHooks/useConceptQuery/index.js.map +1 -0
  451. package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +7 -0
  452. package/dist/dataHooks/useConceptRelationTypeQuery/index.d.ts +1 -0
  453. package/dist/dataHooks/useConceptRelationTypeQuery/index.js +15 -0
  454. package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -0
  455. package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +4 -0
  456. package/dist/dataHooks/useConceptSetTypeQuery/index.d.ts +1 -0
  457. package/dist/dataHooks/useConceptSetTypeQuery/index.js +22 -0
  458. package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -0
  459. package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +4 -0
  460. package/dist/dataHooks/useConceptSetsQuery/index.d.ts +1 -0
  461. package/dist/dataHooks/useConceptSetsQuery/index.js +21 -0
  462. package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -0
  463. package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +6 -0
  464. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.d.ts +1 -0
  465. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +13 -0
  466. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -0
  467. package/dist/dataHooks/useDataCollectionSetMembersQuery/useDataCollectionSetMembersQuery.d.ts +3 -0
  468. package/dist/dataHooks/useDataCollectionsQuery/index.d.ts +1 -0
  469. package/dist/dataHooks/useDataCollectionsQuery/index.js +22 -0
  470. package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -0
  471. package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +6 -0
  472. package/dist/dataHooks/useDimTypesQuery/index.d.ts +1 -0
  473. package/dist/dataHooks/useDimTypesQuery/index.js +26 -0
  474. package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -0
  475. package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +4 -0
  476. package/dist/dataHooks/useDimsQuery/index.d.ts +1 -0
  477. package/dist/dataHooks/useDimsQuery/index.js +26 -0
  478. package/dist/dataHooks/useDimsQuery/index.js.map +1 -0
  479. package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +7 -0
  480. package/dist/dataHooks/useDiseasesQuery/index.d.ts +1 -0
  481. package/dist/dataHooks/useDiseasesQuery/index.js +21 -0
  482. package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -0
  483. package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +6 -0
  484. package/dist/dataHooks/useEtiologicalAgentsQuery/index.d.ts +1 -0
  485. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +21 -0
  486. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -0
  487. package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +6 -0
  488. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.d.ts +1 -0
  489. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +18 -0
  490. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -0
  491. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +5 -0
  492. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.d.ts +1 -0
  493. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +14 -0
  494. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -0
  495. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/useOrganizationAccessCasePoliciesQuery.d.ts +3 -0
  496. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.d.ts +1 -0
  497. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +14 -0
  498. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -0
  499. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/useOrganizationShareCasePoliciesQuery.d.ts +3 -0
  500. package/dist/dataHooks/useRefColsQuery/index.d.ts +1 -0
  501. package/dist/dataHooks/useRefColsQuery/index.js +22 -0
  502. package/dist/dataHooks/useRefColsQuery/index.js.map +1 -0
  503. package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +6 -0
  504. package/dist/dataHooks/useRefColsValidationRulesQuery/index.d.ts +1 -0
  505. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +13 -0
  506. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -0
  507. package/dist/dataHooks/useRefColsValidationRulesQuery/useRefColsValidationRulesQuery.d.ts +3 -0
  508. package/dist/dataHooks/useRefDimsQuery/index.d.ts +1 -0
  509. package/dist/dataHooks/useRefDimsQuery/index.js +22 -0
  510. package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -0
  511. package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +6 -0
  512. package/dist/dataHooks/useRegionQuery/index.d.ts +1 -0
  513. package/dist/dataHooks/useRegionQuery/index.js +25 -0
  514. package/dist/dataHooks/useRegionQuery/index.js.map +1 -0
  515. package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +7 -0
  516. package/dist/dataHooks/useRegionRelationTypeQuery/index.d.ts +1 -0
  517. package/dist/dataHooks/useRegionRelationTypeQuery/index.js +20 -0
  518. package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -0
  519. package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +4 -0
  520. package/dist/dataHooks/useRegionSetsQuery/index.d.ts +1 -0
  521. package/dist/dataHooks/useRegionSetsQuery/index.js +21 -0
  522. package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -0
  523. package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +6 -0
  524. package/dist/dataHooks/useSequencingProtocolsQuery/index.d.ts +1 -0
  525. package/dist/dataHooks/useSequencingProtocolsQuery/index.js +21 -0
  526. package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -0
  527. package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +6 -0
  528. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.d.ts +1 -0
  529. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js +42 -0
  530. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -0
  531. package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +4 -0
  532. package/dist/dataHooks/useUnitQuery/index.d.ts +1 -0
  533. package/dist/dataHooks/useUnitQuery/index.js +2 -0
  534. package/dist/dataHooks/useUnitQuery/useUnit.d.ts +4 -0
  535. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.d.ts +1 -0
  536. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +14 -0
  537. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -0
  538. package/dist/dataHooks/useUserAccessCasePoliciesQuery/useUserAccessCasePoliciesQuery.d.ts +3 -0
  539. package/dist/dataHooks/useUserEffectiveRightsQuery/index.d.ts +1 -0
  540. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +83 -0
  541. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -0
  542. package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +16 -0
  543. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.d.ts +1 -0
  544. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +14 -0
  545. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -0
  546. package/dist/dataHooks/useUserShareCasePoliciesQuery/useUserShareCasePoliciesQuery.d.ts +3 -0
  547. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.d.ts +1 -0
  548. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +25 -0
  549. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -0
  550. package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +3 -0
  551. package/dist/hooks/useUserCasePolicyNameFactory/index.d.ts +1 -0
  552. package/dist/hooks/useUserCasePolicyNameFactory/index.js +28 -0
  553. package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -0
  554. package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +3 -0
  555. package/dist/locale/en.json +676 -0
  556. package/dist/locale/nl.json +676 -0
  557. package/dist/models/caseAccess.d.ts +15 -0
  558. package/dist/models/caseAccess.js +0 -0
  559. package/dist/models/caseDb.d.ts +96 -0
  560. package/dist/models/caseDb.js +8 -0
  561. package/dist/models/caseDb.js.map +1 -0
  562. package/dist/models/config.d.ts +70 -0
  563. package/dist/models/config.js +0 -0
  564. package/dist/models/dashboard.d.ts +91 -0
  565. package/dist/models/dashboard.js +10 -0
  566. package/dist/models/dashboard.js.map +1 -0
  567. package/dist/models/stratification.d.ts +40 -0
  568. package/dist/models/stratification.js +12 -0
  569. package/dist/models/stratification.js.map +1 -0
  570. package/dist/models/theme.d.ts +17 -0
  571. package/dist/models/theme.js +0 -0
  572. package/dist/models/upload.d.ts +51 -0
  573. package/dist/models/upload.js +8 -0
  574. package/dist/models/upload.js.map +1 -0
  575. package/dist/pages/CaseDbUsersAdminPage/CaseDbUsersAdminPage.d.ts +1 -0
  576. package/dist/pages/CaseDbUsersAdminPage/index.d.ts +1 -0
  577. package/dist/pages/CaseDbUsersAdminPage/index.js +67 -0
  578. package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -0
  579. package/dist/pages/CaseSetCategoryAdminPage/CaseSetCategoryAdminPage.d.ts +1 -0
  580. package/dist/pages/CaseSetCategoryAdminPage/index.d.ts +1 -0
  581. package/dist/pages/CaseSetCategoryAdminPage/index.js +69 -0
  582. package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -0
  583. package/dist/pages/CaseSetStatusAdminPage/CaseSetStatusAdminPage.d.ts +1 -0
  584. package/dist/pages/CaseSetStatusAdminPage/index.d.ts +1 -0
  585. package/dist/pages/CaseSetStatusAdminPage/index.js +69 -0
  586. package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -0
  587. package/dist/pages/CaseTypeSetCategoriesAdminPage/CaseTypeSetCategoriesAdminPage.d.ts +1 -0
  588. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.d.ts +1 -0
  589. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +92 -0
  590. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -0
  591. package/dist/pages/CaseTypeSetsAdminPage/CaseTypeSetsAdminPage.d.ts +1 -0
  592. package/dist/pages/CaseTypeSetsAdminPage/index.d.ts +1 -0
  593. package/dist/pages/CaseTypeSetsAdminPage/index.js +148 -0
  594. package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -0
  595. package/dist/pages/CaseTypesAdminPage/CaseTypesAdminPage.d.ts +1 -0
  596. package/dist/pages/CaseTypesAdminPage/index.d.ts +1 -0
  597. package/dist/pages/CaseTypesAdminPage/index.js +288 -0
  598. package/dist/pages/CaseTypesAdminPage/index.js.map +1 -0
  599. package/dist/pages/CasesDetailPage/CasesDetailPage.d.ts +1 -0
  600. package/dist/pages/CasesDetailPage/index.d.ts +1 -0
  601. package/dist/pages/CasesDetailPage/index.js +41 -0
  602. package/dist/pages/CasesDetailPage/index.js.map +1 -0
  603. package/dist/pages/CasesPage/CasesPage.d.ts +1 -0
  604. package/dist/pages/CasesPage/index.d.ts +1 -0
  605. package/dist/pages/CasesPage/index.js +229 -0
  606. package/dist/pages/CasesPage/index.js.map +1 -0
  607. package/dist/pages/ColSetsAdminPage/ColSetsAdminPage.d.ts +1 -0
  608. package/dist/pages/ColSetsAdminPage/index.d.ts +1 -0
  609. package/dist/pages/ColSetsAdminPage/index.js +109 -0
  610. package/dist/pages/ColSetsAdminPage/index.js.map +1 -0
  611. package/dist/pages/ColsAdminPage/ColsAdminPage.d.ts +1 -0
  612. package/dist/pages/ColsAdminPage/index.d.ts +1 -0
  613. package/dist/pages/ColsAdminPage/index.js +315 -0
  614. package/dist/pages/ColsAdminPage/index.js.map +1 -0
  615. package/dist/pages/ConceptRelationsAdminPage/ConceptRelationsAdminPage.d.ts +1 -0
  616. package/dist/pages/ConceptRelationsAdminPage/index.d.ts +1 -0
  617. package/dist/pages/ConceptRelationsAdminPage/index.js +103 -0
  618. package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -0
  619. package/dist/pages/ConceptSetsAdminPage/ConceptSetsAdminPage.d.ts +1 -0
  620. package/dist/pages/ConceptSetsAdminPage/index.d.ts +1 -0
  621. package/dist/pages/ConceptSetsAdminPage/index.js +112 -0
  622. package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -0
  623. package/dist/pages/ConceptsAdminPage/ConceptsAdminPage.d.ts +1 -0
  624. package/dist/pages/ConceptsAdminPage/index.d.ts +1 -0
  625. package/dist/pages/ConceptsAdminPage/index.js +94 -0
  626. package/dist/pages/ConceptsAdminPage/index.js.map +1 -0
  627. package/dist/pages/DataCollectionSetsAdminPage/DataCollectionSetsAdminPage.d.ts +1 -0
  628. package/dist/pages/DataCollectionSetsAdminPage/index.d.ts +1 -0
  629. package/dist/pages/DataCollectionSetsAdminPage/index.js +99 -0
  630. package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -0
  631. package/dist/pages/DataCollectionVisualizationPage/DataCollectionVisualizationPage.d.ts +1 -0
  632. package/dist/pages/DataCollectionVisualizationPage/index.d.ts +1 -0
  633. package/dist/pages/DataCollectionVisualizationPage/index.js +494 -0
  634. package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -0
  635. package/dist/pages/DataCollectionsAdminPage/DataCollectionsAdminPage.d.ts +1 -0
  636. package/dist/pages/DataCollectionsAdminPage/index.d.ts +1 -0
  637. package/dist/pages/DataCollectionsAdminPage/index.js +54 -0
  638. package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -0
  639. package/dist/pages/DimsAdminPage/DimsAdminPage.d.ts +1 -0
  640. package/dist/pages/DimsAdminPage/index.d.ts +1 -0
  641. package/dist/pages/DimsAdminPage/index.js +146 -0
  642. package/dist/pages/DimsAdminPage/index.js.map +1 -0
  643. package/dist/pages/DiseasesAdminPage/DiseasesAdminPage.d.ts +1 -0
  644. package/dist/pages/DiseasesAdminPage/index.d.ts +1 -0
  645. package/dist/pages/DiseasesAdminPage/index.js +57 -0
  646. package/dist/pages/DiseasesAdminPage/index.js.map +1 -0
  647. package/dist/pages/EtiologicalAgentsAdminPage/EtiologicalAgentsAdminPage.d.ts +1 -0
  648. package/dist/pages/EtiologicalAgentsAdminPage/index.d.ts +1 -0
  649. package/dist/pages/EtiologicalAgentsAdminPage/index.js +54 -0
  650. package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -0
  651. package/dist/pages/EtiologiesAdminPage/EtiologiesAdminPage.d.ts +1 -0
  652. package/dist/pages/EtiologiesAdminPage/index.d.ts +1 -0
  653. package/dist/pages/EtiologiesAdminPage/index.js +76 -0
  654. package/dist/pages/EtiologiesAdminPage/index.js.map +1 -0
  655. package/dist/pages/EventsDetailPage/EventsDetailPage.d.ts +1 -0
  656. package/dist/pages/EventsDetailPage/index.d.ts +1 -0
  657. package/dist/pages/EventsDetailPage/index.js +56 -0
  658. package/dist/pages/EventsDetailPage/index.js.map +1 -0
  659. package/dist/pages/EventsPage/EventsPage.d.ts +1 -0
  660. package/dist/pages/EventsPage/index.d.ts +1 -0
  661. package/dist/pages/EventsPage/index.js +221 -0
  662. package/dist/pages/EventsPage/index.js.map +1 -0
  663. package/dist/pages/HomePage/HomePage.d.ts +1 -0
  664. package/dist/pages/HomePage/index.d.ts +1 -0
  665. package/dist/pages/HomePage/index.js +35 -0
  666. package/dist/pages/HomePage/index.js.map +1 -0
  667. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/OrganizationAccessCasePoliciesAdminPage.d.ts +1 -0
  668. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.d.ts +1 -0
  669. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +216 -0
  670. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -0
  671. package/dist/pages/OrganizationShareCasePoliciesAdminPage/OrganizationShareCasePoliciesAdminPage.d.ts +1 -0
  672. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.d.ts +1 -0
  673. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +170 -0
  674. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -0
  675. package/dist/pages/RefColsAdminPage/RefColsAdminPage.d.ts +1 -0
  676. package/dist/pages/RefColsAdminPage/index.d.ts +1 -0
  677. package/dist/pages/RefColsAdminPage/index.js +302 -0
  678. package/dist/pages/RefColsAdminPage/index.js.map +1 -0
  679. package/dist/pages/RefDimsAdminPage/RefDimsAdminPage.d.ts +1 -0
  680. package/dist/pages/RefDimsAdminPage/index.d.ts +1 -0
  681. package/dist/pages/RefDimsAdminPage/index.js +110 -0
  682. package/dist/pages/RefDimsAdminPage/index.js.map +1 -0
  683. package/dist/pages/RegionRelationsAdminPage/RegionRelationsAdminPage.d.ts +1 -0
  684. package/dist/pages/RegionRelationsAdminPage/index.d.ts +1 -0
  685. package/dist/pages/RegionRelationsAdminPage/index.js +102 -0
  686. package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -0
  687. package/dist/pages/RegionSetShapesAdminPage/RegionSetShapesAdminPage.d.ts +1 -0
  688. package/dist/pages/RegionSetShapesAdminPage/index.d.ts +1 -0
  689. package/dist/pages/RegionSetShapesAdminPage/index.js +73 -0
  690. package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -0
  691. package/dist/pages/RegionSetsAdminPage/RegionSetsAdminPage.d.ts +1 -0
  692. package/dist/pages/RegionSetsAdminPage/index.d.ts +1 -0
  693. package/dist/pages/RegionSetsAdminPage/index.js +101 -0
  694. package/dist/pages/RegionSetsAdminPage/index.js.map +1 -0
  695. package/dist/pages/RegionsAdminPage/RegionsAdminPage.d.ts +1 -0
  696. package/dist/pages/RegionsAdminPage/index.d.ts +1 -0
  697. package/dist/pages/RegionsAdminPage/index.js +99 -0
  698. package/dist/pages/RegionsAdminPage/index.js.map +1 -0
  699. package/dist/pages/TrendsPage/TrendsPage.d.ts +1 -0
  700. package/dist/pages/TrendsPage/index.d.ts +1 -0
  701. package/dist/pages/TrendsPage/index.js +17 -0
  702. package/dist/pages/TrendsPage/index.js.map +1 -0
  703. package/dist/pages/UploadPage/UploadPage.d.ts +1 -0
  704. package/dist/pages/UploadPage/index.d.ts +1 -0
  705. package/dist/pages/UploadPage/index.js +31 -0
  706. package/dist/pages/UploadPage/index.js.map +1 -0
  707. package/dist/pages/UserAccessCasePoliciesAdminPage/UserAccessCasePoliciesAdminPage.d.ts +1 -0
  708. package/dist/pages/UserAccessCasePoliciesAdminPage/index.d.ts +1 -0
  709. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +206 -0
  710. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -0
  711. package/dist/pages/UserEffectiveRightsAdminPage/UserEffectiveRightsAdminPage.d.ts +1 -0
  712. package/dist/pages/UserEffectiveRightsAdminPage/index.d.ts +1 -0
  713. package/dist/pages/UserEffectiveRightsAdminPage/index.js +246 -0
  714. package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -0
  715. package/dist/pages/UserEffectiveRightsTesterAdminPage/UserEffectiveRightsTesterAdminPage.d.ts +1 -0
  716. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.d.ts +1 -0
  717. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +195 -0
  718. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -0
  719. package/dist/pages/UserShareCasePoliciesAdminPage/UserShareCasePoliciesAdminPage.d.ts +1 -0
  720. package/dist/pages/UserShareCasePoliciesAdminPage/index.d.ts +1 -0
  721. package/dist/pages/UserShareCasePoliciesAdminPage/index.js +169 -0
  722. package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -0
  723. package/dist/routes/adminRoutes.d.ts +6 -0
  724. package/dist/routes/index.d.ts +2 -0
  725. package/dist/routes/index.js +1110 -0
  726. package/dist/routes/index.js.map +1 -0
  727. package/dist/routes/routes.d.ts +6 -0
  728. package/dist/setup/setup.d.ts +1 -0
  729. package/dist/setup/setup.js +28 -0
  730. package/dist/setup/setup.js.map +1 -0
  731. package/dist/stores/dashboardStore/dashboardStore.d.ts +80 -0
  732. package/dist/stores/dashboardStore/dashboardStoreContext.d.ts +3 -0
  733. package/dist/stores/dashboardStore/index.d.ts +2 -0
  734. package/dist/stores/dashboardStore/index.js +2 -0
  735. package/dist/stores/uploadStore/index.d.ts +2 -0
  736. package/dist/stores/uploadStore/index.js +185 -0
  737. package/dist/stores/uploadStore/index.js.map +1 -0
  738. package/dist/stores/uploadStore/uploadStore.d.ts +80 -0
  739. package/dist/stores/uploadStore/uploadStoreContext.d.ts +3 -0
  740. package/dist/stores/userProfileStore/index.d.ts +1 -0
  741. package/dist/stores/userProfileStore/index.js +81 -0
  742. package/dist/stores/userProfileStore/index.js.map +1 -0
  743. package/dist/stores/userProfileStore/userProfileStore.d.ts +38 -0
  744. package/dist/stores/userProfileStore/userProfileStoreContext.d.ts +3 -0
  745. package/dist/theme/demoTheme/demoTheme.d.ts +3 -0
  746. package/dist/theme/demoTheme/index.d.ts +1 -0
  747. package/dist/theme/demoTheme/index.js +20 -0
  748. package/dist/theme/demoTheme/index.js.map +1 -0
  749. package/dist/utils/AbacUtil/AbacUtil.d.ts +7 -0
  750. package/dist/utils/AbacUtil/index.d.ts +1 -0
  751. package/dist/utils/AbacUtil/index.js +31 -0
  752. package/dist/utils/AbacUtil/index.js.map +1 -0
  753. package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +31 -0
  754. package/dist/utils/CaseDbDataUtil/index.d.ts +1 -0
  755. package/dist/utils/CaseDbDataUtil/index.js +43 -0
  756. package/dist/utils/CaseDbDataUtil/index.js.map +1 -0
  757. package/dist/utils/CaseDbDownloadUtil/CaseDbDownloadUtil.d.ts +17 -0
  758. package/dist/utils/CaseDbDownloadUtil/index.d.ts +1 -0
  759. package/dist/utils/CaseDbDownloadUtil/index.js +2 -0
  760. package/dist/utils/CaseDbStandardConfigUtil/CaseDbStandardConfigUtil.d.ts +7 -0
  761. package/dist/utils/CaseDbStandardConfigUtil/index.d.ts +1 -0
  762. package/dist/utils/CaseDbStandardConfigUtil/index.js +4778 -0
  763. package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -0
  764. package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +6 -0
  765. package/dist/utils/CaseDbTableUtil/index.d.ts +1 -0
  766. package/dist/utils/CaseDbTableUtil/index.js +41 -0
  767. package/dist/utils/CaseDbTableUtil/index.js.map +1 -0
  768. package/dist/utils/CaseSelectionUtil/CaseSelectionUtil.d.ts +8 -0
  769. package/dist/utils/CaseSelectionUtil/index.d.ts +1 -0
  770. package/dist/utils/CaseSelectionUtil/index.js +29 -0
  771. package/dist/utils/CaseSelectionUtil/index.js.map +1 -0
  772. package/dist/utils/CaseSetUtil/CaseSetUtil.d.ts +4 -0
  773. package/dist/utils/CaseSetUtil/index.d.ts +1 -0
  774. package/dist/utils/CaseSetUtil/index.js +13 -0
  775. package/dist/utils/CaseSetUtil/index.js.map +1 -0
  776. package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +20 -0
  777. package/dist/utils/CaseTypeFormUtil/index.d.ts +1 -0
  778. package/dist/utils/CaseTypeFormUtil/index.js +199 -0
  779. package/dist/utils/CaseTypeFormUtil/index.js.map +1 -0
  780. package/dist/utils/CaseTypeUtil/CaseTypeUtil.d.ts +39 -0
  781. package/dist/utils/CaseTypeUtil/index.d.ts +1 -0
  782. package/dist/utils/CaseTypeUtil/index.js +135 -0
  783. package/dist/utils/CaseTypeUtil/index.js.map +1 -0
  784. package/dist/utils/CaseUtil/CaseUtil.d.ts +18 -0
  785. package/dist/utils/CaseUtil/index.d.ts +1 -0
  786. package/dist/utils/CaseUtil/index.js +138 -0
  787. package/dist/utils/CaseUtil/index.js.map +1 -0
  788. package/dist/utils/DashboardUtil/DashboardUtil.d.ts +29 -0
  789. package/dist/utils/DashboardUtil/index.d.ts +1 -0
  790. package/dist/utils/DashboardUtil/index.js +152 -0
  791. package/dist/utils/DashboardUtil/index.js.map +1 -0
  792. package/dist/utils/DataSetUtil/DataSetUtil.d.ts +17 -0
  793. package/dist/utils/DataSetUtil/index.d.ts +1 -0
  794. package/dist/utils/DataSetUtil/index.js +43 -0
  795. package/dist/utils/DataSetUtil/index.js.map +1 -0
  796. package/dist/utils/EffectiveRightsUtil/EffectiveRightsUtil.d.ts +29 -0
  797. package/dist/utils/EffectiveRightsUtil/index.d.ts +1 -0
  798. package/dist/utils/EffectiveRightsUtil/index.js +118 -0
  799. package/dist/utils/EffectiveRightsUtil/index.js.map +1 -0
  800. package/dist/utils/EpiCurveUtil/EpiCurveUtil.d.ts +96 -0
  801. package/dist/utils/EpiCurveUtil/index.d.ts +1 -0
  802. package/dist/utils/EpiCurveUtil/index.js +2 -0
  803. package/dist/utils/FileUtil/FileUtil.d.ts +5 -0
  804. package/dist/utils/FileUtil/index.d.ts +1 -0
  805. package/dist/utils/FileUtil/index.js +15 -0
  806. package/dist/utils/FileUtil/index.js.map +1 -0
  807. package/dist/utils/FilterUtil/FilterUtil.d.ts +11 -0
  808. package/dist/utils/FilterUtil/index.d.ts +1 -0
  809. package/dist/utils/FilterUtil/index.js +2 -0
  810. package/dist/utils/FindSimilarCasesUtil/FindSimilarCasesUtil.d.ts +7 -0
  811. package/dist/utils/FindSimilarCasesUtil/index.d.ts +1 -0
  812. package/dist/utils/FindSimilarCasesUtil/index.js +2 -0
  813. package/dist/utils/HistogramUtil/HistogramUtil.d.ts +78 -0
  814. package/dist/utils/HistogramUtil/index.d.ts +1 -0
  815. package/dist/utils/HistogramUtil/index.js +145 -0
  816. package/dist/utils/HistogramUtil/index.js.map +1 -0
  817. package/dist/utils/MapUtil/MapUtil.d.ts +38 -0
  818. package/dist/utils/MapUtil/index.d.ts +1 -0
  819. package/dist/utils/MapUtil/index.js +210 -0
  820. package/dist/utils/MapUtil/index.js.map +1 -0
  821. package/dist/utils/StratificationUtil/StratificationUtil.d.ts +25 -0
  822. package/dist/utils/StratificationUtil/index.d.ts +1 -0
  823. package/dist/utils/StratificationUtil/index.js +198 -0
  824. package/dist/utils/StratificationUtil/index.js.map +1 -0
  825. package/dist/utils/TreeWidgetUtil/TreeWidgetUtil.d.ts +7 -0
  826. package/dist/utils/TreeWidgetUtil/index.d.ts +1 -0
  827. package/dist/utils/TreeWidgetUtil/index.js +35 -0
  828. package/dist/utils/TreeWidgetUtil/index.js.map +1 -0
  829. package/dist/utils/UploadUtil/UploadUtil.d.ts +106 -0
  830. package/dist/utils/UploadUtil/index.d.ts +1 -0
  831. package/dist/utils/UploadUtil/index.js +2 -0
  832. package/package.json +784 -0
@@ -0,0 +1,1537 @@
1
+ import { a as e, i as t, n, o as r, t as i } from "./toDate.js";
2
+ import { a, d as o, f as s, i as c, l, n as u, o as d, p as f, r as p, s as m, t as h, u as ee } from "./protectedTokens.js";
3
+ import { t as g } from "./parseISO.js";
4
+ import { CaseTypeUtil as _, SELECTION_FILTER_GROUP as v, TREE_FILTER_GROUP as y } from "../utils/CaseTypeUtil/index.js";
5
+ import { DataService as b } from "../classes/services/DataService/index.js";
6
+ import { t as x } from "i18next";
7
+ import { CaseDbColType as S, CaseDbDimType as C } from "@gen-epix/api-casedb";
8
+ import { DATE_FORMAT as te } from "@gen-epix/ui-core/constants/date";
9
+ import { DateFilter as ne, GeoFilter as re, MultiSelectFilter as w, NumberRangeFilter as T, TextFilter as E } from "@gen-epix/ui/classes/filters";
10
+ import { DEFAULT_FILTER_GROUP as D, FILTER_MODE as O, FilterAbstract as k } from "@gen-epix/ui/classes/abstracts/FilterAbstract";
11
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addDays.js
12
+ function A(e, t, r) {
13
+ let a = i(e, r?.in);
14
+ return isNaN(t) ? n(r?.in || e, NaN) : (t && a.setDate(a.getDate() + t), a);
15
+ }
16
+ //#endregion
17
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDefaultOptions.js
18
+ function j() {
19
+ return Object.assign({}, s());
20
+ }
21
+ //#endregion
22
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISODay.js
23
+ function M(e, t) {
24
+ let n = i(e, t?.in).getDay();
25
+ return n === 0 ? 7 : n;
26
+ }
27
+ //#endregion
28
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/transpose.js
29
+ function N(e, t) {
30
+ let r = P(t) ? new t(0) : n(t, 0);
31
+ return r.setFullYear(e.getFullYear(), e.getMonth(), e.getDate()), r.setHours(e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()), r;
32
+ }
33
+ function P(e) {
34
+ return typeof e == "function" && e.prototype?.constructor === e;
35
+ }
36
+ //#endregion
37
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/Setter.js
38
+ var F = 10, I = class {
39
+ subPriority = 0;
40
+ validate(e, t) {
41
+ return !0;
42
+ }
43
+ }, ie = class extends I {
44
+ constructor(e, t, n, r, i) {
45
+ super(), this.value = e, this.validateValue = t, this.setValue = n, this.priority = r, i && (this.subPriority = i);
46
+ }
47
+ validate(e, t) {
48
+ return this.validateValue(e, this.value, t);
49
+ }
50
+ set(e, t, n) {
51
+ return this.setValue(e, t, this.value, n);
52
+ }
53
+ }, ae = class extends I {
54
+ priority = F;
55
+ subPriority = -1;
56
+ constructor(e, t) {
57
+ super(), this.context = e || ((e) => n(t, e));
58
+ }
59
+ set(e, t) {
60
+ return t.timestampIsSet ? e : n(e, N(e, this.context));
61
+ }
62
+ }, L = class {
63
+ run(e, t, n, r) {
64
+ let i = this.parse(e, t, n, r);
65
+ return i ? {
66
+ setter: new ie(i.value, this.validate, this.set, this.priority, this.subPriority),
67
+ rest: i.rest
68
+ } : null;
69
+ }
70
+ validate(e, t, n) {
71
+ return !0;
72
+ }
73
+ }, oe = class extends L {
74
+ priority = 140;
75
+ parse(e, t, n) {
76
+ switch (t) {
77
+ case "G":
78
+ case "GG":
79
+ case "GGG": return n.era(e, { width: "abbreviated" }) || n.era(e, { width: "narrow" });
80
+ case "GGGGG": return n.era(e, { width: "narrow" });
81
+ default: return n.era(e, { width: "wide" }) || n.era(e, { width: "abbreviated" }) || n.era(e, { width: "narrow" });
82
+ }
83
+ }
84
+ set(e, t, n) {
85
+ return t.era = n, e.setFullYear(n, 0, 1), e.setHours(0, 0, 0, 0), e;
86
+ }
87
+ incompatibleTokens = [
88
+ "R",
89
+ "u",
90
+ "t",
91
+ "T"
92
+ ];
93
+ }, R = {
94
+ month: /^(1[0-2]|0?\d)/,
95
+ date: /^(3[0-1]|[0-2]?\d)/,
96
+ dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
97
+ week: /^(5[0-3]|[0-4]?\d)/,
98
+ hour23h: /^(2[0-3]|[0-1]?\d)/,
99
+ hour24h: /^(2[0-4]|[0-1]?\d)/,
100
+ hour11h: /^(1[0-1]|0?\d)/,
101
+ hour12h: /^(1[0-2]|0?\d)/,
102
+ minute: /^[0-5]?\d/,
103
+ second: /^[0-5]?\d/,
104
+ singleDigit: /^\d/,
105
+ twoDigits: /^\d{1,2}/,
106
+ threeDigits: /^\d{1,3}/,
107
+ fourDigits: /^\d{1,4}/,
108
+ anyDigitsSigned: /^-?\d+/,
109
+ singleDigitSigned: /^-?\d/,
110
+ twoDigitsSigned: /^-?\d{1,2}/,
111
+ threeDigitsSigned: /^-?\d{1,3}/,
112
+ fourDigitsSigned: /^-?\d{1,4}/
113
+ }, z = {
114
+ basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
115
+ basic: /^([+-])(\d{2})(\d{2})|Z/,
116
+ basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
117
+ extended: /^([+-])(\d{2}):(\d{2})|Z/,
118
+ extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
119
+ };
120
+ //#endregion
121
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/utils.js
122
+ function B(e, t) {
123
+ return e && {
124
+ value: t(e.value),
125
+ rest: e.rest
126
+ };
127
+ }
128
+ function V(e, t) {
129
+ let n = t.match(e);
130
+ return n ? {
131
+ value: parseInt(n[0], 10),
132
+ rest: t.slice(n[0].length)
133
+ } : null;
134
+ }
135
+ function H(n, i) {
136
+ let a = i.match(n);
137
+ if (!a) return null;
138
+ if (a[0] === "Z") return {
139
+ value: 0,
140
+ rest: i.slice(1)
141
+ };
142
+ let o = a[1] === "+" ? 1 : -1, s = a[2] ? parseInt(a[2], 10) : 0, c = a[3] ? parseInt(a[3], 10) : 0, l = a[5] ? parseInt(a[5], 10) : 0;
143
+ return {
144
+ value: o * (s * t + c * e + l * r),
145
+ rest: i.slice(a[0].length)
146
+ };
147
+ }
148
+ function U(e) {
149
+ return V(R.anyDigitsSigned, e);
150
+ }
151
+ function W(e, t) {
152
+ switch (e) {
153
+ case 1: return V(R.singleDigit, t);
154
+ case 2: return V(R.twoDigits, t);
155
+ case 3: return V(R.threeDigits, t);
156
+ case 4: return V(R.fourDigits, t);
157
+ default: return V(RegExp("^\\d{1," + e + "}"), t);
158
+ }
159
+ }
160
+ function G(e, t) {
161
+ switch (e) {
162
+ case 1: return V(R.singleDigitSigned, t);
163
+ case 2: return V(R.twoDigitsSigned, t);
164
+ case 3: return V(R.threeDigitsSigned, t);
165
+ case 4: return V(R.fourDigitsSigned, t);
166
+ default: return V(RegExp("^-?\\d{1," + e + "}"), t);
167
+ }
168
+ }
169
+ function K(e) {
170
+ switch (e) {
171
+ case "morning": return 4;
172
+ case "evening": return 17;
173
+ case "pm":
174
+ case "noon":
175
+ case "afternoon": return 12;
176
+ default: return 0;
177
+ }
178
+ }
179
+ function q(e, t) {
180
+ let n = t > 0, r = n ? t : 1 - t, i;
181
+ if (r <= 50) i = e || 100;
182
+ else {
183
+ let t = r + 50, n = Math.trunc(t / 100) * 100, a = e >= t % 100;
184
+ i = e + n - (a ? 100 : 0);
185
+ }
186
+ return n ? i : 1 - i;
187
+ }
188
+ function J(e) {
189
+ return e % 400 == 0 || e % 4 == 0 && e % 100 != 0;
190
+ }
191
+ //#endregion
192
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/YearParser.js
193
+ var se = class extends L {
194
+ priority = 130;
195
+ incompatibleTokens = [
196
+ "Y",
197
+ "R",
198
+ "u",
199
+ "w",
200
+ "I",
201
+ "i",
202
+ "e",
203
+ "c",
204
+ "t",
205
+ "T"
206
+ ];
207
+ parse(e, t, n) {
208
+ let r = (e) => ({
209
+ year: e,
210
+ isTwoDigitYear: t === "yy"
211
+ });
212
+ switch (t) {
213
+ case "y": return B(W(4, e), r);
214
+ case "yo": return B(n.ordinalNumber(e, { unit: "year" }), r);
215
+ default: return B(W(t.length, e), r);
216
+ }
217
+ }
218
+ validate(e, t) {
219
+ return t.isTwoDigitYear || t.year > 0;
220
+ }
221
+ set(e, t, n) {
222
+ let r = e.getFullYear();
223
+ if (n.isTwoDigitYear) {
224
+ let t = q(n.year, r);
225
+ return e.setFullYear(t, 0, 1), e.setHours(0, 0, 0, 0), e;
226
+ }
227
+ let i = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
228
+ return e.setFullYear(i, 0, 1), e.setHours(0, 0, 0, 0), e;
229
+ }
230
+ }, ce = class extends L {
231
+ priority = 130;
232
+ parse(e, t, n) {
233
+ let r = (e) => ({
234
+ year: e,
235
+ isTwoDigitYear: t === "YY"
236
+ });
237
+ switch (t) {
238
+ case "Y": return B(W(4, e), r);
239
+ case "Yo": return B(n.ordinalNumber(e, { unit: "year" }), r);
240
+ default: return B(W(t.length, e), r);
241
+ }
242
+ }
243
+ validate(e, t) {
244
+ return t.isTwoDigitYear || t.year > 0;
245
+ }
246
+ set(e, t, n, r) {
247
+ let i = d(e, r);
248
+ if (n.isTwoDigitYear) {
249
+ let t = q(n.year, i);
250
+ return e.setFullYear(t, 0, r.firstWeekContainsDate), e.setHours(0, 0, 0, 0), o(e, r);
251
+ }
252
+ let a = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
253
+ return e.setFullYear(a, 0, r.firstWeekContainsDate), e.setHours(0, 0, 0, 0), o(e, r);
254
+ }
255
+ incompatibleTokens = [
256
+ "y",
257
+ "R",
258
+ "u",
259
+ "Q",
260
+ "q",
261
+ "M",
262
+ "L",
263
+ "I",
264
+ "d",
265
+ "D",
266
+ "i",
267
+ "t",
268
+ "T"
269
+ ];
270
+ }, le = class extends L {
271
+ priority = 130;
272
+ parse(e, t) {
273
+ return G(t === "R" ? 4 : t.length, e);
274
+ }
275
+ set(e, t, r) {
276
+ let i = n(e, 0);
277
+ return i.setFullYear(r, 0, 4), i.setHours(0, 0, 0, 0), l(i);
278
+ }
279
+ incompatibleTokens = [
280
+ "G",
281
+ "y",
282
+ "Y",
283
+ "u",
284
+ "Q",
285
+ "q",
286
+ "M",
287
+ "L",
288
+ "w",
289
+ "d",
290
+ "D",
291
+ "e",
292
+ "c",
293
+ "t",
294
+ "T"
295
+ ];
296
+ }, ue = class extends L {
297
+ priority = 130;
298
+ parse(e, t) {
299
+ return G(t === "u" ? 4 : t.length, e);
300
+ }
301
+ set(e, t, n) {
302
+ return e.setFullYear(n, 0, 1), e.setHours(0, 0, 0, 0), e;
303
+ }
304
+ incompatibleTokens = [
305
+ "G",
306
+ "y",
307
+ "Y",
308
+ "R",
309
+ "w",
310
+ "I",
311
+ "i",
312
+ "e",
313
+ "c",
314
+ "t",
315
+ "T"
316
+ ];
317
+ }, de = class extends L {
318
+ priority = 120;
319
+ parse(e, t, n) {
320
+ switch (t) {
321
+ case "Q":
322
+ case "QQ": return W(t.length, e);
323
+ case "Qo": return n.ordinalNumber(e, { unit: "quarter" });
324
+ case "QQQ": return n.quarter(e, {
325
+ width: "abbreviated",
326
+ context: "formatting"
327
+ }) || n.quarter(e, {
328
+ width: "narrow",
329
+ context: "formatting"
330
+ });
331
+ case "QQQQQ": return n.quarter(e, {
332
+ width: "narrow",
333
+ context: "formatting"
334
+ });
335
+ default: return n.quarter(e, {
336
+ width: "wide",
337
+ context: "formatting"
338
+ }) || n.quarter(e, {
339
+ width: "abbreviated",
340
+ context: "formatting"
341
+ }) || n.quarter(e, {
342
+ width: "narrow",
343
+ context: "formatting"
344
+ });
345
+ }
346
+ }
347
+ validate(e, t) {
348
+ return t >= 1 && t <= 4;
349
+ }
350
+ set(e, t, n) {
351
+ return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
352
+ }
353
+ incompatibleTokens = [
354
+ "Y",
355
+ "R",
356
+ "q",
357
+ "M",
358
+ "L",
359
+ "w",
360
+ "I",
361
+ "d",
362
+ "D",
363
+ "i",
364
+ "e",
365
+ "c",
366
+ "t",
367
+ "T"
368
+ ];
369
+ }, fe = class extends L {
370
+ priority = 120;
371
+ parse(e, t, n) {
372
+ switch (t) {
373
+ case "q":
374
+ case "qq": return W(t.length, e);
375
+ case "qo": return n.ordinalNumber(e, { unit: "quarter" });
376
+ case "qqq": return n.quarter(e, {
377
+ width: "abbreviated",
378
+ context: "standalone"
379
+ }) || n.quarter(e, {
380
+ width: "narrow",
381
+ context: "standalone"
382
+ });
383
+ case "qqqqq": return n.quarter(e, {
384
+ width: "narrow",
385
+ context: "standalone"
386
+ });
387
+ default: return n.quarter(e, {
388
+ width: "wide",
389
+ context: "standalone"
390
+ }) || n.quarter(e, {
391
+ width: "abbreviated",
392
+ context: "standalone"
393
+ }) || n.quarter(e, {
394
+ width: "narrow",
395
+ context: "standalone"
396
+ });
397
+ }
398
+ }
399
+ validate(e, t) {
400
+ return t >= 1 && t <= 4;
401
+ }
402
+ set(e, t, n) {
403
+ return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
404
+ }
405
+ incompatibleTokens = [
406
+ "Y",
407
+ "R",
408
+ "Q",
409
+ "M",
410
+ "L",
411
+ "w",
412
+ "I",
413
+ "d",
414
+ "D",
415
+ "i",
416
+ "e",
417
+ "c",
418
+ "t",
419
+ "T"
420
+ ];
421
+ }, pe = class extends L {
422
+ incompatibleTokens = [
423
+ "Y",
424
+ "R",
425
+ "q",
426
+ "Q",
427
+ "L",
428
+ "w",
429
+ "I",
430
+ "D",
431
+ "i",
432
+ "e",
433
+ "c",
434
+ "t",
435
+ "T"
436
+ ];
437
+ priority = 110;
438
+ parse(e, t, n) {
439
+ let r = (e) => e - 1;
440
+ switch (t) {
441
+ case "M": return B(V(R.month, e), r);
442
+ case "MM": return B(W(2, e), r);
443
+ case "Mo": return B(n.ordinalNumber(e, { unit: "month" }), r);
444
+ case "MMM": return n.month(e, {
445
+ width: "abbreviated",
446
+ context: "formatting"
447
+ }) || n.month(e, {
448
+ width: "narrow",
449
+ context: "formatting"
450
+ });
451
+ case "MMMMM": return n.month(e, {
452
+ width: "narrow",
453
+ context: "formatting"
454
+ });
455
+ default: return n.month(e, {
456
+ width: "wide",
457
+ context: "formatting"
458
+ }) || n.month(e, {
459
+ width: "abbreviated",
460
+ context: "formatting"
461
+ }) || n.month(e, {
462
+ width: "narrow",
463
+ context: "formatting"
464
+ });
465
+ }
466
+ }
467
+ validate(e, t) {
468
+ return t >= 0 && t <= 11;
469
+ }
470
+ set(e, t, n) {
471
+ return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
472
+ }
473
+ }, me = class extends L {
474
+ priority = 110;
475
+ parse(e, t, n) {
476
+ let r = (e) => e - 1;
477
+ switch (t) {
478
+ case "L": return B(V(R.month, e), r);
479
+ case "LL": return B(W(2, e), r);
480
+ case "Lo": return B(n.ordinalNumber(e, { unit: "month" }), r);
481
+ case "LLL": return n.month(e, {
482
+ width: "abbreviated",
483
+ context: "standalone"
484
+ }) || n.month(e, {
485
+ width: "narrow",
486
+ context: "standalone"
487
+ });
488
+ case "LLLLL": return n.month(e, {
489
+ width: "narrow",
490
+ context: "standalone"
491
+ });
492
+ default: return n.month(e, {
493
+ width: "wide",
494
+ context: "standalone"
495
+ }) || n.month(e, {
496
+ width: "abbreviated",
497
+ context: "standalone"
498
+ }) || n.month(e, {
499
+ width: "narrow",
500
+ context: "standalone"
501
+ });
502
+ }
503
+ }
504
+ validate(e, t) {
505
+ return t >= 0 && t <= 11;
506
+ }
507
+ set(e, t, n) {
508
+ return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
509
+ }
510
+ incompatibleTokens = [
511
+ "Y",
512
+ "R",
513
+ "q",
514
+ "Q",
515
+ "M",
516
+ "w",
517
+ "I",
518
+ "D",
519
+ "i",
520
+ "e",
521
+ "c",
522
+ "t",
523
+ "T"
524
+ ];
525
+ };
526
+ //#endregion
527
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setWeek.js
528
+ function he(e, t, n) {
529
+ let r = i(e, n?.in), o = a(r, n) - t;
530
+ return r.setDate(r.getDate() - o * 7), i(r, n?.in);
531
+ }
532
+ //#endregion
533
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js
534
+ var ge = class extends L {
535
+ priority = 100;
536
+ parse(e, t, n) {
537
+ switch (t) {
538
+ case "w": return V(R.week, e);
539
+ case "wo": return n.ordinalNumber(e, { unit: "week" });
540
+ default: return W(t.length, e);
541
+ }
542
+ }
543
+ validate(e, t) {
544
+ return t >= 1 && t <= 53;
545
+ }
546
+ set(e, t, n, r) {
547
+ return o(he(e, n, r), r);
548
+ }
549
+ incompatibleTokens = [
550
+ "y",
551
+ "R",
552
+ "u",
553
+ "q",
554
+ "Q",
555
+ "M",
556
+ "L",
557
+ "I",
558
+ "d",
559
+ "D",
560
+ "i",
561
+ "t",
562
+ "T"
563
+ ];
564
+ };
565
+ //#endregion
566
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setISOWeek.js
567
+ function _e(e, t, n) {
568
+ let r = i(e, n?.in), a = m(r, n) - t;
569
+ return r.setDate(r.getDate() - a * 7), r;
570
+ }
571
+ //#endregion
572
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js
573
+ var ve = class extends L {
574
+ priority = 100;
575
+ parse(e, t, n) {
576
+ switch (t) {
577
+ case "I": return V(R.week, e);
578
+ case "Io": return n.ordinalNumber(e, { unit: "week" });
579
+ default: return W(t.length, e);
580
+ }
581
+ }
582
+ validate(e, t) {
583
+ return t >= 1 && t <= 53;
584
+ }
585
+ set(e, t, n) {
586
+ return l(_e(e, n));
587
+ }
588
+ incompatibleTokens = [
589
+ "y",
590
+ "Y",
591
+ "u",
592
+ "q",
593
+ "Q",
594
+ "M",
595
+ "L",
596
+ "w",
597
+ "d",
598
+ "D",
599
+ "e",
600
+ "c",
601
+ "t",
602
+ "T"
603
+ ];
604
+ }, ye = [
605
+ 31,
606
+ 28,
607
+ 31,
608
+ 30,
609
+ 31,
610
+ 30,
611
+ 31,
612
+ 31,
613
+ 30,
614
+ 31,
615
+ 30,
616
+ 31
617
+ ], be = [
618
+ 31,
619
+ 29,
620
+ 31,
621
+ 30,
622
+ 31,
623
+ 30,
624
+ 31,
625
+ 31,
626
+ 30,
627
+ 31,
628
+ 30,
629
+ 31
630
+ ], xe = class extends L {
631
+ priority = 90;
632
+ subPriority = 1;
633
+ parse(e, t, n) {
634
+ switch (t) {
635
+ case "d": return V(R.date, e);
636
+ case "do": return n.ordinalNumber(e, { unit: "date" });
637
+ default: return W(t.length, e);
638
+ }
639
+ }
640
+ validate(e, t) {
641
+ let n = J(e.getFullYear()), r = e.getMonth();
642
+ return n ? t >= 1 && t <= be[r] : t >= 1 && t <= ye[r];
643
+ }
644
+ set(e, t, n) {
645
+ return e.setDate(n), e.setHours(0, 0, 0, 0), e;
646
+ }
647
+ incompatibleTokens = [
648
+ "Y",
649
+ "R",
650
+ "q",
651
+ "Q",
652
+ "w",
653
+ "I",
654
+ "D",
655
+ "i",
656
+ "e",
657
+ "c",
658
+ "t",
659
+ "T"
660
+ ];
661
+ }, Se = class extends L {
662
+ priority = 90;
663
+ subpriority = 1;
664
+ parse(e, t, n) {
665
+ switch (t) {
666
+ case "D":
667
+ case "DD": return V(R.dayOfYear, e);
668
+ case "Do": return n.ordinalNumber(e, { unit: "date" });
669
+ default: return W(t.length, e);
670
+ }
671
+ }
672
+ validate(e, t) {
673
+ return J(e.getFullYear()) ? t >= 1 && t <= 366 : t >= 1 && t <= 365;
674
+ }
675
+ set(e, t, n) {
676
+ return e.setMonth(0, n), e.setHours(0, 0, 0, 0), e;
677
+ }
678
+ incompatibleTokens = [
679
+ "Y",
680
+ "R",
681
+ "q",
682
+ "Q",
683
+ "M",
684
+ "L",
685
+ "w",
686
+ "I",
687
+ "d",
688
+ "E",
689
+ "i",
690
+ "e",
691
+ "c",
692
+ "t",
693
+ "T"
694
+ ];
695
+ };
696
+ //#endregion
697
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setDay.js
698
+ function Y(e, t, n) {
699
+ let r = s(), a = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, o = i(e, n?.in), c = o.getDay(), l = (t % 7 + 7) % 7, u = 7 - a;
700
+ return A(o, t < 0 || t > 6 ? t - (c + u) % 7 : (l + u) % 7 - (c + u) % 7, n);
701
+ }
702
+ //#endregion
703
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/DayParser.js
704
+ var Ce = class extends L {
705
+ priority = 90;
706
+ parse(e, t, n) {
707
+ switch (t) {
708
+ case "E":
709
+ case "EE":
710
+ case "EEE": return n.day(e, {
711
+ width: "abbreviated",
712
+ context: "formatting"
713
+ }) || n.day(e, {
714
+ width: "short",
715
+ context: "formatting"
716
+ }) || n.day(e, {
717
+ width: "narrow",
718
+ context: "formatting"
719
+ });
720
+ case "EEEEE": return n.day(e, {
721
+ width: "narrow",
722
+ context: "formatting"
723
+ });
724
+ case "EEEEEE": return n.day(e, {
725
+ width: "short",
726
+ context: "formatting"
727
+ }) || n.day(e, {
728
+ width: "narrow",
729
+ context: "formatting"
730
+ });
731
+ default: return n.day(e, {
732
+ width: "wide",
733
+ context: "formatting"
734
+ }) || n.day(e, {
735
+ width: "abbreviated",
736
+ context: "formatting"
737
+ }) || n.day(e, {
738
+ width: "short",
739
+ context: "formatting"
740
+ }) || n.day(e, {
741
+ width: "narrow",
742
+ context: "formatting"
743
+ });
744
+ }
745
+ }
746
+ validate(e, t) {
747
+ return t >= 0 && t <= 6;
748
+ }
749
+ set(e, t, n, r) {
750
+ return e = Y(e, n, r), e.setHours(0, 0, 0, 0), e;
751
+ }
752
+ incompatibleTokens = [
753
+ "D",
754
+ "i",
755
+ "e",
756
+ "c",
757
+ "t",
758
+ "T"
759
+ ];
760
+ }, we = class extends L {
761
+ priority = 90;
762
+ parse(e, t, n, r) {
763
+ let i = (e) => {
764
+ let t = Math.floor((e - 1) / 7) * 7;
765
+ return (e + r.weekStartsOn + 6) % 7 + t;
766
+ };
767
+ switch (t) {
768
+ case "e":
769
+ case "ee": return B(W(t.length, e), i);
770
+ case "eo": return B(n.ordinalNumber(e, { unit: "day" }), i);
771
+ case "eee": return n.day(e, {
772
+ width: "abbreviated",
773
+ context: "formatting"
774
+ }) || n.day(e, {
775
+ width: "short",
776
+ context: "formatting"
777
+ }) || n.day(e, {
778
+ width: "narrow",
779
+ context: "formatting"
780
+ });
781
+ case "eeeee": return n.day(e, {
782
+ width: "narrow",
783
+ context: "formatting"
784
+ });
785
+ case "eeeeee": return n.day(e, {
786
+ width: "short",
787
+ context: "formatting"
788
+ }) || n.day(e, {
789
+ width: "narrow",
790
+ context: "formatting"
791
+ });
792
+ default: return n.day(e, {
793
+ width: "wide",
794
+ context: "formatting"
795
+ }) || n.day(e, {
796
+ width: "abbreviated",
797
+ context: "formatting"
798
+ }) || n.day(e, {
799
+ width: "short",
800
+ context: "formatting"
801
+ }) || n.day(e, {
802
+ width: "narrow",
803
+ context: "formatting"
804
+ });
805
+ }
806
+ }
807
+ validate(e, t) {
808
+ return t >= 0 && t <= 6;
809
+ }
810
+ set(e, t, n, r) {
811
+ return e = Y(e, n, r), e.setHours(0, 0, 0, 0), e;
812
+ }
813
+ incompatibleTokens = [
814
+ "y",
815
+ "R",
816
+ "u",
817
+ "q",
818
+ "Q",
819
+ "M",
820
+ "L",
821
+ "I",
822
+ "d",
823
+ "D",
824
+ "E",
825
+ "i",
826
+ "c",
827
+ "t",
828
+ "T"
829
+ ];
830
+ }, Te = class extends L {
831
+ priority = 90;
832
+ parse(e, t, n, r) {
833
+ let i = (e) => {
834
+ let t = Math.floor((e - 1) / 7) * 7;
835
+ return (e + r.weekStartsOn + 6) % 7 + t;
836
+ };
837
+ switch (t) {
838
+ case "c":
839
+ case "cc": return B(W(t.length, e), i);
840
+ case "co": return B(n.ordinalNumber(e, { unit: "day" }), i);
841
+ case "ccc": return n.day(e, {
842
+ width: "abbreviated",
843
+ context: "standalone"
844
+ }) || n.day(e, {
845
+ width: "short",
846
+ context: "standalone"
847
+ }) || n.day(e, {
848
+ width: "narrow",
849
+ context: "standalone"
850
+ });
851
+ case "ccccc": return n.day(e, {
852
+ width: "narrow",
853
+ context: "standalone"
854
+ });
855
+ case "cccccc": return n.day(e, {
856
+ width: "short",
857
+ context: "standalone"
858
+ }) || n.day(e, {
859
+ width: "narrow",
860
+ context: "standalone"
861
+ });
862
+ default: return n.day(e, {
863
+ width: "wide",
864
+ context: "standalone"
865
+ }) || n.day(e, {
866
+ width: "abbreviated",
867
+ context: "standalone"
868
+ }) || n.day(e, {
869
+ width: "short",
870
+ context: "standalone"
871
+ }) || n.day(e, {
872
+ width: "narrow",
873
+ context: "standalone"
874
+ });
875
+ }
876
+ }
877
+ validate(e, t) {
878
+ return t >= 0 && t <= 6;
879
+ }
880
+ set(e, t, n, r) {
881
+ return e = Y(e, n, r), e.setHours(0, 0, 0, 0), e;
882
+ }
883
+ incompatibleTokens = [
884
+ "y",
885
+ "R",
886
+ "u",
887
+ "q",
888
+ "Q",
889
+ "M",
890
+ "L",
891
+ "I",
892
+ "d",
893
+ "D",
894
+ "E",
895
+ "i",
896
+ "e",
897
+ "t",
898
+ "T"
899
+ ];
900
+ };
901
+ //#endregion
902
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setISODay.js
903
+ function Ee(e, t, n) {
904
+ let r = i(e, n?.in);
905
+ return A(r, t - M(r, n), n);
906
+ }
907
+ //#endregion
908
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js
909
+ var De = class extends L {
910
+ priority = 90;
911
+ parse(e, t, n) {
912
+ let r = (e) => e === 0 ? 7 : e;
913
+ switch (t) {
914
+ case "i":
915
+ case "ii": return W(t.length, e);
916
+ case "io": return n.ordinalNumber(e, { unit: "day" });
917
+ case "iii": return B(n.day(e, {
918
+ width: "abbreviated",
919
+ context: "formatting"
920
+ }) || n.day(e, {
921
+ width: "short",
922
+ context: "formatting"
923
+ }) || n.day(e, {
924
+ width: "narrow",
925
+ context: "formatting"
926
+ }), r);
927
+ case "iiiii": return B(n.day(e, {
928
+ width: "narrow",
929
+ context: "formatting"
930
+ }), r);
931
+ case "iiiiii": return B(n.day(e, {
932
+ width: "short",
933
+ context: "formatting"
934
+ }) || n.day(e, {
935
+ width: "narrow",
936
+ context: "formatting"
937
+ }), r);
938
+ default: return B(n.day(e, {
939
+ width: "wide",
940
+ context: "formatting"
941
+ }) || n.day(e, {
942
+ width: "abbreviated",
943
+ context: "formatting"
944
+ }) || n.day(e, {
945
+ width: "short",
946
+ context: "formatting"
947
+ }) || n.day(e, {
948
+ width: "narrow",
949
+ context: "formatting"
950
+ }), r);
951
+ }
952
+ }
953
+ validate(e, t) {
954
+ return t >= 1 && t <= 7;
955
+ }
956
+ set(e, t, n) {
957
+ return e = Ee(e, n), e.setHours(0, 0, 0, 0), e;
958
+ }
959
+ incompatibleTokens = [
960
+ "y",
961
+ "Y",
962
+ "u",
963
+ "q",
964
+ "Q",
965
+ "M",
966
+ "L",
967
+ "w",
968
+ "d",
969
+ "D",
970
+ "E",
971
+ "e",
972
+ "c",
973
+ "t",
974
+ "T"
975
+ ];
976
+ }, Oe = class extends L {
977
+ priority = 80;
978
+ parse(e, t, n) {
979
+ switch (t) {
980
+ case "a":
981
+ case "aa":
982
+ case "aaa": return n.dayPeriod(e, {
983
+ width: "abbreviated",
984
+ context: "formatting"
985
+ }) || n.dayPeriod(e, {
986
+ width: "narrow",
987
+ context: "formatting"
988
+ });
989
+ case "aaaaa": return n.dayPeriod(e, {
990
+ width: "narrow",
991
+ context: "formatting"
992
+ });
993
+ default: return n.dayPeriod(e, {
994
+ width: "wide",
995
+ context: "formatting"
996
+ }) || n.dayPeriod(e, {
997
+ width: "abbreviated",
998
+ context: "formatting"
999
+ }) || n.dayPeriod(e, {
1000
+ width: "narrow",
1001
+ context: "formatting"
1002
+ });
1003
+ }
1004
+ }
1005
+ set(e, t, n) {
1006
+ return e.setHours(K(n), 0, 0, 0), e;
1007
+ }
1008
+ incompatibleTokens = [
1009
+ "b",
1010
+ "B",
1011
+ "H",
1012
+ "k",
1013
+ "t",
1014
+ "T"
1015
+ ];
1016
+ }, ke = class extends L {
1017
+ priority = 80;
1018
+ parse(e, t, n) {
1019
+ switch (t) {
1020
+ case "b":
1021
+ case "bb":
1022
+ case "bbb": return n.dayPeriod(e, {
1023
+ width: "abbreviated",
1024
+ context: "formatting"
1025
+ }) || n.dayPeriod(e, {
1026
+ width: "narrow",
1027
+ context: "formatting"
1028
+ });
1029
+ case "bbbbb": return n.dayPeriod(e, {
1030
+ width: "narrow",
1031
+ context: "formatting"
1032
+ });
1033
+ default: return n.dayPeriod(e, {
1034
+ width: "wide",
1035
+ context: "formatting"
1036
+ }) || n.dayPeriod(e, {
1037
+ width: "abbreviated",
1038
+ context: "formatting"
1039
+ }) || n.dayPeriod(e, {
1040
+ width: "narrow",
1041
+ context: "formatting"
1042
+ });
1043
+ }
1044
+ }
1045
+ set(e, t, n) {
1046
+ return e.setHours(K(n), 0, 0, 0), e;
1047
+ }
1048
+ incompatibleTokens = [
1049
+ "a",
1050
+ "B",
1051
+ "H",
1052
+ "k",
1053
+ "t",
1054
+ "T"
1055
+ ];
1056
+ }, Ae = class extends L {
1057
+ priority = 80;
1058
+ parse(e, t, n) {
1059
+ switch (t) {
1060
+ case "B":
1061
+ case "BB":
1062
+ case "BBB": return n.dayPeriod(e, {
1063
+ width: "abbreviated",
1064
+ context: "formatting"
1065
+ }) || n.dayPeriod(e, {
1066
+ width: "narrow",
1067
+ context: "formatting"
1068
+ });
1069
+ case "BBBBB": return n.dayPeriod(e, {
1070
+ width: "narrow",
1071
+ context: "formatting"
1072
+ });
1073
+ default: return n.dayPeriod(e, {
1074
+ width: "wide",
1075
+ context: "formatting"
1076
+ }) || n.dayPeriod(e, {
1077
+ width: "abbreviated",
1078
+ context: "formatting"
1079
+ }) || n.dayPeriod(e, {
1080
+ width: "narrow",
1081
+ context: "formatting"
1082
+ });
1083
+ }
1084
+ }
1085
+ set(e, t, n) {
1086
+ return e.setHours(K(n), 0, 0, 0), e;
1087
+ }
1088
+ incompatibleTokens = [
1089
+ "a",
1090
+ "b",
1091
+ "t",
1092
+ "T"
1093
+ ];
1094
+ }, je = class extends L {
1095
+ priority = 70;
1096
+ parse(e, t, n) {
1097
+ switch (t) {
1098
+ case "h": return V(R.hour12h, e);
1099
+ case "ho": return n.ordinalNumber(e, { unit: "hour" });
1100
+ default: return W(t.length, e);
1101
+ }
1102
+ }
1103
+ validate(e, t) {
1104
+ return t >= 1 && t <= 12;
1105
+ }
1106
+ set(e, t, n) {
1107
+ let r = e.getHours() >= 12;
1108
+ return r && n < 12 ? e.setHours(n + 12, 0, 0, 0) : !r && n === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
1109
+ }
1110
+ incompatibleTokens = [
1111
+ "H",
1112
+ "K",
1113
+ "k",
1114
+ "t",
1115
+ "T"
1116
+ ];
1117
+ }, Me = class extends L {
1118
+ priority = 70;
1119
+ parse(e, t, n) {
1120
+ switch (t) {
1121
+ case "H": return V(R.hour23h, e);
1122
+ case "Ho": return n.ordinalNumber(e, { unit: "hour" });
1123
+ default: return W(t.length, e);
1124
+ }
1125
+ }
1126
+ validate(e, t) {
1127
+ return t >= 0 && t <= 23;
1128
+ }
1129
+ set(e, t, n) {
1130
+ return e.setHours(n, 0, 0, 0), e;
1131
+ }
1132
+ incompatibleTokens = [
1133
+ "a",
1134
+ "b",
1135
+ "h",
1136
+ "K",
1137
+ "k",
1138
+ "t",
1139
+ "T"
1140
+ ];
1141
+ }, Ne = class extends L {
1142
+ priority = 70;
1143
+ parse(e, t, n) {
1144
+ switch (t) {
1145
+ case "K": return V(R.hour11h, e);
1146
+ case "Ko": return n.ordinalNumber(e, { unit: "hour" });
1147
+ default: return W(t.length, e);
1148
+ }
1149
+ }
1150
+ validate(e, t) {
1151
+ return t >= 0 && t <= 11;
1152
+ }
1153
+ set(e, t, n) {
1154
+ return e.getHours() >= 12 && n < 12 ? e.setHours(n + 12, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
1155
+ }
1156
+ incompatibleTokens = [
1157
+ "h",
1158
+ "H",
1159
+ "k",
1160
+ "t",
1161
+ "T"
1162
+ ];
1163
+ }, Pe = class extends L {
1164
+ priority = 70;
1165
+ parse(e, t, n) {
1166
+ switch (t) {
1167
+ case "k": return V(R.hour24h, e);
1168
+ case "ko": return n.ordinalNumber(e, { unit: "hour" });
1169
+ default: return W(t.length, e);
1170
+ }
1171
+ }
1172
+ validate(e, t) {
1173
+ return t >= 1 && t <= 24;
1174
+ }
1175
+ set(e, t, n) {
1176
+ let r = n <= 24 ? n % 24 : n;
1177
+ return e.setHours(r, 0, 0, 0), e;
1178
+ }
1179
+ incompatibleTokens = [
1180
+ "a",
1181
+ "b",
1182
+ "h",
1183
+ "H",
1184
+ "K",
1185
+ "t",
1186
+ "T"
1187
+ ];
1188
+ }, Fe = class extends L {
1189
+ priority = 60;
1190
+ parse(e, t, n) {
1191
+ switch (t) {
1192
+ case "m": return V(R.minute, e);
1193
+ case "mo": return n.ordinalNumber(e, { unit: "minute" });
1194
+ default: return W(t.length, e);
1195
+ }
1196
+ }
1197
+ validate(e, t) {
1198
+ return t >= 0 && t <= 59;
1199
+ }
1200
+ set(e, t, n) {
1201
+ return e.setMinutes(n, 0, 0), e;
1202
+ }
1203
+ incompatibleTokens = ["t", "T"];
1204
+ }, Ie = class extends L {
1205
+ priority = 50;
1206
+ parse(e, t, n) {
1207
+ switch (t) {
1208
+ case "s": return V(R.second, e);
1209
+ case "so": return n.ordinalNumber(e, { unit: "second" });
1210
+ default: return W(t.length, e);
1211
+ }
1212
+ }
1213
+ validate(e, t) {
1214
+ return t >= 0 && t <= 59;
1215
+ }
1216
+ set(e, t, n) {
1217
+ return e.setSeconds(n, 0), e;
1218
+ }
1219
+ incompatibleTokens = ["t", "T"];
1220
+ }, Le = class extends L {
1221
+ priority = 30;
1222
+ parse(e, t) {
1223
+ return B(W(t.length, e), (e) => Math.trunc(e * 10 ** (-t.length + 3)));
1224
+ }
1225
+ set(e, t, n) {
1226
+ return e.setMilliseconds(n), e;
1227
+ }
1228
+ incompatibleTokens = ["t", "T"];
1229
+ }, Re = class extends L {
1230
+ priority = 10;
1231
+ parse(e, t) {
1232
+ switch (t) {
1233
+ case "X": return H(z.basicOptionalMinutes, e);
1234
+ case "XX": return H(z.basic, e);
1235
+ case "XXXX": return H(z.basicOptionalSeconds, e);
1236
+ case "XXXXX": return H(z.extendedOptionalSeconds, e);
1237
+ default: return H(z.extended, e);
1238
+ }
1239
+ }
1240
+ set(e, t, r) {
1241
+ return t.timestampIsSet ? e : n(e, e.getTime() - f(e) - r);
1242
+ }
1243
+ incompatibleTokens = [
1244
+ "t",
1245
+ "T",
1246
+ "x"
1247
+ ];
1248
+ }, ze = class extends L {
1249
+ priority = 10;
1250
+ parse(e, t) {
1251
+ switch (t) {
1252
+ case "x": return H(z.basicOptionalMinutes, e);
1253
+ case "xx": return H(z.basic, e);
1254
+ case "xxxx": return H(z.basicOptionalSeconds, e);
1255
+ case "xxxxx": return H(z.extendedOptionalSeconds, e);
1256
+ default: return H(z.extended, e);
1257
+ }
1258
+ }
1259
+ set(e, t, r) {
1260
+ return t.timestampIsSet ? e : n(e, e.getTime() - f(e) - r);
1261
+ }
1262
+ incompatibleTokens = [
1263
+ "t",
1264
+ "T",
1265
+ "X"
1266
+ ];
1267
+ }, Be = class extends L {
1268
+ priority = 40;
1269
+ parse(e) {
1270
+ return U(e);
1271
+ }
1272
+ set(e, t, r) {
1273
+ return [n(e, r * 1e3), { timestampIsSet: !0 }];
1274
+ }
1275
+ incompatibleTokens = "*";
1276
+ }, Ve = class extends L {
1277
+ priority = 20;
1278
+ parse(e) {
1279
+ return U(e);
1280
+ }
1281
+ set(e, t, r) {
1282
+ return [n(e, r), { timestampIsSet: !0 }];
1283
+ }
1284
+ incompatibleTokens = "*";
1285
+ }, He = {
1286
+ G: new oe(),
1287
+ y: new se(),
1288
+ Y: new ce(),
1289
+ R: new le(),
1290
+ u: new ue(),
1291
+ Q: new de(),
1292
+ q: new fe(),
1293
+ M: new pe(),
1294
+ L: new me(),
1295
+ w: new ge(),
1296
+ I: new ve(),
1297
+ d: new xe(),
1298
+ D: new Se(),
1299
+ E: new Ce(),
1300
+ e: new we(),
1301
+ c: new Te(),
1302
+ i: new De(),
1303
+ a: new Oe(),
1304
+ b: new ke(),
1305
+ B: new Ae(),
1306
+ h: new je(),
1307
+ H: new Me(),
1308
+ K: new Ne(),
1309
+ k: new Pe(),
1310
+ m: new Fe(),
1311
+ s: new Ie(),
1312
+ S: new Le(),
1313
+ X: new Re(),
1314
+ x: new ze(),
1315
+ t: new Be(),
1316
+ T: new Ve()
1317
+ }, Ue = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, We = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, X = /^'([^]*?)'?$/, Ge = /''/g, Ke = /\S/, qe = /[a-zA-Z]/;
1318
+ function Z(e, t, r, a) {
1319
+ let o = () => n(a?.in || r, NaN), s = j(), l = a?.locale ?? s.locale ?? ee, d = a?.firstWeekContainsDate ?? a?.locale?.options?.firstWeekContainsDate ?? s.firstWeekContainsDate ?? s.locale?.options?.firstWeekContainsDate ?? 1, f = a?.weekStartsOn ?? a?.locale?.options?.weekStartsOn ?? s.weekStartsOn ?? s.locale?.options?.weekStartsOn ?? 0;
1320
+ if (!t) return e ? o() : i(r, a?.in);
1321
+ let m = {
1322
+ firstWeekContainsDate: d,
1323
+ weekStartsOn: f,
1324
+ locale: l
1325
+ }, g = [new ae(a?.in, r)], _ = t.match(We).map((e) => {
1326
+ let t = e[0];
1327
+ if (t in c) {
1328
+ let n = c[t];
1329
+ return n(e, l.formatLong);
1330
+ }
1331
+ return e;
1332
+ }).join("").match(Ue), v = [];
1333
+ for (let n of _) {
1334
+ !a?.useAdditionalWeekYearTokens && u(n) && p(n, t, e), !a?.useAdditionalDayOfYearTokens && h(n) && p(n, t, e);
1335
+ let r = n[0], i = He[r];
1336
+ if (i) {
1337
+ let { incompatibleTokens: t } = i;
1338
+ if (Array.isArray(t)) {
1339
+ let e = v.find((e) => t.includes(e.token) || e.token === r);
1340
+ if (e) throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`);
1341
+ } else if (i.incompatibleTokens === "*" && v.length > 0) throw RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);
1342
+ v.push({
1343
+ token: r,
1344
+ fullToken: n
1345
+ });
1346
+ let a = i.run(e, n, l.match, m);
1347
+ if (!a) return o();
1348
+ g.push(a.setter), e = a.rest;
1349
+ } else {
1350
+ if (r.match(qe)) throw RangeError("Format string contains an unescaped latin alphabet character `" + r + "`");
1351
+ if (n === "''" ? n = "'" : r === "'" && (n = Je(n)), e.indexOf(n) === 0) e = e.slice(n.length);
1352
+ else return o();
1353
+ }
1354
+ }
1355
+ if (e.length > 0 && Ke.test(e)) return o();
1356
+ let y = g.map((e) => e.priority).sort((e, t) => t - e).filter((e, t, n) => n.indexOf(e) === t).map((e) => g.filter((t) => t.priority === e).sort((e, t) => t.subPriority - e.subPriority)).map((e) => e[0]), b = i(r, a?.in);
1357
+ if (isNaN(+b)) return o();
1358
+ let x = {};
1359
+ for (let e of y) {
1360
+ if (!e.validate(b, m)) return o();
1361
+ let t = e.set(b, x, m);
1362
+ Array.isArray(t) ? (b = t[0], Object.assign(x, t[1])) : b = t;
1363
+ }
1364
+ return b;
1365
+ }
1366
+ function Je(e) {
1367
+ return e.match(X)[1].replace(Ge, "'");
1368
+ }
1369
+ //#endregion
1370
+ //#region src/classes/filters/SelectionFilter.ts
1371
+ var Q = class extends k {
1372
+ filterValue = [];
1373
+ initialFilterValue = [];
1374
+ showInSidebar = !1;
1375
+ getPresentationValue() {
1376
+ return x("{{numCases}} case(s)", { numCases: this.filterValue.length });
1377
+ }
1378
+ matchRowValue(e) {
1379
+ return !this.filterValue.length;
1380
+ }
1381
+ toBackendFilter() {}
1382
+ }, $ = class extends k {
1383
+ filterValue = null;
1384
+ initialFilterValue = null;
1385
+ showInSidebar = !1;
1386
+ getPresentationValue() {
1387
+ return x("Selected tree node ({{nodeName}})", { nodeName: this.filterValue });
1388
+ }
1389
+ matchRowValue() {
1390
+ return !0;
1391
+ }
1392
+ toBackendFilter() {}
1393
+ }, Ye = class e {
1394
+ static colTypeBlackList = /* @__PURE__ */ new Set([
1395
+ S.GENETIC_DISTANCE,
1396
+ S.GENETIC_READS,
1397
+ S.GENETIC_SEQUENCE
1398
+ ]);
1399
+ static createCategoricalFilter(t, n, r) {
1400
+ let i = r.ref_cols[t.ref_col_id];
1401
+ if ((i.col_type === S.NOMINAL || i.col_type === S.ORDINAL || i.col_type === S.INTERVAL) && b.getInstance().data.conceptsBySetId[i.concept_set_id]) {
1402
+ let e = b.getInstance().data.conceptsBySetId[i.concept_set_id].map((e) => ({
1403
+ label: `${e.code} (${e.name})`,
1404
+ value: e.id
1405
+ }));
1406
+ return new w({
1407
+ filterDimensionId: n,
1408
+ filterMode: O.BACKEND,
1409
+ filterPriority: D,
1410
+ id: t.id,
1411
+ label: t.label,
1412
+ options: e
1413
+ });
1414
+ }
1415
+ return e.createTextFilter(t, n);
1416
+ }
1417
+ static createFilterDimensions(t) {
1418
+ let n = [];
1419
+ return t.ordered_dim_ids.forEach((r) => {
1420
+ let i = t.dims[r], a = t.ref_dims[i.ref_dim_id], o = t.ordered_col_ids_by_dim[r], s = o.map((e) => t.ref_cols[t.cols[e].ref_col_id]);
1421
+ if (_.isGeneticDistanceDim(a, s) || s.every((t) => e.colTypeBlackList.has(t.col_type))) return;
1422
+ let c = {
1423
+ description: t.ref_dims[i.ref_dim_id].description,
1424
+ filterIds: o,
1425
+ id: r,
1426
+ label: i.label
1427
+ }, l = o.map((e) => t.cols[e]);
1428
+ if (!l.length) return null;
1429
+ let u, d = !1, f = !1;
1430
+ a.dim_type === C.TIME ? (u = _.getPreferredColInDimHavingHighestRank(l, t).id, f = !0) : a.dim_type === C.GEO ? u = _.getPreferredGEOCol(l).id : (u = _.getPreferredColInDimHavingHighestRank(l, t).id, d = a.dim_type !== C.NUMBER), n.push({
1431
+ ...c,
1432
+ allowMultipleVisibleFilters: d,
1433
+ allowOnlyPreferredFilter: f,
1434
+ preferredFilterId: u
1435
+ });
1436
+ }), n;
1437
+ }
1438
+ static createFilters(t) {
1439
+ let n = [];
1440
+ return n.push(new Q({
1441
+ filterMode: O.FRONTEND,
1442
+ filterPriority: v,
1443
+ id: "selected",
1444
+ label: x`Selected rows`
1445
+ })), n.push(new $({
1446
+ filterMode: O.FRONTEND,
1447
+ filterPriority: y,
1448
+ id: "sequence_id",
1449
+ label: x`Tree`
1450
+ })), t.ordered_dim_ids.forEach((r) => {
1451
+ let i = t.dims[r], a = t.ref_dims[i.ref_dim_id];
1452
+ t.ordered_col_ids_by_dim[r].map((e) => t.cols[e]).forEach((i) => {
1453
+ let o = t.ref_cols[i.ref_col_id];
1454
+ if (!e.colTypeBlackList.has(o.col_type)) if (a.dim_type === C.TIME) {
1455
+ let t = new Date(1900, 0, 1);
1456
+ n.push(new ne({
1457
+ backendFilterType: o.col_type === S.TIME_DAY ? "DATE_RANGE" : "PARTIAL_DATE_RANGE",
1458
+ dateParser: e.getDateParser(o),
1459
+ filterDimensionId: r,
1460
+ filterMode: O.BACKEND,
1461
+ filterPriority: D,
1462
+ id: i.id,
1463
+ label: i.label,
1464
+ maxDate: /* @__PURE__ */ new Date(),
1465
+ minDate: t
1466
+ }));
1467
+ } else if (a.dim_type === C.GEO) {
1468
+ let e = b.getInstance().data.regionSets[o.region_set_id], t = (b.getInstance().data.regionsByRegionSetId[o.region_set_id]?.map((t) => ({
1469
+ label: e.region_code_as_label ? t.code : t.name,
1470
+ value: t.id
1471
+ })) ?? []).sort((e, t) => e.label.localeCompare(t.label));
1472
+ n.push(new re({
1473
+ filterDimensionId: r,
1474
+ filterMode: O.BACKEND,
1475
+ filterPriority: D,
1476
+ id: i.id,
1477
+ label: i.label,
1478
+ options: t
1479
+ }));
1480
+ } else if (a.dim_type === C.TEXT) n.push(e.createCategoricalFilter(i, r, t));
1481
+ else if (a.dim_type === C.NUMBER) [
1482
+ S.DECIMAL_0,
1483
+ S.DECIMAL_1,
1484
+ S.DECIMAL_2,
1485
+ S.DECIMAL_3,
1486
+ S.DECIMAL_4,
1487
+ S.DECIMAL_5,
1488
+ S.DECIMAL_6
1489
+ ].includes(o.col_type) ? n.push(new T({
1490
+ filterDimensionId: r,
1491
+ filterMode: O.BACKEND,
1492
+ filterPriority: D,
1493
+ id: i.id,
1494
+ label: i.label,
1495
+ max: i.max_value ?? Infinity,
1496
+ min: i.min_value ?? -Infinity
1497
+ })) : n.push(e.createCategoricalFilter(i, r, t));
1498
+ else if (a.dim_type === C.ORGANIZATION) {
1499
+ let e = b.getInstance().data.organizations.map((e) => ({
1500
+ label: e.name,
1501
+ value: e.id
1502
+ }));
1503
+ n.push(new w({
1504
+ filterDimensionId: r,
1505
+ filterMode: O.BACKEND,
1506
+ filterPriority: D,
1507
+ id: i.id,
1508
+ label: i.label,
1509
+ options: e
1510
+ }));
1511
+ } else n.push(new E({
1512
+ filterDimensionId: r,
1513
+ filterMode: O.BACKEND,
1514
+ filterPriority: D,
1515
+ id: i.id,
1516
+ label: i.label
1517
+ }));
1518
+ });
1519
+ }), n;
1520
+ }
1521
+ static createTextFilter(e, t) {
1522
+ return new E({
1523
+ filterDimensionId: t,
1524
+ filterMode: O.BACKEND,
1525
+ filterPriority: D,
1526
+ id: e.id,
1527
+ label: e.label
1528
+ });
1529
+ }
1530
+ static getDateParser(e) {
1531
+ return e.col_type === S.TIME_QUARTER ? (e) => Z(e, te.YEAR_QUARTER, /* @__PURE__ */ new Date()) : (e) => g(e);
1532
+ }
1533
+ };
1534
+ //#endregion
1535
+ export { A as a, Z as i, $ as n, Q as r, Ye as t };
1536
+
1537
+ //# sourceMappingURL=FilterUtil.js.map