@gen3/frontend 0.10.94 → 0.10.95

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 (495) hide show
  1. package/dist/cjs/index.js +5530 -3554
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts +64 -0
  4. package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  5. package/dist/dts/components/DropdownMenu/DropdownMenu.js +38 -0
  6. package/dist/dts/components/DropdownMenu/DropdownMenu.js.map +1 -0
  7. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts +2 -0
  8. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts.map +1 -0
  9. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js +141 -0
  10. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js.map +1 -0
  11. package/dist/dts/components/DropdownMenu/index.d.ts +3 -0
  12. package/dist/dts/components/DropdownMenu/index.d.ts.map +1 -0
  13. package/dist/dts/components/DropdownMenu/index.js +3 -0
  14. package/dist/dts/components/DropdownMenu/index.js.map +1 -0
  15. package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
  16. package/dist/dts/components/Login/LoginProvidersPanel.js +1 -1
  17. package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
  18. package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts +5 -0
  19. package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts.map +1 -0
  20. package/dist/dts/components/MessageCards/EmptyTableMessage.js +9 -0
  21. package/dist/dts/components/MessageCards/EmptyTableMessage.js.map +1 -0
  22. package/dist/dts/components/MessageCards/ErrorMessage.d.ts +7 -0
  23. package/dist/dts/components/MessageCards/ErrorMessage.d.ts.map +1 -0
  24. package/dist/dts/components/MessageCards/ErrorMessage.js +8 -0
  25. package/dist/dts/components/MessageCards/ErrorMessage.js.map +1 -0
  26. package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
  27. package/dist/dts/components/charts/echarts/BarChart.js +42 -4
  28. package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
  29. package/dist/dts/components/charts/echarts/ReactECharts.js +1 -1
  30. package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
  31. package/dist/dts/components/charts/utils.d.ts +1 -1
  32. package/dist/dts/components/charts/utils.d.ts.map +1 -1
  33. package/dist/dts/components/charts/utils.js +2 -4
  34. package/dist/dts/components/charts/utils.js.map +1 -1
  35. package/dist/dts/components/facets/EnumFacet.d.ts +2 -1
  36. package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
  37. package/dist/dts/components/facets/EnumFacet.js.map +1 -1
  38. package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
  39. package/dist/dts/components/facets/FacetEnumList.js +7 -30
  40. package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
  41. package/dist/dts/components/facets/FacetSelector.d.ts +1 -1
  42. package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -1
  43. package/dist/dts/components/facets/FacetSelector.js +3 -1
  44. package/dist/dts/components/facets/FacetSelector.js.map +1 -1
  45. package/dist/dts/components/facets/types.d.ts +1 -0
  46. package/dist/dts/components/facets/types.d.ts.map +1 -1
  47. package/dist/dts/components/facets/types.js.map +1 -1
  48. package/dist/dts/components/facets/utils.d.ts +4 -2
  49. package/dist/dts/components/facets/utils.d.ts.map +1 -1
  50. package/dist/dts/components/facets/utils.js +27 -1
  51. package/dist/dts/components/facets/utils.js.map +1 -1
  52. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
  53. package/dist/dts/features/CohortBuilder/AccessLevel.d.ts +8 -0
  54. package/dist/dts/features/CohortBuilder/AccessLevel.d.ts.map +1 -0
  55. package/dist/dts/features/CohortBuilder/AccessLevel.js +20 -0
  56. package/dist/dts/features/CohortBuilder/AccessLevel.js.map +1 -0
  57. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +1 -0
  58. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  59. package/dist/dts/features/CohortBuilder/CohortBuilder.js +4 -19
  60. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  61. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts +20 -0
  62. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts.map +1 -0
  63. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js +37 -0
  64. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js.map +1 -0
  65. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +18 -0
  66. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -0
  67. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +149 -0
  68. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -0
  69. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts +9 -0
  70. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts.map +1 -0
  71. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js +122 -0
  72. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js.map +1 -0
  73. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts +19 -0
  74. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts.map +1 -0
  75. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js +52 -0
  76. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js.map +1 -0
  77. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts +10 -0
  78. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts.map +1 -0
  79. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js +37 -0
  80. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js.map +1 -0
  81. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts +13 -0
  82. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts.map +1 -0
  83. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js +33 -0
  84. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js.map +1 -0
  85. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts +7 -0
  86. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts.map +1 -0
  87. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js +80 -0
  88. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js.map +1 -0
  89. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts +5 -0
  90. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts.map +1 -0
  91. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js +5 -0
  92. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js.map +1 -0
  93. package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts +5 -0
  94. package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts.map +1 -0
  95. package/dist/dts/features/CohortBuilder/CohortManager/index.js +4 -0
  96. package/dist/dts/features/CohortBuilder/CohortManager/index.js.map +1 -0
  97. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts +13 -0
  98. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts.map +1 -0
  99. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js +15 -0
  100. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js.map +1 -0
  101. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts +4 -0
  102. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts.map +1 -0
  103. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js +8 -0
  104. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js.map +1 -0
  105. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts +32 -0
  106. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts.map +1 -0
  107. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js +190 -0
  108. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js.map +1 -0
  109. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts +2 -0
  110. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts.map +1 -0
  111. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js +145 -0
  112. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js.map +1 -0
  113. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts +29 -0
  114. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts.map +1 -0
  115. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js +79 -0
  116. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js.map +1 -0
  117. package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts +5 -0
  118. package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts.map +1 -0
  119. package/dist/dts/features/CohortBuilder/CohortManager/style.js +21 -0
  120. package/dist/dts/features/CohortBuilder/CohortManager/style.js.map +1 -0
  121. package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts +49 -0
  122. package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts.map +1 -0
  123. package/dist/dts/features/CohortBuilder/CohortManager/types.js +2 -0
  124. package/dist/dts/features/CohortBuilder/CohortManager/types.js.map +1 -0
  125. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts +6 -0
  126. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts.map +1 -0
  127. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js +21 -0
  128. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js.map +1 -0
  129. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts +6 -2
  130. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  131. package/dist/dts/features/CohortBuilder/CohortPanel.js +15 -19
  132. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  133. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +8 -1
  134. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -1
  135. package/dist/dts/features/CohortBuilder/CohortSelector.js +51 -10
  136. package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -1
  137. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +6 -0
  138. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -0
  139. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js +32 -0
  140. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -0
  141. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts +1 -1
  142. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
  143. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +1 -1
  144. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  145. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +2 -0
  146. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
  147. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +3 -2
  148. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
  149. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +56 -60
  150. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
  151. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts +4 -0
  152. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts.map +1 -0
  153. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +48 -0
  154. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -0
  155. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts +4 -0
  156. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts.map +1 -0
  157. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js +81 -0
  158. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js.map +1 -0
  159. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts +9 -0
  160. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -0
  161. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +22 -0
  162. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -0
  163. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts +9 -0
  164. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts.map +1 -0
  165. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js +17 -0
  166. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js.map +1 -0
  167. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts +12 -0
  168. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts.map +1 -0
  169. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js +2 -0
  170. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js.map +1 -0
  171. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +52 -12
  172. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
  173. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +4 -1
  174. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
  175. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +70 -0
  176. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js.map +1 -1
  177. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts +1 -1
  178. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts.map +1 -1
  179. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js +2 -2
  180. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -1
  181. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts +1 -1
  182. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -1
  183. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +5 -4
  184. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js.map +1 -1
  185. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts.map +1 -1
  186. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js +2 -1
  187. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js.map +1 -1
  188. package/dist/dts/features/CohortBuilder/Panels/types.d.ts +4 -1
  189. package/dist/dts/features/CohortBuilder/Panels/types.d.ts.map +1 -1
  190. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -1
  191. package/dist/dts/features/CohortBuilder/index.d.ts +5 -2
  192. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  193. package/dist/dts/features/CohortBuilder/index.js +4 -1
  194. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  195. package/dist/dts/features/CohortBuilder/types.d.ts +13 -5
  196. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  197. package/dist/dts/features/CohortBuilder/types.js +6 -0
  198. package/dist/dts/features/CohortBuilder/types.js.map +1 -1
  199. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
  200. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +19 -11
  201. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
  202. package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -1
  203. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +23 -8
  204. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
  205. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +6 -0
  206. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -0
  207. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +71 -0
  208. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -0
  209. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts +2 -0
  210. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -0
  211. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +36 -0
  212. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -0
  213. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +417 -0
  214. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -0
  215. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +45 -0
  216. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -0
  217. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +95 -0
  218. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -0
  219. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +388 -0
  220. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -0
  221. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts +64 -0
  222. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts.map +1 -0
  223. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js +574 -0
  224. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js.map +1 -0
  225. package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts +7 -0
  226. package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts.map +1 -0
  227. package/dist/dts/features/CohortDiscovery/CohortManagment/types.js +2 -0
  228. package/dist/dts/features/CohortDiscovery/CohortManagment/types.js.map +1 -0
  229. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts +1 -1
  230. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -1
  231. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +1 -1
  232. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -1
  233. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts +1 -1
  234. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -1
  235. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js +1 -1
  236. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js.map +1 -1
  237. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +2 -1
  238. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
  239. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +22 -6
  240. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
  241. package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js.map +1 -1
  242. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +1 -1
  243. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
  244. package/dist/dts/features/CohortDiscovery/IndexPanel.js +41 -33
  245. package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
  246. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts +22 -0
  247. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts.map +1 -0
  248. package/dist/dts/features/CohortDiscovery/Requests/hooks.js +147 -0
  249. package/dist/dts/features/CohortDiscovery/Requests/hooks.js.map +1 -0
  250. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts +1 -0
  251. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts.map +1 -0
  252. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js +284 -0
  253. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js.map +1 -0
  254. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts +8 -0
  255. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts.map +1 -0
  256. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js +9 -0
  257. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js.map +1 -0
  258. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts +10 -0
  259. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -0
  260. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +231 -0
  261. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -0
  262. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts +3 -4
  263. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -1
  264. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js +6 -11
  265. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js.map +1 -1
  266. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts +8 -0
  267. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts.map +1 -0
  268. package/dist/dts/features/CohortDiscovery/TabbedIndex.js +15 -0
  269. package/dist/dts/features/CohortDiscovery/TabbedIndex.js.map +1 -0
  270. package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js +2 -2
  271. package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js.map +1 -1
  272. package/dist/dts/features/CohortDiscovery/appApi.d.ts +19 -3
  273. package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
  274. package/dist/dts/features/CohortDiscovery/appApi.js +11 -3
  275. package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
  276. package/dist/dts/features/CohortDiscovery/hooks.d.ts +12 -0
  277. package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
  278. package/dist/dts/features/CohortDiscovery/hooks.js +42 -1
  279. package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
  280. package/dist/dts/features/CohortDiscovery/registerApp.d.ts.map +1 -1
  281. package/dist/dts/features/CohortDiscovery/registerApp.js +5 -3
  282. package/dist/dts/features/CohortDiscovery/registerApp.js.map +1 -1
  283. package/dist/dts/features/CohortDiscovery/types.d.ts +57 -0
  284. package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
  285. package/dist/dts/features/CohortDiscovery/types.js +35 -1
  286. package/dist/dts/features/CohortDiscovery/types.js.map +1 -1
  287. package/dist/dts/features/CohortSimilarity/appApi.d.ts +4 -6
  288. package/dist/dts/features/CohortSimilarity/appApi.d.ts.map +1 -1
  289. package/dist/dts/features/CohortSimilarity/appApi.js +3 -1
  290. package/dist/dts/features/CohortSimilarity/appApi.js.map +1 -1
  291. package/dist/dts/features/CohortSimilarity/registerApp.d.ts.map +1 -1
  292. package/dist/dts/features/CohortSimilarity/registerApp.js +1 -3
  293. package/dist/dts/features/CohortSimilarity/registerApp.js.map +1 -1
  294. package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
  295. package/dist/dts/features/DataLibrary/DatasetAccordionControl.js +2 -2
  296. package/dist/dts/features/DataLibrary/DatasetAccordionControl.js.map +1 -1
  297. package/dist/dts/features/DataLibrary/SearchAndActions.js +1 -1
  298. package/dist/dts/features/DataLibrary/SearchAndActions.js.map +1 -1
  299. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.d.ts.map +1 -1
  300. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js +1 -1
  301. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js.map +1 -1
  302. package/dist/dts/features/DataLibrary/tests/utils.unit.test.js +2 -1
  303. package/dist/dts/features/DataLibrary/tests/utils.unit.test.js.map +1 -1
  304. package/dist/dts/features/DataLibrary/utils.d.ts +0 -10
  305. package/dist/dts/features/DataLibrary/utils.d.ts.map +1 -1
  306. package/dist/dts/features/DataLibrary/utils.js +0 -34
  307. package/dist/dts/features/DataLibrary/utils.js.map +1 -1
  308. package/dist/dts/features/Dictionary/CategoryPanel.d.ts.map +1 -1
  309. package/dist/dts/features/Dictionary/CategoryPanel.js +9 -9
  310. package/dist/dts/features/Dictionary/CategoryPanel.js.map +1 -1
  311. package/dist/dts/features/Dictionary/DictionaryWithContext.d.ts.map +1 -1
  312. package/dist/dts/features/Dictionary/DictionaryWithContext.js.map +1 -1
  313. package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js.map +1 -1
  314. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
  315. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js +2 -2
  316. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js.map +1 -1
  317. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.d.ts.map +1 -1
  318. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js +1 -1
  319. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js.map +1 -1
  320. package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
  321. package/dist/dts/features/Discovery/DataLoaders/utils.js +1 -1
  322. package/dist/dts/features/Discovery/DataLoaders/utils.js.map +1 -1
  323. package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
  324. package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +8 -6
  325. package/dist/dts/features/Discovery/DiscoveryIndexPanel.js.map +1 -1
  326. package/dist/dts/features/Discovery/DiscoveryProvider.d.ts +0 -3
  327. package/dist/dts/features/Discovery/DiscoveryProvider.d.ts.map +1 -1
  328. package/dist/dts/features/Discovery/DiscoveryProvider.js +0 -5
  329. package/dist/dts/features/Discovery/DiscoveryProvider.js.map +1 -1
  330. package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
  331. package/dist/dts/features/Discovery/DiscoveryTable.js +7 -5
  332. package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
  333. package/dist/dts/features/Discovery/StudyDetails/StudyItems.d.ts.map +1 -1
  334. package/dist/dts/features/Discovery/StudyDetails/StudyItems.js +3 -1
  335. package/dist/dts/features/Discovery/StudyDetails/StudyItems.js.map +1 -1
  336. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts +2 -3
  337. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts.map +1 -1
  338. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +3 -3
  339. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
  340. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts +1 -2
  341. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
  342. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +5 -6
  343. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
  344. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts +1 -1
  345. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
  346. package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts +1 -1
  347. package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts.map +1 -1
  348. package/dist/dts/features/Discovery/index.d.ts +2 -4
  349. package/dist/dts/features/Discovery/index.d.ts.map +1 -1
  350. package/dist/dts/features/Discovery/index.js +1 -3
  351. package/dist/dts/features/Discovery/index.js.map +1 -1
  352. package/dist/dts/features/Discovery/types.d.ts +3 -107
  353. package/dist/dts/features/Discovery/types.d.ts.map +1 -1
  354. package/dist/dts/features/Discovery/types.js +0 -16
  355. package/dist/dts/features/Discovery/types.js.map +1 -1
  356. package/dist/dts/features/Discovery/utils.d.ts +2 -8
  357. package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
  358. package/dist/dts/features/Discovery/utils.js +1 -28
  359. package/dist/dts/features/Discovery/utils.js.map +1 -1
  360. package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
  361. package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
  362. package/dist/dts/features/Navigation/NavPageLayout.js +2 -2
  363. package/dist/dts/features/Navigation/NavPageLayout.js.map +1 -1
  364. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts +9 -0
  365. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -0
  366. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js +11 -0
  367. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js.map +1 -0
  368. package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts +19 -0
  369. package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts.map +1 -0
  370. package/dist/dts/features/Study/StudyDetails/RendererFactory.js +56 -0
  371. package/dist/dts/features/Study/StudyDetails/RendererFactory.js.map +1 -0
  372. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts +15 -0
  373. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts.map +1 -0
  374. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js +44 -0
  375. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js.map +1 -0
  376. package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts +10 -0
  377. package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts.map +1 -0
  378. package/dist/dts/features/Study/StudyDetails/StudyDetails.js +36 -0
  379. package/dist/dts/features/Study/StudyDetails/StudyDetails.js.map +1 -0
  380. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts +10 -0
  381. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts.map +1 -0
  382. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js +19 -0
  383. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js.map +1 -0
  384. package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts +8 -0
  385. package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts.map +1 -0
  386. package/dist/dts/features/Study/StudyDetails/StudyGroup.js +31 -0
  387. package/dist/dts/features/Study/StudyDetails/StudyGroup.js.map +1 -0
  388. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts +9 -0
  389. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts.map +1 -0
  390. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js +11 -0
  391. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js.map +1 -0
  392. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts +5 -0
  393. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts.map +1 -0
  394. package/dist/dts/features/Study/StudyDetails/StudyItems.js +283 -0
  395. package/dist/dts/features/Study/StudyDetails/StudyItems.js.map +1 -0
  396. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts +10 -0
  397. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts.map +1 -0
  398. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js +45 -0
  399. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js.map +1 -0
  400. package/dist/dts/features/Study/StudyPage/StudyPage.d.ts +10 -0
  401. package/dist/dts/features/Study/StudyPage/StudyPage.d.ts.map +1 -0
  402. package/dist/dts/features/Study/StudyPage/StudyPage.js +11 -0
  403. package/dist/dts/features/Study/StudyPage/StudyPage.js.map +1 -0
  404. package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts +9 -0
  405. package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts.map +1 -0
  406. package/dist/dts/features/Study/StudyPage/StudyPageGroup.js +8 -0
  407. package/dist/dts/features/Study/StudyPage/StudyPageGroup.js.map +1 -0
  408. package/dist/dts/features/Study/StudyProvider.d.ts +12 -0
  409. package/dist/dts/features/Study/StudyProvider.d.ts.map +1 -0
  410. package/dist/dts/features/Study/StudyProvider.js +23 -0
  411. package/dist/dts/features/Study/StudyProvider.js.map +1 -0
  412. package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts +3 -0
  413. package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts.map +1 -0
  414. package/dist/dts/features/Study/TableRenderers/CellRenderers.js +20 -0
  415. package/dist/dts/features/Study/TableRenderers/CellRenderers.js.map +1 -0
  416. package/dist/dts/features/Study/TableRenderers/types.d.ts +14 -0
  417. package/dist/dts/features/Study/TableRenderers/types.d.ts.map +1 -0
  418. package/dist/dts/features/Study/TableRenderers/types.js +2 -0
  419. package/dist/dts/features/Study/TableRenderers/types.js.map +1 -0
  420. package/dist/dts/features/Study/index.d.ts +5 -0
  421. package/dist/dts/features/Study/index.d.ts.map +1 -0
  422. package/dist/dts/features/Study/index.js +4 -0
  423. package/dist/dts/features/Study/index.js.map +1 -0
  424. package/dist/dts/features/Study/types.d.ts +91 -0
  425. package/dist/dts/features/Study/types.d.ts.map +1 -0
  426. package/dist/dts/features/Study/types.js +8 -0
  427. package/dist/dts/features/Study/types.js.map +1 -0
  428. package/dist/dts/features/Study/utils.d.ts +10 -0
  429. package/dist/dts/features/Study/utils.d.ts.map +1 -0
  430. package/dist/dts/features/Study/utils.js +28 -0
  431. package/dist/dts/features/Study/utils.js.map +1 -0
  432. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts.map +1 -1
  433. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js.map +1 -1
  434. package/dist/dts/index.d.ts +3 -1
  435. package/dist/dts/index.d.ts.map +1 -1
  436. package/dist/dts/index.js +7 -1
  437. package/dist/dts/index.js.map +1 -1
  438. package/dist/dts/lib/session/session.d.ts.map +1 -1
  439. package/dist/dts/lib/session/session.js +16 -32
  440. package/dist/dts/lib/session/session.js.map +1 -1
  441. package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
  442. package/dist/dts/pages/Explorer/data.js +28 -22
  443. package/dist/dts/pages/Explorer/data.js.map +1 -1
  444. package/dist/dts/pages/admin/analysis/Analysis.d.ts +1 -1
  445. package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -1
  446. package/dist/dts/pages/admin/analysis/Analysis.js +1 -1
  447. package/dist/dts/pages/admin/analysis/Analysis.js.map +1 -1
  448. package/dist/dts/types/icons.d.ts +4 -0
  449. package/dist/dts/types/icons.d.ts.map +1 -0
  450. package/dist/dts/types/icons.js +5 -0
  451. package/dist/dts/types/icons.js.map +1 -0
  452. package/dist/dts/utils/access.d.ts +10 -0
  453. package/dist/dts/utils/access.d.ts.map +1 -0
  454. package/dist/dts/utils/access.js +11 -0
  455. package/dist/dts/utils/access.js.map +1 -0
  456. package/dist/dts/utils/authMapping.d.ts +4 -0
  457. package/dist/dts/utils/authMapping.d.ts.map +1 -1
  458. package/dist/dts/utils/authMapping.js.map +1 -1
  459. package/dist/dts/utils/convertResourcePathsToTree.d.ts +8 -0
  460. package/dist/dts/utils/convertResourcePathsToTree.d.ts.map +1 -0
  461. package/dist/dts/utils/convertResourcePathsToTree.js +43 -0
  462. package/dist/dts/utils/convertResourcePathsToTree.js.map +1 -0
  463. package/dist/dts/utils/dataAuthorization.d.ts +11 -0
  464. package/dist/dts/utils/dataAuthorization.d.ts.map +1 -0
  465. package/dist/dts/utils/dataAuthorization.js +2 -0
  466. package/dist/dts/utils/dataAuthorization.js.map +1 -0
  467. package/dist/dts/utils/date.d.ts +16 -0
  468. package/dist/dts/utils/date.d.ts.map +1 -1
  469. package/dist/dts/utils/date.js +54 -8
  470. package/dist/dts/utils/date.js.map +1 -1
  471. package/dist/dts/utils/index.d.ts +2 -0
  472. package/dist/dts/utils/index.d.ts.map +1 -1
  473. package/dist/dts/utils/index.js +2 -0
  474. package/dist/dts/utils/index.js.map +1 -1
  475. package/dist/dts/utils/layout.d.ts +2 -0
  476. package/dist/dts/utils/layout.d.ts.map +1 -0
  477. package/dist/dts/utils/layout.js +20 -0
  478. package/dist/dts/utils/layout.js.map +1 -0
  479. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts +2 -0
  480. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts.map +1 -0
  481. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js +150 -0
  482. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js.map +1 -0
  483. package/dist/esm/index.js +5935 -3965
  484. package/dist/esm/index.js.map +1 -1
  485. package/dist/index.d.ts +214 -145
  486. package/dist/tsconfig.tsbuildinfo +1 -1
  487. package/package.json +7 -7
  488. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts +0 -1
  489. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts.map +0 -1
  490. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js +0 -2
  491. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js.map +0 -1
  492. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts +0 -3
  493. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts.map +0 -1
  494. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js +0 -13
  495. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js.map +0 -1
