@gen3/frontend 0.10.94 → 0.10.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. package/dist/cjs/index.js +5783 -2696
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Content/LandingPageContent.d.ts +2 -1
  4. package/dist/dts/components/Content/LandingPageContent.d.ts.map +1 -1
  5. package/dist/dts/components/Content/LandingPageContent.js.map +1 -1
  6. package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts +64 -0
  7. package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  8. package/dist/dts/components/DropdownMenu/DropdownMenu.js +38 -0
  9. package/dist/dts/components/DropdownMenu/DropdownMenu.js.map +1 -0
  10. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts +2 -0
  11. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts.map +1 -0
  12. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js +141 -0
  13. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js.map +1 -0
  14. package/dist/dts/components/DropdownMenu/index.d.ts +3 -0
  15. package/dist/dts/components/DropdownMenu/index.d.ts.map +1 -0
  16. package/dist/dts/components/DropdownMenu/index.js +3 -0
  17. package/dist/dts/components/DropdownMenu/index.js.map +1 -0
  18. package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
  19. package/dist/dts/components/Login/LoginPanel.js +1 -0
  20. package/dist/dts/components/Login/LoginPanel.js.map +1 -1
  21. package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
  22. package/dist/dts/components/Login/LoginProvidersPanel.js +1 -1
  23. package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
  24. package/dist/dts/components/Login/types.d.ts +2 -1
  25. package/dist/dts/components/Login/types.d.ts.map +1 -1
  26. package/dist/dts/components/Login/types.js.map +1 -1
  27. package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts +5 -0
  28. package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts.map +1 -0
  29. package/dist/dts/components/MessageCards/EmptyTableMessage.js +9 -0
  30. package/dist/dts/components/MessageCards/EmptyTableMessage.js.map +1 -0
  31. package/dist/dts/components/MessageCards/ErrorMessage.d.ts +7 -0
  32. package/dist/dts/components/MessageCards/ErrorMessage.d.ts.map +1 -0
  33. package/dist/dts/components/MessageCards/ErrorMessage.js +8 -0
  34. package/dist/dts/components/MessageCards/ErrorMessage.js.map +1 -0
  35. package/dist/dts/components/MessageCards/index.d.ts +2 -1
  36. package/dist/dts/components/MessageCards/index.d.ts.map +1 -1
  37. package/dist/dts/components/MessageCards/index.js +2 -1
  38. package/dist/dts/components/MessageCards/index.js.map +1 -1
  39. package/dist/dts/components/Profile/types.d.ts +2 -1
  40. package/dist/dts/components/Profile/types.d.ts.map +1 -1
  41. package/dist/dts/components/charts/Charts.d.ts.map +1 -1
  42. package/dist/dts/components/charts/Charts.js +2 -0
  43. package/dist/dts/components/charts/Charts.js.map +1 -1
  44. package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
  45. package/dist/dts/components/charts/echarts/BarChart.js +42 -4
  46. package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
  47. package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts +1 -1
  48. package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts.map +1 -1
  49. package/dist/dts/components/charts/echarts/HorizontalBarChart.js +3 -2
  50. package/dist/dts/components/charts/echarts/HorizontalBarChart.js.map +1 -1
  51. package/dist/dts/components/charts/echarts/ReactECharts.js +1 -1
  52. package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
  53. package/dist/dts/components/charts/types.d.ts +2 -0
  54. package/dist/dts/components/charts/types.d.ts.map +1 -1
  55. package/dist/dts/components/charts/utils.d.ts +1 -1
  56. package/dist/dts/components/charts/utils.d.ts.map +1 -1
  57. package/dist/dts/components/charts/utils.js +2 -4
  58. package/dist/dts/components/charts/utils.js.map +1 -1
  59. package/dist/dts/components/facets/EnumFacet.d.ts +2 -1
  60. package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
  61. package/dist/dts/components/facets/EnumFacet.js.map +1 -1
  62. package/dist/dts/components/facets/FacetControlsHeader.d.ts.map +1 -1
  63. package/dist/dts/components/facets/FacetControlsHeader.js +1 -1
  64. package/dist/dts/components/facets/FacetControlsHeader.js.map +1 -1
  65. package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
  66. package/dist/dts/components/facets/FacetEnumList.js +7 -30
  67. package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
  68. package/dist/dts/components/facets/FacetSelector.d.ts +1 -1
  69. package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -1
  70. package/dist/dts/components/facets/FacetSelector.js +9 -7
  71. package/dist/dts/components/facets/FacetSelector.js.map +1 -1
  72. package/dist/dts/components/facets/types.d.ts +1 -0
  73. package/dist/dts/components/facets/types.d.ts.map +1 -1
  74. package/dist/dts/components/facets/types.js.map +1 -1
  75. package/dist/dts/components/facets/utils.d.ts +4 -2
  76. package/dist/dts/components/facets/utils.d.ts.map +1 -1
  77. package/dist/dts/components/facets/utils.js +27 -1
  78. package/dist/dts/components/facets/utils.js.map +1 -1
  79. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
  80. package/dist/dts/features/Analysis/types.d.ts +2 -1
  81. package/dist/dts/features/Analysis/types.d.ts.map +1 -1
  82. package/dist/dts/features/Analysis/types.js.map +1 -1
  83. package/dist/dts/features/CohortBuilder/AccessLevel.d.ts +8 -0
  84. package/dist/dts/features/CohortBuilder/AccessLevel.d.ts.map +1 -0
  85. package/dist/dts/features/CohortBuilder/AccessLevel.js +20 -0
  86. package/dist/dts/features/CohortBuilder/AccessLevel.js.map +1 -0
  87. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +1 -0
  88. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  89. package/dist/dts/features/CohortBuilder/CohortBuilder.js +4 -20
  90. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  91. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts +20 -0
  92. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts.map +1 -0
  93. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js +37 -0
  94. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js.map +1 -0
  95. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +18 -0
  96. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -0
  97. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +149 -0
  98. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -0
  99. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts +9 -0
  100. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts.map +1 -0
  101. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js +122 -0
  102. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js.map +1 -0
  103. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts +19 -0
  104. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts.map +1 -0
  105. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js +52 -0
  106. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js.map +1 -0
  107. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts +10 -0
  108. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts.map +1 -0
  109. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js +37 -0
  110. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js.map +1 -0
  111. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts +13 -0
  112. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts.map +1 -0
  113. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js +33 -0
  114. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js.map +1 -0
  115. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts +7 -0
  116. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts.map +1 -0
  117. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js +80 -0
  118. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js.map +1 -0
  119. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts +5 -0
  120. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts.map +1 -0
  121. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js +5 -0
  122. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js.map +1 -0
  123. package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts +5 -0
  124. package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts.map +1 -0
  125. package/dist/dts/features/CohortBuilder/CohortManager/index.js +4 -0
  126. package/dist/dts/features/CohortBuilder/CohortManager/index.js.map +1 -0
  127. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts +13 -0
  128. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts.map +1 -0
  129. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js +15 -0
  130. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js.map +1 -0
  131. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts +4 -0
  132. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts.map +1 -0
  133. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js +8 -0
  134. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js.map +1 -0
  135. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts +32 -0
  136. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts.map +1 -0
  137. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js +190 -0
  138. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js.map +1 -0
  139. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts +2 -0
  140. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts.map +1 -0
  141. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js +145 -0
  142. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js.map +1 -0
  143. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts +29 -0
  144. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts.map +1 -0
  145. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js +79 -0
  146. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js.map +1 -0
  147. package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts +5 -0
  148. package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts.map +1 -0
  149. package/dist/dts/features/CohortBuilder/CohortManager/style.js +21 -0
  150. package/dist/dts/features/CohortBuilder/CohortManager/style.js.map +1 -0
  151. package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts +49 -0
  152. package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts.map +1 -0
  153. package/dist/dts/features/CohortBuilder/CohortManager/types.js +2 -0
  154. package/dist/dts/features/CohortBuilder/CohortManager/types.js.map +1 -0
  155. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts +6 -0
  156. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts.map +1 -0
  157. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js +21 -0
  158. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js.map +1 -0
  159. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts +6 -2
  160. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  161. package/dist/dts/features/CohortBuilder/CohortPanel.js +15 -19
  162. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  163. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +8 -1
  164. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -1
  165. package/dist/dts/features/CohortBuilder/CohortSelector.js +51 -10
  166. package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -1
  167. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +6 -0
  168. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -0
  169. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js +32 -0
  170. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -0
  171. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts +1 -1
  172. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
  173. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +1 -1
  174. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  175. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +2 -0
  176. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
  177. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +3 -2
  178. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
  179. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +56 -60
  180. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
  181. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts +4 -0
  182. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts.map +1 -0
  183. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +48 -0
  184. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -0
  185. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts +4 -0
  186. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts.map +1 -0
  187. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js +81 -0
  188. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js.map +1 -0
  189. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts +9 -0
  190. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -0
  191. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +22 -0
  192. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -0
  193. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts +9 -0
  194. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts.map +1 -0
  195. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js +17 -0
  196. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js.map +1 -0
  197. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts +12 -0
  198. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts.map +1 -0
  199. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js +2 -0
  200. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js.map +1 -0
  201. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +52 -12
  202. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
  203. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +4 -1
  204. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
  205. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +70 -0
  206. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js.map +1 -1
  207. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts +1 -1
  208. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts.map +1 -1
  209. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js +2 -2
  210. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -1
  211. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts +1 -1
  212. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -1
  213. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +5 -4
  214. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js.map +1 -1
  215. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts.map +1 -1
  216. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js +2 -1
  217. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js.map +1 -1
  218. package/dist/dts/features/CohortBuilder/Panels/types.d.ts +4 -1
  219. package/dist/dts/features/CohortBuilder/Panels/types.d.ts.map +1 -1
  220. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js +1 -1
  221. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -1
  222. package/dist/dts/features/CohortBuilder/index.d.ts +5 -2
  223. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  224. package/dist/dts/features/CohortBuilder/index.js +4 -1
  225. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  226. package/dist/dts/features/CohortBuilder/types.d.ts +15 -7
  227. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  228. package/dist/dts/features/CohortBuilder/types.js +6 -0
  229. package/dist/dts/features/CohortBuilder/types.js.map +1 -1
  230. package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.d.ts.map +1 -1
  231. package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js +18 -2
  232. package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js.map +1 -1
  233. package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.d.ts.map +1 -1
  234. package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js +10 -4
  235. package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js.map +1 -1
  236. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
  237. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +20 -12
  238. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
  239. package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -1
  240. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +28 -8
  241. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
  242. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +9 -0
  243. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -0
  244. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +147 -0
  245. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -0
  246. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts +2 -0
  247. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -0
  248. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +36 -0
  249. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -0
  250. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +461 -0
  251. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -0
  252. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +51 -0
  253. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -0
  254. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +97 -0
  255. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -0
  256. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +435 -0
  257. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -0
  258. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts +64 -0
  259. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts.map +1 -0
  260. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js +572 -0
  261. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js.map +1 -0
  262. package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts +7 -0
  263. package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts.map +1 -0
  264. package/dist/dts/features/CohortDiscovery/CohortManagment/types.js +2 -0
  265. package/dist/dts/features/CohortDiscovery/CohortManagment/types.js.map +1 -0
  266. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts +6 -0
  267. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts.map +1 -0
  268. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js +55 -0
  269. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js.map +1 -0
  270. package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts +0 -22
  271. package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts.map +1 -1
  272. package/dist/dts/features/CohortDiscovery/CohortSelectors.js +40 -34
  273. package/dist/dts/features/CohortDiscovery/CohortSelectors.js.map +1 -1
  274. package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts +0 -90
  275. package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts.map +1 -1
  276. package/dist/dts/features/CohortDiscovery/CohortSlice.js +161 -92
  277. package/dist/dts/features/CohortDiscovery/CohortSlice.js.map +1 -1
  278. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts +1 -1
  279. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -1
  280. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +1 -1
  281. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -1
  282. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts +1 -1
  283. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -1
  284. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js +1 -1
  285. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js.map +1 -1
  286. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +2 -1
  287. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
  288. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +25 -7
  289. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
  290. package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js.map +1 -1
  291. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +1 -1
  292. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
  293. package/dist/dts/features/CohortDiscovery/IndexPanel.js +42 -34
  294. package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
  295. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts +14 -28
  296. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts.map +1 -1
  297. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js +4 -4
  298. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js.map +1 -1
  299. package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.d.ts.map +1 -1
  300. package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js +4 -10
  301. package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js.map +1 -1
  302. package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.d.ts.map +1 -1
  303. package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js +2 -1
  304. package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js.map +1 -1
  305. package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.d.ts.map +1 -1
  306. package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js +76 -13
  307. package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js.map +1 -1
  308. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts +22 -0
  309. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts.map +1 -0
  310. package/dist/dts/features/CohortDiscovery/Requests/hooks.js +147 -0
  311. package/dist/dts/features/CohortDiscovery/Requests/hooks.js.map +1 -0
  312. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts +9 -0
  313. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts.map +1 -0
  314. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js +133 -0
  315. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js.map +1 -0
  316. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts +1 -0
  317. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts.map +1 -0
  318. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js +284 -0
  319. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js.map +1 -0
  320. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts +8 -0
  321. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts.map +1 -0
  322. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js +9 -0
  323. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js.map +1 -0
  324. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts +10 -0
  325. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -0
  326. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +157 -0
  327. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -0
  328. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts +3 -4
  329. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -1
  330. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js +6 -11
  331. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js.map +1 -1
  332. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts +9 -0
  333. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts.map +1 -0
  334. package/dist/dts/features/CohortDiscovery/TabbedIndex.js +15 -0
  335. package/dist/dts/features/CohortDiscovery/TabbedIndex.js.map +1 -0
  336. package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js +2 -2
  337. package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js.map +1 -1
  338. package/dist/dts/features/CohortDiscovery/appApi.d.ts +17 -3
  339. package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
  340. package/dist/dts/features/CohortDiscovery/appApi.js +13 -3
  341. package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
  342. package/dist/dts/features/CohortDiscovery/hooks.d.ts +12 -0
  343. package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
  344. package/dist/dts/features/CohortDiscovery/hooks.js +40 -1
  345. package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
  346. package/dist/dts/features/CohortDiscovery/queryApi.d.ts.map +1 -1
  347. package/dist/dts/features/CohortDiscovery/queryApi.js.map +1 -1
  348. package/dist/dts/features/CohortDiscovery/registerApp.d.ts.map +1 -1
  349. package/dist/dts/features/CohortDiscovery/registerApp.js +5 -3
  350. package/dist/dts/features/CohortDiscovery/registerApp.js.map +1 -1
  351. package/dist/dts/features/CohortDiscovery/types.d.ts +88 -3
  352. package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
  353. package/dist/dts/features/CohortDiscovery/types.js +45 -1
  354. package/dist/dts/features/CohortDiscovery/types.js.map +1 -1
  355. package/dist/dts/features/CohortDiscovery/utils.d.ts +2 -0
  356. package/dist/dts/features/CohortDiscovery/utils.d.ts.map +1 -1
  357. package/dist/dts/features/CohortDiscovery/utils.js +9 -0
  358. package/dist/dts/features/CohortDiscovery/utils.js.map +1 -1
  359. package/dist/dts/features/CohortSimilarity/appApi.d.ts +4 -6
  360. package/dist/dts/features/CohortSimilarity/appApi.d.ts.map +1 -1
  361. package/dist/dts/features/CohortSimilarity/appApi.js +3 -1
  362. package/dist/dts/features/CohortSimilarity/appApi.js.map +1 -1
  363. package/dist/dts/features/CohortSimilarity/registerApp.d.ts.map +1 -1
  364. package/dist/dts/features/CohortSimilarity/registerApp.js +1 -3
  365. package/dist/dts/features/CohortSimilarity/registerApp.js.map +1 -1
  366. package/dist/dts/features/Crosswalk/types.d.ts +2 -1
  367. package/dist/dts/features/Crosswalk/types.d.ts.map +1 -1
  368. package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
  369. package/dist/dts/features/DataLibrary/DatasetAccordionControl.js +2 -2
  370. package/dist/dts/features/DataLibrary/DatasetAccordionControl.js.map +1 -1
  371. package/dist/dts/features/DataLibrary/SearchAndActions.js +1 -1
  372. package/dist/dts/features/DataLibrary/SearchAndActions.js.map +1 -1
  373. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.d.ts.map +1 -1
  374. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js +1 -1
  375. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js.map +1 -1
  376. package/dist/dts/features/DataLibrary/tests/utils.unit.test.js +2 -1
  377. package/dist/dts/features/DataLibrary/tests/utils.unit.test.js.map +1 -1
  378. package/dist/dts/features/DataLibrary/utils.d.ts +0 -10
  379. package/dist/dts/features/DataLibrary/utils.d.ts.map +1 -1
  380. package/dist/dts/features/DataLibrary/utils.js +0 -34
  381. package/dist/dts/features/DataLibrary/utils.js.map +1 -1
  382. package/dist/dts/features/Dictionary/CategoryPanel.d.ts.map +1 -1
  383. package/dist/dts/features/Dictionary/CategoryPanel.js +9 -9
  384. package/dist/dts/features/Dictionary/CategoryPanel.js.map +1 -1
  385. package/dist/dts/features/Dictionary/DictionaryWithContext.d.ts.map +1 -1
  386. package/dist/dts/features/Dictionary/DictionaryWithContext.js.map +1 -1
  387. package/dist/dts/features/Dictionary/types.d.ts +5 -1
  388. package/dist/dts/features/Dictionary/types.d.ts.map +1 -1
  389. package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js.map +1 -1
  390. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
  391. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js +2 -2
  392. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js.map +1 -1
  393. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.d.ts.map +1 -1
  394. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js +1 -1
  395. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js.map +1 -1
  396. package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
  397. package/dist/dts/features/Discovery/DataLoaders/utils.js +1 -1
  398. package/dist/dts/features/Discovery/DataLoaders/utils.js.map +1 -1
  399. package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
  400. package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +8 -6
  401. package/dist/dts/features/Discovery/DiscoveryIndexPanel.js.map +1 -1
  402. package/dist/dts/features/Discovery/DiscoveryProvider.d.ts +0 -3
  403. package/dist/dts/features/Discovery/DiscoveryProvider.d.ts.map +1 -1
  404. package/dist/dts/features/Discovery/DiscoveryProvider.js +0 -5
  405. package/dist/dts/features/Discovery/DiscoveryProvider.js.map +1 -1
  406. package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
  407. package/dist/dts/features/Discovery/DiscoveryTable.js +7 -5
  408. package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
  409. package/dist/dts/features/Discovery/StudyDetails/StudyItems.d.ts.map +1 -1
  410. package/dist/dts/features/Discovery/StudyDetails/StudyItems.js +3 -1
  411. package/dist/dts/features/Discovery/StudyDetails/StudyItems.js.map +1 -1
  412. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts +2 -3
  413. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts.map +1 -1
  414. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +3 -3
  415. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
  416. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts +1 -2
  417. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
  418. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +5 -6
  419. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
  420. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts +1 -1
  421. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
  422. package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts +1 -1
  423. package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts.map +1 -1
  424. package/dist/dts/features/Discovery/index.d.ts +2 -4
  425. package/dist/dts/features/Discovery/index.d.ts.map +1 -1
  426. package/dist/dts/features/Discovery/index.js +1 -3
  427. package/dist/dts/features/Discovery/index.js.map +1 -1
  428. package/dist/dts/features/Discovery/types.d.ts +5 -108
  429. package/dist/dts/features/Discovery/types.d.ts.map +1 -1
  430. package/dist/dts/features/Discovery/types.js +0 -16
  431. package/dist/dts/features/Discovery/types.js.map +1 -1
  432. package/dist/dts/features/Discovery/utils.d.ts +2 -8
  433. package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
  434. package/dist/dts/features/Discovery/utils.js +1 -28
  435. package/dist/dts/features/Discovery/utils.js.map +1 -1
  436. package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
  437. package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
  438. package/dist/dts/features/Navigation/NavPageLayout.js +2 -2
  439. package/dist/dts/features/Navigation/NavPageLayout.js.map +1 -1
  440. package/dist/dts/features/Navigation/TopBar/AccountButton.js +1 -1
  441. package/dist/dts/features/Navigation/TopBar/AccountButton.js.map +1 -1
  442. package/dist/dts/features/Navigation/TopBar/LoginButton.js +1 -1
  443. package/dist/dts/features/Navigation/TopBar/LoginButton.js.map +1 -1
  444. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts +9 -0
  445. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -0
  446. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js +11 -0
  447. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js.map +1 -0
  448. package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts +19 -0
  449. package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts.map +1 -0
  450. package/dist/dts/features/Study/StudyDetails/RendererFactory.js +56 -0
  451. package/dist/dts/features/Study/StudyDetails/RendererFactory.js.map +1 -0
  452. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts +15 -0
  453. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts.map +1 -0
  454. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js +44 -0
  455. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js.map +1 -0
  456. package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts +10 -0
  457. package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts.map +1 -0
  458. package/dist/dts/features/Study/StudyDetails/StudyDetails.js +36 -0
  459. package/dist/dts/features/Study/StudyDetails/StudyDetails.js.map +1 -0
  460. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts +10 -0
  461. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts.map +1 -0
  462. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js +19 -0
  463. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js.map +1 -0
  464. package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts +8 -0
  465. package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts.map +1 -0
  466. package/dist/dts/features/Study/StudyDetails/StudyGroup.js +31 -0
  467. package/dist/dts/features/Study/StudyDetails/StudyGroup.js.map +1 -0
  468. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts +9 -0
  469. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts.map +1 -0
  470. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js +11 -0
  471. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js.map +1 -0
  472. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts +5 -0
  473. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts.map +1 -0
  474. package/dist/dts/features/Study/StudyDetails/StudyItems.js +283 -0
  475. package/dist/dts/features/Study/StudyDetails/StudyItems.js.map +1 -0
  476. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts +10 -0
  477. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts.map +1 -0
  478. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js +45 -0
  479. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js.map +1 -0
  480. package/dist/dts/features/Study/StudyPage/StudyPage.d.ts +10 -0
  481. package/dist/dts/features/Study/StudyPage/StudyPage.d.ts.map +1 -0
  482. package/dist/dts/features/Study/StudyPage/StudyPage.js +11 -0
  483. package/dist/dts/features/Study/StudyPage/StudyPage.js.map +1 -0
  484. package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts +9 -0
  485. package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts.map +1 -0
  486. package/dist/dts/features/Study/StudyPage/StudyPageGroup.js +8 -0
  487. package/dist/dts/features/Study/StudyPage/StudyPageGroup.js.map +1 -0
  488. package/dist/dts/features/Study/StudyProvider.d.ts +12 -0
  489. package/dist/dts/features/Study/StudyProvider.d.ts.map +1 -0
  490. package/dist/dts/features/Study/StudyProvider.js +23 -0
  491. package/dist/dts/features/Study/StudyProvider.js.map +1 -0
  492. package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts +3 -0
  493. package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts.map +1 -0
  494. package/dist/dts/features/Study/TableRenderers/CellRenderers.js +20 -0
  495. package/dist/dts/features/Study/TableRenderers/CellRenderers.js.map +1 -0
  496. package/dist/dts/features/Study/TableRenderers/types.d.ts +14 -0
  497. package/dist/dts/features/Study/TableRenderers/types.d.ts.map +1 -0
  498. package/dist/dts/features/Study/TableRenderers/types.js +2 -0
  499. package/dist/dts/features/Study/TableRenderers/types.js.map +1 -0
  500. package/dist/dts/features/Study/index.d.ts +5 -0
  501. package/dist/dts/features/Study/index.d.ts.map +1 -0
  502. package/dist/dts/features/Study/index.js +4 -0
  503. package/dist/dts/features/Study/index.js.map +1 -0
  504. package/dist/dts/features/Study/types.d.ts +91 -0
  505. package/dist/dts/features/Study/types.d.ts.map +1 -0
  506. package/dist/dts/features/Study/types.js +8 -0
  507. package/dist/dts/features/Study/types.js.map +1 -0
  508. package/dist/dts/features/Study/utils.d.ts +10 -0
  509. package/dist/dts/features/Study/utils.d.ts.map +1 -0
  510. package/dist/dts/features/Study/utils.js +28 -0
  511. package/dist/dts/features/Study/utils.js.map +1 -0
  512. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts.map +1 -1
  513. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js.map +1 -1
  514. package/dist/dts/features/Workspace/types.d.ts +2 -1
  515. package/dist/dts/features/Workspace/types.d.ts.map +1 -1
  516. package/dist/dts/features/Workspace/types.js.map +1 -1
  517. package/dist/dts/index.d.ts +3 -1
  518. package/dist/dts/index.d.ts.map +1 -1
  519. package/dist/dts/index.js +7 -1
  520. package/dist/dts/index.js.map +1 -1
  521. package/dist/dts/lib/content/types.d.ts +2 -0
  522. package/dist/dts/lib/content/types.d.ts.map +1 -1
  523. package/dist/dts/lib/session/session.d.ts.map +1 -1
  524. package/dist/dts/lib/session/session.js +22 -34
  525. package/dist/dts/lib/session/session.js.map +1 -1
  526. package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +1 -1
  527. package/dist/dts/pages/Crosswalk/Crosswalk.js +1 -5
  528. package/dist/dts/pages/Crosswalk/Crosswalk.js.map +1 -1
  529. package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +1 -1
  530. package/dist/dts/pages/DataDictionary/DataDictionary.js +12 -5
  531. package/dist/dts/pages/DataDictionary/DataDictionary.js.map +1 -1
  532. package/dist/dts/pages/Discovery/Discovery.d.ts.map +1 -1
  533. package/dist/dts/pages/Discovery/Discovery.js +14 -5
  534. package/dist/dts/pages/Discovery/Discovery.js.map +1 -1
  535. package/dist/dts/pages/Explorer/Explorer.d.ts +1 -1
  536. package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
  537. package/dist/dts/pages/Explorer/Explorer.js +13 -6
  538. package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
  539. package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
  540. package/dist/dts/pages/Explorer/data.js +28 -22
  541. package/dist/dts/pages/Explorer/data.js.map +1 -1
  542. package/dist/dts/pages/Landing/Landing.d.ts.map +1 -1
  543. package/dist/dts/pages/Landing/Landing.js +12 -5
  544. package/dist/dts/pages/Landing/Landing.js.map +1 -1
  545. package/dist/dts/pages/Login/Login.d.ts.map +1 -1
  546. package/dist/dts/pages/Login/Login.js +1 -5
  547. package/dist/dts/pages/Login/Login.js.map +1 -1
  548. package/dist/dts/pages/Profile/Profile.d.ts.map +1 -1
  549. package/dist/dts/pages/Profile/Profile.js +12 -5
  550. package/dist/dts/pages/Profile/Profile.js.map +1 -1
  551. package/dist/dts/pages/Query/Query.d.ts.map +1 -1
  552. package/dist/dts/pages/Query/Query.js +12 -5
  553. package/dist/dts/pages/Query/Query.js.map +1 -1
  554. package/dist/dts/pages/Query/types.d.ts +2 -1
  555. package/dist/dts/pages/Query/types.d.ts.map +1 -1
  556. package/dist/dts/pages/Workspace/Workspace.d.ts.map +1 -1
  557. package/dist/dts/pages/Workspace/Workspace.js +14 -5
  558. package/dist/dts/pages/Workspace/Workspace.js.map +1 -1
  559. package/dist/dts/pages/admin/analysis/Analysis.d.ts +1 -1
  560. package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -1
  561. package/dist/dts/pages/admin/analysis/Analysis.js +1 -1
  562. package/dist/dts/pages/admin/analysis/Analysis.js.map +1 -1
  563. package/dist/dts/types/icons.d.ts +5 -0
  564. package/dist/dts/types/icons.d.ts.map +1 -0
  565. package/dist/dts/types/icons.js +6 -0
  566. package/dist/dts/types/icons.js.map +1 -0
  567. package/dist/dts/utils/access.d.ts +10 -0
  568. package/dist/dts/utils/access.d.ts.map +1 -0
  569. package/dist/dts/utils/access.js +11 -0
  570. package/dist/dts/utils/access.js.map +1 -0
  571. package/dist/dts/utils/authMapping.d.ts +4 -0
  572. package/dist/dts/utils/authMapping.d.ts.map +1 -1
  573. package/dist/dts/utils/authMapping.js.map +1 -1
  574. package/dist/dts/utils/convertResourcePathsToTree.d.ts +8 -0
  575. package/dist/dts/utils/convertResourcePathsToTree.d.ts.map +1 -0
  576. package/dist/dts/utils/convertResourcePathsToTree.js +43 -0
  577. package/dist/dts/utils/convertResourcePathsToTree.js.map +1 -0
  578. package/dist/dts/utils/dataAuthorization.d.ts +11 -0
  579. package/dist/dts/utils/dataAuthorization.d.ts.map +1 -0
  580. package/dist/dts/utils/dataAuthorization.js +2 -0
  581. package/dist/dts/utils/dataAuthorization.js.map +1 -0
  582. package/dist/dts/utils/date.d.ts +16 -0
  583. package/dist/dts/utils/date.d.ts.map +1 -1
  584. package/dist/dts/utils/date.js +54 -8
  585. package/dist/dts/utils/date.js.map +1 -1
  586. package/dist/dts/utils/index.d.ts +4 -3
  587. package/dist/dts/utils/index.d.ts.map +1 -1
  588. package/dist/dts/utils/index.js +4 -2
  589. package/dist/dts/utils/index.js.map +1 -1
  590. package/dist/dts/utils/layout.d.ts +2 -0
  591. package/dist/dts/utils/layout.d.ts.map +1 -0
  592. package/dist/dts/utils/layout.js +20 -0
  593. package/dist/dts/utils/layout.js.map +1 -0
  594. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts +2 -0
  595. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts.map +1 -0
  596. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js +150 -0
  597. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js.map +1 -0
  598. package/dist/dts/utils/tests/values.test.js +0 -1
  599. package/dist/dts/utils/tests/values.test.js.map +1 -1
  600. package/dist/esm/index.js +5798 -2718
  601. package/dist/esm/index.js.map +1 -1
  602. package/dist/index.d.ts +412 -329
  603. package/dist/tsconfig.tsbuildinfo +1 -1
  604. package/package.json +7 -7
  605. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts +0 -1
  606. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts.map +0 -1
  607. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js +0 -2
  608. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js.map +0 -1
  609. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts +0 -3
  610. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts.map +0 -1
  611. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js +0 -13
  612. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js.map +0 -1
