synapse-react-client 4.0.36 → 4.0.38

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 (316) hide show
  1. package/dist/SWC.index.js +1 -1
  2. package/dist/aridhia-queries/index.js +11 -11
  3. package/dist/aridhia-queries/useAridhiaQuery.d.ts +1 -0
  4. package/dist/aridhia-queries/useAridhiaQuery.d.ts.map +1 -1
  5. package/dist/aridhia-queries/useAridhiaQuery.js +24 -17
  6. package/dist/aridhia-queries/useAridhiaQuery.js.map +1 -1
  7. package/dist/assets/icons/emailWithNotification.js +15 -15
  8. package/dist/assets/icons/emailWithNotification.js.map +1 -1
  9. package/dist/assets/icons/emailWithNotification.svg +13 -13
  10. package/dist/components/AccessRequirementList/AccessRequirementList.d.ts.map +1 -1
  11. package/dist/components/AccessRequirementList/AccessRequirementList.js +124 -117
  12. package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
  13. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.d.ts.map +1 -1
  14. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.js +1 -1
  15. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.js.map +1 -1
  16. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.d.ts.map +1 -1
  17. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js +1 -1
  18. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js.map +1 -1
  19. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.d.ts.map +1 -1
  20. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.js +33 -32
  21. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.js.map +1 -1
  22. package/dist/components/Aridhia/AridhiaAccessStatus.d.ts.map +1 -1
  23. package/dist/components/Aridhia/AridhiaAccessStatus.js +39 -18
  24. package/dist/components/Aridhia/AridhiaAccessStatus.js.map +1 -1
  25. package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.d.ts +32 -0
  26. package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.d.ts.map +1 -0
  27. package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.js +285 -0
  28. package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.js.map +1 -0
  29. package/dist/components/Aridhia/DarWizard/DarAboutStep.d.ts +4 -0
  30. package/dist/components/Aridhia/DarWizard/DarAboutStep.d.ts.map +1 -0
  31. package/dist/components/Aridhia/DarWizard/DarAboutStep.js +17 -0
  32. package/dist/components/Aridhia/DarWizard/DarAboutStep.js.map +1 -0
  33. package/dist/components/Aridhia/DarWizard/DarCompleteStep.d.ts +27 -0
  34. package/dist/components/Aridhia/DarWizard/DarCompleteStep.d.ts.map +1 -0
  35. package/dist/components/Aridhia/DarWizard/DarCompleteStep.js +96 -0
  36. package/dist/components/Aridhia/DarWizard/DarCompleteStep.js.map +1 -0
  37. package/dist/components/Aridhia/DarWizard/DarDestinationStep.d.ts +28 -0
  38. package/dist/components/Aridhia/DarWizard/DarDestinationStep.d.ts.map +1 -0
  39. package/dist/components/Aridhia/DarWizard/DarDestinationStep.js +128 -0
  40. package/dist/components/Aridhia/DarWizard/DarDestinationStep.js.map +1 -0
  41. package/dist/components/Aridhia/DarWizard/DarProjectStep.d.ts +4 -0
  42. package/dist/components/Aridhia/DarWizard/DarProjectStep.d.ts.map +1 -0
  43. package/dist/components/Aridhia/DarWizard/DarProjectStep.js +17 -0
  44. package/dist/components/Aridhia/DarWizard/DarProjectStep.js.map +1 -0
  45. package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts +13 -0
  46. package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts.map +1 -0
  47. package/dist/components/Aridhia/DarWizard/DarSectionForm.js +23 -0
  48. package/dist/components/Aridhia/DarWizard/DarSectionForm.js.map +1 -0
  49. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts +11 -0
  50. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts.map +1 -0
  51. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js +47 -0
  52. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js.map +1 -0
  53. package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.d.ts +16 -0
  54. package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.d.ts.map +1 -0
  55. package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.js +33 -0
  56. package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.js.map +1 -0
  57. package/dist/components/Aridhia/DarWizard/useDarDraft.d.ts +32 -0
  58. package/dist/components/Aridhia/DarWizard/useDarDraft.d.ts.map +1 -0
  59. package/dist/components/Aridhia/DarWizard/useDarDraft.js +44 -0
  60. package/dist/components/Aridhia/DarWizard/useDarDraft.js.map +1 -0
  61. package/dist/components/Aridhia/FairLabelField.d.ts +8 -0
  62. package/dist/components/Aridhia/FairLabelField.d.ts.map +1 -0
  63. package/dist/components/Aridhia/FairLabelField.js +13 -0
  64. package/dist/components/Aridhia/FairLabelField.js.map +1 -0
  65. package/dist/components/Aridhia/fairFormToRjsf.d.ts +36 -0
  66. package/dist/components/Aridhia/fairFormToRjsf.d.ts.map +1 -0
  67. package/dist/components/Aridhia/fairFormToRjsf.js +137 -0
  68. package/dist/components/Aridhia/fairFormToRjsf.js.map +1 -0
  69. package/dist/components/CannedRejectionDialog/CannedRejectionDialog.d.ts.map +1 -1
  70. package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js +2 -2
  71. package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js.map +1 -1
  72. package/dist/components/CardContainer/CardContainer.d.ts.map +1 -1
  73. package/dist/components/CardContainer/CardContainer.js +1 -1
  74. package/dist/components/CardContainer/CardContainer.js.map +1 -1
  75. package/dist/components/ChallengeSubmission/ChallengeSubmission.d.ts.map +1 -1
  76. package/dist/components/ChallengeSubmission/ChallengeSubmission.js +2 -2
  77. package/dist/components/ChallengeSubmission/ChallengeSubmission.js.map +1 -1
  78. package/dist/components/ChallengeTeamWizard/ChallengeTeamWizard.d.ts.map +1 -1
  79. package/dist/components/ChallengeTeamWizard/ChallengeTeamWizard.js +3 -3
  80. package/dist/components/ChallengeTeamWizard/ChallengeTeamWizard.js.map +1 -1
  81. package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.js +1 -1
  82. package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.js.map +1 -1
  83. package/dist/components/CreateTableViewWizard/CreateTableViewWizard.js +2 -2
  84. package/dist/components/CreateTableViewWizard/CreateTableViewWizard.js.map +1 -1
  85. package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
  86. package/dist/components/DataGrid/SynapseGrid.js +121 -117
  87. package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
  88. package/dist/components/DataGrid/columns/DateTimeColumn.d.ts +21 -1
  89. package/dist/components/DataGrid/columns/DateTimeColumn.d.ts.map +1 -1
  90. package/dist/components/DataGrid/columns/DateTimeColumn.js +73 -29
  91. package/dist/components/DataGrid/columns/DateTimeColumn.js.map +1 -1
  92. package/dist/components/DataGrid/columns/NumberColumn.d.ts +31 -0
  93. package/dist/components/DataGrid/columns/NumberColumn.d.ts.map +1 -0
  94. package/dist/components/DataGrid/columns/NumberColumn.js +27 -0
  95. package/dist/components/DataGrid/columns/NumberColumn.js.map +1 -0
  96. package/dist/components/DataGrid/components/ReorderColumnsButton.d.ts +1 -0
  97. package/dist/components/DataGrid/components/ReorderColumnsButton.d.ts.map +1 -1
  98. package/dist/components/DataGrid/components/ReorderColumnsButton.js +17 -16
  99. package/dist/components/DataGrid/components/ReorderColumnsButton.js.map +1 -1
  100. package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts +2 -0
  101. package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts.map +1 -1
  102. package/dist/components/DataGrid/components/ReorderColumnsDialog.js +104 -65
  103. package/dist/components/DataGrid/components/ReorderColumnsDialog.js.map +1 -1
  104. package/dist/components/DataGrid/useDataGridWebsocket.js +1 -1
  105. package/dist/components/DataGrid/useDataGridWebsocket.js.map +1 -1
  106. package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
  107. package/dist/components/DataGrid/utils/columnFactory.js +55 -51
  108. package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
  109. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.d.ts.map +1 -1
  110. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.js +9 -8
  111. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.js.map +1 -1
  112. package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts +10 -5
  113. package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts.map +1 -1
  114. package/dist/components/DatasetHosting/DatasetDownloadButton.js +66 -74
  115. package/dist/components/DatasetHosting/DatasetDownloadButton.js.map +1 -1
  116. package/dist/components/DatasetHosting/DatasetHosting.d.ts +6 -0
  117. package/dist/components/DatasetHosting/DatasetHosting.d.ts.map +1 -1
  118. package/dist/components/DatasetHosting/DatasetHosting.js +6 -0
  119. package/dist/components/DatasetHosting/DatasetHosting.js.map +1 -1
  120. package/dist/components/DatasetHosting/DatasetHostingAdornment.d.ts +15 -0
  121. package/dist/components/DatasetHosting/DatasetHostingAdornment.d.ts.map +1 -0
  122. package/dist/components/DatasetHosting/DatasetHostingAdornment.js +23 -0
  123. package/dist/components/DatasetHosting/DatasetHostingAdornment.js.map +1 -0
  124. package/dist/components/DatasetHosting/index.d.ts +2 -0
  125. package/dist/components/DatasetHosting/index.d.ts.map +1 -1
  126. package/dist/components/DatasetHosting/index.js +2 -1
  127. package/dist/components/DownloadCart/DownloadCartPage.d.ts.map +1 -1
  128. package/dist/components/DownloadCart/DownloadCartPage.js +1 -1
  129. package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
  130. package/dist/components/DropdownSelect/DropdownSelect.d.ts.map +1 -1
  131. package/dist/components/DropdownSelect/DropdownSelect.js +1 -1
  132. package/dist/components/DropdownSelect/DropdownSelect.js.map +1 -1
  133. package/dist/components/EntityFinder/tree/EntityTree.d.ts.map +1 -1
  134. package/dist/components/EntityFinder/tree/EntityTree.js +1 -1
  135. package/dist/components/EntityFinder/tree/EntityTree.js.map +1 -1
  136. package/dist/components/EntityFinder/tree/VirtualizedTree.js +1 -1
  137. package/dist/components/EntityFinder/tree/VirtualizedTree.js.map +1 -1
  138. package/dist/components/FeaturedDataTabs/FacetPlotsCard.js +1 -1
  139. package/dist/components/FeaturedDataTabs/FacetPlotsCard.js.map +1 -1
  140. package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
  141. package/dist/components/GenericCard/TableRowGenericCard.js +176 -170
  142. package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
  143. package/dist/components/JsonSchemaForm/CustomFormContext.d.ts +9 -0
  144. package/dist/components/JsonSchemaForm/CustomFormContext.d.ts.map +1 -1
  145. package/dist/components/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
  146. package/dist/components/JsonSchemaForm/JsonSchemaForm.js +2 -1
  147. package/dist/components/JsonSchemaForm/JsonSchemaForm.js.map +1 -1
  148. package/dist/components/JsonSchemaForm/templates/ArrayFieldTemplate.d.ts.map +1 -1
  149. package/dist/components/JsonSchemaForm/templates/ArrayFieldTemplate.js +1 -1
  150. package/dist/components/JsonSchemaForm/templates/ArrayFieldTemplate.js.map +1 -1
  151. package/dist/components/JsonSchemaForm/templates/FieldTemplate.d.ts.map +1 -1
  152. package/dist/components/JsonSchemaForm/templates/FieldTemplate.js +6 -6
  153. package/dist/components/JsonSchemaForm/templates/FieldTemplate.js.map +1 -1
  154. package/dist/components/JsonSchemaForm/widgets/DateWidget.d.ts +9 -0
  155. package/dist/components/JsonSchemaForm/widgets/DateWidget.d.ts.map +1 -0
  156. package/dist/components/JsonSchemaForm/widgets/DateWidget.js +23 -0
  157. package/dist/components/JsonSchemaForm/widgets/DateWidget.js.map +1 -0
  158. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.css +1 -1
  159. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.d.ts +3 -2
  160. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.d.ts.map +1 -1
  161. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.js +10 -12
  162. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.js.map +1 -1
  163. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.module.js +8 -7
  164. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.module.js.map +1 -1
  165. package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.module.scss +12 -2
  166. package/dist/components/Markdown/MarkdownEditor.js +1 -1
  167. package/dist/components/Markdown/MarkdownEditor.js.map +1 -1
  168. package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
  169. package/dist/components/ProvenanceGraph/ProvenanceGraph.js +46 -46
  170. package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
  171. package/dist/components/QueryBuilder/queryBuilderTranslation.js +1 -1
  172. package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -1
  173. package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js +1 -1
  174. package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js.map +1 -1
  175. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +1 -1
  176. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
  177. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +27 -25
  178. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
  179. package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.d.ts +0 -9
  180. package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.d.ts.map +1 -1
  181. package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.js +23 -31
  182. package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.js.map +1 -1
  183. package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.d.ts.map +1 -1
  184. package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js +5 -4
  185. package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js.map +1 -1
  186. package/dist/components/SchemaDrivenAnnotationEditor/field/SynapseAnnotationsRJSFObjectField.d.ts.map +1 -1
  187. package/dist/components/SchemaDrivenAnnotationEditor/field/SynapseAnnotationsRJSFObjectField.js +6 -5
  188. package/dist/components/SchemaDrivenAnnotationEditor/field/SynapseAnnotationsRJSFObjectField.js.map +1 -1
  189. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +2 -0
  190. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
  191. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +18 -13
  192. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
  193. package/dist/components/StatisticsPlot.d.ts.map +1 -1
  194. package/dist/components/StatisticsPlot.js +1 -1
  195. package/dist/components/StatisticsPlot.js.map +1 -1
  196. package/dist/components/SynapseForm/SynapseFormWrapper.js +1 -1
  197. package/dist/components/SynapseForm/SynapseFormWrapper.js.map +1 -1
  198. package/dist/components/SynapseHomepageV2/HotdropsAndNews.css +1 -1
  199. package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js +9 -9
  200. package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js.map +1 -1
  201. package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.scss +15 -0
  202. package/dist/components/SynapseHomepageV2/SynapseHomepageChatSearch.js +1 -1
  203. package/dist/components/SynapseHomepageV2/SynapseHomepageChatSearch.js.map +1 -1
  204. package/dist/components/SynapseSearchPageResults/SynapseSearchPage.js +1 -1
  205. package/dist/components/SynapseSearchPageResults/SynapseSearchPage.js.map +1 -1
  206. package/dist/components/SynapseTable/SynapseTableRenderers.d.ts.map +1 -1
  207. package/dist/components/SynapseTable/SynapseTableRenderers.js +1 -1
  208. package/dist/components/SynapseTable/SynapseTableRenderers.js.map +1 -1
  209. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts +4 -0
  210. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts.map +1 -1
  211. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js +71 -69
  212. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js.map +1 -1
  213. package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts +4 -0
  214. package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts.map +1 -1
  215. package/dist/components/SynapseTable/table-top/DownloadOptions.js +14 -13
  216. package/dist/components/SynapseTable/table-top/DownloadOptions.js.map +1 -1
  217. package/dist/components/SynapseTable/usePrefetchTableData.js +1 -1
  218. package/dist/components/SynapseTable/usePrefetchTableData.js.map +1 -1
  219. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormReducer.js +4 -4
  220. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormReducer.js.map +1 -1
  221. package/dist/components/TanStackTable/TableCellRenderer.d.ts.map +1 -1
  222. package/dist/components/TanStackTable/TableCellRenderer.js +1 -1
  223. package/dist/components/TanStackTable/TableCellRenderer.js.map +1 -1
  224. package/dist/components/TermsAndConditions/TermsAndConditions.js +1 -1
  225. package/dist/components/TermsAndConditions/TermsAndConditions.js.map +1 -1
  226. package/dist/components/Webhook/CreateWebhookModal.d.ts.map +1 -1
  227. package/dist/components/Webhook/CreateWebhookModal.js +1 -1
  228. package/dist/components/Webhook/CreateWebhookModal.js.map +1 -1
  229. package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.d.ts.map +1 -1
  230. package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js +172 -63
  231. package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js.map +1 -1
  232. package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.d.ts +3 -0
  233. package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.d.ts.map +1 -1
  234. package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.js +2 -2
  235. package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.js.map +1 -1
  236. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.d.ts.map +1 -1
  237. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js +10 -8
  238. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js.map +1 -1
  239. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPlace.d.ts.map +1 -1
  240. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPlace.js +74 -43
  241. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPlace.js.map +1 -1
  242. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryTable.d.ts.map +1 -1
  243. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryTable.js +2 -2
  244. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryTable.js.map +1 -1
  245. package/dist/components/doi/CreateOrUpdateDoiModal.js +5 -5
  246. package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
  247. package/dist/components/entity/metadata/EntityModal.js +1 -1
  248. package/dist/components/entity/metadata/EntityModal.js.map +1 -1
  249. package/dist/components/entity/page/action_menu/EntityActionMenu.js +2 -2
  250. package/dist/components/entity/page/action_menu/EntityActionMenu.js.map +1 -1
  251. package/dist/components/index.js +113 -112
  252. package/dist/components/menu/DropdownMenu.d.ts.map +1 -1
  253. package/dist/components/menu/DropdownMenu.js +1 -1
  254. package/dist/components/menu/DropdownMenu.js.map +1 -1
  255. package/dist/components/row_renderers/Dataset.js +1 -1
  256. package/dist/components/row_renderers/Dataset.js.map +1 -1
  257. package/dist/components/styled/LeftRightPanel.d.ts +8 -0
  258. package/dist/components/styled/LeftRightPanel.d.ts.map +1 -1
  259. package/dist/components/styled/LeftRightPanel.js +10 -1
  260. package/dist/components/styled/LeftRightPanel.js.map +1 -1
  261. package/dist/components/widgets/facet-nav/FacetNavPanel.js +1 -1
  262. package/dist/components/widgets/facet-nav/FacetNavPanel.js.map +1 -1
  263. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts.map +1 -1
  264. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js +1 -1
  265. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js.map +1 -1
  266. package/dist/components/widgets/query-filter/FacetFilterControls.js +1 -1
  267. package/dist/components/widgets/query-filter/FacetFilterControls.js.map +1 -1
  268. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.d.ts.map +1 -1
  269. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +1 -1
  270. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
  271. package/dist/index.js +174 -173
  272. package/dist/index.js.map +1 -1
  273. package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts +73 -0
  274. package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts.map +1 -0
  275. package/dist/mocks/msw/handlers/aridhiaHandlers.js +119 -0
  276. package/dist/mocks/msw/handlers/aridhiaHandlers.js.map +1 -0
  277. package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js +1 -1
  278. package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js.map +1 -1
  279. package/dist/mocks/msw/handlers/entityHandlers.d.ts.map +1 -1
  280. package/dist/mocks/msw/handlers/entityHandlers.js +4 -4
  281. package/dist/mocks/msw/handlers/entityHandlers.js.map +1 -1
  282. package/dist/mocks/msw/handlers/userProfileHandlers.js +2 -2
  283. package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
  284. package/dist/mocks/msw/handlers.d.ts.map +1 -1
  285. package/dist/mocks/msw/handlers.js +72 -69
  286. package/dist/mocks/msw/handlers.js.map +1 -1
  287. package/dist/style/components/_terms-and-conditions.scss +25 -3
  288. package/dist/style/main.css +1 -1
  289. package/dist/testutils/RjsfFormTestUtils.js +12 -0
  290. package/dist/testutils/RjsfFormTestUtils.js.map +1 -0
  291. package/dist/tsconfig.build.tsbuildinfo +1 -1
  292. package/dist/utils/featureflag/FeatureFlags.d.ts +1 -0
  293. package/dist/utils/featureflag/FeatureFlags.d.ts.map +1 -1
  294. package/dist/utils/featureflag/FeatureFlags.js +1 -1
  295. package/dist/utils/featureflag/FeatureFlags.js.map +1 -1
  296. package/dist/utils/functions/QueryFilterUtils.js +1 -1
  297. package/dist/utils/functions/QueryFilterUtils.js.map +1 -1
  298. package/dist/utils/functions/SqlFunctions.js +1 -1
  299. package/dist/utils/functions/SqlFunctions.js.map +1 -1
  300. package/dist/utils/functions/queryUtils.js +1 -1
  301. package/dist/utils/functions/queryUtils.js.map +1 -1
  302. package/dist/utils/hooks/useDetectSSOCode.d.ts.map +1 -1
  303. package/dist/utils/hooks/useDetectSSOCode.js +1 -1
  304. package/dist/utils/hooks/useDetectSSOCode.js.map +1 -1
  305. package/dist/utils/hooks/useImmutableTableQuery/useImmutableTableQuery.js +1 -1
  306. package/dist/utils/hooks/useImmutableTableQuery/useImmutableTableQuery.js.map +1 -1
  307. package/dist/utils/jsonschema/SchemaAnnotationUtils.js +1 -1
  308. package/dist/utils/jsonschema/SchemaAnnotationUtils.js.map +1 -1
  309. package/dist/utils/jsonschema/collectTopLevelProperties.d.ts +22 -0
  310. package/dist/utils/jsonschema/collectTopLevelProperties.d.ts.map +1 -0
  311. package/dist/utils/jsonschema/collectTopLevelProperties.js +31 -0
  312. package/dist/utils/jsonschema/collectTopLevelProperties.js.map +1 -0
  313. package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts.map +1 -1
  314. package/dist/utils/jsonschema/getSchemaPropertyInfo.js +1 -1
  315. package/dist/utils/jsonschema/getSchemaPropertyInfo.js.map +1 -1
  316. package/package.json +5 -5
