@gen3/frontend 0.10.50 → 0.10.52

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 (343) hide show
  1. package/dist/cjs/index.js +8156 -6083
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.d.ts +11 -0
  4. package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.d.ts.map +1 -0
  5. package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js +75 -0
  6. package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js.map +1 -0
  7. package/dist/dts/components/Buttons/UploadJSONButton.d.ts +9 -0
  8. package/dist/dts/components/Buttons/UploadJSONButton.d.ts.map +1 -0
  9. package/dist/dts/components/Buttons/UploadJSONButton.js +65 -0
  10. package/dist/dts/components/Buttons/UploadJSONButton.js.map +1 -0
  11. package/dist/dts/components/Content/ContactWithEmailContent.d.ts.map +1 -1
  12. package/dist/dts/components/Content/ContactWithEmailContent.js +8 -2
  13. package/dist/dts/components/Content/ContactWithEmailContent.js.map +1 -1
  14. package/dist/dts/components/Login/CredentialsLogin.d.ts.map +1 -1
  15. package/dist/dts/components/Login/CredentialsLogin.js +11 -6
  16. package/dist/dts/components/Login/CredentialsLogin.js.map +1 -1
  17. package/dist/dts/components/Login/LoginButton.js +1 -1
  18. package/dist/dts/components/Login/LoginButton.js.map +1 -1
  19. package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
  20. package/dist/dts/components/Login/LoginPanel.js +11 -7
  21. package/dist/dts/components/Login/LoginPanel.js.map +1 -1
  22. package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
  23. package/dist/dts/components/Login/LoginProvidersPanel.js +5 -1
  24. package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
  25. package/dist/dts/components/MessageCards/CardContainer.d.ts +7 -0
  26. package/dist/dts/components/MessageCards/CardContainer.d.ts.map +1 -0
  27. package/dist/dts/components/MessageCards/CardContainer.js +8 -0
  28. package/dist/dts/components/MessageCards/CardContainer.js.map +1 -0
  29. package/dist/dts/components/MessageCards/ErrorCard.d.ts +5 -0
  30. package/dist/dts/components/MessageCards/ErrorCard.d.ts.map +1 -0
  31. package/dist/dts/components/MessageCards/ErrorCard.js +9 -0
  32. package/dist/dts/components/MessageCards/ErrorCard.js.map +1 -0
  33. package/dist/dts/components/MessageCards/MessageCard.d.ts +13 -0
  34. package/dist/dts/components/MessageCards/MessageCard.d.ts.map +1 -0
  35. package/dist/dts/components/MessageCards/MessageCard.js +13 -0
  36. package/dist/dts/components/MessageCards/MessageCard.js.map +1 -0
  37. package/dist/dts/components/MessageCards/WarningCard.d.ts +5 -0
  38. package/dist/dts/components/MessageCards/WarningCard.d.ts.map +1 -0
  39. package/dist/dts/components/MessageCards/WarningCard.js +9 -0
  40. package/dist/dts/components/MessageCards/WarningCard.js.map +1 -0
  41. package/dist/dts/components/MessageCards/index.d.ts +6 -0
  42. package/dist/dts/components/MessageCards/index.d.ts.map +1 -0
  43. package/dist/dts/components/MessageCards/index.js +6 -0
  44. package/dist/dts/components/MessageCards/index.js.map +1 -0
  45. package/dist/dts/components/Profile/ResourcesTable.d.ts.map +1 -1
  46. package/dist/dts/components/Profile/ResourcesTable.js.map +1 -1
  47. package/dist/dts/components/Protected/ProtectedContent.d.ts.map +1 -1
  48. package/dist/dts/components/Protected/ProtectedContent.js +4 -4
  49. package/dist/dts/components/Protected/ProtectedContent.js.map +1 -1
  50. package/dist/dts/components/Protected/index.d.ts +3 -0
  51. package/dist/dts/components/Protected/index.d.ts.map +1 -0
  52. package/dist/dts/components/Protected/index.js +3 -0
  53. package/dist/dts/components/Protected/index.js.map +1 -0
  54. package/dist/dts/components/Providers/Gen3Provider.d.ts +1 -1
  55. package/dist/dts/components/Providers/Gen3Provider.d.ts.map +1 -1
  56. package/dist/dts/components/Providers/Gen3Provider.js +1 -1
  57. package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
  58. package/dist/dts/components/Providers/ResourceMonitor.d.ts +6 -0
  59. package/dist/dts/components/Providers/ResourceMonitor.d.ts.map +1 -0
  60. package/dist/dts/components/Providers/ResourceMonitor.js +105 -0
  61. package/dist/dts/components/Providers/ResourceMonitor.js.map +1 -0
  62. package/dist/dts/components/StyledComponents/DarkFunctionButton.d.ts +7 -0
  63. package/dist/dts/components/StyledComponents/DarkFunctionButton.d.ts.map +1 -0
  64. package/dist/dts/components/StyledComponents/DarkFunctionButton.js +9 -0
  65. package/dist/dts/components/StyledComponents/DarkFunctionButton.js.map +1 -0
  66. package/dist/dts/components/charts/BarChart.d.ts.map +1 -1
  67. package/dist/dts/components/charts/BarChart.js.map +1 -1
  68. package/dist/dts/components/charts/ChartRendererFactory.d.ts.map +1 -1
  69. package/dist/dts/components/charts/ChartRendererFactory.js +2 -0
  70. package/dist/dts/components/charts/ChartRendererFactory.js.map +1 -1
  71. package/dist/dts/components/charts/echarts/HorizontalBarChart.d.ts.map +1 -1
  72. package/dist/dts/components/charts/echarts/HorizontalBarChart.js +17 -7
  73. package/dist/dts/components/charts/echarts/HorizontalBarChart.js.map +1 -1
  74. package/dist/dts/components/charts/echarts/VerticalBarChart.d.ts +4 -0
  75. package/dist/dts/components/charts/echarts/VerticalBarChart.d.ts.map +1 -0
  76. package/dist/dts/components/charts/echarts/VerticalBarChart.js +79 -0
  77. package/dist/dts/components/charts/echarts/VerticalBarChart.js.map +1 -0
  78. package/dist/dts/components/counts/DataSummaryCardGroup.d.ts +15 -0
  79. package/dist/dts/components/counts/DataSummaryCardGroup.d.ts.map +1 -0
  80. package/dist/dts/components/counts/DataSummaryCardGroup.js +8 -0
  81. package/dist/dts/components/counts/DataSummaryCardGroup.js.map +1 -0
  82. package/dist/dts/features/Analysis/AnalysisCardEditor.d.ts +3 -0
  83. package/dist/dts/features/Analysis/AnalysisCardEditor.d.ts.map +1 -0
  84. package/dist/dts/features/Analysis/AnalysisCardEditor.js +275 -0
  85. package/dist/dts/features/Analysis/AnalysisCardEditor.js.map +1 -0
  86. package/dist/dts/features/Analysis/AnalysisCenter.d.ts +5 -0
  87. package/dist/dts/features/Analysis/AnalysisCenter.d.ts.map +1 -0
  88. package/dist/dts/features/Analysis/AnalysisCenter.js +68 -0
  89. package/dist/dts/features/Analysis/AnalysisCenter.js.map +1 -0
  90. package/dist/dts/features/Analysis/AnalysisPanel.d.ts +4 -0
  91. package/dist/dts/features/Analysis/AnalysisPanel.d.ts.map +1 -0
  92. package/dist/dts/features/Analysis/AnalysisPanel.js +8 -0
  93. package/dist/dts/features/Analysis/AnalysisPanel.js.map +1 -0
  94. package/dist/dts/features/Analysis/TextDescription.d.ts +7 -0
  95. package/dist/dts/features/Analysis/TextDescription.d.ts.map +1 -0
  96. package/dist/dts/features/Analysis/TextDescription.js +11 -0
  97. package/dist/dts/features/Analysis/TextDescription.js.map +1 -0
  98. package/dist/dts/features/Analysis/index.d.ts +3 -0
  99. package/dist/dts/features/Analysis/index.d.ts.map +1 -0
  100. package/dist/dts/features/Analysis/index.js +3 -0
  101. package/dist/dts/features/Analysis/index.js.map +1 -0
  102. package/dist/dts/features/Analysis/types.d.ts +16 -0
  103. package/dist/dts/features/Analysis/types.d.ts.map +1 -0
  104. package/dist/dts/features/Analysis/types.js +2 -0
  105. package/dist/dts/features/Analysis/types.js.map +1 -0
  106. package/dist/dts/features/CohortBuilder/CohortManager.d.ts.map +1 -1
  107. package/dist/dts/features/CohortBuilder/CohortManager.js +1 -1
  108. package/dist/dts/features/CohortBuilder/CohortManager.js.map +1 -1
  109. package/dist/dts/features/CohortBuilder/CohortPanel.js +1 -1
  110. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  111. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +10 -0
  112. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -0
  113. package/dist/dts/features/CohortBuilder/CohortSelector.js +20 -0
  114. package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -0
  115. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts +1 -6
  116. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts.map +1 -1
  117. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.js.map +1 -1
  118. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +1 -1
  119. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  120. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +9 -3
  121. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
  122. package/dist/dts/features/CohortBuilder/QueryExpressionSection.d.ts.map +1 -1
  123. package/dist/dts/features/CohortBuilder/QueryExpressionSection.js +8 -6
  124. package/dist/dts/features/CohortBuilder/QueryExpressionSection.js.map +1 -1
  125. package/dist/dts/features/CohortBuilder/downloads/actions/utils.d.ts.map +1 -1
  126. package/dist/dts/features/CohortBuilder/downloads/actions/utils.js +1 -0
  127. package/dist/dts/features/CohortBuilder/downloads/actions/utils.js.map +1 -1
  128. package/dist/dts/features/CohortBuilder/style.d.ts.map +1 -1
  129. package/dist/dts/features/CohortBuilder/style.js +2 -2
  130. package/dist/dts/features/CohortBuilder/style.js.map +1 -1
  131. package/dist/dts/features/CohortDiscovery/IndexPanel.js +1 -1
  132. package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
  133. package/dist/dts/features/CohortDiversity/CohortDiversityApp.js +1 -1
  134. package/dist/dts/features/CohortDiversity/CohortDiversityApp.js.map +1 -1
  135. package/dist/dts/features/Dictionary/Cell.d.ts.map +1 -1
  136. package/dist/dts/features/Dictionary/Cell.js.map +1 -1
  137. package/dist/dts/features/Discovery/TableRenderers/CellRendererFactory.d.ts.map +1 -1
  138. package/dist/dts/features/Discovery/TableRenderers/CellRendererFactory.js +2 -2
  139. package/dist/dts/features/Discovery/TableRenderers/CellRendererFactory.js.map +1 -1
  140. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +2 -2
  141. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
  142. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.js +2 -2
  143. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.js.map +1 -1
  144. package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
  145. package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
  146. package/dist/dts/features/Navigation/TopBar.js +1 -1
  147. package/dist/dts/features/Navigation/TopBar.js.map +1 -1
  148. package/dist/dts/features/Navigation/Vertical/VerticalTopBar.d.ts.map +1 -1
  149. package/dist/dts/features/Navigation/Vertical/VerticalTopBar.js.map +1 -1
  150. package/dist/dts/features/Navigation/types.d.ts +8 -0
  151. package/dist/dts/features/Navigation/types.d.ts.map +1 -1
  152. package/dist/dts/features/Theme/ColorTheme.js.map +1 -1
  153. package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.d.ts +3 -0
  154. package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.d.ts.map +1 -0
  155. package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.js +21 -0
  156. package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.js.map +1 -0
  157. package/dist/dts/features/Workspace/NotebookCard.d.ts +7 -0
  158. package/dist/dts/features/Workspace/NotebookCard.d.ts.map +1 -0
  159. package/dist/dts/features/Workspace/NotebookCard.js +22 -0
  160. package/dist/dts/features/Workspace/NotebookCard.js.map +1 -0
  161. package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.d.ts +3 -0
  162. package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.d.ts.map +1 -0
  163. package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.js +76 -0
  164. package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.js.map +1 -0
  165. package/dist/dts/features/Workspace/StatusAndControls.d.ts +3 -0
  166. package/dist/dts/features/Workspace/StatusAndControls.d.ts.map +1 -0
  167. package/dist/dts/features/Workspace/StatusAndControls.js +28 -0
  168. package/dist/dts/features/Workspace/StatusAndControls.js.map +1 -0
  169. package/dist/dts/features/Workspace/Workspace.d.ts +7 -0
  170. package/dist/dts/features/Workspace/Workspace.d.ts.map +1 -0
  171. package/dist/dts/features/Workspace/Workspace.js +12 -0
  172. package/dist/dts/features/Workspace/Workspace.js.map +1 -0
  173. package/dist/dts/features/Workspace/WorkspaceLaunchProgress.d.ts +3 -0
  174. package/dist/dts/features/Workspace/WorkspaceLaunchProgress.d.ts.map +1 -0
  175. package/dist/dts/features/Workspace/WorkspaceLaunchProgress.js +19 -0
  176. package/dist/dts/features/Workspace/WorkspaceLaunchProgress.js.map +1 -0
  177. package/dist/dts/features/Workspace/WorkspaceNotebook.d.ts +3 -0
  178. package/dist/dts/features/Workspace/WorkspaceNotebook.d.ts.map +1 -0
  179. package/dist/dts/features/Workspace/WorkspaceNotebook.js +11 -0
  180. package/dist/dts/features/Workspace/WorkspaceNotebook.js.map +1 -0
  181. package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.d.ts +3 -0
  182. package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.d.ts.map +1 -0
  183. package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.js +16 -0
  184. package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.js.map +1 -0
  185. package/dist/dts/features/Workspace/WorkspacePanel.d.ts +3 -0
  186. package/dist/dts/features/Workspace/WorkspacePanel.d.ts.map +1 -0
  187. package/dist/dts/features/Workspace/WorkspacePanel.js +18 -0
  188. package/dist/dts/features/Workspace/WorkspacePanel.js.map +1 -0
  189. package/dist/dts/features/Workspace/WorkspaceProvider.d.ts +9 -0
  190. package/dist/dts/features/Workspace/WorkspaceProvider.d.ts.map +1 -0
  191. package/dist/dts/features/Workspace/WorkspaceProvider.js +46 -0
  192. package/dist/dts/features/Workspace/WorkspaceProvider.js.map +1 -0
  193. package/dist/dts/features/Workspace/WorkspaceStatusProvider.d.ts +17 -0
  194. package/dist/dts/features/Workspace/WorkspaceStatusProvider.d.ts.map +1 -0
  195. package/dist/dts/features/Workspace/WorkspaceStatusProvider.js +103 -0
  196. package/dist/dts/features/Workspace/WorkspaceStatusProvider.js.map +1 -0
  197. package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.d.ts +20 -0
  198. package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.d.ts.map +1 -0
  199. package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.js +78 -0
  200. package/dist/dts/features/Workspace/admin/WorkspaceEditorContext.js.map +1 -0
  201. package/dist/dts/features/Workspace/admin/WorkspacePanelForm.d.ts +4 -0
  202. package/dist/dts/features/Workspace/admin/WorkspacePanelForm.d.ts.map +1 -0
  203. package/dist/dts/features/Workspace/admin/WorkspacePanelForm.js +46 -0
  204. package/dist/dts/features/Workspace/admin/WorkspacePanelForm.js.map +1 -0
  205. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts +3 -0
  206. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts.map +1 -0
  207. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js +7 -0
  208. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js.map +1 -0
  209. package/dist/dts/features/Workspace/calculateLaunchSteps.d.ts +6 -0
  210. package/dist/dts/features/Workspace/calculateLaunchSteps.d.ts.map +1 -0
  211. package/dist/dts/features/Workspace/calculateLaunchSteps.js +101 -0
  212. package/dist/dts/features/Workspace/calculateLaunchSteps.js.map +1 -0
  213. package/dist/dts/features/Workspace/constants.d.ts +8 -0
  214. package/dist/dts/features/Workspace/constants.d.ts.map +1 -0
  215. package/dist/dts/features/Workspace/constants.js +24 -0
  216. package/dist/dts/features/Workspace/constants.js.map +1 -0
  217. package/dist/dts/features/Workspace/index.d.ts +3 -3
  218. package/dist/dts/features/Workspace/index.d.ts.map +1 -1
  219. package/dist/dts/features/Workspace/index.js +2 -2
  220. package/dist/dts/features/Workspace/index.js.map +1 -1
  221. package/dist/dts/features/Workspace/test/calculateLaunchSteps.unit.test.d.ts +2 -0
  222. package/dist/dts/features/Workspace/test/calculateLaunchSteps.unit.test.d.ts.map +1 -0
  223. package/dist/dts/features/Workspace/test/calculateLaunchSteps.unit.test.js +105 -0
  224. package/dist/dts/features/Workspace/test/calculateLaunchSteps.unit.test.js.map +1 -0
  225. package/dist/dts/features/Workspace/types.d.ts +26 -1
  226. package/dist/dts/features/Workspace/types.d.ts.map +1 -1
  227. package/dist/dts/features/Workspace/utils.d.ts +2 -0
  228. package/dist/dts/features/Workspace/utils.d.ts.map +1 -0
  229. package/dist/dts/features/Workspace/utils.js +8 -0
  230. package/dist/dts/features/Workspace/utils.js.map +1 -0
  231. package/dist/dts/index.d.ts +16 -6
  232. package/dist/dts/index.d.ts.map +1 -1
  233. package/dist/dts/index.js +16 -6
  234. package/dist/dts/index.js.map +1 -1
  235. package/dist/dts/lib/content/ContentDatabase.d.ts +1 -0
  236. package/dist/dts/lib/content/ContentDatabase.d.ts.map +1 -1
  237. package/dist/dts/lib/content/ContentDatabase.js +8 -0
  238. package/dist/dts/lib/content/ContentDatabase.js.map +1 -1
  239. package/dist/dts/lib/content/filesystem.d.ts +2 -1
  240. package/dist/dts/lib/content/filesystem.d.ts.map +1 -1
  241. package/dist/dts/lib/content/filesystem.js +28 -0
  242. package/dist/dts/lib/content/filesystem.js.map +1 -1
  243. package/dist/dts/lib/content/types.d.ts +1 -0
  244. package/dist/dts/lib/content/types.d.ts.map +1 -1
  245. package/dist/dts/lib/session/session.d.ts.map +1 -1
  246. package/dist/dts/lib/session/session.js +4 -2
  247. package/dist/dts/lib/session/session.js.map +1 -1
  248. package/dist/dts/pages/Analysis/Analysis.d.ts +4 -0
  249. package/dist/dts/pages/Analysis/Analysis.d.ts.map +1 -0
  250. package/dist/dts/pages/Analysis/Analysis.js +13 -0
  251. package/dist/dts/pages/Analysis/Analysis.js.map +1 -0
  252. package/dist/dts/pages/Analysis/data.d.ts +4 -0
  253. package/dist/dts/pages/Analysis/data.d.ts.map +1 -0
  254. package/dist/dts/pages/Analysis/data.js +78 -0
  255. package/dist/dts/pages/Analysis/data.js.map +1 -0
  256. package/dist/dts/pages/Analysis/index.d.ts +3 -0
  257. package/dist/dts/pages/Analysis/index.d.ts.map +1 -0
  258. package/dist/dts/pages/Analysis/index.js +3 -0
  259. package/dist/dts/pages/Analysis/index.js.map +1 -0
  260. package/dist/dts/pages/Analysis/types.d.ts +6 -0
  261. package/dist/dts/pages/Analysis/types.d.ts.map +1 -0
  262. package/dist/dts/pages/Analysis/types.js +2 -0
  263. package/dist/dts/pages/Analysis/types.js.map +1 -0
  264. package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
  265. package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
  266. package/dist/dts/pages/Explorer/index.d.ts +1 -0
  267. package/dist/dts/pages/Explorer/index.d.ts.map +1 -1
  268. package/dist/dts/pages/Explorer/index.js +1 -0
  269. package/dist/dts/pages/Explorer/index.js.map +1 -1
  270. package/dist/dts/pages/NotebookLite/NotebookLite.d.ts +4 -0
  271. package/dist/dts/pages/NotebookLite/NotebookLite.d.ts.map +1 -0
  272. package/dist/dts/pages/NotebookLite/NotebookLite.js +12 -0
  273. package/dist/dts/pages/NotebookLite/NotebookLite.js.map +1 -0
  274. package/dist/dts/pages/NotebookLite/data.d.ts +3 -0
  275. package/dist/dts/pages/NotebookLite/data.d.ts.map +1 -0
  276. package/dist/dts/pages/NotebookLite/data.js +62 -0
  277. package/dist/dts/pages/NotebookLite/data.js.map +1 -0
  278. package/dist/dts/pages/NotebookLite/index.d.ts +3 -0
  279. package/dist/dts/pages/NotebookLite/index.d.ts.map +1 -0
  280. package/dist/dts/pages/NotebookLite/index.js +3 -0
  281. package/dist/dts/pages/NotebookLite/index.js.map +1 -0
  282. package/dist/dts/pages/Workspace/Workspace.d.ts +4 -0
  283. package/dist/dts/pages/Workspace/Workspace.d.ts.map +1 -0
  284. package/dist/dts/pages/Workspace/Workspace.js +13 -0
  285. package/dist/dts/pages/Workspace/Workspace.js.map +1 -0
  286. package/dist/dts/pages/Workspace/WorkspaceNoAccess.d.ts +4 -0
  287. package/dist/dts/pages/Workspace/WorkspaceNoAccess.d.ts.map +1 -0
  288. package/dist/dts/pages/Workspace/WorkspaceNoAccess.js +15 -0
  289. package/dist/dts/pages/Workspace/WorkspaceNoAccess.js.map +1 -0
  290. package/dist/dts/pages/Workspace/data.d.ts +4 -2
  291. package/dist/dts/pages/Workspace/data.d.ts.map +1 -1
  292. package/dist/dts/pages/Workspace/data.js +33 -6
  293. package/dist/dts/pages/Workspace/data.js.map +1 -1
  294. package/dist/dts/pages/Workspace/index.d.ts +4 -2
  295. package/dist/dts/pages/Workspace/index.d.ts.map +1 -1
  296. package/dist/dts/pages/Workspace/index.js +4 -2
  297. package/dist/dts/pages/Workspace/index.js.map +1 -1
  298. package/dist/dts/pages/Workspace/types.d.ts +3 -3
  299. package/dist/dts/pages/Workspace/types.d.ts.map +1 -1
  300. package/dist/dts/pages/admin/Workspace/WorkspaceNotebooks.d.ts +7 -0
  301. package/dist/dts/pages/admin/Workspace/WorkspaceNotebooks.d.ts.map +1 -0
  302. package/dist/dts/pages/admin/Workspace/WorkspaceNotebooks.js +13 -0
  303. package/dist/dts/pages/admin/Workspace/WorkspaceNotebooks.js.map +1 -0
  304. package/dist/dts/pages/admin/Workspace/data.d.ts +2 -0
  305. package/dist/dts/pages/admin/Workspace/data.d.ts.map +1 -0
  306. package/dist/dts/pages/admin/Workspace/data.js +45 -0
  307. package/dist/dts/pages/admin/Workspace/data.js.map +1 -0
  308. package/dist/dts/pages/admin/Workspace/index.d.ts +3 -0
  309. package/dist/dts/pages/admin/Workspace/index.d.ts.map +1 -0
  310. package/dist/dts/pages/admin/Workspace/index.js +3 -0
  311. package/dist/dts/pages/admin/Workspace/index.js.map +1 -0
  312. package/dist/dts/pages/admin/analysis/Analysis.d.ts +7 -0
  313. package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -0
  314. package/dist/dts/pages/admin/analysis/Analysis.js +13 -0
  315. package/dist/dts/pages/admin/analysis/Analysis.js.map +1 -0
  316. package/dist/dts/pages/admin/analysis/data.d.ts +9 -0
  317. package/dist/dts/pages/admin/analysis/data.d.ts.map +1 -0
  318. package/dist/dts/pages/admin/analysis/data.js +76 -0
  319. package/dist/dts/pages/admin/analysis/data.js.map +1 -0
  320. package/dist/dts/pages/admin/authz/index.d.ts.map +1 -1
  321. package/dist/dts/pages/admin/authz/index.js.map +1 -1
  322. package/dist/dts/utils/RendererFactory.d.ts.map +1 -1
  323. package/dist/dts/utils/RendererFactory.js +1 -0
  324. package/dist/dts/utils/RendererFactory.js.map +1 -1
  325. package/dist/dts/utils/download.d.ts.map +1 -1
  326. package/dist/dts/utils/download.js.map +1 -1
  327. package/dist/esm/index.js +8154 -6091
  328. package/dist/esm/index.js.map +1 -1
  329. package/dist/index.d.ts +362 -273
  330. package/dist/tsconfig.tsbuildinfo +1 -1
  331. package/package.json +2 -1
  332. package/dist/dts/components/FilterPanel.d.ts +0 -1
  333. package/dist/dts/components/FilterPanel.d.ts.map +0 -1
  334. package/dist/dts/components/FilterPanel.js +0 -2
  335. package/dist/dts/components/FilterPanel.js.map +0 -1
  336. package/dist/dts/components/Login/utils.d.ts +0 -1
  337. package/dist/dts/components/Login/utils.d.ts.map +0 -1
  338. package/dist/dts/components/Login/utils.js +0 -2
  339. package/dist/dts/components/Login/utils.js.map +0 -1
  340. package/dist/dts/features/Submission/Tables/hooks.d.ts +0 -1
  341. package/dist/dts/features/Submission/Tables/hooks.d.ts.map +0 -1
  342. package/dist/dts/features/Submission/Tables/hooks.js +0 -2
  343. package/dist/dts/features/Submission/Tables/hooks.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,13 +1,204 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ReactElement, PropsWithChildren, ReactNode, CSSProperties } from 'react';