@@ -0,0 +1,572 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ var __generator = (this && this.__generator) || function (thisArg, body) {
22
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
23
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
+ function verb(n) { return function (v) { return step([n, v]); }; }
25
+ function step(op) {
26
+ if (f) throw new TypeError("Generator is already executing.");
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
+ if (y = 0, t) op = [op[0] & 2, t.value];
30
+ switch (op[0]) {
31
+ case 0: case 1: t = op; break;
32
+ case 4: _.label++; return { value: op[1], done: false };
33
+ case 5: _.label++; y = op[1]; op = [0]; continue;
34
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
+ default:
36
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
+ if (t[2]) _.ops.pop();
41
+ _.trys.pop(); continue;
42
+ }
43
+ op = body.call(thisArg, _);
44
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
+ }
47
+ };
48
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
49
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
50
+ if (ar || !(i in from)) {
51
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
52
+ ar[i] = from[i];
53
+ }
54
+ }
55
+ return to.concat(ar || Array.prototype.slice.call(from));
56
+ };
57
+ import { openDB } from 'idb';
58
+ import { getTimestamp } from '@gen3/core';
59
+ var DATABASE_NAME = 'Gen3CohortDiscovery';
60
+ var STORE_NAME = 'cohorts';
61
+ var DB_SCHEMA_VERSION = 1;
62
+ var CohortStorage = /** @class */ (function () {
63
+ function CohortStorage() {
64
+ }
65
+ CohortStorage.prototype.getDb = function () {
66
+ try {
67
+ return openDB(DATABASE_NAME, 1, {
68
+ upgrade: function (db) {
69
+ if (!db.objectStoreNames.contains(STORE_NAME)) {
70
+ db.createObjectStore(STORE_NAME, { keyPath: 'id' });
71
+ }
72
+ },
73
+ });
74
+ }
75
+ catch (error) {
76
+ var errorMessage = 'Unknown error';
77
+ if (error instanceof Error) {
78
+ errorMessage = error.message;
79
+ }
80
+ throw new Error("Database initialization failed: ".concat(errorMessage));
81
+ }
82
+ };
83
+ /**
84
+ * Initialize the IndexedDB database with proper schema
85
+ */
86
+ CohortStorage.prototype.initializeDB = function () {
87
+ return __awaiter(this, void 0, void 0, function () {
88
+ var error_1, errorMessage;
89
+ return __generator(this, function (_a) {
90
+ switch (_a.label) {
91
+ case 0:
92
+ _a.trys.push([0, 2, , 3]);
93
+ return [4 /*yield*/, openDB(DATABASE_NAME, DB_SCHEMA_VERSION, {
94
+ upgrade: function (db) {
95
+ if (!db.objectStoreNames.contains(STORE_NAME)) {
96
+ db.createObjectStore(STORE_NAME, { keyPath: 'id' });
97
+ }
98
+ },
99
+ blocked: function () {
100
+ console.warn('CohortDB: Database upgrade blocked by another connection');
101
+ },
102
+ blocking: function () {
103
+ console.warn('CohortDB: This connection is blocking a database upgrade');
104
+ },
105
+ terminated: function () {
106
+ console.error('CohortDB: Database connection terminated unexpectedly');
107
+ },
108
+ })];
109
+ case 1: return [2 /*return*/, _a.sent()];
110
+ case 2:
111
+ error_1 = _a.sent();
112
+ errorMessage = 'Unknown error';
113
+ if (error_1 instanceof Error) {
114
+ errorMessage = error_1.message;
115
+ }
116
+ throw new Error("Database initialization failed: ".concat(errorMessage));
117
+ case 3: return [2 /*return*/];
118
+ }
119
+ });
120
+ });
121
+ };
122
+ // ===== CREATE OPERATIONS =====
123
+ /**
124
+ * Save a single cohort to the database
125
+ */
126
+ CohortStorage.prototype.saveCohort = function (cohort) {
127
+ return __awaiter(this, void 0, void 0, function () {
128
+ var db, tx, _error_1;
129
+ return __generator(this, function (_a) {
130
+ switch (_a.label) {
131
+ case 0:
132
+ _a.trys.push([0, 3, , 4]);
133
+ return [4 /*yield*/, this.getDb()];
134
+ case 1:
135
+ db = _a.sent();
136
+ tx = db.transaction(STORE_NAME, 'readwrite');
137
+ tx.objectStore(STORE_NAME).put(cohort);
138
+ return [4 /*yield*/, tx.done];
139
+ case 2:
140
+ _a.sent();
141
+ return [2 /*return*/, { status: 200, message: 'cohort added' }];
142
+ case 3:
143
+ _error_1 = _a.sent();
144
+ return [2 /*return*/, { isError: true, status: 500, message: 'unable to save cohort' }];
145
+ case 4: return [2 /*return*/];
146
+ }
147
+ });
148
+ });
149
+ };
150
+ /**
151
+ * Save multiple cohorts in a single transaction (bulk operation)
152
+ */
153
+ CohortStorage.prototype.saveCohorts = function (cohorts) {
154
+ return __awaiter(this, void 0, void 0, function () {
155
+ var db, tx_1, _error_2;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
158
+ case 0:
159
+ if (cohorts.length === 0)
160
+ return [2 /*return*/, {
161
+ isError: true,
162
+ status: 400,
163
+ message: 'cannot add an empty array',
164
+ }];
165
+ _a.label = 1;
166
+ case 1:
167
+ _a.trys.push([1, 4, , 5]);
168
+ return [4 /*yield*/, this.getDb()];
169
+ case 2:
170
+ db = _a.sent();
171
+ tx_1 = db.transaction(STORE_NAME, 'readwrite');
172
+ // Batch all operations in single transaction for better performance
173
+ return [4 /*yield*/, Promise.all(__spreadArray(__spreadArray([], cohorts.map(function (cohort) { return tx_1.store.put(__assign(__assign({}, cohort), { saved: true })); }), true), [
174
+ tx_1.done,
175
+ ], false))];
176
+ case 3:
177
+ // Batch all operations in single transaction for better performance
178
+ _a.sent();
179
+ return [2 /*return*/, { status: 200, message: 'cohorts added' }];
180
+ case 4:
181
+ _error_2 = _a.sent();
182
+ return [2 /*return*/, { isError: true, status: 500, message: 'unable to save cohort' }];
183
+ case 5: return [2 /*return*/];
184
+ }
185
+ });
186
+ });
187
+ };
188
+ // ===== READ OPERATIONS =====
189
+ /**
190
+ * Get a specific cohort by ID
191
+ */
192
+ CohortStorage.prototype.getCohort = function (id) {
193
+ return __awaiter(this, void 0, void 0, function () {
194
+ var db, tx, store, cohort, _error_3;
195
+ return __generator(this, function (_a) {
196
+ switch (_a.label) {
197
+ case 0:
198
+ _a.trys.push([0, 3, , 4]);
199
+ return [4 /*yield*/, this.getDb()];
200
+ case 1:
201
+ db = _a.sent();
202
+ tx = db.transaction(STORE_NAME, 'readonly');
203
+ store = tx.objectStore(STORE_NAME);
204
+ return [4 /*yield*/, store.get(id)];
205
+ case 2:
206
+ cohort = (_a.sent());
207
+ return [2 /*return*/, {
208
+ status: 200,
209
+ message: 'success',
210
+ data: cohort,
211
+ }];
212
+ case 3:
213
+ _error_3 = _a.sent();
214
+ return [2 /*return*/, {
215
+ isError: true,
216
+ status: 401,
217
+ message: "cannot find cohort ".concat(id),
218
+ }];
219
+ case 4: return [2 /*return*/];
220
+ }
221
+ });
222
+ });
223
+ };
224
+ /**
225
+ * Get all cohorts from the database
226
+ */
227
+ CohortStorage.prototype.getAllCohorts = function () {
228
+ return __awaiter(this, void 0, void 0, function () {
229
+ var db, tx, store, savedCohorts, cohorts, _error_4;
230
+ return __generator(this, function (_a) {
231
+ switch (_a.label) {
232
+ case 0:
233
+ _a.trys.push([0, 3, , 4]);
234
+ return [4 /*yield*/, this.getDb()];
235
+ case 1:
236
+ db = _a.sent();
237
+ tx = db.transaction(STORE_NAME, 'readonly');
238
+ store = tx.objectStore(STORE_NAME);
239
+ return [4 /*yield*/, store.getAll()];
240
+ case 2:
241
+ savedCohorts = (_a.sent());
242
+ if (!savedCohorts) {
243
+ return [2 /*return*/, {
244
+ isError: true,
245
+ status: 500,
246
+ message: 'no cohorts returned',
247
+ }];
248
+ }
249
+ cohorts = savedCohorts.reduce(function (acc, cohort) {
250
+ var id = cohort.id;
251
+ acc[id] = cohort;
252
+ return acc;
253
+ }, {});
254
+ return [2 /*return*/, {
255
+ status: 200,
256
+ message: 'success',
257
+ data: cohorts,
258
+ }];
259
+ case 3:
260
+ _error_4 = _a.sent();
261
+ return [2 /*return*/, { isError: true, status: 401, message: 'cannot return cohorts' }];
262
+ case 4: return [2 /*return*/];
263
+ }
264
+ });
265
+ });
266
+ };
267
+ /**
268
+ * Search cohorts by name (case-insensitive partial match)
269
+ */
270
+ CohortStorage.prototype.searchCohortsByName = function (searchTerm) {
271
+ return __awaiter(this, void 0, void 0, function () {
272
+ var db, tx, store, allCohorts, searchLower_1, _error_5;
273
+ return __generator(this, function (_a) {
274
+ switch (_a.label) {
275
+ case 0:
276
+ _a.trys.push([0, 3, , 4]);
277
+ return [4 /*yield*/, this.getDb()];
278
+ case 1:
279
+ db = _a.sent();
280
+ tx = db.transaction(STORE_NAME, 'readonly');
281
+ store = tx.objectStore(STORE_NAME);
282
+ return [4 /*yield*/, store.getAll(STORE_NAME)];
283
+ case 2:
284
+ allCohorts = (_a.sent());
285
+ searchLower_1 = searchTerm.toLowerCase();
286
+ return [2 /*return*/, {
287
+ status: 200,
288
+ message: 'success',
289
+ data: allCohorts
290
+ .filter(function (cohort) { return cohort.name.toLowerCase().includes(searchLower_1); })
291
+ .reduce(function (acc, cohort) {
292
+ var id = cohort.id;
293
+ acc[id] = cohort;
294
+ return acc;
295
+ }, {}),
296
+ }];
297
+ case 3:
298
+ _error_5 = _a.sent();
299
+ return [2 /*return*/, { isError: true, status: 401, message: 'cannot find cohorts' }];
300
+ case 4: return [2 /*return*/];
301
+ }
302
+ });
303
+ });
304
+ };
305
+ /**
306
+ * Count total number of cohorts
307
+ */
308
+ CohortStorage.prototype.getCohortCount = function () {
309
+ return __awaiter(this, void 0, void 0, function () {
310
+ var db, total, _error_6;
311
+ return __generator(this, function (_a) {
312
+ switch (_a.label) {
313
+ case 0:
314
+ _a.trys.push([0, 3, , 4]);
315
+ return [4 /*yield*/, this.getDb()];
316
+ case 1:
317
+ db = _a.sent();
318
+ return [4 /*yield*/, db.count(STORE_NAME)];
319
+ case 2:
320
+ total = _a.sent();
321
+ return [2 /*return*/, {
322
+ status: 200,
323
+ message: 'success',
324
+ data: total,
325
+ }];
326
+ case 3:
327
+ _error_6 = _a.sent();
328
+ return [2 /*return*/, {
329
+ isError: true,
330
+ status: 401,
331
+ message: 'cannot find cohort count',
332
+ }];
333
+ case 4: return [2 /*return*/];
334
+ }
335
+ });
336
+ });
337
+ };
338
+ // ===== UPDATE OPERATIONS =====
339
+ /**
340
+ * Update an existing cohort (full replacement)
341
+ */
342
+ CohortStorage.prototype.updateCohort = function (cohort) {
343
+ return __awaiter(this, void 0, void 0, function () {
344
+ var db, tx, store, existing, timestamp, updated, error_2, errorMessage;
345
+ return __generator(this, function (_a) {
346
+ switch (_a.label) {
347
+ case 0:
348
+ _a.trys.push([0, 4, , 5]);
349
+ return [4 /*yield*/, this.getDb()];
350
+ case 1:
351
+ db = _a.sent();
352
+ tx = db.transaction(STORE_NAME, 'readwrite');
353
+ store = tx.objectStore(STORE_NAME);
354
+ return [4 /*yield*/, store.get(cohort.id)];
355
+ case 2:
356
+ existing = _a.sent();
357
+ if (!existing) {
358
+ return [2 /*return*/, {
359
+ isError: true,
360
+ status: 401,
361
+ message: 'cohort not found',
362
+ }];
363
+ }
364
+ timestamp = getTimestamp();
365
+ updated = __assign(__assign({}, existing), { modifiedDatetime: timestamp });
366
+ store.put(updated);
367
+ return [4 /*yield*/, tx.done];
368
+ case 3:
369
+ _a.sent();
370
+ return [2 /*return*/, { status: 200, message: 'success' }];
371
+ case 4:
372
+ error_2 = _a.sent();
373
+ errorMessage = 'An unknown error occurred';
374
+ if (error_2 instanceof Error) {
375
+ errorMessage = error_2.message;
376
+ }
377
+ return [2 /*return*/, {
378
+ isError: true,
379
+ status: 500,
380
+ message: "Unable to update cohort: ".concat(cohort.id, ". Error: ").concat(errorMessage),
381
+ }];
382
+ case 5: return [2 /*return*/];
383
+ }
384
+ });
385
+ });
386
+ };
387
+ // ===== DELETE OPERATIONS =====
388
+ /**
389
+ * Delete a specific cohort by ID
390
+ */
391
+ CohortStorage.prototype.deleteCohort = function (id) {
392
+ return __awaiter(this, void 0, void 0, function () {
393
+ var db, tx, store, existing, error_3, errorMessage;
394
+ return __generator(this, function (_a) {
395
+ switch (_a.label) {
396
+ case 0:
397
+ _a.trys.push([0, 4, , 5]);
398
+ return [4 /*yield*/, this.getDb()];
399
+ case 1:
400
+ db = _a.sent();
401
+ tx = db.transaction(STORE_NAME, 'readwrite');
402
+ store = tx.objectStore(STORE_NAME);
403
+ return [4 /*yield*/, db.get(STORE_NAME, id)];
404
+ case 2:
405
+ existing = _a.sent();
406
+ if (!existing) {
407
+ return [2 /*return*/, {
408
+ isError: true,
409
+ status: 401,
410
+ message: 'cohort not found',
411
+ }];
412
+ }
413
+ store.delete(id);
414
+ return [4 /*yield*/, tx.done];
415
+ case 3:
416
+ _a.sent();
417
+ return [2 /*return*/, { status: 200, message: "".concat(id, " deleted") }];
418
+ case 4:
419
+ error_3 = _a.sent();
420
+ errorMessage = error_3 instanceof Error ? error_3.message : 'An unknown error occurred';
421
+ return [2 /*return*/, {
422
+ isError: true,
423
+ status: 500,
424
+ message: "Unable to delete cohort: ".concat(id, ". Error: ").concat(errorMessage),
425
+ }];
426
+ case 5: return [2 /*return*/];
427
+ }
428
+ });
429
+ });
430
+ };
431
+ /**
432
+ * Delete all cohorts from the database
433
+ */
434
+ CohortStorage.prototype.deleteAllCohorts = function () {
435
+ return __awaiter(this, void 0, void 0, function () {
436
+ var db, tx, store, error_4, errorMessage;
437
+ return __generator(this, function (_a) {
438
+ switch (_a.label) {
439
+ case 0:
440
+ _a.trys.push([0, 3, , 4]);
441
+ return [4 /*yield*/, this.getDb()];
442
+ case 1:
443
+ db = _a.sent();
444
+ tx = db.transaction(STORE_NAME, 'readwrite');
445
+ store = tx.objectStore(STORE_NAME);
446
+ store.clear();
447
+ return [4 /*yield*/, tx.done];
448
+ case 2:
449
+ _a.sent();
450
+ return [2 /*return*/, { status: 200, message: "all cohorts deleted" }];
451
+ case 3:
452
+ error_4 = _a.sent();
453
+ errorMessage = error_4 instanceof Error ? error_4.message : 'An unknown error occurred';
454
+ return [2 /*return*/, {
455
+ isError: true,
456
+ status: 500,
457
+ message: "Unable to delete all cohorts. Error: ".concat(errorMessage),
458
+ }];
459
+ case 4: return [2 /*return*/];
460
+ }
461
+ });
462
+ });
463
+ };
464
+ // ===== UTILITY OPERATIONS =====
465
+ /**
466
+ * Check if a cohort exists
467
+ */
468
+ CohortStorage.prototype.cohortExists = function (id) {
469
+ return __awaiter(this, void 0, void 0, function () {
470
+ var db, tx, store, existing, error_5, errorMessage;
471
+ return __generator(this, function (_a) {
472
+ switch (_a.label) {
473
+ case 0:
474
+ _a.trys.push([0, 3, , 4]);
475
+ return [4 /*yield*/, this.getDb()];
476
+ case 1:
477
+ db = _a.sent();
478
+ tx = db.transaction(STORE_NAME, 'readwrite');
479
+ store = tx.objectStore(STORE_NAME);
480
+ return [4 /*yield*/, db.get(STORE_NAME, id)];
481
+ case 2:
482
+ existing = _a.sent();
483
+ return [2 /*return*/, { status: 200, message: "".concat(id, ": ").concat(existing ? 'true' : 'false') }];
484
+ case 3:
485
+ error_5 = _a.sent();
486
+ errorMessage = error_5 instanceof Error ? error_5.message : 'An unknown error occurred';
487
+ return [2 /*return*/, {
488
+ isError: true,
489
+ status: 500,
490
+ message: "Unable search for cohort. Error: ".concat(errorMessage),
491
+ }];
492
+ case 4: return [2 /*return*/];
493
+ }
494
+ });
495
+ });
496
+ };
497
+ /**
498
+ * Export all cohorts as JSON
499
+ */
500
+ CohortStorage.prototype.exportCohorts = function () {
501
+ return __awaiter(this, void 0, void 0, function () {
502
+ return __generator(this, function (_a) {
503
+ switch (_a.label) {
504
+ case 0: return [4 /*yield*/, this.getAllCohorts()];
505
+ case 1: return [2 /*return*/, _a.sent()];
506
+ }
507
+ });
508
+ });
509
+ };
510
+ /**
511
+ * Import cohorts from JSON data
512
+ */
513
+ CohortStorage.prototype.importCohorts = function (cohorts_1) {
514
+ return __awaiter(this, arguments, void 0, function (cohorts, overwrite) {
515
+ var error_6, errorMessage;
516
+ if (overwrite === void 0) { overwrite = false; }
517
+ return __generator(this, function (_a) {
518
+ switch (_a.label) {
519
+ case 0:
520
+ _a.trys.push([0, 4, , 5]);
521
+ if (!overwrite) return [3 /*break*/, 2];
522
+ return [4 /*yield*/, this.deleteAllCohorts()];
523
+ case 1:
524
+ _a.sent();
525
+ _a.label = 2;
526
+ case 2: return [4 /*yield*/, this.saveCohorts(cohorts)];
527
+ case 3:
528
+ _a.sent();
529
+ return [3 /*break*/, 5];
530
+ case 4:
531
+ error_6 = _a.sent();
532
+ errorMessage = error_6 instanceof Error ? error_6.message : 'An unknown error occurred';
533
+ return [2 /*return*/, {
534
+ isError: true,
535
+ status: 500,
536
+ message: "Failed to import cohorts: ".concat(errorMessage),
537
+ }];
538
+ case 5: return [2 /*return*/];
539
+ }
540
+ });
541
+ });
542
+ };
543
+ /**
544
+ * Close the database connection
545
+ */
546
+ CohortStorage.prototype.close = function () {
547
+ return __awaiter(this, void 0, void 0, function () {
548
+ var db, error_7;
549
+ return __generator(this, function (_a) {
550
+ switch (_a.label) {
551
+ case 0:
552
+ _a.trys.push([0, 2, , 3]);
553
+ return [4 /*yield*/, this.getDb()];
554
+ case 1:
555
+ db = _a.sent();
556
+ db.close();
557
+ return [3 /*break*/, 3];
558
+ case 2:
559
+ error_7 = _a.sent();
560
+ console.error('Failed to close database:', error_7);
561
+ return [3 /*break*/, 3];
562
+ case 3: return [2 /*return*/];
563
+ }
564
+ });
565
+ });
566
+ };
567
+ return CohortStorage;
568
+ }());
569
+ export { CohortStorage };
570
+ // Export a singleton instance
571
+ export var cohortStorage = new CohortStorage();
572
+ //# sourceMappingURL=CohortStorage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"C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AC,OAAO,CAAC,EAAA;;wBAA/B,SAA+B,CAAC;;;;wBAE1B,YAAY,GAChB,OAAK,YAAY,KAAK,CAAC,CAAC,CAAC,OAAK,CAAC,OAAO,CAAC,CAAC,CAAC,2BAA2B,CAAC;wBACvE,sBAAO;gCACL,OAAO,EAAE,IAAI;gCACb,MAAM,EAAE,GAAG;gCACX,OAAO,EAAE,oCAA6B,YAAY,CAAE;6BACrD,EAAC;;;;;KAEL;IAED;;OAEG;IACG,6BAAK,GAAX;;;;;;;wBAEe,qBAAM,IAAI,CAAC,KAAK,EAAE,EAAA;;wBAAvB,EAAE,GAAG,SAAkB;wBAC7B,EAAE,CAAC,KAAK,EAAE,CAAC;;;;wBAEX,OAAO,CAAC,KAAK,CAAC,2BAA2B,EAAE,OAAK,CAAC,CAAC;;;;;;KAErD;IACH,oBAAC;AAAD,CAAC,AAvYD,IAuYC;;AAED,8BAA8B;AAC9B,MAAM,CAAC,IAAM,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FilterSet, StorageOperationResults } from '@gen3/core';
2
+ import { Cohort, CohortId } from '../types';
3
+ export interface CohortStorageReturnStatus<T = Cohort | Record<CohortId, Cohort> | number | boolean> extends StorageOperationResults {
4
+ data?: T;
5
+ }
6
+ export declare const EmptyFilterSet: FilterSet;
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/CohortManagment/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,WAAW,yBAAyB,CACxC,CAAC,GAAG,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAG,MAAM,GAAG,OAAO,CACxD,SAAQ,uBAAuB;IAC/B,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AAED,eAAO,MAAM,cAAc,EAAE,SAAqC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export var EmptyFilterSet = { mode: 'and', root: {} };
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/CohortManagment/types.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,IAAM,cAAc,GAAc,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ interface CohortManagerProps {
2
+ index: string;
3
+ }
4
+ declare const CohortQueryExpression: ({ index }: CohortManagerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default CohortQueryExpression;
6
+ //# sourceMappingURL=CohortQueryExpression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CohortQueryExpression.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/CohortQueryExpression.tsx"],"names":[],"mappings":"AAoBA,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,qBAAqB,GAAI,WAAW,kBAAkB,4CAyD3D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}