@@ -0,0 +1,574 @@
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
+ console.log("Imported ".concat(cohorts.length, " cohorts"));
530
+ return [3 /*break*/, 5];
531
+ case 4:
532
+ error_6 = _a.sent();
533
+ errorMessage = error_6 instanceof Error ? error_6.message : 'An unknown error occurred';
534
+ return [2 /*return*/, {
535
+ isError: true,
536
+ status: 500,
537
+ message: "Failed to import cohorts: ".concat(errorMessage),
538
+ }];
539
+ case 5: return [2 /*return*/];
540
+ }
541
+ });
542
+ });
543
+ };
544
+ /**
545
+ * Close the database connection
546
+ */
547
+ CohortStorage.prototype.close = function () {
548
+ return __awaiter(this, void 0, void 0, function () {
549
+ var db, error_7;
550
+ return __generator(this, function (_a) {
551
+ switch (_a.label) {
552
+ case 0:
553
+ _a.trys.push([0, 2, , 3]);
554
+ return [4 /*yield*/, this.getDb()];
555
+ case 1:
556
+ db = _a.sent();
557
+ db.close();
558
+ console.log('CohortDB connection closed');
559
+ return [3 /*break*/, 3];
560
+ case 2:
561
+ error_7 = _a.sent();
562
+ console.error('Failed to close database:', error_7);
563
+ return [3 /*break*/, 3];
564
+ case 3: return [2 /*return*/];
565
+ }
566
+ });
567
+ });
568
+ };
569
+ return CohortStorage;
570
+ }());
571
+ export { CohortStorage };
572
+ // Export a singleton instance
573
+ export var cohortStorage = new CohortStorage();
574
+ //# sourceMappingURL=CohortStorage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CohortStorage.js","sourceRoot":"","sources":["../../../../../src/features/CohortDiscovery/CohortManagment/CohortStorage.ts"],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,CAAC,mBAAY,OAAO,CAAC,MAAM,aAAU,CAAC,CAAC;;;;wBAE5C,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;wBACX,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;;;;wBAE1C,OAAO,CAAC,KAAK,CAAC,2BAA2B,EAAE,OAAK,CAAC,CAAC;;;;;;KAErD;IACH,oBAAC;AAAD,CAAC,AAzYD,IAyYC;;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"}
@@ -5,7 +5,7 @@ interface FacetSelectionPanelProps {
5
5
  categories: ReadonlyArray<TabConfig>;
6
6
  hooks: FacetCommonHooks;
7
7
  selectedFields: Array<string>;
8
- updateSelectedField: (facet: string) => void;
8
+ updateSelectedField: (facet: string, checked: boolean) => void;
9
9
  }
