@gen3/frontend 0.10.95 → 0.10.98

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 (345) hide show
  1. package/dist/cjs/index.js +10402 -8520
  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/Login/LoginPanel.d.ts.map +1 -1
  7. package/dist/dts/components/Login/LoginPanel.js.map +1 -1
  8. package/dist/dts/components/Login/types.d.ts +2 -1
  9. package/dist/dts/components/Login/types.d.ts.map +1 -1
  10. package/dist/dts/components/Login/types.js.map +1 -1
  11. package/dist/dts/components/MessageCards/index.d.ts +2 -1
  12. package/dist/dts/components/MessageCards/index.d.ts.map +1 -1
  13. package/dist/dts/components/MessageCards/index.js +2 -1
  14. package/dist/dts/components/MessageCards/index.js.map +1 -1
  15. package/dist/dts/components/Profile/types.d.ts +2 -1
  16. package/dist/dts/components/Profile/types.d.ts.map +1 -1
  17. package/dist/dts/components/SegmentedControl.d.ts +8 -0
  18. package/dist/dts/components/SegmentedControl.d.ts.map +1 -0
  19. package/dist/dts/components/SegmentedControl.js +23 -0
  20. package/dist/dts/components/SegmentedControl.js.map +1 -0
  21. package/dist/dts/components/charts/Charts.d.ts.map +1 -1
  22. package/dist/dts/components/charts/Charts.js +2 -0
  23. package/dist/dts/components/charts/Charts.js.map +1 -1
  24. package/dist/dts/components/charts/CollapsableCharts.d.ts +9 -0
  25. package/dist/dts/components/charts/CollapsableCharts.d.ts.map +1 -0
  26. package/dist/dts/components/charts/CollapsableCharts.js +24 -0
  27. package/dist/dts/components/charts/CollapsableCharts.js.map +1 -0
  28. package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts +1 -1
  29. package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts.map +1 -1
  30. package/dist/dts/components/charts/echarts/HorizontalBarChart.js +3 -2
  31. package/dist/dts/components/charts/echarts/HorizontalBarChart.js.map +1 -1
  32. package/dist/dts/components/charts/types.d.ts +2 -0
  33. package/dist/dts/components/charts/types.d.ts.map +1 -1
  34. package/dist/dts/components/facets/EnumFacet.js +2 -2
  35. package/dist/dts/components/facets/EnumFacet.js.map +1 -1
  36. package/dist/dts/components/facets/ExactValueFacet.d.ts.map +1 -1
  37. package/dist/dts/components/facets/ExactValueFacet.js +3 -3
  38. package/dist/dts/components/facets/ExactValueFacet.js.map +1 -1
  39. package/dist/dts/components/facets/FacetControlsHeader.d.ts.map +1 -1
  40. package/dist/dts/components/facets/FacetControlsHeader.js +1 -1
  41. package/dist/dts/components/facets/FacetControlsHeader.js.map +1 -1
  42. package/dist/dts/components/facets/FacetSelectionModal.d.ts +22 -0
  43. package/dist/dts/components/facets/FacetSelectionModal.d.ts.map +1 -0
  44. package/dist/dts/components/facets/FacetSelectionModal.js +77 -0
  45. package/dist/dts/components/facets/FacetSelectionModal.js.map +1 -0
  46. package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -1
  47. package/dist/dts/components/facets/FacetSelector.js +6 -6
  48. package/dist/dts/components/facets/FacetSelector.js.map +1 -1
  49. package/dist/dts/components/facets/FacetTabs.d.ts +38 -0
  50. package/dist/dts/components/facets/FacetTabs.d.ts.map +1 -0
  51. package/dist/dts/components/facets/FacetTabs.js +166 -0
  52. package/dist/dts/components/facets/FacetTabs.js.map +1 -0
  53. package/dist/dts/components/facets/MultiSelectValueFacet.d.ts.map +1 -1
  54. package/dist/dts/components/facets/MultiSelectValueFacet.js +3 -3
  55. package/dist/dts/components/facets/MultiSelectValueFacet.js.map +1 -1
  56. package/dist/dts/components/facets/NumericRangeFacet/DaysOrYears.d.ts +5 -0
  57. package/dist/dts/components/facets/NumericRangeFacet/DaysOrYears.d.ts.map +1 -0
  58. package/dist/dts/components/facets/NumericRangeFacet/DaysOrYears.js +29 -0
  59. package/dist/dts/components/facets/NumericRangeFacet/DaysOrYears.js.map +1 -0
  60. package/dist/dts/components/facets/NumericRangeFacet/FromTo.d.ts +32 -0
  61. package/dist/dts/components/facets/NumericRangeFacet/FromTo.d.ts.map +1 -0
  62. package/dist/dts/components/facets/NumericRangeFacet/FromTo.js +168 -0
  63. package/dist/dts/components/facets/NumericRangeFacet/FromTo.js.map +1 -0
  64. package/dist/dts/components/facets/NumericRangeFacet/NumericRangePanel.d.ts +5 -0
  65. package/dist/dts/components/facets/NumericRangeFacet/NumericRangePanel.d.ts.map +1 -0
  66. package/dist/dts/components/facets/NumericRangeFacet/NumericRangePanel.js +30 -0
  67. package/dist/dts/components/facets/NumericRangeFacet/NumericRangePanel.js.map +1 -0
  68. package/dist/dts/components/facets/NumericRangeFacet/PercentRange.d.ts +5 -0
  69. package/dist/dts/components/facets/NumericRangeFacet/PercentRange.d.ts.map +1 -0
  70. package/dist/dts/components/facets/NumericRangeFacet/PercentRange.js +11 -0
  71. package/dist/dts/components/facets/NumericRangeFacet/PercentRange.js.map +1 -0
  72. package/dist/dts/components/facets/NumericRangeFacet/RangeInputWithPrefixedRanges.d.ts +12 -0
  73. package/dist/dts/components/facets/NumericRangeFacet/RangeInputWithPrefixedRanges.d.ts.map +1 -0
  74. package/dist/dts/components/facets/NumericRangeFacet/RangeInputWithPrefixedRanges.js +113 -0
  75. package/dist/dts/components/facets/NumericRangeFacet/RangeInputWithPrefixedRanges.js.map +1 -0
  76. package/dist/dts/components/facets/NumericRangeFacet/RangeValueSelector.d.ts +26 -0
  77. package/dist/dts/components/facets/NumericRangeFacet/RangeValueSelector.d.ts.map +1 -0
  78. package/dist/dts/components/facets/NumericRangeFacet/RangeValueSelector.js +63 -0
  79. package/dist/dts/components/facets/NumericRangeFacet/RangeValueSelector.js.map +1 -0
  80. package/dist/dts/components/facets/NumericRangeFacet/Year.d.ts +5 -0
  81. package/dist/dts/components/facets/NumericRangeFacet/Year.d.ts.map +1 -0
  82. package/dist/dts/components/facets/NumericRangeFacet/Year.js +23 -0
  83. package/dist/dts/components/facets/NumericRangeFacet/Year.js.map +1 -0
  84. package/dist/dts/components/facets/NumericRangeFacet/Years.d.ts +5 -0
  85. package/dist/dts/components/facets/NumericRangeFacet/Years.d.ts.map +1 -0
  86. package/dist/dts/components/facets/NumericRangeFacet/Years.js +24 -0
  87. package/dist/dts/components/facets/NumericRangeFacet/Years.js.map +1 -0
  88. package/dist/dts/components/facets/NumericRangeFacet/index.d.ts +19 -0
  89. package/dist/dts/components/facets/NumericRangeFacet/index.d.ts.map +1 -0
  90. package/dist/dts/components/facets/NumericRangeFacet/index.js +65 -0
  91. package/dist/dts/components/facets/NumericRangeFacet/index.js.map +1 -0
  92. package/dist/dts/components/facets/NumericRangeFacet/types.d.ts +27 -0
  93. package/dist/dts/components/facets/NumericRangeFacet/types.d.ts.map +1 -0
  94. package/dist/dts/components/facets/NumericRangeFacet/types.js +2 -0
  95. package/dist/dts/components/facets/NumericRangeFacet/types.js.map +1 -0
  96. package/dist/dts/components/facets/NumericRangeFacet/utils.d.ts +52 -0
  97. package/dist/dts/components/facets/NumericRangeFacet/utils.d.ts.map +1 -0
  98. package/dist/dts/components/facets/NumericRangeFacet/utils.js +288 -0
  99. package/dist/dts/components/facets/NumericRangeFacet/utils.js.map +1 -0
  100. package/dist/dts/components/facets/RangeFacet.d.ts +1 -6
  101. package/dist/dts/components/facets/RangeFacet.d.ts.map +1 -1
  102. package/dist/dts/components/facets/RangeFacet.js +3 -3
  103. package/dist/dts/components/facets/RangeFacet.js.map +1 -1
  104. package/dist/dts/components/facets/constants.d.ts +1 -0
  105. package/dist/dts/components/facets/constants.d.ts.map +1 -1
  106. package/dist/dts/components/facets/constants.js +1 -0
  107. package/dist/dts/components/facets/constants.js.map +1 -1
  108. package/dist/dts/components/facets/createFacetCard.d.ts +16 -2
  109. package/dist/dts/components/facets/createFacetCard.d.ts.map +1 -1
  110. package/dist/dts/components/facets/createFacetCard.js +13 -10
  111. package/dist/dts/components/facets/createFacetCard.js.map +1 -1
  112. package/dist/dts/components/facets/createFacetCards.d.ts +10 -0
  113. package/dist/dts/components/facets/createFacetCards.d.ts.map +1 -0
  114. package/dist/dts/components/facets/createFacetCards.js +19 -0
  115. package/dist/dts/components/facets/createFacetCards.js.map +1 -0
  116. package/dist/dts/components/facets/hooks.d.ts +1 -0
  117. package/dist/dts/components/facets/hooks.d.ts.map +1 -1
  118. package/dist/dts/components/facets/hooks.js +10 -1
  119. package/dist/dts/components/facets/hooks.js.map +1 -1
  120. package/dist/dts/components/facets/index.d.ts +11 -1
  121. package/dist/dts/components/facets/index.d.ts.map +1 -1
  122. package/dist/dts/components/facets/index.js +11 -1
  123. package/dist/dts/components/facets/index.js.map +1 -1
  124. package/dist/dts/components/facets/types.d.ts +97 -3
  125. package/dist/dts/components/facets/types.d.ts.map +1 -1
  126. package/dist/dts/components/facets/types.js.map +1 -1
  127. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
  128. package/dist/dts/features/Analysis/types.d.ts +2 -1
  129. package/dist/dts/features/Analysis/types.d.ts.map +1 -1
  130. package/dist/dts/features/Analysis/types.js.map +1 -1
  131. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  132. package/dist/dts/features/CohortBuilder/CohortBuilder.js +1 -2
  133. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  134. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  135. package/dist/dts/features/CohortBuilder/CohortPanel.js +6 -2
  136. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  137. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -1
  138. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -1
  139. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js +0 -4
  140. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -1
  141. package/dist/dts/features/CohortBuilder/FiltersPanel.d.ts.map +1 -1
  142. package/dist/dts/features/CohortBuilder/FiltersPanel.js +9 -1
  143. package/dist/dts/features/CohortBuilder/FiltersPanel.js.map +1 -1
  144. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js +1 -1
  145. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -1
  146. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.d.ts +16 -0
  147. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.d.ts.map +1 -0
  148. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js +185 -0
  149. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js.map +1 -0
  150. package/dist/dts/features/CohortBuilder/index.d.ts +3 -2
  151. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  152. package/dist/dts/features/CohortBuilder/index.js +3 -2
  153. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  154. package/dist/dts/features/CohortBuilder/types.d.ts +2 -2
  155. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  156. package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.d.ts.map +1 -1
  157. package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js +18 -2
  158. package/dist/dts/features/CohortDiscovery/ActionButtons/ActionButtonGroup.js.map +1 -1
  159. package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.d.ts.map +1 -1
  160. package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js +10 -4
  161. package/dist/dts/features/CohortDiscovery/ActionButtons/SaveActionButton.js.map +1 -1
  162. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
  163. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +7 -3
  164. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
  165. package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -1
  166. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +8 -3
  167. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
  168. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +5 -2
  169. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -1
  170. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +120 -44
  171. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -1
  172. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +44 -0
  173. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -1
  174. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +7 -1
  175. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -1
  176. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +3 -1
  177. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -1
  178. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +71 -24
  179. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -1
  180. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts.map +1 -1
  181. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js +0 -2
  182. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js.map +1 -1
  183. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts +6 -0
  184. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.d.ts.map +1 -0
  185. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js +55 -0
  186. package/dist/dts/features/CohortDiscovery/CohortQueryExpression.js.map +1 -0
  187. package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts +0 -22
  188. package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts.map +1 -1
  189. package/dist/dts/features/CohortDiscovery/CohortSelectors.js +40 -34
  190. package/dist/dts/features/CohortDiscovery/CohortSelectors.js.map +1 -1
  191. package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts +0 -90
  192. package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts.map +1 -1
  193. package/dist/dts/features/CohortDiscovery/CohortSlice.js +161 -92
  194. package/dist/dts/features/CohortDiscovery/CohortSlice.js.map +1 -1
  195. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -1
  196. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +1 -1
  197. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -1
  198. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
  199. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +5 -3
  200. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
  201. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +1 -1
  202. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
  203. package/dist/dts/features/CohortDiscovery/IndexPanel.js +13 -12
  204. package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
  205. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts +14 -28
  206. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.d.ts.map +1 -1
  207. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js +4 -4
  208. package/dist/dts/features/CohortDiscovery/RequestManagerSlice.js.map +1 -1
  209. package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.d.ts.map +1 -1
  210. package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js +4 -10
  211. package/dist/dts/features/CohortDiscovery/Requests/DataAccessRequestForm.js.map +1 -1
  212. package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.d.ts.map +1 -1
  213. package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js +2 -1
  214. package/dist/dts/features/CohortDiscovery/Requests/RequestsPanel.js.map +1 -1
  215. package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.d.ts.map +1 -1
  216. package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js +76 -13
  217. package/dist/dts/features/CohortDiscovery/Requests/RequestsTable.js.map +1 -1
  218. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts +3 -3
  219. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts.map +1 -1
  220. package/dist/dts/features/CohortDiscovery/Requests/hooks.js.map +1 -1
  221. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts +9 -0
  222. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.d.ts.map +1 -0
  223. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js +133 -0
  224. package/dist/dts/features/CohortDiscovery/Requests/submitCohortRequestAction.js.map +1 -0
  225. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -1
  226. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +25 -99
  227. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -1
  228. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts +3 -2
  229. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts.map +1 -1
  230. package/dist/dts/features/CohortDiscovery/TabbedIndex.js +2 -2
  231. package/dist/dts/features/CohortDiscovery/TabbedIndex.js.map +1 -1
  232. package/dist/dts/features/CohortDiscovery/appApi.d.ts +2 -4
  233. package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
  234. package/dist/dts/features/CohortDiscovery/appApi.js +6 -4
  235. package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
  236. package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
  237. package/dist/dts/features/CohortDiscovery/hooks.js +7 -9
  238. package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
  239. package/dist/dts/features/CohortDiscovery/queryApi.d.ts.map +1 -1
  240. package/dist/dts/features/CohortDiscovery/queryApi.js.map +1 -1
  241. package/dist/dts/features/CohortDiscovery/types.d.ts +47 -19
  242. package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
  243. package/dist/dts/features/CohortDiscovery/types.js +16 -6
  244. package/dist/dts/features/CohortDiscovery/types.js.map +1 -1
  245. package/dist/dts/features/CohortDiscovery/utils.d.ts +2 -0
  246. package/dist/dts/features/CohortDiscovery/utils.d.ts.map +1 -1
  247. package/dist/dts/features/CohortDiscovery/utils.js +9 -0
  248. package/dist/dts/features/CohortDiscovery/utils.js.map +1 -1
  249. package/dist/dts/features/Crosswalk/types.d.ts +2 -1
  250. package/dist/dts/features/Crosswalk/types.d.ts.map +1 -1
  251. package/dist/dts/features/Dictionary/types.d.ts +5 -1
  252. package/dist/dts/features/Dictionary/types.d.ts.map +1 -1
  253. package/dist/dts/features/Discovery/Charts/CollapsableChartsPanel.d.ts +9 -0
  254. package/dist/dts/features/Discovery/Charts/CollapsableChartsPanel.d.ts.map +1 -0
  255. package/dist/dts/features/Discovery/Charts/CollapsableChartsPanel.js +24 -0
  256. package/dist/dts/features/Discovery/Charts/CollapsableChartsPanel.js.map +1 -0
  257. package/dist/dts/features/Discovery/types.d.ts +2 -1
  258. package/dist/dts/features/Discovery/types.d.ts.map +1 -1
  259. package/dist/dts/features/Discovery/types.js.map +1 -1
  260. package/dist/dts/features/Navigation/Header.js +1 -1
  261. package/dist/dts/features/Navigation/Header.js.map +1 -1
  262. package/dist/dts/features/Navigation/TopBar/AccountButton.js +1 -1
  263. package/dist/dts/features/Navigation/TopBar/AccountButton.js.map +1 -1
  264. package/dist/dts/features/Navigation/TopBar/LoginButton.js +1 -1
  265. package/dist/dts/features/Navigation/TopBar/LoginButton.js.map +1 -1
  266. package/dist/dts/features/Workspace/types.d.ts +2 -1
  267. package/dist/dts/features/Workspace/types.d.ts.map +1 -1
  268. package/dist/dts/features/Workspace/types.js.map +1 -1
  269. package/dist/dts/index.d.ts +6 -3
  270. package/dist/dts/index.d.ts.map +1 -1
  271. package/dist/dts/index.js +5 -2
  272. package/dist/dts/index.js.map +1 -1
  273. package/dist/dts/lib/content/types.d.ts +2 -0
  274. package/dist/dts/lib/content/types.d.ts.map +1 -1
  275. package/dist/dts/lib/session/session.d.ts.map +1 -1
  276. package/dist/dts/lib/session/session.js +6 -2
  277. package/dist/dts/lib/session/session.js.map +1 -1
  278. package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +1 -1
  279. package/dist/dts/pages/Crosswalk/Crosswalk.js +1 -5
  280. package/dist/dts/pages/Crosswalk/Crosswalk.js.map +1 -1
  281. package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +1 -1
  282. package/dist/dts/pages/DataDictionary/DataDictionary.js +12 -5
  283. package/dist/dts/pages/DataDictionary/DataDictionary.js.map +1 -1
  284. package/dist/dts/pages/Discovery/Discovery.d.ts.map +1 -1
  285. package/dist/dts/pages/Discovery/Discovery.js +14 -5
  286. package/dist/dts/pages/Discovery/Discovery.js.map +1 -1
  287. package/dist/dts/pages/Explorer/Explorer.d.ts +1 -1
  288. package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
  289. package/dist/dts/pages/Explorer/Explorer.js +13 -6
  290. package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
  291. package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
  292. package/dist/dts/pages/Explorer/data.js +4 -4
  293. package/dist/dts/pages/Explorer/data.js.map +1 -1
  294. package/dist/dts/pages/Landing/Landing.d.ts.map +1 -1
  295. package/dist/dts/pages/Landing/Landing.js +12 -5
  296. package/dist/dts/pages/Landing/Landing.js.map +1 -1
  297. package/dist/dts/pages/Login/Login.d.ts.map +1 -1
  298. package/dist/dts/pages/Login/Login.js +1 -5
  299. package/dist/dts/pages/Login/Login.js.map +1 -1
  300. package/dist/dts/pages/Profile/Profile.d.ts.map +1 -1
  301. package/dist/dts/pages/Profile/Profile.js +12 -5
  302. package/dist/dts/pages/Profile/Profile.js.map +1 -1
  303. package/dist/dts/pages/Query/Query.d.ts.map +1 -1
  304. package/dist/dts/pages/Query/Query.js +12 -5
  305. package/dist/dts/pages/Query/Query.js.map +1 -1
  306. package/dist/dts/pages/Query/types.d.ts +2 -1
  307. package/dist/dts/pages/Query/types.d.ts.map +1 -1
  308. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.d.ts +4 -0
  309. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.d.ts.map +1 -0
  310. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js +24 -0
  311. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js.map +1 -0
  312. package/dist/dts/pages/TabbedCohortBuilder/data.d.ts +4 -0
  313. package/dist/dts/pages/TabbedCohortBuilder/data.d.ts.map +1 -0
  314. package/dist/dts/pages/TabbedCohortBuilder/data.js +81 -0
  315. package/dist/dts/pages/TabbedCohortBuilder/data.js.map +1 -0
  316. package/dist/dts/pages/TabbedCohortBuilder/index.d.ts +3 -0
  317. package/dist/dts/pages/TabbedCohortBuilder/index.d.ts.map +1 -0
  318. package/dist/dts/pages/TabbedCohortBuilder/index.js +3 -0
  319. package/dist/dts/pages/TabbedCohortBuilder/index.js.map +1 -0
  320. package/dist/dts/pages/TabbedCohortBuilder/types.d.ts +6 -0
  321. package/dist/dts/pages/TabbedCohortBuilder/types.d.ts.map +1 -0
  322. package/dist/dts/pages/TabbedCohortBuilder/types.js +2 -0
  323. package/dist/dts/pages/TabbedCohortBuilder/types.js.map +1 -0
  324. package/dist/dts/pages/Workspace/Workspace.d.ts.map +1 -1
  325. package/dist/dts/pages/Workspace/Workspace.js +14 -5
  326. package/dist/dts/pages/Workspace/Workspace.js.map +1 -1
  327. package/dist/dts/types/icons.d.ts +5 -2
  328. package/dist/dts/types/icons.d.ts.map +1 -1
  329. package/dist/dts/types/icons.js +5 -2
  330. package/dist/dts/types/icons.js.map +1 -1
  331. package/dist/dts/utils/index.d.ts +2 -3
  332. package/dist/dts/utils/index.d.ts.map +1 -1
  333. package/dist/dts/utils/index.js +2 -2
  334. package/dist/dts/utils/index.js.map +1 -1
  335. package/dist/dts/utils/tests/values.test.js +0 -1
  336. package/dist/dts/utils/tests/values.test.js.map +1 -1
  337. package/dist/dts/utils/useScrollToHash.d.ts +8 -0
  338. package/dist/dts/utils/useScrollToHash.d.ts.map +1 -0
  339. package/dist/dts/utils/useScrollToHash.js +25 -0
  340. package/dist/dts/utils/useScrollToHash.js.map +1 -0
  341. package/dist/esm/index.js +10386 -8544
  342. package/dist/esm/index.js.map +1 -1
  343. package/dist/index.d.ts +1022 -556
  344. package/dist/tsconfig.tsbuildinfo +1 -1
  345. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { JSONObject, HistogramDataArray, AggregationsData, EnumFilterValue, FacetDefinition, IndexAndField, Operation, CombineMode, DataFetchingResult, Accessibility, SharedFieldMapping, Includes, Intersection, OperatorWithFieldAndArrayOfOperands, ServiceAndMethod, DataLibraryStoreMode, ExportDatasetFields, FilterSet, CohortItem, FileItem } from '@gen3/core';
