synapse-react-client 4.0.45 → 4.0.47

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 (842) hide show
  1. package/dist/SWC.index.js +1 -1
  2. package/dist/aridhia-queries/AridhiaKeyFactory.d.ts +1 -0
  3. package/dist/aridhia-queries/AridhiaKeyFactory.d.ts.map +1 -1
  4. package/dist/aridhia-queries/AridhiaKeyFactory.js +3 -0
  5. package/dist/aridhia-queries/AridhiaKeyFactory.js.map +1 -1
  6. package/dist/aridhia-queries/aridhiaTokenExchange.js +6 -6
  7. package/dist/aridhia-queries/index.d.ts +1 -0
  8. package/dist/aridhia-queries/index.d.ts.map +1 -1
  9. package/dist/aridhia-queries/index.js +11 -10
  10. package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.d.ts +19 -0
  11. package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.d.ts.map +1 -0
  12. package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.js +14 -0
  13. package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.js.map +1 -0
  14. package/dist/aridhia-queries/useSubmitAridhiaDar.js +2 -2
  15. package/dist/aridhia-queries/useSubmitAridhiaDar.js.map +1 -1
  16. package/dist/components/AccessRequirementList/AccessApprovalCheckMark.d.ts.map +1 -1
  17. package/dist/components/AccessRequirementList/AccessApprovalCheckMark.js +6 -4
  18. package/dist/components/AccessRequirementList/AccessApprovalCheckMark.js.map +1 -1
  19. package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
  20. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/AccessorRequirementHelpText.js +1 -1
  21. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/AccessorRequirementHelpText.js.map +1 -1
  22. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js +1 -1
  23. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js.map +1 -1
  24. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ReviewCollaboratorsAndSigningOfficialAccordion.js +1 -1
  25. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ReviewCollaboratorsAndSigningOfficialAccordion.js.map +1 -1
  26. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.d.ts.map +1 -1
  27. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js +11 -8
  28. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js.map +1 -1
  29. package/dist/components/AccessTokenPage/AccessTokenPage.js +1 -1
  30. package/dist/components/AccessTokenPage/AccessTokenPage.js.map +1 -1
  31. package/dist/components/AccessTokenPage/CreateAccessTokenModal.js +1 -1
  32. package/dist/components/AccessTokenPage/CreateAccessTokenModal.js.map +1 -1
  33. package/dist/components/AccountLevelBadges/AccountLevelBadges.js +1 -1
  34. package/dist/components/AccountLevelBadges/AccountLevelBadges.js.map +1 -1
  35. package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js +1 -1
  36. package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js.map +1 -1
  37. package/dist/components/AclEditor/AclEditor.test-utils.js +3 -5
  38. package/dist/components/AclEditor/AclEditor.test-utils.js.map +1 -1
  39. package/dist/components/Aridhia/AridhiaAccessStatus.d.ts.map +1 -1
  40. package/dist/components/Aridhia/AridhiaAccessStatus.js +43 -30
  41. package/dist/components/Aridhia/AridhiaAccessStatus.js.map +1 -1
  42. package/dist/components/Aridhia/AridhiaDarStatusPopover.d.ts +6 -2
  43. package/dist/components/Aridhia/AridhiaDarStatusPopover.d.ts.map +1 -1
  44. package/dist/components/Aridhia/AridhiaDarStatusPopover.js +101 -31
  45. package/dist/components/Aridhia/AridhiaDarStatusPopover.js.map +1 -1
  46. package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts.map +1 -1
  47. package/dist/components/Aridhia/DarWizard/DarSectionForm.js +17 -13
  48. package/dist/components/Aridhia/DarWizard/DarSectionForm.js.map +1 -1
  49. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts +3 -3
  50. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts.map +1 -1
  51. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js +33 -34
  52. package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js.map +1 -1
  53. package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts +11 -9
  54. package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts.map +1 -1
  55. package/dist/components/Aridhia/aridhiaAccessStatusUtils.js +24 -13
  56. package/dist/components/Aridhia/aridhiaAccessStatusUtils.js.map +1 -1
  57. package/dist/components/Aridhia/fairFormToRjsf.js +1 -1
  58. package/dist/components/Aridhia/fairFormToRjsf.js.map +1 -1
  59. package/dist/components/Authentication/LastLoginInfo.js +3 -3
  60. package/dist/components/Authentication/LastLoginInfo.js.map +1 -1
  61. package/dist/components/Authentication/RecoveryCodeForm.js +1 -1
  62. package/dist/components/Authentication/RecoveryCodeForm.js.map +1 -1
  63. package/dist/components/Authentication/RecoveryCodeGrid.js.map +1 -1
  64. package/dist/components/Authentication/TOTPForm.d.ts.map +1 -1
  65. package/dist/components/Authentication/TOTPForm.js +3 -3
  66. package/dist/components/Authentication/TOTPForm.js.map +1 -1
  67. package/dist/components/Authentication/index.d.ts +6 -6
  68. package/dist/components/Authentication/index.d.ts.map +1 -1
  69. package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js +1 -1
  70. package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js.map +1 -1
  71. package/dist/components/CardContainer/CardContainer.js +7 -7
  72. package/dist/components/CardContainer/CardContainer.js.map +1 -1
  73. package/dist/components/CertificationQuiz/CertificationQuiz.js +1 -1
  74. package/dist/components/CertificationQuiz/CertificationQuiz.js.map +1 -1
  75. package/dist/components/ChallengeRequirementsModal/ChallengeRequirementsModal.js +1 -1
  76. package/dist/components/ChallengeRequirementsModal/ChallengeRequirementsModal.js.map +1 -1
  77. package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js +1 -1
  78. package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js.map +1 -1
  79. package/dist/components/ChallengeSubmission/ChallengeSubmission.d.ts.map +1 -1
  80. package/dist/components/ChallengeSubmission/ChallengeSubmission.js +1 -1
  81. package/dist/components/ChallengeSubmission/ChallengeSubmission.js.map +1 -1
  82. package/dist/components/ChallengeSubmission/EvaluationQueueCurrentRoundInfo.js +1 -1
  83. package/dist/components/ChallengeSubmission/EvaluationQueueCurrentRoundInfo.js.map +1 -1
  84. package/dist/components/ChallengeSubmission/SubmissionDirectoryList.js +6 -6
  85. package/dist/components/ChallengeSubmission/SubmissionDirectoryList.js.map +1 -1
  86. package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.d.ts.map +1 -1
  87. package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.js +4 -4
  88. package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.js.map +1 -1
  89. package/dist/components/ChallengeTeamWizard/SelectChallengeTeam.js +4 -4
  90. package/dist/components/ChallengeTeamWizard/SelectChallengeTeam.js.map +1 -1
  91. package/dist/components/CitationPopover/CitationPopoverContent.js +4 -4
  92. package/dist/components/CitationPopover/CitationPopoverContent.js.map +1 -1
  93. package/dist/components/CitationPopover/CitationPopoverUtils.js +2 -2
  94. package/dist/components/CitationPopover/CitationPopoverUtils.js.map +1 -1
  95. package/dist/components/CohortBuilder/CohortBuilder.css +1 -0
  96. package/dist/components/CohortBuilder/CohortBuilder.d.ts +35 -0
  97. package/dist/components/CohortBuilder/CohortBuilder.d.ts.map +1 -0
  98. package/dist/components/CohortBuilder/CohortBuilder.js +108 -0
  99. package/dist/components/CohortBuilder/CohortBuilder.js.map +1 -0
  100. package/dist/components/CohortBuilder/CohortBuilder.module.js +10 -0
  101. package/dist/components/CohortBuilder/CohortBuilder.module.js.map +1 -0
  102. package/dist/components/CohortBuilder/CohortBuilder.module.scss +20 -0
  103. package/dist/components/CohortBuilder/CohortFilesPanel.d.ts +16 -0
  104. package/dist/components/CohortBuilder/CohortFilesPanel.d.ts.map +1 -0
  105. package/dist/components/CohortBuilder/CohortFilesPanel.js +124 -0
  106. package/dist/components/CohortBuilder/CohortFilesPanel.js.map +1 -0
  107. package/dist/components/CohortBuilder/cohortHandOff.d.ts +25 -0
  108. package/dist/components/CohortBuilder/cohortHandOff.d.ts.map +1 -0
  109. package/dist/components/CohortBuilder/cohortHandOff.js +26 -0
  110. package/dist/components/CohortBuilder/cohortHandOff.js.map +1 -0
  111. package/dist/components/ColumnFilter/ColumnFilter.d.ts.map +1 -1
  112. package/dist/components/ColumnFilter/ColumnFilter.js +14 -13
  113. package/dist/components/ColumnFilter/ColumnFilter.js.map +1 -1
  114. package/dist/components/ComponentCollapse.d.ts.map +1 -1
  115. package/dist/components/ComponentCollapse.js +2 -1
  116. package/dist/components/ComponentCollapse.js.map +1 -1
  117. package/dist/components/DataExplorer/DataExplorer.d.ts.map +1 -1
  118. package/dist/components/DataExplorer/DataExplorer.js.map +1 -1
  119. package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
  120. package/dist/components/DataGrid/SynapseGrid.js +231 -219
  121. package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
  122. package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts.map +1 -1
  123. package/dist/components/DataGrid/SyncGridWithSourceButton.js +5 -4
  124. package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -1
  125. package/dist/components/DataGrid/columns/AutocompleteColumn.d.ts +11 -2
  126. package/dist/components/DataGrid/columns/AutocompleteColumn.d.ts.map +1 -1
  127. package/dist/components/DataGrid/columns/AutocompleteColumn.js +115 -109
  128. package/dist/components/DataGrid/columns/AutocompleteColumn.js.map +1 -1
  129. package/dist/components/DataGrid/columns/NumberColumn.js +1 -1
  130. package/dist/components/DataGrid/columns/NumberColumn.js.map +1 -1
  131. package/dist/components/DataGrid/columns/NumberOrEnumColumn.d.ts +20 -0
  132. package/dist/components/DataGrid/columns/NumberOrEnumColumn.d.ts.map +1 -0
  133. package/dist/components/DataGrid/columns/NumberOrEnumColumn.js +18 -0
  134. package/dist/components/DataGrid/columns/NumberOrEnumColumn.js.map +1 -0
  135. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.d.ts.map +1 -1
  136. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js +7 -5
  137. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js.map +1 -1
  138. package/dist/components/DataGrid/components/ExportCsvFromGridButton.js +4 -4
  139. package/dist/components/DataGrid/components/ExportCsvFromGridButton.js.map +1 -1
  140. package/dist/components/DataGrid/components/ReorderColumnsButton.js +4 -4
  141. package/dist/components/DataGrid/components/ReorderColumnsButton.js.map +1 -1
  142. package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts.map +1 -1
  143. package/dist/components/DataGrid/components/ReorderColumnsDialog.js +12 -8
  144. package/dist/components/DataGrid/components/ReorderColumnsDialog.js.map +1 -1
  145. package/dist/components/DataGrid/components/UploadCsvToGridButton.js +1 -1
  146. package/dist/components/DataGrid/components/UploadCsvToGridButton.js.map +1 -1
  147. package/dist/components/DataGrid/components/contextMenu.js +3 -3
  148. package/dist/components/DataGrid/components/contextMenu.js.map +1 -1
  149. package/dist/components/DataGrid/hooks/useGridUndoRedo.d.ts.map +1 -1
  150. package/dist/components/DataGrid/hooks/useGridUndoRedo.js +14 -12
  151. package/dist/components/DataGrid/hooks/useGridUndoRedo.js.map +1 -1
  152. package/dist/components/DataGrid/hooks/useStack.d.ts +1 -1
  153. package/dist/components/DataGrid/hooks/useStack.js +2 -2
  154. package/dist/components/DataGrid/hooks/useStack.js.map +1 -1
  155. package/dist/components/DataGrid/utils/applyModelChange.d.ts.map +1 -1
  156. package/dist/components/DataGrid/utils/applyModelChange.js +14 -14
  157. package/dist/components/DataGrid/utils/applyModelChange.js.map +1 -1
  158. package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
  159. package/dist/components/DataGrid/utils/columnFactory.js +47 -42
  160. package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
  161. package/dist/components/DataGrid/utils/extractColumnValidationMessages.js +7 -7
  162. package/dist/components/DataGrid/utils/extractColumnValidationMessages.js.map +1 -1
  163. package/dist/components/DataGrid/utils/json-rx/JsonRx.js +2 -2
  164. package/dist/components/DataGrid/utils/json-rx/JsonRx.js.map +1 -1
  165. package/dist/components/DataGrid/utils/splitPatch.d.ts.map +1 -1
  166. package/dist/components/DataGrid/utils/splitPatch.js +22 -13
  167. package/dist/components/DataGrid/utils/splitPatch.js.map +1 -1
  168. package/dist/components/DownloadCart/DownloadCartPage.js +1 -1
  169. package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
  170. package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.d.ts.map +1 -1
  171. package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js +3 -2
  172. package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js.map +1 -1
  173. package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.module.js.map +1 -1
  174. package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.module.scss +1 -3
  175. package/dist/components/DownloadCart/MeetAccessRequirementCard.js +1 -1
  176. package/dist/components/DownloadCart/MeetAccessRequirementCard.js.map +1 -1
  177. package/dist/components/EntityBadgeIcons/EntityBadgeIcons.d.ts.map +1 -1
  178. package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js +16 -10
  179. package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js.map +1 -1
  180. package/dist/components/EntityDownloadButton/EntityDownloadButton.js +1 -1
  181. package/dist/components/EntityDownloadButton/EntityDownloadButton.js.map +1 -1
  182. package/dist/components/EntityDownloadConfirmation/EntityDownloadConfirmation.js +5 -5
  183. package/dist/components/EntityDownloadConfirmation/EntityDownloadConfirmation.js.map +1 -1
  184. package/dist/components/EntityFinder/EntityFinder.js +4 -4
  185. package/dist/components/EntityFinder/EntityIdTextField.js +1 -1
  186. package/dist/components/EntityFinder/EntityIdTextField.js.map +1 -1
  187. package/dist/components/EntityFinder/details/view/DetailsView.d.ts.map +1 -1
  188. package/dist/components/EntityFinder/details/view/DetailsView.js +4 -4
  189. package/dist/components/EntityFinder/details/view/DetailsView.js.map +1 -1
  190. package/dist/components/EntityFinder/tree/VirtualizedTree.d.ts.map +1 -1
  191. package/dist/components/EntityFinder/tree/VirtualizedTree.js +5 -4
  192. package/dist/components/EntityFinder/tree/VirtualizedTree.js.map +1 -1
  193. package/dist/components/EntityHeaderTable/EntityHeaderTable.js +4 -4
  194. package/dist/components/EntityHeaderTable/EntityHeaderTable.js.map +1 -1
  195. package/dist/components/EntityHeaderTable/Filter.d.ts.map +1 -1
  196. package/dist/components/EntityHeaderTable/Filter.js +1 -1
  197. package/dist/components/EntityHeaderTable/Filter.js.map +1 -1
  198. package/dist/components/EntityTreeTable/components/EntityNameCell.d.ts.map +1 -1
  199. package/dist/components/EntityTreeTable/components/EntityNameCell.js +2 -1
  200. package/dist/components/EntityTreeTable/components/EntityNameCell.js.map +1 -1
  201. package/dist/components/EntityUpload/FileUploadProgress.d.ts.map +1 -1
  202. package/dist/components/EntityUpload/FileUploadProgress.js +11 -7
  203. package/dist/components/EntityUpload/FileUploadProgress.js.map +1 -1
  204. package/dist/components/Evaluation/EvaluationRoundEditor.js.map +1 -1
  205. package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.d.ts.map +1 -1
  206. package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.js +4 -3
  207. package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.js.map +1 -1
  208. package/dist/components/ExperimentalMode/ExperimentalMode.js +1 -1
  209. package/dist/components/ExperimentalMode/ExperimentalMode.js.map +1 -1
  210. package/dist/components/ExternalFileHandleLink/ExternalFileHandleLink.js +1 -1
  211. package/dist/components/ExternalFileHandleLink/ExternalFileHandleLink.js.map +1 -1
  212. package/dist/components/FeaturedDataTabs/FacetPlotsCard.d.ts.map +1 -1
  213. package/dist/components/FeaturedDataTabs/FacetPlotsCard.js +80 -84
  214. package/dist/components/FeaturedDataTabs/FacetPlotsCard.js.map +1 -1
  215. package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.d.ts.map +1 -1
  216. package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.js +2 -1
  217. package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.js.map +1 -1
  218. package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.d.ts.map +1 -1
  219. package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.js +2 -1
  220. package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.js.map +1 -1
  221. package/dist/components/FormTemplateEditor/FieldLibrary.d.ts.map +1 -1
  222. package/dist/components/FormTemplateEditor/FieldLibrary.js +2 -1
  223. package/dist/components/FormTemplateEditor/FieldLibrary.js.map +1 -1
  224. package/dist/components/FormTemplateEditor/FieldLibraryRow.js +4 -4
  225. package/dist/components/FormTemplateEditor/FieldLibraryRow.js.map +1 -1
  226. package/dist/components/FormTemplateEditor/FormStructurePanel.js +7 -7
  227. package/dist/components/FormTemplateEditor/FormStructurePanel.js.map +1 -1
  228. package/dist/components/FormTemplateEditor/FormTemplateEditorForm.js +1 -1
  229. package/dist/components/FormTemplateEditor/FormTemplateEditorForm.js.map +1 -1
  230. package/dist/components/FormTemplateEditor/StepCard.d.ts.map +1 -1
  231. package/dist/components/FormTemplateEditor/StepCard.js +15 -10
  232. package/dist/components/FormTemplateEditor/StepCard.js.map +1 -1
  233. package/dist/components/FormTemplateEditor/StepFieldRow.d.ts.map +1 -1
  234. package/dist/components/FormTemplateEditor/StepFieldRow.js +11 -6
  235. package/dist/components/FormTemplateEditor/StepFieldRow.js.map +1 -1
  236. package/dist/components/FormTemplateEditor/TemplateFileHandleField.d.ts.map +1 -1
  237. package/dist/components/FormTemplateEditor/TemplateFileHandleField.js +2 -1
  238. package/dist/components/FormTemplateEditor/TemplateFileHandleField.js.map +1 -1
  239. package/dist/components/FormTemplateEditor/schemaFieldUtils.js +2 -2
  240. package/dist/components/FormTemplateEditor/schemaFieldUtils.js.map +1 -1
  241. package/dist/components/FullTextSearch/FullTextSearch.js +8 -8
  242. package/dist/components/GenericCard/CardUtils.js.map +1 -1
  243. package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js +46 -46
  244. package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js.map +1 -1
  245. package/dist/components/GenericCard/DuoTermTags/duoTerms.js +1 -1
  246. package/dist/components/GenericCard/DuoTermTags/duoTerms.js.map +1 -1
  247. package/dist/components/GenericCard/PortalDOI/PortalDOI.js +5 -5
  248. package/dist/components/GenericCard/PortalDOI/PortalDOI.js.map +1 -1
  249. package/dist/components/GenericCard/TableRowGenericCard.js +38 -38
  250. package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
  251. package/dist/components/GoalsV3/GoalsV3.js +1 -1
  252. package/dist/components/GoalsV3/GoalsV3.js.map +1 -1
  253. package/dist/components/HelpPopover/HelpPopover.js +1 -1
  254. package/dist/components/HelpPopover/HelpPopover.js.map +1 -1
  255. package/dist/components/HexGrid/HexGrid.d.ts +3 -1
  256. package/dist/components/HexGrid/HexGrid.d.ts.map +1 -1
  257. package/dist/components/HexGrid/HexGrid.js +14 -13
  258. package/dist/components/HexGrid/HexGrid.js.map +1 -1
  259. package/dist/components/IconSvg/IconSvg.d.ts.map +1 -1
  260. package/dist/components/IconSvg/IconSvg.js +154 -47
  261. package/dist/components/IconSvg/IconSvg.js.map +1 -1
  262. package/dist/components/IconSvg/index.d.ts +1 -1
  263. package/dist/components/IconSvg/index.d.ts.map +1 -1
  264. package/dist/components/IconSvg/index.js.map +1 -1
  265. package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.d.ts.map +1 -1
  266. package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.js +3 -3
  267. package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.js.map +1 -1
  268. package/dist/components/JsonSchemaForm/templates/ButtonTemplate.d.ts.map +1 -1
  269. package/dist/components/JsonSchemaForm/templates/ButtonTemplate.js +19 -16
  270. package/dist/components/JsonSchemaForm/templates/ButtonTemplate.js.map +1 -1
  271. package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.d.ts.map +1 -1
  272. package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.js +2 -1
  273. package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.js.map +1 -1
  274. package/dist/components/JsonSchemaForm/widgets/PhoneWidget.d.ts +9 -0
  275. package/dist/components/JsonSchemaForm/widgets/PhoneWidget.d.ts.map +1 -0
  276. package/dist/components/JsonSchemaForm/widgets/PhoneWidget.js +21 -0
  277. package/dist/components/JsonSchemaForm/widgets/PhoneWidget.js.map +1 -0
  278. package/dist/components/Markdown/MarkdownCollapse.d.ts.map +1 -1
  279. package/dist/components/Markdown/MarkdownCollapse.js +3 -1
  280. package/dist/components/Markdown/MarkdownCollapse.js.map +1 -1
  281. package/dist/components/Markdown/MarkdownEditor.js +1 -1
  282. package/dist/components/Markdown/MarkdownEditor.js.map +1 -1
  283. package/dist/components/Markdown/widget/index.d.ts +1 -1
  284. package/dist/components/Markdown/widget/index.d.ts.map +1 -1
  285. package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js +1 -1
  286. package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js.map +1 -1
  287. package/dist/components/ModalDownload/ModalDownload.d.ts.map +1 -1
  288. package/dist/components/ModalDownload/ModalDownload.js +2 -1
  289. package/dist/components/ModalDownload/ModalDownload.js.map +1 -1
  290. package/dist/components/OAuthClientManagement/OAuthManagement.js +14 -13
  291. package/dist/components/OAuthClientManagement/OAuthManagement.js.map +1 -1
  292. package/dist/components/Plot/BarPlot.js +1 -1
  293. package/dist/components/Plot/BarPlot.js.map +1 -1
  294. package/dist/components/Plot/PlotPanelHeader.d.ts +3 -2
  295. package/dist/components/Plot/PlotPanelHeader.d.ts.map +1 -1
  296. package/dist/components/Plot/PlotPanelHeader.js.map +1 -1
  297. package/dist/components/PortalList/PortalCard.d.ts.map +1 -1
  298. package/dist/components/PortalList/PortalCard.js +6 -5
  299. package/dist/components/PortalList/PortalCard.js.map +1 -1
  300. package/dist/components/PortalList/PortalList.js +4 -4
  301. package/dist/components/PortalList/PortalList.js.map +1 -1
  302. package/dist/components/ProgrammaticTableDownload/ProgrammaticTableDownload.js +1 -1
  303. package/dist/components/ProgrammaticTableDownload/ProgrammaticTableDownload.js.map +1 -1
  304. package/dist/components/ProjectVisibilityChip/ProjectVisibilityChip.js +6 -6
  305. package/dist/components/ProvenanceGraph/ProvenanceExternalIcon.js +1 -1
  306. package/dist/components/ProvenanceGraph/ProvenanceExternalIcon.js.map +1 -1
  307. package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
  308. package/dist/components/ProvenanceGraph/ProvenanceGraph.js +3 -3
  309. package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
  310. package/dist/components/QueryBuilder/FilterConditionRow.d.ts.map +1 -1
  311. package/dist/components/QueryBuilder/FilterConditionRow.js +31 -30
  312. package/dist/components/QueryBuilder/FilterConditionRow.js.map +1 -1
  313. package/dist/components/QueryBuilder/FilterGroupNode.d.ts.map +1 -1
  314. package/dist/components/QueryBuilder/FilterGroupNode.js +91 -75
  315. package/dist/components/QueryBuilder/FilterGroupNode.js.map +1 -1
  316. package/dist/components/QueryBuilder/QueryBuilderControls.css +1 -1
  317. package/dist/components/QueryBuilder/QueryBuilderControls.d.ts.map +1 -1
  318. package/dist/components/QueryBuilder/QueryBuilderControls.js +91 -79
  319. package/dist/components/QueryBuilder/QueryBuilderControls.js.map +1 -1
  320. package/dist/components/QueryBuilder/QueryBuilderControls.module.js +11 -11
  321. package/dist/components/QueryBuilder/QueryBuilderControls.module.js.map +1 -1
  322. package/dist/components/QueryBuilder/QueryBuilderControls.module.scss +2 -0
  323. package/dist/components/QueryBuilder/QueryBuilderInternalContext.d.ts +2 -0
  324. package/dist/components/QueryBuilder/QueryBuilderInternalContext.d.ts.map +1 -1
  325. package/dist/components/QueryBuilder/QueryBuilderInternalContext.js.map +1 -1
  326. package/dist/components/QueryBuilder/queryBuilderLimits.d.ts +18 -0
  327. package/dist/components/QueryBuilder/queryBuilderLimits.d.ts.map +1 -0
  328. package/dist/components/QueryBuilder/queryBuilderLimits.js +38 -0
  329. package/dist/components/QueryBuilder/queryBuilderLimits.js.map +1 -0
  330. package/dist/components/QueryBuilder/queryBuilderMetadata.d.ts +0 -8
  331. package/dist/components/QueryBuilder/queryBuilderMetadata.d.ts.map +1 -1
  332. package/dist/components/QueryBuilder/queryBuilderMetadata.js +6 -9
  333. package/dist/components/QueryBuilder/queryBuilderMetadata.js.map +1 -1
  334. package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts +5 -4
  335. package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts.map +1 -1
  336. package/dist/components/QueryBuilder/queryBuilderTranslation.js +58 -33
  337. package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -1
  338. package/dist/components/QueryBuilder/useQBCombinedSql.d.ts.map +1 -1
  339. package/dist/components/QueryBuilder/useQBCombinedSql.js +4 -4
  340. package/dist/components/QueryBuilder/useQBCombinedSql.js.map +1 -1
  341. package/dist/components/QueryBuilder/useQBValueDisplayName.d.ts.map +1 -1
  342. package/dist/components/QueryBuilder/useQBValueDisplayName.js +5 -5
  343. package/dist/components/QueryBuilder/useQBValueDisplayName.js.map +1 -1
  344. package/dist/components/QueryCountButton/QueryCountButton.js +5 -5
  345. package/dist/components/QueryCountButton/QueryCountButton.js.map +1 -1
  346. package/dist/components/QuerySortSelector.js +5 -5
  347. package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js +21 -21
  348. package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js.map +1 -1
  349. package/dist/components/QueryWrapper/AggregateQueryErrorNotice.d.ts +20 -0
  350. package/dist/components/QueryWrapper/AggregateQueryErrorNotice.d.ts.map +1 -0
  351. package/dist/components/QueryWrapper/AggregateQueryErrorNotice.js +50 -0
  352. package/dist/components/QueryWrapper/AggregateQueryErrorNotice.js.map +1 -0
  353. package/dist/components/QueryWrapper/TableQueryUseQueryOptions.d.ts +5 -3
  354. package/dist/components/QueryWrapper/TableQueryUseQueryOptions.d.ts.map +1 -1
  355. package/dist/components/QueryWrapper/TableQueryUseQueryOptions.js +7 -3
  356. package/dist/components/QueryWrapper/TableQueryUseQueryOptions.js.map +1 -1
  357. package/dist/components/QueryWrapper/downloadListFiles.d.ts +25 -0
  358. package/dist/components/QueryWrapper/downloadListFiles.d.ts.map +1 -0
  359. package/dist/components/QueryWrapper/downloadListFiles.js +39 -0
  360. package/dist/components/QueryWrapper/downloadListFiles.js.map +1 -0
  361. package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.d.ts +16 -0
  362. package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.d.ts.map +1 -0
  363. package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.js +50 -0
  364. package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.js.map +1 -0
  365. package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.d.ts +4 -1
  366. package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.d.ts.map +1 -1
  367. package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js +15 -28
  368. package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js.map +1 -1
  369. package/dist/components/QueryWrapper/useOnQueryDataChange.d.ts.map +1 -1
  370. package/dist/components/QueryWrapper/useOnQueryDataChange.js +7 -6
  371. package/dist/components/QueryWrapper/useOnQueryDataChange.js.map +1 -1
  372. package/dist/components/QueryWrapperErrorBoundary.d.ts +3 -1
  373. package/dist/components/QueryWrapperErrorBoundary.d.ts.map +1 -1
  374. package/dist/components/QueryWrapperErrorBoundary.js +26 -21
  375. package/dist/components/QueryWrapperErrorBoundary.js.map +1 -1
  376. package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js +7 -7
  377. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +2 -2
  378. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
  379. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +34 -32
  380. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
  381. package/dist/components/QueryWrapperPlotNav/QueryWrapperSynapsePlot.js +7 -7
  382. package/dist/components/QueryWrapperPlotNav/UseRowSet.d.ts.map +1 -1
  383. package/dist/components/QueryWrapperPlotNav/UseRowSet.js +12 -12
  384. package/dist/components/QueryWrapperPlotNav/UseRowSet.js.map +1 -1
  385. package/dist/components/ReleaseCard/ReleaseCardLarge.js +5 -5
  386. package/dist/components/ReleaseCard/ReleaseCardLarge.js.map +1 -1
  387. package/dist/components/RowDataTable/CategorizedRowDataTable.css +1 -0
  388. package/dist/components/RowDataTable/CategorizedRowDataTable.d.ts +33 -0
  389. package/dist/components/RowDataTable/CategorizedRowDataTable.d.ts.map +1 -0
  390. package/dist/components/RowDataTable/CategorizedRowDataTable.js +64 -0
  391. package/dist/components/RowDataTable/CategorizedRowDataTable.js.map +1 -0
  392. package/dist/components/RowDataTable/CategorizedRowDataTable.module.js +8 -0
  393. package/dist/components/RowDataTable/CategorizedRowDataTable.module.js.map +1 -0
  394. package/dist/components/RowDataTable/CategorizedRowDataTable.module.scss +18 -0
  395. package/dist/components/RowDataTable/RowDataTable.d.ts +13 -0
  396. package/dist/components/RowDataTable/RowDataTable.d.ts.map +1 -1
  397. package/dist/components/RowDataTable/RowDataTable.js +25 -8
  398. package/dist/components/RowDataTable/RowDataTable.js.map +1 -1
  399. package/dist/components/RssFeedCards/RssFeedCards.js +1 -1
  400. package/dist/components/RssFeedCards/RssFeedCards.js.map +1 -1
  401. package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.d.ts.map +1 -1
  402. package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.js +2 -2
  403. package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.js.map +1 -1
  404. package/dist/components/SchemaDrivenAnnotationEditor/template/ObjectFieldTemplate.js +1 -1
  405. package/dist/components/SchemaDrivenAnnotationEditor/template/ObjectFieldTemplate.js.map +1 -1
  406. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +17 -9
  407. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
  408. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +39 -30
  409. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
  410. package/dist/components/SetAccessRequirementCommonFields/SetAccessRequirementCommonFields.js +24 -24
  411. package/dist/components/SetAccessRequirementCommonFields/SetAccessRequirementCommonFields.js.map +1 -1
  412. package/dist/components/ShareThisPage/ShareThisPage.js +4 -4
  413. package/dist/components/ShareThisPage/ShareThisPage.js.map +1 -1
  414. package/dist/components/StandaloneQueryWrapper/StandaloneQueryWrapper.js +8 -8
  415. package/dist/components/SustainabilityScorecard/DialLayout.js +1 -1
  416. package/dist/components/SustainabilityScorecard/DialLayout.js.map +1 -1
  417. package/dist/components/SustainabilityScorecard/SustainabilityScorecard.js +1 -1
  418. package/dist/components/SustainabilityScorecard/SustainabilityScorecard.js.map +1 -1
  419. package/dist/components/SynapseChat/SynapseChat.js +1 -1
  420. package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
  421. package/dist/components/SynapseChat/SynapseChatInteraction.d.ts.map +1 -1
  422. package/dist/components/SynapseChat/SynapseChatInteraction.js +2 -1
  423. package/dist/components/SynapseChat/SynapseChatInteraction.js.map +1 -1
  424. package/dist/components/SynapseChat/SynapseChatMessage.js +1 -1
  425. package/dist/components/SynapseChat/SynapseChatMessage.js.map +1 -1
  426. package/dist/components/SynapseChat/components/ChatInputArea/ChatInputArea.js +1 -1
  427. package/dist/components/SynapseChat/components/ChatInputArea/ChatInputArea.js.map +1 -1
  428. package/dist/components/SynapseFooter/SynapseFooter.js +1 -1
  429. package/dist/components/SynapseFooter/SynapseFooter.js.map +1 -1
  430. package/dist/components/SynapseForm/NavButtons.js.map +1 -1
  431. package/dist/components/SynapseForm/StepsSideNav.js.map +1 -1
  432. package/dist/components/SynapseHomepageV2/SynapseFeaturedDatasetItem.js +1 -1
  433. package/dist/components/SynapseHomepageV2/SynapseFeaturedDatasetItem.js.map +1 -1
  434. package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.d.ts.map +1 -1
  435. package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js +2 -1
  436. package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js.map +1 -1
  437. package/dist/components/SynapseHomepageV2/SynapseInActionItem.js +4 -4
  438. package/dist/components/SynapseHomepageV2/SynapseInActionItem.js.map +1 -1
  439. package/dist/components/SynapseHomepageV2/SynapseTrendingProjectsItem.js +1 -1
  440. package/dist/components/SynapseHomepageV2/SynapseTrendingProjectsItem.js.map +1 -1
  441. package/dist/components/SynapseNavDrawer/SynapseNavDrawer.d.ts.map +1 -1
  442. package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js +4 -1
  443. package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js.map +1 -1
  444. package/dist/components/SynapsePortalBanners/SynapsePortalBanners.js +1 -1
  445. package/dist/components/SynapsePortalBanners/SynapsePortalBanners.js.map +1 -1
  446. package/dist/components/SynapseSearchPageResults/HighlightedTypography.js +1 -1
  447. package/dist/components/SynapseSearchPageResults/HighlightedTypography.js.map +1 -1
  448. package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.d.ts.map +1 -1
  449. package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.js +3 -3
  450. package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.js.map +1 -1
  451. package/dist/components/SynapseSearchPageResults/SynapseSearchPageResults.js +1 -1
  452. package/dist/components/SynapseSearchPageResults/SynapseSearchPageResults.js.map +1 -1
  453. package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.d.ts.map +1 -1
  454. package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js +12 -9
  455. package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js.map +1 -1
  456. package/dist/components/SynapseTable/RowSelection/RowSelectionControls.d.ts.map +1 -1
  457. package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js +38 -44
  458. package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js.map +1 -1
  459. package/dist/components/SynapseTable/RowSelection/RowSelectionUI.js +4 -4
  460. package/dist/components/SynapseTable/SqlEditor.js +7 -7
  461. package/dist/components/SynapseTable/SynapseTable.js +8 -8
  462. package/dist/components/SynapseTable/SynapseTable.js.map +1 -1
  463. package/dist/components/SynapseTable/SynapseTableRenderers.d.ts.map +1 -1
  464. package/dist/components/SynapseTable/SynapseTableRenderers.js +73 -72
  465. package/dist/components/SynapseTable/SynapseTableRenderers.js.map +1 -1
  466. package/dist/components/SynapseTable/SynapseTableUtils.js +1 -1
  467. package/dist/components/SynapseTable/SynapseTableUtils.js.map +1 -1
  468. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts.map +1 -1
  469. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js +44 -45
  470. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js.map +1 -1
  471. package/dist/components/SynapseTable/datasets/DatasetEditorVersionCell.js +1 -1
  472. package/dist/components/SynapseTable/datasets/DatasetEditorVersionCell.js.map +1 -1
  473. package/dist/components/SynapseTable/datasets/DatasetItemsEditor.d.ts.map +1 -1
  474. package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js +6 -6
  475. package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js.map +1 -1
  476. package/dist/components/SynapseTable/export/ExportToAnalysisPlatformDialog.js +4 -4
  477. package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js +12 -12
  478. package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js.map +1 -1
  479. package/dist/components/SynapseTable/table-top/ColumnSelection.js +6 -6
  480. package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts +0 -1
  481. package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts.map +1 -1
  482. package/dist/components/SynapseTable/table-top/DownloadOptions.js +64 -57
  483. package/dist/components/SynapseTable/table-top/DownloadOptions.js.map +1 -1
  484. package/dist/components/SynapseTable/usePrefetchTableData.d.ts.map +1 -1
  485. package/dist/components/SynapseTable/usePrefetchTableData.js +3 -3
  486. package/dist/components/SynapseTable/usePrefetchTableData.js.map +1 -1
  487. package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js +2 -2
  488. package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js.map +1 -1
  489. package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js +1 -1
  490. package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js.map +1 -1
  491. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorTestUtils.js +1 -1
  492. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorTestUtils.js.map +1 -1
  493. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.d.ts.map +1 -1
  494. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js +2 -2
  495. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js.map +1 -1
  496. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js +59 -59
  497. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js.map +1 -1
  498. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.d.ts.map +1 -1
  499. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.js +6 -4
  500. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.js.map +1 -1
  501. package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.js +1 -1
  502. package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.js.map +1 -1
  503. package/dist/components/TanStackTable/ColumnHeader.js +1 -1
  504. package/dist/components/TanStackTable/ColumnHeader.js.map +1 -1
  505. package/dist/components/TanStackTable/ColumnHeaderEnumFilter.js +1 -1
  506. package/dist/components/TanStackTable/ColumnHeaderEnumFilter.js.map +1 -1
  507. package/dist/components/TanStackTable/StyledTanStackTable.d.ts.map +1 -1
  508. package/dist/components/TanStackTable/StyledTanStackTable.js +1 -4
  509. package/dist/components/TanStackTable/StyledTanStackTable.js.map +1 -1
  510. package/dist/components/TeamSubjectsSelector/TeamBadgeOrError.js +1 -1
  511. package/dist/components/TeamSubjectsSelector/TeamBadgeOrError.js.map +1 -1
  512. package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.d.ts.map +1 -1
  513. package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.js +4 -3
  514. package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.js.map +1 -1
  515. package/dist/components/TermsAndConditions/TermsAndConditions.js.map +1 -1
  516. package/dist/components/TotalQueryResults.js +14 -14
  517. package/dist/components/Webhook/WebhookDashboard.d.ts.map +1 -1
  518. package/dist/components/Webhook/WebhookDashboard.js +3 -3
  519. package/dist/components/Webhook/WebhookDashboard.js.map +1 -1
  520. package/dist/components/dataaccess/AccessRequirementDashboard.js +4 -4
  521. package/dist/components/dataaccess/AccessRequirementDashboard.js.map +1 -1
  522. package/dist/components/dataaccess/AccessRequirementTable.js +1 -1
  523. package/dist/components/dataaccess/AccessRequirementTable.js.map +1 -1
  524. package/dist/components/dataaccess/EDucTemplateTable.d.ts.map +1 -1
  525. package/dist/components/dataaccess/EDucTemplateTable.js +13 -11
  526. package/dist/components/dataaccess/EDucTemplateTable.js.map +1 -1
  527. package/dist/components/dataaccess/FormTemplateTable.js +6 -6
  528. package/dist/components/dataaccess/FormTemplateTable.js.map +1 -1
  529. package/dist/components/dataaccess/ReviewerDashboard.js +17 -17
  530. package/dist/components/dataaccess/ReviewerDashboard.js.map +1 -1
  531. package/dist/components/dataaccess/SubmissionPage/SubmissionPage.js +4 -4
  532. package/dist/components/doi/CreateOrUpdateDoiModal.js +1 -1
  533. package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
  534. package/dist/components/download_list/DownloadConfirmationUtils.d.ts +5 -1
  535. package/dist/components/download_list/DownloadConfirmationUtils.d.ts.map +1 -1
  536. package/dist/components/download_list/DownloadConfirmationUtils.js +2 -2
  537. package/dist/components/download_list/DownloadConfirmationUtils.js.map +1 -1
  538. package/dist/components/download_list/DownloadDetails.d.ts.map +1 -1
  539. package/dist/components/download_list/DownloadDetails.js +12 -10
  540. package/dist/components/download_list/DownloadDetails.js.map +1 -1
  541. package/dist/components/entity/metadata/AnnotationsTable.js +1 -1
  542. package/dist/components/entity/metadata/AnnotationsTable.js.map +1 -1
  543. package/dist/components/entity/page/CreatedByModifiedBy.js +1 -1
  544. package/dist/components/entity/page/CreatedByModifiedBy.js.map +1 -1
  545. package/dist/components/entity/page/action_menu/EntityActionMenu.d.ts.map +1 -1
  546. package/dist/components/entity/page/action_menu/EntityActionMenu.js.map +1 -1
  547. package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +1 -1
  548. package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js.map +1 -1
  549. package/dist/components/error/ErrorBanner.d.ts.map +1 -1
  550. package/dist/components/error/ErrorBanner.js +49 -46
  551. package/dist/components/error/ErrorBanner.js.map +1 -1
  552. package/dist/components/error/ErrorChip.d.ts.map +1 -1
  553. package/dist/components/error/ErrorChip.js +2 -1
  554. package/dist/components/error/ErrorChip.js.map +1 -1
  555. package/dist/components/file/upload/MultiFileUploadProgress.js +5 -5
  556. package/dist/components/row_renderers/Dataset.d.ts.map +1 -1
  557. package/dist/components/row_renderers/Dataset.js +6 -6
  558. package/dist/components/row_renderers/Dataset.js.map +1 -1
  559. package/dist/components/row_renderers/Funder.js +1 -1
  560. package/dist/components/row_renderers/Funder.js.map +1 -1
  561. package/dist/components/table/CsvPreview/CreateTableFromCsvDialog.js +14 -14
  562. package/dist/components/table/CsvPreview/CsvPreviewWithOptions.js +4 -4
  563. package/dist/components/table/CsvPreview/CsvPreviewWithOptions.js.map +1 -1
  564. package/dist/components/widgets/ElementWithTooltip.d.ts +6 -1
  565. package/dist/components/widgets/ElementWithTooltip.d.ts.map +1 -1
  566. package/dist/components/widgets/ElementWithTooltip.js +22 -14
  567. package/dist/components/widgets/ElementWithTooltip.js.map +1 -1
  568. package/dist/components/widgets/RangeSlider/RangeSlider.d.ts.map +1 -1
  569. package/dist/components/widgets/RangeSlider/RangeSlider.js +1 -1
  570. package/dist/components/widgets/RangeSlider/RangeSlider.js.map +1 -1
  571. package/dist/components/widgets/SynapseImage.js +1 -1
  572. package/dist/components/widgets/SynapseImage.js.map +1 -1
  573. package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts +16 -5
  574. package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts.map +1 -1
  575. package/dist/components/widgets/facet-nav/FacetNavPanel.js +115 -102
  576. package/dist/components/widgets/facet-nav/FacetNavPanel.js.map +1 -1
  577. package/dist/components/widgets/facet-nav/FacetPlotLegendList.d.ts.map +1 -1
  578. package/dist/components/widgets/facet-nav/FacetPlotLegendList.js +4 -2
  579. package/dist/components/widgets/facet-nav/FacetPlotLegendList.js.map +1 -1
  580. package/dist/components/widgets/facet-nav/FacetPlotLegendTable.js +1 -1
  581. package/dist/components/widgets/facet-nav/FacetPlotLegendTable.js.map +1 -1
  582. package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.d.ts +2 -0
  583. package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.d.ts.map +1 -1
  584. package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.js.map +1 -1
  585. package/dist/components/widgets/facet-nav/PlotsContainer.d.ts +7 -0
  586. package/dist/components/widgets/facet-nav/PlotsContainer.d.ts.map +1 -1
  587. package/dist/components/widgets/facet-nav/PlotsContainer.js +47 -45
  588. package/dist/components/widgets/facet-nav/PlotsContainer.js.map +1 -1
  589. package/dist/components/widgets/facet-nav/SelectionCriteriaPills.js +4 -4
  590. package/dist/components/widgets/facet-nav/useFacetPlots.d.ts +3 -2
  591. package/dist/components/widgets/facet-nav/useFacetPlots.d.ts.map +1 -1
  592. package/dist/components/widgets/facet-nav/useFacetPlots.js +16 -15
  593. package/dist/components/widgets/facet-nav/useFacetPlots.js.map +1 -1
  594. package/dist/components/widgets/query-filter/CombinedRangeFacetFilter.js +4 -4
  595. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts +2 -2
  596. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts.map +1 -1
  597. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js +62 -60
  598. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js.map +1 -1
  599. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.d.ts +2 -0
  600. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.d.ts.map +1 -1
  601. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.js +10 -10
  602. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.js.map +1 -1
  603. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.d.ts +1 -0
  604. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.d.ts.map +1 -1
  605. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.js +2 -1
  606. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.js.map +1 -1
  607. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.d.ts +3 -2
  608. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.d.ts.map +1 -1
  609. package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.js.map +1 -1
  610. package/dist/components/widgets/query-filter/FacetFilterControls.d.ts +3 -2
  611. package/dist/components/widgets/query-filter/FacetFilterControls.d.ts.map +1 -1
  612. package/dist/components/widgets/query-filter/FacetFilterControls.js +63 -62
  613. package/dist/components/widgets/query-filter/FacetFilterControls.js.map +1 -1
  614. package/dist/components/widgets/query-filter/JsonColumnFacetFilters.d.ts.map +1 -1
  615. package/dist/components/widgets/query-filter/JsonColumnFacetFilters.js +30 -29
  616. package/dist/components/widgets/query-filter/JsonColumnFacetFilters.js.map +1 -1
  617. package/dist/components/widgets/query-filter/RangeFacetFilter.js +5 -5
  618. package/dist/features/curator/dashboard/components/NextStepButton.d.ts.map +1 -1
  619. package/dist/features/curator/dashboard/components/NextStepButton.js +7 -6
  620. package/dist/features/curator/dashboard/components/NextStepButton.js.map +1 -1
  621. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +8 -8
  622. package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
  623. package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js +4 -4
  624. package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js.map +1 -1
  625. package/dist/features/entity/metadata-task/components/MetadataTasksPage.js +4 -4
  626. package/dist/features/entity/metadata-task/components/MetadataTasksPage.js.map +1 -1
  627. package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js +1 -1
  628. package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js.map +1 -1
  629. package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js +4 -4
  630. package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js.map +1 -1
  631. package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js +1 -1
  632. package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js.map +1 -1
  633. package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js +1 -1
  634. package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js.map +1 -1
  635. package/dist/features/entity/metadata-task/create-task/curationTaskFlowRoutes.js +10 -10
  636. package/dist/features/entity/metadata-task/create-task/curationTaskFlowRoutes.js.map +1 -1
  637. package/dist/features/team/invitation/components/OpenInvitationsToUserCard.js +1 -1
  638. package/dist/features/team/invitation/components/OpenInvitationsToUserCard.js.map +1 -1
  639. package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.d.ts +53 -0
  640. package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.d.ts.map +1 -0
  641. package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.js +391 -0
  642. package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.js.map +1 -0
  643. package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.d.ts +41 -0
  644. package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.d.ts.map +1 -0
  645. package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.js +379 -0
  646. package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.js.map +1 -0
  647. package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.d.ts +26 -0
  648. package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.d.ts.map +1 -0
  649. package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.js +112 -0
  650. package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.js.map +1 -0
  651. package/dist/mocks/mockAnnotationColumns.d.ts.map +1 -1
  652. package/dist/mocks/mockAnnotationColumns.js +1 -1
  653. package/dist/mocks/mockAnnotationColumns.js.map +1 -1
  654. package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts +17 -0
  655. package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts.map +1 -1
  656. package/dist/mocks/msw/handlers/aridhiaHandlers.js +62 -42
  657. package/dist/mocks/msw/handlers/aridhiaHandlers.js.map +1 -1
  658. package/dist/mocks/msw/handlers/asyncJobHandlers.d.ts +21 -2
  659. package/dist/mocks/msw/handlers/asyncJobHandlers.d.ts.map +1 -1
  660. package/dist/mocks/msw/handlers/asyncJobHandlers.js +30 -22
  661. package/dist/mocks/msw/handlers/asyncJobHandlers.js.map +1 -1
  662. package/dist/mocks/msw/handlers/cohortBuilderHandlers.d.ts +27 -0
  663. package/dist/mocks/msw/handlers/cohortBuilderHandlers.d.ts.map +1 -0
  664. package/dist/mocks/msw/handlers/cohortBuilderHandlers.js +158 -0
  665. package/dist/mocks/msw/handlers/cohortBuilderHandlers.js.map +1 -0
  666. package/dist/mocks/msw/handlers/entityHandlers.d.ts.map +1 -1
  667. package/dist/mocks/msw/handlers/entityHandlers.js +70 -67
  668. package/dist/mocks/msw/handlers/entityHandlers.js.map +1 -1
  669. package/dist/mocks/msw/handlers/gridHandlers.js +2 -2
  670. package/dist/mocks/msw/handlers/gridHandlers.js.map +1 -1
  671. package/dist/mocks/msw/handlers/subscriptionHandlers.js +1 -1
  672. package/dist/mocks/msw/handlers/subscriptionHandlers.js.map +1 -1
  673. package/dist/mocks/msw/handlers/userProfileHandlers.d.ts.map +1 -1
  674. package/dist/mocks/msw/handlers/userProfileHandlers.js +2 -2
  675. package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
  676. package/dist/mocks/msw/server.d.ts.map +1 -1
  677. package/dist/mocks/msw/server.js +4 -2
  678. package/dist/mocks/msw/server.js.map +1 -1
  679. package/dist/mocks/query/mockColumnCategoryTable.d.ts +19 -0
  680. package/dist/mocks/query/mockColumnCategoryTable.d.ts.map +1 -0
  681. package/dist/mocks/query/mockColumnCategoryTable.js +188 -0
  682. package/dist/mocks/query/mockColumnCategoryTable.js.map +1 -0
  683. package/dist/stories/ColorPaletteInspector.d.ts.map +1 -1
  684. package/dist/stories/ColorPaletteInspector.js +2 -2
  685. package/dist/stories/ColorPaletteInspector.js.map +1 -1
  686. package/dist/style/components/facet_nav/_facet-nav-panel.scss +8 -0
  687. package/dist/style/main.css +1 -1
  688. package/dist/synapse-queries/auth/useOIDC.js +2 -2
  689. package/dist/synapse-queries/auth/useOIDC.js.map +1 -1
  690. package/dist/synapse-queries/auth/useUnbindOAuthProviderIdentity.js +2 -2
  691. package/dist/synapse-queries/auth/useUnbindOAuthProviderIdentity.js.map +1 -1
  692. package/dist/synapse-queries/challenge/useChallenge.js +2 -2
  693. package/dist/synapse-queries/challenge/useChallenge.js.map +1 -1
  694. package/dist/synapse-queries/chat/useChat.js +8 -8
  695. package/dist/synapse-queries/chat/useChat.js.map +1 -1
  696. package/dist/synapse-queries/curation/task/useCurationTask.js +10 -10
  697. package/dist/synapse-queries/curation/task/useCurationTask.js.map +1 -1
  698. package/dist/synapse-queries/dataaccess/useAccessRequirements.js +24 -24
  699. package/dist/synapse-queries/dataaccess/useAccessRequirements.js.map +1 -1
  700. package/dist/synapse-queries/dataaccess/useDataAccessSubmission.js +4 -4
  701. package/dist/synapse-queries/dataaccess/useDataAccessSubmission.js.map +1 -1
  702. package/dist/synapse-queries/dataaccess/useEDuc.js +6 -6
  703. package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
  704. package/dist/synapse-queries/dataaccess/useFormTemplate.js +4 -4
  705. package/dist/synapse-queries/dataaccess/useFormTemplate.js.map +1 -1
  706. package/dist/synapse-queries/download/index.js +2 -2
  707. package/dist/synapse-queries/download/useDownloadList.d.ts +5 -0
  708. package/dist/synapse-queries/download/useDownloadList.d.ts.map +1 -1
  709. package/dist/synapse-queries/download/useDownloadList.js +14 -13
  710. package/dist/synapse-queries/download/useDownloadList.js.map +1 -1
  711. package/dist/synapse-queries/entity/useEntity.d.ts.map +1 -1
  712. package/dist/synapse-queries/entity/useEntity.js +20 -20
  713. package/dist/synapse-queries/entity/useEntity.js.map +1 -1
  714. package/dist/synapse-queries/entity/useExportToADWorkbench.d.ts.map +1 -1
  715. package/dist/synapse-queries/entity/useExportToADWorkbench.js +2 -1
  716. package/dist/synapse-queries/entity/useExportToADWorkbench.js.map +1 -1
  717. package/dist/synapse-queries/entity/useExportToCavatica.d.ts.map +1 -1
  718. package/dist/synapse-queries/entity/useExportToCavatica.js +3 -2
  719. package/dist/synapse-queries/entity/useExportToCavatica.js.map +1 -1
  720. package/dist/synapse-queries/entity/useExportToPluto.d.ts.map +1 -1
  721. package/dist/synapse-queries/entity/useExportToPluto.js +2 -1
  722. package/dist/synapse-queries/entity/useExportToPluto.js.map +1 -1
  723. package/dist/synapse-queries/entity/useGetQueryResultBundle.d.ts.map +1 -1
  724. package/dist/synapse-queries/entity/useGetQueryResultBundle.js +4 -7
  725. package/dist/synapse-queries/entity/useGetQueryResultBundle.js.map +1 -1
  726. package/dist/synapse-queries/forum/useReply.js +6 -6
  727. package/dist/synapse-queries/forum/useReply.js.map +1 -1
  728. package/dist/synapse-queries/forum/useThread.js +14 -14
  729. package/dist/synapse-queries/forum/useThread.js.map +1 -1
  730. package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js +1 -1
  731. package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js.map +1 -1
  732. package/dist/synapse-queries/grid/useGridSession.js +4 -4
  733. package/dist/synapse-queries/grid/useGridSession.js.map +1 -1
  734. package/dist/synapse-queries/index.js +177 -176
  735. package/dist/synapse-queries/oauth/useOAuthClient.js +9 -9
  736. package/dist/synapse-queries/oauth/useOAuthClient.js.map +1 -1
  737. package/dist/synapse-queries/portal/usePortal.js +7 -7
  738. package/dist/synapse-queries/portal/usePortal.js.map +1 -1
  739. package/dist/synapse-queries/subscription/useSubscription.js +4 -4
  740. package/dist/synapse-queries/subscription/useSubscription.js.map +1 -1
  741. package/dist/synapse-queries/table/useTableUpdateTransaction.js +2 -2
  742. package/dist/synapse-queries/table/useTableUpdateTransaction.js.map +1 -1
  743. package/dist/synapse-queries/team/useTeam.js +2 -2
  744. package/dist/synapse-queries/team/useTeam.js.map +1 -1
  745. package/dist/synapse-queries/team/useTeamList.d.ts.map +1 -1
  746. package/dist/synapse-queries/team/useTeamList.js +3 -3
  747. package/dist/synapse-queries/team/useTeamList.js.map +1 -1
  748. package/dist/synapse-queries/team/useTeamMembers.js +8 -8
  749. package/dist/synapse-queries/team/useTeamMembers.js.map +1 -1
  750. package/dist/synapse-queries/termsOfService/useTermsOfService.js +2 -2
  751. package/dist/synapse-queries/termsOfService/useTermsOfService.js.map +1 -1
  752. package/dist/synapse-queries/trash/useTrashCan.js +4 -4
  753. package/dist/synapse-queries/trash/useTrashCan.js.map +1 -1
  754. package/dist/synapse-queries/user/useCertificationQuiz.js +2 -2
  755. package/dist/synapse-queries/user/useCertificationQuiz.js.map +1 -1
  756. package/dist/synapse-queries/user/useFavorites.js +4 -4
  757. package/dist/synapse-queries/user/useFavorites.js.map +1 -1
  758. package/dist/synapse-queries/user/useGetUserChallenges.d.ts.map +1 -1
  759. package/dist/synapse-queries/user/useGetUserChallenges.js.map +1 -1
  760. package/dist/synapse-queries/user/useRevokeCertification.js +2 -2
  761. package/dist/synapse-queries/user/useRevokeCertification.js.map +1 -1
  762. package/dist/synapse-queries/wiki/useWiki.js +10 -10
  763. package/dist/synapse-queries/wiki/useWiki.js.map +1 -1
  764. package/dist/theme/DefaultTheme.d.ts.map +1 -1
  765. package/dist/theme/DefaultTheme.js +4 -1
  766. package/dist/theme/DefaultTheme.js.map +1 -1
  767. package/dist/tsconfig.build.tsbuildinfo +1 -1
  768. package/dist/utils/APIConstants.d.ts.map +1 -1
  769. package/dist/utils/APIConstants.js.map +1 -1
  770. package/dist/utils/AppUtils/AppUtils.js +1 -1
  771. package/dist/utils/AppUtils/AppUtils.js.map +1 -1
  772. package/dist/utils/ContentTypeUtils.js +4 -4
  773. package/dist/utils/ContentTypeUtils.js.map +1 -1
  774. package/dist/utils/PermissionLevelToAccessType.js +1 -1
  775. package/dist/utils/PermissionLevelToAccessType.js.map +1 -1
  776. package/dist/utils/analytics/useGoogleAnalytics.js +1 -1
  777. package/dist/utils/analytics/useGoogleAnalytics.js.map +1 -1
  778. package/dist/utils/context/DocumentMetadataContext.js +1 -1
  779. package/dist/utils/context/DocumentMetadataContext.js.map +1 -1
  780. package/dist/utils/functions/AccessControlListUtils.d.ts.map +1 -1
  781. package/dist/utils/functions/AccessControlListUtils.js +3 -3
  782. package/dist/utils/functions/AccessControlListUtils.js.map +1 -1
  783. package/dist/utils/functions/ArrayUtils.js +2 -2
  784. package/dist/utils/functions/ArrayUtils.js.map +1 -1
  785. package/dist/utils/functions/EntityTypeUtils.d.ts.map +1 -1
  786. package/dist/utils/functions/EntityTypeUtils.js.map +1 -1
  787. package/dist/utils/functions/FileHandleUtils.js +1 -1
  788. package/dist/utils/functions/FileHandleUtils.js.map +1 -1
  789. package/dist/utils/functions/RegularExpressions.js +1 -1
  790. package/dist/utils/functions/RegularExpressions.js.map +1 -1
  791. package/dist/utils/functions/StringUtils.d.ts.map +1 -1
  792. package/dist/utils/functions/StringUtils.js +1 -2
  793. package/dist/utils/functions/StringUtils.js.map +1 -1
  794. package/dist/utils/functions/deepLinkingUtils.js +2 -2
  795. package/dist/utils/functions/deepLinkingUtils.js.map +1 -1
  796. package/dist/utils/functions/enumerationFacet.d.ts +26 -0
  797. package/dist/utils/functions/enumerationFacet.d.ts.map +1 -0
  798. package/dist/utils/functions/enumerationFacet.js +27 -0
  799. package/dist/utils/functions/enumerationFacet.js.map +1 -0
  800. package/dist/utils/functions/facetCountUtils.d.ts +12 -0
  801. package/dist/utils/functions/facetCountUtils.d.ts.map +1 -0
  802. package/dist/utils/functions/facetCountUtils.js +9 -0
  803. package/dist/utils/functions/facetCountUtils.js.map +1 -0
  804. package/dist/utils/functions/getEndpoint.js.map +1 -1
  805. package/dist/utils/functions/getUserData.js +1 -1
  806. package/dist/utils/functions/getUserData.js.map +1 -1
  807. package/dist/utils/functions/queryUtils.d.ts +1 -1
  808. package/dist/utils/functions/queryUtils.d.ts.map +1 -1
  809. package/dist/utils/functions/queryUtils.js +26 -22
  810. package/dist/utils/functions/queryUtils.js.map +1 -1
  811. package/dist/utils/functions/testDownloadSpeed.d.ts.map +1 -1
  812. package/dist/utils/functions/testDownloadSpeed.js +17 -26
  813. package/dist/utils/functions/testDownloadSpeed.js.map +1 -1
  814. package/dist/utils/functions/unCamelCase.js +1 -1
  815. package/dist/utils/functions/unCamelCase.js.map +1 -1
  816. package/dist/utils/hooks/useGetInfoFromIds.js +5 -5
  817. package/dist/utils/hooks/useGetInfoFromIds.js.map +1 -1
  818. package/dist/utils/hooks/useImmutableTableQuery/TableQueryReducerActions.js +1 -1
  819. package/dist/utils/hooks/useImmutableTableQuery/TableQueryReducerActions.js.map +1 -1
  820. package/dist/utils/hooks/useLogin.d.ts.map +1 -1
  821. package/dist/utils/hooks/useLogin.js +5 -5
  822. package/dist/utils/hooks/useLogin.js.map +1 -1
  823. package/dist/utils/hooks/useUploadFileEntity/useCreateFolderPath.js.map +1 -1
  824. package/dist/utils/jsonschema/collectTopLevelProperties.d.ts +6 -0
  825. package/dist/utils/jsonschema/collectTopLevelProperties.d.ts.map +1 -1
  826. package/dist/utils/jsonschema/collectTopLevelProperties.js +1 -1
  827. package/dist/utils/jsonschema/collectTopLevelProperties.js.map +1 -1
  828. package/dist/utils/jsonschema/getNumberOrEnumInfo.d.ts +22 -0
  829. package/dist/utils/jsonschema/getNumberOrEnumInfo.d.ts.map +1 -0
  830. package/dist/utils/jsonschema/getNumberOrEnumInfo.js +39 -0
  831. package/dist/utils/jsonschema/getNumberOrEnumInfo.js.map +1 -0
  832. package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.d.ts +1 -0
  833. package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.d.ts.map +1 -1
  834. package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.js +1 -1
  835. package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.js.map +1 -1
  836. package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts +5 -0
  837. package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts.map +1 -1
  838. package/dist/utils/jsonschema/getSchemaPropertyInfo.js +30 -15
  839. package/dist/utils/jsonschema/getSchemaPropertyInfo.js.map +1 -1
  840. package/dist/utils/jsonschema/submissionContext.js +2 -2
  841. package/dist/utils/jsonschema/submissionContext.js.map +1 -1
  842. package/package.json +7 -6