10
10
  declare const FacetSelectionPanel: React.FC<FacetSelectionPanelProps>;
11
11
  export default FacetSelectionPanel;
@@ -1 +1 @@
1
- {"version":3,"file":"FacetSelectionPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/FacetSelectionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAiB,MAAM,yBAAyB,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,UAAU,wBAAwB;IAChC,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,KAAK,EAAE,gBAAgB,CAAC;IACxB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA2B3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"FacetSelectionPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/FacetSelectionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAiB,MAAM,yBAAyB,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,UAAU,wBAAwB;IAChC,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,KAAK,EAAE,gBAAgB,CAAC;IACxB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAChE;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA2B3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -20,7 +20,7 @@ var FacetSelectionPanel = function (_a) {
20
20
  return (_jsx(FacetSelector, { fields: fields, category: item.title, facetName: item.title, selectedFields: selectedFields, updateSelectedField: updateSelectedField, hooks: __assign({}, hooks) }, item.title));
21
21
  });
22
22
  }, [categories, selectedFields, updateSelectedField, hooks]);
23
- return _jsx("div", { className: "w-1/3 flex flex-col p-4 gap-y-6", children: panels });
23
+ return _jsx("div", { className: "w-1/3 flex flex-col grow-0 p-4 gap-y-6", children: panels });
24
24
  };