2
3
  import * as React$1 from 'react';
3
- import React__default, { ReactNode, CSSProperties, ReactElement, PropsWithChildren, RefObject } from 'react';
4
- import { HistogramDataArray, AggregationsData, EnumFilterValue, ServiceAndMethod, JSONObject, DataLibraryStoreMode, ExportDatasetFields, Accessibility, SharedFieldMapping, FacetDefinition, Operation, FilterSet, CohortItem, FileItem } from '@gen3/core';
4
+ import React__default, { ReactElement, ReactNode, CSSProperties, ComponentType, RefObject, PropsWithChildren } from 'react';
5
5
  import { EChartsOption, SetOptionOpts } from 'echarts';
6
+ import { MRT_Row, MRT_RowData, MRT_Cell, MRT_Column, MRT_TableInstance } from 'mantine-react-table';
6
7
  import * as _mantine_core from '@mantine/core';
7
8
  import { ButtonProps, BoxProps, TitleOrder } from '@mantine/core';
8
- import { MRT_RowData, MRT_Cell, MRT_Row, MRT_Column, MRT_TableInstance } from 'mantine-react-table';
9
9
  import * as tailwind_styled_components_dist_tailwind from 'tailwind-styled-components/dist/tailwind';
10
10
  import * as type_fest_source_partial_deep from 'type-fest/source/partial-deep';
11
11
  import { GetServerSideProps, NextPage, GetStaticProps, NextApiRequest, NextApiResponse } from 'next';
@@ -14,43 +14,6 @@ import { IconType } from 'react-icons';
14
14
  declare const User$1: () => react_jsx_runtime.JSX.Element;
15
15
  //# sourceMappingURL=User.d.ts.map
16
16
 