@@ -37,196 +37,197 @@ import z from "./Icon/Icon.js";
37
37
  import B from "./ShowMore/ShowMore.js";
38
38
  import { StyledFormControl as V } from "./styled/StyledFormControl.js";
39
39
  import { DATASET_HOSTING_CONFIG as H, fillRepository as U, normalizeHosting as W } from "./DatasetHosting/DatasetHosting.js";
40
- import { EntityDownloadConfirmation as G } from "./EntityDownloadConfirmation/EntityDownloadConfirmation.js";
40
+ import { DatasetDownloadButton as G } from "./DatasetHosting/DatasetDownloadButton.js";
41
+ import { DatasetHostingAdornment as K } from "./DatasetHosting/DatasetHostingAdornment.js";
42
+ import { EntityDownloadConfirmation as q } from "./EntityDownloadConfirmation/EntityDownloadConfirmation.js";
41
43
  import "./EntityDownloadConfirmation/index.js";
42
- import { DatasetDownloadButton as K } from "./DatasetHosting/DatasetDownloadButton.js";
43
- import { QueryContext as q, QueryContextConsumer as J, QueryContextProvider as Y, useQueryContext as X } from "./QueryContext/QueryContext.js";
44
+ import { QueryContext as J, QueryContextConsumer as Y, QueryContextProvider as X, useQueryContext as Z } from "./QueryContext/QueryContext.js";
44
45
  import "./QueryContext/index.js";
45
- import { CARD_SHORT_DESCRIPTION_CSS as Z, LongDescription as Q, ShortDescription as ne } from "./GenericCard/CollapsibleDescription.js";
46
- import { GenericCard as re } from "./GenericCard/GenericCard.js";
47
- import { UserCard as ie } from "./UserCard/UserCard.js";
48
- import { SynapseCardLabel as ae } from "./GenericCard/SynapseCardLabel.js";
49
- import { generateEncodedPathAndQueryForSelectedFacetURL as oe } from "./QueryWrapper/generateEncodedPathAndQueryForSelectedFacetURL.js";
50
- import { QueryWrapper as se } from "./QueryWrapper/QueryWrapper.js";
46
+ import { CARD_SHORT_DESCRIPTION_CSS as Q, LongDescription as ne, ShortDescription as re } from "./GenericCard/CollapsibleDescription.js";
47
+ import { GenericCard as ie } from "./GenericCard/GenericCard.js";
48
+ import { UserCard as ae } from "./UserCard/UserCard.js";
49
+ import { SynapseCardLabel as oe } from "./GenericCard/SynapseCardLabel.js";
50
+ import { generateEncodedPathAndQueryForSelectedFacetURL as se } from "./QueryWrapper/generateEncodedPathAndQueryForSelectedFacetURL.js";
51
+ import { QueryWrapper as ce } from "./QueryWrapper/QueryWrapper.js";
51
52
  import "./QueryWrapper/index.js";
52
- import { WideButton as ce } from "./styled/WideButton.js";
53
+ import { WideButton as le } from "./styled/WideButton.js";
53
54
  import "./error/index.js";
54
- import { UserCardList as le } from "./UserCardList/UserCardList.js";
55
- import { CardContainer as ue } from "./CardContainer/CardContainer.js";
55
+ import { UserCardList as ue } from "./UserCardList/UserCardList.js";
56
+ import { CardContainer as de } from "./CardContainer/CardContainer.js";
56
57
  import "./CardContainer/index.js";
57
- import de from "./UserOrTeamBadge/UserOrTeamBadge.js";
58
+ import fe from "./UserOrTeamBadge/UserOrTeamBadge.js";
58
59
  import "./UserOrTeamBadge/index.js";
59
- import { FileUpload as fe } from "./FileUpload/FileUpload.js";
60
+ import { FileUpload as pe } from "./FileUpload/FileUpload.js";
60
61
  import "./HelpPopover/index.js";
61
62
  import "./Icon/index.js";
62
- import { ModalDownload as pe } from "./ModalDownload/ModalDownload.js";
63
- import { HasAccessV2 as me } from "./HasAccess/HasAccessV2.js";
63
+ import { ModalDownload as me } from "./ModalDownload/ModalDownload.js";
64
+ import { HasAccessV2 as he } from "./HasAccess/HasAccessV2.js";
64
65
  import "./HasAccess/index.js";
65
66
  import "./GenericCard/index.js";
66
- import { SynapseTable as he } from "./SynapseTable/SynapseTable.js";
67
+ import { SynapseTable as ge } from "./SynapseTable/SynapseTable.js";
67
68
  import "./SynapseTable/index.js";