25
25
  export default FacetSelectionPanel;
26
26
  //# sourceMappingURL=FacetSelectionPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FacetSelectionPanel.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/FacetSelectionPanel.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAoB,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAUtD,IAAM,mBAAmB,GAAuC,UAAC,EAKhE;QAJC,UAAU,gBAAA,EACV,KAAK,WAAA,EACL,cAAc,oBAAA,EACd,mBAAmB,yBAAA;IAEnB,IAAM,MAAM,GAAG,kBAAkB,CAAC;QAChC,OAAO,UAAU,CAAC,GAAG,CAAC,UAAC,IAAI;YACzB,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAC,CAAC,IAAK,OAAA,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAApB,CAAoB,CAAC,CAAC;YAE5D,OAAO,CACL,KAAC,aAAa,IACZ,MAAM,EAAE,MAAM,EAEd,QAAQ,EAAE,IAAI,CAAC,KAAK,EACpB,SAAS,EAAE,IAAI,CAAC,KAAK,EACrB,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB,EACxC,KAAK,eACA,KAAK,KANL,IAAI,CAAC,KAAK,CAQA,CAClB,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAC;IAE7D,OAAO,cAAK,SAAS,EAAC,iCAAiC,YAAE,MAAM,GAAO,CAAC;AACzE,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"FacetSelectionPanel.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/FacetSelectionPanel.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAoB,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAStD,IAAM,mBAAmB,GAAuC,UAAC,EAKhE;QAJC,UAAU,gBAAA,EACV,KAAK,WAAA,EACL,cAAc,oBAAA,EACd,mBAAmB,yBAAA;IAEnB,IAAM,MAAM,GAAG,kBAAkB,CAAC;QAChC,OAAO,UAAU,CAAC,GAAG,CAAC,UAAC,IAAI;YACzB,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAC,CAAC,IAAK,OAAA,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAApB,CAAoB,CAAC,CAAC;YAE5D,OAAO,CACL,KAAC,aAAa,IACZ,MAAM,EAAE,MAAM,EAEd,QAAQ,EAAE,IAAI,CAAC,KAAK,EACpB,SAAS,EAAE,IAAI,CAAC,KAAK,EACrB,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB,EACxC,KAAK,eACA,KAAK,KANL,IAAI,CAAC,KAAK,CAQA,CAClB,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAC;IAE7D,OAAO,cAAK,SAAS,EAAC,wCAAwC,YAAE,MAAM,GAAO,CAAC;AAChF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -4,7 +4,7 @@ export declare const filtersExpandedReducer: import("redux").Reducer<ExpandedFil