4
- import { ButtonProps, TitleOrder } from '@mantine/core';
5
- import { HistogramDataArray, JSONObject, AggregationsData, EnumFilterValue, FacetDefinition } from '@gen3/core';
6
- import { MRT_RowData, MRT_Cell, MRT_Row } from 'mantine-react-table';
3
+ import React__default, { ReactNode, CSSProperties, ReactElement, PropsWithChildren, RefObject } from 'react';
4
+ import { HistogramDataArray, AggregationsData, EnumFilterValue, JSONObject, FacetDefinition } from '@gen3/core';
7
5
  import { EChartsOption, SetOptionOpts } from 'echarts';
6
+ import { ButtonProps, TitleOrder } from '@mantine/core';
7
+ import { MRT_RowData, MRT_Cell, MRT_Row, MRT_Column, MRT_TableInstance } from 'mantine-react-table';
8
8
  import { GetServerSideProps, GetStaticProps, NextPage, NextApiRequest, NextApiResponse } from 'next';
9
9
  import { IconType } from 'react-icons';
10
10
 
11
+ declare const User$1: () => react_jsx_runtime.JSX.Element;
12
+ //# sourceMappingURL=User.d.ts.map
13
+
14
+ interface ServiceColorAndLabel {
15
+ serviceName: string;
16
+ color: string;
17
+ label?: string;
18
+ }
19
+ interface ResourceTableConfig {
20
+ title?: string;
21
+ serviceColors?: Record<string, ServiceColorAndLabel>;
22
+ }
23
+ interface ProfileConfig {
24
+ resourceTable?: ResourceTableConfig;
25
+ hasExternalLogins?: boolean;
26
+ }
27
+ interface APICredentials {
28
+ api_key: string;
29
+ key_id: string;
30
+ }
31
+
32
+ declare const ProfileProvider: ({ children, profileConfig, }: {
33
+ children: React__default.ReactNode;
34
+ profileConfig: ProfileConfig;
35
+ }) => react_jsx_runtime.JSX.Element;
36
+ //# sourceMappingURL=ProfileProvider.d.ts.map
37
+
38
+ interface ResourcesFiltersProps {
39
+ setFilters: (filters: string[]) => void;
40
+ selectedFilters: string[];
41
+ }
42
+ /**
43
+ * ResourcesFilters creates a checkbox filter component from cached arborist data
44
+ * and servicesAndMethods, useProfileContext context hooks.
45
+ * @returns: A resourceFilter component for sorting permissions
46
+ * chart on profile page by relevant microservices
47
+ */
48
+ declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFiltersProps) => react_jsx_runtime.JSX.Element;
49
+ //# sourceMappingURL=ResourcesFilters.d.ts.map
50
+
51
+ declare enum ContentType {
52
+ Text = "text",
53
+ TextArray = "textArray",
54
+ Html = "html",
55
+ Markdown = "markdown"
56
+ }
57
+ interface TextContentProps {
58
+ readonly text: string | string[];
59
+ readonly className?: string;
60
+ readonly type?: ContentType;
61
+ readonly email?: string;
62
+ }
63
+
64
+ interface Gen3LoginPanelConfig {
65
+ title: string;
66
+ subtitle: string;
67
+ text: string;
68
+ contact: string;
69
+ email: string;
70
+ image: string;
71
+ className: string;
72
+ }
73
+ interface LoginConfig extends Partial<Gen3LoginPanelConfig> {
74
+ topContent?: ReadonlyArray<TextContentProps>;
75
+ bottomContent?: ReadonlyArray<TextContentProps>;
76
+ showCredentialsLogin?: boolean;
77
+ }
78
+ interface LoginSelectedProps {
79
+ readonly handleLoginSelected: (_url: string) => void;
80
+ }
81
+ declare enum LoginButtonVisibility {
82
+ Hidden = "hide",
83
+ Visible = "visible",
84
+ LogoutOnly = "logoutOnly"
85
+ }
86
+
87
+ interface LoginButtonProps {
88
+ readonly icon?: React__default.ReactElement | string;
89
+ readonly hideText?: boolean;
90
+ className?: string;
91
+ tooltip?: string;
92
+ visibility: LoginButtonVisibility;
93
+ }
94
+ declare const LoginButton: ({ icon, hideText, className, tooltip, visibility, }: LoginButtonProps) => react_jsx_runtime.JSX.Element | null;
95
+ //# sourceMappingURL=LoginButton.d.ts.map
96
+
97
+ declare const LoginProvidersPanel: ({ handleLoginSelected }: LoginSelectedProps) => react_jsx_runtime.JSX.Element;
98
+ //# sourceMappingURL=LoginProvidersPanel.d.ts.map
99
+
100
+ declare const LoginPanel: (loginConfig: LoginConfig) => react_jsx_runtime.JSX.Element;
101
+ //# sourceMappingURL=LoginPanel.d.ts.map
102
+
103
+ interface ButtonOptions {
104
+ onClick?: () => void;
105
+ hideModalOnClick?: boolean;
106
+ title: string;
107
+ dataTestId: string;
108
+ }
109
+ interface Props$4 {
110
+ openModal: boolean;
111
+ title: ReactNode;
112
+ size?: string | number;
113
+ children: ReactNode;
114
+ leftButtons?: Array<ButtonOptions | JSX.Element>;
115
+ buttons?: Array<ButtonOptions | JSX.Element>;
116
+ withCloseButton?: boolean;
117
+ onClose?: () => void;
118
+ closeOnClickOutside?: boolean;
119
+ closeOnEscape?: boolean;
120
+ }
121
+ /**
122
+ * Creates a generalized modal that can be used for a wide variety of purposes.
123
+ * @param openModal - Determines whether modal/drawer is opened
124
+ * @param title - Modal title
125
+ * @param size - Controls width of the content area, 'md' by default
126
+ * @param children - Modal content
127
+ * @param leftButtons - Mantine button component args for renderButtons component
128
+ * @param buttons - Mantine button component args for renderButtons component
129
+ * @param withCloseButton - Determines whether the close button should be rendered, true by default
130
+ * @param onClose - Called when modal/drawer is closed
131
+ * @param closeOnClickOutside - Determines whether the modal/drawer should be closed when user clicks on the overlay, true by default
132
+ * @param closeOnEscape - Determines whether onClose should be called when user presses the escape key, true by default
133
+ * @see https://mantine.dev/core/modal/
134
+ * @returns a mantine modal with a built in button for closing the modal
135
+ */
136
+ declare const BaseModal: ({ openModal, title, size, children, leftButtons, buttons, withCloseButton, onClose, closeOnClickOutside, closeOnEscape, }: Props$4) => react_jsx_runtime.JSX.Element;
137
+
138
+ interface BaseModalConfig {
139
+ title?: string;
140
+ }
141
+ interface FirstTimeModalConfig extends BaseModalConfig {
142
+ enabled?: boolean;
143
+ content: TextContentProps;
144
+ scrollToEnableAccept?: boolean;
145
+ showOnlyOnLogin?: boolean;
146
+ expireDays?: number;
147
+ }
148
+ interface ModalsConfig {
149
+ systemUseModal?: FirstTimeModalConfig;
150
+ }
151
+
152
+ interface FirstTimeModalProps {
153
+ readonly openModal: boolean;
154
+ config: FirstTimeModalConfig;
155
+ }
156
+ declare const FirstTimeModal: ({ openModal, config, }: FirstTimeModalProps) => JSX.Element;
157
+
158
+ declare const SessionExpiredModal: ({ openModal, }: {
159
+ openModal: boolean;
160
+ }) => JSX.Element;
161
+
162
+ interface CreateCredentialsAPIKeyModalProps {
163
+ openModal: boolean;
164
+ credentials: APICredentials;
165
+ }
166
+ /**
167
+ * Creates a specialized modal that is a parto of the Credentials component on the profile page
168
+ * @param openModal - State tracking to keep track of wether the modal should be shown or hidden
169
+ * @param credentials - The new fence credential that is to be shown in the modal
170
+ */
171
+ declare const CreateCredentialsAPIKeyModal: ({ openModal, credentials, }: CreateCredentialsAPIKeyModalProps) => JSX.Element;
172
+
173
+ declare const NoAccessModal: ({ openModal, }: {
174
+ openModal: boolean;
175
+ }) => JSX.Element;
176
+
177
+ interface Gen3StandardModalsProviderProps {
178
+ config: ModalsConfig;
179
+ children: React__default.ReactNode;
180
+ }
181
+ declare const Gen3ModalsProvider: ({ config, children, }: Gen3StandardModalsProviderProps) => react_jsx_runtime.JSX.Element;
182
+ //# sourceMappingURL=Gen3ModalsProvider.d.ts.map
183
+
184
+ declare const capitalize: (original: string) => string;
185
+ declare const truncateString: (str: string, n: number) => string;
186
+ declare const removeKey: (key: any, { [key]: _, ...rest }: {
187
+ [x: string]: any;
188
+ }) => {
189
+ [x: string]: any;
190
+ };
191
+ declare const processLabel: (label: string) => string;
192
+ declare const processRangeKeyLabel: (key: [number, number]) => string;
193
+ /**
194
+ * Computes the row span for each item in the charts object.
195
+ *
196
+ * @param { number } numItems - The charts object containing summary charts.
197
+ * @param {number} [numCols=3] - The number of columns per row.
198
+ * @returns {number[]} - An array of row spans for each item in the charts object.
199
+ */
200
+ declare const computeRowSpan: (numItems: number, numCols?: number) => Array<number>;
201
+
11
202
  type StylingOverride = Record<string, Record<string, string> | string>;