@@ -1 +1 @@
1
- {"version":3,"file":"OpenInvitationsToUserCard.js","names":[],"sources":["../../../../../src/features/team/invitation/components/OpenInvitationsToUserCard.tsx"],"sourcesContent":["import { displayToast } from '@/components/ToastMessage/ToastMessage'\nimport { UserBadge } from '@/components/UserCard/UserBadge'\nimport UserOrTeamBadge from '@/components/UserOrTeamBadge/UserOrTeamBadge'\nimport {\n useAddMemberToTeam,\n useDeleteMembershipInvitation,\n useGetAllOpenMembershipInvitations,\n} from '@/synapse-queries/team/useTeamMembers'\nimport { useGetCurrentUserProfile } from '@/synapse-queries/user/useUserBundle'\nimport { ChatTwoTone } from '@mui/icons-material'\nimport { Card, CardProps, Collapse, Divider, Tooltip } from '@mui/material'\nimport Button from '@mui/material/Button'\nimport Stack from '@mui/material/Stack'\nimport Typography from '@mui/material/Typography'\nimport { MembershipInvitation } from '@sage-bionetworks/synapse-client/generated/models/index'\nimport { useRef } from 'react'\nimport TransitionGroup from 'react-transition-group/TransitionGroup'\nimport {\n ACCEPT_TEAM_INVITATION_ERROR_MESSAGE,\n ACCEPT_TEAM_INVITATION_SUCCESS_MESSAGE,\n DECLINE_TEAM_INVITATION_ERROR_MESSAGE,\n} from '../utils/constants'\nimport styles from './OpenInvitationsToUserCard.module.scss'\n\nfunction InvitationRow(props: { invitation: MembershipInvitation }) {\n const { invitation } = props\n\n const { mutate: acceptInvitation, isPending: acceptIsPending } =\n useAddMemberToTeam({\n onSuccess: () => {\n displayToast(ACCEPT_TEAM_INVITATION_SUCCESS_MESSAGE, 'success')\n },\n onError: error => {\n displayToast(error.message, 'danger', {\n title: ACCEPT_TEAM_INVITATION_ERROR_MESSAGE,\n })\n },\n })\n const { mutate: deleteMembershipInvitation, isPending: deleteIsPending } =\n useDeleteMembershipInvitation({\n onSuccess: () => {\n displayToast('Invitation dismissed.', 'info')\n },\n onError: error => {\n displayToast(error.message, 'danger', {\n title: DECLINE_TEAM_INVITATION_ERROR_MESSAGE,\n })\n },\n })\n\n return (\n <div key={invitation.id} className={styles.row}>\n <span className={styles.teamName}>\n <UserOrTeamBadge principalId={invitation.teamId} />\n </span>\n <div className={styles.invitationMessage}>\n {invitation.message && (\n <>\n <Tooltip\n title={\n <>\n Message from{' '}\n <UserBadge\n userId={invitation.createdBy}\n showFullName\n showCardOnHover={false}\n disableLink\n />\n </>\n }\n >\n <ChatTwoTone sx={{ color: 'grey.700' }} />\n </Tooltip>\n <Typography variant=\"body2\" color=\"text.secondary\">\n {invitation.message}\n </Typography>\n </>\n )}\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n loading={acceptIsPending}\n disabled={deleteIsPending}\n onClick={() => {\n acceptInvitation({\n teamId: invitation.teamId!,\n userId: invitation.inviteeId!,\n })\n }}\n >\n Join\n </Button>\n <Button\n variant=\"outlined\"\n loading={deleteIsPending}\n disabled={acceptIsPending}\n onClick={() => {\n deleteMembershipInvitation({\n membershipInvitation: invitation,\n })\n }}\n >\n Decline\n </Button>\n </div>\n )\n}\n\ntype OpenInvitationsToUserCardProps = {\n cardProps?: CardProps\n}\n\n/**\n * Shows a card of the open team membership invitations for the current user, if any exist. If no invitations exist, nothing is shown.\n */\nexport default function OpenInvitationsToUserCard(\n props: OpenInvitationsToUserCardProps,\n) {\n const { cardProps } = props\n const { data: currentUser } = useGetCurrentUserProfile()\n const { data: openInvitations, isLoading } =\n useGetAllOpenMembershipInvitations(currentUser?.ownerId!, {\n enabled: Boolean(currentUser?.ownerId),\n })\n\n // Keep track of the maximum number of invitations seen so that if the list of invitations goes down to 0 we can still show the section (with a message indicating there are no invitations) instead of hiding the section entirely.\n // This is to prevent jarring changes in the UI if a user accepts/declines an invitation and the section disappears entirely.\n const maxSeenInvitationsRef = useRef(0)\n maxSeenInvitationsRef.current = Math.max(\n maxSeenInvitationsRef.current,\n openInvitations?.length ?? 0,\n )\n if (\n maxSeenInvitationsRef.current == 0 &&\n (isLoading || !openInvitations || openInvitations.length === 0)\n ) {\n return null\n }\n\n return (\n <Card {...cardProps}>\n <Typography variant=\"headline3\" gutterBottom>\n Pending Team Invitations\n </Typography>\n <Typography variant=\"body1\" gutterBottom>\n You have been invited to join the following team(s). New content may be\n visible to you after you accept a team invitation.\n </Typography>\n {openInvitations && openInvitations.length > 0 ? (\n <Stack\n component={TransitionGroup}\n divider={<Divider flexItem />}\n spacing={2}\n mt={2}\n >\n {openInvitations.map(invitation => (\n <Collapse key={invitation.id}>\n <InvitationRow invitation={invitation} />\n </Collapse>\n ))}\n </Stack>\n ) : (\n <Typography\n variant=\"body1Italic\"\n align=\"center\"\n color=\"text.secondary\"\n mt={2}\n >\n You have no pending team invitations.\n </Typography>\n )}\n </Card>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAwBA,SAAS,EAAc,GAA6C;CAClE,IAAM,EAAE,kBAAe,GAEjB,EAAE,QAAQ,GAAkB,WAAW,MAC3C,EAAmB;EACjB,iBAAiB;GACf,EAAa,GAAwC,SAAS;EAChE;EACA,UAAS,MAAS;GAChB,EAAa,EAAM,SAAS,UAAU,EACpC,OAAO,EACT,CAAC;EACH;CACF,CAAC,GACG,EAAE,QAAQ,GAA4B,WAAW,MACrD,EAA8B;EAC5B,iBAAiB;GACf,EAAa,yBAAyB,MAAM;EAC9C;EACA,UAAS,MAAS;GAChB,EAAa,EAAM,SAAS,UAAU,EACpC,OAAO,EACT,CAAC;EACH;CACF,CAAC;CAEH,OACE,kBAAC,OAAD;EAAyB,WAAW,EAAO;YAA3C;GACE,kBAAC,QAAD;IAAM,WAAW,EAAO;cACtB,kBAAC,GAAD,EAAiB,aAAa,EA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cAAa;GAG7B,CAAA;GACX,KAAmB,EAAgB,SAAS,IAC3C,kBAAC,GAAD;IACE,WAAW;IACX,SAAS,kBAAC,GAAD,EAAS,UAAA,GAAU,CAAA;IAC5B,SAAS;IACT,IAAI;cAEH,EAAgB,KAAI,MACnB,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAA2B,cAAa,CAAA,EAChC,GAFK,EAAW,EAEhB,CACX;GACI,CAAA,IAEP,kBAAC,GAAD;IACE,SAAQ;IACR,OAAM;IACN,OAAM;IACN,IAAI;cACL;GAEW,CAAA;EAEV;;AAEV"}
1
+ {"version":3,"file":"OpenInvitationsToUserCard.js","names":[],"sources":["../../../../../src/features/team/invitation/components/OpenInvitationsToUserCard.tsx"],"sourcesContent":["import { displayToast } from '@/components/ToastMessage/ToastMessage'\nimport { UserBadge } from '@/components/UserCard/UserBadge'\nimport UserOrTeamBadge from '@/components/UserOrTeamBadge/UserOrTeamBadge'\nimport {\n useAddMemberToTeam,\n useDeleteMembershipInvitation,\n useGetAllOpenMembershipInvitations,\n} from '@/synapse-queries/team/useTeamMembers'\nimport { useGetCurrentUserProfile } from '@/synapse-queries/user/useUserBundle'\nimport ChatTwoTone from '@mui/icons-material/ChatTwoTone'\nimport { Card, CardProps, Collapse, Divider, Tooltip } from '@mui/material'\nimport Button from '@mui/material/Button'\nimport Stack from '@mui/material/Stack'\nimport Typography from '@mui/material/Typography'\nimport { MembershipInvitation } from '@sage-bionetworks/synapse-client/generated/models/index'\nimport { useRef } from 'react'\nimport TransitionGroup from 'react-transition-group/TransitionGroup'\nimport {\n ACCEPT_TEAM_INVITATION_ERROR_MESSAGE,\n ACCEPT_TEAM_INVITATION_SUCCESS_MESSAGE,\n DECLINE_TEAM_INVITATION_ERROR_MESSAGE,\n} from '../utils/constants'\nimport styles from './OpenInvitationsToUserCard.module.scss'\n\nfunction InvitationRow(props: { invitation: MembershipInvitation }) {\n const { invitation } = props\n\n const { mutate: acceptInvitation, isPending: acceptIsPending } =\n useAddMemberToTeam({\n onSuccess: () => {\n displayToast(ACCEPT_TEAM_INVITATION_SUCCESS_MESSAGE, 'success')\n },\n onError: error => {\n displayToast(error.message, 'danger', {\n title: ACCEPT_TEAM_INVITATION_ERROR_MESSAGE,\n })\n },\n })\n const { mutate: deleteMembershipInvitation, isPending: deleteIsPending } =\n useDeleteMembershipInvitation({\n onSuccess: () => {\n displayToast('Invitation dismissed.', 'info')\n },\n onError: error => {\n displayToast(error.message, 'danger', {\n title: DECLINE_TEAM_INVITATION_ERROR_MESSAGE,\n })\n },\n })\n\n return (\n <div key={invitation.id} className={styles.row}>\n <span className={styles.teamName}>\n <UserOrTeamBadge principalId={invitation.teamId} />\n </span>\n <div className={styles.invitationMessage}>\n {invitation.message && (\n <>\n <Tooltip\n title={\n <>\n Message from{' '}\n <UserBadge\n userId={invitation.createdBy}\n showFullName\n showCardOnHover={false}\n disableLink\n />\n </>\n }\n >\n <ChatTwoTone sx={{ color: 'grey.700' }} />\n </Tooltip>\n <Typography variant=\"body2\" color=\"text.secondary\">\n {invitation.message}\n </Typography>\n </>\n )}\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n loading={acceptIsPending}\n disabled={deleteIsPending}\n onClick={() => {\n acceptInvitation({\n teamId: invitation.teamId!,\n userId: invitation.inviteeId!,\n })\n }}\n >\n Join\n </Button>\n <Button\n variant=\"outlined\"\n loading={deleteIsPending}\n disabled={acceptIsPending}\n onClick={() => {\n deleteMembershipInvitation({\n membershipInvitation: invitation,\n })\n }}\n >\n Decline\n </Button>\n </div>\n )\n}\n\ntype OpenInvitationsToUserCardProps = {\n cardProps?: CardProps\n}\n\n/**\n * Shows a card of the open team membership invitations for the current user, if any exist. If no invitations exist, nothing is shown.\n */\nexport default function OpenInvitationsToUserCard(\n props: OpenInvitationsToUserCardProps,\n) {\n const { cardProps } = props\n const { data: currentUser } = useGetCurrentUserProfile()\n const { data: openInvitations, isLoading } =\n useGetAllOpenMembershipInvitations(currentUser?.ownerId!, {\n enabled: Boolean(currentUser?.ownerId),\n })\n\n // Keep track of the maximum number of invitations seen so that if the list of invitations goes down to 0 we can still show the section (with a message indicating there are no invitations) instead of hiding the section entirely.\n // This is to prevent jarring changes in the UI if a user accepts/declines an invitation and the section disappears entirely.\n const maxSeenInvitationsRef = useRef(0)\n maxSeenInvitationsRef.current = Math.max(\n maxSeenInvitationsRef.current,\n openInvitations?.length ?? 0,\n )\n if (\n maxSeenInvitationsRef.current == 0 &&\n (isLoading || !openInvitations || openInvitations.length === 0)\n ) {\n return null\n }\n\n return (\n <Card {...cardProps}>\n <Typography variant=\"headline3\" gutterBottom>\n Pending Team Invitations\n </Typography>\n <Typography variant=\"body1\" gutterBottom>\n You have been invited to join the following team(s). New content may be\n visible to you after you accept a team invitation.\n </Typography>\n {openInvitations && openInvitations.length > 0 ? (\n <Stack\n component={TransitionGroup}\n divider={<Divider flexItem />}\n spacing={2}\n mt={2}\n >\n {openInvitations.map(invitation => (\n <Collapse key={invitation.id}>\n <InvitationRow invitation={invitation} />\n </Collapse>\n ))}\n </Stack>\n ) : (\n <Typography\n variant=\"body1Italic\"\n align=\"center\"\n color=\"text.secondary\"\n mt={2}\n >\n You have no pending team invitations.\n </Typography>\n )}\n </Card>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAwBA,SAAS,EAAc,GAA6C;CAClE,IAAM,EAAE,kBAAe,GAEjB,EAAE,QAAQ,GAAkB,WAAW,MAC3C,EAAmB;EACjB,iBAAiB;GACf,EAAa,GAAwC,SAAS;EAChE;EACA,UAAS,MAAS;GAChB,EAAa,EAAM,SAAS,UAAU,EACpC,OAAO,EACT,CAAC;EACH;CACF,CAAC,GACG,EAAE,QAAQ,GAA4B,WAAW,MACrD,EAA8B;EAC5B,iBAAiB;GACf,EAAa,yBAAyB,MAAM;EAC9C;EACA,UAAS,MAAS;GAChB,EAAa,EAAM,SAAS,UAAU,EACpC,OAAO,EACT,CAAC;EACH;CACF,CAAC;CAEH,OACE,kBAAC,OAAD;EAAyB,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IAAY,SAAQ;IAAY,cAAA;cAAa;GAEjC,CAAA;GACZ,kBAAC,GAAD;IAAY,SAAQ;IAAQ,cAAA;cAAa;GAG7B,CAAA;GACX,KAAmB,EAAgB,SAAS,IAC3C,kBAAC,GAAD;IACE,WAAW;IACX,SAAS,kBAAC,GAAD,EAAS,UAAA,GAAU,CAAA;IAC5B,SAAS;IACT,IAAI;cAEH,EAAgB,KAAI,MACnB,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAA2B,cAAa,CAAA,EAChC,GAFK,EAAW,EAEhB,CACX;GACI,CAAA,IAEP,kBAAC,GAAD;IACE,SAAQ;IACR,OAAM;IACN,OAAM;IACN,IAAI;cACL;GAEW,CAAA;EAEV;;AAEV"}
@@ -0,0 +1,53 @@
1
+ import { AggregateCountSuppressionStrategy } from '@sage-bionetworks/synapse-client/generated/models/AggregateCountSuppressionStrategy';
2
+ import { FacetPostProcessingConfig } from '@sage-bionetworks/synapse-client/generated/models/FacetPostProcessingConfig';
3
+ /**
4
+ * Best-guess Cohort Builder 2.0 source layout, expressed as the columns the two
5
+ * VirtualTables expose. The participant-perspective VT groups MATERIAL by
6
+ * participant; the data-perspective VT groups MATERIAL by file/dataset reference.
7
+ * Data attributes keep the same column name in both VTs (a STRING_LIST in the
8
+ * participant VT, a scalar in MATERIAL and the data VT) so one filter tree can be
9
+ * applied to both as a defining condition.
10
+ */
11
+ /** Relative frequency of each value, used by the synthetic data generator. */
12
+ export type WeightedValues = Readonly<Record<string, number>>;
13
+ export type MockParticipantAttribute = {
14
+ name: string;
15
+ values: WeightedValues;
16
+ isQuasiIdentifier: boolean;
17
+ };
18
+ export type MockAssay = {
19
+ assay: string;
20
+ dataType: string;
21
+ fileFormats: readonly string[];
22
+ /** Portal-specific data attributes (e.g. specimenType, tissue) and their possible values. */
23
+ extraAttributes: Readonly<Record<string, readonly string[]>>;
24
+ };
25
+ export type MockStudy = {
26
+ name: string;
27
+ participantCount: number;
28
+ /** FILE studies map participants to individual files; DATASET studies map every participant to every study dataset. */
29
+ mapping: 'FILE' | 'DATASET';
30
+ assays: readonly MockAssay[];
31
+ };
32
+ export type CohortBuilderMockProfile = {
33
+ portalName: string;
34
+ participantIdPrefix: string;
35
+ participantsVirtualTableId: string;
36
+ dataVirtualTableId: string;
37
+ /** First synthetic entity ID assigned to a file or dataset reference. */
38
+ firstReferenceEntityId: number;
39
+ participantAttributes: readonly MockParticipantAttribute[];
40
+ extraDataAttributeNames: readonly string[];
41
+ studies: readonly MockStudy[];
42
+ suppressionThreshold: number;
43
+ countSuppressionStrategy: AggregateCountSuppressionStrategy;
44
+ facetPostProcessingConfig: FacetPostProcessingConfig;
45
+ };
46
+ export declare const PARTICIPANT_ID_COLUMN_NAME = "individualId";
47
+ export declare const STUDY_COLUMN_NAME = "study";
48
+ export declare const DATA_REFERENCE_COLUMN_NAME = "dataReference";
49
+ export declare const REFERENCE_TYPE_COLUMN_NAME = "referenceType";
50
+ export declare const CORE_DATA_ATTRIBUTE_NAMES: readonly ["dataType", "assay", "fileFormat"];
51
+ export declare const ELITE_MOCK_PROFILE: CohortBuilderMockProfile;
52
+ export declare const ADKP_MOCK_PROFILE: CohortBuilderMockProfile;
53
+ //# sourceMappingURL=cohortBuilderMockProfiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohortBuilderMockProfiles.d.ts","sourceRoot":"","sources":["../../../src/mocks/cohortBuilder/cohortBuilderMockProfiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,qFAAqF,CAAA;AACvI,OAAO,EAAE,yBAAyB,EAAE,MAAM,6EAA6E,CAAA;AAEvH;;;;;;;GAOG;AAEH,8EAA8E;AAC9E,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAE7D,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,CAAA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M,iBAAiB,EAAE,wBAmK/B,CAAA"}
@@ -0,0 +1,391 @@
1
+ //#region src/mocks/cohortBuilder/cohortBuilderMockProfiles.ts
2
+ var e = "individualId", t = "study", n = "dataReference", r = "referenceType", i = [
3
+ "dataType",
4
+ "assay",
5
+ "fileFormat"
6
+ ], a = {
7
+ false: 85,
8
+ true: 15
9
+ }, o = {
10
+ portalName: "ELITE",
11
+ participantIdPrefix: "ELITE-SYN",
12
+ participantsVirtualTableId: "syn90000001",
13
+ dataVirtualTableId: "syn90000002",
14
+ firstReferenceEntityId: 901e5,
15
+ participantAttributes: [
16
+ {
17
+ name: "sex",
18
+ values: {
19
+ Female: 58,
20
+ Male: 41,
21
+ Unknown: 1
22
+ },
23
+ isQuasiIdentifier: !0
24
+ },
25
+ {
26
+ name: "ageRange",
27
+ values: {
28
+ "20-24": 1,
29
+ "25-29": 1,
30
+ "30-34": 1,
31
+ "35-39": 2,
32
+ "40-44": 2,
33
+ "45-49": 3,
34
+ "50-54": 4,
35
+ "55-59": 5,
36
+ "60-64": 6,
37
+ "65-69": 7,
38
+ "70-74": 8,
39
+ "75-79": 9,
40
+ "80-84": 10,
41
+ "85-89": 11,
42
+ "90-94": 12,
43
+ "95-99": 9,
44
+ "100-104": 5,
45
+ "105-109": .4,
46
+ ">109": .1
47
+ },
48
+ isQuasiIdentifier: !0
49
+ },
50
+ {
51
+ name: "race",
52
+ values: {
53
+ White: 78,
54
+ "Black or African American": 9,
55
+ Asian: 6,
56
+ "American Indian or Alaska Native": .3,
57
+ "More than one race": 3,
58
+ Unknown: 4
59
+ },
60
+ isQuasiIdentifier: !0
61
+ },
62
+ {
63
+ name: "ethnicity",
64
+ values: {
65
+ "Not Hispanic or Latino": 90,
66
+ "Hispanic or Latino": 7,
67
+ Unknown: 3
68
+ },
69
+ isQuasiIdentifier: !0
70
+ },
71
+ {
72
+ name: "apoeGenotype",
73
+ values: {
74
+ "e2/e2": .7,
75
+ "e2/e3": 12,
76
+ "e2/e4": 2,
77
+ "e3/e3": 61,
78
+ "e3/e4": 21,
79
+ "e4/e4": 2
80
+ },
81
+ isQuasiIdentifier: !0
82
+ },
83
+ {
84
+ name: "familyStudyParticipant",
85
+ values: {
86
+ false: 60,
87
+ true: 40
88
+ },
89
+ isQuasiIdentifier: !1
90
+ },
91
+ {
92
+ name: "hasDementia",
93
+ values: a,
94
+ isQuasiIdentifier: !0
95
+ },
96
+ {
97
+ name: "hasDiabetes",
98
+ values: a,
99
+ isQuasiIdentifier: !0
100
+ },
101
+ {
102
+ name: "hasCardiovascularDisease",
103
+ values: {
104
+ false: 70,
105
+ true: 30
106
+ },
107
+ isQuasiIdentifier: !0
108
+ },
109
+ {
110
+ name: "mortalityStatus",
111
+ values: {
112
+ Living: 55,
113
+ Deceased: 45
114
+ },
115
+ isQuasiIdentifier: !1
116
+ }
117
+ ],
118
+ extraDataAttributeNames: ["specimenType"],
119
+ studies: [
120
+ {
121
+ name: "LLFS",
122
+ participantCount: 1200,
123
+ mapping: "DATASET",
124
+ assays: [
125
+ {
126
+ assay: "WGS",
127
+ dataType: "genomicVariants",
128
+ fileFormats: ["VCF"],
129
+ extraAttributes: { specimenType: ["blood"] }
130
+ },
131
+ {
132
+ assay: "SomaScan",
133
+ dataType: "proteomics",
134
+ fileFormats: ["CSV"],
135
+ extraAttributes: { specimenType: ["plasma"] }
136
+ },
137
+ {
138
+ assay: "LC-MS",
139
+ dataType: "metabolomics",
140
+ fileFormats: ["CSV"],
141
+ extraAttributes: { specimenType: ["plasma"] }
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ name: "NECS",
147
+ participantCount: 500,
148
+ mapping: "FILE",
149
+ assays: [{
150
+ assay: "WGS",
151
+ dataType: "genomicVariants",
152
+ fileFormats: ["CRAM", "VCF"],
153
+ extraAttributes: { specimenType: ["blood", "saliva"] }
154
+ }, {
155
+ assay: "RNAseq",
156
+ dataType: "geneExpression",
157
+ fileFormats: ["FASTQ", "BAM"],
158
+ extraAttributes: { specimenType: ["blood"] }
159
+ }]
160
+ },
161
+ {
162
+ name: "LonGenity",
163
+ participantCount: 700,
164
+ mapping: "FILE",
165
+ assays: [{
166
+ assay: "methylationArray",
167
+ dataType: "epigenetics",
168
+ fileFormats: ["IDAT"],
169
+ extraAttributes: { specimenType: ["blood"] }
170
+ }, {
171
+ assay: "SomaScan",
172
+ dataType: "proteomics",
173
+ fileFormats: ["CSV"],
174
+ extraAttributes: { specimenType: ["plasma"] }
175
+ }]
176
+ },
177
+ {
178
+ name: "ILO",
179
+ participantCount: 300,
180
+ mapping: "FILE",
181
+ assays: [{
182
+ assay: "scRNAseq",
183
+ dataType: "geneExpression",
184
+ fileFormats: ["FASTQ", "H5AD"],
185
+ extraAttributes: { specimenType: ["PBMC"] }
186
+ }, {
187
+ assay: "metagenomics",
188
+ dataType: "genomicVariants",
189
+ fileFormats: ["FASTQ"],
190
+ extraAttributes: { specimenType: [
191
+ "blood",
192
+ "plasma",
193
+ "PBMC",
194
+ "saliva"
195
+ ] }
196
+ }]
197
+ }
198
+ ],
199
+ suppressionThreshold: 20,
200
+ countSuppressionStrategy: "EXCLUDE_ROW",
201
+ facetPostProcessingConfig: {
202
+ algorithm: "ROUNDING",
203
+ parameters: {
204
+ concreteType: "org.sagebionetworks.repo.model.FacetRoundingParameters",
205
+ roundTo: 5
206
+ }
207
+ }
208
+ }, s = {
209
+ portalName: "AD Knowledge Portal",
210
+ participantIdPrefix: "ADKP-SYN",
211
+ participantsVirtualTableId: "syn90000011",
212
+ dataVirtualTableId: "syn90000012",
213
+ firstReferenceEntityId: 902e5,
214
+ participantAttributes: [
215
+ {
216
+ name: "sex",
217
+ values: {
218
+ female: 62,
219
+ male: 38
220
+ },
221
+ isQuasiIdentifier: !0
222
+ },
223
+ {
224
+ name: "ageDeathRange",
225
+ values: {
226
+ "<70": 6,
227
+ "70-74": 6,
228
+ "75-79": 10,
229
+ "80-84": 18,
230
+ "85-89": 25,
231
+ "90+": 35
232
+ },
233
+ isQuasiIdentifier: !0
234
+ },
235
+ {
236
+ name: "race",
237
+ values: {
238
+ White: 85,
239
+ "Black or African American": 8,
240
+ Asian: 2,
241
+ "More than one race": 1,
242
+ Unknown: 4
243
+ },
244
+ isQuasiIdentifier: !0
245
+ },
246
+ {
247
+ name: "isHispanic",
248
+ values: {
249
+ false: 93,
250
+ true: 5,
251
+ Unknown: 2
252
+ },
253
+ isQuasiIdentifier: !0
254
+ },
255
+ {
256
+ name: "apoeGenotype",
257
+ values: {
258
+ 22: 1,
259
+ 23: 12,
260
+ 24: 2,
261
+ 33: 58,
262
+ 34: 24,
263
+ 44: 3
264
+ },
265
+ isQuasiIdentifier: !0
266
+ },
267
+ {
268
+ name: "diagnosis",
269
+ values: {
270
+ control: 30,
271
+ "Alzheimer's Disease": 45,
272
+ MCI: 20,
273
+ "frontotemporal dementia": .5,
274
+ other: 4.5
275
+ },
276
+ isQuasiIdentifier: !1
277
+ },
278
+ {
279
+ name: "braak",
280
+ values: {
281
+ "Stage 0": 3,
282
+ "Stage I": 8,
283
+ "Stage II": 12,
284
+ "Stage III": 20,
285
+ "Stage IV": 25,
286
+ "Stage V": 22,
287
+ "Stage VI": 10
288
+ },
289
+ isQuasiIdentifier: !1
290
+ },
291
+ {
292
+ name: "amyCerad",
293
+ values: {
294
+ None: 25,
295
+ Sparse: 15,
296
+ Moderate: 25,
297
+ Frequent: 35
298
+ },
299
+ isQuasiIdentifier: !1
300
+ }
301
+ ],
302
+ extraDataAttributeNames: ["tissue"],
303
+ studies: [
304
+ {
305
+ name: "ROSMAP",
306
+ participantCount: 900,
307
+ mapping: "FILE",
308
+ assays: [
309
+ {
310
+ assay: "rnaSeq",
311
+ dataType: "geneExpression",
312
+ fileFormats: ["fastq", "bam"],
313
+ extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
314
+ },
315
+ {
316
+ assay: "snrnaSeq",
317
+ dataType: "geneExpression",
318
+ fileFormats: ["fastq", "h5ad"],
319
+ extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
320
+ },
321
+ {
322
+ assay: "wholeGenomeSeq",
323
+ dataType: "genomicVariants",
324
+ fileFormats: ["cram", "vcf"],
325
+ extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ name: "MSBB",
331
+ participantCount: 300,
332
+ mapping: "FILE",
333
+ assays: [{
334
+ assay: "rnaSeq",
335
+ dataType: "geneExpression",
336
+ fileFormats: ["fastq", "bam"],
337
+ extraAttributes: { tissue: [
338
+ "dorsolateral prefrontal cortex",
339
+ "temporal cortex",
340
+ "cerebellum",
341
+ "parahippocampal gyrus"
342
+ ] }
343
+ }, {
344
+ assay: "TMT quantitation",
345
+ dataType: "proteomics",
346
+ fileFormats: ["raw", "csv"],
347
+ extraAttributes: { tissue: ["parahippocampal gyrus"] }
348
+ }]
349
+ },
350
+ {
351
+ name: "MayoRNAseq",
352
+ participantCount: 250,
353
+ mapping: "FILE",
354
+ assays: [{
355
+ assay: "rnaSeq",
356
+ dataType: "geneExpression",
357
+ fileFormats: ["fastq", "bam"],
358
+ extraAttributes: { tissue: ["temporal cortex", "cerebellum"] }
359
+ }]
360
+ },
361
+ {
362
+ name: "DiverseCohorts",
363
+ participantCount: 400,
364
+ mapping: "DATASET",
365
+ assays: [{
366
+ assay: "rnaSeq",
367
+ dataType: "geneExpression",
368
+ fileFormats: ["bam"],
369
+ extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
370
+ }, {
371
+ assay: "snATACSeq",
372
+ dataType: "epigenetics",
373
+ fileFormats: ["tsv"],
374
+ extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
375
+ }]
376
+ }
377
+ ],
378
+ suppressionThreshold: 20,
379
+ countSuppressionStrategy: "EXCLUDE_ROW",
380
+ facetPostProcessingConfig: {
381
+ algorithm: "NOISE",
382
+ parameters: {
383
+ concreteType: "org.sagebionetworks.repo.model.FacetNoiseParameters",
384
+ epsilon: 1
385
+ }
386
+ }
387
+ };
388
+ //#endregion
389
+ export { s as ADKP_MOCK_PROFILE, i as CORE_DATA_ATTRIBUTE_NAMES, n as DATA_REFERENCE_COLUMN_NAME, o as ELITE_MOCK_PROFILE, e as PARTICIPANT_ID_COLUMN_NAME, r as REFERENCE_TYPE_COLUMN_NAME, t as STUDY_COLUMN_NAME };
390
+
391
+ //# sourceMappingURL=cohortBuilderMockProfiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohortBuilderMockProfiles.js","names":[],"sources":["../../../src/mocks/cohortBuilder/cohortBuilderMockProfiles.ts"],"sourcesContent":["import { AggregateCountSuppressionStrategy } from '@sage-bionetworks/synapse-client/generated/models/AggregateCountSuppressionStrategy'\nimport { FacetPostProcessingConfig } from '@sage-bionetworks/synapse-client/generated/models/FacetPostProcessingConfig'\n\n/**\n * Best-guess Cohort Builder 2.0 source layout, expressed as the columns the two\n * VirtualTables expose. The participant-perspective VT groups MATERIAL by\n * participant; the data-perspective VT groups MATERIAL by file/dataset reference.\n * Data attributes keep the same column name in both VTs (a STRING_LIST in the\n * participant VT, a scalar in MATERIAL and the data VT) so one filter tree can be\n * applied to both as a defining condition.\n */\n\n/** Relative frequency of each value, used by the synthetic data generator. */\nexport type WeightedValues = Readonly<Record<string, number>>\n\nexport type MockParticipantAttribute = {\n name: string\n values: WeightedValues\n isQuasiIdentifier: boolean\n}\n\nexport type MockAssay = {\n assay: string\n dataType: string\n fileFormats: readonly string[]\n /** Portal-specific data attributes (e.g. specimenType, tissue) and their possible values. */\n extraAttributes: Readonly<Record<string, readonly string[]>>\n}\n\nexport type MockStudy = {\n name: string\n participantCount: number\n /** FILE studies map participants to individual files; DATASET studies map every participant to every study dataset. */\n mapping: 'FILE' | 'DATASET'\n assays: readonly MockAssay[]\n}\n\nexport type CohortBuilderMockProfile = {\n portalName: string\n participantIdPrefix: string\n participantsVirtualTableId: string\n dataVirtualTableId: string\n /** First synthetic entity ID assigned to a file or dataset reference. */\n firstReferenceEntityId: number\n participantAttributes: readonly MockParticipantAttribute[]\n extraDataAttributeNames: readonly string[]\n studies: readonly MockStudy[]\n suppressionThreshold: number\n countSuppressionStrategy: AggregateCountSuppressionStrategy\n facetPostProcessingConfig: FacetPostProcessingConfig\n}\n\nexport const PARTICIPANT_ID_COLUMN_NAME = 'individualId'\nexport const STUDY_COLUMN_NAME = 'study'\nexport const DATA_REFERENCE_COLUMN_NAME = 'dataReference'\nexport const REFERENCE_TYPE_COLUMN_NAME = 'referenceType'\nexport const CORE_DATA_ATTRIBUTE_NAMES = [\n 'dataType',\n 'assay',\n 'fileFormat',\n] as const\n\nconst TRUE_FALSE_RARE: WeightedValues = { false: 85, true: 15 }\nconst TRUE_FALSE_COMMON: WeightedValues = { false: 60, true: 40 }\n\n// ADM-8371: 5-year bins with a censored top bin.\nconst ELITE_AGE_RANGES: WeightedValues = {\n '20-24': 1,\n '25-29': 1,\n '30-34': 1,\n '35-39': 2,\n '40-44': 2,\n '45-49': 3,\n '50-54': 4,\n '55-59': 5,\n '60-64': 6,\n '65-69': 7,\n '70-74': 8,\n '75-79': 9,\n '80-84': 10,\n '85-89': 11,\n '90-94': 12,\n '95-99': 9,\n '100-104': 5,\n '105-109': 0.4,\n '>109': 0.1,\n}\n\nconst ELITE_BLOOD_SPECIMENS = ['blood', 'plasma', 'PBMC', 'saliva'] as const\n\nexport const ELITE_MOCK_PROFILE: CohortBuilderMockProfile = {\n portalName: 'ELITE',\n participantIdPrefix: 'ELITE-SYN',\n participantsVirtualTableId: 'syn90000001',\n dataVirtualTableId: 'syn90000002',\n firstReferenceEntityId: 90100000,\n participantAttributes: [\n {\n name: 'sex',\n values: { Female: 58, Male: 41, Unknown: 1 },\n isQuasiIdentifier: true,\n },\n { name: 'ageRange', values: ELITE_AGE_RANGES, isQuasiIdentifier: true },\n {\n name: 'race',\n values: {\n White: 78,\n 'Black or African American': 9,\n Asian: 6,\n 'American Indian or Alaska Native': 0.3,\n 'More than one race': 3,\n Unknown: 4,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'ethnicity',\n values: {\n 'Not Hispanic or Latino': 90,\n 'Hispanic or Latino': 7,\n Unknown: 3,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'apoeGenotype',\n values: {\n 'e2/e2': 0.7,\n 'e2/e3': 12,\n 'e2/e4': 2,\n 'e3/e3': 61,\n 'e3/e4': 21,\n 'e4/e4': 2,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'familyStudyParticipant',\n values: TRUE_FALSE_COMMON,\n isQuasiIdentifier: false,\n },\n { name: 'hasDementia', values: TRUE_FALSE_RARE, isQuasiIdentifier: true },\n { name: 'hasDiabetes', values: TRUE_FALSE_RARE, isQuasiIdentifier: true },\n {\n name: 'hasCardiovascularDisease',\n values: { false: 70, true: 30 },\n isQuasiIdentifier: true,\n },\n {\n name: 'mortalityStatus',\n values: { Living: 55, Deceased: 45 },\n isQuasiIdentifier: false,\n },\n ],\n extraDataAttributeNames: ['specimenType'],\n studies: [\n {\n name: 'LLFS',\n participantCount: 1200,\n mapping: 'DATASET',\n assays: [\n {\n assay: 'WGS',\n dataType: 'genomicVariants',\n fileFormats: ['VCF'],\n extraAttributes: { specimenType: ['blood'] },\n },\n {\n assay: 'SomaScan',\n dataType: 'proteomics',\n fileFormats: ['CSV'],\n extraAttributes: { specimenType: ['plasma'] },\n },\n {\n assay: 'LC-MS',\n dataType: 'metabolomics',\n fileFormats: ['CSV'],\n extraAttributes: { specimenType: ['plasma'] },\n },\n ],\n },\n {\n name: 'NECS',\n participantCount: 500,\n mapping: 'FILE',\n assays: [\n {\n assay: 'WGS',\n dataType: 'genomicVariants',\n fileFormats: ['CRAM', 'VCF'],\n extraAttributes: { specimenType: ['blood', 'saliva'] },\n },\n {\n assay: 'RNAseq',\n dataType: 'geneExpression',\n fileFormats: ['FASTQ', 'BAM'],\n extraAttributes: { specimenType: ['blood'] },\n },\n ],\n },\n {\n name: 'LonGenity',\n participantCount: 700,\n mapping: 'FILE',\n assays: [\n {\n assay: 'methylationArray',\n dataType: 'epigenetics',\n fileFormats: ['IDAT'],\n extraAttributes: { specimenType: ['blood'] },\n },\n {\n assay: 'SomaScan',\n dataType: 'proteomics',\n fileFormats: ['CSV'],\n extraAttributes: { specimenType: ['plasma'] },\n },\n ],\n },\n {\n name: 'ILO',\n participantCount: 300,\n mapping: 'FILE',\n assays: [\n {\n assay: 'scRNAseq',\n dataType: 'geneExpression',\n fileFormats: ['FASTQ', 'H5AD'],\n extraAttributes: { specimenType: ['PBMC'] },\n },\n {\n assay: 'metagenomics',\n dataType: 'genomicVariants',\n fileFormats: ['FASTQ'],\n extraAttributes: { specimenType: ELITE_BLOOD_SPECIMENS },\n },\n ],\n },\n ],\n suppressionThreshold: 20,\n countSuppressionStrategy: 'EXCLUDE_ROW',\n facetPostProcessingConfig: {\n algorithm: 'ROUNDING',\n parameters: {\n concreteType: 'org.sagebionetworks.repo.model.FacetRoundingParameters',\n roundTo: 5,\n },\n },\n}\n\nconst ADKP_BRAIN_TISSUES = [\n 'dorsolateral prefrontal cortex',\n 'temporal cortex',\n 'cerebellum',\n 'parahippocampal gyrus',\n] as const\n\nexport const ADKP_MOCK_PROFILE: CohortBuilderMockProfile = {\n portalName: 'AD Knowledge Portal',\n participantIdPrefix: 'ADKP-SYN',\n participantsVirtualTableId: 'syn90000011',\n dataVirtualTableId: 'syn90000012',\n firstReferenceEntityId: 90200000,\n participantAttributes: [\n {\n name: 'sex',\n values: { female: 62, male: 38 },\n isQuasiIdentifier: true,\n },\n {\n name: 'ageDeathRange',\n values: {\n '<70': 6,\n '70-74': 6,\n '75-79': 10,\n '80-84': 18,\n '85-89': 25,\n '90+': 35,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'race',\n values: {\n White: 85,\n 'Black or African American': 8,\n Asian: 2,\n 'More than one race': 1,\n Unknown: 4,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'isHispanic',\n values: { false: 93, true: 5, Unknown: 2 },\n isQuasiIdentifier: true,\n },\n {\n name: 'apoeGenotype',\n values: { '22': 1, '23': 12, '24': 2, '33': 58, '34': 24, '44': 3 },\n isQuasiIdentifier: true,\n },\n {\n name: 'diagnosis',\n values: {\n control: 30,\n \"Alzheimer's Disease\": 45,\n MCI: 20,\n 'frontotemporal dementia': 0.5,\n other: 4.5,\n },\n isQuasiIdentifier: false,\n },\n {\n name: 'braak',\n values: {\n 'Stage 0': 3,\n 'Stage I': 8,\n 'Stage II': 12,\n 'Stage III': 20,\n 'Stage IV': 25,\n 'Stage V': 22,\n 'Stage VI': 10,\n },\n isQuasiIdentifier: false,\n },\n {\n name: 'amyCerad',\n values: { None: 25, Sparse: 15, Moderate: 25, Frequent: 35 },\n isQuasiIdentifier: false,\n },\n ],\n extraDataAttributeNames: ['tissue'],\n studies: [\n {\n name: 'ROSMAP',\n participantCount: 900,\n mapping: 'FILE',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'bam'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n {\n assay: 'snrnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'h5ad'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n {\n assay: 'wholeGenomeSeq',\n dataType: 'genomicVariants',\n fileFormats: ['cram', 'vcf'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n ],\n },\n {\n name: 'MSBB',\n participantCount: 300,\n mapping: 'FILE',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'bam'],\n extraAttributes: { tissue: ADKP_BRAIN_TISSUES },\n },\n {\n assay: 'TMT quantitation',\n dataType: 'proteomics',\n fileFormats: ['raw', 'csv'],\n extraAttributes: { tissue: ['parahippocampal gyrus'] },\n },\n ],\n },\n {\n name: 'MayoRNAseq',\n participantCount: 250,\n mapping: 'FILE',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'bam'],\n extraAttributes: { tissue: ['temporal cortex', 'cerebellum'] },\n },\n ],\n },\n {\n name: 'DiverseCohorts',\n participantCount: 400,\n mapping: 'DATASET',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['bam'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n {\n assay: 'snATACSeq',\n dataType: 'epigenetics',\n fileFormats: ['tsv'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n ],\n },\n ],\n suppressionThreshold: 20,\n countSuppressionStrategy: 'EXCLUDE_ROW',\n facetPostProcessingConfig: {\n algorithm: 'NOISE',\n parameters: {\n concreteType: 'org.sagebionetworks.repo.model.FacetNoiseParameters',\n epsilon: 1.0,\n },\n },\n}\n"],"mappings":";AAoDA,IAAa,IAA6B,gBAC7B,IAAoB,SACpB,IAA6B,iBAC7B,IAA6B,iBAC7B,IAA4B;CACvC;CACA;CACA;AACF,GAEM,IAAkC;CAAE,OAAO;CAAI,MAAM;AAAG,GA4BjD,IAA+C;CAC1D,YAAY;CACZ,qBAAqB;CACrB,4BAA4B;CAC5B,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;EACrB;GACE,MAAM;GACN,QAAQ;IAAE,QAAQ;IAAI,MAAM;IAAI,SAAS;GAAE;GAC3C,mBAAmB;EACrB;EACA;GAAE,MAAM;GAAY,QAAQ;IAnC9B,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,WAAW;IACX,WAAW;IACX,QAAQ;GAiBsB;GAAkB,mBAAmB;EAAK;EACtE;GACE,MAAM;GACN,QAAQ;IACN,OAAO;IACP,6BAA6B;IAC7B,OAAO;IACP,oCAAoC;IACpC,sBAAsB;IACtB,SAAS;GACX;GACA,mBAAmB;EACrB;EACA;GACE,MAAM;GACN,QAAQ;IACN,0B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,SAAS,KAAK;IAC5B,iBAAiB,EAAE,QAAQ,CAAC,mBAAmB,YAAY,EAAE;GAC/D,CACF;EACF;EACA;GACE,MAAM;GACN,kBAAkB;GAClB,SAAS;GACT,QAAQ,CACN;IACE,OAAO;IACP,UAAU;IACV,aAAa,CAAC,KAAK;IACnB,iBAAiB,EAAE,QAAQ,CAAC,gCAAgC,EAAE;GAChE,GACA;IACE,OAAO;IACP,UAAU;IACV,aAAa,CAAC,KAAK;IACnB,iBAAiB,EAAE,QAAQ,CAAC,gCAAgC,EAAE;GAChE,CACF;EACF;CACF;CACA,sBAAsB;CACtB,0BAA0B;CAC1B,2BAA2B;EACzB,WAAW;EACX,YAAY;GACV,cAAc;GACd,SAAS;EACX;CACF;AACF"}
@@ -0,0 +1,41 @@
1
+ import { BelowThresholdErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/BelowThresholdErrorResponse';
2
+ import { ColumnModel } from '@sage-bionetworks/synapse-client/generated/models/ColumnModel';
3
+ import { ErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/ErrorResponse';
4
+ import { QueryResultBundle } from '@sage-bionetworks/synapse-client/generated/models/QueryResultBundle';
5
+ import { RowSuppressionErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/RowSuppressionErrorResponse';
6
+ import { QueryBundleRequest } from '@sage-bionetworks/synapse-types';
7
+ import { CohortBuilderSyntheticData } from './cohortBuilderSyntheticData';
8
+ /**
9
+ * Which access tier the mocked caller has on the participants source:
10
+ * - `FULL`: the caller met the access requirement (exact results, rows allowed).
11
+ * - `AGGREGATE_ONLY`: authenticated but unapproved (count gate, post-processed
12
+ * facets, no participant rows).
13
+ */
14
+ export type CohortBuilderAccess = 'FULL' | 'AGGREGATE_ONLY';
15
+ export type CohortBuilderMockErrorBody = ErrorResponse | BelowThresholdErrorResponse | RowSuppressionErrorResponse;
16
+ export type CohortBuilderMockQueryResult = {
17
+ status: 200;
18
+ body: QueryResultBundle;
19
+ } | {
20
+ status: number;
21
+ body: CohortBuilderMockErrorBody;
22
+ };
23
+ export declare const MOCK_BELOW_THRESHOLD_HTTP_STATUS = 403;
24
+ export declare const MOCK_ROW_SUPPRESSED_HTTP_STATUS = 403;
25
+ /** Column models of both VirtualTables, derived from the synthetic data's profile. */
26
+ export declare function getCohortBuilderColumnModels(data: CohortBuilderSyntheticData): {
27
+ participants: ColumnModel[];
28
+ dataReferences: ColumnModel[];
29
+ };
30
+ /** The stack default of `org.sagebionetworks.table.query.cohort.max.values`. */
31
+ export declare const MOCK_MAX_COHORT_VALUES = 10000;
32
+ export type CohortBuilderMockQueryOptions = {
33
+ /** Maximum number of distinct values in one cohort. Defaults to {@link MOCK_MAX_COHORT_VALUES}. */
34
+ maxCohortValues?: number;
35
+ };
36
+ /**
37
+ * Emulates a Cohort Builder 2.0 table query against synthetic data, returning
38
+ * either a QueryResultBundle or the error the backend would return.
39
+ */
40
+ export declare function runCohortBuilderMockQuery(data: CohortBuilderSyntheticData, request: QueryBundleRequest, access: CohortBuilderAccess, options?: CohortBuilderMockQueryOptions): CohortBuilderMockQueryResult;
41
+ //# sourceMappingURL=cohortBuilderMockQueryEngine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohortBuilderMockQueryEngine.d.ts","sourceRoot":"","sources":["../../../src/mocks/cohortBuilder/cohortBuilderMockQueryEngine.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+EAA+E,CAAA;AAC3H,OAAO,EAAE,WAAW,EAAE,MAAM,+DAA+D,CAAA;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAA;AAE/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAA;AACvG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+EAA+E,CAAA;AAG3H,OAAO,EASL,kBAAkB,EAGnB,MAAM,iCAAiC,CAAA;AAQxC,OAAO,EACL,0BAA0B,EAG3B,MAAM,8BAA8B,CAAA;AAErC;;;;;GAKG;A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