68
- import { CardContainerLogic as ge } from "./CardContainerLogic/CardContainerLogic.js";
69
+ import { CardContainerLogic as _e } from "./CardContainerLogic/CardContainerLogic.js";
69
70
  import "./CardContainerLogic/index.js";
70
- import _e from "./CardGridWithLinks/CardGridWithLinks.js";
71
+ import ve from "./CardGridWithLinks/CardGridWithLinks.js";
71
72
  import "./CardGridWithLinks/index.js";
72
- import ve from "./RowDataTable/RowDataTable.js";
73
- import ye from "./RowDataTable/RowDataTableWithQuery.js";
73
+ import ye from "./RowDataTable/RowDataTable.js";
74
+ import be from "./RowDataTable/RowDataTableWithQuery.js";
74
75
  import "./RowDataTable/index.js";
75
- import be from "./CertificationQuiz/CertificationQuiz.js";
76
+ import xe from "./CertificationQuiz/CertificationQuiz.js";
76
77
  import "./CertificationQuiz/index.js";
77
- import { ChallengeDetailPage as xe } from "./ChallengeDetailPage/ChallengeDetailPage.js";
78
+ import { ChallengeDetailPage as Se } from "./ChallengeDetailPage/ChallengeDetailPage.js";
78
79
  import "./ChallengeDetailPage/index.js";
79
- import { HoverPopover as Se } from "./styled/HoverPopover.js";
80
- import { EntityBadgeIcons as Ce } from "./EntityBadgeIcons/EntityBadgeIcons.js";
80
+ import { HoverPopover as Ce } from "./styled/HoverPopover.js";
81
+ import { EntityBadgeIcons as we } from "./EntityBadgeIcons/EntityBadgeIcons.js";
81
82
  import "./EntityBadgeIcons/index.js";
82
- import { ChallengeDataDownload as we } from "./ChallengeDataDownload/ChallengeDataDownload.js";
83
+ import { ChallengeDataDownload as Te } from "./ChallengeDataDownload/ChallengeDataDownload.js";
83
84
  import "./ChallengeDataDownload/index.js";
84
- import Te from "./ChallengeSubmission/AvailableEvaluationQueueList.js";
85
+ import Ee from "./ChallengeSubmission/AvailableEvaluationQueueList.js";
85
86
  import "./FileUpload/index.js";
86
- import { ChallengeSubmission as Ee } from "./ChallengeSubmission/ChallengeSubmission.js";
87
+ import { ChallengeSubmission as De } from "./ChallengeSubmission/ChallengeSubmission.js";
87
88
  import "./ChallengeSubmission/index.js";
88
- import De from "./ChangePassword/ChangePassword.js";
89
- import Oe from "./ChangePassword/ChangePasswordWithToken.js";
89
+ import Oe from "./ChangePassword/ChangePassword.js";
90
+ import ke from "./ChangePassword/ChangePasswordWithToken.js";
90
91
  import "./ChangePassword/index.js";
91
- import ke from "./CookiesNotification/CookiePreferencesDialog.js";
92
- import Ae from "./CookiesNotification/CookiesNotification.js";
92
+ import Ae from "./CookiesNotification/CookiePreferencesDialog.js";
93
+ import je from "./CookiesNotification/CookiesNotification.js";
93
94
  import "./CookiesNotification/index.js";
94
- import je from "./ColoredBulletListItem/ColoredBulletListItem.js";
95
+ import Me from "./ColoredBulletListItem/ColoredBulletListItem.js";
95
96
  import "./ColoredBulletListItem/index.js";
96
- import Me from "./CTASectionWrapper/CTASectionWrapper.js";
97
+ import Ne from "./CTASectionWrapper/CTASectionWrapper.js";
97
98
  import "./CTASectionWrapper/index.js";
98
- import { DownloadIneligibleForPackagingFilesFromListButton as Ne } from "./DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js";
99
- import { DownloadCartPage as Pe } from "./DownloadCart/DownloadCartPage.js";
100
- import { ShowDownloadV2 as $ } from "./DownloadCart/ShowDownloadV2.js";
99
+ import { DownloadIneligibleForPackagingFilesFromListButton as Pe } from "./DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js";
100
+ import { DownloadCartPage as $ } from "./DownloadCart/DownloadCartPage.js";
101
+ import { ShowDownloadV2 as Fe } from "./DownloadCart/ShowDownloadV2.js";
101
102
  import "./DownloadCart/index.js";
102
- import Fe from "./DynamicForm/DynamicForm.js";
103
- import Ie from "./DynamicForm/DynamicFormModal.js";
103
+ import Ie from "./DynamicForm/DynamicForm.js";
104
+ import Le from "./DynamicForm/DynamicFormModal.js";
104
105
  import "./DynamicForm/index.js";
105
- import { EntityFinder as Le } from "./EntityFinder/EntityFinder.js";
106
+ import { EntityFinder as Re } from "./EntityFinder/EntityFinder.js";
106
107
  import "./EntityFinder/index.js";
107
- import { EntityForm as Re } from "./EntityForm/EntityForm.js";
108
+ import { EntityForm as ze } from "./EntityForm/EntityForm.js";
108
109
  import "./EntityForm/index.js";
109
- import { EvaluationCard as ze } from "./Evaluation/EvaluationCard.js";
110
- import { EvaluationEditorPage as Be } from "./Evaluation/EvaluationEditorPage.js";
110
+ import { EvaluationCard as Be } from "./Evaluation/EvaluationCard.js";
111
+ import { EvaluationEditorPage as Ve } from "./Evaluation/EvaluationEditorPage.js";
111
112
  import "./Evaluation/index.js";
112
- import Ve from "./ExperimentalMode/ExperimentalMode.js";
113
+ import He from "./ExperimentalMode/ExperimentalMode.js";
113
114
  import "./ExperimentalMode/index.js";
114
- import { ExternalFileHandleLink as He } from "./ExternalFileHandleLink/ExternalFileHandleLink.js";
115
+ import { ExternalFileHandleLink as Ue } from "./ExternalFileHandleLink/ExternalFileHandleLink.js";
115
116
  import "./ExternalFileHandleLink/index.js";
116
- import Ue from "./FeaturedDataTabs/FeaturedDataTabs.js";
117
+ import We from "./FeaturedDataTabs/FeaturedDataTabs.js";
117
118
  import "./FeaturedDataTabs/index.js";
118
119
  import "./ShowMore/index.js";
119
- import { FeaturedToolsList as We } from "./FeaturedToolsList/FeaturedToolsList.js";
120
+ import { FeaturedToolsList as Ge } from "./FeaturedToolsList/FeaturedToolsList.js";
120
121
  import "./FeaturedToolsList/index.js";
121
- import { MarkdownEditor as Ge } from "./Markdown/MarkdownEditor.js";
122
- import { DiscussionThread as Ke } from "./Forum/DiscussionThread.js";
123
- import { ForumPage as qe } from "./Forum/ForumPage.js";
122
+ import { MarkdownEditor as Ke } from "./Markdown/MarkdownEditor.js";
123
+ import { DiscussionThread as qe } from "./Forum/DiscussionThread.js";
124
+ import { ForumPage as Je } from "./Forum/ForumPage.js";
124
125
  import "./Forum/index.js";
125
- import { QueryCount as Je } from "./QueryCount/QueryCount.js";
126
- import { Goals as Ye } from "./Goals/Goals.js";
126
+ import { QueryCount as Ye } from "./QueryCount/QueryCount.js";
127
+ import { Goals as Xe } from "./Goals/Goals.js";
127
128
  import "./Goals/index.js";
128
- import Xe from "./PortalSectionHeader/PortalSectionHeader.js";
129
+ import Ze from "./PortalSectionHeader/PortalSectionHeader.js";
129
130
  import "./PortalSectionHeader/index.js";
130
- import { GoalsV2 as Ze } from "./GoalsV2/GoalsV2.js";
131
+ import { GoalsV2 as Qe } from "./GoalsV2/GoalsV2.js";
131
132
  import "./GoalsV2/index.js";
132
- import Qe from "./GoalsV3/GoalsV3.js";
133
+ import $e from "./GoalsV3/GoalsV3.js";
133
134
  import "./GoalsV3/index.js";
134
- import { GoogleAnalytics as $e } from "./GoogleAnalytics/GoogleAnalytics.js";
135
+ import { GoogleAnalytics as et } from "./GoogleAnalytics/GoogleAnalytics.js";
135
136
  import "./GoogleAnalytics/index.js";
136
- import et from "./GoogleMap/GoogleMap.js";
137
+ import tt from "./GoogleMap/GoogleMap.js";
137
138
  import "./GoogleMap/index.js";
138
- import { MarkdownCollapse as tt } from "./Markdown/MarkdownCollapse.js";
139
- import { MarkdownGithubLatestTag as nt } from "./Markdown/MarkdownGithub.js";
139
+ import { MarkdownCollapse as nt } from "./Markdown/MarkdownCollapse.js";
140
+ import { MarkdownGithubLatestTag as rt } from "./Markdown/MarkdownGithub.js";
140
141
  import "./ModalDownload/index.js";
141
- import { OAuthManagement as rt } from "./OAuthClientManagement/OAuthManagement.js";
142
+ import { OAuthManagement as it } from "./OAuthClientManagement/OAuthManagement.js";
142
143
  import "./OAuthClientManagement/index.js";
143
- import it from "./OrientationBanner/OrientationBanner.js";
144
+ import at from "./OrientationBanner/OrientationBanner.js";
144
145
  import "./OrientationBanner/index.js";
145
- import { ThemesPlot as at } from "./Plot/ThemesPlot.js";
146
- import { UpsetPlot as ot } from "./Plot/UpsetPlot.js";
147
- import { SynapsePlot as st } from "./Plot/SynapsePlot.js";
148
- import { SynapseSankeyPlot as ct } from "./Plot/SynapseSankeyPlot.js";
146
+ import { ThemesPlot as ot } from "./Plot/ThemesPlot.js";
147
+ import { UpsetPlot as st } from "./Plot/UpsetPlot.js";
148
+ import { SynapsePlot as ct } from "./Plot/SynapsePlot.js";
149
+ import { SynapseSankeyPlot as lt } from "./Plot/SynapseSankeyPlot.js";
149
150
  import "./Plot/index.js";
150
- import { Programs as lt } from "./Programs/Programs.js";
151
+ import { Programs as ut } from "./Programs/Programs.js";
151
152
  import "./Programs/index.js";
152
- import { ProgrammaticTableDownload as ut } from "./ProgrammaticTableDownload/ProgrammaticTableDownload.js";
153
+ import { ProgrammaticTableDownload as dt } from "./ProgrammaticTableDownload/ProgrammaticTableDownload.js";
153
154
  import "./ProgrammaticTableDownload/index.js";
154
- import dt from "./ProvenanceGraph/ProvenanceGraph.js";
155
+ import ft from "./ProvenanceGraph/ProvenanceGraph.js";
155
156
  import "./ProvenanceGraph/index.js";
156
- import { ProjectDataAvailability as ft } from "./ProjectStorage/ProjectDataAvailability.js";
157
+ import { ProjectDataAvailability as pt } from "./ProjectStorage/ProjectDataAvailability.js";
157
158
  import "./ProjectStorage/index.js";
158
159
  import "./QueryCount/index.js";
159
- import pt from "./QueryWrapperPlotNav/QueryWrapperSynapsePlot.js";
160
- import mt from "./QueryWrapperPlotNav/QueryWrapperPlotNav.js";
160
+ import mt from "./QueryWrapperPlotNav/QueryWrapperSynapsePlot.js";
161
+ import ht from "./QueryWrapperPlotNav/QueryWrapperPlotNav.js";
161
162
  import "./QueryWrapperPlotNav/index.js";
162
- import { SearchQueryWrapper as ht } from "./SearchQueryWrapper/SearchQueryWrapper.js";
163
- import gt, { isSearchQueryWrapperPlotNavProps as _t } from "./SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.js";
164
- import vt from "./RegisterPageLogoutPrompt/RegisterPageLogoutPrompt.js";
163
+ import { SearchQueryWrapper as gt } from "./SearchQueryWrapper/SearchQueryWrapper.js";
164
+ import _t, { isSearchQueryWrapperPlotNavProps as vt } from "./SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.js";
165
+ import yt from "./RegisterPageLogoutPrompt/RegisterPageLogoutPrompt.js";
165
166
  import "./RegisterPageLogoutPrompt/index.js";
166
- import { RenderIfInView as yt } from "./RenderIfInView/RenderIfInView.js";
167
+ import { RenderIfInView as bt } from "./RenderIfInView/RenderIfInView.js";
167
168
  import "./RenderIfInView/index.js";
168
- import { Resources as bt } from "./Resources/Resources.js";
169
+ import { Resources as xt } from "./Resources/Resources.js";
169
170
  import "./Resources/index.js";
170
- import { AccessRequirementAclEditor as xt } from "./AccessRequirementAclEditor/AccessRequirementAclEditor.js";
171
+ import { AccessRequirementAclEditor as St } from "./AccessRequirementAclEditor/AccessRequirementAclEditor.js";
171
172
  import "./AccessRequirementAclEditor/index.js";