4
4
  export declare const toggleCategoryFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
5
5
  field: string;
6
6
  expanded: boolean;
7
- }, "CohortDiscovery/filterExpand/toggleCategoryFilter">, toggleAllFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "CohortDiscovery/filterExpand/toggleAllFilters">;
7
+ }, "CohortDiscovery/expandedCategory/toggleCategoryFilter">, toggleAllFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "CohortDiscovery/expandedCategory/toggleAllFilters">;
8
8
  export declare const selectFilterExpanded: (state: AppState, field: string) => boolean;
9
9
  export declare const selectAllFiltersCollapsed: (state: AppState) => boolean;
10
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"FilterExpandSlice.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/FilterExpandSlice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAyBpD,eAAO,MAAM,sBAAsB,+CAAsB,CAAC;AAE1D,eAAO,MAAQ,oBAAoB;WAjBE,MAAM;cAAY,OAAO;yDAiBzB,gBAAgB,+GAAwB,CAAC;AAE9E,eAAO,MAAM,oBAAoB,GAAI,OAAO,QAAQ,EAAE,OAAO,MAAM,KAAG,OACjC,CAAC;AAEtC,eAAO,MAAM,yBAAyB,GAAI,OAAO,QAAQ,KAAG,OACA,CAAC"}
1
+ {"version":3,"file":"FilterExpandSlice.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/FilterExpandSlice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAyBpD,eAAO,MAAM,sBAAsB,+CAAsB,CAAC;AAE1D,eAAO,MAAQ,oBAAoB;WAjBE,MAAM;cAAY,OAAO;6DAiBzB,gBAAgB,mHAAwB,CAAC;AAE9E,eAAO,MAAM,oBAAoB,GAAI,OAAO,QAAQ,EAAE,OAAO,MAAM,KAAG,OACjC,CAAC;AAEtC,eAAO,MAAM,yBAAyB,GAAI,OAAO,QAAQ,KAAG,OACA,CAAC"}