synapse-react-client 4.0.31 → 4.0.33

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 (276) hide show
  1. package/dist/SWC.index.js +1 -1
  2. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsEditor.d.ts.map +1 -1
  3. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsEditor.js +48 -36
  4. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsEditor.js.map +1 -1
  5. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.d.ts.map +1 -1
  6. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.js +217 -143
  7. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.js.map +1 -1
  8. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DocumentTemplate.d.ts.map +1 -1
  9. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DocumentTemplate.js +28 -24
  10. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DocumentTemplate.js.map +1 -1
  11. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.d.ts.map +1 -1
  12. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js +180 -94
  13. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js.map +1 -1
  14. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/styles.d.ts +3 -0
  15. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/styles.d.ts.map +1 -0
  16. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/styles.js +9 -0
  17. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/styles.js.map +1 -0
  18. package/dist/components/CopyToClipboardIcon.d.ts +2 -1
  19. package/dist/components/CopyToClipboardIcon.d.ts.map +1 -1
  20. package/dist/components/CopyToClipboardIcon.js +6 -6
  21. package/dist/components/CopyToClipboardIcon.js.map +1 -1
  22. package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
  23. package/dist/components/DataGrid/SynapseGrid.js +230 -215
  24. package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
  25. package/dist/components/DataGrid/SyncGridWithSourceButton.js +3 -3
  26. package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -1
  27. package/dist/components/DataGrid/columns/DateTimeColumn.js +1 -1
  28. package/dist/components/DataGrid/columns/DateTimeColumn.js.map +1 -1
  29. package/dist/components/DataGrid/components/ReorderColumnsButton.d.ts +10 -0
  30. package/dist/components/DataGrid/components/ReorderColumnsButton.d.ts.map +1 -0
  31. package/dist/components/DataGrid/components/ReorderColumnsButton.js +37 -0
  32. package/dist/components/DataGrid/components/ReorderColumnsButton.js.map +1 -0
  33. package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts +12 -0
  34. package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts.map +1 -0
  35. package/dist/components/DataGrid/components/ReorderColumnsDialog.js +93 -0
  36. package/dist/components/DataGrid/components/ReorderColumnsDialog.js.map +1 -0
  37. package/dist/components/DataGrid/hooks/useGetSchemaForGrid.js +1 -1
  38. package/dist/components/DataGrid/utils/applyModelChange.d.ts +3 -0
  39. package/dist/components/DataGrid/utils/applyModelChange.d.ts.map +1 -1
  40. package/dist/components/DataGrid/utils/applyModelChange.js +5 -0
  41. package/dist/components/DataGrid/utils/applyModelChange.js.map +1 -1
  42. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.d.ts +8 -0
  43. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.d.ts.map +1 -0
  44. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.js +14 -0
  45. package/dist/components/DataGrid/utils/computeDefaultColumnOrder.js.map +1 -0
  46. package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js +1 -1
  47. package/dist/components/EntityFinder/details/view/DetailsView.d.ts.map +1 -1
  48. package/dist/components/EntityFinder/details/view/DetailsView.js +119 -122
  49. package/dist/components/EntityFinder/details/view/DetailsView.js.map +1 -1
  50. package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.d.ts +5 -1
  51. package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.d.ts.map +1 -1
  52. package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.js +7 -7
  53. package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.js.map +1 -1
  54. package/dist/components/EntityLink.d.ts +2 -0
  55. package/dist/components/EntityLink.d.ts.map +1 -1
  56. package/dist/components/EntityLink.js +15 -11
  57. package/dist/components/EntityLink.js.map +1 -1
  58. package/dist/components/EntitySidebar/AccessAndPermissions.css +1 -0
  59. package/dist/components/EntitySidebar/AccessAndPermissions.d.ts +7 -0
  60. package/dist/components/EntitySidebar/AccessAndPermissions.d.ts.map +1 -0
  61. package/dist/components/EntitySidebar/AccessAndPermissions.js +75 -0
  62. package/dist/components/EntitySidebar/AccessAndPermissions.js.map +1 -0
  63. package/dist/components/EntitySidebar/AccessAndPermissions.module.js +15 -0
  64. package/dist/components/EntitySidebar/AccessAndPermissions.module.js.map +1 -0
  65. package/dist/components/EntitySidebar/AccessAndPermissions.module.scss +58 -0
  66. package/dist/components/EntitySidebar/EntitySidebar.css +1 -1
  67. package/dist/components/EntitySidebar/EntitySidebar.d.ts.map +1 -1
  68. package/dist/components/EntitySidebar/EntitySidebar.js +54 -42
  69. package/dist/components/EntitySidebar/EntitySidebar.js.map +1 -1
  70. package/dist/components/EntitySidebar/EntitySidebar.module.js +10 -11
  71. package/dist/components/EntitySidebar/EntitySidebar.module.js.map +1 -1
  72. package/dist/components/EntitySidebar/EntitySidebar.module.scss +6 -13
  73. package/dist/components/EntityTreeTable/EntityTreeTable.css +1 -1
  74. package/dist/components/EntityTreeTable/EntityTreeTable.module.js +1 -1
  75. package/dist/components/EntityTreeTable/EntityTreeTable.module.js.map +1 -1
  76. package/dist/components/EntityTreeTable/EntityTreeTable.module.scss +18 -0
  77. package/dist/components/EntityTreeTable/components/ColumnHeaders.d.ts.map +1 -1
  78. package/dist/components/EntityTreeTable/components/ColumnHeaders.js +20 -7
  79. package/dist/components/EntityTreeTable/components/ColumnHeaders.js.map +1 -1
  80. package/dist/components/EntityTreeTable/components/EntityNameCell.d.ts.map +1 -1
  81. package/dist/components/EntityTreeTable/components/EntityNameCell.js +3 -1
  82. package/dist/components/EntityTreeTable/components/EntityNameCell.js.map +1 -1
  83. package/dist/components/EntityTreeTable/components/EntityTreeTableView.d.ts.map +1 -1
  84. package/dist/components/EntityTreeTable/components/EntityTreeTableView.js +4 -1
  85. package/dist/components/EntityTreeTable/components/EntityTreeTableView.js.map +1 -1
  86. package/dist/components/EntityTreeTable/components/IdColumnHeader.d.ts.map +1 -1
  87. package/dist/components/EntityTreeTable/components/IdColumnHeader.js +3 -1
  88. package/dist/components/EntityTreeTable/components/IdColumnHeader.js.map +1 -1
  89. package/dist/components/EntityTreeTable/hooks/useTableColumns.d.ts.map +1 -1
  90. package/dist/components/EntityTreeTable/hooks/useTableColumns.js +24 -19
  91. package/dist/components/EntityTreeTable/hooks/useTableColumns.js.map +1 -1
  92. package/dist/components/Forum/DiscussionEmpty.css +1 -1
  93. package/dist/components/Forum/DiscussionEmpty.module.js +4 -4
  94. package/dist/components/Forum/DiscussionEmpty.module.js.map +1 -1
  95. package/dist/components/Forum/DiscussionEmpty.module.scss +3 -6
  96. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.css +1 -0
  97. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.d.ts +29 -0
  98. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.d.ts.map +1 -0
  99. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.js +229 -0
  100. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.js.map +1 -0
  101. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.module.js +9 -0
  102. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.module.js.map +1 -0
  103. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPicker.module.scss +19 -0
  104. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPickerModal.d.ts +23 -0
  105. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPickerModal.d.ts.map +1 -0
  106. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPickerModal.js +39 -0
  107. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaPickerModal.js.map +1 -0
  108. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaVersionSelectionContext.d.ts +14 -0
  109. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaVersionSelectionContext.d.ts.map +1 -0
  110. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaVersionSelectionContext.js +12 -0
  111. package/dist/components/JsonSchema/JsonSchemaPicker/JsonSchemaVersionSelectionContext.js.map +1 -0
  112. package/dist/components/JsonSchema/JsonSchemaPicker/VersionSelectionType.d.ts +17 -0
  113. package/dist/components/JsonSchema/JsonSchemaPicker/VersionSelectionType.d.ts.map +1 -0
  114. package/dist/components/JsonSchema/JsonSchemaPicker/VersionSelectionType.js +8 -0
  115. package/dist/components/JsonSchema/JsonSchemaPicker/VersionSelectionType.js.map +1 -0
  116. package/dist/components/JsonSchema/JsonSchemaPicker/index.d.ts +6 -0
  117. package/dist/components/JsonSchema/JsonSchemaPicker/index.d.ts.map +1 -0
  118. package/dist/components/JsonSchema/JsonSchemaPicker/index.js +4 -0
  119. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaOrganizations.d.ts +20 -0
  120. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaOrganizations.d.ts.map +1 -0
  121. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaOrganizations.js +25 -0
  122. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaOrganizations.js.map +1 -0
  123. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaSelection.d.ts +35 -0
  124. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaSelection.d.ts.map +1 -0
  125. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaSelection.js +60 -0
  126. package/dist/components/JsonSchema/JsonSchemaPicker/useJsonSchemaSelection.js.map +1 -0
  127. package/dist/components/ProjectInfo/ProjectInfo.css +1 -1
  128. package/dist/components/ProjectInfo/ProjectInfo.module.js +5 -5
  129. package/dist/components/ProjectInfo/ProjectInfo.module.js.map +1 -1
  130. package/dist/components/ProjectInfo/ProjectInfo.module.scss +2 -4
  131. package/dist/components/ProjectInfo/ProjectInfoPopover.d.ts.map +1 -1
  132. package/dist/components/ProjectInfo/ProjectInfoPopover.js +17 -16
  133. package/dist/components/ProjectInfo/ProjectInfoPopover.js.map +1 -1
  134. package/dist/components/ProjectStorage/ProjectDataAvailability.d.ts.map +1 -1
  135. package/dist/components/ProjectStorage/ProjectDataAvailability.js +16 -16
  136. package/dist/components/ProjectStorage/ProjectDataAvailability.js.map +1 -1
  137. package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
  138. package/dist/components/ProvenanceGraph/ProvenanceGraph.js +95 -95
  139. package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
  140. package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js +2 -2
  141. package/dist/components/SetManagedAccessRequirementFields/SetManagedAccessRequirementFields.d.ts.map +1 -1
  142. package/dist/components/SetManagedAccessRequirementFields/SetManagedAccessRequirementFields.js +116 -91
  143. package/dist/components/SetManagedAccessRequirementFields/SetManagedAccessRequirementFields.js.map +1 -1
  144. package/dist/components/SynapseChat/SynapseChat.d.ts.map +1 -1
  145. package/dist/components/SynapseChat/SynapseChat.js +41 -41
  146. package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
  147. package/dist/components/SynapseChat/SynapseChatInteraction.d.ts +3 -2
  148. package/dist/components/SynapseChat/SynapseChatInteraction.d.ts.map +1 -1
  149. package/dist/components/SynapseChat/SynapseChatInteraction.js.map +1 -1
  150. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.css +1 -1
  151. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.d.ts.map +1 -1
  152. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.js +0 -7
  153. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.js.map +1 -1
  154. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.module.js +2 -2
  155. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.module.js.map +1 -1
  156. package/dist/components/SynapseChat/components/AttachmentChip/AttachmentChip.module.scss +12 -2
  157. package/dist/components/SynapseChat/components/ChatAttachmentStrip/ChatAttachmentStrip.css +1 -1
  158. package/dist/components/SynapseChat/components/ChatAttachmentStrip/ChatAttachmentStrip.module.js +3 -3
  159. package/dist/components/SynapseChat/components/ChatAttachmentStrip/ChatAttachmentStrip.module.js.map +1 -1
  160. package/dist/components/SynapseChat/components/ChatAttachmentStrip/ChatAttachmentStrip.module.scss +5 -1
  161. package/dist/components/TanStackTable/ColumnHeader.d.ts +7 -0
  162. package/dist/components/TanStackTable/ColumnHeader.d.ts.map +1 -1
  163. package/dist/components/TanStackTable/ColumnHeader.js +10 -9
  164. package/dist/components/TanStackTable/ColumnHeader.js.map +1 -1
  165. package/dist/components/TanStackTable/StyledVirtualTanStackTable.d.ts +8 -0
  166. package/dist/components/TanStackTable/StyledVirtualTanStackTable.d.ts.map +1 -1
  167. package/dist/components/TanStackTable/StyledVirtualTanStackTable.js +31 -22
  168. package/dist/components/TanStackTable/StyledVirtualTanStackTable.js.map +1 -1
  169. package/dist/components/TanStackTable/useFetchNextPageOnScrollToBottom.d.ts +21 -0
  170. package/dist/components/TanStackTable/useFetchNextPageOnScrollToBottom.d.ts.map +1 -0
  171. package/dist/components/TanStackTable/useFetchNextPageOnScrollToBottom.js +22 -0
  172. package/dist/components/TanStackTable/useFetchNextPageOnScrollToBottom.js.map +1 -0
  173. package/dist/components/entity/metadata/AnnotationsTable.js +2 -2
  174. package/dist/components/entity/metadata/AnnotationsTable.js.map +1 -1
  175. package/dist/components/entity/page/breadcrumbs/EntityPageBreadcrumbs.d.ts.map +1 -1
  176. package/dist/components/entity/page/breadcrumbs/EntityPageBreadcrumbs.js +8 -8
  177. package/dist/components/entity/page/breadcrumbs/EntityPageBreadcrumbs.js.map +1 -1
  178. package/dist/components/entity/page/title_bar/EntityPageTitleBar.d.ts +0 -1
  179. package/dist/components/entity/page/title_bar/EntityPageTitleBar.d.ts.map +1 -1
  180. package/dist/components/entity/page/title_bar/EntityPageTitleBar.js +22 -22
  181. package/dist/components/entity/page/title_bar/EntityPageTitleBar.js.map +1 -1
  182. package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.d.ts.map +1 -1
  183. package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +62 -68
  184. package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js.map +1 -1
  185. package/dist/components/styled/StyledTableContainer.d.ts +1 -0
  186. package/dist/components/styled/StyledTableContainer.d.ts.map +1 -1
  187. package/dist/components/styled/StyledTableContainer.js +3 -3
  188. package/dist/components/styled/StyledTableContainer.js.map +1 -1
  189. package/dist/features/curator/dashboard/components/CurationTaskCardLayout.js +1 -1
  190. package/dist/features/curator/dashboard/components/CurationTaskCardLayout.js.map +1 -1
  191. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.d.ts.map +1 -1
  192. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +131 -131
  193. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
  194. package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.d.ts.map +1 -1
  195. package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.js +21 -18
  196. package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.js.map +1 -1
  197. package/dist/features/entity/metadata-task/utils/dueDate.d.ts +1 -1
  198. package/dist/features/entity/metadata-task/utils/dueDate.js.map +1 -1
  199. package/dist/mocks/eDuc/mockEDucTemplates.d.ts +7 -0
  200. package/dist/mocks/eDuc/mockEDucTemplates.d.ts.map +1 -0
  201. package/dist/mocks/eDuc/mockEDucTemplates.js +18 -0
  202. package/dist/mocks/eDuc/mockEDucTemplates.js.map +1 -0
  203. package/dist/mocks/jsonschema/mockJsonSchemaListing.d.ts +31 -0
  204. package/dist/mocks/jsonschema/mockJsonSchemaListing.d.ts.map +1 -0
  205. package/dist/mocks/jsonschema/mockJsonSchemaListing.js +101 -0
  206. package/dist/mocks/jsonschema/mockJsonSchemaListing.js.map +1 -0
  207. package/dist/mocks/msw/handlers/eDucTemplateHandlers.d.ts +2 -0
  208. package/dist/mocks/msw/handlers/eDucTemplateHandlers.d.ts.map +1 -0
  209. package/dist/mocks/msw/handlers/eDucTemplateHandlers.js +14 -0
  210. package/dist/mocks/msw/handlers/eDucTemplateHandlers.js.map +1 -0
  211. package/dist/mocks/msw/handlers/jsonSchemaListingHandlers.d.ts +8 -0
  212. package/dist/mocks/msw/handlers/jsonSchemaListingHandlers.d.ts.map +1 -0
  213. package/dist/mocks/msw/handlers/jsonSchemaListingHandlers.js +30 -0
  214. package/dist/mocks/msw/handlers/jsonSchemaListingHandlers.js.map +1 -0
  215. package/dist/mocks/msw/handlers.d.ts.map +1 -1
  216. package/dist/mocks/msw/handlers.js +55 -51
  217. package/dist/mocks/msw/handlers.js.map +1 -1
  218. package/dist/style/abstracts/_cssVariables.scss +13 -0
  219. package/dist/style/components/entity_finder/_details-view.scss +0 -10
  220. package/dist/style/main.css +1 -1
  221. package/dist/synapse-client/SynapseClient.d.ts.map +1 -1
  222. package/dist/synapse-client/SynapseClient.js +2 -6
  223. package/dist/synapse-client/SynapseClient.js.map +1 -1
  224. package/dist/synapse-queries/KeyFactory.d.ts +3 -0
  225. package/dist/synapse-queries/KeyFactory.d.ts.map +1 -1
  226. package/dist/synapse-queries/KeyFactory.js +9 -0
  227. package/dist/synapse-queries/KeyFactory.js.map +1 -1
  228. package/dist/synapse-queries/dataaccess/useEDuc.d.ts +3 -3
  229. package/dist/synapse-queries/dataaccess/useEDuc.d.ts.map +1 -1
  230. package/dist/synapse-queries/dataaccess/useEDuc.js +40 -35
  231. package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
  232. package/dist/synapse-queries/entity/index.d.ts +0 -2
  233. package/dist/synapse-queries/entity/index.d.ts.map +1 -1
  234. package/dist/synapse-queries/entity/index.js +8 -10
  235. package/dist/synapse-queries/index.d.ts +1 -0
  236. package/dist/synapse-queries/index.d.ts.map +1 -1
  237. package/dist/synapse-queries/index.js +136 -128
  238. package/dist/synapse-queries/index.js.map +1 -1
  239. package/dist/synapse-queries/jsonschema/index.d.ts +6 -0
  240. package/dist/synapse-queries/jsonschema/index.d.ts.map +1 -0
  241. package/dist/synapse-queries/jsonschema/index.js +6 -0
  242. package/dist/synapse-queries/jsonschema/useEntityBoundSchema.d.ts.map +1 -0
  243. package/dist/synapse-queries/{entity → jsonschema}/useEntityBoundSchema.js +1 -1
  244. package/dist/synapse-queries/jsonschema/useEntityBoundSchema.js.map +1 -0
  245. package/dist/synapse-queries/jsonschema/useListJsonSchemaVersions.d.ts +26 -0
  246. package/dist/synapse-queries/jsonschema/useListJsonSchemaVersions.d.ts.map +1 -0
  247. package/dist/synapse-queries/jsonschema/useListJsonSchemaVersions.js +36 -0
  248. package/dist/synapse-queries/jsonschema/useListJsonSchemaVersions.js.map +1 -0
  249. package/dist/synapse-queries/jsonschema/useListJsonSchemasInfinite.d.ts +8 -0
  250. package/dist/synapse-queries/jsonschema/useListJsonSchemasInfinite.d.ts.map +1 -0
  251. package/dist/synapse-queries/jsonschema/useListJsonSchemasInfinite.js +21 -0
  252. package/dist/synapse-queries/jsonschema/useListJsonSchemasInfinite.js.map +1 -0
  253. package/dist/synapse-queries/jsonschema/useListOrganizations.d.ts +8 -0
  254. package/dist/synapse-queries/jsonschema/useListOrganizations.d.ts.map +1 -0
  255. package/dist/synapse-queries/jsonschema/useListOrganizations.js +22 -0
  256. package/dist/synapse-queries/jsonschema/useListOrganizations.js.map +1 -0
  257. package/dist/synapse-queries/jsonschema/useSchema.d.ts.map +1 -0
  258. package/dist/synapse-queries/{entity → jsonschema}/useSchema.js +1 -1
  259. package/dist/synapse-queries/jsonschema/useSchema.js.map +1 -0
  260. package/dist/testutils/VirtualizedTableTestUtils.js +17 -0
  261. package/dist/testutils/VirtualizedTableTestUtils.js.map +1 -0
  262. package/dist/theme/palette/Palettes.d.ts.map +1 -1
  263. package/dist/theme/palette/Palettes.js +13 -0
  264. package/dist/theme/palette/Palettes.js.map +1 -1
  265. package/dist/tsconfig.build.tsbuildinfo +1 -1
  266. package/dist/utils/APIConstants.d.ts +1 -0
  267. package/dist/utils/APIConstants.d.ts.map +1 -1
  268. package/dist/utils/APIConstants.js +2 -2
  269. package/dist/utils/APIConstants.js.map +1 -1
  270. package/package.json +4 -4
  271. package/dist/synapse-queries/entity/useEntityBoundSchema.d.ts.map +0 -1
  272. package/dist/synapse-queries/entity/useEntityBoundSchema.js.map +0 -1
  273. package/dist/synapse-queries/entity/useSchema.d.ts.map +0 -1
  274. package/dist/synapse-queries/entity/useSchema.js.map +0 -1
  275. /package/dist/synapse-queries/{entity → jsonschema}/useEntityBoundSchema.d.ts +0 -0
  276. /package/dist/synapse-queries/{entity → jsonschema}/useSchema.d.ts +0 -0
