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.
- package/dist/SWC.index.js +1 -1
- package/dist/aridhia-queries/AridhiaKeyFactory.d.ts +1 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.d.ts.map +1 -1
- package/dist/aridhia-queries/AridhiaKeyFactory.js +3 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.js.map +1 -1
- package/dist/aridhia-queries/aridhiaTokenExchange.js +6 -6
- package/dist/aridhia-queries/index.d.ts +1 -0
- package/dist/aridhia-queries/index.d.ts.map +1 -1
- package/dist/aridhia-queries/index.js +11 -10
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.d.ts +19 -0
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.js +14 -0
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.js.map +1 -0
- package/dist/aridhia-queries/useSubmitAridhiaDar.js +2 -2
- package/dist/aridhia-queries/useSubmitAridhiaDar.js.map +1 -1
- package/dist/components/AccessRequirementList/AccessApprovalCheckMark.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/AccessApprovalCheckMark.js +6 -4
- package/dist/components/AccessRequirementList/AccessApprovalCheckMark.js.map +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/AccessorRequirementHelpText.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/AccessorRequirementHelpText.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ReviewCollaboratorsAndSigningOfficialAccordion.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ReviewCollaboratorsAndSigningOfficialAccordion.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js +11 -8
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js.map +1 -1
- package/dist/components/AccessTokenPage/AccessTokenPage.js +1 -1
- package/dist/components/AccessTokenPage/AccessTokenPage.js.map +1 -1
- package/dist/components/AccessTokenPage/CreateAccessTokenModal.js +1 -1
- package/dist/components/AccessTokenPage/CreateAccessTokenModal.js.map +1 -1
- package/dist/components/AccountLevelBadges/AccountLevelBadges.js +1 -1
- package/dist/components/AccountLevelBadges/AccountLevelBadges.js.map +1 -1
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js +1 -1
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js.map +1 -1
- package/dist/components/AclEditor/AclEditor.test-utils.js +3 -5
- package/dist/components/AclEditor/AclEditor.test-utils.js.map +1 -1
- package/dist/components/Aridhia/AridhiaAccessStatus.d.ts.map +1 -1
- package/dist/components/Aridhia/AridhiaAccessStatus.js +43 -30
- package/dist/components/Aridhia/AridhiaAccessStatus.js.map +1 -1
- package/dist/components/Aridhia/AridhiaDarStatusPopover.d.ts +6 -2
- package/dist/components/Aridhia/AridhiaDarStatusPopover.d.ts.map +1 -1
- package/dist/components/Aridhia/AridhiaDarStatusPopover.js +101 -31
- package/dist/components/Aridhia/AridhiaDarStatusPopover.js.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSectionForm.js +17 -13
- package/dist/components/Aridhia/DarWizard/DarSectionForm.js.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts +3 -3
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js +33 -34
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js.map +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts +11 -9
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts.map +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.js +24 -13
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.js.map +1 -1
- package/dist/components/Aridhia/fairFormToRjsf.js +1 -1
- package/dist/components/Aridhia/fairFormToRjsf.js.map +1 -1
- package/dist/components/Authentication/LastLoginInfo.js +3 -3
- package/dist/components/Authentication/LastLoginInfo.js.map +1 -1
- package/dist/components/Authentication/RecoveryCodeForm.js +1 -1
- package/dist/components/Authentication/RecoveryCodeForm.js.map +1 -1
- package/dist/components/Authentication/RecoveryCodeGrid.js.map +1 -1
- package/dist/components/Authentication/TOTPForm.d.ts.map +1 -1
- package/dist/components/Authentication/TOTPForm.js +3 -3
- package/dist/components/Authentication/TOTPForm.js.map +1 -1
- package/dist/components/Authentication/index.d.ts +6 -6
- package/dist/components/Authentication/index.d.ts.map +1 -1
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js +1 -1
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js.map +1 -1
- package/dist/components/CardContainer/CardContainer.js +7 -7
- package/dist/components/CardContainer/CardContainer.js.map +1 -1
- package/dist/components/CertificationQuiz/CertificationQuiz.js +1 -1
- package/dist/components/CertificationQuiz/CertificationQuiz.js.map +1 -1
- package/dist/components/ChallengeRequirementsModal/ChallengeRequirementsModal.js +1 -1
- package/dist/components/ChallengeRequirementsModal/ChallengeRequirementsModal.js.map +1 -1
- package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js +1 -1
- package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js.map +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.d.ts.map +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.js +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.js.map +1 -1
- package/dist/components/ChallengeSubmission/EvaluationQueueCurrentRoundInfo.js +1 -1
- package/dist/components/ChallengeSubmission/EvaluationQueueCurrentRoundInfo.js.map +1 -1
- package/dist/components/ChallengeSubmission/SubmissionDirectoryList.js +6 -6
- package/dist/components/ChallengeSubmission/SubmissionDirectoryList.js.map +1 -1
- package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.d.ts.map +1 -1
- package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.js +4 -4
- package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.js.map +1 -1
- package/dist/components/ChallengeTeamWizard/SelectChallengeTeam.js +4 -4
- package/dist/components/ChallengeTeamWizard/SelectChallengeTeam.js.map +1 -1
- package/dist/components/CitationPopover/CitationPopoverContent.js +4 -4
- package/dist/components/CitationPopover/CitationPopoverContent.js.map +1 -1
- package/dist/components/CitationPopover/CitationPopoverUtils.js +2 -2
- package/dist/components/CitationPopover/CitationPopoverUtils.js.map +1 -1
- package/dist/components/CohortBuilder/CohortBuilder.css +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.d.ts +35 -0
- package/dist/components/CohortBuilder/CohortBuilder.d.ts.map +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.js +108 -0
- package/dist/components/CohortBuilder/CohortBuilder.js.map +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.module.js +10 -0
- package/dist/components/CohortBuilder/CohortBuilder.module.js.map +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.module.scss +20 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.d.ts +16 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.d.ts.map +1 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.js +124 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.js.map +1 -0
- package/dist/components/CohortBuilder/cohortHandOff.d.ts +25 -0
- package/dist/components/CohortBuilder/cohortHandOff.d.ts.map +1 -0
- package/dist/components/CohortBuilder/cohortHandOff.js +26 -0
- package/dist/components/CohortBuilder/cohortHandOff.js.map +1 -0
- package/dist/components/ColumnFilter/ColumnFilter.d.ts.map +1 -1
- package/dist/components/ColumnFilter/ColumnFilter.js +14 -13
- package/dist/components/ColumnFilter/ColumnFilter.js.map +1 -1
- package/dist/components/ComponentCollapse.d.ts.map +1 -1
- package/dist/components/ComponentCollapse.js +2 -1
- package/dist/components/ComponentCollapse.js.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.d.ts.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.js.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.js +231 -219
- package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.js +5 -4
- package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -1
- package/dist/components/DataGrid/columns/AutocompleteColumn.d.ts +11 -2
- package/dist/components/DataGrid/columns/AutocompleteColumn.d.ts.map +1 -1
- package/dist/components/DataGrid/columns/AutocompleteColumn.js +115 -109
- package/dist/components/DataGrid/columns/AutocompleteColumn.js.map +1 -1
- package/dist/components/DataGrid/columns/NumberColumn.js +1 -1
- package/dist/components/DataGrid/columns/NumberColumn.js.map +1 -1
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.d.ts +20 -0
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.d.ts.map +1 -0
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.js +18 -0
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.js.map +1 -0
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js +7 -5
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js.map +1 -1
- package/dist/components/DataGrid/components/ExportCsvFromGridButton.js +4 -4
- package/dist/components/DataGrid/components/ExportCsvFromGridButton.js.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsButton.js +4 -4
- package/dist/components/DataGrid/components/ReorderColumnsButton.js.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsDialog.js +12 -8
- package/dist/components/DataGrid/components/ReorderColumnsDialog.js.map +1 -1
- package/dist/components/DataGrid/components/UploadCsvToGridButton.js +1 -1
- package/dist/components/DataGrid/components/UploadCsvToGridButton.js.map +1 -1
- package/dist/components/DataGrid/components/contextMenu.js +3 -3
- package/dist/components/DataGrid/components/contextMenu.js.map +1 -1
- package/dist/components/DataGrid/hooks/useGridUndoRedo.d.ts.map +1 -1
- package/dist/components/DataGrid/hooks/useGridUndoRedo.js +14 -12
- package/dist/components/DataGrid/hooks/useGridUndoRedo.js.map +1 -1
- package/dist/components/DataGrid/hooks/useStack.d.ts +1 -1
- package/dist/components/DataGrid/hooks/useStack.js +2 -2
- package/dist/components/DataGrid/hooks/useStack.js.map +1 -1
- package/dist/components/DataGrid/utils/applyModelChange.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/applyModelChange.js +14 -14
- package/dist/components/DataGrid/utils/applyModelChange.js.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.js +47 -42
- package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
- package/dist/components/DataGrid/utils/extractColumnValidationMessages.js +7 -7
- package/dist/components/DataGrid/utils/extractColumnValidationMessages.js.map +1 -1
- package/dist/components/DataGrid/utils/json-rx/JsonRx.js +2 -2
- package/dist/components/DataGrid/utils/json-rx/JsonRx.js.map +1 -1
- package/dist/components/DataGrid/utils/splitPatch.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/splitPatch.js +22 -13
- package/dist/components/DataGrid/utils/splitPatch.js.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js +3 -2
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.module.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.module.scss +1 -3
- package/dist/components/DownloadCart/MeetAccessRequirementCard.js +1 -1
- package/dist/components/DownloadCart/MeetAccessRequirementCard.js.map +1 -1
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.d.ts.map +1 -1
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js +16 -10
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js.map +1 -1
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js +1 -1
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js.map +1 -1
- package/dist/components/EntityDownloadConfirmation/EntityDownloadConfirmation.js +5 -5
- package/dist/components/EntityDownloadConfirmation/EntityDownloadConfirmation.js.map +1 -1
- package/dist/components/EntityFinder/EntityFinder.js +4 -4
- package/dist/components/EntityFinder/EntityIdTextField.js +1 -1
- package/dist/components/EntityFinder/EntityIdTextField.js.map +1 -1
- package/dist/components/EntityFinder/details/view/DetailsView.d.ts.map +1 -1
- package/dist/components/EntityFinder/details/view/DetailsView.js +4 -4
- package/dist/components/EntityFinder/details/view/DetailsView.js.map +1 -1
- package/dist/components/EntityFinder/tree/VirtualizedTree.d.ts.map +1 -1
- package/dist/components/EntityFinder/tree/VirtualizedTree.js +5 -4
- package/dist/components/EntityFinder/tree/VirtualizedTree.js.map +1 -1
- package/dist/components/EntityHeaderTable/EntityHeaderTable.js +4 -4
- package/dist/components/EntityHeaderTable/EntityHeaderTable.js.map +1 -1
- package/dist/components/EntityHeaderTable/Filter.d.ts.map +1 -1
- package/dist/components/EntityHeaderTable/Filter.js +1 -1
- package/dist/components/EntityHeaderTable/Filter.js.map +1 -1
- package/dist/components/EntityTreeTable/components/EntityNameCell.d.ts.map +1 -1
- package/dist/components/EntityTreeTable/components/EntityNameCell.js +2 -1
- package/dist/components/EntityTreeTable/components/EntityNameCell.js.map +1 -1
- package/dist/components/EntityUpload/FileUploadProgress.d.ts.map +1 -1
- package/dist/components/EntityUpload/FileUploadProgress.js +11 -7
- package/dist/components/EntityUpload/FileUploadProgress.js.map +1 -1
- package/dist/components/Evaluation/EvaluationRoundEditor.js.map +1 -1
- package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.d.ts.map +1 -1
- package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.js +4 -3
- package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.js.map +1 -1
- package/dist/components/ExperimentalMode/ExperimentalMode.js +1 -1
- package/dist/components/ExperimentalMode/ExperimentalMode.js.map +1 -1
- package/dist/components/ExternalFileHandleLink/ExternalFileHandleLink.js +1 -1
- package/dist/components/ExternalFileHandleLink/ExternalFileHandleLink.js.map +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.d.ts.map +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js +80 -84
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js.map +1 -1
- package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.js +2 -1
- package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.js.map +1 -1
- package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.js +2 -1
- package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.js.map +1 -1
- package/dist/components/FormTemplateEditor/FieldLibrary.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/FieldLibrary.js +2 -1
- package/dist/components/FormTemplateEditor/FieldLibrary.js.map +1 -1
- package/dist/components/FormTemplateEditor/FieldLibraryRow.js +4 -4
- package/dist/components/FormTemplateEditor/FieldLibraryRow.js.map +1 -1
- package/dist/components/FormTemplateEditor/FormStructurePanel.js +7 -7
- package/dist/components/FormTemplateEditor/FormStructurePanel.js.map +1 -1
- package/dist/components/FormTemplateEditor/FormTemplateEditorForm.js +1 -1
- package/dist/components/FormTemplateEditor/FormTemplateEditorForm.js.map +1 -1
- package/dist/components/FormTemplateEditor/StepCard.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/StepCard.js +15 -10
- package/dist/components/FormTemplateEditor/StepCard.js.map +1 -1
- package/dist/components/FormTemplateEditor/StepFieldRow.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/StepFieldRow.js +11 -6
- package/dist/components/FormTemplateEditor/StepFieldRow.js.map +1 -1
- package/dist/components/FormTemplateEditor/TemplateFileHandleField.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/TemplateFileHandleField.js +2 -1
- package/dist/components/FormTemplateEditor/TemplateFileHandleField.js.map +1 -1
- package/dist/components/FormTemplateEditor/schemaFieldUtils.js +2 -2
- package/dist/components/FormTemplateEditor/schemaFieldUtils.js.map +1 -1
- package/dist/components/FullTextSearch/FullTextSearch.js +8 -8
- package/dist/components/GenericCard/CardUtils.js.map +1 -1
- package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js +46 -46
- package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js.map +1 -1
- package/dist/components/GenericCard/DuoTermTags/duoTerms.js +1 -1
- package/dist/components/GenericCard/DuoTermTags/duoTerms.js.map +1 -1
- package/dist/components/GenericCard/PortalDOI/PortalDOI.js +5 -5
- package/dist/components/GenericCard/PortalDOI/PortalDOI.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +38 -38
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/GoalsV3/GoalsV3.js +1 -1
- package/dist/components/GoalsV3/GoalsV3.js.map +1 -1
- package/dist/components/HelpPopover/HelpPopover.js +1 -1
- package/dist/components/HelpPopover/HelpPopover.js.map +1 -1
- package/dist/components/HexGrid/HexGrid.d.ts +3 -1
- package/dist/components/HexGrid/HexGrid.d.ts.map +1 -1
- package/dist/components/HexGrid/HexGrid.js +14 -13
- package/dist/components/HexGrid/HexGrid.js.map +1 -1
- package/dist/components/IconSvg/IconSvg.d.ts.map +1 -1
- package/dist/components/IconSvg/IconSvg.js +154 -47
- package/dist/components/IconSvg/IconSvg.js.map +1 -1
- package/dist/components/IconSvg/index.d.ts +1 -1
- package/dist/components/IconSvg/index.d.ts.map +1 -1
- package/dist/components/IconSvg/index.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.js +3 -3
- package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/ButtonTemplate.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/ButtonTemplate.js +19 -16
- package/dist/components/JsonSchemaForm/templates/ButtonTemplate.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.js +2 -1
- package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.js.map +1 -1
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.d.ts +9 -0
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.d.ts.map +1 -0
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.js +21 -0
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.js.map +1 -0
- package/dist/components/Markdown/MarkdownCollapse.d.ts.map +1 -1
- package/dist/components/Markdown/MarkdownCollapse.js +3 -1
- package/dist/components/Markdown/MarkdownCollapse.js.map +1 -1
- package/dist/components/Markdown/MarkdownEditor.js +1 -1
- package/dist/components/Markdown/MarkdownEditor.js.map +1 -1
- package/dist/components/Markdown/widget/index.d.ts +1 -1
- package/dist/components/Markdown/widget/index.d.ts.map +1 -1
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js +1 -1
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js.map +1 -1
- package/dist/components/ModalDownload/ModalDownload.d.ts.map +1 -1
- package/dist/components/ModalDownload/ModalDownload.js +2 -1
- package/dist/components/ModalDownload/ModalDownload.js.map +1 -1
- package/dist/components/OAuthClientManagement/OAuthManagement.js +14 -13
- package/dist/components/OAuthClientManagement/OAuthManagement.js.map +1 -1
- package/dist/components/Plot/BarPlot.js +1 -1
- package/dist/components/Plot/BarPlot.js.map +1 -1
- package/dist/components/Plot/PlotPanelHeader.d.ts +3 -2
- package/dist/components/Plot/PlotPanelHeader.d.ts.map +1 -1
- package/dist/components/Plot/PlotPanelHeader.js.map +1 -1
- package/dist/components/PortalList/PortalCard.d.ts.map +1 -1
- package/dist/components/PortalList/PortalCard.js +6 -5
- package/dist/components/PortalList/PortalCard.js.map +1 -1
- package/dist/components/PortalList/PortalList.js +4 -4
- package/dist/components/PortalList/PortalList.js.map +1 -1
- package/dist/components/ProgrammaticTableDownload/ProgrammaticTableDownload.js +1 -1
- package/dist/components/ProgrammaticTableDownload/ProgrammaticTableDownload.js.map +1 -1
- package/dist/components/ProjectVisibilityChip/ProjectVisibilityChip.js +6 -6
- package/dist/components/ProvenanceGraph/ProvenanceExternalIcon.js +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceExternalIcon.js.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js +3 -3
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
- package/dist/components/QueryBuilder/FilterConditionRow.d.ts.map +1 -1
- package/dist/components/QueryBuilder/FilterConditionRow.js +31 -30
- package/dist/components/QueryBuilder/FilterConditionRow.js.map +1 -1
- package/dist/components/QueryBuilder/FilterGroupNode.d.ts.map +1 -1
- package/dist/components/QueryBuilder/FilterGroupNode.js +91 -75
- package/dist/components/QueryBuilder/FilterGroupNode.js.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.css +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.d.ts.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.js +91 -79
- package/dist/components/QueryBuilder/QueryBuilderControls.js.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.module.js +11 -11
- package/dist/components/QueryBuilder/QueryBuilderControls.module.js.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.module.scss +2 -0
- package/dist/components/QueryBuilder/QueryBuilderInternalContext.d.ts +2 -0
- package/dist/components/QueryBuilder/QueryBuilderInternalContext.d.ts.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderInternalContext.js.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderLimits.d.ts +18 -0
- package/dist/components/QueryBuilder/queryBuilderLimits.d.ts.map +1 -0
- package/dist/components/QueryBuilder/queryBuilderLimits.js +38 -0
- package/dist/components/QueryBuilder/queryBuilderLimits.js.map +1 -0
- package/dist/components/QueryBuilder/queryBuilderMetadata.d.ts +0 -8
- package/dist/components/QueryBuilder/queryBuilderMetadata.d.ts.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderMetadata.js +6 -9
- package/dist/components/QueryBuilder/queryBuilderMetadata.js.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts +5 -4
- package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderTranslation.js +58 -33
- package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -1
- package/dist/components/QueryBuilder/useQBCombinedSql.d.ts.map +1 -1
- package/dist/components/QueryBuilder/useQBCombinedSql.js +4 -4
- package/dist/components/QueryBuilder/useQBCombinedSql.js.map +1 -1
- package/dist/components/QueryBuilder/useQBValueDisplayName.d.ts.map +1 -1
- package/dist/components/QueryBuilder/useQBValueDisplayName.js +5 -5
- package/dist/components/QueryBuilder/useQBValueDisplayName.js.map +1 -1
- package/dist/components/QueryCountButton/QueryCountButton.js +5 -5
- package/dist/components/QueryCountButton/QueryCountButton.js.map +1 -1
- package/dist/components/QuerySortSelector.js +5 -5
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js +21 -21
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js.map +1 -1
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.d.ts +20 -0
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.d.ts.map +1 -0
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.js +50 -0
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.js.map +1 -0
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.d.ts +5 -3
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.js +7 -3
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.js.map +1 -1
- package/dist/components/QueryWrapper/downloadListFiles.d.ts +25 -0
- package/dist/components/QueryWrapper/downloadListFiles.d.ts.map +1 -0
- package/dist/components/QueryWrapper/downloadListFiles.js +39 -0
- package/dist/components/QueryWrapper/downloadListFiles.js.map +1 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.d.ts +16 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.d.ts.map +1 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.js +50 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.js.map +1 -0
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.d.ts +4 -1
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.d.ts.map +1 -1
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js +15 -28
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js.map +1 -1
- package/dist/components/QueryWrapper/useOnQueryDataChange.d.ts.map +1 -1
- package/dist/components/QueryWrapper/useOnQueryDataChange.js +7 -6
- package/dist/components/QueryWrapper/useOnQueryDataChange.js.map +1 -1
- package/dist/components/QueryWrapperErrorBoundary.d.ts +3 -1
- package/dist/components/QueryWrapperErrorBoundary.d.ts.map +1 -1
- package/dist/components/QueryWrapperErrorBoundary.js +26 -21
- package/dist/components/QueryWrapperErrorBoundary.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js +7 -7
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +2 -2
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +34 -32
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperSynapsePlot.js +7 -7
- package/dist/components/QueryWrapperPlotNav/UseRowSet.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/UseRowSet.js +12 -12
- package/dist/components/QueryWrapperPlotNav/UseRowSet.js.map +1 -1
- package/dist/components/ReleaseCard/ReleaseCardLarge.js +5 -5
- package/dist/components/ReleaseCard/ReleaseCardLarge.js.map +1 -1
- package/dist/components/RowDataTable/CategorizedRowDataTable.css +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.d.ts +33 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.d.ts.map +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.js +64 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.js.map +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.module.js +8 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.module.js.map +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.module.scss +18 -0
- package/dist/components/RowDataTable/RowDataTable.d.ts +13 -0
- package/dist/components/RowDataTable/RowDataTable.d.ts.map +1 -1
- package/dist/components/RowDataTable/RowDataTable.js +25 -8
- package/dist/components/RowDataTable/RowDataTable.js.map +1 -1
- package/dist/components/RssFeedCards/RssFeedCards.js +1 -1
- package/dist/components/RssFeedCards/RssFeedCards.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.d.ts.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.js +2 -2
- package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/template/ObjectFieldTemplate.js +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/template/ObjectFieldTemplate.js.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +17 -9
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +39 -30
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
- package/dist/components/SetAccessRequirementCommonFields/SetAccessRequirementCommonFields.js +24 -24
- package/dist/components/SetAccessRequirementCommonFields/SetAccessRequirementCommonFields.js.map +1 -1
- package/dist/components/ShareThisPage/ShareThisPage.js +4 -4
- package/dist/components/ShareThisPage/ShareThisPage.js.map +1 -1
- package/dist/components/StandaloneQueryWrapper/StandaloneQueryWrapper.js +8 -8
- package/dist/components/SustainabilityScorecard/DialLayout.js +1 -1
- package/dist/components/SustainabilityScorecard/DialLayout.js.map +1 -1
- package/dist/components/SustainabilityScorecard/SustainabilityScorecard.js +1 -1
- package/dist/components/SustainabilityScorecard/SustainabilityScorecard.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChat.js +1 -1
- package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.js +2 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.js +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.js.map +1 -1
- package/dist/components/SynapseChat/components/ChatInputArea/ChatInputArea.js +1 -1
- package/dist/components/SynapseChat/components/ChatInputArea/ChatInputArea.js.map +1 -1
- package/dist/components/SynapseFooter/SynapseFooter.js +1 -1
- package/dist/components/SynapseFooter/SynapseFooter.js.map +1 -1
- package/dist/components/SynapseForm/NavButtons.js.map +1 -1
- package/dist/components/SynapseForm/StepsSideNav.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseFeaturedDatasetItem.js +1 -1
- package/dist/components/SynapseHomepageV2/SynapseFeaturedDatasetItem.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.d.ts.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js +2 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseInActionItem.js +4 -4
- package/dist/components/SynapseHomepageV2/SynapseInActionItem.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseTrendingProjectsItem.js +1 -1
- package/dist/components/SynapseHomepageV2/SynapseTrendingProjectsItem.js.map +1 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.d.ts.map +1 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js +4 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js.map +1 -1
- package/dist/components/SynapsePortalBanners/SynapsePortalBanners.js +1 -1
- package/dist/components/SynapsePortalBanners/SynapsePortalBanners.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/HighlightedTypography.js +1 -1
- package/dist/components/SynapseSearchPageResults/HighlightedTypography.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.d.ts.map +1 -1
- package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.js +3 -3
- package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchPageResults.js +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchPageResults.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.d.ts.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js +12 -9
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.d.ts.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js +38 -44
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionUI.js +4 -4
- package/dist/components/SynapseTable/SqlEditor.js +7 -7
- package/dist/components/SynapseTable/SynapseTable.js +8 -8
- package/dist/components/SynapseTable/SynapseTable.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.d.ts.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.js +73 -72
- package/dist/components/SynapseTable/SynapseTableRenderers.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTableUtils.js +1 -1
- package/dist/components/SynapseTable/SynapseTableUtils.js.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js +44 -45
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetEditorVersionCell.js +1 -1
- package/dist/components/SynapseTable/datasets/DatasetEditorVersionCell.js.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.d.ts.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js +6 -6
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js.map +1 -1
- package/dist/components/SynapseTable/export/ExportToAnalysisPlatformDialog.js +4 -4
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js +12 -12
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js.map +1 -1
- package/dist/components/SynapseTable/table-top/ColumnSelection.js +6 -6
- package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts +0 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts.map +1 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.js +64 -57
- package/dist/components/SynapseTable/table-top/DownloadOptions.js.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.d.ts.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.js +3 -3
- package/dist/components/SynapseTable/usePrefetchTableData.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js +2 -2
- package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js +1 -1
- package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorTestUtils.js +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorTestUtils.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.d.ts.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js +2 -2
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js +59 -59
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.d.ts.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.js +6 -4
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.js +1 -1
- package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.js.map +1 -1
- package/dist/components/TanStackTable/ColumnHeader.js +1 -1
- package/dist/components/TanStackTable/ColumnHeader.js.map +1 -1
- package/dist/components/TanStackTable/ColumnHeaderEnumFilter.js +1 -1
- package/dist/components/TanStackTable/ColumnHeaderEnumFilter.js.map +1 -1
- package/dist/components/TanStackTable/StyledTanStackTable.d.ts.map +1 -1
- package/dist/components/TanStackTable/StyledTanStackTable.js +1 -4
- package/dist/components/TanStackTable/StyledTanStackTable.js.map +1 -1
- package/dist/components/TeamSubjectsSelector/TeamBadgeOrError.js +1 -1
- package/dist/components/TeamSubjectsSelector/TeamBadgeOrError.js.map +1 -1
- package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.d.ts.map +1 -1
- package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.js +4 -3
- package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.js.map +1 -1
- package/dist/components/TermsAndConditions/TermsAndConditions.js.map +1 -1
- package/dist/components/TotalQueryResults.js +14 -14
- package/dist/components/Webhook/WebhookDashboard.d.ts.map +1 -1
- package/dist/components/Webhook/WebhookDashboard.js +3 -3
- package/dist/components/Webhook/WebhookDashboard.js.map +1 -1
- package/dist/components/dataaccess/AccessRequirementDashboard.js +4 -4
- package/dist/components/dataaccess/AccessRequirementDashboard.js.map +1 -1
- package/dist/components/dataaccess/AccessRequirementTable.js +1 -1
- package/dist/components/dataaccess/AccessRequirementTable.js.map +1 -1
- package/dist/components/dataaccess/EDucTemplateTable.d.ts.map +1 -1
- package/dist/components/dataaccess/EDucTemplateTable.js +13 -11
- package/dist/components/dataaccess/EDucTemplateTable.js.map +1 -1
- package/dist/components/dataaccess/FormTemplateTable.js +6 -6
- package/dist/components/dataaccess/FormTemplateTable.js.map +1 -1
- package/dist/components/dataaccess/ReviewerDashboard.js +17 -17
- package/dist/components/dataaccess/ReviewerDashboard.js.map +1 -1
- package/dist/components/dataaccess/SubmissionPage/SubmissionPage.js +4 -4
- package/dist/components/doi/CreateOrUpdateDoiModal.js +1 -1
- package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
- package/dist/components/download_list/DownloadConfirmationUtils.d.ts +5 -1
- package/dist/components/download_list/DownloadConfirmationUtils.d.ts.map +1 -1
- package/dist/components/download_list/DownloadConfirmationUtils.js +2 -2
- package/dist/components/download_list/DownloadConfirmationUtils.js.map +1 -1
- package/dist/components/download_list/DownloadDetails.d.ts.map +1 -1
- package/dist/components/download_list/DownloadDetails.js +12 -10
- package/dist/components/download_list/DownloadDetails.js.map +1 -1
- package/dist/components/entity/metadata/AnnotationsTable.js +1 -1
- package/dist/components/entity/metadata/AnnotationsTable.js.map +1 -1
- package/dist/components/entity/page/CreatedByModifiedBy.js +1 -1
- package/dist/components/entity/page/CreatedByModifiedBy.js.map +1 -1
- package/dist/components/entity/page/action_menu/EntityActionMenu.d.ts.map +1 -1
- package/dist/components/entity/page/action_menu/EntityActionMenu.js.map +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js.map +1 -1
- package/dist/components/error/ErrorBanner.d.ts.map +1 -1
- package/dist/components/error/ErrorBanner.js +49 -46
- package/dist/components/error/ErrorBanner.js.map +1 -1
- package/dist/components/error/ErrorChip.d.ts.map +1 -1
- package/dist/components/error/ErrorChip.js +2 -1
- package/dist/components/error/ErrorChip.js.map +1 -1
- package/dist/components/file/upload/MultiFileUploadProgress.js +5 -5
- package/dist/components/row_renderers/Dataset.d.ts.map +1 -1
- package/dist/components/row_renderers/Dataset.js +6 -6
- package/dist/components/row_renderers/Dataset.js.map +1 -1
- package/dist/components/row_renderers/Funder.js +1 -1
- package/dist/components/row_renderers/Funder.js.map +1 -1
- package/dist/components/table/CsvPreview/CreateTableFromCsvDialog.js +14 -14
- package/dist/components/table/CsvPreview/CsvPreviewWithOptions.js +4 -4
- package/dist/components/table/CsvPreview/CsvPreviewWithOptions.js.map +1 -1
- package/dist/components/widgets/ElementWithTooltip.d.ts +6 -1
- package/dist/components/widgets/ElementWithTooltip.d.ts.map +1 -1
- package/dist/components/widgets/ElementWithTooltip.js +22 -14
- package/dist/components/widgets/ElementWithTooltip.js.map +1 -1
- package/dist/components/widgets/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/dist/components/widgets/RangeSlider/RangeSlider.js +1 -1
- package/dist/components/widgets/RangeSlider/RangeSlider.js.map +1 -1
- package/dist/components/widgets/SynapseImage.js +1 -1
- package/dist/components/widgets/SynapseImage.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts +16 -5
- package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.js +115 -102
- package/dist/components/widgets/facet-nav/FacetNavPanel.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendList.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendList.js +4 -2
- package/dist/components/widgets/facet-nav/FacetPlotLegendList.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendTable.js +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendTable.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.d.ts +2 -0
- package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.js.map +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.d.ts +7 -0
- package/dist/components/widgets/facet-nav/PlotsContainer.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.js +47 -45
- package/dist/components/widgets/facet-nav/PlotsContainer.js.map +1 -1
- package/dist/components/widgets/facet-nav/SelectionCriteriaPills.js +4 -4
- package/dist/components/widgets/facet-nav/useFacetPlots.d.ts +3 -2
- package/dist/components/widgets/facet-nav/useFacetPlots.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/useFacetPlots.js +16 -15
- package/dist/components/widgets/facet-nav/useFacetPlots.js.map +1 -1
- package/dist/components/widgets/query-filter/CombinedRangeFacetFilter.js +4 -4
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts +2 -2
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js +62 -60
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.d.ts +2 -0
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.js +10 -10
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.d.ts +1 -0
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.js +2 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.d.ts +3 -2
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.js.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.d.ts +3 -2
- package/dist/components/widgets/query-filter/FacetFilterControls.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.js +63 -62
- package/dist/components/widgets/query-filter/FacetFilterControls.js.map +1 -1
- package/dist/components/widgets/query-filter/JsonColumnFacetFilters.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/JsonColumnFacetFilters.js +30 -29
- package/dist/components/widgets/query-filter/JsonColumnFacetFilters.js.map +1 -1
- package/dist/components/widgets/query-filter/RangeFacetFilter.js +5 -5
- package/dist/features/curator/dashboard/components/NextStepButton.d.ts.map +1 -1
- package/dist/features/curator/dashboard/components/NextStepButton.js +7 -6
- package/dist/features/curator/dashboard/components/NextStepButton.js.map +1 -1
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +8 -8
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js +4 -4
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js +4 -4
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js +4 -4
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/curationTaskFlowRoutes.js +10 -10
- package/dist/features/entity/metadata-task/create-task/curationTaskFlowRoutes.js.map +1 -1
- package/dist/features/team/invitation/components/OpenInvitationsToUserCard.js +1 -1
- package/dist/features/team/invitation/components/OpenInvitationsToUserCard.js.map +1 -1
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.d.ts +53 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.d.ts.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.js +391 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.js.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.d.ts +41 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.d.ts.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.js +379 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.js.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.d.ts +26 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.d.ts.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.js +112 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.js.map +1 -0
- package/dist/mocks/mockAnnotationColumns.d.ts.map +1 -1
- package/dist/mocks/mockAnnotationColumns.js +1 -1
- package/dist/mocks/mockAnnotationColumns.js.map +1 -1
- package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts +17 -0
- package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/aridhiaHandlers.js +62 -42
- package/dist/mocks/msw/handlers/aridhiaHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/asyncJobHandlers.d.ts +21 -2
- package/dist/mocks/msw/handlers/asyncJobHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/asyncJobHandlers.js +30 -22
- package/dist/mocks/msw/handlers/asyncJobHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.d.ts +27 -0
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.d.ts.map +1 -0
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.js +158 -0
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.js.map +1 -0
- package/dist/mocks/msw/handlers/entityHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/entityHandlers.js +70 -67
- package/dist/mocks/msw/handlers/entityHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/gridHandlers.js +2 -2
- package/dist/mocks/msw/handlers/gridHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/subscriptionHandlers.js +1 -1
- package/dist/mocks/msw/handlers/subscriptionHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/userProfileHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/userProfileHandlers.js +2 -2
- package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
- package/dist/mocks/msw/server.d.ts.map +1 -1
- package/dist/mocks/msw/server.js +4 -2
- package/dist/mocks/msw/server.js.map +1 -1
- package/dist/mocks/query/mockColumnCategoryTable.d.ts +19 -0
- package/dist/mocks/query/mockColumnCategoryTable.d.ts.map +1 -0
- package/dist/mocks/query/mockColumnCategoryTable.js +188 -0
- package/dist/mocks/query/mockColumnCategoryTable.js.map +1 -0
- package/dist/stories/ColorPaletteInspector.d.ts.map +1 -1
- package/dist/stories/ColorPaletteInspector.js +2 -2
- package/dist/stories/ColorPaletteInspector.js.map +1 -1
- package/dist/style/components/facet_nav/_facet-nav-panel.scss +8 -0
- package/dist/style/main.css +1 -1
- package/dist/synapse-queries/auth/useOIDC.js +2 -2
- package/dist/synapse-queries/auth/useOIDC.js.map +1 -1
- package/dist/synapse-queries/auth/useUnbindOAuthProviderIdentity.js +2 -2
- package/dist/synapse-queries/auth/useUnbindOAuthProviderIdentity.js.map +1 -1
- package/dist/synapse-queries/challenge/useChallenge.js +2 -2
- package/dist/synapse-queries/challenge/useChallenge.js.map +1 -1
- package/dist/synapse-queries/chat/useChat.js +8 -8
- package/dist/synapse-queries/chat/useChat.js.map +1 -1
- package/dist/synapse-queries/curation/task/useCurationTask.js +10 -10
- package/dist/synapse-queries/curation/task/useCurationTask.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useAccessRequirements.js +24 -24
- package/dist/synapse-queries/dataaccess/useAccessRequirements.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useDataAccessSubmission.js +4 -4
- package/dist/synapse-queries/dataaccess/useDataAccessSubmission.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useEDuc.js +6 -6
- package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useFormTemplate.js +4 -4
- package/dist/synapse-queries/dataaccess/useFormTemplate.js.map +1 -1
- package/dist/synapse-queries/download/index.js +2 -2
- package/dist/synapse-queries/download/useDownloadList.d.ts +5 -0
- package/dist/synapse-queries/download/useDownloadList.d.ts.map +1 -1
- package/dist/synapse-queries/download/useDownloadList.js +14 -13
- package/dist/synapse-queries/download/useDownloadList.js.map +1 -1
- package/dist/synapse-queries/entity/useEntity.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useEntity.js +20 -20
- package/dist/synapse-queries/entity/useEntity.js.map +1 -1
- package/dist/synapse-queries/entity/useExportToADWorkbench.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useExportToADWorkbench.js +2 -1
- package/dist/synapse-queries/entity/useExportToADWorkbench.js.map +1 -1
- package/dist/synapse-queries/entity/useExportToCavatica.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useExportToCavatica.js +3 -2
- package/dist/synapse-queries/entity/useExportToCavatica.js.map +1 -1
- package/dist/synapse-queries/entity/useExportToPluto.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useExportToPluto.js +2 -1
- package/dist/synapse-queries/entity/useExportToPluto.js.map +1 -1
- package/dist/synapse-queries/entity/useGetQueryResultBundle.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useGetQueryResultBundle.js +4 -7
- package/dist/synapse-queries/entity/useGetQueryResultBundle.js.map +1 -1
- package/dist/synapse-queries/forum/useReply.js +6 -6
- package/dist/synapse-queries/forum/useReply.js.map +1 -1
- package/dist/synapse-queries/forum/useThread.js +14 -14
- package/dist/synapse-queries/forum/useThread.js.map +1 -1
- package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js +1 -1
- package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js.map +1 -1
- package/dist/synapse-queries/grid/useGridSession.js +4 -4
- package/dist/synapse-queries/grid/useGridSession.js.map +1 -1
- package/dist/synapse-queries/index.js +177 -176
- package/dist/synapse-queries/oauth/useOAuthClient.js +9 -9
- package/dist/synapse-queries/oauth/useOAuthClient.js.map +1 -1
- package/dist/synapse-queries/portal/usePortal.js +7 -7
- package/dist/synapse-queries/portal/usePortal.js.map +1 -1
- package/dist/synapse-queries/subscription/useSubscription.js +4 -4
- package/dist/synapse-queries/subscription/useSubscription.js.map +1 -1
- package/dist/synapse-queries/table/useTableUpdateTransaction.js +2 -2
- package/dist/synapse-queries/table/useTableUpdateTransaction.js.map +1 -1
- package/dist/synapse-queries/team/useTeam.js +2 -2
- package/dist/synapse-queries/team/useTeam.js.map +1 -1
- package/dist/synapse-queries/team/useTeamList.d.ts.map +1 -1
- package/dist/synapse-queries/team/useTeamList.js +3 -3
- package/dist/synapse-queries/team/useTeamList.js.map +1 -1
- package/dist/synapse-queries/team/useTeamMembers.js +8 -8
- package/dist/synapse-queries/team/useTeamMembers.js.map +1 -1
- package/dist/synapse-queries/termsOfService/useTermsOfService.js +2 -2
- package/dist/synapse-queries/termsOfService/useTermsOfService.js.map +1 -1
- package/dist/synapse-queries/trash/useTrashCan.js +4 -4
- package/dist/synapse-queries/trash/useTrashCan.js.map +1 -1
- package/dist/synapse-queries/user/useCertificationQuiz.js +2 -2
- package/dist/synapse-queries/user/useCertificationQuiz.js.map +1 -1
- package/dist/synapse-queries/user/useFavorites.js +4 -4
- package/dist/synapse-queries/user/useFavorites.js.map +1 -1
- package/dist/synapse-queries/user/useGetUserChallenges.d.ts.map +1 -1
- package/dist/synapse-queries/user/useGetUserChallenges.js.map +1 -1
- package/dist/synapse-queries/user/useRevokeCertification.js +2 -2
- package/dist/synapse-queries/user/useRevokeCertification.js.map +1 -1
- package/dist/synapse-queries/wiki/useWiki.js +10 -10
- package/dist/synapse-queries/wiki/useWiki.js.map +1 -1
- package/dist/theme/DefaultTheme.d.ts.map +1 -1
- package/dist/theme/DefaultTheme.js +4 -1
- package/dist/theme/DefaultTheme.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/APIConstants.d.ts.map +1 -1
- package/dist/utils/APIConstants.js.map +1 -1
- package/dist/utils/AppUtils/AppUtils.js +1 -1
- package/dist/utils/AppUtils/AppUtils.js.map +1 -1
- package/dist/utils/ContentTypeUtils.js +4 -4
- package/dist/utils/ContentTypeUtils.js.map +1 -1
- package/dist/utils/PermissionLevelToAccessType.js +1 -1
- package/dist/utils/PermissionLevelToAccessType.js.map +1 -1
- package/dist/utils/analytics/useGoogleAnalytics.js +1 -1
- package/dist/utils/analytics/useGoogleAnalytics.js.map +1 -1
- package/dist/utils/context/DocumentMetadataContext.js +1 -1
- package/dist/utils/context/DocumentMetadataContext.js.map +1 -1
- package/dist/utils/functions/AccessControlListUtils.d.ts.map +1 -1
- package/dist/utils/functions/AccessControlListUtils.js +3 -3
- package/dist/utils/functions/AccessControlListUtils.js.map +1 -1
- package/dist/utils/functions/ArrayUtils.js +2 -2
- package/dist/utils/functions/ArrayUtils.js.map +1 -1
- package/dist/utils/functions/EntityTypeUtils.d.ts.map +1 -1
- package/dist/utils/functions/EntityTypeUtils.js.map +1 -1
- package/dist/utils/functions/FileHandleUtils.js +1 -1
- package/dist/utils/functions/FileHandleUtils.js.map +1 -1
- package/dist/utils/functions/RegularExpressions.js +1 -1
- package/dist/utils/functions/RegularExpressions.js.map +1 -1
- package/dist/utils/functions/StringUtils.d.ts.map +1 -1
- package/dist/utils/functions/StringUtils.js +1 -2
- package/dist/utils/functions/StringUtils.js.map +1 -1
- package/dist/utils/functions/deepLinkingUtils.js +2 -2
- package/dist/utils/functions/deepLinkingUtils.js.map +1 -1
- package/dist/utils/functions/enumerationFacet.d.ts +26 -0
- package/dist/utils/functions/enumerationFacet.d.ts.map +1 -0
- package/dist/utils/functions/enumerationFacet.js +27 -0
- package/dist/utils/functions/enumerationFacet.js.map +1 -0
- package/dist/utils/functions/facetCountUtils.d.ts +12 -0
- package/dist/utils/functions/facetCountUtils.d.ts.map +1 -0
- package/dist/utils/functions/facetCountUtils.js +9 -0
- package/dist/utils/functions/facetCountUtils.js.map +1 -0
- package/dist/utils/functions/getEndpoint.js.map +1 -1
- package/dist/utils/functions/getUserData.js +1 -1
- package/dist/utils/functions/getUserData.js.map +1 -1
- package/dist/utils/functions/queryUtils.d.ts +1 -1
- package/dist/utils/functions/queryUtils.d.ts.map +1 -1
- package/dist/utils/functions/queryUtils.js +26 -22
- package/dist/utils/functions/queryUtils.js.map +1 -1
- package/dist/utils/functions/testDownloadSpeed.d.ts.map +1 -1
- package/dist/utils/functions/testDownloadSpeed.js +17 -26
- package/dist/utils/functions/testDownloadSpeed.js.map +1 -1
- package/dist/utils/functions/unCamelCase.js +1 -1
- package/dist/utils/functions/unCamelCase.js.map +1 -1
- package/dist/utils/hooks/useGetInfoFromIds.js +5 -5
- package/dist/utils/hooks/useGetInfoFromIds.js.map +1 -1
- package/dist/utils/hooks/useImmutableTableQuery/TableQueryReducerActions.js +1 -1
- package/dist/utils/hooks/useImmutableTableQuery/TableQueryReducerActions.js.map +1 -1
- package/dist/utils/hooks/useLogin.d.ts.map +1 -1
- package/dist/utils/hooks/useLogin.js +5 -5
- package/dist/utils/hooks/useLogin.js.map +1 -1
- package/dist/utils/hooks/useUploadFileEntity/useCreateFolderPath.js.map +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.d.ts +6 -0
- package/dist/utils/jsonschema/collectTopLevelProperties.d.ts.map +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.js +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.js.map +1 -1
- package/dist/utils/jsonschema/getNumberOrEnumInfo.d.ts +22 -0
- package/dist/utils/jsonschema/getNumberOrEnumInfo.d.ts.map +1 -0
- package/dist/utils/jsonschema/getNumberOrEnumInfo.js +39 -0
- package/dist/utils/jsonschema/getNumberOrEnumInfo.js.map +1 -0
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.d.ts +1 -0
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.d.ts.map +1 -1
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.js +1 -1
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.js.map +1 -1
- package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts +5 -0
- package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts.map +1 -1
- package/dist/utils/jsonschema/getSchemaPropertyInfo.js +30 -15
- package/dist/utils/jsonschema/getSchemaPropertyInfo.js.map +1 -1
- package/dist/utils/jsonschema/submissionContext.js +2 -2
- package/dist/utils/jsonschema/submissionContext.js.map +1 -1
- package/package.json +7 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submissionContext.js","names":[],"sources":["../../../src/utils/jsonschema/submissionContext.ts"],"sourcesContent":["/**\n * Convention for gating a JSON Schema property to a data access REQUEST or RENEWAL submission.\n *\n * To gate a property to a specific submission context, a client can use conditional logic in\n * the JSON Schema against the 'x-synapse-submissionContext' property.\n *\n * A property that should only appear for a RENEWAL (or only for a REQUEST) is declared inside\n * an `allOf` entry keyed on the reserved `x-synapse-submissionContext` property, e.g.:\n *\n * ```json\n * {\n * \"allOf\": [{\n * \"if\": { \"properties\": { \"x-synapse-submissionContext\": { \"const\": \"RENEWAL\" } } },\n * \"then\": {\n * \"properties\": { \"summaryOfUse\": { \"type\": \"string\" } },\n * \"required\": [\"summaryOfUse\"]\n * }\n * }]\n * }\n * ```\n *\n * The submitted `schemaData` MUST include `x-synapse-submissionContext`; the server validates\n * that it matches the actual submission context. This module resolves the convention client-side\n * so the FormTemplateEditor's field library, step slots, and preview can discover and render such\n * properties, and provides a guided authoring API (`setSchemaProperty`,\n * `setSchemaPropertyContext`, `setSchemaPropertyRequired`, `removeSchemaProperty`,\n * `renameSchemaProperty`) so ACT can author a Request/Renewal-only field from a \"Submission\n * context\" select box, without hand-editing a JSON Schema.\n */\nimport { RJSFSchema } from '@rjsf/utils'\nimport { DataAccessRequestType } from '@sage-bionetworks/synapse-client'\n\nexport const SUBMISSION_CONTEXT_PROPERTY = 'x-synapse-submissionContext'\n\nexport type SchemaPropertyContext = 'ALWAYS' | 'REQUEST_ONLY' | 'RENEWAL_ONLY'\n\nexport type ResolvedSchemaProperty = {\n propertyKey: string\n subSchema: RJSFSchema\n isRequired: boolean\n context: SchemaPropertyContext\n}\n\ntype ConditionalBranch = {\n requestType: DataAccessRequestType\n properties: Record<string, RJSFSchema>\n required: Set<string>\n}\n\nfunction contextForRequestType(\n requestType: DataAccessRequestType,\n): SchemaPropertyContext {\n return requestType === DataAccessRequestType.REQUEST\n ? 'REQUEST_ONLY'\n : 'RENEWAL_ONLY'\n}\n\n/**\n * Parse `schema.allOf` for entries following the `x-synapse-submissionContext` `if`/`then`\n * convention above. Entries that don't match it (an unrelated `if` key, or a missing\n * `then.properties`) are left alone.\n */\nfunction readConditionalBranches(schema: RJSFSchema): ConditionalBranch[] {\n const branches: ConditionalBranch[] = []\n for (const entry of schema.allOf ?? []) {\n if (typeof entry === 'boolean') continue\n const ifClause = (entry as RJSFSchema).if\n const thenClause = (entry as RJSFSchema).then\n if (\n !ifClause ||\n typeof ifClause === 'boolean' ||\n !thenClause ||\n typeof thenClause === 'boolean'\n ) {\n continue\n }\n const contextConst = (\n ifClause.properties?.[SUBMISSION_CONTEXT_PROPERTY] as\n | RJSFSchema\n | undefined\n )?.const as DataAccessRequestType | undefined\n if (\n contextConst !== DataAccessRequestType.REQUEST &&\n contextConst !== DataAccessRequestType.RENEWAL\n ) {\n continue\n }\n branches.push({\n requestType: contextConst,\n properties: (thenClause.properties ?? {}) as Record<string, RJSFSchema>,\n required: new Set(thenClause.required ?? []),\n })\n }\n return branches\n}\n\n/**\n * Enumerate every leaf property the schema declares along with which submission\n * context applies to each. The reserved `x-synapse-submissionContext`\n * property itself is never included; it isn't a bindable field.\n */\nexport function listResolvedSchemaProperties(\n schema: RJSFSchema,\n): ResolvedSchemaProperty[] {\n const required = new Set(schema.required ?? [])\n const result: ResolvedSchemaProperty[] = []\n const seen = new Set<string>([SUBMISSION_CONTEXT_PROPERTY])\n\n for (const [propertyKey, subSchema] of Object.entries(\n (schema.properties ?? {}) as Record<string, RJSFSchema>,\n )) {\n if (seen.has(propertyKey)) continue\n seen.add(propertyKey)\n result.push({\n propertyKey,\n subSchema,\n isRequired: required.has(propertyKey),\n context: 'ALWAYS',\n })\n }\n\n for (const branch of readConditionalBranches(schema)) {\n for (const [propertyKey, subSchema] of Object.entries(branch.properties)) {\n // An unconditional definition of the same key wins; conditional branches only add\n // properties that aren't already declared at the top level.\n if (seen.has(propertyKey)) continue\n seen.add(propertyKey)\n result.push({\n propertyKey,\n subSchema,\n isRequired: branch.required.has(propertyKey),\n context: contextForRequestType(branch.requestType),\n })\n }\n }\n\n return result\n}\n\n/** The property key addressed by a single-segment JSON Pointer (e.g. `/institution` -> `institution`). */\nexport function pointerToPropertyKey(pointer: string): string | null {\n if (!pointer.startsWith('/')) return null\n const segment = pointer.slice(1)\n if (!segment || segment.includes('/')) return null\n return segment.replace(/~1/g, '/').replace(/~0/g, '~')\n}\n\n/** The single-segment JSON Pointer addressing a property key (e.g. `institution` -> `/institution`),\n * the inverse of `pointerToPropertyKey`. */\nexport function propertyKeyToPointer(propertyKey: string): string {\n return `/${propertyKey.replace(/~/g, '~0').replace(/\\//g, '~1')}`\n}\n\n/** Resolve a `FormTemplateField.schemaPath`-style JSON Pointer, applying the same rules as\n * `listResolvedSchemaProperties`. */\nexport function resolveSchemaPropertyAtPointer(\n schema: RJSFSchema,\n pointer: string,\n): ResolvedSchemaProperty | undefined {\n const propertyKey = pointerToPropertyKey(pointer)\n if (!propertyKey) return undefined\n return listResolvedSchemaProperties(schema).find(\n p => p.propertyKey === propertyKey,\n )\n}\n\n/** Whether a property's context applies for the given requestType (`ALWAYS` always applies). */\nexport function contextAppliesForRequestType(\n context: SchemaPropertyContext,\n requestType: DataAccessRequestType,\n): boolean {\n if (context === 'ALWAYS') return true\n return context === contextForRequestType(requestType)\n}\n\n/** Human label for display, e.g. a field library row or step slot badge. */\nexport function submissionContextLabel(context: SchemaPropertyContext): string {\n switch (context) {\n case 'ALWAYS':\n return 'Always'\n case 'REQUEST_ONLY':\n return 'Request only'\n case 'RENEWAL_ONLY':\n return 'Renewal only'\n }\n}\n\nfunction requestTypeForContext(\n context: SchemaPropertyContext,\n): DataAccessRequestType | undefined {\n if (context === 'REQUEST_ONLY') return DataAccessRequestType.REQUEST\n if (context === 'RENEWAL_ONLY') return DataAccessRequestType.RENEWAL\n return undefined\n}\n\n/** Index of the `allOf` entry gating on `requestType` per the convention above, or -1. */\nfunction findBranchIndex(\n allOf: (RJSFSchema | boolean)[],\n requestType: DataAccessRequestType,\n): number {\n return allOf.findIndex(entry => {\n if (typeof entry === 'boolean') return false\n const ifClause = entry.if\n if (!ifClause || typeof ifClause === 'boolean') return false\n const contextConst = (\n ifClause.properties?.[SUBMISSION_CONTEXT_PROPERTY] as\n | RJSFSchema\n | undefined\n )?.const\n return contextConst === requestType\n })\n}\n\n/**\n * Remove `propertyKey` from wherever it's currently defined. Drops now-empty\n * `then.properties`/branches/the `allOf` array itself so relocating or deleting\n * a property never leaves extra schema components behind.\n */\nexport function removeSchemaProperty(\n schema: RJSFSchema,\n propertyKey: string,\n): RJSFSchema {\n const properties = {\n ...((schema.properties ?? {}) as Record<string, RJSFSchema>),\n }\n let changed = propertyKey in properties\n delete properties[propertyKey]\n const required = (schema.required ?? []).filter(k => k !== propertyKey)\n\n const allOf = (schema.allOf ?? [])\n .map(entry => {\n if (typeof entry === 'boolean') return entry\n const thenClause = entry.then\n if (!thenClause || typeof thenClause === 'boolean') return entry\n const thenProps = {\n ...((thenClause.properties ?? {}) as Record<string, RJSFSchema>),\n }\n if (!(propertyKey in thenProps)) return entry\n changed = true\n delete thenProps[propertyKey]\n if (Object.keys(thenProps).length === 0) return null\n return {\n ...entry,\n then: {\n ...thenClause,\n properties: thenProps,\n required: (thenClause.required ?? []).filter(k => k !== propertyKey),\n },\n }\n })\n .filter((entry): entry is RJSFSchema | boolean => entry !== null)\n\n if (!changed) return schema\n\n const next: RJSFSchema = { ...schema, properties, required }\n if (allOf.length > 0) {\n next.allOf = allOf\n } else {\n delete next.allOf\n }\n return next\n}\n\n/**\n * Insert or replace a property's definition at the given submission context, relocating it there\n * from wherever it previously lived.\n *\n * Does not modify the property's requiredness behind at its old location. Callers that need to\n * preserve it (e.g. changing a property's context) should follow up with `setSchemaPropertyRequired`.\n */\nexport function setSchemaProperty(\n schema: RJSFSchema,\n propertyKey: string,\n subSchema: RJSFSchema,\n context: SchemaPropertyContext,\n): RJSFSchema {\n const withoutProperty = removeSchemaProperty(schema, propertyKey)\n const requestType = requestTypeForContext(context)\n\n if (!requestType) {\n return {\n ...withoutProperty,\n properties: {\n ...((withoutProperty.properties ?? {}) as Record<string, RJSFSchema>),\n [propertyKey]: subSchema,\n },\n }\n }\n\n const allOf = [...(withoutProperty.allOf ?? [])]\n const branchIndex = findBranchIndex(allOf, requestType)\n if (branchIndex === -1) {\n allOf.push({\n if: {\n properties: { [SUBMISSION_CONTEXT_PROPERTY]: { const: requestType } },\n },\n then: { properties: { [propertyKey]: subSchema }, required: [] },\n })\n } else {\n const entry = allOf[branchIndex] as RJSFSchema\n const thenClause = entry.then as RJSFSchema\n allOf[branchIndex] = {\n ...entry,\n then: {\n ...thenClause,\n properties: {\n ...((thenClause.properties ?? {}) as Record<string, RJSFSchema>),\n [propertyKey]: subSchema,\n },\n },\n }\n }\n return { ...withoutProperty, allOf }\n}\n\n/** Set whether a property is required within its current context's branch (top-level `required`\n * for `ALWAYS`, or the matching `allOf` branch's `then.required` otherwise). A no-op if the\n * property isn't actually defined at that context. */\nexport function setSchemaPropertyRequired(\n schema: RJSFSchema,\n propertyKey: string,\n context: SchemaPropertyContext,\n isRequired: boolean,\n): RJSFSchema {\n const requestType = requestTypeForContext(context)\n if (!requestType) {\n const properties = (schema.properties ?? {}) as Record<string, RJSFSchema>\n if (!(propertyKey in properties)) return schema\n const required = (schema.required ?? []).filter(k => k !== propertyKey)\n if (isRequired) required.push(propertyKey)\n return { ...schema, required }\n }\n const allOf = [...(schema.allOf ?? [])]\n const branchIndex = findBranchIndex(allOf, requestType)\n if (branchIndex === -1) return schema\n const entry = allOf[branchIndex] as RJSFSchema\n const thenClause = entry.then as RJSFSchema\n const thenProperties = (thenClause.properties ?? {}) as Record<\n string,\n RJSFSchema\n >\n if (!(propertyKey in thenProperties)) return schema\n const required = (thenClause.required ?? []).filter(k => k !== propertyKey)\n if (isRequired) required.push(propertyKey)\n allOf[branchIndex] = { ...entry, then: { ...thenClause, required } }\n return { ...schema, allOf }\n}\n\n/**\n * Move a property to a different submission context, preserving its definition and\n * requiredness. A no-op if the property doesn't resolve, or is already at that context.\n */\nexport function setSchemaPropertyContext(\n schema: RJSFSchema,\n propertyKey: string,\n context: SchemaPropertyContext,\n): RJSFSchema {\n const resolved = resolveSchemaPropertyAtPointer(schema, `/${propertyKey}`)\n if (!resolved || resolved.context === context) return schema\n const next = setSchemaProperty(\n schema,\n propertyKey,\n resolved.subSchema,\n context,\n )\n return resolved.isRequired\n ? setSchemaPropertyRequired(next, propertyKey, context, true)\n : next\n}\n\n/**\n * Replace a property's definition wherever it's defined (top-level or an `allOf` branch),\n * preserving its context and required-ness. A no-op if the property doesn't resolve.\n */\nexport function replaceSchemaPropertyDefinition(\n schema: RJSFSchema,\n propertyKey: string,\n subSchema: RJSFSchema,\n): RJSFSchema {\n const resolved = resolveSchemaPropertyAtPointer(\n schema,\n propertyKeyToPointer(propertyKey),\n )\n if (!resolved) return schema\n const next = setSchemaProperty(\n schema,\n propertyKey,\n subSchema,\n resolved.context,\n )\n return resolved.isRequired\n ? setSchemaPropertyRequired(next, propertyKey, resolved.context, true)\n : next\n}\n\n/**\n * Rename a property's key wherever it's defined (top-level or an `allOf` branch), preserving its\n * definition, context, and required-ness. A no-op if `oldKey` doesn't resolve.\n */\nexport function renameSchemaProperty(\n schema: RJSFSchema,\n oldKey: string,\n newKey: string,\n): RJSFSchema {\n const resolved = resolveSchemaPropertyAtPointer(schema, `/${oldKey}`)\n if (!resolved) return schema\n const withoutOld = removeSchemaProperty(schema, oldKey)\n const withNew = setSchemaProperty(\n withoutOld,\n newKey,\n resolved.subSchema,\n resolved.context,\n )\n return resolved.isRequired\n ? setSchemaPropertyRequired(withNew, newKey, resolved.context, true)\n : withNew\n}\n"],"mappings":";;AAgCA,IAAa,IAA8B;AAiB3C,SAAS,EACP,GACuB;CACvB,OAAO,MAAgB,EAAsB,UACzC,iBACA;AACN;AAOA,SAAS,EAAwB,GAAyC;CACxE,IAAM,IAAgC,CAAC;CACvC,KAAK,IAAM,KAAS,EAAO,SAAS,CAAC,GAAG;EACtC,IAAI,OAAO,KAAU,WAAW;EAChC,IAAM,IAAY,EAAqB,IACjC,IAAc,EAAqB;EACzC,IACE,CAAC,KACD,OAAO,KAAa,aACpB,CAAC,KACD,OAAO,KAAe,WAEtB;EAEF,IAAM,IACJ,EAAS,aAAa,IAGrB;EAED,MAAiB,EAAsB,WACvC,MAAiB,EAAsB,WAIzC,EAAS,KAAK;GACZ,aAAa;GACb,YAAa,EAAW,cAAc,CAAC;GACvC,UAAU,IAAI,IAAI,EAAW,YAAY,CAAC,CAAC;EAC7C,CAAC;CACH;CACA,OAAO;AACT;AAOA,SAAgB,EACd,GAC0B;CAC1B,IAAM,IAAW,IAAI,IAAI,EAAO,YAAY,CAAC,CAAC,GACxC,IAAmC,CAAC,GACpC,IAAO,IAAI,IAAY,CAAC,CAA2B,CAAC;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SAAgB,EACd,GACA,GACA,GACY;CACZ,IAAM,IAAW,EAA+B,GAAQ,IAAI,GAAa;CACzE,IAAI,CAAC,KAAY,EAAS,YAAY,GAAS,OAAO;CACtD,IAAM,IAAO,EACX,GACA,GACA,EAAS,WACT,CACF;CACA,OAAO,EAAS,aACZ,EAA0B,GAAM,GAAa,GAAS,EAAI,IAC1D;AACN;AAMA,SAAgB,EACd,GACA,GACA,GACY;CACZ,IAAM,IAAW,EACf,GACA,EAAqB,CAAW,CAClC;CACA,IAAI,CAAC,GAAU,OAAO;CACtB,IAAM,IAAO,EACX,GACA,GACA,GACA,EAAS,OACX;CACA,OAAO,EAAS,aACZ,EAA0B,GAAM,GAAa,EAAS,SAAS,EAAI,IACnE;AACN;AAMA,SAAgB,EACd,GACA,GACA,GACY;CACZ,IAAM,IAAW,EAA+B,GAAQ,IAAI,GAAQ;CACpE,IAAI,CAAC,GAAU,OAAO;CAEtB,IAAM,IAAU,EADG,EAAqB,GAAQ,CAE9C,GACA,GACA,EAAS,WACT,EAAS,OACX;CACA,OAAO,EAAS,aACZ,EAA0B,GAAS,GAAQ,EAAS,SAAS,EAAI,IACjE;AACN"}
|
|
1
|
+
{"version":3,"file":"submissionContext.js","names":[],"sources":["../../../src/utils/jsonschema/submissionContext.ts"],"sourcesContent":["/**\n * Convention for gating a JSON Schema property to a data access REQUEST or RENEWAL submission.\n *\n * To gate a property to a specific submission context, a client can use conditional logic in\n * the JSON Schema against the 'x-synapse-submissionContext' property.\n *\n * A property that should only appear for a RENEWAL (or only for a REQUEST) is declared inside\n * an `allOf` entry keyed on the reserved `x-synapse-submissionContext` property, e.g.:\n *\n * ```json\n * {\n * \"allOf\": [{\n * \"if\": { \"properties\": { \"x-synapse-submissionContext\": { \"const\": \"RENEWAL\" } } },\n * \"then\": {\n * \"properties\": { \"summaryOfUse\": { \"type\": \"string\" } },\n * \"required\": [\"summaryOfUse\"]\n * }\n * }]\n * }\n * ```\n *\n * The submitted `schemaData` MUST include `x-synapse-submissionContext`; the server validates\n * that it matches the actual submission context. This module resolves the convention client-side\n * so the FormTemplateEditor's field library, step slots, and preview can discover and render such\n * properties, and provides a guided authoring API (`setSchemaProperty`,\n * `setSchemaPropertyContext`, `setSchemaPropertyRequired`, `removeSchemaProperty`,\n * `renameSchemaProperty`) so ACT can author a Request/Renewal-only field from a \"Submission\n * context\" select box, without hand-editing a JSON Schema.\n */\nimport { RJSFSchema } from '@rjsf/utils'\nimport { DataAccessRequestType } from '@sage-bionetworks/synapse-client'\n\nexport const SUBMISSION_CONTEXT_PROPERTY = 'x-synapse-submissionContext'\n\nexport type SchemaPropertyContext = 'ALWAYS' | 'REQUEST_ONLY' | 'RENEWAL_ONLY'\n\nexport type ResolvedSchemaProperty = {\n propertyKey: string\n subSchema: RJSFSchema\n isRequired: boolean\n context: SchemaPropertyContext\n}\n\ntype ConditionalBranch = {\n requestType: DataAccessRequestType\n properties: Record<string, RJSFSchema>\n required: Set<string>\n}\n\nfunction contextForRequestType(\n requestType: DataAccessRequestType,\n): SchemaPropertyContext {\n return requestType === DataAccessRequestType.REQUEST\n ? 'REQUEST_ONLY'\n : 'RENEWAL_ONLY'\n}\n\n/**\n * Parse `schema.allOf` for entries following the `x-synapse-submissionContext` `if`/`then`\n * convention above. Entries that don't match it (an unrelated `if` key, or a missing\n * `then.properties`) are left alone.\n */\nfunction readConditionalBranches(schema: RJSFSchema): ConditionalBranch[] {\n const branches: ConditionalBranch[] = []\n for (const entry of schema.allOf ?? []) {\n if (typeof entry === 'boolean') continue\n const ifClause = (entry as RJSFSchema).if\n const thenClause = (entry as RJSFSchema).then\n if (\n !ifClause ||\n typeof ifClause === 'boolean' ||\n !thenClause ||\n typeof thenClause === 'boolean'\n ) {\n continue\n }\n const contextConst = (\n ifClause.properties?.[SUBMISSION_CONTEXT_PROPERTY] as\n | RJSFSchema\n | undefined\n )?.const as DataAccessRequestType | undefined\n if (\n contextConst !== DataAccessRequestType.REQUEST &&\n contextConst !== DataAccessRequestType.RENEWAL\n ) {\n continue\n }\n branches.push({\n requestType: contextConst,\n properties: (thenClause.properties ?? {}) as Record<string, RJSFSchema>,\n required: new Set(thenClause.required ?? []),\n })\n }\n return branches\n}\n\n/**\n * Enumerate every leaf property the schema declares along with which submission\n * context applies to each. The reserved `x-synapse-submissionContext`\n * property itself is never included; it isn't a bindable field.\n */\nexport function listResolvedSchemaProperties(\n schema: RJSFSchema,\n): ResolvedSchemaProperty[] {\n const required = new Set(schema.required ?? [])\n const result: ResolvedSchemaProperty[] = []\n const seen = new Set<string>([SUBMISSION_CONTEXT_PROPERTY])\n\n for (const [propertyKey, subSchema] of Object.entries(\n (schema.properties ?? {}) as Record<string, RJSFSchema>,\n )) {\n if (seen.has(propertyKey)) continue\n seen.add(propertyKey)\n result.push({\n propertyKey,\n subSchema,\n isRequired: required.has(propertyKey),\n context: 'ALWAYS',\n })\n }\n\n for (const branch of readConditionalBranches(schema)) {\n for (const [propertyKey, subSchema] of Object.entries(branch.properties)) {\n // An unconditional definition of the same key wins; conditional branches only add\n // properties that aren't already declared at the top level.\n if (seen.has(propertyKey)) continue\n seen.add(propertyKey)\n result.push({\n propertyKey,\n subSchema,\n isRequired: branch.required.has(propertyKey),\n context: contextForRequestType(branch.requestType),\n })\n }\n }\n\n return result\n}\n\n/** The property key addressed by a single-segment JSON Pointer (e.g. `/institution` -> `institution`). */\nexport function pointerToPropertyKey(pointer: string): string | null {\n if (!pointer.startsWith('/')) return null\n const segment = pointer.slice(1)\n if (!segment || segment.includes('/')) return null\n return segment.replaceAll('~1', '/').replaceAll('~0', '~')\n}\n\n/** The single-segment JSON Pointer addressing a property key (e.g. `institution` -> `/institution`),\n * the inverse of `pointerToPropertyKey`. */\nexport function propertyKeyToPointer(propertyKey: string): string {\n return `/${propertyKey.replaceAll('~', '~0').replaceAll('/', '~1')}`\n}\n\n/** Resolve a `FormTemplateField.schemaPath`-style JSON Pointer, applying the same rules as\n * `listResolvedSchemaProperties`. */\nexport function resolveSchemaPropertyAtPointer(\n schema: RJSFSchema,\n pointer: string,\n): ResolvedSchemaProperty | undefined {\n const propertyKey = pointerToPropertyKey(pointer)\n if (!propertyKey) return undefined\n return listResolvedSchemaProperties(schema).find(\n p => p.propertyKey === propertyKey,\n )\n}\n\n/** Whether a property's context applies for the given requestType (`ALWAYS` always applies). */\nexport function contextAppliesForRequestType(\n context: SchemaPropertyContext,\n requestType: DataAccessRequestType,\n): boolean {\n if (context === 'ALWAYS') return true\n return context === contextForRequestType(requestType)\n}\n\n/** Human label for display, e.g. a field library row or step slot badge. */\nexport function submissionContextLabel(context: SchemaPropertyContext): string {\n switch (context) {\n case 'ALWAYS':\n return 'Always'\n case 'REQUEST_ONLY':\n return 'Request only'\n case 'RENEWAL_ONLY':\n return 'Renewal only'\n }\n}\n\nfunction requestTypeForContext(\n context: SchemaPropertyContext,\n): DataAccessRequestType | undefined {\n if (context === 'REQUEST_ONLY') return DataAccessRequestType.REQUEST\n if (context === 'RENEWAL_ONLY') return DataAccessRequestType.RENEWAL\n return undefined\n}\n\n/** Index of the `allOf` entry gating on `requestType` per the convention above, or -1. */\nfunction findBranchIndex(\n allOf: (RJSFSchema | boolean)[],\n requestType: DataAccessRequestType,\n): number {\n return allOf.findIndex(entry => {\n if (typeof entry === 'boolean') return false\n const ifClause = entry.if\n if (!ifClause || typeof ifClause === 'boolean') return false\n const contextConst = (\n ifClause.properties?.[SUBMISSION_CONTEXT_PROPERTY] as\n | RJSFSchema\n | undefined\n )?.const\n return contextConst === requestType\n })\n}\n\n/**\n * Remove `propertyKey` from wherever it's currently defined. Drops now-empty\n * `then.properties`/branches/the `allOf` array itself so relocating or deleting\n * a property never leaves extra schema components behind.\n */\nexport function removeSchemaProperty(\n schema: RJSFSchema,\n propertyKey: string,\n): RJSFSchema {\n const properties = {\n ...((schema.properties ?? {}) as Record<string, RJSFSchema>),\n }\n let changed = propertyKey in properties\n delete properties[propertyKey]\n const required = (schema.required ?? []).filter(k => k !== propertyKey)\n\n const allOf = (schema.allOf ?? [])\n .map(entry => {\n if (typeof entry === 'boolean') return entry\n const thenClause = entry.then\n if (!thenClause || typeof thenClause === 'boolean') return entry\n const thenProps = {\n ...((thenClause.properties ?? {}) as Record<string, RJSFSchema>),\n }\n if (!(propertyKey in thenProps)) return entry\n changed = true\n delete thenProps[propertyKey]\n if (Object.keys(thenProps).length === 0) return null\n return {\n ...entry,\n then: {\n ...thenClause,\n properties: thenProps,\n required: (thenClause.required ?? []).filter(k => k !== propertyKey),\n },\n }\n })\n .filter((entry): entry is RJSFSchema | boolean => entry !== null)\n\n if (!changed) return schema\n\n const next: RJSFSchema = { ...schema, properties, required }\n if (allOf.length > 0) {\n next.allOf = allOf\n } else {\n delete next.allOf\n }\n return next\n}\n\n/**\n * Insert or replace a property's definition at the given submission context, relocating it there\n * from wherever it previously lived.\n *\n * Does not modify the property's requiredness behind at its old location. Callers that need to\n * preserve it (e.g. changing a property's context) should follow up with `setSchemaPropertyRequired`.\n */\nexport function setSchemaProperty(\n schema: RJSFSchema,\n propertyKey: string,\n subSchema: RJSFSchema,\n context: SchemaPropertyContext,\n): RJSFSchema {\n const withoutProperty = removeSchemaProperty(schema, propertyKey)\n const requestType = requestTypeForContext(context)\n\n if (!requestType) {\n return {\n ...withoutProperty,\n properties: {\n ...((withoutProperty.properties ?? {}) as Record<string, RJSFSchema>),\n [propertyKey]: subSchema,\n },\n }\n }\n\n const allOf = [...(withoutProperty.allOf ?? [])]\n const branchIndex = findBranchIndex(allOf, requestType)\n if (branchIndex === -1) {\n allOf.push({\n if: {\n properties: { [SUBMISSION_CONTEXT_PROPERTY]: { const: requestType } },\n },\n then: { properties: { [propertyKey]: subSchema }, required: [] },\n })\n } else {\n const entry = allOf[branchIndex] as RJSFSchema\n const thenClause = entry.then as RJSFSchema\n allOf[branchIndex] = {\n ...entry,\n then: {\n ...thenClause,\n properties: {\n ...((thenClause.properties ?? {}) as Record<string, RJSFSchema>),\n [propertyKey]: subSchema,\n },\n },\n }\n }\n return { ...withoutProperty, allOf }\n}\n\n/** Set whether a property is required within its current context's branch (top-level `required`\n * for `ALWAYS`, or the matching `allOf` branch's `then.required` otherwise). A no-op if the\n * property isn't actually defined at that context. */\nexport function setSchemaPropertyRequired(\n schema: RJSFSchema,\n propertyKey: string,\n context: SchemaPropertyContext,\n isRequired: boolean,\n): RJSFSchema {\n const requestType = requestTypeForContext(context)\n if (!requestType) {\n const properties = (schema.properties ?? {}) as Record<string, RJSFSchema>\n if (!(propertyKey in properties)) return schema\n const required = (schema.required ?? []).filter(k => k !== propertyKey)\n if (isRequired) required.push(propertyKey)\n return { ...schema, required }\n }\n const allOf = [...(schema.allOf ?? [])]\n const branchIndex = findBranchIndex(allOf, requestType)\n if (branchIndex === -1) return schema\n const entry = allOf[branchIndex] as RJSFSchema\n const thenClause = entry.then as RJSFSchema\n const thenProperties = (thenClause.properties ?? {}) as Record<\n string,\n RJSFSchema\n >\n if (!(propertyKey in thenProperties)) return schema\n const required = (thenClause.required ?? []).filter(k => k !== propertyKey)\n if (isRequired) required.push(propertyKey)\n allOf[branchIndex] = { ...entry, then: { ...thenClause, required } }\n return { ...schema, allOf }\n}\n\n/**\n * Move a property to a different submission context, preserving its definition and\n * requiredness. A no-op if the property doesn't resolve, or is already at that context.\n */\nexport function setSchemaPropertyContext(\n schema: RJSFSchema,\n propertyKey: string,\n context: SchemaPropertyContext,\n): RJSFSchema {\n const resolved = resolveSchemaPropertyAtPointer(schema, `/${propertyKey}`)\n if (!resolved || resolved.context === context) return schema\n const next = setSchemaProperty(\n schema,\n propertyKey,\n resolved.subSchema,\n context,\n )\n return resolved.isRequired\n ? setSchemaPropertyRequired(next, propertyKey, context, true)\n : next\n}\n\n/**\n * Replace a property's definition wherever it's defined (top-level or an `allOf` branch),\n * preserving its context and required-ness. A no-op if the property doesn't resolve.\n */\nexport function replaceSchemaPropertyDefinition(\n schema: RJSFSchema,\n propertyKey: string,\n subSchema: RJSFSchema,\n): RJSFSchema {\n const resolved = resolveSchemaPropertyAtPointer(\n schema,\n propertyKeyToPointer(propertyKey),\n )\n if (!resolved) return schema\n const next = setSchemaProperty(\n schema,\n propertyKey,\n subSchema,\n resolved.context,\n )\n return resolved.isRequired\n ? setSchemaPropertyRequired(next, propertyKey, resolved.context, true)\n : next\n}\n\n/**\n * Rename a property's key wherever it's defined (top-level or an `allOf` branch), preserving its\n * definition, context, and required-ness. A no-op if `oldKey` doesn't resolve.\n */\nexport function renameSchemaProperty(\n schema: RJSFSchema,\n oldKey: string,\n newKey: string,\n): RJSFSchema {\n const resolved = resolveSchemaPropertyAtPointer(schema, `/${oldKey}`)\n if (!resolved) return schema\n const withoutOld = removeSchemaProperty(schema, oldKey)\n const withNew = setSchemaProperty(\n withoutOld,\n newKey,\n resolved.subSchema,\n resolved.context,\n )\n return resolved.isRequired\n ? setSchemaPropertyRequired(withNew, newKey, resolved.context, true)\n : withNew\n}\n"],"mappings":";;AAgCA,IAAa,IAA8B;AAiB3C,SAAS,EACP,GACuB;CACvB,OAAO,MAAgB,EAAsB,UACzC,iBACA;AACN;AAOA,SAAS,EAAwB,GAAyC;CACxE,IAAM,IAAgC,CAAC;CACvC,KAAK,IAAM,KAAS,EAAO,SAAS,CAAC,GAAG;EACtC,IAAI,OAAO,KAAU,WAAW;EAChC,IAAM,IAAY,EAAqB,IACjC,IAAc,EAAqB;EACzC,IACE,CAAC,KACD,OAAO,KAAa,aACpB,CAAC,KACD,OAAO,KAAe,WAEtB;EAEF,IAAM,IACJ,EAAS,aAAa,IAGrB;EAED,MAAiB,EAAsB,WACvC,MAAiB,EAAsB,WAIzC,EAAS,KAAK;GACZ,aAAa;GACb,YAAa,EAAW,cAAc,CAAC;GACvC,UAAU,IAAI,IAAI,EAAW,YAAY,CAAC,CAAC;EAC7C,CAAC;CACH;CACA,OAAO;AACT;AAOA,SAAgB,EACd,GAC0B;CAC1B,IAAM,IAAW,IAAI,IAAI,EAAO,YAAY,CAAC,CAAC,GACxC,IAAmC,CAAC,GACpC,IAAO,IAAI,IAAY,CAAC,CAA2B,CA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SAAgB,EACd,GACA,GACA,GACY;CACZ,IAAM,IAAW,EAA+B,GAAQ,IAAI,GAAa;CACzE,IAAI,CAAC,KAAY,EAAS,YAAY,GAAS,OAAO;CACtD,IAAM,IAAO,EACX,GACA,GACA,EAAS,WACT,CACF;CACA,OAAO,EAAS,aACZ,EAA0B,GAAM,GAAa,GAAS,EAAI,IAC1D;AACN;AAMA,SAAgB,EACd,GACA,GACA,GACY;CACZ,IAAM,IAAW,EACf,GACA,EAAqB,CAAW,CAClC;CACA,IAAI,CAAC,GAAU,OAAO;CACtB,IAAM,IAAO,EACX,GACA,GACA,GACA,EAAS,OACX;CACA,OAAO,EAAS,aACZ,EAA0B,GAAM,GAAa,EAAS,SAAS,EAAI,IACnE;AACN;AAMA,SAAgB,EACd,GACA,GACA,GACY;CACZ,IAAM,IAAW,EAA+B,GAAQ,IAAI,GAAQ;CACpE,IAAI,CAAC,GAAU,OAAO;CAEtB,IAAM,IAAU,EADG,EAAqB,GAAQ,CAE9C,GACA,GACA,EAAS,WACT,EAAS,OACX;CACA,OAAO,EAAS,aACZ,EAA0B,GAAS,GAAQ,EAAS,SAAS,EAAI,IACjE;AACN"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synapse-react-client",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.47",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"json-joy": "^17.67.0",
|
|
74
74
|
"json-rules-engine": "^4.1.0",
|
|
75
75
|
"jsonpath-plus": "^10.4.0",
|
|
76
|
-
"katex": "^0.
|
|
76
|
+
"katex": "^0.18.2",
|
|
77
77
|
"lodash-es": "^4.18.1",
|
|
78
|
-
"markdown-it": "^14.3.
|
|
78
|
+
"markdown-it": "^14.3.3",
|
|
79
79
|
"markdown-it-br": "^1.0.0",
|
|
80
80
|
"markdown-it-center-text": "^1.0.4",
|
|
81
81
|
"markdown-it-inline-comments": "^1.0.1",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"markdown-it-synapse-heading": "^1.0.1",
|
|
86
86
|
"markdown-it-synapse-math": "^3.0.5",
|
|
87
87
|
"mui-one-time-password-input": "^5.0.0",
|
|
88
|
+
"mui-tel-input": "^11.0.0",
|
|
88
89
|
"papaparse": "^5.5.3",
|
|
89
90
|
"plotly.js": "2.28.0",
|
|
90
91
|
"plotly.js-basic-dist": "^2.35.3",
|
|
@@ -122,10 +123,10 @@
|
|
|
122
123
|
"xss": "^1.0.15",
|
|
123
124
|
"zod": "^4.4.3",
|
|
124
125
|
"@sage-bionetworks/markdown-it-container": "4.0.1",
|
|
125
|
-
"@sage-bionetworks/synapse-types": "0.0.12",
|
|
126
|
-
"@sage-bionetworks/synapse-client": "0.0.24",
|
|
127
126
|
"@sage-bionetworks/react-datasheet-grid": "4.11.5-sage.10",
|
|
127
|
+
"@sage-bionetworks/synapse-client": "0.0.24",
|
|
128
128
|
"markdown-it-synapse": "2.0.0",
|
|
129
|
+
"@sage-bionetworks/synapse-types": "0.0.12",
|
|
129
130
|
"markdown-it-synapse-table": "1.0.8"
|
|
130
131
|
},
|
|
131
132
|
"peerDependencies": {
|
|
@@ -208,7 +209,7 @@
|
|
|
208
209
|
"react-dom": "^19.2.7",
|
|
209
210
|
"react-select-event": "^5.5.1",
|
|
210
211
|
"react-test-renderer": "^19.2.7",
|
|
211
|
-
"storybook": "10.6.
|
|
212
|
+
"storybook": "10.6.2",
|
|
212
213
|
"stream-browserify": "^3.0.0",
|
|
213
214
|
"stream-http": "^3.2.0",
|
|
214
215
|
"timers-browserify": "^2.0.12",
|