17
- interface ServiceColorAndLabel {
18
- serviceName: string;
19
- color: string;
20
- label?: string;
21
- }
22
- interface ResourceTableConfig {
23
- title?: string;
24
- serviceColors?: Record<string, ServiceColorAndLabel>;
25
- }
26
- interface ProfileConfig {
27
- resourceTable?: ResourceTableConfig;
28
- hasExternalLogins?: boolean;
29
- }
30
- interface APICredentials {
31
- api_key: string;
32
- key_id: string;
33
- }
34
-
35
- declare const ProfileProvider: ({ children, profileConfig, }: {
36
- children: React__default.ReactNode;
37
- profileConfig: ProfileConfig;
38
- }) => react_jsx_runtime.JSX.Element;
39
- //# sourceMappingURL=ProfileProvider.d.ts.map
40
-
41
- interface ResourcesFiltersProps {
42
- setFilters: (filters: string[]) => void;
43
- selectedFilters: string[];
44
- }
45
- /**
46
- * ResourcesFilters creates a checkbox filter component from cached arborist data
47
- * and servicesAndMethods, useProfileContext context hooks.
48
- * @returns: A resourceFilter component for sorting permissions
49
- * chart on profile page by relevant microservices
50
- */
51
- declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFiltersProps) => react_jsx_runtime.JSX.Element;
52
- //# sourceMappingURL=ResourcesFilters.d.ts.map
53
-
54
17
  /**
55
18
  * Enum representing various content types for text-based data.
56
19
  *
@@ -85,7 +48,7 @@ interface Gen3LoginPanelConfig {
85
48
  image: string;
86
49
  className: string;
87
50
  }
88
- interface LoginConfig extends Partial<Gen3LoginPanelConfig> {
51
+ interface LoginConfig extends Partial<Gen3LoginPanelConfig>, Gen3AppConfigData {
89
52
  topContent?: ReadonlyArray<TextContentProps>;
90
53
  bottomContent?: ReadonlyArray<TextContentProps>;
91
54
  showCredentialsLogin?: boolean;
@@ -99,6 +62,167 @@ declare enum LoginButtonVisibility {
99
62
  LogoutOnly = "logoutOnly"
100
63
  }
101
64
 
65
+ type StylingOverride = Record<string, string>;
66
+ type StylingMergeMode = 'merge' | 'replace';
67
+ type StylingOverrideWithMergeControl = StylingOverride & {
68
+ mergeMode?: StylingMergeMode;
69
+ };
70
+
71
+ interface TitleAndDescription {
72
+ title: string;
73
+ description?: string;
74
+ }
75
+
76
+ interface TopIconButtonProps extends NameAndIcon {
77
+ tooltip?: string;
78
+ clickHandler?: () => void;
79
+ ariaLabel?: string;
80
+ }
81
+ interface TopIconButtonPropsWithLink extends TopIconButtonProps {
82
+ href: string;
83
+ }
84
+
85
+ interface TopBarProps {
86
+ readonly items: TopIconButtonPropsWithLink[];
87
+ readonly loginButtonVisibility?: LoginButtonVisibility;
88
+ readonly externalLoginUrl?: string;
89
+ readonly classNames?: StylingOverrideWithMergeControl;
90
+ readonly itemClassnames?: StylingOverrideWithMergeControl;
91
+ }
92
+ declare const TopBar: ({ items, loginButtonVisibility, externalLoginUrl, classNames, itemClassnames, }: TopBarProps) => react_jsx_runtime.JSX.Element;
93
+
94
+ type BannerLevelCategories = 'INFO' | 'WARNING' | 'ERROR';
95
+ interface BannerProps {
96
+ readonly message: string;
97
+ readonly level: BannerLevelCategories;
98
+ readonly dismissible: boolean;
99
+ readonly isExternalLink: boolean;
100
+ readonly id: number;
101
+ }
102
+ declare const Banner: React__default.FC<BannerProps>;
103
+
104
+ interface NavigationButtonProps$1 {
105
+ icon: string;
106
+ tooltip: string;
107
+ href: string;
108
+ noBasePath?: boolean;
109
+ name: string;
110
+ iconHeight?: string;
111
+ classNames?: StylingOverrideWithMergeControl;
112
+ }
113
+ interface NavigationBarLogo {
114
+ readonly src: string;
115
+ readonly title?: string;
116
+ readonly description: string;
117
+ readonly width?: number;
118
+ readonly height?: number;
119
+ readonly noBasePath?: boolean;
120
+ readonly divider?: boolean;
121
+ readonly classNames?: StylingOverrideWithMergeControl;
122
+ }
123
+ interface NavigationProps {
124
+ readonly logo?: NavigationBarLogo;
125
+ readonly items?: NavigationButtonProps$1[];
126
+ readonly title?: string;
127
+ readonly loginIcon?: ReactElement | string;
128
+ readonly classNames?: StylingOverrideWithMergeControl;
129
+ }
130
+ interface HeaderData {
131
+ title: string;
132
+ content: string;
133
+ key: string;
134
+ }
135
+ /**
136
+ * Sitewide props that can be passed to Pages
137
+ */
138
+ interface CommonsData {
139
+ contactEmail?: string;
140
+ }
141
+ interface HeaderProps {
142
+ top: TopBarProps;
143
+ navigation: NavigationProps;
144
+ banners?: Array<BannerProps>;
145
+ type?: 'horizontal' | 'vertical' | 'original';
146
+ readonly siteProps?: CommonsData;
147
+ }
148
+ interface MainContentProps {
149
+ fixed: boolean;
150
+ }
151
+ interface NameAndIcon {
152
+ readonly name?: string;
153
+ readonly iconSize?: string;
154
+ readonly rightIcon?: string;
155
+ readonly leftIcon?: string;
156
+ readonly classNames?: StylingOverrideWithMergeControl;
157
+ }
158
+
159
+ interface ContentSource$1 {
160
+ get<T extends Record<string, undefined>>(filepath: string): Promise<T>;
161
+ getAll<T extends Record<string, unknown>>(filepath: string, filter: string): Promise<Array<T>>;
162
+ }
163
+ interface Gen3Icon {
164
+ body: string;
165
+ width?: number;
166
+ height?: number;
167
+ top?: number;
168
+ left?: number;
169
+ }
170
+ interface RegisteredIcons {
171
+ prefix: string;
172
+ lastModified: number;
173
+ icons: Record<string, Gen3Icon>;
174
+ width: number;
175
+ height: number;
176
+ }
177
+ interface Fonts {
178
+ heading: string | string[];
179
+ content: string | string[];
180
+ fontFamily: string;
181
+ }
182
+ interface Gen3AppConfigData {
183
+ version?: string;
184
+ description?: string;
185
+ schema?: JSONObject;
186
+ headerMetadata?: HeaderData;
187
+ }
188
+
189
+ interface ServiceColorAndLabel {
190
+ serviceName: string;
191
+ color: string;
192
+ label?: string;
193
+ }
194
+ interface ResourceTableConfig {
195
+ title?: string;
196
+ serviceColors?: Record<string, ServiceColorAndLabel>;
197
+ }
198
+ interface ProfileConfig extends Gen3AppConfigData {
199
+ resourceTable?: ResourceTableConfig;
200
+ hasExternalLogins?: boolean;
201
+ }
202
+ interface APICredentials {
203
+ api_key: string;
204
+ key_id: string;
205
+ }
206
+
207
+ declare const ProfileProvider: ({ children, profileConfig, }: {
208
+ children: React__default.ReactNode;
209
+ profileConfig: ProfileConfig;
210
+ }) => react_jsx_runtime.JSX.Element;
211
+ //# sourceMappingURL=ProfileProvider.d.ts.map
212
+
213
+ interface ResourcesFiltersProps {
214
+ setFilters: (filters: string[]) => void;
215
+ selectedFilters: string[];
216
+ }
217
+ /**
218
+ * ResourcesFilters creates a checkbox filter component from cached arborist data
219
+ * and servicesAndMethods, useProfileContext context hooks.
220
+ * @returns: A resourceFilter component for sorting permissions
221
+ * chart on profile page by relevant microservices
222
+ */
223
+ declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFiltersProps) => react_jsx_runtime.JSX.Element;
224
+ //# sourceMappingURL=ResourcesFilters.d.ts.map
225
+
102
226
  interface LoginButtonProps {
103
227
  readonly icon?: React__default.ReactElement | string;
104
228
  readonly hideText?: boolean;
@@ -221,21 +345,6 @@ declare const processRangeKeyLabel: (key: [number, number]) => string;
221
345
  */
222
346
  declare const computeRowSpan: (numItems: number, numCols?: number) => Array<number>;
223
347
 
224
- type StylingOverride = Record<string, string>;
225
- type StylingMergeMode = 'merge' | 'replace';
226
- type StylingOverrideWithMergeControl = StylingOverride & {
227
- mergeMode?: StylingMergeMode;
228
- };
229
-
230
- interface TitleAndDescription {
231
- title: string;
232
- description?: string;
233
- }
234
- interface ConfigVersionAndName {
235
- configVersion?: string;
236
- name?: string;
237
- }
238
-
239
348
  interface SummaryChart extends Partial<TitleAndDescription> {
240
349
  readonly chartType: string;
241
350
  readonly valueType?: 'count' | 'percent';
@@ -243,6 +352,7 @@ interface SummaryChart extends Partial<TitleAndDescription> {
243
352
  label?: {
244
353
  show?: boolean;
245
354
  };
355
+ showLegendInChart?: boolean;
246
356
  }
247
357
  interface ChartProps {
248
358
  data: HistogramDataArray;
@@ -251,6 +361,7 @@ interface ChartProps {
251
361
  label?: {
252
362
  show?: boolean;
253
363
  };
364
+ showLegendInChart?: boolean;
254
365
  }
255
366
 
256
367
  interface ChartsProps {
@@ -292,44 +403,700 @@ interface FacetChartProps {
292
403
  }
293
404
  declare const EnumFacetChart: React__default.FC<FacetChartProps>;
294
405
 
295
- interface ProtectedContentProps {
296
- children?: ReactNode;
297
- referer?: string;
406
+ interface NumericFromTo {
407
+ readonly from: number;
408
+ readonly to: number;
298
409
  }
299
- declare const ProtectedContent: ({ children, referer }: ProtectedContentProps) => react_jsx_runtime.JSX.Element;
300
- //# sourceMappingURL=ProtectedContent.d.ts.map
301
410
 
302
- interface ColumnLinks {
303
- heading: string;
304
- items: ReadonlyArray<{
305
- text: string;
306
- href?: string;
307
- linkType?: 'gen3ff' | 'portal';
308
- }>;
411
+ type QueryOptions = Record<string, unknown>;
412
+ interface FacetCardProps<T extends FacetCommonHooks> {
413
+ readonly field: string;
414
+ readonly hooks: T;
415
+ readonly valueLabel: string;
416
+ readonly description?: string;
417
+ readonly facetName?: string;
418
+ readonly facetBtnToolTip?: string;
419
+ readonly showSearch?: boolean;
420
+ readonly showFlip?: boolean;
421
+ readonly showSettings?: boolean;
422
+ readonly isFacetView?: boolean;
423
+ readonly showPercent?: boolean;
424
+ readonly startShowingData?: boolean;
425
+ readonly hideIfEmpty?: boolean;
426
+ readonly width?: string;
427
+ readonly dismissCallback?: (arg0: string) => void;
428
+ readonly sharedWithIndices?: Array<IndexAndField>;
429
+ readonly Chart?: React__default.FC<EnumChartProps>;
430
+ readonly queryOptions?: QueryOptions;
431
+ readonly header?: {
432
+ readonly Panel: ComponentType<{
433
+ children: ReactNode;
434
+ }>;
435
+ readonly Label: ComponentType<{
436
+ children: ReactNode;
437
+ }>;
438
+ readonly iconStyle?: string;
439
+ };
309
440
  }
310
- interface BottomLinks {
311
- text: string;
312
- href: string;
441
+ type FacetType = 'enum' | 'exact' | 'range' | 'age' | 'year' | 'years' | 'days' | 'percent' | 'datetime' | 'toggle' | 'multiselect';
442
+ type ClearFacetFunction = (field: string) => void;
443
+ type ClearIndexedFacetFunction = (index: string, field: string) => void;
444
+ type GetTotalCountsFunction = () => number;
445
+ type UpdateFacetFilterFunction = (field: string, filter: Operation) => void;
446
+ type SelectFacetFilterFunction = (field: string) => Operation;
447
+ interface EnumFacetData {
448
+ readonly data?: Record<string, number>;
449
+ readonly isSuccess: boolean;
450
+ readonly enumValues?: Array<string>;
451
+ }
452
+ type ClearFacetHook = () => ClearFacetFunction;
453
+ type UpdateFacetFilterHook = () => UpdateFacetFilterFunction;
454
+ type GetFacetDataFunction = (field: string) => EnumFacetResponse | RangeFacetResponse;
455
+ type GetEnumFacetDataFunction = (field: string) => EnumFacetResponse;
456
+ type GetRangeFacetDataFunction = (field: string) => RangeFacetResponse;
457
+ type GetRangeFacetWithDefinedRangesDataFunction = (field: string, ranges: ReadonlyArray<NumericFromTo>) => RangeFacetResponse;
458
+ type FieldNameToTitleFunction = (field: string, sections?: number) => string;
459
+ type GetFacetCombineModeFunction = (field: string) => CombineMode;
460
+ type SetFacetCombineModeFunction = (field: string, combineMode: CombineMode) => void;
461
+ type EnumOperandValue = ReadonlyArray<string | number>;
462
+ type EnumFacetDataChangedFunction = (data: Array<[string | number, number]>) => void;
463
+ interface FacetCommonHooks {
464
+ useClearFilter: ClearFacetHook;
465
+ /**
466
+ * Hook that takes the API field and returns a human readable field name
467
+ */
468
+ useFieldNameToTitle: () => (field: string, sections?: number) => string;
469
+ useToggleExpandFilter?: () => (field: string, expanded: boolean) => void;
470
+ useFilterExpanded?: (field: string) => boolean;
471
+ usePopulateFacetData?: (facets: FacetDefinition[], queryOptions?: QueryOptions) => void;
472
+ }
473
+ interface FacetDataHooks extends FacetCommonHooks {
474
+ useUpdateFacetFilters: UpdateFacetFilterHook;
475
+ useGetFacetFilters: SelectFacetFilterFunction;
476
+ useGetFacetData: GetFacetDataFunction;
477
+ useTotalCounts?: GetTotalCountsFunction;
478
+ }
479
+ interface EnumFacetDataHooks extends FacetDataHooks {
480
+ useGetCombineMode: GetFacetCombineModeFunction;
481
+ useUpdateCombineMode: SetFacetCombineModeFunction;
482
+ }
483
+ interface RangeFacetHooks extends FacetCommonHooks {
484
+ useUpdateFacetFilters: UpdateFacetFilterHook;
485
+ useGetFacetData: GetRangeFacetDataFunction;
486
+ }
487
+ type AdvancedRangeFacetHooks = FacetCommonHooks & {
488
+ /**
489
+ * Hook that returns range values and counts
490
+ */
491
+ useGetRangeFacetData: GetRangeFacetDataFunction;
492
+ /**
493
+ * Hook that returns the currently selected filters
494
+ */
495
+ useGetFacetFilters: SelectFacetFilterFunction;
496
+ };
497
+ interface CustomFacetHooks {
498
+ /**
499
+ * Hook that returns a list of a user's currently selected custom facets
500
+ */
501
+ readonly useCustomFacets: () => DataFetchingResult<FacetDefinition[]>;
502
+ /**
503
+ * Hook that returns facets available for a user to add to their custom facets, option to return only facets
504
+ * with data
505
+ */
506
+ readonly useAvailableCustomFacets: (usedFacets: readonly string[], onlyFiltersWithValues: boolean, queryOptions?: QueryOptions) => {
507
+ data: Record<string, FacetDefinition>;
508
+ };
509
+ /**
510
+ * Hook to add a custom filter to a user's panel
511
+ */
512
+ readonly useAddCustomFilter: () => (filter: string) => void;
513
+ /**
514
+ * Hook to remove a custom filter to a user's panel
515
+ */
516
+ readonly useRemoveCustomFilter: () => (filter: string) => void;
313
517
  }
314
- /**
315
- * A Text items for the footer
316
- *
317
- */
318
- interface FooterText {
319
- text: string;
320
- className?: string;
518
+ interface FacetResponse {
519
+ readonly data?: Record<string, number>;
520
+ readonly isSuccess: boolean;
521
+ readonly isFetching: boolean;
522
+ readonly error?: unknown;
321
523
  }
322
- interface FooterLinks {
323
- links: Array<FooterLink>;
324
- className?: string;
524
+ interface EnumFacetResponse extends FacetResponse {
525
+ readonly enumFilters?: EnumFilterValue;
526
+ readonly combineMode?: CombineMode;
325
527
  }
326
- interface FooterLink extends FooterText {
327
- href: string;
328
- linkType?: 'gen3ff' | 'portal';
528
+ declare function isEnumFacetResponse(facetResponse: FacetResponse): facetResponse is EnumFacetResponse;
529
+ interface RangeFacetResponse extends FacetResponse {
530
+ readonly rangeFilters?: FromToRange<number>;
329
531
  }
330
- interface FooterLink extends FooterText {
331
- href: string;
332
- linkType?: 'gen3ff' | 'portal';
532
+ type RangeFromOp = '>' | '>=';
533
+ type RangeToOp = '<' | '<=';
534
+ interface FromToRangeValues<T> {
535
+ readonly from?: T;
536
+ readonly to?: T;
537
+ }
538
+ interface FromToRange<T> extends FromToRangeValues<T> {
539
+ readonly fromOp?: RangeFromOp;
540
+ readonly toOp?: RangeToOp;
541
+ }
542
+ interface FieldToName {
543
+ readonly field: string;
544
+ readonly name: string;
545
+ }
546
+ type NumericRangeFacetHooks = FacetDataHooks & {
547
+ /**
548
+ * Hook that returns range values and counts
549
+ */
550
+ useGetRangeFacetData: GetRangeFacetWithDefinedRangesDataFunction;
551
+ /**
552
+ * Hook that returns the currently selected filters
553
+ */
554
+ useGetFacetFilters: SelectFacetFilterFunction;
555
+ };
556
+ type NumericFacetCardProps = FacetCardProps<NumericRangeFacetHooks> & {
557
+ readonly rangeDatatype?: string;
558
+ readonly minimum: number | undefined;
559
+ readonly maximum: number | undefined;
560
+ readonly clearValues?: boolean;
561
+ };
562
+ type FacetSortType = 'value-asc' | 'value-dsc' | 'label-asc' | 'label-desc';
563
+ /**
564
+ * Sort type for enum buckets
565
+ */
566
+ interface SortType {
567
+ type: 'value' | 'alpha';
568
+ direction: 'asc' | 'dsc';
569
+ }
570
+ interface SelectedFields$1 {
571
+ category: string;
572
+ fields: Array<FacetDefinition>;
573
+ selectedFields: Array<string>;
574
+ updateSelectedField: (facet: string) => void;
575
+ }
576
+ interface AllowableRange {
577
+ readonly minimum: number;
578
+ readonly maximum: number;
579
+ }
580
+ interface CohortBuilderCategoryConfig {
581
+ readonly label: string;
582
+ readonly facets: ReadonlyArray<string>;
583
+ readonly queryOptions?: QueryOptions;
584
+ }
585
+ type FacetRequiredHooks = EnumFacetDataHooks | RangeFacetHooks;
586
+ interface EnumChartProps {
587
+ readonly field: string;
588
+ readonly data: Record<string, number>;
589
+ readonly selectedEnums: readonly string[];
590
+ readonly isSuccess: boolean;
591
+ readonly showTitle: boolean;
592
+ readonly maxBins: number;
593
+ readonly height: number;
594
+ readonly valueLabel?: string;
595
+ }
596
+ interface EnumChartProps {
597
+ readonly field: string;
598
+ readonly data: Record<string, number>;
599
+ readonly selectedEnums: readonly string[];
600
+ readonly isSuccess: boolean;
601
+ readonly showTitle: boolean;
602
+ readonly maxBins: number;
603
+ readonly height: number;
604
+ readonly valueLabel?: string;
605
+ }
606
+
607
+ type RendererFunction<T> = (props: T, ...params: any[]) => ReactNode;
608
+ interface RendererFunctionCatalogEntry<T> {
609
+ [key: string]: RendererFunction<T>;
610
+ }
611
+ interface RendererFactoryInterface<T> {
612
+ getRenderer(type: string, functionName: string): RendererFunction<T>;
613
+ registerRenderer(type: string, functionName: string, func: RendererFunction<T>): void;
614
+ registerRendererCatalog(catalog: Record<string, RendererFunctionCatalogEntry<T>>): void;
615
+ }
616
+ declare class RenderFactoryTypedInstance<T> implements RendererFactoryInterface<T> {
617
+ private catalog;
618
+ private defaultRenderer;
619
+ constructor();
620
+ /**
621
+ * Sets the default renderer function for the specified type.
622
+ *
623
+ * @param {RendererFunction<T>} func - The renderer function to set as the default.
624
+ * @return {void}
625
+ */
626
+ setDefaultRenderer(func: RendererFunction<T>): void;
627
+ getRenderer(type: string, functionName: string): RendererFunction<T>;
628
+ /**
629
+ * Check if a renderer exists for a given type and function name
630
+ * @param type
631
+ * @param functionName
632
+ * @returns boolean indicating if the renderer exists
633
+ */
634
+ rendererExists(type: string, functionName: string): boolean;
635
+ /**
636
+ * Registers a renderer function for a given type and function name.
637
+ *
638
+ * @param {string} type - The type of the renderer function.
639
+ * @param {string} functionName - The name of the renderer function.
640
+ * @param {RendererFunction<T>} func - The renderer function to register.
641
+ * @returns {boolean} - True if the registration is successful, false otherwise.
642
+ * @throws {Error} - If any of the input parameters are missing or if the renderer function already exists.
643
+ */
644
+ registerRenderer(type: string, functionName: string, func: RendererFunction<T>): boolean;
645
+ /**
646
+ * Registers a renderer catalog.
647
+ *
648
+ * @param {Record<string, RendererFunctionCatalogEntry<T>>} catalog - The catalog object containing the renderers.
649
+ * @returns {boolean} - True if the catalog was registered successfully, otherwise false.
650
+ */
651
+ registerRendererCatalog(catalog: Record<string, RendererFunctionCatalogEntry<T>>): boolean;
652
+ }
653
+
654
+ interface DetailsPanelComponentProps extends Record<string, unknown> {
655
+ id?: string;
656
+ onClose?: (id?: string) => void;
657
+ row?: MRT_Row<Record<string, any>>;
658
+ }
659
+
660
+ interface TableDetailsPanelProps extends DetailsPanelComponentProps {
661
+ index: string;
662
+ tableConfig: SummaryTable;
663
+ accessibility: Accessibility;
664
+ }
665
+ /**
666
+ * Represents the configuration for the Explorer details.
667
+ *
668
+ * @interface ExplorerDetailsConfig
669
+ * @property {('click' | 'doubleclick' | 'expand')} [mode] - The interaction mode for the Explorer details. Default is 'click'.
670
+ * @property {string} [title] - The title of the Explorer details.
671
+ * @property {string} panel - The panel name for the Explorer details that has been registered with the appropriate factory
672
+ * @property {Record<string, unknown>} [params] - Additional parameters for the Explorer details panel.
673
+ * @property {Record<string, string>} [classNames] - Additional CSS class names for the Explorer modal | drawer.
674
+ * @property {string} [idField] - The field used as an identifier for the Explorer details.
675
+ */
676
+ interface ExplorerDetailsConfig {
677
+ mode?: 'click' | 'doubleclick' | 'expand';
678
+ title?: string;
679
+ panel: string;
680
+ params?: Record<string, unknown>;
681
+ classNames?: Record<string, string>;
682
+ idField?: string;
683
+ }
684
+
685
+ declare const ExplorerTableCellRendererFactory: () => RenderFactoryTypedInstance<CellRendererFunctionProps>;
686
+ declare const registerExplorerDefaultCellRenderers: () => void;
687
+
688
+ type SummaryTableColumnType = 'string' | 'number' | 'date' | 'array' | 'link' | 'boolean' | 'paragraphs';
689
+ interface SummaryTableColumn {
690
+ field: string;
691
+ title: string;
692
+ accessorPath?: string;
693
+ type?: SummaryTableColumnType;
694
+ cellRenderFunction?: string;
695
+ params?: Record<string, any>;
696
+ width?: number;
697
+ sortable?: boolean;
698
+ visible?: boolean;
699
+ }
700
+ interface SummaryTablePageLimit {
701
+ limit?: number;
702
+ label?: string;
703
+ }
704
+ interface TableColumnsAndFields {
705
+ fields: ReadonlyArray<string>;
706
+ columns: Record<string, SummaryTableColumn>;
707
+ }
708
+ interface FieldSubtableClassnames extends Record<string, string> {
709
+ header: string;
710
+ columnLabel: string;
711
+ }
712
+ interface FieldSubtable extends TableColumnsAndFields {
713
+ root: string;
714
+ label: string;
715
+ classNames?: Partial<FieldSubtableClassnames>;
716
+ }
717
+ interface SummaryTable extends TableColumnsAndFields {
718
+ enabled: boolean;
719
+ subTables?: ReadonlyArray<FieldSubtable>;
720
+ pageLimit?: SummaryTablePageLimit;
721
+ detailsConfig?: ExplorerDetailsConfig;
722
+ selectableRows?: boolean;
723
+ }
724
+ /**
725
+ * Represents the props required for a cell renderer function.
726
+ */
727
+ interface CellRendererFunctionProps<T extends MRT_RowData = JSONObject> {
728
+ cell: MRT_Cell<T>;
729
+ renderedCellValue: ReactNode;
730
+ column: MRT_Column<T>;
731
+ row: MRT_Row<T>;
732
+ rowRef?: RefObject<HTMLTableRowElement> | undefined;
733
+ table: MRT_TableInstance<T>;
734
+ params?: Record<string, unknown>;
735
+ }
736
+
737
+ interface DownloadButtonProps {
738
+ enabled?: boolean;
739
+ type?: string;
740
+ title: string;
741
+ actionTitle?: string;
742
+ leftIcon?: string;
743
+ rightIcon?: string;
744
+ tooltipText?: string;
745
+ action?: string;
746
+ actionArgs?: Record<string, string>;
747
+ classNames?: StylingOverride;
748
+ }
749
+ interface DropdownButtonProps extends Omit<DownloadButtonProps, 'action' | 'actionArgs'> {
750
+ dropdownItems: ReadonlyArray<Partial<DownloadButtonProps>>;
751
+ }
752
+
753
+ declare const DropdownButton: ({ title, dropdownItems, }: DropdownButtonProps) => JSX.Element;
754
+ //# sourceMappingURL=DropdownButton.d.ts.map
755
+
756
+ interface TabConfig {
757
+ title: string;
758
+ fields: ReadonlyArray<string>;
759
+ fieldsConfig: Record<string, FacetDefinition>;
760
+ classNames?: StylingOverride;
761
+ defaultSort?: FacetSortType;
762
+ }
763
+ interface TabsConfig {
764
+ readonly tabs: ReadonlyArray<TabConfig>;
765
+ }
766
+ interface ManifestFieldsConfig {
767
+ resourceIndexType: string;
768
+ resourceIdField: string;
769
+ referenceIdFieldInResourceIndex: string;
770
+ referenceIdFieldInDataIndex: string;
771
+ }
772
+ interface DataTypeConfig {
773
+ dataType: string;
774
+ nodeCountTitle?: string;
775
+ accessibleFieldCheckList?: string[];
776
+ accessibleValidationField?: string;
777
+ tierAccessLevel?: 'libre' | 'regular' | 'private';
778
+ tierAccessLimit?: number;
779
+ }
780
+ interface DataTypeConfigWithManifest extends DataTypeConfig {
781
+ manifestMapping?: ManifestFieldsConfig;
782
+ fieldMapping?: ReadonlyArray<FieldToName>;
783
+ }
784
+ interface DownloadButtonConfig extends DownloadButtonProps {
785
+ dropdownId?: string;
786
+ }
787
+ interface DropdownButtonsConfig {
788
+ readonly title: string;
789
+ }
790
+ interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
791
+ dropdownItems: ReadonlyArray<DownloadButtonProps>;
792
+ }
793
+ interface CohortPanelConfiguration {
794
+ guppyConfig: DataTypeConfigWithManifest;
795
+ tabTitle: string;
796
+ charts?: Record<string, SummaryChart>;
797
+ table?: SummaryTable;
798
+ filters?: TabsConfig;
799
+ dropdowns?: Record<string, DropdownsWithButtonsProps>;
800
+ buttons?: ReadonlyArray<DownloadButtonConfig>;
801
+ loginForDownload?: boolean;
802
+ sharedFiltersMap?: SharedFieldMapping;
803
+ }
804
+ interface SharedFieldConfiguration {
805
+ defined?: SharedFieldMapping;
806
+ autoCreate?: boolean;
807
+ }
808
+ declare enum GuppyDataAccessMode {
809
+ REGULAR = "regular",
810
+ LIBRE = "libre",
811
+ PRIVATE = "private"
812
+ }
813
+ interface AccessControlConfiguration {
814
+ dataMode: GuppyDataAccessMode;
815
+ tierLimit?: number;
816
+ showAccessLevelControl?: boolean;
817
+ }
818
+ interface CohortBuilderConfiguration extends Gen3AppConfigData {
819
+ tabsLayout?: 'left' | 'right' | 'center';
820
+ sharedFilters?: SharedFieldConfiguration;
821
+ explorerConfig: Array<CohortPanelConfiguration>;
822
+ accessControl?: AccessControlConfiguration;
823
+ }
824
+ interface CohortBuilderProps extends Omit<CohortBuilderConfiguration, 'sharedFilters'> {
825
+ sharedFiltersMap: SharedFieldMapping | null;
826
+ }
827
+
828
+ declare const getAllFieldsFromFilterConfigs: (filterTabConfigs: ReadonlyArray<TabConfig>) => string[];
829
+ declare const processBucketData: (data?: HistogramDataArray) => Record<string, number>;
830
+ declare const processRangeData: (data?: HistogramDataArray) => Record<string, number>;
831
+ /**
832
+ * Update the facet filter for an enumeration facet
833
+ * @param fieldName - the name of the field
834
+ * @param values - the values to filter on
835
+ * @param updateFacetFilters - the function to update the facet filters
836
+ * @param clearFilters
837
+ */
838
+ declare const updateFacetEnum: (fieldName: string, values: EnumFilterValue, updateFacetFilters: UpdateFacetFilterFunction, clearFilters: ClearFacetFunction, combineMode?: CombineMode) => void;
839
+ declare const classifyFacets: (data: AggregationsData, index: string, fieldMapping?: ReadonlyArray<FieldToName>, facetDefinitionsFromConfig?: Record<string, FacetDefinition>, sharedFieldMapping?: SharedFieldMapping) => Record<string, FacetDefinition>;
840
+ /**
841
+ * Constructs a nested operation object based on the provided field and leaf operand.
842
+ * If the field does not contain a dot '.', it either assigns the field to the leaf operand (if applicable)
843
+ * or returns the leaf operand as is. When the field contains dots, it splits the field into parts,
844
+ * creates a "nested" operation for the root field, and recursively constructs the nested structure
845
+ * for the remaining portion of the field.
846
+ *
847
+ * @param {string} field - The hierarchical field path, with segments separated by dots (e.g., "root.child").
848
+ * @param {Operation} leafOperand - The operation to be nested within the specified path.
849
+ * @returns {Operation} A nested operation object that represents the structured path and operand.
850
+ */
851
+ declare const buildNested: (field: string, leafOperand: Operation) => Operation;
852
+ /**
853
+ * Update Guppy filters: process nested fields and have the final
854
+ * leaf be filtered
855
+ * @param index
856
+ */
857
+ declare const useUpdateFilters: (index: string) => (field: string, filter: Operation) => void;
858
+ declare const useGetFacetFilters: (index: string, field: string) => Operation;
859
+ /**
860
+ * Given an operation, determine if range is open or closed and extract
861
+ * the range values and operands as a NumericRange
862
+ * @param filter - operation to test
863
+ */
864
+ declare const extractRangeValues: <T extends string | number>(filter?: Operation) => FromToRange<T> | undefined;
865
+ declare const convertToStringArray: (inputArray: (string | number)[]) => string[];
866
+ /**
867
+ * This function creates a new operation by combining the provided filter
868
+ * with an 'and' logical operator. The resulting operation contains the filter
869
+ * as its sole operand initially.
870
+ *
871
+ * @param {Operation} filter - The operation to be added as the first operand.
872
+ * @returns {Operation} A new operation object with an 'and' operator and the given filter as its operand.
873
+ */
874
+ declare const addUnion: (filter: Operation) => Operation;
875
+ /**
876
+ * Removes a union operation and returns the sole operand if the union
877
+ * operation contains only one operand. If the union operation has multiple
878
+ * operands or if the input is not a union, returns undefined.
879
+ *
880
+ * @param {Operation} filter - The operation to evaluate and possibly modify, expected to be a union.
881
+ * @returns {Operation | undefined} The sole operand of the union if it contains only one, or undefined otherwise.
882
+ */
883
+ declare const removeUnion: (filter: Operation) => Operation | undefined;
884
+ /**
885
+ * Represents a function that adds an intersection filter operation.
886
+ *
887
+ * @param {Operation} filter - The filter operation to be intersected with.
888
+ * @returns {Operation} An object representing a new operation that combines
889
+ * the provided filter with an "and" logical operator.
890
+ */
891
+ declare const addIntersectionToIncludes: (filter: Includes) => Operation;
892
+ /**
893
+ * Removes the intersection from a filter operation if the intersection contains only one operand.
894
+ *
895
+ * @param {Operation} filter - The filter operation to be evaluated.
896
+ * @returns {Operation|undefined} The single operand of the intersection if the intersection has only one operand, otherwise undefined.
897
+ */
898
+ declare const removeIntersectionFromEnum: (filter: Intersection) => OperatorWithFieldAndArrayOfOperands | undefined;
899
+ /**
900
+ * Maps a facet sort type to a corresponding sort type.
901
+ *
902
+ * @param {FacetSortType} facetSort - The facet sort type represented as a string in the format "type-direction".
903
+ * @returns {SortType} - The mapped sort type object containing type and direction.
904
+ */
905
+ declare const mapFacetSortToSortType: (facetSort: FacetSortType) => SortType;
906
+ declare const compareKeysAscending: (a: string | number, b: string | number) => number;
907
+ declare const compareKeysDescending: (a: string | number, b: string | number) => number;
908
+
909
+ declare const useClearFilters: (index: string) => (field: string) => void;
910
+ /**
911
+ * Selector for the facet values (if any) from the current cohort
912
+ * @param index - index of filter
913
+ * @param field - field name to find filter for
914
+ * @return Value of Filters or undefined
915
+ */
916
+ declare const useExtractEnumFilterValues: (index: string, field: string) => EnumFilterValue;
917
+ declare const useExtractRangeFilterValues: (index: string, field: string) => FromToRange<string | number> | undefined;
918
+ declare const useFieldNameToTitle: () => (field: string, sections?: number) => string;
919
+
920
+ declare const DEFAULT_VISIBLE_ITEMS = 6;
921
+ declare const DEFAULT_MINIMUM = 0;
922
+ declare const DEFAULT_MAXIMUM = 100;
923
+ declare const BAD_DATA_MESSAGE = "No data for this field";
924
+ declare const DAYS_IN_YEAR = 365.25;
925
+
926
+ interface EnumFacetHooks extends FacetDataHooks {
927
+ useGetFacetData: GetEnumFacetDataFunction;
928
+ updateVisibleValues?: EnumFacetDataChangedFunction;
929
+ }
930
+ declare const EnumFacet: ({ field, hooks, valueLabel, description, facetName, showPercent, hideIfEmpty, showSearch, showFlip, showSettings, startShowingData, dismissCallback, width, sharedWithIndices, header, }: FacetCardProps<EnumFacetHooks>) => react_jsx_runtime.JSX.Element;
931
+
932
+ type ExactValueProps$1 = Omit<FacetCardProps<FacetDataHooks>, 'showSearch' | 'showFlip' | 'showPercent' | 'valueLabel'>;
933
+ /**
934
+ * Exact value facet component
935
+ * @param field - field to facet on
936
+ * @param description - description of the facet
937
+ * @param facetName - name of the facet
938
+ * @param dismissCallback - callback function to dismiss the facet
939
+ * @param width - width of the facet
940
+ * @param hooks - hooks to use for the facet
941
+ * @param header - header components
942
+ * @category Facets
943
+ */
944
+ declare const ExactValueFacet: React__default.FC<ExactValueProps$1>;
945
+ //# sourceMappingURL=ExactValueFacet.d.ts.map
946
+
947
+ interface RangeFacetCardProps extends FacetCardProps<RangeFacetHooks> {
948
+ minimum?: number;
949
+ maximum?: number;
950
+ }
951
+ declare const RangeFacet: ({ field, hooks, valueLabel, description, facetName, minimum, maximum, showSearch, showFlip, showSettings, dismissCallback, width, header, }: RangeFacetCardProps) => react_jsx_runtime.JSX.Element;
952
+
953
+ type ExactValueProps = Omit<FacetCardProps<FacetDataHooks>, 'showSearch' | 'showFlip' | 'showPercent' | 'valueLabel'>;
954
+ /**
955
+ * Exact value facet component
956
+ * @param field - field to facet on
957
+ * @param description - description of the facet
958
+ * @param facetName - name of the facet
959
+ * @param dismissCallback - callback function to dismiss the facet
960
+ * @param width - width of the facet
961
+ * @param hooks - hooks to use for the facet
962
+ * @param header - header components
963
+ * @category Facets
964
+ */
965
+ declare const MultiSelectValueFacet: React__default.FC<ExactValueProps>;
966
+ //# sourceMappingURL=MultiSelectValueFacet.d.ts.map
967
+
968
+ type FacetTabProps = {
969
+ readonly activeTab: string | null | undefined;
970
+ readonly setActiveTab: (tab: string | null) => void;
971
+ hooks: Record<FacetType, FacetDataHooks>;
972
+ readonly facetDefinitions: Record<string, FacetDefinition>;
973
+ readonly tabsConfig: Record<string, CohortBuilderCategoryConfig>;
974
+ readonly usedFacets: string[];
975
+ readonly customFacetHooks?: CustomFacetHooks;
976
+ readonly getFacetLabel: (queryOptions?: QueryOptions) => string;
977
+ readonly cardScrollMargin?: number;
978
+ readonly Chart?: React__default.FC<EnumChartProps>;
979
+ readonly useFieldNameToTitle: () => (field: string, sections?: number) => string;
980
+ };
981
+ /**
982
+ * Component for rendering a tabbed facet selection view
983
+ * @param activeTab - which tab is currently active
984
+ * @param setActiveTab - function to set the active tab
985
+ * @param hooks - Hooks for retrieving data, modifying cohort, etc. for the various facet types
986
+ * @param facetDefinitions - Description of facets and their properties
987
+ * @param tabsConfig - Configuration for tab sections, which fields they contain and any additional fields needed to query data for that tab
988
+ * @param customFacetHooks - Hooks for custom facet selection
989
+ * @param getFacetLabel - Callback for determining the data label
990
+ * @param cardScrollMargin - Scroll margin for cards, used for positioning cards on the page when scrolled to
991
+ * @param Chart - Component for rendering a Chart view of the data
992
+ */
993
+ declare const FacetTabs: React__default.FC<FacetTabProps>;
994
+
995
+ interface SelectedFields {
996
+ category: string;
997
+ fields: Array<FacetDefinition>;
998
+ selectedFields: Array<string>;
999
+ updateSelectedField: (facet: string, checked: boolean) => void;
1000
+ }
1001
+ type FacetSelectorCardProps = Omit<FacetCardProps<FacetCommonHooks>, 'field' | 'valueLabel'> & SelectedFields;
1002
+ declare const FacetSelector: React__default.FC<FacetSelectorCardProps>;
1003
+ //# sourceMappingURL=FacetSelector.d.ts.map
1004
+
1005
+ type FacetHeaderProps = Pick<FacetCardProps<FacetCommonHooks>, 'field' | 'description' | 'hooks' | 'facetName' | 'showSearch' | 'showFlip' | 'dismissCallback' | 'isFacetView' | 'header' | 'sharedWithIndices'> & {
1006
+ showSettings?: boolean;
1007
+ showClearSelection?: boolean;
1008
+ toggleFlip?: () => void;
1009
+ toggleSearch?: () => void;
1010
+ toggleSettings?: () => void;
1011
+ };
1012
+ /**
1013
+ * Component for the common controls on the header of different type facet cards
1014
+ * @param field - filter this FacetCard manages
1015
+ * @param description - describes information about the facet
1016
+ * @param hooks - object defining the hooks required by this facet component
1017
+ * @param facetName - name of the Facet in human-readable form
1018
+ * @param showSettings - show filter settings AND/OR
1019
+ * @param showSearch - if the search icon show be displayed
1020
+ * @param showFlip - if the flip icon should be displayed
1021
+ * @param showClearSelection - if the clear selection icon should be displayed
1022
+ * @param isFacetView - if the facet selection view (and not the chart view) is displayed
1023
+ * @param toggleSettings - toggle is setting button is visible
1024
+ * @param toggleFlip - function to switch the facet/chart view
1025
+ * @param toggleSearch - function to switch if the search bart is displayed
1026
+ * @param dismissCallback - if facet can be removed, supply a function which will ensure the "dismiss" control will be visible
1027
+ * @param sharedWithIndices
1028
+ * @param header - object containing the display components to use for the header
1029
+ */
1030
+ declare const FacetControlsHeader: ({ field, description, hooks, facetName, showSettings, showSearch, showFlip, showClearSelection, isFacetView, toggleSettings, toggleFlip, toggleSearch, dismissCallback, sharedWithIndices, header, }: FacetHeaderProps) => react_jsx_runtime.JSX.Element;
1031
+ //# sourceMappingURL=FacetControlsHeader.d.ts.map
1032
+
1033
+ interface FacetSortPanelProps {
1034
+ sortType: SortType;
1035
+ valueLabel: string;
1036
+ setSort: (sort: SortType) => void;
1037
+ field: string;
1038
+ }
1039
+ /**
1040
+ * FacetCards "sort" header supporting sort by A-Z or by Value both ascending and descending
1041
+ * @param sortType - current sort type
1042
+ * @param valueLabel - Value labels, typically "case" "file"
1043
+ * @param setSort - sets the sort type and direction
1044
+ * @param field - specifies the facet table name
1045
+ */
1046
+ declare const FacetSortPanel: React__default.FC<FacetSortPanelProps>;
1047
+ //# sourceMappingURL=FacetSortPanel.d.ts.map
1048
+
1049
+ interface FacetExpanderProps {
1050
+ readonly remainingValues: number;
1051
+ readonly isGroupExpanded: boolean;
1052
+ readonly onShowChanged: (v: boolean) => void;
1053
+ }
1054
+ /**
1055
+ * Component which manages the compact/expanded state of a FacetCard
1056
+ * @param remainingValues - number of remaining values when compact "show 4"
1057
+ * @param isGroupExpanded - true if expanded, false if compact
1058
+ * @param onShowChanged - callback to call when the expand/compact button is clicked
1059
+ */
1060
+ declare const FacetExpander: React__default.FC<FacetExpanderProps>;
1061
+
1062
+ interface ProtectedContentProps {
1063
+ children?: ReactNode;
1064
+ referer?: string;
1065
+ }
1066
+ declare const ProtectedContent: ({ children, referer }: ProtectedContentProps) => react_jsx_runtime.JSX.Element;
1067
+ //# sourceMappingURL=ProtectedContent.d.ts.map
1068
+
1069
+ interface ColumnLinks {
1070
+ heading: string;
1071
+ items: ReadonlyArray<{
1072
+ text: string;
1073
+ href?: string;
1074
+ linkType?: 'gen3ff' | 'portal';
1075
+ }>;
1076
+ }
1077
+ interface BottomLinks {
1078
+ text: string;
1079
+ href: string;
1080
+ }
1081
+ /**
1082
+ * A Text items for the footer
1083
+ *
1084
+ */
1085
+ interface FooterText {
1086
+ text: string;
1087
+ className?: string;
1088
+ }
1089
+ interface FooterLinks {
1090
+ links: Array<FooterLink>;
1091
+ className?: string;
1092
+ }
1093
+ interface FooterLink extends FooterText {
1094
+ href: string;
1095
+ linkType?: 'gen3ff' | 'portal';
1096
+ }
1097
+ interface FooterLink extends FooterText {
1098
+ href: string;
1099
+ linkType?: 'gen3ff' | 'portal';
333
1100
  }
334
1101
  interface FooterLogo {
335
1102
  logo: string;
@@ -365,97 +1132,14 @@ declare const Footer: ({ rightSection, leftSection, classNames, }: FooterProps)
365
1132
  interface ClassProps$1 {
366
1133
  readonly className?: string;
367
1134
  }
368
- interface Gen3LinkProps extends ClassProps$1 {
369
- readonly href: string;
370
- readonly linkType?: string;
371
- readonly text: string;
372
- readonly showExternalIcon?: boolean;
373
- }
374
- declare const Gen3Link: ({ className, href, linkType, text, showExternalIcon, }: PropsWithChildren<Gen3LinkProps>) => react_jsx_runtime.JSX.Element;
375
- //# sourceMappingURL=Gen3Link.d.ts.map
376
-
377
- interface TopIconButtonProps extends NameAndIcon {
378
- tooltip?: string;
379
- clickHandler?: () => void;
380
- ariaLabel?: string;
381
- }
382
- interface TopIconButtonPropsWithLink extends TopIconButtonProps {
383
- href: string;
384
- }
385
-
386
- interface TopBarProps {
387
- readonly items: TopIconButtonPropsWithLink[];
388
- readonly loginButtonVisibility?: LoginButtonVisibility;
389
- readonly externalLoginUrl?: string;
390
- readonly classNames?: StylingOverrideWithMergeControl;
391
- readonly itemClassnames?: StylingOverrideWithMergeControl;
392
- }
393
- declare const TopBar: ({ items, loginButtonVisibility, externalLoginUrl, classNames, itemClassnames, }: TopBarProps) => react_jsx_runtime.JSX.Element;
394
-
395
- type BannerLevelCategories = 'INFO' | 'WARNING' | 'ERROR';
396
- interface BannerProps {
397
- readonly message: string;
398
- readonly level: BannerLevelCategories;
399
- readonly dismissible: boolean;
400
- readonly isExternalLink: boolean;
401
- readonly id: number;
402
- }
403
- declare const Banner: React__default.FC<BannerProps>;
404
-
405
- interface NavigationButtonProps$1 {
406
- icon: string;
407
- tooltip: string;
408
- href: string;
409
- noBasePath?: boolean;
410
- name: string;
411
- iconHeight?: string;
412
- classNames?: StylingOverrideWithMergeControl;
413
- }
414
- interface NavigationBarLogo {
415
- readonly src: string;
416
- readonly title?: string;
417
- readonly description: string;
418
- readonly width?: number;
419
- readonly height?: number;
420
- readonly noBasePath?: boolean;
421
- readonly divider?: boolean;
422
- readonly classNames?: StylingOverrideWithMergeControl;
423
- }
424
- interface NavigationProps {
425
- readonly logo?: NavigationBarLogo;
426
- readonly items?: NavigationButtonProps$1[];
427
- readonly title?: string;
428
- readonly loginIcon?: ReactElement | string;
429
- readonly classNames?: StylingOverrideWithMergeControl;
430
- }
431
- interface HeaderData {
432
- title: string;
433
- content: string;
434
- key: string;
435
- }
436
- /**
437
- * Sitewide props that can be passed to Pages
438
- */
439
- interface CommonsData {
440
- contactEmail?: string;
441
- }
442
- interface HeaderProps {
443
- top: TopBarProps;
444
- navigation: NavigationProps;
445
- banners?: Array<BannerProps>;
446
- type?: 'horizontal' | 'vertical' | 'original';
447
- readonly siteProps?: CommonsData;
448
- }
449
- interface MainContentProps {
450
- fixed: boolean;
451
- }
452
- interface NameAndIcon {
453
- readonly name?: string;
454
- readonly iconSize?: string;
455
- readonly rightIcon?: string;
456
- readonly leftIcon?: string;
457
- readonly classNames?: StylingOverrideWithMergeControl;
1135
+ interface Gen3LinkProps extends ClassProps$1 {
1136
+ readonly href: string;
1137
+ readonly linkType?: string;
1138
+ readonly text: string;
1139
+ readonly showExternalIcon?: boolean;
458
1140
  }
1141
+ declare const Gen3Link: ({ className, href, linkType, text, showExternalIcon, }: PropsWithChildren<Gen3LinkProps>) => react_jsx_runtime.JSX.Element;
1142
+ //# sourceMappingURL=Gen3Link.d.ts.map
459
1143
 
460
1144
  /**
461
1145
  * Header component.
@@ -563,6 +1247,13 @@ declare const convertMinutesToMilliseconds: (minutes: number) => number;
563
1247
  declare const convertSecondsToMilliseconds: (seconds: number) => number;
564
1248
  declare const MinutesToMilliseconds: (minutes: number) => number;
565
1249
 
1250
+ interface ResourceEntry {
1251
+ value: string;
1252
+ label: string;
1253
+ children?: Array<ResourceEntry>;
1254
+ }
1255
+ declare const convertPathsToTree: (paths: Array<string>) => ResourceEntry[];
1256
+
566
1257
  interface UserAuthMapping {
567
1258
  service: string;
568
1259
  method: string;
@@ -760,373 +1451,146 @@ interface ChartsSection {
760
1451
  enabled: boolean;
761
1452
  showSwitch?: boolean;
762
1453
  };
763
- charts?: Record<string, SummaryChartWithField>;
764
- }
765
- interface DiscoveryIndexConfig {
766
- guidType?: string;
767
- studyField?: string;
768
- label?: string;
769
- features: {
770
- advSearchFilters?: AdvancedSearchFilters;
771
- aiSearch?: boolean;
772
- pageTitle: DiscoveryPageTitle;
773
- exportFromDiscovery?: ExportFromDiscoveryActions;
774
- search?: SearchConfig;
775
- authorization: DataAuthorization;
776
- dataLoader?: DataLoader;
777
- chartsSection?: ChartsSection;
778
- };
779
- aggregations: SummaryStatisticsConfig[];
780
- tags: TagsConfig;
781
- tableConfig: DiscoveryTableConfig;
782
- studyColumns: StudyColumn[];
783
- studyPreviewField?: StudyDetailsField;
784
- simpleDetailsView?: StudyPageConfig;
785
- detailView: StudyDetailView;
786
- minimalFieldMapping: MinimalFieldMapping;
787
- }
788
- interface DiscoveryConfig {
789
- metadataConfig: Array<DiscoveryIndexConfig>;
790
- }
791
-
792
- interface DiscoveryIndexPanelProps {
793
- discoveryConfig: DiscoveryIndexConfig;
794
- indexSelector: ReactNode | null;
795
- }
796
- /**
797
- * DiscoveryIndexPanel is a React functional component that renders a discovery panel interface.
798
- * It includes features such as search, sorting, filtering, charts, export functionality, and a discovery table.
799
- * The component uses hooks for handling state, API data loading, and interface interactions.
800
- *
801
- * @param {Object} props - The properties object passed to the component.
802
- * @param {Object} props.discoveryConfig - Configuration object for setting up the discovery panel.
803
- * @param {Object} props.discoveryConfig.features - Defines enabled features (e.g., search, charts, export).
804
- * @param {Object} props.discoveryConfig.minimalFieldMapping - Field mapping configuration, such as `uid`.
805
- * @param {JSX.Element} props.indexSelector - React component for selecting an index in the discovery panel.
806
- *
807
- * @return {JSX.Element} A fully featured discovery interface including search functionality, a table, charts, filters, and more.
808
- */
809
- declare const DiscoveryIndexPanel: ({ discoveryConfig, indexSelector, }: DiscoveryIndexPanelProps) => react_jsx_runtime.JSX.Element;
810
-
811
- declare const TagCloud: () => react_jsx_runtime.JSX.Element;
812
- //# sourceMappingURL=TagCloud.d.ts.map
813
-
814
- interface CellRenderFunctionProps<T = any, C extends MRT_RowData = JSONObject> {
815
- value: T;
816
- cell?: MRT_Cell<C>;
817
- row?: MRT_Row<C>;
818
- }
819
- /**
820
- * A Cell Renderer Function is a function that takes a value and returns a ReactElement
821
- * This is used to create a custom cell render a cell in the Discovery Table. The Discovery config
822
- * is available from the DiscoveryContext.
823
- * @param props: value and optional cell object
824
- */
825
- type CellRendererFunction<T = JSONObject> = (props: CellRenderFunctionProps, params?: T) => ReactElement;
826
-
827
- declare const registerDiscoveryDefaultCellRenderers: () => void;
828
-
829
- interface RowRenderFunctionParams<TData extends Record<string, any> = Record<string, any>> {
830
- row: MRT_Row<TData>;
831
- }
832
-
833
- interface CellRendererFunctionCatalogEntry {
834
- [key: string]: CellRendererFunction;
835
- }
836
- declare class DiscoveryCellRendererFactory {
837
- private static instance;
838
- private cellRendererCatalog;
839
- private constructor();
840
- static getInstance(): DiscoveryCellRendererFactory;
841
- static getCellRenderer(type: string, functionName: string): CellRendererFunction;
842
- static registerCellRenderer(type: string, functionName: string, func: CellRendererFunction): void;
843
- static registerCellRendererCatalog(catalog: Record<string, CellRendererFunctionCatalogEntry>): void;
844
- }
845
-
846
- interface ActionBarProps extends ExportFromDiscoveryActions {
847
- selectedResources: any[];
848
- }
849
- declare const ActionBar: React__default.FC<ActionBarProps>;
850
- //# sourceMappingURL=ActionBar.d.ts.map
851
-
852
- interface AiSearchProps {
853
- placeholder?: string;
854
- uidForStorage?: string;
855
- }
856
- /**
857
- * AiSearch is an ai chatbot presenting as a searchbar
858
- * @param uidForStorage - optional id used to store search results Defaults to 'aiSearch'
859
- * @param placeholder - optional Defaults to 'e.g. Is there any data with subjects diagnosed with lung disease?'
860
- */
861
- declare const AiSearch: ({ placeholder, uidForStorage, }: AiSearchProps) => react_jsx_runtime.JSX.Element;
862
- //# sourceMappingURL=AiSearch.d.ts.map
863
-
864
- type RowRendererFunction = (props: RowRenderFunctionParams, studyPreviewConfig?: StudyDetailsField) => ReactElement;
865
- interface RowRendererFunctionCatalogEntry {
866
- [key: string]: RowRendererFunction;
867
- }
868
- declare class DiscoveryRowRendererFactory {
869
- private static instance;
870
- private RowRendererCatalog;
871
- private constructor();
872
- static getInstance(): DiscoveryRowRendererFactory;
873
- static getRowRenderer(type: string, functionName: string): RowRendererFunction;
874
- static registerRowRenderer(type: string, functionName: string, func: RowRendererFunction): void;
875
- static registerRowRendererCatalog(catalog: Record<string, RowRendererFunctionCatalogEntry>): void;
876
- }
877
- declare const registerDiscoveryDefaultStudyPreviewRenderers: () => void;
878
-
879
- interface DiscoveryProviderValue {
880
- discoveryConfig: DiscoveryIndexConfig;
881
- }
882
- declare const useDiscoveryContext: () => DiscoveryProviderValue;
883
- declare const DiscoveryProvider: ({ children, discoveryIndexConfig, }: {
884
- children: React__default.ReactNode;
885
- discoveryIndexConfig: DiscoveryIndexConfig;
886
- }) => react_jsx_runtime.JSX.Element;
887
- //# sourceMappingURL=DiscoveryProvider.d.ts.map
888
-
889
- declare const registerDefaultDiscoveryDataLoaders: () => void;
890
-
891
- interface StudyTabGroupProps extends StudyTabGroup {
892
- readonly data: JSONObject;
893
- }
894
- declare const StudyGroup: ({ data, header, fields }: StudyTabGroupProps) => react_jsx_runtime.JSX.Element | null;
895
- //# sourceMappingURL=StudyGroup.d.ts.map
896
-
897
- interface TagInfo {
898
- color: string;
899
- display: boolean;
900
- label: string;
901
- }
902
- declare const getTagInfo: (tagData: TagData, tagsConfig?: TagsConfig) => TagInfo;
903
-
904
- type RendererFunction<T> = (props: T, ...params: any[]) => ReactNode;
905
- interface RendererFunctionCatalogEntry<T> {
906
- [key: string]: RendererFunction<T>;
907
- }
908
- interface RendererFactoryInterface<T> {
909
- getRenderer(type: string, functionName: string): RendererFunction<T>;
910
- registerRenderer(type: string, functionName: string, func: RendererFunction<T>): void;
911
- registerRendererCatalog(catalog: Record<string, RendererFunctionCatalogEntry<T>>): void;
912
- }
913
- declare class RenderFactoryTypedInstance<T> implements RendererFactoryInterface<T> {
914
- private catalog;
915
- private defaultRenderer;
916
- constructor();
917
- /**
918
- * Sets the default renderer function for the specified type.
919
- *
920
- * @param {RendererFunction<T>} func - The renderer function to set as the default.
921
- * @return {void}
922
- */
923
- setDefaultRenderer(func: RendererFunction<T>): void;
924
- getRenderer(type: string, functionName: string): RendererFunction<T>;
925
- /**
926
- * Check if a renderer exists for a given type and function name
927
- * @param type
928
- * @param functionName
929
- * @returns boolean indicating if the renderer exists
930
- */
931
- rendererExists(type: string, functionName: string): boolean;
932
- /**
933
- * Registers a renderer function for a given type and function name.
934
- *
935
- * @param {string} type - The type of the renderer function.
936
- * @param {string} functionName - The name of the renderer function.
937
- * @param {RendererFunction<T>} func - The renderer function to register.
938
- * @returns {boolean} - True if the registration is successful, false otherwise.
939
- * @throws {Error} - If any of the input parameters are missing or if the renderer function already exists.
940
- */
941
- registerRenderer(type: string, functionName: string, func: RendererFunction<T>): boolean;
942
- /**
943
- * Registers a renderer catalog.
944
- *
945
- * @param {Record<string, RendererFunctionCatalogEntry<T>>} catalog - The catalog object containing the renderers.
946
- * @returns {boolean} - True if the catalog was registered successfully, otherwise false.
947
- */
948
- registerRendererCatalog(catalog: Record<string, RendererFunctionCatalogEntry<T>>): boolean;
949
- }
950
-
951
- interface DetailsPanelComponentProps extends Record<string, unknown> {
952
- id?: string;
953
- onClose?: (id?: string) => void;
954
- row?: MRT_Row<Record<string, any>>;
955
- }
956
-
957
- interface TableDetailsPanelProps extends DetailsPanelComponentProps {
958
- index: string;
959
- tableConfig: SummaryTable;
960
- accessibility: Accessibility;
961
- }
962
- /**
963
- * Represents the configuration for the Explorer details.
964
- *
965
- * @interface ExplorerDetailsConfig
966
- * @property {('click' | 'doubleclick' | 'expand')} [mode] - The interaction mode for the Explorer details. Default is 'click'.
967
- * @property {string} [title] - The title of the Explorer details.
968
- * @property {string} panel - The panel name for the Explorer details that has been registered with the appropriate factory
969
- * @property {Record<string, unknown>} [params] - Additional parameters for the Explorer details panel.
970
- * @property {Record<string, string>} [classNames] - Additional CSS class names for the Explorer modal | drawer.
971
- * @property {string} [idField] - The field used as an identifier for the Explorer details.
972
- */
973
- interface ExplorerDetailsConfig {
974
- mode?: 'click' | 'doubleclick' | 'expand';
975
- title?: string;
976
- panel: string;
977
- params?: Record<string, unknown>;
978
- classNames?: Record<string, string>;
979
- idField?: string;
980
- }
981
-
982
- declare const ExplorerTableCellRendererFactory: () => RenderFactoryTypedInstance<CellRendererFunctionProps>;
983
- declare const registerExplorerDefaultCellRenderers: () => void;
984
-
985
- type SummaryTableColumnType = 'string' | 'number' | 'date' | 'array' | 'link' | 'boolean' | 'paragraphs';
986
- interface SummaryTableColumn {
987
- field: string;
988
- title: string;
989
- accessorPath?: string;
990
- type?: SummaryTableColumnType;
991
- cellRenderFunction?: string;
992
- params?: Record<string, any>;
993
- width?: number;
994
- sortable?: boolean;
995
- visible?: boolean;
996
- }
997
- interface SummaryTablePageLimit {
998
- limit?: number;
999
- label?: string;
1000
- }
1001
- interface TableColumnsAndFields {
1002
- fields: ReadonlyArray<string>;
1003
- columns: Record<string, SummaryTableColumn>;
1454
+ charts?: Record<string, SummaryChartWithField>;
1004
1455
  }
1005
- interface FieldSubtableClassnames extends Record<string, string> {
1006
- header: string;
1007
- columnLabel: string;
1456
+ interface DiscoveryIndexConfig {
1457
+ guidType?: string;
1458
+ studyField?: string;
1459
+ label?: string;
1460
+ features: {
1461
+ advSearchFilters?: AdvancedSearchFilters;
1462
+ aiSearch?: boolean;
1463
+ pageTitle: DiscoveryPageTitle;
1464
+ exportFromDiscovery?: ExportFromDiscoveryActions;
1465
+ search?: SearchConfig;
1466
+ authorization: DataAuthorization;
1467
+ dataLoader?: DataLoader;
1468
+ chartsSection?: ChartsSection;
1469
+ };
1470
+ aggregations: SummaryStatisticsConfig[];
1471
+ tags: TagsConfig;
1472
+ tableConfig: DiscoveryTableConfig;
1473
+ studyColumns: StudyColumn[];
1474
+ studyPreviewField?: StudyDetailsField;
1475
+ simpleDetailsView?: StudyPageConfig;
1476
+ detailView: StudyDetailView;
1477
+ minimalFieldMapping: MinimalFieldMapping;
1008
1478
  }
1009
- interface FieldSubtable extends TableColumnsAndFields {
1010
- root: string;
1011
- label: string;
1012
- classNames?: Partial<FieldSubtableClassnames>;
1479
+ interface DiscoveryConfig extends Gen3AppConfigData {
1480
+ metadataConfig: Array<DiscoveryIndexConfig>;
1013
1481
  }
1014
- interface SummaryTable extends TableColumnsAndFields {
1015
- enabled: boolean;
1016
- subTables?: ReadonlyArray<FieldSubtable>;
1017
- pageLimit?: SummaryTablePageLimit;
1018
- detailsConfig?: ExplorerDetailsConfig;
1019
- selectableRows?: boolean;
1482
+
1483
+ interface DiscoveryIndexPanelProps {
1484
+ discoveryConfig: DiscoveryIndexConfig;
1485
+ indexSelector: ReactNode | null;
1020
1486
  }
1021
1487
  /**
1022
- * Represents the props required for a cell renderer function.
1488
+ * DiscoveryIndexPanel is a React functional component that renders a discovery panel interface.
1489
+ * It includes features such as search, sorting, filtering, charts, export functionality, and a discovery table.
1490
+ * The component uses hooks for handling state, API data loading, and interface interactions.
1491
+ *
1492
+ * @param {Object} props - The properties object passed to the component.
1493
+ * @param {Object} props.discoveryConfig - Configuration object for setting up the discovery panel.
1494
+ * @param {Object} props.discoveryConfig.features - Defines enabled features (e.g., search, charts, export).
1495
+ * @param {Object} props.discoveryConfig.minimalFieldMapping - Field mapping configuration, such as `uid`.
1496
+ * @param {JSX.Element} props.indexSelector - React component for selecting an index in the discovery panel.
1497
+ *
1498
+ * @return {JSX.Element} A fully featured discovery interface including search functionality, a table, charts, filters, and more.
1023
1499
  */
1024
- interface CellRendererFunctionProps<T extends MRT_RowData = JSONObject> {
1025
- cell: MRT_Cell<T>;
1026
- renderedCellValue: ReactNode;
1027
- column: MRT_Column<T>;
1028
- row: MRT_Row<T>;
1029
- rowRef?: RefObject<HTMLTableRowElement> | undefined;
1030
- table: MRT_TableInstance<T>;
1031
- params?: Record<string, unknown>;
1032
- }
1500
+ declare const DiscoveryIndexPanel: ({ discoveryConfig, indexSelector, }: DiscoveryIndexPanelProps) => react_jsx_runtime.JSX.Element;
1033
1501
 
1034
- interface FieldToName {
1035
- readonly field: string;
1036
- readonly name: string;
1037
- }
1038
- type FacetSortType = 'value-asc' | 'value-dsc' | 'label-asc' | 'label-desc';
1502
+ declare const TagCloud: () => react_jsx_runtime.JSX.Element;
1503
+ //# sourceMappingURL=TagCloud.d.ts.map
1039
1504
 
1040
- interface DownloadButtonProps {
1041
- enabled?: boolean;
1042
- type?: string;
1043
- title: string;
1044
- actionTitle?: string;
1045
- leftIcon?: string;
1046
- rightIcon?: string;
1047
- tooltipText?: string;
1048
- action?: string;
1049
- actionArgs?: Record<string, string>;
1050
- classNames?: StylingOverride;
1051
- }
1052
- interface DropdownButtonProps extends Omit<DownloadButtonProps, 'action' | 'actionArgs'> {
1053
- dropdownItems: ReadonlyArray<Partial<DownloadButtonProps>>;
1505
+ interface CellRenderFunctionProps<T = any, C extends MRT_RowData = JSONObject> {
1506
+ value: T;
1507
+ cell?: MRT_Cell<C>;
1508
+ row?: MRT_Row<C>;
1054
1509
  }
1510
+ /**
1511
+ * A Cell Renderer Function is a function that takes a value and returns a ReactElement
1512
+ * This is used to create a custom cell render a cell in the Discovery Table. The Discovery config
1513
+ * is available from the DiscoveryContext.
1514
+ * @param props: value and optional cell object
1515
+ */
1516
+ type CellRendererFunction<T = JSONObject> = (props: CellRenderFunctionProps, params?: T) => ReactElement;
1055
1517
 
1056
- declare const DropdownButton: ({ title, dropdownItems, }: DropdownButtonProps) => JSX.Element;
1057
- //# sourceMappingURL=DropdownButton.d.ts.map
1518
+ declare const registerDiscoveryDefaultCellRenderers: () => void;
1058
1519
 
1059
- interface TabConfig {
1060
- title: string;
1061
- fields: ReadonlyArray<string>;
1062
- fieldsConfig: Record<string, FacetDefinition>;
1063
- classNames?: StylingOverride;
1064
- defaultSort?: FacetSortType;
1065
- }
1066
- interface TabsConfig {
1067
- readonly tabs: ReadonlyArray<TabConfig>;
1068
- }
1069
- interface ManifestFieldsConfig {
1070
- resourceIndexType: string;
1071
- resourceIdField: string;
1072
- referenceIdFieldInResourceIndex: string;
1073
- referenceIdFieldInDataIndex: string;
1074
- }
1075
- interface DataTypeConfig {
1076
- dataType: string;
1077
- nodeCountTitle?: string;
1078
- accessibleFieldCheckList?: string[];
1079
- accessibleValidationField?: string;
1080
- tierAccessLevel?: 'libre' | 'regular' | 'private';
1081
- tierAccessLimit?: number;
1082
- }
1083
- interface DataTypeConfigWithManifest extends DataTypeConfig {
1084
- manifestMapping?: ManifestFieldsConfig;
1085
- fieldMapping?: ReadonlyArray<FieldToName>;
1520
+ interface RowRenderFunctionParams<TData extends Record<string, any> = Record<string, any>> {
1521
+ row: MRT_Row<TData>;
1086
1522
  }
1087
- interface DownloadButtonConfig extends DownloadButtonProps {
1088
- dropdownId?: string;
1523
+
1524
+ interface CellRendererFunctionCatalogEntry {
1525
+ [key: string]: CellRendererFunction;
1089
1526
  }
1090
- interface DropdownButtonsConfig {
1091
- readonly title: string;
1527
+ declare class DiscoveryCellRendererFactory {
1528
+ private static instance;
1529
+ private cellRendererCatalog;
1530
+ private constructor();
1531
+ static getInstance(): DiscoveryCellRendererFactory;
1532
+ static getCellRenderer(type: string, functionName: string): CellRendererFunction;
1533
+ static registerCellRenderer(type: string, functionName: string, func: CellRendererFunction): void;
1534
+ static registerCellRendererCatalog(catalog: Record<string, CellRendererFunctionCatalogEntry>): void;
1092
1535
  }
1093
- interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
1094
- dropdownItems: ReadonlyArray<DownloadButtonProps>;
1536
+
1537
+ interface ActionBarProps extends ExportFromDiscoveryActions {
1538
+ selectedResources: any[];
1095
1539
  }
1096
- interface CohortPanelConfiguration {
1097
- guppyConfig: DataTypeConfigWithManifest;
1098
- tabTitle: string;
1099
- charts?: Record<string, SummaryChart>;
1100
- table?: SummaryTable;
1101
- filters?: TabsConfig;
1102
- dropdowns?: Record<string, DropdownsWithButtonsProps>;
1103
- buttons?: ReadonlyArray<DownloadButtonConfig>;
1104
- loginForDownload?: boolean;
1105
- sharedFiltersMap?: SharedFieldMapping;
1540
+ declare const ActionBar: React__default.FC<ActionBarProps>;
1541
+ //# sourceMappingURL=ActionBar.d.ts.map
1542
+
1543
+ interface AiSearchProps {
1544
+ placeholder?: string;
1545
+ uidForStorage?: string;
1106
1546
  }
1107
- interface SharedFieldConfiguration {
1108
- defined?: SharedFieldMapping;
1109
- autoCreate?: boolean;
1547
+ /**
1548
+ * AiSearch is an ai chatbot presenting as a searchbar
1549
+ * @param uidForStorage - optional id used to store search results Defaults to 'aiSearch'
1550
+ * @param placeholder - optional Defaults to 'e.g. Is there any data with subjects diagnosed with lung disease?'
1551
+ */
1552
+ declare const AiSearch: ({ placeholder, uidForStorage, }: AiSearchProps) => react_jsx_runtime.JSX.Element;
1553
+ //# sourceMappingURL=AiSearch.d.ts.map
1554
+
1555
+ type RowRendererFunction = (props: RowRenderFunctionParams, studyPreviewConfig?: StudyDetailsField) => ReactElement;
1556
+ interface RowRendererFunctionCatalogEntry {
1557
+ [key: string]: RowRendererFunction;
1110
1558
  }
1111
- declare enum GuppyDataAccessMode {
1112
- REGULAR = "regular",
1113
- LIBRE = "libre",
1114
- PRIVATE = "private"
1559
+ declare class DiscoveryRowRendererFactory {
1560
+ private static instance;
1561
+ private RowRendererCatalog;
1562
+ private constructor();
1563
+ static getInstance(): DiscoveryRowRendererFactory;
1564
+ static getRowRenderer(type: string, functionName: string): RowRendererFunction;
1565
+ static registerRowRenderer(type: string, functionName: string, func: RowRendererFunction): void;
1566
+ static registerRowRendererCatalog(catalog: Record<string, RowRendererFunctionCatalogEntry>): void;
1115
1567
  }
1116
- interface AccessControlConfiguration {
1117
- dataMode: GuppyDataAccessMode;
1118
- tierLimit?: number;
1119
- showAccessLevelControl?: boolean;
1568
+ declare const registerDiscoveryDefaultStudyPreviewRenderers: () => void;
1569
+
1570
+ interface DiscoveryProviderValue {
1571
+ discoveryConfig: DiscoveryIndexConfig;
1120
1572
  }
1121
- interface CohortBuilderConfiguration extends ConfigVersionAndName {
1122
- tabsLayout?: 'left' | 'right' | 'center';
1123
- sharedFilters?: SharedFieldConfiguration;
1124
- explorerConfig: Array<CohortPanelConfiguration>;
1125
- accessControl?: AccessControlConfiguration;
1573
+ declare const useDiscoveryContext: () => DiscoveryProviderValue;
1574
+ declare const DiscoveryProvider: ({ children, discoveryIndexConfig, }: {
1575
+ children: React__default.ReactNode;
1576
+ discoveryIndexConfig: DiscoveryIndexConfig;
1577
+ }) => react_jsx_runtime.JSX.Element;
1578
+ //# sourceMappingURL=DiscoveryProvider.d.ts.map
1579
+
1580
+ declare const registerDefaultDiscoveryDataLoaders: () => void;
1581
+
1582
+ interface StudyTabGroupProps extends StudyTabGroup {
1583
+ readonly data: JSONObject;
1126
1584
  }
1127
- interface CohortBuilderProps extends Omit<CohortBuilderConfiguration, 'sharedFilters'> {
1128
- sharedFiltersMap: SharedFieldMapping | null;
1585
+ declare const StudyGroup: ({ data, header, fields }: StudyTabGroupProps) => react_jsx_runtime.JSX.Element | null;
1586
+ //# sourceMappingURL=StudyGroup.d.ts.map
1587
+
1588
+ interface TagInfo {
1589
+ color: string;
1590
+ display: boolean;
1591
+ label: string;
1129
1592
  }
1593
+ declare const getTagInfo: (tagData: TagData, tagsConfig?: TagsConfig) => TagInfo;
1130
1594
 
1131
1595
  declare const CohortBuilder: ({ explorerConfig, sharedFiltersMap, tabsLayout, }: CohortBuilderProps) => react_jsx_runtime.JSX.Element;
1132
1596
 
@@ -1168,6 +1632,20 @@ interface CohortManagerProps {
1168
1632
  declare const CohortManager: ({ index }: CohortManagerProps) => react_jsx_runtime.JSX.Element;
1169
1633
  //# sourceMappingURL=CohortManager.d.ts.map
1170
1634
 
1635
+ interface CohortBuilderTabCategoryConfig {
1636
+ readonly label: string;
1637
+ readonly queryOptions: {
1638
+ readonly indexType: string;
1639
+ };
1640
+ readonly facets: ReadonlyArray<string>;
1641
+ }
1642
+ type TabbedCohortBuilderFacetConfig = Record<string, CohortBuilderTabCategoryConfig>;
1643
+ interface TabbedCohortBuilderConfiguration {
1644
+ tabsConfiguration: TabbedCohortBuilderFacetConfig;
1645
+ index: string;
1646
+ }
1647
+ declare const TabbedCohortBuilder: ({ index, tabsConfiguration, }: TabbedCohortBuilderConfiguration) => react_jsx_runtime.JSX.Element;
1648
+
1171
1649
  interface GqlQueryEndpointProps {
1172
1650
  graphQLEndpoint?: string;
1173
1651
  }
@@ -1195,7 +1673,7 @@ interface LaunchStepIndicatorConfiguration {
1195
1673
  description?: string;
1196
1674
  }>;
1197
1675
  }
1198
- interface WorkspaceConfig {
1676
+ interface WorkspaceConfig extends Gen3AppConfigData {
1199
1677
  title?: string;
1200
1678
  workspaceInfo?: Record<string, WorkspaceAdditionalInfo>;
1201
1679
  launchStepIndicatorConfig: LaunchStepIndicatorConfiguration;
@@ -1222,7 +1700,7 @@ interface AnalysisToolConfiguration {
1222
1700
  cardType?: 'regular' | 'compact';
1223
1701
  btnText?: string;
1224
1702
  }
1225
- interface AnalysisCenterConfiguration {
1703
+ interface AnalysisCenterConfiguration extends Gen3AppConfigData {
1226
1704
  tools: Array<AnalysisToolConfiguration>;
1227
1705
  showFilterAndSort?: boolean;
1228
1706
  }
@@ -1266,30 +1744,6 @@ declare const AnalysisCenterWithSections: React__default.FC<AnalysisCenterWithSe
1266
1744
  */
1267
1745
  declare const getNavPageLayoutPropsFromConfig: () => Promise<NavPageLayoutProps>;
1268
1746
 
1269
- interface ContentSource$1 {
1270
- get<T extends Record<string, undefined>>(filepath: string): Promise<T>;
1271
- getAll<T extends Record<string, unknown>>(filepath: string, filter: string): Promise<Array<T>>;
1272
- }
1273
- interface Gen3Icon {
1274
- body: string;
1275
- width?: number;
1276
- height?: number;
1277
- top?: number;
1278
- left?: number;
1279
- }
1280
- interface RegisteredIcons {
1281
- prefix: string;
1282
- lastModified: number;
1283
- icons: Record<string, Gen3Icon>;
1284
- width: number;
1285
- height: number;
1286
- }
1287
- interface Fonts {
1288
- heading: string | string[];
1289
- content: string | string[];
1290
- fontFamily: string;
1291
- }
1292
-
1293
1747
  /**
1294
1748
  * The Content management "datastore" which is an abstracted interface to
1295
1749
  * some persistent storage of content needed for Gen3's content management system
@@ -1354,11 +1808,14 @@ declare const registerCohortDiscoveryApp: () => React$1.ReactNode;
1354
1808
 
1355
1809
  declare const registerCohortSimilarityApp: () => React$1.ReactNode;
1356
1810
 
1357
- interface DictionaryConfig extends Record<string, string | number | boolean | undefined> {
1811
+ interface DictionaryConfig extends Record<string, string | number | boolean | undefined | HeaderData> {
1358
1812
  showGraph: boolean;
1359
1813
  showDownloads: boolean;
1360
1814
  historyStorageId: string;
1361
1815
  maxHistoryItems: number;
1816
+ version?: string;
1817
+ description?: string;
1818
+ headerMetadata?: HeaderData;
1362
1819
  }
1363
1820
  interface DictionaryProps {
1364
1821
  config: DictionaryConfig;
@@ -1439,7 +1896,7 @@ declare const DiscoveryPage: ({ headerProps, footerProps, discoveryConfig, }: Di
1439
1896
 
1440
1897
  declare const DiscoveryPageGetServerSideProps: GetServerSideProps<NavPageLayoutProps>;
1441
1898
 
1442
- interface QueryProps {
1899
+ interface QueryProps extends Gen3AppConfigData {
1443
1900
  graphQLEndpoint?: string;
1444
1901
  }
1445
1902
  interface QueryPageLayoutProps extends NavPageLayoutProps {
@@ -1464,7 +1921,7 @@ interface leftRightProps {
1464
1921
  readonly alt: string;
1465
1922
  };
1466
1923
  }
1467
- interface LandingPageProps {
1924
+ interface LandingPageProps extends Gen3AppConfigData {
1468
1925
  readonly topTitle?: string;
1469
1926
  readonly body?: ReadonlyArray<{
1470
1927
  readonly title?: {
@@ -1503,7 +1960,7 @@ declare const LandingPageGetServerSideProps: GetServerSideProps;
1503
1960
 
1504
1961
  type ExplorerPageProps = NavPageLayoutProps & CohortBuilderProps;
1505
1962
 
1506
- declare const ExplorerPage: ({ headerProps, footerProps, explorerConfig, tabsLayout, sharedFiltersMap, }: ExplorerPageProps) => JSX.Element;
1963
+ declare const ExplorerPage: ({ headerProps, footerProps, explorerConfig, headerMetadata, tabsLayout, sharedFiltersMap, }: ExplorerPageProps) => JSX.Element;
1507
1964
  //# sourceMappingURL=Explorer.d.ts.map
1508
1965
 
1509
1966
  declare const ExplorerPageGetServerSideProps: GetServerSideProps<NavPageLayoutProps | CohortBuilderProps>;
@@ -1749,7 +2206,7 @@ interface CrosswalkMapping {
1749
2206
  source: CrosswalkName;
1750
2207
  external: Array<CrosswalkInfo>;
1751
2208
  }
1752
- interface CrosswalkConfig {
2209
+ interface CrosswalkConfig extends Gen3AppConfigData {
1753
2210
  showSubmittedIdInTable?: boolean;
1754
2211
  mapping: CrosswalkMapping;
1755
2212
  idEntryPlaceholderText?: string;
@@ -1764,6 +2221,15 @@ declare const CrosswalkPage: ({ headerProps, footerProps, config, }: CrosswalkPa
1764
2221
 
1765
2222
  declare const CrosswalkPageGetServerSideProps: GetServerSideProps<NavPageLayoutProps>;
1766
2223
 
2224
+ interface TabbedCohortBuilderPageProps extends NavPageLayoutProps {
2225
+ configuration: TabbedCohortBuilderConfiguration;
2226
+ }
2227
+
2228
+ declare const TabbedCohortBuilderPage: ({ headerProps, footerProps, configuration, }: TabbedCohortBuilderPageProps) => JSX.Element;
2229
+ //# sourceMappingURL=TabbedCohortBuilderPage.d.ts.map
2230
+
2231
+ declare const TabbedCohortBuilderPageGetServerSideProps: GetServerSideProps<TabbedCohortBuilderPageProps>;
2232
+
1767
2233
  declare const TailwindConfig: (themer: any) => {
1768
2234
  important: string;
1769
2235
  content: string[];
@@ -1834,5 +2300,5 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
1834
2300
 
1835
2301
  declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
1836
2302
 
1837
- export { AISearchPageGetServerSideProps, AccessLevel, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, Banner, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default as ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetServerSideProps, LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryExpression, QueryExpressionContext, QueryExpressionSection, QueryPage, QueryPageGetServerSideProps, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SessionExpiredModal, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User$1 as User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, accessibleFieldName, export_default as analysisApiCohortDiscovery, capitalize, computeRowSpan, convertMinutesToMilliseconds, convertSecondsToMilliseconds, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$2 as credentialsLogin, export_default$1 as credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform, processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeKey, resourcePathFromProjectID, export_default$3 as sessionLogout, export_default$4 as sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource };
1838
- export type { AnalysisCenterSection, AnalysisCenterWithSectionsConfiguration, AnalysisPageLayoutProps, AnalysisToolConfiguration, AuthorizationValues, BannerLevelCategories, BannerProps, CellRenderFunctionProps, CellRendererFunctionProps, ChartProps, CohortBuilderConfiguration, CohortBuilderProps, CohortPanelConfiguration, DataAuthorization, DiscoveryConfig, ExplorerPageProps, Fonts, FooterProps, HeaderProps, LoginConfig, ModalsConfig, NavPageLayoutProps, NavigationProps, ProfileConfig, ReactEChartsProps, RegisteredIcons, RowRenderFunctionParams, SessionConfiguration, StudyDetailsField, SummaryChart, TableDetailsPanelProps, TagData, TagsConfig, TenStringArray, TopBarProps, UserAuthMapping, WorkspaceConfig };
2303
+ export { AISearchPageGetServerSideProps, AccessLevel, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BAD_DATA_MESSAGE, Banner, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default as ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DAYS_IN_YEAR, DEFAULT_MAXIMUM, DEFAULT_MINIMUM, DEFAULT_VISIBLE_ITEMS, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacet, EnumFacetChart, ErrorCard, ExactValueFacet, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FacetControlsHeader, FacetExpander, FacetSelector, FacetSortPanel, FacetTabs, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetServerSideProps, LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, MultiSelectValueFacet, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryExpression, QueryExpressionContext, QueryExpressionSection, QueryPage, QueryPageGetServerSideProps, RangeFacet, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SessionExpiredModal, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, TabbedCohortBuilder, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User$1 as User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, accessibleFieldName, addIntersectionToIncludes, addUnion, export_default as analysisApiCohortDiscovery, buildNested, capitalize, classifyFacets, compareKeysAscending, compareKeysDescending, computeRowSpan, convertMinutesToMilliseconds, convertPathsToTree, convertSecondsToMilliseconds, convertToStringArray, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$2 as credentialsLogin, export_default$1 as credentialsLogout, extractObjectKey, extractRangeValues, focusStyles, getAllFieldsFromFilterConfigs, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isEnumFacetResponse, isPropertyKey, isTextTransform, mapFacetSortToSortType, processBucketData, processLabel, processRangeData, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeIntersectionFromEnum, removeKey, removeUnion, resourcePathFromProjectID, export_default$3 as sessionLogout, export_default$4 as sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, updateFacetEnum, useClearFilters, useDiscoveryContext, useExtractEnumFilterValues, useExtractRangeFilterValues, useFieldNameToTitle, useGetFacetFilters, useUpdateFilters, userHasMethodForServiceOnResource };
2304
+ export type { AdvancedRangeFacetHooks, AllowableRange, AnalysisCenterSection, AnalysisCenterWithSectionsConfiguration, AnalysisPageLayoutProps, AnalysisToolConfiguration, AuthorizationValues, BannerLevelCategories, BannerProps, CellRenderFunctionProps, CellRendererFunctionProps, ChartProps, ClearFacetFunction, ClearFacetHook, ClearIndexedFacetFunction, CohortBuilderCategoryConfig, CohortBuilderConfiguration, CohortBuilderProps, CohortBuilderTabCategoryConfig, CohortPanelConfiguration, CustomFacetHooks, DataAuthorization, DiscoveryConfig, EnumChartProps, EnumFacetData, EnumFacetDataChangedFunction, EnumFacetDataHooks, EnumFacetResponse, EnumOperandValue, ExplorerPageProps, FacetCardProps, FacetCommonHooks, FacetDataHooks, FacetRequiredHooks, FacetResponse, FacetSortType, FacetType, FieldNameToTitleFunction, FieldToName, Fonts, FooterProps, FromToRange, FromToRangeValues, GetEnumFacetDataFunction, GetFacetCombineModeFunction, GetFacetDataFunction, GetRangeFacetDataFunction, GetRangeFacetWithDefinedRangesDataFunction, GetTotalCountsFunction, HeaderProps, LoginConfig, ModalsConfig, NavPageLayoutProps, NavigationProps, NumericFacetCardProps, NumericRangeFacetHooks, ProfileConfig, QueryOptions, RangeFacetHooks, RangeFacetResponse, RangeFromOp, RangeToOp, ReactEChartsProps, RegisteredIcons, RowRenderFunctionParams, SelectFacetFilterFunction, SelectedFields$1 as SelectedFields, SessionConfiguration, SetFacetCombineModeFunction, SortType, StudyDetailsField, SummaryChart, TabbedCohortBuilderConfiguration, TabbedCohortBuilderFacetConfig, TableDetailsPanelProps, TagData, TagsConfig, TenStringArray, TopBarProps, UpdateFacetFilterFunction, UpdateFacetFilterHook, UserAuthMapping, WorkspaceConfig };