@@ -3,143 +3,160 @@ import { useSynapseContext as t } from "../../../../utils/context/SynapseContext
3
3
  import "../../../../utils/index.js";
4
4
  import { useSubmitDataAccessRequest as n } from "../../../../synapse-queries/dataaccess/useDataAccessSubmission.js";
5
5
  import { useGetDataAccessRequestForUpdate as r, useUpdateDataAccessRequest as i } from "../../../../synapse-queries/dataaccess/useAccessRequirements.js";
6
- import { useGetCurrentUserProfile as a } from "../../../../synapse-queries/user/useUserBundle.js";
6
+ import { useGetCurrentUserProfile as ee } from "../../../../synapse-queries/user/useUserBundle.js";
7
7
  import "../../../../synapse-queries/index.js";
8
- import o from "../../../IconSvg/IconSvg.js";
9
- import s from "../DataAccessRequestAccessorsEditor.js";
10
- import c from "../DocumentTemplate.js";
11
- import ee from "../ManagedACTAccessRequirementFormWikiWrapper.js";
12
- import { UploadDocumentField as l } from "../UploadDocumentField.js";
13
- import { useEffect as u, useState as d } from "react";
14
- import { Alert as f, Box as p, Button as m, DialogActions as h, DialogContent as g, DialogTitle as te, Divider as _, IconButton as v, Link as y, Stack as b, Typography as x } from "@mui/material";
15
- import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
16
- import { AccessType as T, FileHandleAssociateType as E } from "@sage-bionetworks/synapse-types";
17
- import { NewReleasesOutlined as D } from "@mui/icons-material";
18
- import { deepEquals as O } from "@rjsf/utils";
8
+ import a from "../../../IconSvg/IconSvg.js";
9
+ import { longFieldLabelSx as o } from "../styles.js";
10
+ import te from "../DataAccessRequestAccessorsEditor.js";
11
+ import ne from "../DocumentTemplate.js";
12
+ import re from "../ManagedACTAccessRequirementFormWikiWrapper.js";
13
+ import { UploadDocumentField as s } from "../UploadDocumentField.js";
14
+ import { useEffect as c, useState as l } from "react";
15
+ import { Alert as ie, Box as u, Button as d, DialogActions as ae, DialogContent as oe, DialogTitle as f, Divider as p, IconButton as m, Link as h, Stack as se, TextField as g, Typography as _ } from "@mui/material";
16
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
17
+ import { AccessType as x, FileHandleAssociateType as S } from "@sage-bionetworks/synapse-types";
18
+ import C from "lodash-es/isEmpty";
19
+ import { NewReleasesOutlined as w } from "@mui/icons-material";
20
+ import { deepEquals as T } from "@rjsf/utils";
19
21
  //#region src/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.tsx
