@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
@@ -1,13 +1,7 @@
1
1
  import { JSONObject } from '@gen3/core';
2
- import { DiscoveryIndexConfig, type TagData, type TagsConfig, AccessLevel } from './types';
2
+ import { DiscoveryIndexConfig } from './types';
3
+ import { AccessLevel } from '../../utils';
3
4
  export declare const jsonPathAccessor: (path: string) => (row: JSONObject) => any;
4
- export interface TagInfo {
5
- color: string;
6
- display: boolean;
7
- label: string;
8
- }
9
- export declare const getTagInfo: (tagData: TagData, tagsConfig?: TagsConfig) => TagInfo;
10
- export declare const getStringValueFromJSONObject: (objectData?: JSONObject, key?: string) => string | undefined;
11
5
  export declare const getManualSortingAndPagination: (config: DiscoveryIndexConfig) => boolean;
12
6
  /**
13
7
  * Converts a numeric value to its equivalent AccessLevel enum value
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/features/Discovery/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EACL,oBAAoB,EAEpB,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,MAAM,KAAK,UAAU,QAGjE,CAAC;AAEF,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,GACrB,SAAS,OAAO,EAChB,aAAa,UAAU,KACtB,OAsBF,CAAC;AAIF,eAAO,MAAM,4BAA4B,GACvC,aAAa,UAAU,EACvB,MAAM,MAAM,KACX,MAAM,GAAG,SAEX,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ,oBAAoB,YAKzE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,MAAM,KACb,WAAW,GAAG,SAkBhB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/features/Discovery/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,MAAM,KAAK,UAAU,QAGjE,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ,oBAAoB,YAKzE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,MAAM,KACb,WAAW,GAAG,SAkBhB,CAAC"}
@@ -1,36 +1,9 @@
1
1
  import { JSONPath } from 'jsonpath-plus';
2
- import { AccessLevel, } from './types';
2
+ import { AccessLevel } from '../../utils';
3
3
  export var jsonPathAccessor = function (path) { return function (row) {
4
4
  // TODO: add logging if path is not found
5
5
  return JSONPath({ json: row, path: path });
6
6
  }; };
7
- export var getTagInfo = function (tagData, tagsConfig) {
8
- var _a, _b, _c;
9
- if (tagData.category === undefined) {
10
- return {
11
- color: 'darkgray',
12
- display: (_a = tagsConfig === null || tagsConfig === void 0 ? void 0 : tagsConfig.showUnknownTags) !== null && _a !== void 0 ? _a : false,
13
- label: tagData.name,
14
- };
15
- }
16
- var categoryConfig = tagsConfig === null || tagsConfig === void 0 ? void 0 : tagsConfig.tagCategories.find(function (category) { return category.name === tagData.category; });
17
- if (categoryConfig === undefined)
18
- return {
19
- color: 'gray',
20
- display: (_b = tagsConfig === null || tagsConfig === void 0 ? void 0 : tagsConfig.showUnknownTags) !== null && _b !== void 0 ? _b : false,
21
- label: tagData.name,
22
- };
23
- return {
24
- color: categoryConfig.color,
25
- display: (categoryConfig === null || categoryConfig === void 0 ? void 0 : categoryConfig.display) ? true : categoryConfig.display,
26
- label: (_c = categoryConfig === null || categoryConfig === void 0 ? void 0 : categoryConfig.displayName) !== null && _c !== void 0 ? _c : tagData.name,
27
- };
28
- };
29
- // function given a Object and key as input will check if the key is present in the object
30
- // if present return the value of the key else return undefined
31
- export var getStringValueFromJSONObject = function (objectData, key) {
32
- return key && objectData ? objectData[key] : undefined;
33
- };
34
7
  export var getManualSortingAndPagination = function (config) {
35
8
  var _a, _b, _c;
36
9
  var defaultFeature = 'client';
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/features/Discovery/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAKL,WAAW,GACZ,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,IAAY,IAAK,OAAA,UAAC,GAAe;IAChE,yCAAyC;IACzC,OAAO,QAAQ,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC,EAHiD,CAGjD,CAAC;AAQF,MAAM,CAAC,IAAM,UAAU,GAAG,UACxB,OAAgB,EAChB,UAAuB;;IAEvB,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,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,oBAAoB,GACxB,MAAA,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,0CAAE,UAAU,0CAAE,oBAAoB,mCAAI,cAAc,CAAC;IACvE,OAAO,oBAAoB,KAAK,QAAQ,CAAC;AAC3C,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,IAAM,wBAAwB,GAAG,UACtC,KAAc;IAEd,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC1C,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,WAAW,CAAC,UAAU;YACzB,OAAO,WAAW,CAAC,UAAU,CAAC;QAChC,KAAK,WAAW,CAAC,YAAY;YAC3B,OAAO,WAAW,CAAC,YAAY,CAAC;QAClC,KAAK,WAAW,CAAC,OAAO;YACtB,OAAO,WAAW,CAAC,OAAO,CAAC;QAC7B,KAAK,WAAW,CAAC,aAAa;YAC5B,OAAO,WAAW,CAAC,aAAa,CAAC;QACnC,KAAK,WAAW,CAAC,KAAK;YACpB,OAAO,WAAW,CAAC,KAAK,CAAC;QAC3B,KAAK,WAAW,CAAC,KAAK;YACpB,OAAO,WAAW,CAAC,KAAK,CAAC;QAC3B;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FooterColumn.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/FooterColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAC;AAElC,OAAO,EAOL,kBAAkB,EACnB,MAAM,SAAS,CAAC;;AAsJjB,wBAAyC"}
1
+ {"version":3,"file":"FooterColumn.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/FooterColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAOL,kBAAkB,EACnB,MAAM,SAAS,CAAC;;AAsJjB,wBAAyC"}
@@ -1 +1 @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B,IAEjB,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,IAFrB,qBAAc,KAAK,CAAE,CAG1B,CACH,CAAC;YACJ,CAAC,CAAC,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,aAAa,GAAiC,UAAC,EAGhC;QAFnB,OAAO,aAAA,EACP,iBAAqB,EAArB,SAAS,mBAAG,SAAS,KAAA;IAErB,OAAO,CACL,cAAK,SAAS,EAAE,UAAG,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,kCAAkC,CAAE,YACjE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAC,UAAC,GAAG,EAAE,KAAK,IAAK,OAAA,CAC5B,KAAC,YAAY,eAA6B,GAAG,GAA1B,iBAAU,KAAK,CAAE,CAAa,CAClD,EAF6B,CAE7B,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC"}
@@ -17,8 +17,8 @@ import LeftSidePanel from './Vertical/LeftSidePanel';
17
17
  var NavPageLayout = function (_a) {
18
18
  var headerProps = _a.headerProps, footerProps = _a.footerProps, mainProps = _a.mainProps, headerData = _a.headerData, children = _a.children;
19
19
  var mainContentStyle = (mainProps === null || mainProps === void 0 ? void 0 : mainProps.fixed)
20
- ? 'flex-1 flex overflow-hidden'
21
- : 'flex grow';
20
+ ? 'flex-1 flex overflow-hidden relative'
21
+ : 'flex grow relative';
22
22
  return (_jsxs("div", { className: "flex flex-col justify-between h-screen", children: [_jsxs(Head, { children: [_jsx("title", { children: headerData.title }), _jsx("meta", { property: "og:title", content: headerData.content }, headerData.key)] }), _jsxs(Header, __assign({}, headerProps, { children: [_jsx("title", { children: headerData.title }), _jsx("meta", { property: "og:title", content: headerData.content }, headerData.key)] })), headerProps.type === 'vertical' ? (_jsxs("div", { className: "flex grow", children: [_jsx(LeftSidePanel, { items: headerProps.navigation.items, classNames: headerProps.navigation.classNames }), _jsx("main", { className: mainContentStyle, children: children })] })) : (_jsx("main", { className: mainContentStyle, children: children })), _jsx(Footer, __assign({}, footerProps))] }));
23
23
  };
24
24
  export default NavPageLayout;
@@ -1 +1 @@
1
- {"version":3,"file":"NavPageLayout.js","sourceRoot":"","sources":["../../../../src/features/Navigation/NavPageLayout.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,aAAa,MAAM,0BAA0B,CAAC;AAUrD,IAAM,aAAa,GAAG,UAAC,EAMiB;QALtC,WAAW,iBAAA,EACX,WAAW,iBAAA,EACX,SAAS,eAAA,EACT,UAAU,gBAAA,EACV,QAAQ,cAAA;IAER,IAAM,gBAAgB,GAAG,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK;QACvC,CAAC,CAAC,6BAA6B;QAC/B,CAAC,CAAC,WAAW,CAAC;IAChB,OAAO,CACL,eAAK,SAAS,EAAC,wCAAwC,aACrD,MAAC,IAAI,eACH,0BAAQ,UAAU,CAAC,KAAK,GAAS,EACjC,eACE,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAE,UAAU,CAAC,OAAO,IACtB,UAAU,CAAC,GAAG,CACnB,IACG,EACP,MAAC,MAAM,eAAK,WAAW,eACrB,0BAAQ,UAAU,CAAC,KAAK,GAAS,EACjC,eACE,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAE,UAAU,CAAC,OAAO,IACtB,UAAU,CAAC,GAAG,CACnB,KACK,EACR,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,CACjC,eAAK,SAAS,EAAC,WAAW,aACxB,KAAC,aAAa,IACZ,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,KAAK,EACnC,UAAU,EAAE,WAAW,CAAC,UAAU,CAAC,UAAU,GAC7C,EACF,eAAM,SAAS,EAAE,gBAAgB,YAAG,QAAQ,GAAQ,IAChD,CACP,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAE,gBAAgB,YAAG,QAAQ,GAAQ,CACrD,EACD,KAAC,MAAM,eAAK,WAAW,EAAI,IACvB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"NavPageLayout.js","sourceRoot":"","sources":["../../../../src/features/Navigation/NavPageLayout.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,aAAa,MAAM,0BAA0B,CAAC;AAUrD,IAAM,aAAa,GAAG,UAAC,EAMiB;QALtC,WAAW,iBAAA,EACX,WAAW,iBAAA,EACX,SAAS,eAAA,EACT,UAAU,gBAAA,EACV,QAAQ,cAAA;IAER,IAAM,gBAAgB,GAAG,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK;QACvC,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,oBAAoB,CAAC;IACzB,OAAO,CACL,eAAK,SAAS,EAAC,wCAAwC,aACrD,MAAC,IAAI,eACH,0BAAQ,UAAU,CAAC,KAAK,GAAS,EACjC,eACE,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAE,UAAU,CAAC,OAAO,IACtB,UAAU,CAAC,GAAG,CACnB,IACG,EACP,MAAC,MAAM,eAAK,WAAW,eACrB,0BAAQ,UAAU,CAAC,KAAK,GAAS,EACjC,eACE,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAE,UAAU,CAAC,OAAO,IACtB,UAAU,CAAC,GAAG,CACnB,KACK,EACR,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,CACjC,eAAK,SAAS,EAAC,WAAW,aACxB,KAAC,aAAa,IACZ,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,KAAK,EACnC,UAAU,EAAE,WAAW,CAAC,UAAU,CAAC,UAAU,GAC7C,EACF,eAAM,SAAS,EAAE,gBAAgB,YAAG,QAAQ,GAAQ,IAChD,CACP,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAE,gBAAgB,YAAG,QAAQ,GAAQ,CACrD,EACD,KAAC,MAAM,eAAK,WAAW,EAAI,IACvB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -55,7 +55,7 @@ export var AccountButton = function (_a) {
55
55
  var handleSelected = function () { return __awaiter(void 0, void 0, void 0, function () {
56
56
  return __generator(this, function (_a) {
57
57
  switch (_a.label) {
58
- case 0: return [4 /*yield*/, router.push('Profile')];
58
+ case 0: return [4 /*yield*/, router.push('/Profile')];
59
59
  case 1:
60
60
  _a.sent();
61
61
  return [2 /*return*/];
@@ -1 +1 @@
1
- {"version":3,"file":"AccountButton.js","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/AccountButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAEL,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAsB,MAAM,cAAc,CAAC;AAI9D,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,EAMH;;QALzB,gBAAoB,EAApB,QAAQ,mBAAG,SAAS,KAAA,EACpB,iBAAqB,EAArB,SAAS,mBAAG,SAAS,KAAA,EACrB,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,kBAAe,EAAf,UAAU,mBAAG,EAAE,KAAA,EACf,eAA+B,EAA/B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oBAAoB,CAAC,KAAK,CAAC;IAA3B,CAA2B,CAC5B,CAAC;IACF,IAAM,aAAa,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;IAElD,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAC;IAEhC,qFAAqF;IACrF,IAAM,MAAM,GAAG,MAAA,QAAQ,CAAC,QAAQ,CAAC,mCAAI,QAAQ,CAAC;IAE9C,OAAO,CACL,KAAC,UAAU,IACT,IAAI,EAAE,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,mCAAI,SAAS,EACrC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,gBAAgB,EAC5B,YAAY,EAAE,cAAc,EAC5B,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -47,7 +47,7 @@ var handleSelected = function (isAuthenticated, router, referrer, endSession, ex
47
47
  switch (_a.label) {
48
48
  case 0:
49
49
  if (!!isAuthenticated) return [3 /*break*/, 2];
50
- return [4 /*yield*/, router.push(externalLoginUrl || "Login?redirect=".concat(referrer))];
50
+ return [4 /*yield*/, router.push(externalLoginUrl || "/Login?redirect=".concat(referrer))];
51
51
  case 1:
52
52
  _a.sent();
53
53
  return [3 /*break*/, 3];
@@ -1 +1 @@
1
- {"version":3,"file":"LoginButton.js","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/LoginButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAEL,eAAe,EACf,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,qBA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nE,OAAO,IAAI,CAAC;IAEd,OAAO,CACL,KAAC,UAAU,IACT,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EACxC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,EACvD,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE;YACZ,OAAA,cAAc,CACZ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,UAAU,EACV,gBAAgB,CACjB;QAND,CAMC,GAEH,CACH,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"LoginButton.js","sourceRoot":"","sources":["../../../../../src/features/Navigation/TopBar/LoginButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAEL,eAAe,EACf,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAc,SAAS,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,IAAM,cAAc,GAAG,UACrB,eAAwB,EACxB,MAAkB,EAClB,QAAgB,EAChB,UAAuB,EACvB,gBAAyB;;;;qBAErB,CAAC,eAAe,EAAhB,wBAAgB;gBAClB,qBAAM,MAAM,CAAC,IAAI,CAAC,gBAAgB,IAAI,0BAAmB,QAAQ,CAAE,CAAC,EAAA;;gBAApE,SAAoE,CAAC;;;gBAErE,IAAI,UAAU;oBAAE,UAAU,EAAE,CAAC;;;;;KAEhC,CA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+1,9 @@
1
+ import { JSONObject } from '@gen3/core';
2
+ import { DataAuthorization } from '../../../utils';
3
+ interface DetailsAccessProps {
4
+ readonly studyData: JSONObject;
5
+ dataAccess: DataAuthorization;
6
+ }
7
+ declare const DetailsAuthorizationIcon: ({ studyData, dataAccess, }: DetailsAccessProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default DetailsAuthorizationIcon;
9
+ //# sourceMappingURL=DetailsAuthorizationIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailsAuthorizationIcon.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/DetailsAuthorizationIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAoC,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAErF,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B,UAAU,EAAE,iBAAiB,CAAC;CAC/B;AAED,QAAA,MAAM,wBAAwB,GAAI,4BAG/B,kBAAkB,4CAqBpB,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { accessibleFieldName, AccessLevel } from '../../../utils';
3
+ var DetailsAuthorizationIcon = function (_a) {
4
+ var studyData = _a.studyData, dataAccess = _a.dataAccess;
5
+ var accessStyle = 'flex w-full items-center rounded-sm border-2 py-3 px-1';
6
+ return (_jsx("div", { className: "flex mb-2", children: dataAccess.enabled &&
7
+ studyData[accessibleFieldName] &&
8
+ studyData[accessibleFieldName] === AccessLevel.ACCESSIBLE ? (_jsx("div", { className: "".concat(accessStyle, " bg-green-100 border-green-500 text-black pl-2"), children: "You have access to this data." })) : (_jsx("div", { className: "".concat(accessStyle, " bg-yellow-100 border-yellow-500 text-black pl-2"), children: "You do not have access to this data." })) }));
9
+ };
10
+ export default DetailsAuthorizationIcon;
11
+ //# sourceMappingURL=DetailsAuthorizationIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailsAuthorizationIcon.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/DetailsAuthorizationIcon.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAqB,MAAM,gBAAgB,CAAC;AAOrF,IAAM,wBAAwB,GAAG,UAAC,EAGb;QAFnB,SAAS,eAAA,EACT,UAAU,gBAAA;IAEV,IAAM,WAAW,GAAG,wDAAwD,CAAC;IAC7E,OAAO,CACL,cAAK,SAAS,EAAC,WAAW,YACvB,UAAU,CAAC,OAAO;YACnB,SAAS,CAAC,mBAAmB,CAAC;YAC9B,SAAS,CAAC,mBAAmB,CAAC,KAAK,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAC1D,cACE,SAAS,EAAE,UAAG,WAAW,mDAAgD,8CAGrE,CACP,CAAC,CAAC,CAAC,CACF,cACE,SAAS,EAAE,UAAG,WAAW,qDAAkD,qDAGvE,CACP,GACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { JSONValue } from '@gen3/core';
2
+ export type FieldRendererFunction = (fieldValue: JSONValue, fieldLabel?: string, params?: Record<string, any>) => JSX.Element;
3
+ export type FieldRendererFunctionMap = Record<string, FieldRendererFunction>;
4
+ export declare class StudyFieldRendererFactory {
5
+ private static instance;
6
+ private fieldRendererCatalog;
7
+ private constructor();
8
+ static getInstance(): StudyFieldRendererFactory;
9
+ static getRenderer(type: string, functionName: string): FieldRendererFunction;
10
+ static registerFieldRenderer(type: string, functionName: string, func: FieldRendererFunction): void;
11
+ static registerFieldRendererCatalog(catalog: Record<string, FieldRendererFunctionMap>): void;
12
+ }
13
+ /**
14
+ * Retrieve the renderer function for the given type and function name
15
+ * @param type
16
+ * @param functionName
17
+ */
18
+ export declare const StudyDetailsRenderer: (type?: string, functionName?: string) => FieldRendererFunction;
19
+ //# sourceMappingURL=RendererFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RendererFactory.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/RendererFactory.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG,CAClC,UAAU,EAAE,SAAS,EACrB,UAAU,CAAC,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KACzB,GAAG,CAAC,OAAO,CAAC;AAcjB,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AAE7E,qBAAa,yBAAyB;IACpC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA4B;IACnD,OAAO,CAAC,oBAAoB,CAAgD;IAE5E,OAAO;IAIP,MAAM,CAAC,WAAW,IAAI,yBAAyB;IAO/C,MAAM,CAAC,WAAW,CAChB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,GACnB,qBAAqB;IAcxB,MAAM,CAAC,qBAAqB,CAC1B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,qBAAqB,GAC1B,IAAI;IAYP,MAAM,CAAC,4BAA4B,CACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAChD,IAAI;CAOR;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,aAAe,EACf,qBAAwB,KACvB,qBAMF,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ var defaultStudyFieldRenderer = function (fieldValue, fieldLabel) {
3
+ return (_jsxs("div", { className: "flex w-full justify-between px-1 no-wrap'", children: [fieldLabel ? _jsx("span", { children: fieldLabel }) : null, ";", _jsx("span", { children: fieldValue }), ";"] }));
4
+ };
5
+ var StudyFieldRendererFactory = /** @class */ (function () {
6
+ function StudyFieldRendererFactory() {
7
+ this.fieldRendererCatalog = {};
8
+ this.fieldRendererCatalog = {};
9
+ }
10
+ StudyFieldRendererFactory.getInstance = function () {
11
+ if (!StudyFieldRendererFactory.instance) {
12
+ StudyFieldRendererFactory.instance = new StudyFieldRendererFactory();
13
+ }
14
+ return StudyFieldRendererFactory.instance;
15
+ };
16
+ StudyFieldRendererFactory.getRenderer = function (type, functionName) {
17
+ var _a;
18
+ if (!(type in StudyFieldRendererFactory.getInstance().fieldRendererCatalog)) {
19
+ console.log('No field renderer found for type: ', type);
20
+ return defaultStudyFieldRenderer;
21
+ }
22
+ return ((_a = StudyFieldRendererFactory.getInstance().fieldRendererCatalog[type][functionName]) !== null && _a !== void 0 ? _a : defaultStudyFieldRenderer);
23
+ };
24
+ StudyFieldRendererFactory.registerFieldRenderer = function (type, functionName, func) {
25
+ if (StudyFieldRendererFactory.getInstance().fieldRendererCatalog[type] ===
26
+ undefined) {
27
+ StudyFieldRendererFactory.getInstance().fieldRendererCatalog[type] = {};
28
+ }
29
+ StudyFieldRendererFactory.getInstance().fieldRendererCatalog[type][functionName] = func;
30
+ };
31
+ StudyFieldRendererFactory.registerFieldRendererCatalog = function (catalog) {
32
+ Object.keys(catalog).map(function (type) {
33
+ Object.entries(catalog[type]).map(function (_a) {
34
+ var name = _a[0], func = _a[1];
35
+ StudyFieldRendererFactory.registerFieldRenderer(type, name, func);
36
+ });
37
+ });
38
+ };
39
+ return StudyFieldRendererFactory;
40
+ }());
41
+ export { StudyFieldRendererFactory };
42
+ /**
43
+ * Retrieve the renderer function for the given type and function name
44
+ * @param type
45
+ * @param functionName
46
+ */
47
+ export var StudyDetailsRenderer = function (type, functionName) {
48
+ if (type === void 0) { type = 'string'; }
49
+ if (functionName === void 0) { functionName = 'default'; }
50
+ if (!type) {
51
+ return defaultStudyFieldRenderer;
52
+ }
53
+ var func = StudyFieldRendererFactory.getRenderer(type, functionName);
54
+ return function (arg1, arg2, arg3) { return func(arg1, arg2, arg3); };
55
+ };
56
+ //# sourceMappingURL=RendererFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RendererFactory.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/RendererFactory.tsx"],"names":[],"mappings":";AASA,IAAM,yBAAyB,GAAG,UAChC,UAAqB,EACrB,UAAmB;IAEnB,OAAO,CACL,eAAK,SAAS,EAAC,2CAA2C,aACvD,UAAU,CAAC,CAAC,CAAC,yBAAO,UAAU,GAAQ,CAAC,CAAC,CAAC,IAAI,OAC9C,yBAAO,UAAoB,GAAQ,SAC/B,CACP,CAAC;AACJ,CAAC,CAAC;AAIF;IAIE;QAFQ,yBAAoB,GAA6C,EAAE,CAAC;QAG1E,IAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;IACjC,CAAC;IAEM,qCAAW,GAAlB;QACE,IAAI,CAAC,yBAAyB,CAAC,QAAQ,EAAE,CAAC;YACxC,yBAAyB,CAAC,QAAQ,GAAG,IAAI,yBAAyB,EAAE,CAAC;QACvE,CAAC;QACD,OAAO,yBAAyB,CAAC,QAAQ,CAAC;IAC5C,CAAC;IAEM,qCAAW,GAAlB,UACE,IAAY,EACZ,YAAoB;;QAEpB,IACE,CAAC,CAAC,IAAI,IAAI,yBAAyB,CAAC,WAAW,EAAE,CAAC,oBAAoB,CAAC,EACvE,CAAC;YACD,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,IAAI,CAAC,CAAC;YACxD,OAAO,yBAAyB,CAAC;QACnC,CAAC;QACD,OAAO,CACL,MAAA,yBAAyB,CAAC,WAAW,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAChE,YAAY,CACb,mCAAI,yBAAyB,CAC/B,CAAC;IACJ,CAAC;IAEM,+CAAqB,GAA5B,UACE,IAAY,EACZ,YAAoB,EACpB,IAA2B;QAE3B,IACE,yBAAyB,CAAC,WAAW,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC;YAClE,SAAS,EACT,CAAC;YACD,yBAAyB,CAAC,WAAW,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAC1E,CAAC;QACD,yBAAyB,CAAC,WAAW,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAChE,YAAY,CACb,GAAG,IAAI,CAAC;IACX,CAAC;IAEM,sDAA4B,GAAnC,UACE,OAAiD;QAEjD,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,UAAC,IAAI;YAC5B,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;oBAAX,IAAI,QAAA,EAAE,IAAI,QAAA;gBAC5C,yBAAyB,CAAC,qBAAqB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACpE,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IACH,gCAAC;AAAD,CAAC,AAzDD,IAyDC;;AAED;;;;GAIG;AACH,MAAM,CAAC,IAAM,oBAAoB,GAAG,UAClC,IAAe,EACf,YAAwB;IADxB,qBAAA,EAAA,eAAe;IACf,6BAAA,EAAA,wBAAwB;IAExB,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,yBAAyB,CAAC;IACnC,CAAC;IACD,IAAM,IAAI,GAAG,yBAAyB,CAAC,WAAW,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACvE,OAAO,UAAC,IAAI,EAAE,IAAI,EAAE,IAAI,IAAmB,OAAA,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAtB,CAAsB,CAAC;AACpE,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Non tabbed version of the StudyDetailsPanel
3
+ */
4
+ import { ReactElement } from 'react';
5
+ import { JSONObject } from '@gen3/core';
6
+ import { StudyPageConfig } from '../types';
7
+ import { DataAuthorization } from '../../../utils';
8
+ interface SinglePageStudyDetailsPanelProps {
9
+ readonly data: JSONObject;
10
+ readonly studyConfig?: StudyPageConfig;
11
+ readonly authorization?: DataAuthorization;
12
+ }
13
+ declare const SinglePageStudyDetailsPanel: ({ data, studyConfig, authorization, }: SinglePageStudyDetailsPanelProps) => ReactElement;
14
+ export default SinglePageStudyDetailsPanel;
15
+ //# sourceMappingURL=SinglePageStudyDetailsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SinglePageStudyDetailsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/SinglePageStudyDetailsPanel.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAa,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAqBnD,UAAU,gCAAgC;IACxC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC;IACvC,QAAQ,CAAC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CAC5C;AAED,QAAA,MAAM,2BAA2B,GAAI,uCAIlC,gCAAgC,KAAG,YAyErC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useDeepCompareMemo } from 'use-deep-compare';
3
+ import DetailsAuthorizationIcon from './DetailsAuthorizationIcon';
4
+ import { JSONPath } from 'jsonpath-plus';
5
+ import { toString } from 'lodash';
6
+ import { createFieldRendererElement } from './StudyItems';
7
+ import DownloadLinksPanel from '../StudyPage/DownloadLinksPanel';
8
+ var StudyTitle = function (_a) {
9
+ var title = _a.title, _b = _a.className, className = _b === void 0 ? 'font-header text-lg font-semibold' : _b;
10
+ return (_jsx("div", { children: _jsx("h1", { className: className, children: title }) }));
11
+ };
12
+ var SinglePageStudyDetailsPanel = function (_a) {
13
+ var _b, _c;
14
+ var data = _a.data, studyConfig = _a.studyConfig, authorization = _a.authorization;
15
+ var headerText = '';
16
+ if ((_b = studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.header) === null || _b === void 0 ? void 0 : _b.field) {
17
+ var res = JSONPath({
18
+ path: studyConfig.header.field,
19
+ json: data,
20
+ });
21
+ headerText = res.length ? toString(res[0]) : '';
22
+ }
23
+ var elements = useDeepCompareMemo(function () {
24
+ if (studyConfig === undefined || studyConfig === null) {
25
+ return _jsx("div", { children: "Study Details Panel not configured" });
26
+ }
27
+ else {
28
+ return studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.fieldsToShow.map(function (field) {
29
+ return (_jsx("div", { className: "px-2 ".concat(field.groupWidth == 'full' || field.groupWidth === undefined
30
+ ? 'w-full'
31
+ : 'w-1/2'), children: _jsxs("div", { className: "flex flex-col", children: [(field === null || field === void 0 ? void 0 : field.groupName) ? (_jsx("div", { className: "text-lg font-bold", children: field.groupName })) : null, field.fields.map(function (field) {
32
+ var _a, _b;
33
+ var element = createFieldRendererElement(field, data);
34
+ if (element !== null) {
35
+ return (_jsx("div", { className: "flex w-full bg-base-lightest my-1 justify-between rounded-md py-1.5 px-1 text-sm ".concat((_b = (_a = field === null || field === void 0 ? void 0 : field.classNames) === null || _a === void 0 ? void 0 : _a['root']) !== null && _b !== void 0 ? _b : ''), children: element }, "item-".concat(field.field)));
36
+ }
37
+ })] }) }, "".concat(field.fields.join('-'), "-details")));
38
+ });
39
+ }
40
+ }, [studyConfig, data]);
41
+ return (_jsxs("div", { className: "flex flex-col", children: [_jsx(StudyTitle, { title: headerText, className: (_c = studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.header) === null || _c === void 0 ? void 0 : _c.className }), authorization !== undefined && (authorization === null || authorization === void 0 ? void 0 : authorization.enabled) ? (_jsx(DetailsAuthorizationIcon, { studyData: data, dataAccess: authorization })) : (false), _jsx("div", { className: "flex flex-wrap w-full", children: elements }), (studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.downloadLinks) && (_jsx(DownloadLinksPanel, { studyData: data, downloadLinks: studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.downloadLinks }))] }));
42
+ };
43
+ export default SinglePageStudyDetailsPanel;
44
+ //# sourceMappingURL=SinglePageStudyDetailsPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SinglePageStudyDetailsPanel.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/SinglePageStudyDetailsPanel.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,IAAM,UAAU,GAAG,UAAC,EAMnB;QALC,KAAK,WAAA,EACL,iBAA+C,EAA/C,SAAS,mBAAG,mCAAmC,KAAA;IAK/C,OAAO,CACL,wBACE,aAAI,SAAS,EAAE,SAAS,YAAG,KAAK,GAAM,GAClC,CACP,CAAC;AACJ,CAAC,CAAC;AAQF,IAAM,2BAA2B,GAAG,UAAC,EAIF;;QAHjC,IAAI,UAAA,EACJ,WAAW,iBAAA,EACX,aAAa,mBAAA;IAEb,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,IAAI,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,0CAAE,KAAK,EAAE,CAAC;QAC/B,IAAM,GAAG,GAAe,QAAQ,CAAC;YAC/B,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,KAAK;YAC9B,I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CAAC,aAAU,CA8BpC,CACP,CAAC;YACJ,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC;IAExB,OAAO,CACL,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,UAAU,IACT,KAAK,EAAE,UAAU,EACjB,SAAS,EAAE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,0CAAE,SAAS,GACzC,EACD,aAAa,KAAK,SAAS,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,CAAA,CAAC,CAAC,CAAC,CACvD,KAAC,wBAAwB,IAAC,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,GAAI,CACzE,CAAC,CAAC,CAAC,CACF,KAAK,CACN,EACD,cAAK,SAAS,EAAC,uBAAuB,YAAE,QAAQ,GAAO,EACtD,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,aAAa,KAAI,CAC7B,KAAC,kBAAkB,IACjB,SAAS,EAAE,IAAI,EACf,aAAa,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,aAAa,GACzC,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { StudyDetailView, StudyPageConfig } from '../types';
2
+ import { DataAuthorization } from '../../../utils';
3
+ declare const StudyDetails: ({ index, detailView, simpleDetailsView, authz }: {
4
+ index: string;
5
+ detailView: StudyDetailView;
6
+ simpleDetailsView?: StudyPageConfig;
7
+ authz: DataAuthorization;
8
+ }) => import("react/jsx-runtime").JSX.Element | null;
9
+ export default StudyDetails;
10
+ //# sourceMappingURL=StudyDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyDetails.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyDetails.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,QAAA,MAAM,YAAY,GAAI,iDAKnB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,CAAC;IAC5B,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,KAAK,EAAE,iBAAiB,CAAA;CACzB,mDAoDA,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button, CopyButton, Drawer } from '@mantine/core';
3
+ import StudyDetailsPanel from './StudyDetailsPanel';
4
+ import { useEffect } from 'react';
5
+ import { useDisclosure } from '@mantine/hooks';
6
+ import { MdKeyboardDoubleArrowLeft as BackIcon } from 'react-icons/md';
7
+ import SinglePageStudyDetailsPanel from './SinglePageStudyDetailsPanel';
8
+ import { useStudyContext } from '../StudyProvider';
9
+ var StudyDetails = function (_a) {
10
+ var index = _a.index, detailView = _a.detailView, simpleDetailsView = _a.simpleDetailsView, authz = _a.authz;
11
+ var studyDetails = useStudyContext().studyDetails;
12
+ var _b = useDisclosure(false), opened = _b[0], _c = _b[1], open = _c.open, close = _c.close;
13
+ var permalink = 'Discovery/notfound';
14
+ if (studyDetails) {
15
+ var studyId = studyDetails[index];
16
+ var pagePath = "/discovery/".concat(encodeURIComponent(typeof studyId == 'string' ? 'string' : 'unknown'));
17
+ permalink = "/".concat(pagePath);
18
+ }
19
+ useEffect(function () {
20
+ if (Object.keys(studyDetails).length > 0) {
21
+ open();
22
+ }
23
+ }, [studyDetails, open]);
24
+ if (!studyDetails) {
25
+ return null;
26
+ }
27
+ return (_jsxs(Drawer.Root, { opened: opened, onClose: close, size: "50%", position: "right", children: [_jsx(Drawer.Overlay, { opacity: 0.5, blur: 4 }), _jsxs(Drawer.Content, { children: [_jsxs(Drawer.Header, { children: [_jsxs(Button, { leftSection: _jsx(BackIcon, {}), onClick: close, variant: "outline", children: [' ', "Back", ' '] }), _jsx(CopyButton, { value: permalink, children: function (_a) {
28
+ var copied = _a.copied, copy = _a.copy;
29
+ return (_jsx(Button, { color: copied ? 'primary' : 'secondary', onClick: copy, children: copied ? 'Copied Permalink' : 'Permalink' }));
30
+ } })] }), _jsx(Drawer.Body, { children: detailView ?
31
+ _jsx(StudyDetailsPanel, { data: studyDetails !== null && studyDetails !== void 0 ? studyDetails : {}, studyConfig: detailView }) : simpleDetailsView ?
32
+ _jsx(SinglePageStudyDetailsPanel, { data: studyDetails !== null && studyDetails !== void 0 ? studyDetails : {}, studyConfig: simpleDetailsView, authorization: authz }) :
33
+ _jsx("div", { children: "Study Details Panel not configured" }) })] })] }));
34
+ };
35
+ export default StudyDetails;
36
+ //# sourceMappingURL=StudyDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyDetails.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyDetails.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,yBAAyB,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAInD,IAAM,YAAY,GAAG,UAAC,EAUrB;QATC,KAAK,WAAA,EACL,UAAU,gBAAA,EACV,iBAAiB,uBAAA,EACjB,KAAK,WAAA;IAOG,IAAA,YAAY,GAAK,eAAe,EAAE,aAAtB,CAAuB;IACrC,IAAA,KAA4B,aAAa,CAAC,KAAK,CAAC,EAA/C,MAAM,QAAA,EAAE,UA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,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,YAC3D,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,WAAW,GACnC,CACV;gCAJsB,CAItB,GACU,IACC,EAChB,KAAC,MAAM,CAAC,IAAI,cACT,UAAU,CAAC,CAAC;4BACb,KAAC,iBAAiB,IAChB,IAAI,EAAE,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,EAAE,EACxB,WAAW,EAAE,UAAU,GACvB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;4BACxB,KAAC,2BAA2B,IAAC,IAAI,EAAE,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,KAAK,GAAI,CAAC,CAAC;4BACjH,+DAA6C,GACjC,IACC,IACL,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ReactElement } from 'react';
2
+ import { JSONObject } from '@gen3/core';
3
+ import { StudyDetailView } from '../types';
4
+ interface StudyDetailsPanelProps {
5
+ readonly data: JSONObject;
6
+ readonly studyConfig: StudyDetailView;
7
+ }
8
+ declare const StudyDetailsPanel: ({ data, studyConfig, }: StudyDetailsPanelProps) => ReactElement;
9
+ export default StudyDetailsPanel;
10
+ //# sourceMappingURL=StudyDetailsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyDetailsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyDetailsPanel.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI3C,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,eAAe,CAAC;CACvC;AAED,QAAA,MAAM,iBAAiB,GAAI,wBAGxB,sBAAsB,KAAG,YA+B3B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text, Tabs } from '@mantine/core';
3
+ import StudyGroupPanel from './StudyGroupPanel';
4
+ import { JSONPath } from 'jsonpath-plus';
5
+ var StudyDetailsPanel = function (_a) {
6
+ var _b, _c, _d, _e;
7
+ var data = _a.data, studyConfig = _a.studyConfig;
8
+ var headerText = JSONPath({
9
+ json: data,
10
+ path: (_c = (_b = studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.header) === null || _b === void 0 ? void 0 : _b.field) !== null && _c !== void 0 ? _c : '',
11
+ });
12
+ return (_jsxs("div", { children: [_jsx(Text, { size: "lg", w: 700, className: "mb-4", children: headerText }), _jsxs(Tabs, { defaultValue: (_e = (_d = studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.tabs) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.tabName, children: [_jsx(Tabs.List, { children: studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.tabs.map(function (tab) {
13
+ return (_jsx(Tabs.Tab, { value: tab.tabName, children: tab.tabName }, "".concat(tab.tabName, "-details-tab")));
14
+ }) }), studyConfig === null || studyConfig === void 0 ? void 0 : studyConfig.tabs.map(function (tab) {
15
+ return (_jsx(Tabs.Panel, { value: tab.tabName, children: _jsx(StudyGroupPanel, { data: data, groups: tab.groups }) }, "".concat(tab.tabName, "-details-tab-panel")));
16
+ })] })] }));
17
+ };
18
+ export default StudyDetailsPanel;
19
+ //# sourceMappingURL=StudyDetailsPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyDetailsPanel.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyDetailsPanel.tsx"],"names":[],"mappings":";AACA,OAAO,EAA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J,CAAC,CAAC,IACC,IACH,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { StudyTabGroup } from '../types';
2
+ import { JSONObject } from '@gen3/core';
3
+ interface StudyTabGroupProps extends StudyTabGroup {
4
+ readonly data: JSONObject;
5
+ }
6
+ declare const StudyGroup: ({ data, header, fields }: StudyTabGroupProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export default StudyGroup;
8
+ //# sourceMappingURL=StudyGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyGroup.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAIxC,UAAU,kBAAmB,SAAQ,aAAa;IAChD,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAED,QAAA,MAAM,UAAU,GAAI,0BAA0B,kBAAkB,mDAsC/D,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useMemo } from 'react';
3
+ import { Text } from '@mantine/core';
4
+ import { createFieldRendererElement } from './StudyItems';
5
+ import { JSONPath } from 'jsonpath-plus';
6
+ var StudyGroup = function (_a) {
7
+ var data = _a.data, header = _a.header, fields = _a.fields;
8
+ var groupHasContent = useMemo(function () {
9
+ return fields.some(function (field) {
10
+ // TDDO: handle ifFieldIsNotAvailable
11
+ if (!field.field) {
12
+ return false;
13
+ }
14
+ var resourceFieldValue = JSONPath({
15
+ json: data,
16
+ path: field.field,
17
+ });
18
+ return (resourceFieldValue &&
19
+ resourceFieldValue.length > 0 &&
20
+ resourceFieldValue[0].length !== 0);
21
+ });
22
+ }, [fields, data]);
23
+ if (!groupHasContent) {
24
+ return null;
25
+ }
26
+ return (_jsxs("div", { className: " flex flex-col", children: [_jsx("div", { className: "bg-accent-lightest w-full p-1 mb-4", children: _jsx(Text, { color: "primary", fw: 700, children: header }) }), _jsx("div", { className: "p-4", children: fields.map(function (field) {
27
+ return createFieldRendererElement(field, data);
28
+ }) })] }));
29
+ };
30
+ export default StudyGroup;
31
+ //# sourceMappingURL=StudyGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyGroup.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyGroup.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAMzC,IAAM,UAAU,GAAG,UAAC,EAA4C;QAA1C,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,MAAM,YAAA;IACxC,IAAM,eAAe,GAAG,OAAO,CAC7B;QACE,OAAA,MAAM,CAAC,IAAI,CAAC,UAAC,KAAK;YAChB,qCAAqC;YACrC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;gBACjB,OAAO,KAAK,CAAC;YACf,CAAC;YACD,IAAM,kBAAkB,GAAG,QAAQ,CAAC;gBAClC,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,KAAK,CAAC,KAAK;aAClB,CAAC,CAAC;YACH,OAAO,CACL,kBAAkB;gBAClB,kBAAkB,CAAC,MAAM,GAAG,CAAC;gBAC7B,kBAAkB,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CACnC,CAAC;QACJ,CAAC,CAAC;IAdF,CAcE,EACJ,CAAC,MAAM,EAAE,IAAI,CAAC,CACf,CAAC;IAEF,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,gBAAgB,aAC7B,cAAK,SAAS,EAAC,oCAAoC,YACjD,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,EAAE,EAAE,GAAG,YAAI,MAAM,GAAQ,GAC3C,EACN,cACE,SAAS,EAAC,KAAK,YACd,MAAM,CAAC,GAAG,CAAC,UAAC,KAAK;oBAChB,OAAO,0BAA0B,CAAC,KAAK,EAAE,IAAW,CAAC,CAAC;gBACxD,CAAC,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { StudyTabGroup } from '../types';
2
+ import { JSONObject } from '@gen3/core';
3
+ interface StudyGroupPanelProps {
4
+ readonly groups: StudyTabGroup[];
5
+ readonly data: JSONObject;
6
+ }
7
+ declare const StudyGroupPanel: ({ data, groups }: StudyGroupPanelProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default StudyGroupPanel;
9
+ //# sourceMappingURL=StudyGroupPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyGroupPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyGroupPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGxC,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAED,QAAA,MAAM,eAAe,GAAI,kBAAkB,oBAAoB,4CAe9D,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import StudyGroup from './StudyGroup';
3
+ var StudyGroupPanel = function (_a) {
4
+ var data = _a.data, groups = _a.groups;
5
+ return (_jsx("div", { className: "flex flex-col my-2 w-full", children: groups.map(function (_a) {
6
+ var header = _a.header, fields = _a.fields;
7
+ return (_jsx(StudyGroup, { data: data, header: header, fields: fields }, "".concat(header, "-study-group")));
8
+ }) }));
9
+ };
10
+ export default StudyGroupPanel;
11
+ //# sourceMappingURL=StudyGroupPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyGroupPanel.js","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyGroupPanel.tsx"],"names":[],"mappings":";AAGA,OAAO,UAAU,MAAM,cAAc,CAAC;AAOtC,IAAM,eAAe,GAAG,UAAC,EAAsC;QAApC,IAAI,UAAA,EAAE,MAAM,YAAA;IACrC,OAAO,CACL,cAAK,SAAS,EAAC,2BAA2B,YACvC,MAAM,CAAC,GAAG,CAAC,UAAC,EAAkB;gBAAhB,MAAM,YAAA,EAAE,MAAM,YAAA;YAC3B,OAAO,CACL,KAAC,UAAU,IACT,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,IACT,UAAG,MAAM,iBAAc,CAC5B,CACH,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ReactElement } from 'react';
2
+ import { StudyDetailsField, StudyTabTagField } from '../types';
3
+ import { JSONValue } from '@gen3/core';
4
+ export declare const createFieldRendererElement: (field: StudyDetailsField | StudyTabTagField, resource: JSONValue) => ReactElement | null;
5
+ //# sourceMappingURL=StudyItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudyItems.d.ts","sourceRoot":"","sources":["../../../../../src/features/Study/StudyDetails/StudyItems.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,EAEL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,UAAU,CAAC;AASlB,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAoYvC,eAAO,MAAM,0BAA0B,GACrC,OAAO,iBAAiB,GAAG,gBAAgB,EAC3C,UAAU,SAAS,KAClB,YAAY,GAAG,IAgDjB,CAAC"}