172
- import { RssFeedCards as St } from "./RssFeedCards/RssFeedCards.js";
173
+ import { RssFeedCards as Ct } from "./RssFeedCards/RssFeedCards.js";
173
174
  import "./RssFeedCards/index.js";
174
- import Ct from "./StandaloneQueryWrapper/StandaloneQueryWrapper.js";
175
+ import wt from "./StandaloneQueryWrapper/StandaloneQueryWrapper.js";
175
176
  import "./StandaloneQueryWrapper/index.js";
176
- import { InputSizedButton as wt } from "./styled/InputSizedButton.js";
177
+ import { InputSizedButton as Tt } from "./styled/InputSizedButton.js";
177
178
  import "./styled/index.js";
178
- import Tt from "./SubscriptionPage/SubscriptionPage.js";
179
+ import Et from "./SubscriptionPage/SubscriptionPage.js";
179
180
  import "./SubscriptionPage/index.js";
180
- import Et from "./SubsectionRowRenderer/SubsectionRowRenderer.js";
181
+ import Dt from "./SubsectionRowRenderer/SubsectionRowRenderer.js";
181
182
  import "./SubsectionRowRenderer/index.js";
182
- import { SynapseFormWrapper as Dt } from "./SynapseForm/SynapseFormWrapper.js";
183
- import { SynapseFormSubmissionGrid as Ot } from "./SynapseForm/SynapseFormSubmissionGrid.js";
183
+ import { SynapseFormWrapper as Ot } from "./SynapseForm/SynapseFormWrapper.js";
184
+ import { SynapseFormSubmissionGrid as kt } from "./SynapseForm/SynapseFormSubmissionGrid.js";
184
185
  import "./SynapseForm/index.js";
185
- import { SynapseChat as kt } from "./SynapseChat/SynapseChat.js";
186
- import { SynapsePortalChatDialog as At } from "./SynapseChat/SynapsePortalChatDialog.js";
186
+ import { SynapseChat as At } from "./SynapseChat/SynapseChat.js";
187
+ import { SynapsePortalChatDialog as jt } from "./SynapseChat/SynapsePortalChatDialog.js";
187
188
  import "./SynapseChat/index.js";
188
- import { SystemUseNotification as jt } from "./SystemUseNotification/SystemUseNotification.js";
189
+ import { SystemUseNotification as Mt } from "./SystemUseNotification/SystemUseNotification.js";
189
190
  import "./SystemUseNotification/index.js";
190
- import Mt from "./TableFeedCards/TableFeedCards.js";
191
+ import Nt from "./TableFeedCards/TableFeedCards.js";
191
192
  import "./TableFeedCards/index.js";
192
- import Nt from "./TermsAndConditions/TermsAndConditions.js";
193
+ import Pt from "./TermsAndConditions/TermsAndConditions.js";
193
194
  import "./TermsAndConditions/index.js";
194
- import { TimelinePlot as Pt } from "./TimelinePlot/TimelinePlot.js";
195
+ import { TimelinePlot as Ft } from "./TimelinePlot/TimelinePlot.js";
195
196
  import "./TimelinePlot/index.js";
196
197
  import "./UserCard/index.js";
197
- import { UserCardListRotate as Ft } from "./UserCardList/UserCardListRotate.js";
198
- import It from "./UserCardList/UserCardListGroups/UserCardListGroups.js";
198
+ import { UserCardListRotate as It } from "./UserCardList/UserCardListRotate.js";
199
+ import Lt from "./UserCardList/UserCardListGroups/UserCardListGroups.js";
199
200
  import "./UserCardList/index.js";
200
- import { UserProfileLinks as Lt } from "./UserProfileLinks/UserProfileLinks.js";
201
+ import { UserProfileLinks as Rt } from "./UserProfileLinks/UserProfileLinks.js";
201
202
  import "./UserProfileLinks/index.js";
202
- import { EntityHeaderTable as Rt } from "./EntityHeaderTable/EntityHeaderTable.js";
203
+ import { EntityHeaderTable as zt } from "./EntityHeaderTable/EntityHeaderTable.js";
203
204
  import "./EntityHeaderTable/index.js";
204
- import { AccessRequirementRelatedProjectsList as zt } from "./AccessRequirementRelatedProjectsList/AccessRequirementRelatedProjectsList.js";
205
+ import { AccessRequirementRelatedProjectsList as Bt } from "./AccessRequirementRelatedProjectsList/AccessRequirementRelatedProjectsList.js";
205
206
  import "./AccessRequirementRelatedProjectsList/index.js";
206
- import { MuiContainer as Bt } from "./MuiContainer.js";
207
- import { JsonLdScript as Vt } from "./JsonLdScript.js";
208
- import { DatasetJsonLdScript as Ht } from "./DatasetJsonLdScript.js";
207
+ import { MuiContainer as Vt } from "./MuiContainer.js";
208
+ import { JsonLdScript as Ht } from "./JsonLdScript.js";
209
+ import { DatasetJsonLdScript as Ut } from "./DatasetJsonLdScript.js";
209
210
  import "./DatasetHosting/index.js";
210
- import { SageResourcesPopover as Ut } from "./SageResourcesPopover/SageResourcesPopover.js";
211
+ import { SageResourcesPopover as Wt } from "./SageResourcesPopover/SageResourcesPopover.js";
211
212
  import "./SageResourcesPopover/index.js";
212
- import Wt from "./RecentPublicationsGrid/RecentPublicationsGrid.js";
213
+ import Gt from "./RecentPublicationsGrid/RecentPublicationsGrid.js";
213
214
  import "./RecentPublicationsGrid/index.js";
214
- import Gt from "./ImageCardGridWithLinks/ImageCardGridWithLinks.js";
215
+ import Kt from "./ImageCardGridWithLinks/ImageCardGridWithLinks.js";
215
216
  import "./ImageCardGridWithLinks/index.js";
216
- import Kt from "./PortalFeatureHighlights/PortalFeatureHighlights.js";
217
+ import qt from "./PortalFeatureHighlights/PortalFeatureHighlights.js";
217
218
  import "./PortalFeatureHighlights/index.js";
218
- import qt from "./FeaturedResearch/FeaturedResearch.js";
219
+ import Jt from "./FeaturedResearch/FeaturedResearch.js";
219
220
  import "./FeaturedResearch/index.js";
220
- import Jt from "./PortalHomePageHeader/PortalHomePageHeader.js";
221
+ import Yt from "./PortalHomePageHeader/PortalHomePageHeader.js";
221
222
  import "./PortalHomePageHeader/index.js";
222
- import Yt from "./PortalFeaturedPartners/PortalFeaturedPartners.js";
223
+ import Xt from "./PortalFeaturedPartners/PortalFeaturedPartners.js";
223
224
  import "./PortalFeaturedPartners/index.js";
224
- import { PortalAclEditor as Xt } from "./PortalAclEditor/PortalAclEditor.js";
225
- import Zt from "./PortalAclEditor/PortalAclEditorModal.js";
226
- import { PortalCard as Qt } from "./PortalList/PortalCard.js";
227
- import { CreatePortalModal as $t } from "./PortalList/CreatePortalModal.js";
228
- import { PortalList as en } from "./PortalList/PortalList.js";
225
+ import { PortalAclEditor as Zt } from "./PortalAclEditor/PortalAclEditor.js";
226
+ import Qt from "./PortalAclEditor/PortalAclEditorModal.js";
227
+ import { PortalCard as $t } from "./PortalList/PortalCard.js";
228
+ import { CreatePortalModal as en } from "./PortalList/CreatePortalModal.js";
229
+ import { PortalList as tn } from "./PortalList/PortalList.js";
229
230
  import "./PortalList/index.js";
230
231
  import "./PortalAclEditor/index.js";
231
- import { visuallyHidden as tn } from "./SynapseHomepageV2/HomepageStyles.js";
232
- export { xt as AccessRequirementAclEditor, zt as AccessRequirementRelatedProjectsList, x as AccessTokenPage, S as AccountLevelBadges, Te as AvailableEvaluationQueueList, Z as CARD_SHORT_DESCRIPTION_CSS, Me as CTASectionWrapper, ue as CardContainer, ge as CardContainerLogic, _e as CardGridWithLinks, be as CertificationQuiz, we as ChallengeDataDownload, xe as ChallengeDetailPage, Ee as ChallengeSubmission, De as ChangePassword, Oe as ChangePasswordWithToken, t as ClientError, je as ColoredBulletListItem, h as ConfirmationDialog, ke as CookiePreferencesDialog, Ae as CookiesNotification, $t as CreatePortalModal, H as DATASET_HOSTING_CONFIG, K as DatasetDownloadButton, K as DatasetDownloadButtonDefault, Ht as DatasetJsonLdScript, Ke as DiscussionThread, Pe as DownloadCartPage, Ne as DownloadIneligibleForPackagingFilesFromListButton, Fe as DynamicForm, Ie as DynamicFormModal, n as EmptyFallbackComponent, Ce as EntityBadgeIcons, G as EntityDownloadConfirmation, Le as EntityFinder, Re as EntityForm, Rt as EntityHeaderTable, r as ErrorBanner, i as ErrorFallbackComponent, g as ErrorPage, ze as EvaluationCard, Be as EvaluationEditorPage, Ve as ExperimentalMode, He as ExternalFileHandleLink, Ue as FeaturedDataTabs, qt as FeaturedResearch, We as FeaturedToolsList, fe as FileUpload, qe as ForumPage, ee as FullWidthAlert, re as GenericCard, Ye as Goals, Ze as GoalsV2, Qe as GoalsV3, $e as GoogleAnalytics, me as HasAccess, m as HelpPopover, Se as HoverPopover, z as Icon, y as IconSvg, Gt as ImageCardGridWithLinks, wt as InputSizedButton, Vt as JsonLdScript, C as LastLoginInfo, k as LeftRightPanel, l as LightTooltip, Q as LongDescription, et as Map, tt as MarkdownCollapse, Ge as MarkdownEditor, nt as MarkdownGithubLatestTag, pe as ModalDownload, Bt as MuiContainer, v as NoContentAvailable, rt as OAuthClientManagement, D as OneTimePasswordForm, it as OrientationBanner, E as PasswordField, Xt as PortalAclEditor, Zt as PortalAclEditorModal, Qt as PortalCard, Kt as PortalFeatureHighlights, Yt as PortalFeaturedPartners, Jt as PortalHomePageHeader, en as PortalList, Xe as PortalSectionHeader, ut as ProgrammaticTableDownload, lt as Programs, ft as ProjectDataAvailability, R as ProjectIcon, dt as ProvenanceGraph, q as QueryContext, J as QueryContextConsumer, Y as QueryContextProvider, Je as QueryCount, se as QueryWrapper, mt as QueryWrapperPlotNav, pt as QueryWrapperSynapsePlot, Wt as RecentPublicationsGrid, vt as RegisterPageLogoutPrompt, yt as RenderIfInView, bt as Resources, ve as RowDataTable, ye as RowDataTableWithQuery, St as RssFeedCards, Ut as SageResourcesPopover, ht as SearchQueryWrapper, gt as SearchQueryWrapperPlotNav, ne as ShortDescription, $ as ShowDownloadV2, B as ShowMore, a as SignInPrompt, u as SkeletonButton, d as SkeletonInlineBlock, p as SkeletonParagraph, f as SkeletonTable, O as StandaloneLoginForm, Ct as StandaloneQueryWrapper, V as StyledFormControl, A as StyledInnerContainer, j as StyledOuterContainer, Tt as SubscriptionPage, Et as SubsectionRowRenderer, ae as SynapseCardLabel, kt as SynapseChat, o as SynapseErrorBoundary, _ as SynapseErrorType, Ot as SynapseFormSubmissionGrid, Dt as SynapseFormWrapper, st as SynapsePlot, At as SynapsePortalChatDialog, ct as SynapseSankeyPlot, he as SynapseTable, te as SynapseToastContainer, jt as SystemUseNotification, Mt as TableFeedCards, s as TableRowFallbackComponent, Nt as TermsAndConditions, b as TextField, at as ThemesPlot, Pt as TimelinePlot, N as TwoFactorAuthSettingsPanel, P as TwoFactorBackupCodes, M as TwoFactorEnrollmentForm, ot as UpsetPlot, ie as UserCard, le as UserCardList, It as UserCardListGroups, Ft as UserCardListRotate, de as UserOrTeamBadge, Lt as UserProfileLinks, ce as WideButton, c as YOU_ARE_NOT_AUTHORIZED_MESSAGE, e as displayToast, U as fillRepository, oe as generateEncodedPathAndQueryForSelectedFacetURL, F as getFileHandleAssociation, I as getLinkParams, L as getValueOrMultiValue, _t as isSearchQueryWrapperPlotNavProps, W as normalizeHosting, w as useLastLoginInfo, T as useLastLoginInfoState, X as useQueryContext, tn as visuallyHidden };
232
+ import { visuallyHidden as nn } from "./SynapseHomepageV2/HomepageStyles.js";
233
+ export { St as AccessRequirementAclEditor, Bt as AccessRequirementRelatedProjectsList, x as AccessTokenPage, S as AccountLevelBadges, Ee as AvailableEvaluationQueueList, Q as CARD_SHORT_DESCRIPTION_CSS, Ne as CTASectionWrapper, de as CardContainer, _e as CardContainerLogic, ve as CardGridWithLinks, xe as CertificationQuiz, Te as ChallengeDataDownload, Se as ChallengeDetailPage, De as ChallengeSubmission, Oe as ChangePassword, ke as ChangePasswordWithToken, t as ClientError, Me as ColoredBulletListItem, h as ConfirmationDialog, Ae as CookiePreferencesDialog, je as CookiesNotification, en as CreatePortalModal, H as DATASET_HOSTING_CONFIG, G as DatasetDownloadButton, G as DatasetDownloadButtonDefault, K as DatasetHostingAdornment, K as DatasetHostingAdornmentDefault, Ut as DatasetJsonLdScript, qe as DiscussionThread, $ as DownloadCartPage, Pe as DownloadIneligibleForPackagingFilesFromListButton, Ie as DynamicForm, Le as DynamicFormModal, n as EmptyFallbackComponent, we as EntityBadgeIcons, q as EntityDownloadConfirmation, Re as EntityFinder, ze as EntityForm, zt as EntityHeaderTable, r as ErrorBanner, i as ErrorFallbackComponent, g as ErrorPage, Be as EvaluationCard, Ve as EvaluationEditorPage, He as ExperimentalMode, Ue as ExternalFileHandleLink, We as FeaturedDataTabs, Jt as FeaturedResearch, Ge as FeaturedToolsList, pe as FileUpload, Je as ForumPage, ee as FullWidthAlert, ie as GenericCard, Xe as Goals, Qe as GoalsV2, $e as GoalsV3, et as GoogleAnalytics, he as HasAccess, m as HelpPopover, Ce as HoverPopover, z as Icon, y as IconSvg, Kt as ImageCardGridWithLinks, Tt as InputSizedButton, Ht as JsonLdScript, C as LastLoginInfo, k as LeftRightPanel, l as LightTooltip, ne as LongDescription, tt as Map, nt as MarkdownCollapse, Ke as MarkdownEditor, rt as MarkdownGithubLatestTag, me as ModalDownload, Vt as MuiContainer, v as NoContentAvailable, it as OAuthClientManagement, D as OneTimePasswordForm, at as OrientationBanner, E as PasswordField, Zt as PortalAclEditor, Qt as PortalAclEditorModal, $t as PortalCard, qt as PortalFeatureHighlights, Xt as PortalFeaturedPartners, Yt as PortalHomePageHeader, tn as PortalList, Ze as PortalSectionHeader, dt as ProgrammaticTableDownload, ut as Programs, pt as ProjectDataAvailability, R as ProjectIcon, ft as ProvenanceGraph, J as QueryContext, Y as QueryContextConsumer, X as QueryContextProvider, Ye as QueryCount, ce as QueryWrapper, ht as QueryWrapperPlotNav, mt as QueryWrapperSynapsePlot, Gt as RecentPublicationsGrid, yt as RegisterPageLogoutPrompt, bt as RenderIfInView, xt as Resources, ye as RowDataTable, be as RowDataTableWithQuery, Ct as RssFeedCards, Wt as SageResourcesPopover, gt as SearchQueryWrapper, _t as SearchQueryWrapperPlotNav, re as ShortDescription, Fe as ShowDownloadV2, B as ShowMore, a as SignInPrompt, u as SkeletonButton, d as SkeletonInlineBlock, p as SkeletonParagraph, f as SkeletonTable, O as StandaloneLoginForm, wt as StandaloneQueryWrapper, V as StyledFormControl, A as StyledInnerContainer, j as StyledOuterContainer, Et as SubscriptionPage, Dt as SubsectionRowRenderer, oe as SynapseCardLabel, At as SynapseChat, o as SynapseErrorBoundary, _ as SynapseErrorType, kt as SynapseFormSubmissionGrid, Ot as SynapseFormWrapper, ct as SynapsePlot, jt as SynapsePortalChatDialog, lt as SynapseSankeyPlot, ge as SynapseTable, te as SynapseToastContainer, Mt as SystemUseNotification, Nt as TableFeedCards, s as TableRowFallbackComponent, Pt as TermsAndConditions, b as TextField, ot as ThemesPlot, Ft as TimelinePlot, N as TwoFactorAuthSettingsPanel, P as TwoFactorBackupCodes, M as TwoFactorEnrollmentForm, st as UpsetPlot, ae as UserCard, ue as UserCardList, Lt as UserCardListGroups, It as UserCardListRotate, fe as UserOrTeamBadge, Rt as UserProfileLinks, le as WideButton, c as YOU_ARE_NOT_AUTHORIZED_MESSAGE, e as displayToast, U as fillRepository, se as generateEncodedPathAndQueryForSelectedFacetURL, F as getFileHandleAssociation, I as getLinkParams, L as getValueOrMultiValue, vt as isSearchQueryWrapperPlotNavProps, W as normalizeHosting, w as useLastLoginInfo, T as useLastLoginInfoState, Z as useQueryContext, nn as visuallyHidden };
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAUX,OAAO,EAIR,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,UAAU,EAKX,MAAM,OAAO,CAAA;AACd,OAAgB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAiCtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAE7B,IAAI,EAAE,MAAM,CAAA;IAEZ,IAAI,CAAC,EAAE,QAAQ,CAAA;IAEf,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAEjC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAE9B,KAAK,EAAE,gBAAgB,EAAE,EAAE,CAAA;IAE3B,kBAAkB,EAAE,MAAM,CAAA;IAE1B,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,WAAW,CAAC,EAAE,WAAW,CAAA;IAEzB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAEhC,yBAAyB,CAAC,EAAE,OAAO,CAAA;IAEnC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,2BAA2B,CAAC,EAAE,OAAO,CAAA;CACtC,CAAA;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,kDAqNpD"}
1
+ {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAUX,OAAO,EAIR,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,UAAU,EAKX,MAAM,OAAO,CAAA;AACd,OAAgB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAiCtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAE7B,IAAI,EAAE,MAAM,CAAA;IAEZ,IAAI,CAAC,EAAE,QAAQ,CAAA;IAEf,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAEjC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAE9B,KAAK,EAAE,gBAAgB,EAAE,EAAE,CAAA;IAE3B,kBAAkB,EAAE,MAAM,CAAA;IAE1B,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,WAAW,CAAC,EAAE,WAAW,CAAA;IAEzB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAEhC,yBAAyB,CAAC,EAAE,OAAO,CAAA;IAEnC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,2BAA2B,CAAC,EAAE,OAAO,CAAA;CACtC,CAAA;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,kDAkNpD"}
@@ -50,7 +50,7 @@ function x(x) {
50
50
  let L = () => {
51
51
  P((e) => !e);
52
52
  }, R = (e) => {
53
- F.current && F.current.contains(e.target) || P(!1);
53
+ F.current?.contains(e.target) || P(!1);
54
54
  };
55
55
  function z(e) {
56
56
  e.key === "Tab" ? (e.preventDefault(), P(!1)) : e.key === "Escape" && P(!1);
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.js","names":[],"sources":["../../../src/components/menu/DropdownMenu.tsx"],"sourcesContent":["import {\n Button,\n ButtonProps,\n ClickAwayListener,\n Divider,\n Fade,\n ListItemIcon,\n ListItemText,\n MenuItem,\n MenuList,\n Paper,\n Popper,\n SxProps,\n Tooltip,\n Typography,\n Box,\n} from '@mui/material'\nimport {\n KeyboardEvent,\n MouseEvent,\n SyntheticEvent,\n useId,\n useRef,\n useState,\n} from 'react'\nimport IconSvg, { IconName } from '../IconSvg/IconSvg'\n\nconst fileAccessRequestNotice = (\n <Box\n sx={{\n backgroundColor: '#EAF0F5',\n color: '#3B4046',\n padding: '6px 8px',\n borderRadius: '3px',\n marginTop: '8px',\n }}\n >\n <Typography\n sx={{\n fontSize: '14px',\n fontWeight: '440',\n lineHeight: '20px',\n letterSpacing: '-0.07px',\n }}\n >\n <span\n style={{\n fontWeight: '700',\n }}\n >\n Note:{' '}\n </span>\n You can add this file to your download list, but you must make an access\n request before downloading.\n </Typography>\n </Box>\n)\n\n/**\n * Defines a configuration for a particular dropdown menu item\n */\nexport type DropdownMenuItem = {\n /* The text to show on the menu item. */\n text: string\n /* The icon to show for this item in the menu. */\n icon?: IconName\n /* A function invoked upon clicking the item, assuming `disabled` is falsy */\n onClick?: (e: MouseEvent) => void\n /* A link that the item should point to. */\n href?: string\n /* The optional tooltipText to show for this item. Compatible with the `disabled` prop. */\n tooltipText?: string\n /* Whether the item should be disabled from selection. */\n disabled?: boolean\n /* Additional MUI SxProps to pass to the text component */\n textSx?: SxProps\n /* Additional MUI SxProps to pass to the icon component */\n iconSx?: SxProps\n}\n\nexport type DropdownMenuProps = {\n /* Groups of menu items. Each group will be split with a divider. See DropdownMenuItem for per-item configuration */\n items: DropdownMenuItem[][]\n /* The text to show on the dropdown menu button. */\n dropdownButtonText: string\n /* The optional tooltip text for the dropdown menu button. */\n buttonTooltip?: string\n /* Any additional props to pass to the dropdown menu button. */\n buttonProps?: ButtonProps\n /* Optional MUI button variant for the dropdown button (and the single-item button). Default 'outlined'. */\n variant?: ButtonProps['variant']\n /* If true, will render a single action as a standalone button. Default true. */\n convertSingleItemToButton?: boolean\n /* If true, nothing will be rendered if no actions are passed. Default false. */\n renderMenuIfNoItems?: boolean\n paperSx?: SxProps\n elevation?: number\n /* If true, shows the file access request notice at the bottom of the menu. Default false. */\n showFileAccessRequestNotice?: boolean\n}\n\n/**\n * The DropdownMenu component provides a generic way to compose a MUI dropdown menu.\n */\nexport function DropdownMenu(props: DropdownMenuProps) {\n const {\n buttonTooltip,\n dropdownButtonText,\n items = [] as DropdownMenuItem[][],\n convertSingleItemToButton = true,\n renderMenuIfNoItems = false,\n buttonProps = {},\n variant = 'outlined',\n paperSx,\n elevation,\n showFileAccessRequestNotice = false,\n } = props\n\n const dropdownMenuId = useId()\n const [open, setOpen] = useState(false)\n const anchorRef = useRef<HTMLButtonElement>(null)\n\n const numberOfMenuItems = items.flat().length\n\n if (!renderMenuIfNoItems && numberOfMenuItems === 0) {\n // Hide menu if no actions will be in the menu\n return null\n }\n\n if (convertSingleItemToButton && numberOfMenuItems === 1) {\n // If one action is in the menu, show it as a button\n const menuItem = items.flat()[0]\n return (\n <Button\n component={menuItem.href ? 'a' : 'button'}\n title={menuItem.tooltipText}\n variant={variant}\n href={menuItem.href}\n rel={menuItem.href ? 'noopener noreferrer' : undefined}\n onClick={menuItem.onClick}\n disabled={menuItem.disabled}\n endIcon={menuItem.icon && <IconSvg icon={menuItem.icon} wrap={false} />}\n >\n <Typography variant={'buttonLink'}>{menuItem.text}</Typography>\n </Button>\n )\n }\n\n const handleToggle = () => {\n setOpen(prevOpen => !prevOpen)\n }\n\n const handleClose = (event: Event | SyntheticEvent) => {\n if (\n anchorRef.current &&\n anchorRef.current.contains(event.target as HTMLElement)\n ) {\n return\n }\n\n setOpen(false)\n }\n\n function handleListKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n event.preventDefault()\n setOpen(false)\n } else if (event.key === 'Escape') {\n setOpen(false)\n }\n }\n\n return (\n <>\n <Tooltip\n title={\n buttonTooltip ? (\n <div style={{ whiteSpace: 'pre-line' }}>{buttonTooltip}</div>\n ) : undefined\n }\n placement={'top'}\n >\n <span>\n <Button\n variant={variant}\n ref={anchorRef}\n id={`composition-button-${dropdownMenuId}`}\n aria-controls={\n open ? `composition-menu-${dropdownMenuId}` : undefined\n }\n aria-expanded={open ? 'true' : undefined}\n aria-haspopup=\"true\"\n onClick={handleToggle}\n {...buttonProps}\n >\n <Typography variant={'buttonLink'}>{dropdownButtonText}</Typography>\n </Button>\n </span>\n </Tooltip>\n <Popper\n open={open}\n anchorEl={anchorRef.current}\n role={undefined}\n placement=\"bottom-end\"\n transition\n style={{\n // Fixes issue where react-flow (provenance) would appear above the menu\n zIndex: 10,\n }}\n >\n {({ TransitionProps }) => (\n <Fade {...TransitionProps}>\n <Paper elevation={elevation} sx={{ ...paperSx }}>\n <ClickAwayListener onClickAway={handleClose}>\n <Box>\n <MenuList\n autoFocusItem={open}\n id={`composition-menu-${dropdownMenuId}`}\n aria-labelledby={`composition-button-${dropdownMenuId}`}\n onKeyDown={handleListKeyDown}\n >\n {items.map((itemGroup, index, array) => {\n return [\n itemGroup.map(item => {\n return (\n <Tooltip\n key={item.text}\n title={item.tooltipText}\n placement={'left'}\n >\n <MenuItem\n // Always make the component an anchor in case href is defined.\n component=\"a\"\n sx={{\n // Override the anchor-specific state styles, we don't want it to look like an anchor\n '&:hover': {\n color: 'unset',\n },\n '&:focus': {\n color: 'unset',\n textDecoration: 'unset',\n },\n }}\n disabled={item.disabled}\n href={item.href}\n rel={\n item.href ? 'noopener noreferrer' : undefined\n }\n // Allow pointer events on disabled item so tooltip works.\n style={{ pointerEvents: 'auto' }}\n onClick={(e: MouseEvent) => {\n /*\n * Must check if the item is disabled because we set\n * `pointer-events: 'auto'`\n */\n if (\n !item.disabled &&\n 'onClick' in item &&\n item.onClick\n ) {\n setOpen(false)\n item.onClick(e)\n }\n }}\n >\n {item.icon && (\n <ListItemIcon\n style={{\n // MUI has specified a more specific minWidth for ListItemIcon inside a MenuList than\n // we can create with sx, so apply an inline style for this property only.\n minWidth: '30px',\n }}\n >\n <IconSvg\n icon={item.icon}\n sx={{\n width: '17px',\n height: '17px',\n ...item.iconSx,\n }}\n wrap={false}\n />\n </ListItemIcon>\n )}\n <ListItemText\n sx={{ marginTop: 0 }}\n slotProps={{\n primary: {\n variant: 'smallText1',\n sx: item.textSx,\n },\n }}\n >\n {item.text}\n </ListItemText>\n </MenuItem>\n </Tooltip>\n )\n }),\n index < array.length - 1 && <Divider />,\n ]\n })}\n </MenuList>\n {showFileAccessRequestNotice && (\n <>\n {numberOfMenuItems > 0 && <Divider />}\n {fileAccessRequestNotice}\n </>\n )}\n </Box>\n </ClickAwayListener>\n </Paper>\n </Fade>\n )}\n </Popper>\n </>\n )\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"DropdownMenu.js","names":[],"sources":["../../../src/components/menu/DropdownMenu.tsx"],"sourcesContent":["import {\n Button,\n ButtonProps,\n ClickAwayListener,\n Divider,\n Fade,\n ListItemIcon,\n ListItemText,\n MenuItem,\n MenuList,\n Paper,\n Popper,\n SxProps,\n Tooltip,\n Typography,\n Box,\n} from '@mui/material'\nimport {\n KeyboardEvent,\n MouseEvent,\n SyntheticEvent,\n useId,\n useRef,\n useState,\n} from 'react'\nimport IconSvg, { IconName } from '../IconSvg/IconSvg'\n\nconst fileAccessRequestNotice = (\n <Box\n sx={{\n backgroundColor: '#EAF0F5',\n color: '#3B4046',\n padding: '6px 8px',\n borderRadius: '3px',\n marginTop: '8px',\n }}\n >\n <Typography\n sx={{\n fontSize: '14px',\n fontWeight: '440',\n lineHeight: '20px',\n letterSpacing: '-0.07px',\n }}\n >\n <span\n style={{\n fontWeight: '700',\n }}\n >\n Note:{' '}\n </span>\n You can add this file to your download list, but you must make an access\n request before downloading.\n </Typography>\n </Box>\n)\n\n/**\n * Defines a configuration for a particular dropdown menu item\n */\nexport type DropdownMenuItem = {\n /* The text to show on the menu item. */\n text: string\n /* The icon to show for this item in the menu. */\n icon?: IconName\n /* A function invoked upon clicking the item, assuming `disabled` is falsy */\n onClick?: (e: MouseEvent) => void\n /* A link that the item should point to. */\n href?: string\n /* The optional tooltipText to show for this item. Compatible with the `disabled` prop. */\n tooltipText?: string\n /* Whether the item should be disabled from selection. */\n disabled?: boolean\n /* Additional MUI SxProps to pass to the text component */\n textSx?: SxProps\n /* Additional MUI SxProps to pass to the icon component */\n iconSx?: SxProps\n}\n\nexport type DropdownMenuProps = {\n /* Groups of menu items. Each group will be split with a divider. See DropdownMenuItem for per-item configuration */\n items: DropdownMenuItem[][]\n /* The text to show on the dropdown menu button. */\n dropdownButtonText: string\n /* The optional tooltip text for the dropdown menu button. */\n buttonTooltip?: string\n /* Any additional props to pass to the dropdown menu button. */\n buttonProps?: ButtonProps\n /* Optional MUI button variant for the dropdown button (and the single-item button). Default 'outlined'. */\n variant?: ButtonProps['variant']\n /* If true, will render a single action as a standalone button. Default true. */\n convertSingleItemToButton?: boolean\n /* If true, nothing will be rendered if no actions are passed. Default false. */\n renderMenuIfNoItems?: boolean\n paperSx?: SxProps\n elevation?: number\n /* If true, shows the file access request notice at the bottom of the menu. Default false. */\n showFileAccessRequestNotice?: boolean\n}\n\n/**\n * The DropdownMenu component provides a generic way to compose a MUI dropdown menu.\n */\nexport function DropdownMenu(props: DropdownMenuProps) {\n const {\n buttonTooltip,\n dropdownButtonText,\n items = [] as DropdownMenuItem[][],\n convertSingleItemToButton = true,\n renderMenuIfNoItems = false,\n buttonProps = {},\n variant = 'outlined',\n paperSx,\n elevation,\n showFileAccessRequestNotice = false,\n } = props\n\n const dropdownMenuId = useId()\n const [open, setOpen] = useState(false)\n const anchorRef = useRef<HTMLButtonElement>(null)\n\n const numberOfMenuItems = items.flat().length\n\n if (!renderMenuIfNoItems && numberOfMenuItems === 0) {\n // Hide menu if no actions will be in the menu\n return null\n }\n\n if (convertSingleItemToButton && numberOfMenuItems === 1) {\n // If one action is in the menu, show it as a button\n const menuItem = items.flat()[0]\n return (\n <Button\n component={menuItem.href ? 'a' : 'button'}\n title={menuItem.tooltipText}\n variant={variant}\n href={menuItem.href}\n rel={menuItem.href ? 'noopener noreferrer' : undefined}\n onClick={menuItem.onClick}\n disabled={menuItem.disabled}\n endIcon={menuItem.icon && <IconSvg icon={menuItem.icon} wrap={false} />}\n >\n <Typography variant={'buttonLink'}>{menuItem.text}</Typography>\n </Button>\n )\n }\n\n const handleToggle = () => {\n setOpen(prevOpen => !prevOpen)\n }\n\n const handleClose = (event: Event | SyntheticEvent) => {\n if (anchorRef.current?.contains(event.target as HTMLElement)) {\n return\n }\n\n setOpen(false)\n }\n\n function handleListKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n event.preventDefault()\n setOpen(false)\n } else if (event.key === 'Escape') {\n setOpen(false)\n }\n }\n\n return (\n <>\n <Tooltip\n title={\n buttonTooltip ? (\n <div style={{ whiteSpace: 'pre-line' }}>{buttonTooltip}</div>\n ) : undefined\n }\n placement={'top'}\n >\n <span>\n <Button\n variant={variant}\n ref={anchorRef}\n id={`composition-button-${dropdownMenuId}`}\n aria-controls={\n open ? `composition-menu-${dropdownMenuId}` : undefined\n }\n aria-expanded={open ? 'true' : undefined}\n aria-haspopup=\"true\"\n onClick={handleToggle}\n {...buttonProps}\n >\n <Typography variant={'buttonLink'}>{dropdownButtonText}</Typography>\n </Button>\n </span>\n </Tooltip>\n <Popper\n open={open}\n anchorEl={anchorRef.current}\n role={undefined}\n placement=\"bottom-end\"\n transition\n style={{\n // Fixes issue where react-flow (provenance) would appear above the menu\n zIndex: 10,\n }}\n >\n {({ TransitionProps }) => (\n <Fade {...TransitionProps}>\n <Paper elevation={elevation} sx={{ ...paperSx }}>\n <ClickAwayListener onClickAway={handleClose}>\n <Box>\n <MenuList\n autoFocusItem={open}\n id={`composition-menu-${dropdownMenuId}`}\n aria-labelledby={`composition-button-${dropdownMenuId}`}\n onKeyDown={handleListKeyDown}\n >\n {items.map((itemGroup, index, array) => {\n return [\n itemGroup.map(item => {\n return (\n <Tooltip\n key={item.text}\n title={item.tooltipText}\n placement={'left'}\n >\n <MenuItem\n // Always make the component an anchor in case href is defined.\n component=\"a\"\n sx={{\n // Override the anchor-specific state styles, we don't want it to look like an anchor\n '&:hover': {\n color: 'unset',\n },\n '&:focus': {\n color: 'unset',\n textDecoration: 'unset',\n },\n }}\n disabled={item.disabled}\n href={item.href}\n rel={\n item.href ? 'noopener noreferrer' : undefined\n }\n // Allow pointer events on disabled item so tooltip works.\n style={{ pointerEvents: 'auto' }}\n onClick={(e: MouseEvent) => {\n /*\n * Must check if the item is disabled because we set\n * `pointer-events: 'auto'`\n */\n if (\n !item.disabled &&\n 'onClick' in item &&\n item.onClick\n ) {\n setOpen(false)\n item.onClick(e)\n }\n }}\n >\n {item.icon && (\n <ListItemIcon\n style={{\n // MUI has specified a more specific minWidth for ListItemIcon inside a MenuList than\n // we can create with sx, so apply an inline style for this property only.\n minWidth: '30px',\n }}\n >\n <IconSvg\n icon={item.icon}\n sx={{\n width: '17px',\n height: '17px',\n ...item.iconSx,\n }}\n wrap={false}\n />\n </ListItemIcon>\n )}\n <ListItemText\n sx={{ marginTop: 0 }}\n slotProps={{\n primary: {\n variant: 'smallText1',\n sx: item.textSx,\n },\n }}\n >\n {item.text}\n </ListItemText>\n </MenuItem>\n </Tooltip>\n )\n }),\n index < array.length - 1 && <Divider />,\n ]\n })}\n </MenuList>\n {showFileAccessRequestNotice && (\n <>\n {numberOfMenuItems > 0 && <Divider />}\n {fileAccessRequestNotice}\n </>\n )}\n </Box>\n </ClickAwayListener>\n </Paper>\n </Fade>\n )}\n </Popper>\n </>\n )\n}\n"],"mappings":"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"}
@@ -47,7 +47,7 @@ var d = class extends s {
47
47
  value: S
48
48
  }
49
49
  ];
50
- if (m && m.secondaryLabels) {
50
+ if (m?.secondaryLabels) {
51
51
  let { secondaryLabels: e } = m;
52
52
  for (let t = 0; t < e.length; t++) {
53
53
  let n = e[t], r = s[d[n]], i;
@@ -1 +1 @@
1
- {"version":3,"file":"Dataset.js","names":[],"sources":["../../../src/components/row_renderers/Dataset.tsx"],"sourcesContent":["import { getValueOrMultiValue } from '@/components/GenericCard/CardUtils'\nimport { CardLabel } from '@/components/row_renderers/utils/CardFooter'\nimport ChipContainer from '@/components/row_renderers/utils/ChipContainer'\nimport { calculateFriendlyFileSize } from '@/utils/functions/calculateFriendlyFileSize'\nimport { PRODUCTION_ENDPOINT_CONFIG } from '@/utils/functions/getEndpoint'\nimport { DATASET } from '@/utils/SynapseConstants'\nimport { Button } from '@mui/material'\nimport { ColumnModel, SelectColumn } from '@sage-bionetworks/synapse-types'\nimport { Component, MouseEvent } from 'react'\nimport { TableToGenericCardMapping } from '../GenericCard/TableRowGenericCard'\nimport { QueryVisualizationContextType } from '../QueryVisualizationWrapper'\nimport { CardFooter, Icon } from './utils'\n\nexport type DatasetProps = {\n data?: any\n schema?: any\n secondaryLabelLimit?: number\n selectColumns?: SelectColumn[]\n columnModels?: ColumnModel[]\n genericCardSchema?: TableToGenericCardMapping\n queryVisualizationContext: QueryVisualizationContextType\n}\n\nclass Dataset extends Component<DatasetProps, never> {\n constructor(props: DatasetProps) {\n super(props)\n this.handleLinkClick = this.handleLinkClick.bind(this)\n }\n\n public handleLinkClick =\n (link: string) => (event: MouseEvent<HTMLButtonElement>) => {\n event.preventDefault()\n window.open(\n `${PRODUCTION_ENDPOINT_CONFIG.PORTAL}Synapse:${link}`,\n '_blank',\n )\n }\n\n public render() {\n const {\n data,\n schema,\n selectColumns,\n columnModels,\n genericCardSchema,\n queryVisualizationContext: { getColumnDisplayName },\n } = this.props\n const datasetName = data[schema.datasetName]\n const summary = data[schema.summary]\n const tumorType = getValueOrMultiValue({\n columnName: 'tumorType',\n value: data[schema.tumorType],\n selectColumns,\n columnModels,\n }).str\n const diseaseFocus = getValueOrMultiValue({\n columnName: 'diseaseFocus',\n value: data[schema.diseaseFocus],\n selectColumns,\n columnModels,\n }).str\n const id = data[schema.id]\n const fundingAgency = data[schema.fundingAgency]\n const fileCount = data[schema.fileCount]\n const fileSize = calculateFriendlyFileSize(data[schema.fileSize])\n const values: CardLabel[] = [\n {\n columnDisplayName: 'FUNDER',\n value: getValueOrMultiValue({\n columnName: 'fundingAgency',\n value: fundingAgency,\n selectColumns,\n columnModels,\n }).str,\n },\n { columnDisplayName: 'SIZE', value: fileSize },\n { columnDisplayName: 'FILES', value: fileCount },\n ]\n if (genericCardSchema && genericCardSchema.secondaryLabels) {\n const { secondaryLabels } = genericCardSchema\n for (let i = 0; i < secondaryLabels.length; i++) {\n const columnName = secondaryLabels[i]\n const value: string | undefined = data[schema[columnName]]\n let columnDisplayName\n if (value) {\n columnDisplayName = getColumnDisplayName(columnName)\n values.push({ columnDisplayName, value, columnName })\n }\n }\n }\n\n return (\n <div className=\"SRC-portalCard SRC-typeDataset \">\n <div className=\"SRC-cardThumbnail\">\n <Icon type={DATASET} />\n <div>{fileSize}</div>\n </div>\n <div className=\"SRC-cardContent SRC-dataset\">\n <div className=\"SRC-type\">Dataset </div>\n <div>\n <h3>\n <a\n target=\"_self\"\n href={`${PRODUCTION_ENDPOINT_CONFIG.PORTAL}Synapse:${id}`}\n >\n {datasetName}\n </a>\n </h3>\n </div>\n <div className=\"SRC-description-dataset\">\n <p className=\"SRC-description-text\">{summary}</p>\n <div className=\"SRC-cardAction\">\n <Button\n className=\"SRC-datasetButton\"\n onClick={this.handleLinkClick(id)}\n color=\"secondary\"\n variant=\"contained\"\n >\n Download Dataset\n </Button>\n </div>\n </div>\n <div className=\"SRC-cardAnnotations\">\n <ChipContainer chips={[tumorType, diseaseFocus]} />\n </div>\n </div>\n <CardFooter\n isHeader={false}\n secondaryLabelLimit={this.props.secondaryLabelLimit}\n values={values}\n />\n </div>\n )\n }\n}\nexport default Dataset\n"],"mappings":";;;;;;;;;;;;AAuBA,IAAM,IAAN,cAAsB,EAA+B;CACnD,YAAY,GAAqB;EAE/B,AADA,MAAM,CAAK,GACX,KAAK,kBAAkB,KAAK,gBAAgB,KAAK,IAAI;CACvD;CAEA,mBACG,OAAkB,MAAyC;EAE1D,AADA,EAAM,eAAe,GACrB,OAAO,KACL,GAAG,EAA2B,OAAO,UAAU,KAC/C,QACF;CACF;CAEF,SAAgB;EACd,IAAM,EACJ,SACA,WACA,kBACA,iBACA,sBACA,2BAA2B,EAAE,8BAC3B,KAAK,OACH,IAAc,EAAK,EAAO,cAC1B,IAAU,EAAK,EAAO,UACtB,IAAY,EAAqB;GACrC,YAAY;GACZ,OAAO,EAAK,EAAO;GACnB;GACA;EACF,CAAC,EAAE,KACG,IAAe,EAAqB;GACxC,YAAY;GACZ,OAAO,EAAK,EAAO;GACnB;GACA;EACF,CAAC,EAAE,KACG,IAAK,EAAK,EAAO,KACjB,IAAgB,EAAK,EAAO,gBAC5B,IAAY,EAAK,EAAO,YACxB,IAAW,EAA0B,EAAK,EAAO,SAAS,GAC1D,IAAsB;GAC1B;IACE,mBAAmB;IACnB,OAAO,EAAqB;KAC1B,YAAY;KACZ,OAAO;KACP;KACA;IACF,CAAC,EAAE;GACL;GACA;IAAE,mBAAmB;IAAQ,OAAO;GAAS;GAC7C;IAAE,mBAAmB;IAAS,OAAO;GAAU;EACjD;EACA,IAAI,KAAqB,EAAkB,iBAAiB;GAC1D,IAAM,EAAE,uBAAoB;GAC5B,KAAK,IAAI,IAAI,GAAG,IAAI,EAAgB,QAAQ,KAAK;IAC/C,IAAM,IAAa,EAAgB,IAC7B,IAA4B,EAAK,EAAO,KAC1C;IACJ,AAAI,MACF,IAAoB,EAAqB,CAAU,GACnD,EAAO,KAAK;KAAE;KAAmB;KAAO;IAAW,CAAC;GAExD;EACF;EAEA,OACE,kBAAC,OAAD;GAAK,WAAU;aAAf;IACE,kBAAC,OAAD;KAAK,WAAU;eAAf,CACE,kBAAC,GAAD,EAAM,MAAM,EAAU,CAAA,GACtB,kBAAC,OAAD,EAAA,UAAM,EAAc,CAAA,CACjB;;IACL,kBAAC,OAAD;KAAK,WAAU;eAAf;MACE,kBAAC,OAAD;OAAK,WAAU;iBAAW;MAAa,CAAA;MACvC,kBAAC,OAAD,EAAA,UACE,kBAAC,MAAD,EAAA,UACE,kBAAC,KAAD;OACE,QAAO;OACP,MAAM,GAAG,EAA2B,OAAO,UAAU;iBAEpD;MACA,CAAA,EACD,CAAA,EACD,CAAA;MACL,kBAAC,OAAD;OAAK,WAAU;iBAAf,CACE,kBAAC,KAAD;QAAG,WAAU;kBAAwB;OAAW,CAAA,GAChD,kBAAC,OAAD;QAAK,WAAU;kBACb,kBAAC,GAAD;SACE,WAAU;SACV,SAAS,KAAK,gBAAgB,CAAE;SAChC,OAAM;SACN,SAAQ;mBACT;QAEO,CAAA;OACL,CAAA,CACF;;MACL,kBAAC,OAAD;OAAK,WAAU;iBACb,kBAAC,GAAD,EAAe,OAAO,CAAC,GAAW,CAAY,EAAI,CAAA;MAC/C,CAAA;KACF;;IACL,kBAAC,GAAD;KACE,UAAU;KACV,qBAAqB,KAAK,MAAM;KACxB;IACT,CAAA;GACE;;CAET;AACF"}
1
+ {"version":3,"file":"Dataset.js","names":[],"sources":["../../../src/components/row_renderers/Dataset.tsx"],"sourcesContent":["import { getValueOrMultiValue } from '@/components/GenericCard/CardUtils'\nimport { CardLabel } from '@/components/row_renderers/utils/CardFooter'\nimport ChipContainer from '@/components/row_renderers/utils/ChipContainer'\nimport { calculateFriendlyFileSize } from '@/utils/functions/calculateFriendlyFileSize'\nimport { PRODUCTION_ENDPOINT_CONFIG } from '@/utils/functions/getEndpoint'\nimport { DATASET } from '@/utils/SynapseConstants'\nimport { Button } from '@mui/material'\nimport { ColumnModel, SelectColumn } from '@sage-bionetworks/synapse-types'\nimport { Component, MouseEvent } from 'react'\nimport { TableToGenericCardMapping } from '../GenericCard/TableRowGenericCard'\nimport { QueryVisualizationContextType } from '../QueryVisualizationWrapper'\nimport { CardFooter, Icon } from './utils'\n\nexport type DatasetProps = {\n data?: any\n schema?: any\n secondaryLabelLimit?: number\n selectColumns?: SelectColumn[]\n columnModels?: ColumnModel[]\n genericCardSchema?: TableToGenericCardMapping\n queryVisualizationContext: QueryVisualizationContextType\n}\n\nclass Dataset extends Component<DatasetProps, never> {\n constructor(props: DatasetProps) {\n super(props)\n this.handleLinkClick = this.handleLinkClick.bind(this)\n }\n\n public handleLinkClick =\n (link: string) => (event: MouseEvent<HTMLButtonElement>) => {\n event.preventDefault()\n window.open(\n `${PRODUCTION_ENDPOINT_CONFIG.PORTAL}Synapse:${link}`,\n '_blank',\n )\n }\n\n public render() {\n const {\n data,\n schema,\n selectColumns,\n columnModels,\n genericCardSchema,\n queryVisualizationContext: { getColumnDisplayName },\n } = this.props\n const datasetName = data[schema.datasetName]\n const summary = data[schema.summary]\n const tumorType = getValueOrMultiValue({\n columnName: 'tumorType',\n value: data[schema.tumorType],\n selectColumns,\n columnModels,\n }).str\n const diseaseFocus = getValueOrMultiValue({\n columnName: 'diseaseFocus',\n value: data[schema.diseaseFocus],\n selectColumns,\n columnModels,\n }).str\n const id = data[schema.id]\n const fundingAgency = data[schema.fundingAgency]\n const fileCount = data[schema.fileCount]\n const fileSize = calculateFriendlyFileSize(data[schema.fileSize])\n const values: CardLabel[] = [\n {\n columnDisplayName: 'FUNDER',\n value: getValueOrMultiValue({\n columnName: 'fundingAgency',\n value: fundingAgency,\n selectColumns,\n columnModels,\n }).str,\n },\n { columnDisplayName: 'SIZE', value: fileSize },\n { columnDisplayName: 'FILES', value: fileCount },\n ]\n if (genericCardSchema?.secondaryLabels) {\n const { secondaryLabels } = genericCardSchema\n for (let i = 0; i < secondaryLabels.length; i++) {\n const columnName = secondaryLabels[i]\n const value: string | undefined = data[schema[columnName]]\n let columnDisplayName\n if (value) {\n columnDisplayName = getColumnDisplayName(columnName)\n values.push({ columnDisplayName, value, columnName })\n }\n }\n }\n\n return (\n <div className=\"SRC-portalCard SRC-typeDataset \">\n <div className=\"SRC-cardThumbnail\">\n <Icon type={DATASET} />\n <div>{fileSize}</div>\n </div>\n <div className=\"SRC-cardContent SRC-dataset\">\n <div className=\"SRC-type\">Dataset </div>\n <div>\n <h3>\n <a\n target=\"_self\"\n href={`${PRODUCTION_ENDPOINT_CONFIG.PORTAL}Synapse:${id}`}\n >\n {datasetName}\n </a>\n </h3>\n </div>\n <div className=\"SRC-description-dataset\">\n <p className=\"SRC-description-text\">{summary}</p>\n <div className=\"SRC-cardAction\">\n <Button\n className=\"SRC-datasetButton\"\n onClick={this.handleLinkClick(id)}\n color=\"secondary\"\n variant=\"contained\"\n >\n Download Dataset\n </Button>\n </div>\n </div>\n <div className=\"SRC-cardAnnotations\">\n <ChipContainer chips={[tumorType, diseaseFocus]} />\n </div>\n </div>\n <CardFooter\n isHeader={false}\n secondaryLabelLimit={this.props.secondaryLabelLimit}\n values={values}\n />\n </div>\n )\n }\n}\nexport default Dataset\n"],"mappings":";;;;;;;;;;;;AAuBA,IAAM,IAAN,cAAsB,EAA+B;CACnD,YAAY,GAAqB;EAE/B,AADA,MAAM,CAAK,GACX,KAAK,kBAAkB,KAAK,gBAAgB,KAAK,IAAI;CACvD;CAEA,mBACG,OAAkB,MAAyC;EAE1D,AADA,EAAM,eAAe,GACrB,OAAO,KACL,GAAG,EAA2B,OAAO,UAAU,KAC/C,QACF;CACF;CAEF,SAAgB;EACd,IAAM,EACJ,SACA,WACA,kBACA,iBACA,sBACA,2BAA2B,EAAE,8BAC3B,KAAK,OACH,IAAc,EAAK,EAAO,cAC1B,IAAU,EAAK,EAAO,UACtB,IAAY,EAAqB;GACrC,YAAY;GACZ,OAAO,EAAK,EAAO;GACnB;GACA;EACF,CAAC,EAAE,KACG,IAAe,EAAqB;GACxC,YAAY;GACZ,OAAO,EAAK,EAAO;GACnB;GACA;EACF,CAAC,EAAE,KACG,IAAK,EAAK,EAAO,KACjB,IAAgB,EAAK,EAAO,gBAC5B,IAAY,EAAK,EAAO,YACxB,IAAW,EAA0B,EAAK,EAAO,SAAS,GAC1D,IAAsB;GAC1B;IACE,mBAAmB;IACnB,OAAO,EAAqB;KAC1B,YAAY;KACZ,OAAO;KACP;KACA;IACF,CAAC,EAAE;GACL;GACA;IAAE,mBAAmB;IAAQ,OAAO;GAAS;GAC7C;IAAE,mBAAmB;IAAS,OAAO;GAAU;EACjD;EACA,IAAI,GAAmB,iBAAiB;GACtC,IAAM,EAAE,uBAAoB;GAC5B,KAAK,IAAI,IAAI,GAAG,IAAI,EAAgB,QAAQ,KAAK;IAC/C,IAAM,IAAa,EAAgB,IAC7B,IAA4B,EAAK,EAAO,KAC1C;IACJ,AAAI,MACF,IAAoB,EAAqB,CAAU,GACnD,EAAO,KAAK;KAAE;KAAmB;KAAO;IAAW,CAAC;GAExD;EACF;EAEA,OACE,kBAAC,OAAD;GAAK,WAAU;aAAf;IACE,kBAAC,OAAD;KAAK,WAAU;eAAf,CACE,kBAAC,GAAD,EAAM,MAAM,EAAU,CAAA,GACtB,kBAAC,OAAD,EAAA,UAAM,EAAc,CAAA,CACjB;;IACL,kBAAC,OAAD;KAAK,WAAU;eAAf;MACE,kBAAC,OAAD;OAAK,WAAU;iBAAW;MAAa,CAAA;MACvC,kBAAC,OAAD,EAAA,UACE,kBAAC,MAAD,EAAA,UACE,kBAAC,KAAD;OACE,QAAO;OACP,MAAM,GAAG,EAA2B,OAAO,UAAU;iBAEpD;MACA,CAAA,EACD,CAAA,EACD,CAAA;MACL,kBAAC,OAAD;OAAK,WAAU;iBAAf,CACE,kBAAC,KAAD;QAAG,WAAU;kBAAwB;OAAW,CAAA,GAChD,kBAAC,OAAD;QAAK,WAAU;kBACb,kBAAC,GAAD;SACE,WAAU;SACV,SAAS,KAAK,gBAAgB,CAAE;SAChC,OAAM;SACN,SAAQ;mBACT;QAEO,CAAA;OACL,CAAA,CACF;;MACL,kBAAC,OAAD;OAAK,WAAU;iBACb,kBAAC,GAAD,EAAe,OAAO,CAAC,GAAW,CAAY,EAAI,CAAA;MAC/C,CAAA;KACF;;IACL,kBAAC,GAAD;KACE,UAAU;KACV,qBAAqB,KAAK,MAAM;KACxB;IACT,CAAA;GACE;;CAET;AACF"}
@@ -2,6 +2,14 @@ import { BoxProps, PaperProps } from '@mui/material';
2
2
  import { StyledComponent } from '@emotion/styled';
3
3
  import { ReactNode } from 'react';
4
4
  export declare const StyledOuterContainer: StyledComponent<BoxProps>;
5
+ /**
6
+ * Canonical 900px two-column card that stacks into a single column on
7
+ * mobile. Layout-only: consumers supply their own panel padding.
8
+ * `apps/SageAccountWeb` extends this (adding baked-in panel padding) rather
9
+ * than redefining it -- see that app's `StyledComponents.ts` (SWC-7966).
10
+ *
11
+ * Below `md` the card grows with its content and the page scrolls normally.
12
+ */
5
13
  export declare const StyledInnerContainer: StyledComponent<PaperProps>;
6
14
  type LeftRightPanelProps = {
7
15
  leftContent: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"LeftRightPanel.d.ts","sourceRoot":"","sources":["../../../src/components/styled/LeftRightPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAS,UAAU,EAAU,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAWxD,CAAA;AAEH,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,UAAU,CAiB1D,CAAA;AAEH,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,SAAS,CAAA;IACtB,YAAY,EAAE,SAAS,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,YAAY,EACZ,SAAS,GACV,EAAE,mBAAmB,2CASrB"}
1
+ {"version":3,"file":"LeftRightPanel.d.ts","sourceRoot":"","sources":["../../../src/components/styled/LeftRightPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAS,UAAU,EAAU,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAWxD,CAAA;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,UAAU,CA4B1D,CAAA;AAEH,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,SAAS,CAAA;IACtB,YAAY,EAAE,SAAS,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,YAAY,EACZ,SAAS,GACV,EAAE,mBAAmB,2CASrB"}
@@ -13,9 +13,18 @@ var a = n(e, { label: "StyledOuterContainer" })(({ theme: e }) => ({
13
13
  minHeight: "675px",
14
14
  margin: "0 auto",
15
15
  display: "flex",
16
+ overflow: "hidden",
17
+ [e.breakpoints.down("md")]: {
18
+ flexDirection: "column",
19
+ width: "100%",
20
+ minHeight: 0,
21
+ height: "auto",
22
+ overflow: "visible"
23
+ },
16
24
  "& > div:nth-of-type(1), & > div:nth-of-type(2)": {
17
25
  borderRadius: "inherit",
18
- width: "450px"
26
+ width: "450px",
27
+ [e.breakpoints.down("md")]: { width: "100%" }
19
28
  },
20
29
  "& > div:nth-of-type(1)": { backgroundColor: e.palette.background.paper },
21
30
  "& > div:nth-of-type(2)": { backgroundColor: e.palette.grey[200] }
@@ -1 +1 @@
1
- {"version":3,"file":"LeftRightPanel.js","names":[],"sources":["../../../src/components/styled/LeftRightPanel.tsx"],"sourcesContent":["import { Box, BoxProps, Paper, PaperProps, styled } from '@mui/material'\nimport { StyledComponent } from '@emotion/styled'\nimport { ReactNode } from 'react'\n\nexport const StyledOuterContainer: StyledComponent<BoxProps> = styled(Box, {\n label: 'StyledOuterContainer',\n})(({ theme }) => ({\n minHeight: '100vh',\n paddingTop: '50px',\n paddingBottom: '50px',\n background: theme.styledBackground,\n backgroundSize: 'cover',\n [theme.breakpoints.down('md')]: {\n padding: 0,\n },\n}))\n\nexport const StyledInnerContainer: StyledComponent<PaperProps> = styled(Paper, {\n label: 'StyledInnerContainer',\n})(({ theme }) => ({\n width: '900px',\n minHeight: '675px',\n margin: '0 auto',\n display: 'flex',\n '& > div:nth-of-type(1), & > div:nth-of-type(2)': {\n borderRadius: 'inherit',\n width: '450px',\n },\n '& > div:nth-of-type(1)': {\n backgroundColor: theme.palette.background.paper,\n },\n '& > div:nth-of-type(2)': {\n backgroundColor: theme.palette.grey[200],\n },\n}))\n\ntype LeftRightPanelProps = {\n leftContent: ReactNode\n rightContent: ReactNode\n className?: string\n}\n\nexport function LeftRightPanel({\n leftContent,\n rightContent,\n className,\n}: LeftRightPanelProps) {\n return (\n <StyledOuterContainer className={className}>\n <StyledInnerContainer>\n <Box>{leftContent}</Box>\n <Box>{rightContent}</Box>\n </StyledInnerContainer>\n </StyledOuterContainer>\n )\n}\n"],"mappings":";;;AAIA,IAAa,IAAkD,EAAO,GAAK,EACzE,OAAO,uBACT,CAAC,GAAG,EAAE,gBAAa;CACjB,WAAW;CACX,YAAY;CACZ,eAAe;CACf,YAAY,EAAM;CAClB,gBAAgB;EACf,EAAM,YAAY,KAAK,IAAI,IAAI,EAC9B,SAAS,EACX;AACF,EAAE,GAEW,IAAoD,EAAO,GAAO,EAC7E,OAAO,uBACT,CAAC,GAAG,EAAE,gBAAa;CACjB,OAAO;CACP,WAAW;CACX,QAAQ;CACR,SAAS;CACT,kDAAkD;EAChD,cAAc;EACd,OAAO;CACT;CACA,0BAA0B,EACxB,iBAAiB,EAAM,QAAQ,WAAW,MAC5C;CACA,0BAA0B,EACxB,iBAAiB,EAAM,QAAQ,KAAK,KACtC;AACF,EAAE;AAQF,SAAgB,EAAe,EAC7B,gBACA,iBACA,gBACsB;CACtB,OACE,kBAAC,GAAD;EAAiC;YAC/B,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,EAAA,UAAM,EAAiB,CAAA,GACvB,kBAAC,GAAD,EAAA,UAAM,EAAkB,CAAA,CACJ,EAAA,CAAA;CACF,CAAA;AAE1B"}
1
+ {"version":3,"file":"LeftRightPanel.js","names":[],"sources":["../../../src/components/styled/LeftRightPanel.tsx"],"sourcesContent":["import { Box, BoxProps, Paper, PaperProps, styled } from '@mui/material'\nimport { StyledComponent } from '@emotion/styled'\nimport { ReactNode } from 'react'\n\nexport const StyledOuterContainer: StyledComponent<BoxProps> = styled(Box, {\n label: 'StyledOuterContainer',\n})(({ theme }) => ({\n minHeight: '100vh',\n paddingTop: '50px',\n paddingBottom: '50px',\n background: theme.styledBackground,\n backgroundSize: 'cover',\n [theme.breakpoints.down('md')]: {\n padding: 0,\n },\n}))\n\n/**\n * Canonical 900px two-column card that stacks into a single column on\n * mobile. Layout-only: consumers supply their own panel padding.\n * `apps/SageAccountWeb` extends this (adding baked-in panel padding) rather\n * than redefining it -- see that app's `StyledComponents.ts` (SWC-7966).\n *\n * Below `md` the card grows with its content and the page scrolls normally.\n */\nexport const StyledInnerContainer: StyledComponent<PaperProps> = styled(Paper, {\n label: 'StyledInnerContainer',\n})(({ theme }) => ({\n width: '900px',\n minHeight: '675px',\n margin: '0 auto',\n display: 'flex',\n overflow: 'hidden',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n width: '100%',\n minHeight: 0,\n height: 'auto',\n overflow: 'visible',\n },\n '& > div:nth-of-type(1), & > div:nth-of-type(2)': {\n borderRadius: 'inherit',\n width: '450px',\n [theme.breakpoints.down('md')]: {\n width: '100%',\n },\n },\n '& > div:nth-of-type(1)': {\n backgroundColor: theme.palette.background.paper,\n },\n '& > div:nth-of-type(2)': {\n backgroundColor: theme.palette.grey[200],\n },\n}))\n\ntype LeftRightPanelProps = {\n leftContent: ReactNode\n rightContent: ReactNode\n className?: string\n}\n\nexport function LeftRightPanel({\n leftContent,\n rightContent,\n className,\n}: LeftRightPanelProps) {\n return (\n <StyledOuterContainer className={className}>\n <StyledInnerContainer>\n <Box>{leftContent}</Box>\n <Box>{rightContent}</Box>\n </StyledInnerContainer>\n </StyledOuterContainer>\n )\n}\n"],"mappings":";;;AAIA,IAAa,IAAkD,EAAO,GAAK,EACzE,OAAO,uBACT,CAAC,GAAG,EAAE,gBAAa;CACjB,WAAW;CACX,YAAY;CACZ,eAAe;CACf,YAAY,EAAM;CAClB,gBAAgB;EACf,EAAM,YAAY,KAAK,IAAI,IAAI,EAC9B,SAAS,EACX;AACF,EAAE,GAUW,IAAoD,EAAO,GAAO,EAC7E,OAAO,uBACT,CAAC,GAAG,EAAE,gBAAa;CACjB,OAAO;CACP,WAAW;CACX,QAAQ;CACR,SAAS;CACT,UAAU;EACT,EAAM,YAAY,KAAK,IAAI,IAAI;EAC9B,eAAe;EACf,OAAO;EACP,WAAW;EACX,QAAQ;EACR,UAAU;CACZ;CACA,kDAAkD;EAChD,cAAc;EACd,OAAO;GACN,EAAM,YAAY,KAAK,IAAI,IAAI,EAC9B,OAAO,OACT;CACF;CACA,0BAA0B,EACxB,iBAAiB,EAAM,QAAQ,WAAW,MAC5C;CACA,0BAA0B,EACxB,iBAAiB,EAAM,QAAQ,KAAK,KACtC;AACF,EAAE;AAQF,SAAgB,EAAe,EAC7B,gBACA,iBACA,gBACsB;CACtB,OACE,kBAAC,GAAD;EAAiC;YAC/B,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,EAAA,UAAM,EAAiB,CAAA,GACvB,kBAAC,GAAD,EAAA,UAAM,EAAkB,CAAA,CACJ,EAAA,CAAA;CACF,CAAA;AAE1B"}
@@ -78,7 +78,7 @@ async function F(r, i, a, o, s) {
78
78
  };
79
79
  }
80
80
  var I = (e, t, n) => {
81
- if (e.points && e.points[0]) {
81
+ if (e.points?.[0]) {
82
82
  let r = e.points[0], i = r.data.facetEnumerationValues[r.pointNumber], a = t.facetValues.find((e) => e.value === i);
83
83
  n(t, a, !a.isSelected);
84
84
  }