20
- function k(e) {
21
- let { managedACTAccessRequirement: t } = e, n = "", r = "";
22
- return t.isCertifiedUserRequired && t.isValidatedProfileRequired ? (n = "https://help.synapse.org/docs/User-Types.2007072795.html", r = "All data requesters must be certified users and have a validated user profile.") : t.isCertifiedUserRequired ? (n = "https://help.synapse.org/docs/User-Types.2007072795.html#UserAccountTiers-CertifiedUsers", r = "All data requesters must be a certified user.") : t.isValidatedProfileRequired && (n = "https://help.synapse.org/docs/User-Types.2007072795.html#UserAccountTiers-ValidatedUsers", r = "All data requesters must have a validated user profile."), /* @__PURE__ */ w(S, { children: [
23
- t.isDUCRequired ? /* @__PURE__ */ w(p, {
22
+ function E(e) {
23
+ let { managedACTAccessRequirement: t, isEDucEnabled: n } = e, r = "", i = "";
24
+ return t.isCertifiedUserRequired && t.isValidatedProfileRequired ? (r = "https://help.synapse.org/docs/User-Types.2007072795.html", i = "All data requesters must be certified users and have a validated user profile.") : t.isCertifiedUserRequired ? (r = "https://help.synapse.org/docs/User-Types.2007072795.html#UserAccountTiers-CertifiedUsers", i = "All data requesters must be a certified user.") : t.isValidatedProfileRequired && (r = "https://help.synapse.org/docs/User-Types.2007072795.html#UserAccountTiers-ValidatedUsers", i = "All data requesters must have a validated user profile."), /* @__PURE__ */ b(v, { children: [
25
+ t.isDUCRequired && !n ? /* @__PURE__ */ b(u, {
24
26
  sx: {
25
27
  display: "flex",
26
28
  gap: 2,
27
29
  alignItems: "center",
28
30
  py: 1
29
31
  },
30
- children: [/* @__PURE__ */ C(D, { sx: { color: "error.main" } }), /* @__PURE__ */ C("div", { children: "You must list the Synapse user names of all collaborators listed in your Data Use Certificate (DUC)." })]
32
+ children: [/* @__PURE__ */ y(w, { sx: { color: "error.main" } }), /* @__PURE__ */ y("div", { children: "You must list the Synapse user names of all collaborators listed in your Data Use Certificate (DUC)." })]
31
33
  }) : "",
32
- r,
34
+ i,
33
35
  " ",
34
- n && /* @__PURE__ */ C(y, {
35
- href: n,
36
+ r && /* @__PURE__ */ y(h, {
37
+ href: r,
36
38
  target: "_blank",
37
39
  rel: "noreferrer",
38
40
  children: "Learn more"
39
41
  })
40
42
  ] });
41
43
  }
42
- function A(y) {
43
- let { onSubmissionCreated: D, managedACTAccessRequirement: A, subjectId: ne, subjectType: re, researchProjectId: j, onCancel: ie, onBackClicked: ae } = y, { isAuthenticated: M } = t(), { data: N } = a({ enabled: M }), [P, F] = d(), [I, L] = d(), [R, z] = d(), [B, V] = d(), { data: H, isLoading: U } = r(String(A.id), {
44
- enabled: M,
44
+ function D(h) {
45
+ let { onSubmissionCreated: w, managedACTAccessRequirement: D, subjectId: ce, subjectType: le, researchProjectId: O, onCancel: ue, onBackClicked: de } = h, { isAuthenticated: k } = t(), { data: A } = ee({ enabled: k }), [j, M] = l(), N = !!D.eDucTemplateId, [P, F] = l(), [I, L] = l(), [R, z] = l(), [B, V] = l(""), [H, U] = l(""), { data: W, isLoading: fe } = r(String(D.id), {
46
+ enabled: k,
45
47
  staleTime: Infinity,
46
48
  throwOnError: !0
47
- }), W = H?.concreteType === "org.sagebionetworks.repo.model.dataaccess.Renewal";
48
- function G(e) {
49
- console.log("RequestDataAccessStep2: Error updating form", e), F({
49
+ }), G = W?.concreteType === "org.sagebionetworks.repo.model.dataaccess.Renewal";
50
+ function K(e) {
51
+ console.log("RequestDataAccessStep2: Error updating form", e), M({
50
52
  key: "error",
51
- message: Z(e.reason)
53
+ message: Q(e.reason)
52
54
  });
53
55
  }
54
- let { mutate: K, isPending: q } = n({
56
+ let { mutate: pe, isPending: q } = n({
55
57
  onSuccess: (e) => {
56
- D(e.submissionId);
58
+ w(e.submissionId);
57
59
  },
58
- onError: G
59
- }), { mutateAsync: J, isPending: oe } = i({ onError: G }), Y = U || oe || q;
60
- u(() => {
61
- if (H && N) {
60
+ onError: K
61
+ }), { mutateAsync: J, isPending: me } = i({ onError: K }), Y = fe || me || q, he = q || N && (!B || !H);
62
+ c(() => {
63
+ if (W && A) {
62
64
  let e = !1;
63
- H.researchProjectId || (H.researchProjectId = j, e = !0);
65
+ W.researchProjectId || (W.researchProjectId = O, e = !0);
64
66
  let t = {
65
- userId: N.ownerId,
66
- type: W ? T.RENEW_ACCESS : T.GAIN_ACCESS
67
+ userId: A.ownerId,
68
+ type: G ? x.RENEW_ACCESS : x.GAIN_ACCESS
67
69
  };
68
- (!H.accessorChanges || !H.accessorChanges.find((e) => O(e, t))) && (H.accessorChanges = [t, ...H.accessorChanges || []], e = !0);
69
- let n = /* @__PURE__ */ new Set(), r = H.accessorChanges.filter((e) => n.has(e.userId) ? !1 : n.add(e.userId));
70
- r.length !== H.accessorChanges.length && (H.accessorChanges = r, e = !0), e && J(H);
70
+ (!W.accessorChanges || !W.accessorChanges.find((e) => T(e, t))) && (W.accessorChanges = [t, ...W.accessorChanges || []], e = !0);
71
+ let n = /* @__PURE__ */ new Set(), r = W.accessorChanges.filter((e) => n.has(e.userId) ? !1 : n.add(e.userId));
72
+ r.length !== W.accessorChanges.length && (W.accessorChanges = r, e = !0), e && J(W);
71
73
  }
72
74
  }, [
73
- H,
74
75
  W,
75
- j,
76
+ G,
77
+ O,
76
78
  J,
77
- N
78
- ]), u(() => {
79
- H && (H.accessorChanges && I == null && L(H.accessorChanges), W && H.publication && B == null && V(H.publication), W && H.summaryOfUse && R == null && z(H.summaryOfUse));
80
- }, [H]);
79
+ A
80
+ ]), c(() => {
81
+ if (W && (W.accessorChanges && P == null && F(W.accessorChanges), G && W.publication && R == null && z(W.publication), G && W.summaryOfUse && I == null && L(W.summaryOfUse), N)) {
82
+ let e = W.signingOfficial;
83
+ C(B) && e?.name && V(e.name), C(H) && e?.institutionalEmail && U(e.institutionalEmail);
84
+ }
85
+ }, [W]);
81
86
  function X() {
82
- return {
83
- ...H,
84
- accessorChanges: I,
85
- publication: B,
86
- summaryOfUse: R
87
+ let e = {
88
+ ...W,
89
+ accessorChanges: P,
90
+ publication: R,
91
+ summaryOfUse: I
87
92
  };
93
+ if (N) {
94
+ let t = {
95
+ ...W?.signingOfficial,
96
+ name: B || void 0,
97
+ institutionalEmail: H || void 0
98
+ };
99
+ return {
100
+ ...e,
101
+ signingOfficial: t
102
+ };
103
+ }
104
+ return e;
88
105
  }
89
- async function se() {
90
- if (H) {
106
+ async function Z() {
107
+ if (W) {
91
108
  let e = await J(X());
92
- K({
109
+ pe({
93
110
  request: {
94
111
  requestId: e.id,
95
112
  requestEtag: e.etag,
96
- subjectId: ne,
97
- subjectType: re
113
+ subjectId: ce,
114
+ subjectType: le
98
115
  },
99
- accessRequirementId: String(A.id)
116
+ accessRequirementId: String(D.id)
100
117
  });
101
118
  }
102
119
  }
103
- let Z = (e = "") => /* @__PURE__ */ w(S, { children: [
104
- /* @__PURE__ */ C("strong", { children: "Sorry, there is an error in submitting your request." }),
105
- /* @__PURE__ */ C("br", {}),
120
+ let Q = (e = "") => /* @__PURE__ */ b(v, { children: [
121
+ /* @__PURE__ */ y("strong", { children: "Sorry, there is an error in submitting your request." }),
122
+ /* @__PURE__ */ y("br", {}),
106
123
  e
107
- ] }), ce = (e) => {
108
- L([...e(I || [])]);
109
- }, le = (e) => {
124
+ ] }), ge = (e) => {
125
+ F([...e(P || [])]);
126
+ }, _e = (e) => {
110
127
  J({
111
- ...H,
112
- attachments: H.attachments?.filter((t) => t !== e)
128
+ ...W,
129
+ attachments: W.attachments?.filter((t) => t !== e)
113
130
  });
114
- }, Q = (e, t) => {
131
+ }, $ = (e, t) => {
115
132
  if (e.resp && e.success) {
116
133
  let n = e.resp;
117
134
  J(t === "attachments" ? {
118
- ...H,
119
- attachments: [...H.attachments || [], n.fileHandleId]
135
+ ...W,
136
+ attachments: [...W.attachments || [], n.fileHandleId]
120
137
  } : {
121
- ...H,
138
+ ...W,
122
139
  [t]: n.fileHandleId
123
140
  });
124
- } else !e.success && e.error && (console.log("RequestDataAccessStep2: Error uploading the file", e.error), F({
141
+ } else !e.success && e.error && (console.log("RequestDataAccessStep2: Error uploading the file", e.error), M({
125
142
  key: "error",
126
- message: Z(e.error.reason)
143
+ message: Q(e.error.reason)
127
144
  }));
128
- }, $ = H?.ducFileHandleId ? [{
129
- fileHandleId: H?.ducFileHandleId,
130
- associateObjectType: E.DataAccessRequestAttachment,
131
- associateObjectId: String(H.id)
132
- }] : [], ue = H?.irbFileHandleId ? [{
133
- fileHandleId: H.irbFileHandleId,
134
- associateObjectType: E.DataAccessRequestAttachment,
135
- associateObjectId: String(H.id)
136
- }] : [], de = (H?.attachments || []).map((e) => ({
145
+ }, ve = W?.ducFileHandleId ? [{
146
+ fileHandleId: W?.ducFileHandleId,
147
+ associateObjectType: S.DataAccessRequestAttachment,
148
+ associateObjectId: String(W.id)
149
+ }] : [], ye = W?.irbFileHandleId ? [{
150
+ fileHandleId: W.irbFileHandleId,
151
+ associateObjectType: S.DataAccessRequestAttachment,
152
+ associateObjectId: String(W.id)
153
+ }] : [], be = (W?.attachments || []).map((e) => ({
137
154
  fileHandleId: e,
138
- associateObjectType: E.DataAccessRequestAttachment,
139
- associateObjectId: String(H.id)
155
+ associateObjectType: S.DataAccessRequestAttachment,
156
+ associateObjectId: String(W.id)
140
157
  })) ?? [];
141
- return /* @__PURE__ */ w(S, { children: [
142
- /* @__PURE__ */ C(te, { children: /* @__PURE__ */ w(b, {
158
+ return /* @__PURE__ */ b(v, { children: [
159
+ /* @__PURE__ */ y(f, { children: /* @__PURE__ */ b(se, {
143
160
  direction: "row",
144
161
  sx: {
145
162
  alignItems: "center",
@@ -147,10 +164,10 @@ function A(y) {
147
164
  },
148
165
  children: [
149
166
  "Request Access",
150
- /* @__PURE__ */ C(p, { sx: { flexGrow: 1 } }),
151
- /* @__PURE__ */ C(v, {
152
- onClick: y.onHide,
153
- children: /* @__PURE__ */ C(o, {
167
+ /* @__PURE__ */ y(u, { sx: { flexGrow: 1 } }),
168
+ /* @__PURE__ */ y(m, {
169
+ onClick: h.onHide,
170
+ children: /* @__PURE__ */ y(a, {
154
171
  icon: "close",
155
172
  wrap: !1,
156
173
  sx: { color: "grey.700" }
@@ -158,37 +175,83 @@ function A(y) {
158
175
  })
159
176
  ]
160
177
  }) }),
161
- /* @__PURE__ */ w(g, { children: [/* @__PURE__ */ C(ee, {
162
- managedACTAccessRequirementId: String(A.id),
163
- children: /* @__PURE__ */ w(p, {
178
+ /* @__PURE__ */ b(oe, { children: [/* @__PURE__ */ y(re, {
179
+ managedACTAccessRequirementId: String(D.id),
180
+ children: /* @__PURE__ */ b(u, {
164
181
  component: "form",
165
182
  sx: { minHeight: "475px" },
166
183
  onSubmit: (e) => e.preventDefault(),
167
184
  children: [
168
- /* @__PURE__ */ C(x, {
185
+ /* @__PURE__ */ y(_, {
169
186
  variant: "body1",
170
- sx: { mb: 2 },
187
+ sx: {
188
+ mb: 2,
189
+ fontSize: "16px"
190
+ },
171
191
  children: "Please provide the information below to submit the request for access."
172
192
  }),
173
- H && N && /* @__PURE__ */ C(s, {
174
- accessorChanges: I || [],
175
- onChange: ce,
176
- isRenewal: W,
177
- helpText: /* @__PURE__ */ C(k, { managedACTAccessRequirement: A })
193
+ N && /* @__PURE__ */ b(v, { children: [
194
+ /* @__PURE__ */ y(_, {
195
+ variant: "headline3",
196
+ sx: { mb: 2 },
197
+ children: "Signing Official"
198
+ }),
199
+ /* @__PURE__ */ y(_, {
200
+ variant: "body1",
201
+ sx: {
202
+ ...o,
203
+ mb: 2
204
+ },
205
+ children: "The signing official is a member of your institution with oversight authority who is NOT part of the study team (i.e., not the Project Lead, not a Data Requester or Collaborator, and not the Principal Investigator). They do not need a Synapse account but must be able to receive messages at the email address provided below."
206
+ }),
207
+ /* @__PURE__ */ y(g, {
208
+ id: "so-name",
209
+ label: "First and last names of your Signing Official",
210
+ placeholder: "First and last name of signing official, ex: John Smith",
211
+ fullWidth: !0,
212
+ type: "text",
213
+ disabled: Y,
214
+ value: B,
215
+ required: !0,
216
+ onChange: (e) => V(e.target.value),
217
+ sx: { mb: 2 }
218
+ }),
219
+ /* @__PURE__ */ y(g, {
220
+ id: "so-email",
221
+ label: "Institutional Email of your Signing Official",
222
+ type: "email",
223
+ placeholder: "Individual with signing authority, e.g. jane.smith@institution.edu",
224
+ fullWidth: !0,
225
+ disabled: Y,
226
+ value: H,
227
+ required: !0,
228
+ onChange: (e) => U(e.target.value),
229
+ sx: { mb: 2 }
230
+ }),
231
+ /* @__PURE__ */ y(p, { sx: { my: 4 } })
232
+ ] }),
233
+ W && A && /* @__PURE__ */ y(te, {
234
+ accessorChanges: P || [],
235
+ onChange: ge,
236
+ isRenewal: G,
237
+ helpText: /* @__PURE__ */ y(E, {
238
+ managedACTAccessRequirement: D,
239
+ isEDucEnabled: N
240
+ })
178
241
  }),
179
- (A?.isDUCRequired || A?.isIRBApprovalRequired || A?.areOtherAttachmentsRequired) && /* @__PURE__ */ C(_, { sx: { my: 4 } }),
180
- A?.isDUCRequired && /* @__PURE__ */ w(S, { children: [
181
- A?.ducTemplateFileHandleId && /* @__PURE__ */ C(c, {
242
+ (D?.isDUCRequired && !N || D?.isIRBApprovalRequired || D?.areOtherAttachmentsRequired) && /* @__PURE__ */ y(p, { sx: { my: 4 } }),
243
+ D?.isDUCRequired && !N && /* @__PURE__ */ b(v, { children: [
244
+ D?.ducTemplateFileHandleId && /* @__PURE__ */ y(ne, {
182
245
  title: "Download DUC Template",
183
246
  description: "As a first step, you will need to download the most current version of the Data Use Certificate.",
184
247
  fileHandleAssociation: {
185
- fileHandleId: A.ducTemplateFileHandleId,
186
- associateObjectType: E.AccessRequirementAttachment,
187
- associateObjectId: String(A.id)
248
+ fileHandleId: D.ducTemplateFileHandleId,
249
+ associateObjectType: S.AccessRequirementAttachment,
250
+ associateObjectId: String(D.id)
188
251
  },
189
252
  downloadButtonText: "Download DUC Template"
190
253
  }),
191
- /* @__PURE__ */ C(x, {
254
+ /* @__PURE__ */ y(_, {
192
255
  variant: "headline3",
193
256
  sx: {
194
257
  mt: 4,
@@ -196,98 +259,109 @@ function A(y) {
196
259
  },
197
260
  children: "Fill out and upload a Data Use Certificate"
198
261
  }),
199
- /* @__PURE__ */ C(x, {
262
+ /* @__PURE__ */ y(_, {
200
263
  variant: "body1",
201
- sx: { my: 2 },
264
+ sx: {
265
+ ...o,
266
+ my: 2
267
+ },
202
268
  children: "You must download and fill out a Data Use Certificate (DUC). Be sure to upload the completed DUC below once you've completed it."
203
269
  }),
204
- /* @__PURE__ */ w(x, {
270
+ /* @__PURE__ */ b(_, {
205
271
  variant: "body1",
206
272
  component: "ol",
273
+ sx: o,
207
274
  children: [
208
- /* @__PURE__ */ C("li", { children: "Download the DUC template file." }),
209
- /* @__PURE__ */ C("li", { children: "Fill out the DUC template, following the instructions in the file." }),
210
- /* @__PURE__ */ C("li", { children: "Upload the completed certificate using the button below:" })
275
+ /* @__PURE__ */ y("li", { children: "Download the DUC template file." }),
276
+ /* @__PURE__ */ y("li", { children: "Fill out the DUC template, following the instructions in the file." }),
277
+ /* @__PURE__ */ y("li", { children: "Upload the completed certificate using the button below:" })
211
278
  ]
212
279
  }),
213
- /* @__PURE__ */ C(e, { children: /* @__PURE__ */ C(l, {
280
+ /* @__PURE__ */ y(e, { children: /* @__PURE__ */ y(s, {
214
281
  id: "duc",
215
282
  isLoading: Y,
216
- uploadCallback: (e) => Q(e, "ducFileHandleId"),
283
+ uploadCallback: (e) => $(e, "ducFileHandleId"),
217
284
  documentName: "Data Use Certificate",
218
- fileHandleAssociations: $
285
+ fileHandleAssociations: ve
219
286
  }) }),
220
- (A?.isIRBApprovalRequired || A?.areOtherAttachmentsRequired) && /* @__PURE__ */ C(_, { sx: { my: 4 } })
287
+ (D?.isIRBApprovalRequired || D?.areOtherAttachmentsRequired) && /* @__PURE__ */ y(p, { sx: { my: 4 } })
221
288
  ] }),
222
- A?.isIRBApprovalRequired && /* @__PURE__ */ w(S, { children: [
223
- /* @__PURE__ */ C(x, {
289
+ D?.isIRBApprovalRequired && /* @__PURE__ */ b(v, { children: [
290
+ /* @__PURE__ */ y(_, {
224
291
  variant: "headline3",
225
292
  sx: { my: 2 },
226
293
  children: "IRB Approval"
227
294
  }),
228
- /* @__PURE__ */ C(x, {
295
+ /* @__PURE__ */ y(_, {
229
296
  variant: "body1",
230
- sx: { my: 2 },
297
+ sx: {
298
+ ...o,
299
+ my: 2
300
+ },
231
301
  children: "Upload a signed IRB letter on institutional letterhead. The letter must include the names of all the datasets requested, as well as the names of the data requesters above. Use the button below to upload the document."
232
302
  }),
233
- /* @__PURE__ */ C(e, { children: /* @__PURE__ */ C(l, {
303
+ /* @__PURE__ */ y(e, { children: /* @__PURE__ */ y(s, {
234
304
  id: "irb",
235
305
  isLoading: Y,
236
306
  documentName: "IRB Approval Letter",
237
- uploadCallback: (e) => Q(e, "irbFileHandleId"),
238
- fileHandleAssociations: ue
307
+ uploadCallback: (e) => $(e, "irbFileHandleId"),
308
+ fileHandleAssociations: ye
239
309
  }) }),
240
- A?.areOtherAttachmentsRequired && /* @__PURE__ */ C(_, { sx: { my: 4 } })
310
+ D?.areOtherAttachmentsRequired && /* @__PURE__ */ y(p, { sx: { my: 4 } })
241
311
  ] }),
242
- A?.areOtherAttachmentsRequired && /* @__PURE__ */ w(S, { children: [
243
- /* @__PURE__ */ C(x, {
312
+ D?.areOtherAttachmentsRequired && /* @__PURE__ */ b(v, { children: [
313
+ /* @__PURE__ */ y(_, {
244
314
  variant: "headline3",
245
315
  sx: { my: 2 },
246
316
  children: "Upload other required documents"
247
317
  }),
248
- /* @__PURE__ */ C(x, {
318
+ /* @__PURE__ */ y(_, {
249
319
  variant: "body1",
250
- sx: { my: 2 },
320
+ sx: {
321
+ ...o,
322
+ my: 2
323
+ },
251
324
  children: "You must upload other required documents. Please review the instructions to gain data access to determine which documents must also be uploaded."
252
325
  }),
253
- /* @__PURE__ */ C(e, { children: /* @__PURE__ */ C(l, {
326
+ /* @__PURE__ */ y(e, { children: /* @__PURE__ */ y(s, {
254
327
  id: "file-attachment",
255
328
  isLoading: Y,
256
329
  documentName: "Attachment",
257
- uploadCallback: (e) => Q(e, "attachments"),
330
+ uploadCallback: (e) => $(e, "attachments"),
258
331
  isMultiFileUpload: !0,
259
- fileHandleAssociations: de,
260
- onClearAttachment: le
332
+ fileHandleAssociations: be,
333
+ onClearAttachment: _e
261
334
  }) })
262
335
  ] })
263
336
  ]
264
337
  })
265
- }), P && /* @__PURE__ */ C(f, {
266
- severity: P.key,
267
- children: P.message
338
+ }), j && /* @__PURE__ */ y(ie, {
339
+ severity: j.key,
340
+ children: j.message
268
341
  })] }),
269
- /* @__PURE__ */ w(h, { children: [
270
- /* @__PURE__ */ C(m, {
342
+ /* @__PURE__ */ b(ae, { children: [
343
+ /* @__PURE__ */ y(d, {
271
344
  variant: "outlined",
272
345
  onClick: () => {
273
- ae();
346
+ de();
274
347
  },
275
348
  children: "Back"
276
349
  }),
277
- /* @__PURE__ */ C(p, { sx: { flexGrow: 1 } }),
278
- /* @__PURE__ */ C(m, {
350
+ /* @__PURE__ */ y(u, { sx: { flexGrow: 1 } }),
351
+ /* @__PURE__ */ y(d, {
279
352
  variant: "outlined",
280
353
  disabled: q,
281
354
  onClick: () => {
282
- H && ie(X());
355
+ W && ue(X());
283
356
  },
284
357
  children: "Cancel"
285
358
  }),
286
- /* @__PURE__ */ C(m, {
359
+ /* @__PURE__ */ y(d, {
287
360
  variant: "contained",
288
- disabled: q,
361
+ loading: q,
362
+ disabled: he,
289
363
  onClick: () => {
290
- se();
364
+ Z();
291
365
  },
292
366
  children: "Submit"
293
367
  })
@@ -295,6 +369,6 @@ function A(y) {
295
369
  ] });
296
370
  }
297
371
  //#endregion
298
- export { A as default };
372
+ export { D as default };
299
373
 
300
374
  //# sourceMappingURL=DataAccessRequestAccessorsFilesForm.js.map