12
203
  type StylingMergeMode = 'merge' | 'replace';
13
204
  type StylingOverrideWithMergeControl = Record<string, string> & {
@@ -19,6 +210,62 @@ interface TitleAndDescription {
19
210
  description?: string;
20
211
  }
21
212
 
213
+ interface SummaryChart extends Partial<TitleAndDescription> {
214
+ readonly chartType: string;
215
+ readonly valueType?: 'count' | 'percent';
216
+ readonly dataLabels?: Record<string, string>;
217
+ }
218
+ interface ChartProps {
219
+ data: HistogramDataArray;
220
+ total: number;
221
+ valueType?: 'count' | 'percent';
222
+ }
223
+
224
+ interface ChartsProps {
225
+ charts: Record<string, SummaryChart>;
226
+ counts?: number;
227
+ data: AggregationsData;
228
+ isSuccess: boolean;
229
+ isError?: boolean;
230
+ numCols?: number;
231
+ style?: 'tile' | 'box';
232
+ showLegends?: boolean;
233
+ }
234
+ declare const Charts: ({ charts, data, counts, isSuccess, numCols, style, showLegends, }: ChartsProps) => react_jsx_runtime.JSX.Element;
235
+
236
+ interface ReactEChartsProps {
237
+ option: EChartsOption;
238
+ style?: CSSProperties;
239
+ settings?: SetOptionOpts;
240
+ loading?: boolean;
241
+ theme?: 'light' | 'dark';
242
+ }
243
+ declare const ReactECharts: ({ option, style, settings, loading, theme, }: ReactEChartsProps) => JSX.Element;
244
+
245
+ /**
246
+ * A BarChart for Enumerated Facets. The as the chart is wrapped from EnumFacet it does not
247
+ * require the Core Data hooks.
248
+ */
249
+
250
+ interface FacetChartProps {
251
+ readonly field: string;
252
+ readonly data: Record<string, number>;
253
+ readonly selectedEnums: EnumFilterValue;
254
+ readonly isSuccess: boolean;
255
+ readonly height?: number;
256
+ readonly showTitle?: boolean;
257
+ readonly maxBins?: number;
258
+ readonly valueLabel?: string;
259
+ }
260
+ declare const EnumFacetChart: React__default.FC<FacetChartProps>;
261
+
262
+ interface ProtectedContentProps {
263
+ children?: ReactNode;
264
+ referer?: string;
265
+ }
266
+ declare const ProtectedContent: ({ children, referer }: ProtectedContentProps) => react_jsx_runtime.JSX.Element;
267
+ //# sourceMappingURL=ProtectedContent.d.ts.map
268
+
22
269
  interface ColumnLinks {
23
270
  heading: string;
24
271
  items: ReadonlyArray<{
@@ -85,50 +332,14 @@ declare const Footer: ({ rightSection, leftSection, classNames, }: FooterProps)
85
332
  interface ClassProps$1 {
86
333
  readonly className?: string;
87
334
  }
88
- interface Gen3LinkProps extends ClassProps$1 {
89
- readonly href: string;
90
- readonly linkType?: string;
91
- readonly text: string;
92
- readonly showExternalIcon?: boolean;
93
- }
94
- declare const Gen3Link: ({ className, href, linkType, text, showExternalIcon, }: PropsWithChildren<Gen3LinkProps>) => react_jsx_runtime.JSX.Element;
95
- //# sourceMappingURL=Gen3Link.d.ts.map
96
-
97
- declare enum ContentType {
98
- Text = "text",
99
- TextArray = "textArray",
100
- Html = "html",
101
- Markdown = "markdown"
102
- }
103
- interface TextContentProps {
104
- readonly text: string | string[];
105
- readonly className?: string;
106
- readonly type?: ContentType;
107
- readonly email?: string;
108
- }
109
-
110
- interface Gen3LoginPanelConfig {
111
- title: string;
112
- subtitle: string;
113
- text: string;
114
- contact: string;
115
- email: string;
116
- image: string;
117
- className: string;
118
- }
119
- interface LoginConfig extends Partial<Gen3LoginPanelConfig> {
120
- topContent?: ReadonlyArray<TextContentProps>;
121
- bottomContent?: ReadonlyArray<TextContentProps>;
122
- showCredentialsLogin?: boolean;
123
- }
124
- interface LoginSelectedProps {
125
- readonly handleLoginSelected: (_url: string) => void;
126
- }
127
- declare enum LoginButtonVisibility {
128
- Hidden = "hide",
129
- Visible = "visible",
130
- LogoutOnly = "logoutOnly"
335
+ interface Gen3LinkProps extends ClassProps$1 {
336
+ readonly href: string;
337
+ readonly linkType?: string;
338
+ readonly text: string;
339
+ readonly showExternalIcon?: boolean;
131
340
  }
341
+ declare const Gen3Link: ({ className, href, linkType, text, showExternalIcon, }: PropsWithChildren<Gen3LinkProps>) => react_jsx_runtime.JSX.Element;
342
+ //# sourceMappingURL=Gen3Link.d.ts.map
132
343
 
133
344
  interface NameAndIcon {
134
345
  readonly name: string;
@@ -185,11 +396,18 @@ interface HeaderData {
185
396
  content: string;
186
397
  key: string;
187
398
  }
399
+ /**
400
+ * Sitewide props that can be passed to Pages
401
+ */
402
+ interface CommonsData {
403
+ contactEmail?: string;
404
+ }
188
405
  interface HeaderProps {
189
406
  top: TopBarProps;
190
407
  navigation: NavigationProps;
191
408
  banners?: Array<BannerProps>;
192
409
  type?: 'horizontal' | 'vertical' | 'original';
410
+ readonly siteProps?: CommonsData;
193
411
  }
194
412
  interface MainContentProps {
195
413
  fixed: boolean;
@@ -258,17 +476,6 @@ interface SummaryStatisticsConfig {
258
476
  displayFunction?: string;
259
477
  }
260
478
 
261
- interface SummaryChart extends Partial<TitleAndDescription> {
262
- readonly chartType: string;
263
- readonly valueType?: 'count' | 'percent';
264
- readonly dataLabels?: Record<string, string>;
265
- }
266
- interface ChartProps {
267
- data: HistogramDataArray;
268
- total: number;
269
- valueType?: 'count' | 'percent';
270
- }
271
-
272
479
  interface TagData {
273
480
  name: string;
274
481
  category: string;
@@ -556,199 +763,6 @@ declare const getTagInfo: (tagData: TagData, tagsConfig: TagsConfig) => TagInfo;
556
763
 
557
764
  declare const registerDefaultDiscoveryDataLoaders: () => void;
558
765
 
559
- declare const User$1: () => react_jsx_runtime.JSX.Element;
560
- //# sourceMappingURL=User.d.ts.map
561
-
562
- interface ServiceColorAndLabel {
563
- serviceName: string;
564
- color: string;
565
- label?: string;
566
- }
567
- interface ResourceTableConfig {
568
- title?: string;
569
- serviceColors?: Record<string, ServiceColorAndLabel>;
570
- }
571
- interface ProfileConfig {
572
- resourceTable?: ResourceTableConfig;
573
- hasExternalLogins?: boolean;
574
- }
575
- interface APICredentials {
576
- api_key: string;
577
- key_id: string;
578
- }
579
-
580
- declare const ProfileProvider: ({ children, profileConfig, }: {
581
- children: React__default.ReactNode;
582
- profileConfig: ProfileConfig;
583
- }) => react_jsx_runtime.JSX.Element;
584
- //# sourceMappingURL=ProfileProvider.d.ts.map
585
-
586
- interface ResourcesFiltersProps {
587
- setFilters: (filters: string[]) => void;
588
- selectedFilters: string[];
589
- }
590
- /**
591
- * ResourcesFilters creates a checkbox filter component from cached arborist data
592
- * and servicesAndMethods, useProfileContext context hooks.
593
- * @returns: A resourceFilter component for sorting permissions
594
- * chart on profile page by relevant microservices
595
- */
596
- declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFiltersProps) => react_jsx_runtime.JSX.Element;
597
- //# sourceMappingURL=ResourcesFilters.d.ts.map
598
-
599
- interface LoginButtonProps {
600
- readonly icon?: React__default.ReactElement | string;
601
- readonly hideText?: boolean;
602
- className?: string;
603
- tooltip?: string;
604
- visibility: LoginButtonVisibility;
605
- }
606
- declare const LoginButton: ({ icon, hideText, className, tooltip, visibility, }: LoginButtonProps) => react_jsx_runtime.JSX.Element | null;
607
- //# sourceMappingURL=LoginButton.d.ts.map
608
-
609
- declare const LoginProvidersPanel: ({ handleLoginSelected }: LoginSelectedProps) => react_jsx_runtime.JSX.Element;
610
- //# sourceMappingURL=LoginProvidersPanel.d.ts.map
611
-
612
- declare const LoginPanel: (loginConfig: LoginConfig) => react_jsx_runtime.JSX.Element;
613
- //# sourceMappingURL=LoginPanel.d.ts.map
614
-
615
- interface ButtonOptions {
616
- onClick?: () => void;
617
- hideModalOnClick?: boolean;
618
- title: string;
619
- dataTestId: string;
620
- }
621
- interface Props$3 {
622
- openModal: boolean;
623
- title: ReactNode;
624
- size?: string | number;
625
- children: ReactNode;
626
- leftButtons?: Array<ButtonOptions | JSX.Element>;
627
- buttons?: Array<ButtonOptions | JSX.Element>;
628
- withCloseButton?: boolean;
629
- onClose?: () => void;
630
- closeOnClickOutside?: boolean;
631
- closeOnEscape?: boolean;
632
- }
633
- /**
634
- * Creates a generalized modal that can be used for a wide variety of purposes.
635
- * @param openModal - Determines whether modal/drawer is opened
636
- * @param title - Modal title
637
- * @param size - Controls width of the content area, 'md' by default
638
- * @param children - Modal content
639
- * @param leftButtons - Mantine button component args for renderButtons component
640
- * @param buttons - Mantine button component args for renderButtons component
641
- * @param withCloseButton - Determines whether the close button should be rendered, true by default
642
- * @param onClose - Called when modal/drawer is closed
643
- * @param closeOnClickOutside - Determines whether the modal/drawer should be closed when user clicks on the overlay, true by default
644
- * @param closeOnEscape - Determines whether onClose should be called when user presses the escape key, true by default
645
- * @see https://mantine.dev/core/modal/
646
- * @returns a mantine modal with a built in button for closing the modal
647
- */
648
- declare const BaseModal: ({ openModal, title, size, children, leftButtons, buttons, withCloseButton, onClose, closeOnClickOutside, closeOnEscape, }: Props$3) => react_jsx_runtime.JSX.Element;
649
-
650
- interface BaseModalConfig {
651
- title?: string;
652
- }
653
- interface FirstTimeModalConfig extends BaseModalConfig {
654
- enabled?: boolean;
655
- content: TextContentProps;
656
- scrollToEnableAccept?: boolean;
657
- showOnlyOnLogin?: boolean;
658
- expireDays?: number;
659
- }
660
- interface ModalsConfig {
661
- systemUseModal?: FirstTimeModalConfig;
662
- }
663
-
664
- interface FirstTimeModalProps {
665
- readonly openModal: boolean;
666
- config: FirstTimeModalConfig;
667
- }
668
- declare const FirstTimeModal: ({ openModal, config, }: FirstTimeModalProps) => JSX.Element;
669
-
670
- declare const SessionExpiredModal: ({ openModal, }: {
671
- openModal: boolean;
672
- }) => JSX.Element;
673
-
674
- interface CreateCredentialsAPIKeyModalProps {
675
- openModal: boolean;
676
- credentials: APICredentials;
677
- }
678
- /**
679
- * Creates a specialized modal that is a parto of the Credentials component on the profile page
680
- * @param openModal - State tracking to keep track of wether the modal should be shown or hidden
681
- * @param credentials - The new fence credential that is to be shown in the modal
682
- */
683
- declare const CreateCredentialsAPIKeyModal: ({ openModal, credentials, }: CreateCredentialsAPIKeyModalProps) => JSX.Element;
684
-
685
- declare const NoAccessModal: ({ openModal, }: {
686
- openModal: boolean;
687
- }) => JSX.Element;
688
-
689
- interface Gen3StandardModalsProviderProps {
690
- config: ModalsConfig;
691
- children: React__default.ReactNode;
692
- }
693
- declare const Gen3ModalsProvider: ({ config, children, }: Gen3StandardModalsProviderProps) => react_jsx_runtime.JSX.Element;
694
- //# sourceMappingURL=Gen3ModalsProvider.d.ts.map
695
-
696
- declare const capitalize: (original: string) => string;
697
- declare const truncateString: (str: string, n: number) => string;
698
- declare const removeKey: (key: any, { [key]: _, ...rest }: {
699
- [x: string]: any;
700
- }) => {
701
- [x: string]: any;
702
- };
703
- declare const processLabel: (label: string) => string;
704
- declare const processRangeKeyLabel: (key: [number, number]) => string;
705
- /**
706
- * Computes the row span for each item in the charts object.
707
- *
708
- * @param { number } numItems - The charts object containing summary charts.
709
- * @param {number} [numCols=3] - The number of columns per row.
710
- * @returns {number[]} - An array of row spans for each item in the charts object.
711
- */
712
- declare const computeRowSpan: (numItems: number, numCols?: number) => Array<number>;
713
-
714
- interface ChartsProps {
715
- charts: Record<string, SummaryChart>;
716
- counts?: number;
717
- data: AggregationsData;
718
- isSuccess: boolean;
719
- isError?: boolean;
720
- numCols?: number;
721
- style?: 'tile' | 'box';
722
- showLegends?: boolean;
723
- }
724
- declare const Charts: ({ charts, data, counts, isSuccess, numCols, style, showLegends, }: ChartsProps) => react_jsx_runtime.JSX.Element;
725
-
726
- interface ReactEChartsProps {
727
- option: EChartsOption;
728
- style?: CSSProperties;
729
- settings?: SetOptionOpts;
730
- loading?: boolean;
731
- theme?: 'light' | 'dark';
732
- }
733
- declare const ReactECharts: ({ option, style, settings, loading, theme, }: ReactEChartsProps) => JSX.Element;
734
-
735
- /**
736
- * A BarChart for Enumerated Facets. The as the chart is wrapped from EnumFacet it does not
737
- * require the Core Data hooks.
738
- */
739
-
740
- interface FacetChartProps {
741
- readonly field: string;
742
- readonly data: Record<string, number>;
743
- readonly selectedEnums: EnumFilterValue;
744
- readonly isSuccess: boolean;
745
- readonly height?: number;
746
- readonly showTitle?: boolean;
747
- readonly maxBins?: number;
748
- readonly valueLabel?: string;
749
- }
750
- declare const EnumFacetChart: React__default.FC<FacetChartProps>;
751
-
752
766
  type RendererFunction<T> = (props: T, ...params: any[]) => ReactNode;
753
767
  interface RendererFunctionCatalogEntry<T> {
754
768
  [key: string]: RendererFunction<T>;
@@ -853,8 +867,13 @@ interface SummaryTable {
853
867
  /**
854
868
  * Represents the props required for a cell renderer function.
855
869
  */
856
- interface CellRendererFunctionProps {
857
- cell: MRT_Cell<JSONObject>;
870
+ interface CellRendererFunctionProps<T extends MRT_RowData = JSONObject> {
871
+ cell: MRT_Cell<T>;
872
+ renderedCellValue: ReactNode;
873
+ column: MRT_Column<T>;
874
+ row: MRT_Row<T>;
875
+ rowRef?: RefObject<HTMLTableRowElement> | undefined;
876
+ table: MRT_TableInstance<T>;
858
877
  params?: Record<string, unknown>;
859
878
  }
860
879
 
@@ -949,12 +968,47 @@ interface GqlQueryEditorProps extends GqlQueryEndpointProps {
949
968
  declare const GqlQueryEditor: ({ graphQLEndpoint, }: GqlQueryEditorProps) => ReactElement;
950
969
  //# sourceMappingURL=GqlQueryEditor.d.ts.map
951
970
 
952
- declare const WorkspacesPanel: () => react_jsx_runtime.JSX.Element;
953
- //# sourceMappingURL=WorkspacesPanel.d.ts.map
954
-
955
- interface WorkspaceConfiguration extends Record<string, any> {
971
+ interface WorkspaceAdditionalInfo {
972
+ title?: string;
973
+ description?: string;
974
+ icon?: string;
975
+ image?: string;
976
+ }
977
+ interface LaunchStepIndicatorConfiguration {
978
+ steps: Array<{
979
+ label: string;
980
+ description?: string;
981
+ }>;
982
+ }
983
+ interface WorkspaceConfig {
956
984
  title?: string;
985
+ workspaceInfo?: Record<string, WorkspaceAdditionalInfo>;
986
+ launchStepIndicatorConfig: LaunchStepIndicatorConfiguration;
987
+ }
988
+
989
+ interface WorkspaceProps {
990
+ config: WorkspaceConfig;
991
+ }
992
+ declare const Workspace: ({ config }: WorkspaceProps) => react_jsx_runtime.JSX.Element;
993
+ //# sourceMappingURL=Workspace.d.ts.map
994
+
995
+ interface AnalysisToolConfig {
996
+ title: string;
997
+ image?: string;
998
+ icon: string | ReactElement;
999
+ type: string;
1000
+ description: string;
1001
+ hasDemo?: boolean;
1002
+ loginRequired: boolean;
1003
+ href: string;
957
1004
  }
1005
+ interface AnalysisCenterConfiguration {
1006
+ tools: Array<AnalysisToolConfig>;
1007
+ showFilterAndSort?: boolean;
1008
+ }
1009
+
1010
+ declare const AnalysisCenter: ({ tools, showFilterAndSort, }: AnalysisCenterConfiguration) => ReactElement;
1011
+ //# sourceMappingURL=AnalysisCenter.d.ts.map
958
1012
 
959
1013
  declare const create10ColorPallet: (mainColor: string) => Record<string, string>;
960
1014
  declare const create10ColorAccessibleContrast: (pallet: Record<string, string>) => Record<string, string>;
@@ -1011,6 +1065,7 @@ declare const getNavPageLayoutPropsFromConfig: () => Promise<NavPageLayoutProps>
1011
1065
 
1012
1066
  interface ContentSource$1 {
1013
1067
  get<T extends Record<string, undefined>>(filepath: string): Promise<T>;
1068
+ getAll<T extends Record<string, unknown>>(filepath: string, filter: string): Promise<Array<T>>;
1014
1069
  }
1015
1070
  interface Gen3Icon {
1016
1071
  body: string;
@@ -1044,6 +1099,7 @@ declare class ContentDatabase {
1044
1099
  store: ContentSource$1;
1045
1100
  constructor(config: CreateDatabase);
1046
1101
  get<T extends Record<string, any>>(filepath: string): Promise<T>;
1102
+ getAll<T extends Record<string, any>>(filepath: string, filter: string): Promise<Array<T>>;
1047
1103
  }
1048
1104
 
1049
1105
  declare const ContentSource: ContentDatabase;
@@ -1074,11 +1130,11 @@ interface SessionConfiguration {
1074
1130
  logoutInactiveUsers?: boolean;
1075
1131
  }
1076
1132
 
1077
- interface ErrorCardProps {
1133
+ interface MessageTextProps {
1078
1134
  message: string;
1079
- icon?: ReactElement;
1080
1135
  }
1081
- declare const ErrorCard: React__default.FunctionComponent<ErrorCardProps>;
1136
+
1137
+ declare const ErrorCard: React__default.FunctionComponent<MessageTextProps>;
1082
1138
  //# sourceMappingURL=ErrorCard.d.ts.map
1083
1139
 
1084
1140
  declare const registerCohortDiscoveryApp: () => React$1.ReactNode;
@@ -1087,7 +1143,7 @@ declare const registerCohortDiversityApp: () => React$1.ReactNode;
1087
1143
 
1088
1144
  interface Gen3ProviderProps {
1089
1145
  colors: Record<string, TenStringArray>;
1090
- icons: RegisteredIcons;
1146
+ icons: Array<RegisteredIcons>;
1091
1147
  fonts: Fonts;
1092
1148
  sessionConfig: SessionConfiguration;
1093
1149
  modalsConfig: ModalsConfig;
@@ -1166,10 +1222,10 @@ interface LandingPageProps {
1166
1222
  }>;
1167
1223
  }
1168
1224
 
1169
- interface Props$2 extends NavPageLayoutProps {
1225
+ interface Props$3 extends NavPageLayoutProps {
1170
1226
  landingPage: LandingPageProps;
1171
1227
  }
1172
- declare const LandingPage: ({ headerProps, footerProps, landingPage }: Props$2) => react_jsx_runtime.JSX.Element;
1228
+ declare const LandingPage: ({ headerProps, footerProps, landingPage }: Props$3) => react_jsx_runtime.JSX.Element;
1173
1229
  //# sourceMappingURL=Landing.d.ts.map
1174
1230
 
1175
1231
  declare const LandingPageGetStaticProps: GetStaticProps;
@@ -1186,10 +1242,10 @@ declare const ColorThemePage: ({ headerProps, footerProps }: NavPageLayoutProps)
1186
1242
 
1187
1243
  declare const ColorThemePageGetServerSideProps: GetServerSideProps<NavPageLayoutProps>;
1188
1244
 
1189
- interface Props$1 extends NavPageLayoutProps {
1245
+ interface Props$2 extends NavPageLayoutProps {
1190
1246
  profileConfig: ProfileConfig;
1191
1247
  }
1192
- declare const ProfilePage: ({ headerProps, footerProps, profileConfig }: Props$1) => react_jsx_runtime.JSX.Element;
1248
+ declare const ProfilePage: ({ headerProps, footerProps, profileConfig }: Props$2) => react_jsx_runtime.JSX.Element;
1193
1249
  //# sourceMappingURL=Profile.d.ts.map
1194
1250
 
1195
1251
  declare const ProfilePageGetServerSideProps: GetServerSideProps<NavPageLayoutProps>;
@@ -1268,10 +1324,10 @@ interface Authz {
1268
1324
  resources: Resource[];
1269
1325
  }
1270
1326
 
1271
- interface Props extends NavPageLayoutProps {
1327
+ interface Props$1 extends NavPageLayoutProps {
1272
1328
  authz: Authz;
1273
1329
  }
1274
- declare const AuthzPage: ({ headerProps, footerProps, authz }: Props) => react_jsx_runtime.JSX.Element;
1330
+ declare const AuthzPage: ({ headerProps, footerProps, authz }: Props$1) => react_jsx_runtime.JSX.Element;
1275
1331
  //# sourceMappingURL=Authz.d.ts.map
1276
1332
 
1277
1333
  declare const AdminAuthZPageGetServerSideProps: () => Promise<{
@@ -1309,20 +1365,53 @@ declare const SubmissionPage: ({ submissionConfig, headerProps, footerProps, }:
1309
1365
 
1310
1366
  declare const SubmissionPageGetServerSideProps: GetServerSideProps<SubmissionsPageLayoutProps>;
1311
1367
 
1312
- interface WorkspacePageProps extends NavPageLayoutProps {
1313
- workspaceProps: WorkspaceConfiguration;
1368
+ interface WorkspacePageLayoutProps extends NavPageLayoutProps {
1369
+ workspaceProps: WorkspaceConfig;
1370
+ }
1371
+
1372
+ declare const WorkspacePage: ({ headerProps, footerProps, workspaceProps, }: WorkspacePageLayoutProps) => JSX.Element;
1373
+ //# sourceMappingURL=Workspace.d.ts.map
1374
+
1375
+ declare const WorkspaceNoAccessPage: ({ headerProps, footerProps, }: NavPageLayoutProps) => JSX.Element;
1376
+ //# sourceMappingURL=WorkspaceNoAccess.d.ts.map
1377
+
1378
+ declare const WorkspacePageGetServerSideProps: GetServerSideProps<WorkspacePageLayoutProps>;
1379
+ declare const WorkspaceNoAccessPageServerSideProps: GetServerSideProps<NavPageLayoutProps>;
1380
+
1381
+ interface AnalysisPageLayoutProps extends NavPageLayoutProps {
1382
+ tools: Array<AnalysisToolConfig>;
1314
1383
  }
1315
1384
 
1316
- declare const WorkspacesPage: ({ headerProps, footerProps, workspaceProps, }: WorkspacePageProps) => JSX.Element;
1317
- //# sourceMappingURL=Workspaces.d.ts.map
1385
+ declare const AnalysisPage: ({ headerProps, footerProps, tools, }: AnalysisPageLayoutProps) => JSX.Element;
1386
+ //# sourceMappingURL=Analysis.d.ts.map
1387
+
1388
+ declare const AnalysisPageGetServerSideProps: GetServerSideProps<AnalysisPageLayoutProps>;
1318
1389
 
1319
- declare const WorkspacesPageGetServerSideProps: GetServerSideProps<WorkspacePageProps>;
1390
+ interface Props extends NavPageLayoutProps {
1391
+ analysisFile?: any;
1392
+ }
1393
+ declare const AnalysisEditorPage: ({ headerProps, footerProps, analysisFile, }: Props) => react_jsx_runtime.JSX.Element;
1394
+ //# sourceMappingURL=Analysis.d.ts.map
1395
+
1396
+ declare const AnalysisEditorPageGetServerSideProps: () => Promise<{
1397
+ props: {
1398
+ headerProps: Readonly<HeaderProps>;
1399
+ footerProps: Readonly<FooterProps>;
1400
+ mainProps?: Partial<MainContentProps>;
1401
+ headerData: HeaderData;
1402
+ };
1403
+ }>;
1320
1404
 
1321
1405
  declare const AISearchPage: ({ headerProps, footerProps, }: NavPageLayoutProps) => JSX.Element;
1322
1406
  //# sourceMappingURL=AiSearch.d.ts.map
1323
1407
 
1324
1408
  declare const AISearchPageGetServerSideProps: GetServerSideProps<NavPageLayoutProps>;
1325
1409
 
1410
+ declare const NotebookLitePage: ({ headerProps, footerProps }: NavPageLayoutProps) => react_jsx_runtime.JSX.Element;
1411
+ //# sourceMappingURL=NotebookLite.d.ts.map
1412
+
1413
+ declare const NotebookLitePageGetStaticProps: GetStaticProps;
1414
+
1326
1415
  interface CrosswalkName {
1327
1416
  id: string;
1328
1417
  label: string;
@@ -1417,4 +1506,4 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
1417
1506
 
1418
1507
  declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
1419
1508
 
1420
- export { AISearchPageGetServerSideProps, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AuthzPage, type BannerProps, BaseModal, type CellRenderFunctionProps, type CellRendererFunctionProps, type ChartProps, Charts, CohortBuilder, type CohortBuilderConfiguration, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, type DiscoveryConfig, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, type Fonts, Footer, type FooterProps, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, type HeaderProps, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton, type LoginConfig, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, type ModalsConfig, NavPageLayout, type NavPageLayoutProps, NavigationBar, NavigationButton, type NavigationProps, NoAccessModal, type ProfileConfig, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, QueryPage, QueryPageGetServerSideProps, ReactECharts, type ReactEChartsProps, type RegisteredIcons, ResourcesFilters, type RowRenderFunctionParams, SPECIAL_CASE_FIELDS, type SessionConfiguration, SessionExpiredModal, type StudyDetailsField, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, type SummaryChart, type TableDetailsPanelProps, TagCloud, type TagData, type TagsConfig, TailwindConfig, type TenStringArray, type TopBarProps, User$1 as User, type WorkspaceConfiguration, WorkspacesPage, WorkspacesPageGetServerSideProps, WorkspacesPanel, capitalize, computeRowSpan, create10ColorAccessibleContrast, create10ColorPallet, export_default$1 as credentialsLogin, export_default as credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform, processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortDiversityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, removeKey, resourcePathFromProjectID, export_default$2 as sessionLogout, export_default$3 as sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource };
1509
+ export { AISearchPageGetServerSideProps, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, type BannerProps, BaseModal, type CellRenderFunctionProps, type CellRendererFunctionProps, type ChartProps, Charts, CohortBuilder, type CohortBuilderConfiguration, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, type DiscoveryConfig, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, type ExplorerPageProps, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, type Fonts, Footer, type FooterProps, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, type HeaderProps, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton, type LoginConfig, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, type ModalsConfig, NavPageLayout, type NavPageLayoutProps, NavigationBar, NavigationButton, type NavigationProps, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, type ProfileConfig, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryPage, QueryPageGetServerSideProps, ReactECharts, type ReactEChartsProps, type RegisteredIcons, ResourcesFilters, type RowRenderFunctionParams, SPECIAL_CASE_FIELDS, type SessionConfiguration, SessionExpiredModal, type StudyDetailsField, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, type SummaryChart, type TableDetailsPanelProps, TagCloud, type TagData, type TagsConfig, TailwindConfig, type TenStringArray, type TopBarProps, User$1 as User, Workspace, type WorkspaceConfig, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, capitalize, computeRowSpan, create10ColorAccessibleContrast, create10ColorPallet, export_default$1 as credentialsLogin, export_default as credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform, processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortDiversityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, removeKey, resourcePathFromProjectID, export_default$2 as sessionLogout, export_default$3 as sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource };