synapse-react-client 4.0.36 → 4.0.37
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/index.js +11 -11
- package/dist/aridhia-queries/useAridhiaQuery.d.ts +1 -0
- package/dist/aridhia-queries/useAridhiaQuery.d.ts.map +1 -1
- package/dist/aridhia-queries/useAridhiaQuery.js +24 -17
- package/dist/aridhia-queries/useAridhiaQuery.js.map +1 -1
- package/dist/assets/icons/emailWithNotification.js +15 -15
- package/dist/assets/icons/emailWithNotification.js.map +1 -1
- package/dist/assets/icons/emailWithNotification.svg +13 -13
- package/dist/components/AccessRequirementList/AccessRequirementList.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.js +124 -117
- package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsFilesForm/DataAccessRequestAccessorsFilesForm.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.js +33 -32
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.js.map +1 -1
- package/dist/components/Aridhia/AridhiaAccessStatus.d.ts.map +1 -1
- package/dist/components/Aridhia/AridhiaAccessStatus.js +39 -18
- package/dist/components/Aridhia/AridhiaAccessStatus.js.map +1 -1
- package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.d.ts +32 -0
- package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.js +285 -0
- package/dist/components/Aridhia/DarWizard/AridhiaDarWizard.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarAboutStep.d.ts +4 -0
- package/dist/components/Aridhia/DarWizard/DarAboutStep.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarAboutStep.js +17 -0
- package/dist/components/Aridhia/DarWizard/DarAboutStep.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarCompleteStep.d.ts +27 -0
- package/dist/components/Aridhia/DarWizard/DarCompleteStep.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarCompleteStep.js +96 -0
- package/dist/components/Aridhia/DarWizard/DarCompleteStep.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarDestinationStep.d.ts +28 -0
- package/dist/components/Aridhia/DarWizard/DarDestinationStep.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarDestinationStep.js +128 -0
- package/dist/components/Aridhia/DarWizard/DarDestinationStep.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarProjectStep.d.ts +4 -0
- package/dist/components/Aridhia/DarWizard/DarProjectStep.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarProjectStep.js +17 -0
- package/dist/components/Aridhia/DarWizard/DarProjectStep.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts +13 -0
- package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarSectionForm.js +23 -0
- package/dist/components/Aridhia/DarWizard/DarSectionForm.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts +11 -0
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js +47 -0
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.d.ts +16 -0
- package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.js +33 -0
- package/dist/components/Aridhia/DarWizard/DarWorkspaceStep.js.map +1 -0
- package/dist/components/Aridhia/DarWizard/useDarDraft.d.ts +32 -0
- package/dist/components/Aridhia/DarWizard/useDarDraft.d.ts.map +1 -0
- package/dist/components/Aridhia/DarWizard/useDarDraft.js +44 -0
- package/dist/components/Aridhia/DarWizard/useDarDraft.js.map +1 -0
- package/dist/components/Aridhia/FairLabelField.d.ts +8 -0
- package/dist/components/Aridhia/FairLabelField.d.ts.map +1 -0
- package/dist/components/Aridhia/FairLabelField.js +13 -0
- package/dist/components/Aridhia/FairLabelField.js.map +1 -0
- package/dist/components/Aridhia/fairFormToRjsf.d.ts +36 -0
- package/dist/components/Aridhia/fairFormToRjsf.d.ts.map +1 -0
- package/dist/components/Aridhia/fairFormToRjsf.js +137 -0
- package/dist/components/Aridhia/fairFormToRjsf.js.map +1 -0
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.d.ts.map +1 -1
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js +2 -2
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js.map +1 -1
- package/dist/components/CardContainer/CardContainer.d.ts.map +1 -1
- package/dist/components/CardContainer/CardContainer.js +1 -1
- package/dist/components/CardContainer/CardContainer.js.map +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.d.ts.map +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.js +2 -2
- package/dist/components/ChallengeSubmission/ChallengeSubmission.js.map +1 -1
- package/dist/components/ChallengeTeamWizard/ChallengeTeamWizard.d.ts.map +1 -1
- package/dist/components/ChallengeTeamWizard/ChallengeTeamWizard.js +3 -3
- package/dist/components/ChallengeTeamWizard/ChallengeTeamWizard.js.map +1 -1
- package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.js +1 -1
- package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.js.map +1 -1
- package/dist/components/CreateTableViewWizard/CreateTableViewWizard.js +2 -2
- package/dist/components/CreateTableViewWizard/CreateTableViewWizard.js.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.js +121 -117
- package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
- package/dist/components/DataGrid/columns/DateTimeColumn.d.ts +21 -1
- package/dist/components/DataGrid/columns/DateTimeColumn.d.ts.map +1 -1
- package/dist/components/DataGrid/columns/DateTimeColumn.js +73 -29
- package/dist/components/DataGrid/columns/DateTimeColumn.js.map +1 -1
- package/dist/components/DataGrid/columns/NumberColumn.d.ts +31 -0
- package/dist/components/DataGrid/columns/NumberColumn.d.ts.map +1 -0
- package/dist/components/DataGrid/columns/NumberColumn.js +27 -0
- package/dist/components/DataGrid/columns/NumberColumn.js.map +1 -0
- package/dist/components/DataGrid/components/ReorderColumnsButton.d.ts +1 -0
- package/dist/components/DataGrid/components/ReorderColumnsButton.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsButton.js +17 -16
- package/dist/components/DataGrid/components/ReorderColumnsButton.js.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts +2 -0
- package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsDialog.js +104 -65
- package/dist/components/DataGrid/components/ReorderColumnsDialog.js.map +1 -1
- package/dist/components/DataGrid/useDataGridWebsocket.js +1 -1
- package/dist/components/DataGrid/useDataGridWebsocket.js.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.js +55 -51
- package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
- package/dist/components/DataGrid/utils/computeDefaultColumnOrder.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/computeDefaultColumnOrder.js +9 -8
- package/dist/components/DataGrid/utils/computeDefaultColumnOrder.js.map +1 -1
- package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts +10 -5
- package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts.map +1 -1
- package/dist/components/DatasetHosting/DatasetDownloadButton.js +66 -74
- package/dist/components/DatasetHosting/DatasetDownloadButton.js.map +1 -1
- package/dist/components/DatasetHosting/DatasetHosting.d.ts +6 -0
- package/dist/components/DatasetHosting/DatasetHosting.d.ts.map +1 -1
- package/dist/components/DatasetHosting/DatasetHosting.js +6 -0
- package/dist/components/DatasetHosting/DatasetHosting.js.map +1 -1
- package/dist/components/DatasetHosting/DatasetHostingAdornment.d.ts +15 -0
- package/dist/components/DatasetHosting/DatasetHostingAdornment.d.ts.map +1 -0
- package/dist/components/DatasetHosting/DatasetHostingAdornment.js +23 -0
- package/dist/components/DatasetHosting/DatasetHostingAdornment.js.map +1 -0
- package/dist/components/DatasetHosting/index.d.ts +2 -0
- package/dist/components/DatasetHosting/index.d.ts.map +1 -1
- package/dist/components/DatasetHosting/index.js +2 -1
- package/dist/components/DownloadCart/DownloadCartPage.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.d.ts.map +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.js.map +1 -1
- package/dist/components/EntityFinder/tree/EntityTree.d.ts.map +1 -1
- package/dist/components/EntityFinder/tree/EntityTree.js +1 -1
- package/dist/components/EntityFinder/tree/EntityTree.js.map +1 -1
- package/dist/components/EntityFinder/tree/VirtualizedTree.js +1 -1
- package/dist/components/EntityFinder/tree/VirtualizedTree.js.map +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +176 -170
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/JsonSchemaForm/CustomFormContext.d.ts +9 -0
- package/dist/components/JsonSchemaForm/CustomFormContext.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/JsonSchemaForm.js +2 -1
- package/dist/components/JsonSchemaForm/JsonSchemaForm.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/ArrayFieldTemplate.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/ArrayFieldTemplate.js +1 -1
- package/dist/components/JsonSchemaForm/templates/ArrayFieldTemplate.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/FieldTemplate.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/FieldTemplate.js +6 -6
- package/dist/components/JsonSchemaForm/templates/FieldTemplate.js.map +1 -1
- package/dist/components/JsonSchemaForm/widgets/DateWidget.d.ts +9 -0
- package/dist/components/JsonSchemaForm/widgets/DateWidget.d.ts.map +1 -0
- package/dist/components/JsonSchemaForm/widgets/DateWidget.js +23 -0
- package/dist/components/JsonSchemaForm/widgets/DateWidget.js.map +1 -0
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.css +1 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.d.ts +3 -2
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.d.ts.map +1 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.js +10 -12
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.js.map +1 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.module.js +8 -7
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.module.js.map +1 -1
- package/dist/components/MailchimpSubscribeSection/MailchimpSubscribeSection.module.scss +12 -2
- package/dist/components/Markdown/MarkdownEditor.js +1 -1
- package/dist/components/Markdown/MarkdownEditor.js.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js +46 -46
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderTranslation.js +1 -1
- package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js +1 -1
- package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +27 -25
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.d.ts +0 -9
- package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.d.ts.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.js +23 -31
- package/dist/components/SchemaDrivenAnnotationEditor/AnnotationEditorUtils.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.d.ts.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js +5 -4
- package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/field/SynapseAnnotationsRJSFObjectField.d.ts.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/field/SynapseAnnotationsRJSFObjectField.js +6 -5
- package/dist/components/SchemaDrivenAnnotationEditor/field/SynapseAnnotationsRJSFObjectField.js.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +2 -0
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +18 -13
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
- package/dist/components/StatisticsPlot.d.ts.map +1 -1
- package/dist/components/StatisticsPlot.js +1 -1
- package/dist/components/StatisticsPlot.js.map +1 -1
- package/dist/components/SynapseForm/SynapseFormWrapper.js +1 -1
- package/dist/components/SynapseForm/SynapseFormWrapper.js.map +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.css +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js +9 -9
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js.map +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.scss +14 -0
- package/dist/components/SynapseHomepageV2/SynapseHomepageChatSearch.js +1 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageChatSearch.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchPage.js +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchPage.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.d.ts.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.js +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.js.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts +4 -0
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js +71 -69
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js.map +1 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts +4 -0
- package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts.map +1 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.js +14 -13
- package/dist/components/SynapseTable/table-top/DownloadOptions.js.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.js +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormReducer.js +4 -4
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormReducer.js.map +1 -1
- package/dist/components/TanStackTable/TableCellRenderer.d.ts.map +1 -1
- package/dist/components/TanStackTable/TableCellRenderer.js +1 -1
- package/dist/components/TanStackTable/TableCellRenderer.js.map +1 -1
- package/dist/components/TermsAndConditions/TermsAndConditions.js +1 -1
- package/dist/components/TermsAndConditions/TermsAndConditions.js.map +1 -1
- package/dist/components/Webhook/CreateWebhookModal.d.ts.map +1 -1
- package/dist/components/Webhook/CreateWebhookModal.js +1 -1
- package/dist/components/Webhook/CreateWebhookModal.js.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js +172 -63
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.d.ts +3 -0
- package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.js +2 -2
- package/dist/components/dataaccess/UserAccessRequestHistory/RouteConstants.js.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js +10 -8
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPlace.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPlace.js +74 -43
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPlace.js.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryTable.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryTable.js +2 -2
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryTable.js.map +1 -1
- package/dist/components/doi/CreateOrUpdateDoiModal.js +5 -5
- package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
- package/dist/components/entity/metadata/EntityModal.js +1 -1
- package/dist/components/entity/metadata/EntityModal.js.map +1 -1
- package/dist/components/entity/page/action_menu/EntityActionMenu.js +2 -2
- package/dist/components/entity/page/action_menu/EntityActionMenu.js.map +1 -1
- package/dist/components/index.js +113 -112
- package/dist/components/menu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/menu/DropdownMenu.js +1 -1
- package/dist/components/menu/DropdownMenu.js.map +1 -1
- package/dist/components/row_renderers/Dataset.js +1 -1
- package/dist/components/row_renderers/Dataset.js.map +1 -1
- package/dist/components/styled/LeftRightPanel.d.ts +8 -0
- package/dist/components/styled/LeftRightPanel.d.ts.map +1 -1
- package/dist/components/styled/LeftRightPanel.js +10 -1
- package/dist/components/styled/LeftRightPanel.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.js +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.js +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.js.map +1 -1
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +1 -1
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
- package/dist/index.js +174 -173
- package/dist/index.js.map +1 -1
- package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts +73 -0
- package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts.map +1 -0
- package/dist/mocks/msw/handlers/aridhiaHandlers.js +119 -0
- package/dist/mocks/msw/handlers/aridhiaHandlers.js.map +1 -0
- package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js +1 -1
- package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/entityHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/entityHandlers.js +4 -4
- package/dist/mocks/msw/handlers/entityHandlers.js.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/handlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers.js +72 -69
- package/dist/mocks/msw/handlers.js.map +1 -1
- package/dist/style/components/_terms-and-conditions.scss +25 -3
- package/dist/style/main.css +1 -1
- package/dist/testutils/RjsfFormTestUtils.js +12 -0
- package/dist/testutils/RjsfFormTestUtils.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/featureflag/FeatureFlags.d.ts +1 -0
- package/dist/utils/featureflag/FeatureFlags.d.ts.map +1 -1
- package/dist/utils/featureflag/FeatureFlags.js +1 -1
- package/dist/utils/featureflag/FeatureFlags.js.map +1 -1
- package/dist/utils/functions/QueryFilterUtils.js +1 -1
- package/dist/utils/functions/QueryFilterUtils.js.map +1 -1
- package/dist/utils/functions/SqlFunctions.js +1 -1
- package/dist/utils/functions/SqlFunctions.js.map +1 -1
- package/dist/utils/functions/queryUtils.js +1 -1
- package/dist/utils/functions/queryUtils.js.map +1 -1
- package/dist/utils/hooks/useDetectSSOCode.d.ts.map +1 -1
- package/dist/utils/hooks/useDetectSSOCode.js +1 -1
- package/dist/utils/hooks/useDetectSSOCode.js.map +1 -1
- package/dist/utils/hooks/useImmutableTableQuery/useImmutableTableQuery.js +1 -1
- package/dist/utils/hooks/useImmutableTableQuery/useImmutableTableQuery.js.map +1 -1
- package/dist/utils/jsonschema/SchemaAnnotationUtils.js +1 -1
- package/dist/utils/jsonschema/SchemaAnnotationUtils.js.map +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.d.ts +22 -0
- package/dist/utils/jsonschema/collectTopLevelProperties.d.ts.map +1 -0
- package/dist/utils/jsonschema/collectTopLevelProperties.js +31 -0
- package/dist/utils/jsonschema/collectTopLevelProperties.js.map +1 -0
- package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts.map +1 -1
- package/dist/utils/jsonschema/getSchemaPropertyInfo.js +1 -1
- package/dist/utils/jsonschema/getSchemaPropertyInfo.js.map +1 -1
- package/package.json +4 -4
package/dist/SWC.index.js
CHANGED
|
@@ -116,7 +116,7 @@ var x = { BackendDestinationEnum: r }, S = {
|
|
|
116
116
|
sendSearchResultsReturnedEvent: y,
|
|
117
117
|
sendSearchResultReturnedEvent: v,
|
|
118
118
|
sendSearchResultClickedEvent: _
|
|
119
|
-
}, T = "4.0.
|
|
119
|
+
}, T = "4.0.37";
|
|
120
120
|
//#endregion
|
|
121
121
|
export { w as Analytics, a as HttpClient, d as Palettes, o as SynapseClient, C as SynapseComponents, n as SynapseConstants, S as SynapseContext, x as SynapseEnums, m as SynapseQueries, T as SynapseReactClientVersion, p as SynapseSessionManager, i as xssOptions };
|
|
122
122
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AridhiaKeyFactory as e } from "./AridhiaKeyFactory.js";
|
|
2
|
-
import { AridhiaError as t,
|
|
3
|
-
import { useGetAridhiaRequests as
|
|
4
|
-
import { useGetAridhiaDatasetSettings as
|
|
5
|
-
import { useGetAridhiaWorkflow as
|
|
6
|
-
import { useGetAridhiaDictionaries as
|
|
7
|
-
import { useGetAridhiaWorkspaceLocations as
|
|
8
|
-
import { useGetAridhiaWorkspaces as
|
|
9
|
-
import { useGetAridhiaDatasetCatalogue as
|
|
10
|
-
import { useGetAridhiaWorkspaceRequestForm as
|
|
11
|
-
import { useSubmitAridhiaDar as
|
|
12
|
-
export { t as AridhiaError, e as AridhiaKeyFactory, n as
|
|
2
|
+
import { AridhiaError as t, toAridhiaError as n, useAridhiaMutation as r, useAridhiaQuery as i } from "./useAridhiaQuery.js";
|
|
3
|
+
import { useGetAridhiaRequests as a } from "./useGetAridhiaRequests.js";
|
|
4
|
+
import { useGetAridhiaDatasetSettings as o } from "./useGetAridhiaDatasetSettings.js";
|
|
5
|
+
import { useGetAridhiaWorkflow as s } from "./useGetAridhiaWorkflow.js";
|
|
6
|
+
import { useGetAridhiaDictionaries as c } from "./useGetAridhiaDictionaries.js";
|
|
7
|
+
import { useGetAridhiaWorkspaceLocations as l } from "./useGetAridhiaWorkspaceLocations.js";
|
|
8
|
+
import { useGetAridhiaWorkspaces as u } from "./useGetAridhiaWorkspaces.js";
|
|
9
|
+
import { useGetAridhiaDatasetCatalogue as d } from "./useGetAridhiaDatasetCatalogue.js";
|
|
10
|
+
import { useGetAridhiaWorkspaceRequestForm as f } from "./useGetAridhiaWorkspaceRequestForm.js";
|
|
11
|
+
import { useSubmitAridhiaDar as p } from "./useSubmitAridhiaDar.js";
|
|
12
|
+
export { t as AridhiaError, e as AridhiaKeyFactory, n as toAridhiaError, r as useAridhiaMutation, i as useAridhiaQuery, d as useGetAridhiaDatasetCatalogue, o as useGetAridhiaDatasetSettings, c as useGetAridhiaDictionaries, a as useGetAridhiaRequests, s as useGetAridhiaWorkflow, l as useGetAridhiaWorkspaceLocations, f as useGetAridhiaWorkspaceRequestForm, u as useGetAridhiaWorkspaces, p as useSubmitAridhiaDar };
|
|
@@ -20,6 +20,7 @@ export declare class AridhiaError extends Error {
|
|
|
20
20
|
isEligibilityFailure?: boolean;
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
+
export declare function toAridhiaError(error: unknown): Promise<AridhiaError>;
|
|
23
24
|
/**
|
|
24
25
|
* Shared query primitive for every Aridhia (C-Path FAIR) read: resolves the `AridhiaContext` and
|
|
25
26
|
* the current Synapse access token, exchanges it for a fresh Aridhia token (tokens are
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAridhiaQuery.d.ts","sourceRoot":"","sources":["../../src/aridhia-queries/useAridhiaQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACf,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,aAAa,EAEd,MAAM,oDAAoD,CAAA;AAK3D;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,gBAAgB,GAChB,mBAAmB,GACnB,gBAAgB,GAChB,SAAS,CAAA;AAEb,qBAAa,YAAa,SAAQ,KAAK;IACrC,IAAI,EAAE,gBAAgB,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yEAAyE;IACzE,oBAAoB,EAAE,OAAO,CAAA;gBAG3B,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,oBAAoB,CAAC,EAAE,OAAO,CAAA;KAAE;CAQpE;
|
|
1
|
+
{"version":3,"file":"useAridhiaQuery.d.ts","sourceRoot":"","sources":["../../src/aridhia-queries/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UAAU,CAAC,CAAC,GACrE,iBAAiB,CAAC,KAAK,EAAE,YAAY,EAAE,UAAU,CAAC,CAOpD"}
|
|
@@ -12,30 +12,37 @@ var o = class extends Error {
|
|
|
12
12
|
super(t), this.name = "AridhiaError", this.code = e, this.httpStatus = n?.httpStatus, this.isEligibilityFailure = n?.isEligibilityFailure ?? !1;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
function s(e) {
|
|
16
|
+
if (!e || typeof e != "object") return;
|
|
17
|
+
let t = "error" in e ? e.error : void 0;
|
|
18
|
+
if (typeof t == "string") return t;
|
|
19
|
+
if (t && typeof t == "object") {
|
|
20
|
+
if ("message" in t && typeof t.message == "string") return t.message;
|
|
21
|
+
if ("error" in t && typeof t.error == "string") return t.error;
|
|
22
|
+
}
|
|
23
|
+
let n = "message" in e ? e.message : void 0;
|
|
24
|
+
if (typeof n == "string") return n;
|
|
25
|
+
}
|
|
26
|
+
async function c(e) {
|
|
16
27
|
try {
|
|
17
|
-
|
|
18
|
-
if (!t || typeof t != "object") return;
|
|
19
|
-
let n = "error" in t ? t.error : void 0;
|
|
20
|
-
if (typeof n == "string") return n;
|
|
21
|
-
let r = "message" in t ? t.message : void 0;
|
|
22
|
-
return typeof r == "string" ? r : void 0;
|
|
28
|
+
return s(await e.clone().json());
|
|
23
29
|
} catch {
|
|
24
30
|
return;
|
|
25
31
|
}
|
|
26
32
|
}
|
|
27
|
-
async function
|
|
33
|
+
async function l(e) {
|
|
28
34
|
if (e instanceof o) return e;
|
|
29
35
|
if (e instanceof a) {
|
|
30
|
-
let t = e.response.status, n = await
|
|
36
|
+
let t = e.response.status, n = await c(e.response);
|
|
31
37
|
return n === "invalid_token" || n === "invalid_issuer" || n === "Invalid parameter" ? new o(n, n, {
|
|
32
38
|
httpStatus: t,
|
|
33
39
|
isEligibilityFailure: n !== "Invalid parameter"
|
|
34
40
|
}) : new o("unknown", n ?? `Aridhia request failed (${t})`, { httpStatus: t });
|
|
35
41
|
}
|
|
36
|
-
|
|
42
|
+
let t = s(e);
|
|
43
|
+
return t ? new o("unknown", t) : new o("unknown", e instanceof Error ? e.message : "Unknown Aridhia error");
|
|
37
44
|
}
|
|
38
|
-
function
|
|
45
|
+
function u() {
|
|
39
46
|
let r = t(), { accessToken: i } = e();
|
|
40
47
|
return {
|
|
41
48
|
enabled: !!i && !!r,
|
|
@@ -44,13 +51,13 @@ function l() {
|
|
|
44
51
|
try {
|
|
45
52
|
return await e(await n(i, r.apiBasePath, r.authenticationRequest));
|
|
46
53
|
} catch (e) {
|
|
47
|
-
throw await
|
|
54
|
+
throw await l(e);
|
|
48
55
|
}
|
|
49
56
|
}
|
|
50
57
|
};
|
|
51
58
|
}
|
|
52
|
-
function
|
|
53
|
-
let { enabled: r, run: a } =
|
|
59
|
+
function d(e, t, n) {
|
|
60
|
+
let { enabled: r, run: a } = u(), { enabled: o, ...s } = n ?? {}, c = o === void 0 ? r : r && !!o;
|
|
54
61
|
return i({
|
|
55
62
|
...s,
|
|
56
63
|
enabled: c,
|
|
@@ -58,14 +65,14 @@ function u(e, t, n) {
|
|
|
58
65
|
queryFn: () => a(t)
|
|
59
66
|
});
|
|
60
67
|
}
|
|
61
|
-
function
|
|
62
|
-
let { run: n } =
|
|
68
|
+
function f(e, t) {
|
|
69
|
+
let { run: n } = u();
|
|
63
70
|
return r({
|
|
64
71
|
...t,
|
|
65
72
|
mutationFn: (t) => n((n) => e(n, t))
|
|
66
73
|
});
|
|
67
74
|
}
|
|
68
75
|
//#endregion
|
|
69
|
-
export { o as AridhiaError,
|
|
76
|
+
export { o as AridhiaError, l as toAridhiaError, f as useAridhiaMutation, d as useAridhiaQuery };
|
|
70
77
|
|
|
71
78
|
//# sourceMappingURL=useAridhiaQuery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAridhiaQuery.js","names":[],"sources":["../../src/aridhia-queries/useAridhiaQuery.ts"],"sourcesContent":["import {\n useMutation,\n useQuery,\n QueryKey,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n} from '@tanstack/react-query'\nimport {\n Configuration,\n ResponseError,\n} from '@sage-bionetworks/aridhia-client/generated/runtime'\nimport { useAridhiaContextOptional } from '@/utils/context/AridhiaContext'\nimport { useSynapseContext } from '@/utils/context/SynapseContext'\nimport { createAridhiaApiConfiguration } from './aridhiaTokenExchange'\n\n/**\n * - `invalid_token` / `invalid_issuer` — the gateway's `/authenticate` rejected the Synapse\n * token outright (e.g. no linked RDCA-DAP account yet).\n * - `Invalid parameter` — the token-exchange request body was malformed. This is our bug, not\n * the user's eligibility, so it is never treated as an eligibility failure.\n * - `not_configured` — called without an `AridhiaContextProvider` or a Synapse access token;\n * an environment/wiring problem, not a user-eligibility problem.\n * - `unknown` — any other HTTP or network failure.\n */\nexport type AridhiaErrorCode =\n | 'invalid_token'\n | 'invalid_issuer'\n | 'Invalid parameter'\n | 'not_configured'\n | 'unknown'\n\nexport class AridhiaError extends Error {\n code: AridhiaErrorCode\n httpStatus?: number\n /** true when the failure means \"this user cannot use the DAP API yet\" */\n isEligibilityFailure: boolean\n\n constructor(\n code: AridhiaErrorCode,\n message: string,\n options?: { httpStatus?: number; isEligibilityFailure?: boolean },\n ) {\n super(message)\n this.name = 'AridhiaError'\n this.code = code\n this.httpStatus = options?.httpStatus\n this.isEligibilityFailure = options?.isEligibilityFailure ?? false\n }\n}\n\n/**\n * Pulls a human-usable error string out of a `ResponseError`'s JSON body, preferring the\n * gateway's `error` field and falling back to `message`. Returns `undefined` when the body\n * isn't JSON, was already consumed, or carries neither field.\n */\nasync function extractResponseErrorText(\n response: ResponseError['response'],\n): Promise<string | undefined> {\n try {\n const body: unknown = await response.clone().json()\n if (!body || typeof body !== 'object') {\n return undefined\n }\n const errorField = 'error' in body ? body.error : undefined\n if (typeof errorField === 'string') {\n return errorField\n }\n const messageField = 'message' in body ? body.message : undefined\n return typeof messageField === 'string' ? messageField : undefined\n } catch {\n // Response body wasn't JSON (or was already consumed).\n return undefined\n }\n}\n\nasync function toAridhiaError(error: unknown): Promise<AridhiaError> {\n if (error instanceof AridhiaError) {\n return error\n }\n if (error instanceof ResponseError) {\n const httpStatus = error.response.status\n const bodyErrorText = await extractResponseErrorText(error.response)\n if (\n bodyErrorText === 'invalid_token' ||\n bodyErrorText === 'invalid_issuer' ||\n bodyErrorText === 'Invalid parameter'\n ) {\n return new AridhiaError(bodyErrorText, bodyErrorText, {\n httpStatus,\n // A malformed request body is our bug, not the user's account state.\n isEligibilityFailure: bodyErrorText !== 'Invalid parameter',\n })\n }\n // An unrecognized error shape (e.g. a FAIR-side validation error on `/requests/`, which\n // uses a different envelope than the gateway's `/authenticate`) — keep `code: 'unknown'`\n // but surface the server's own text verbatim so the caller can quote it.\n return new AridhiaError(\n 'unknown',\n bodyErrorText ?? `Aridhia request failed (${httpStatus})`,\n { httpStatus },\n )\n }\n return new AridhiaError(\n 'unknown',\n error instanceof Error ? error.message : 'Unknown Aridhia error',\n )\n}\n\n/**\n * Resolves the `AridhiaContext` and the current Synapse access token, exchanges it for a fresh\n * Aridhia token (tokens are single-use — see `aridhiaTokenExchange.ts`), and returns a `run`\n * function that executes a call with the resulting `Configuration`, normalizing any failure into\n * an `AridhiaError`.\n */\nfunction useAridhiaCall(): {\n /** `!!synapseAccessToken && !!aridhiaContext` — every read and write is gated on this. */\n enabled: boolean\n run: <T>(fn: (config: Configuration) => Promise<T>) => Promise<T>\n} {\n const aridhiaContext = useAridhiaContextOptional()\n const { accessToken: synapseAccessToken } = useSynapseContext()\n\n return {\n enabled: !!synapseAccessToken && !!aridhiaContext,\n run: async <T>(fn: (config: Configuration) => Promise<T>): Promise<T> => {\n if (!synapseAccessToken || !aridhiaContext) {\n throw new AridhiaError(\n 'not_configured',\n 'AridhiaContext is not available, or no Synapse access token is present. Make sure to wrap your component with AridhiaContextProvider.',\n )\n }\n try {\n const configuration = await createAridhiaApiConfiguration(\n synapseAccessToken,\n aridhiaContext.apiBasePath,\n aridhiaContext.authenticationRequest,\n )\n return await fn(configuration)\n } catch (error) {\n throw await toAridhiaError(error)\n }\n },\n }\n}\n\n/**\n * Shared query primitive for every Aridhia (C-Path FAIR) read: resolves the `AridhiaContext` and\n * the current Synapse access token, exchanges it for a fresh Aridhia token (tokens are\n * single-use — see `aridhiaTokenExchange.ts`), runs `queryFn` with the resulting `Configuration`,\n * and normalizes any failure into an `AridhiaError`.\n */\nexport function useAridhiaQuery<T>(\n queryKey: QueryKey,\n queryFn: (config: Configuration) => Promise<T>,\n options?: Partial<UseQueryOptions<T, AridhiaError, T>>,\n): UseQueryResult<T, AridhiaError> {\n const { enabled: baseEnabled, run } = useAridhiaCall()\n // Composed, not overridden: a caller's `enabled` (e.g. \"workflowKey is known yet\") can only\n // narrow when the query runs, never bypass the token/context prerequisite.\n const { enabled: callerEnabled, ...restOptions } = options ?? {}\n const enabled =\n callerEnabled === undefined ? baseEnabled : baseEnabled && !!callerEnabled\n\n return useQuery<T, AridhiaError, T>({\n ...restOptions,\n enabled,\n queryKey,\n queryFn: () => run(queryFn),\n })\n}\n\n/**\n * Shared mutation primitive for every Aridhia (C-Path FAIR) write: resolves the `AridhiaContext`\n * and the current Synapse access token, exchanges it for a fresh Aridhia token (tokens are\n * single-use — see `aridhiaTokenExchange.ts`), runs `mutationFn` with the resulting\n * `Configuration` and the mutation variables, and normalizes any failure into an `AridhiaError`.\n */\nexport function useAridhiaMutation<TData, TVariables = void>(\n mutationFn: (config: Configuration, variables: TVariables) => Promise<TData>,\n options?: Partial<UseMutationOptions<TData, AridhiaError, TVariables>>,\n): UseMutationResult<TData, AridhiaError, TVariables> {\n const { run } = useAridhiaCall()\n\n return useMutation<TData, AridhiaError, TVariables>({\n ...options,\n mutationFn: variables => run(config => mutationFn(config, variables)),\n })\n}\n"],"mappings":";;;;;;AAiCA,IAAa,IAAb,cAAkC,MAAM;CACtC;CACA;CAEA;CAEA,YACE,GACA,GACA,GACA;EAKA,AAJA,MAAM,CAAO,GACb,KAAK,OAAO,g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ACA,GACA,GACiC;CACjC,IAAM,EAAE,SAAS,GAAa,WAAQ,EAAe,GAG/C,EAAE,SAAS,GAAe,GAAG,MAAgB,KAAW,CAAC,GACzD,IACJ,MAAkB,KAAA,IAAY,IAAc,KAAe,CAAC,CAAC;CAE/D,OAAO,EAA6B;EAClC,GAAG;EACH;EACA;EACA,eAAe,EAAI,CAAO;CAC5B,CAAC;AACH;AAQA,SAAgB,EACd,GACA,GACoD;CACpD,IAAM,EAAE,WAAQ,EAAe;CAE/B,OAAO,EAA6C;EAClD,GAAG;EACH,aAAY,MAAa,GAAI,MAAU,EAAW,GAAQ,CAAS,CAAC;CACtE,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"useAridhiaQuery.js","names":[],"sources":["../../src/aridhia-queries/useAridhiaQuery.ts"],"sourcesContent":["import {\n useMutation,\n useQuery,\n QueryKey,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n} from '@tanstack/react-query'\nimport {\n Configuration,\n ResponseError,\n} from '@sage-bionetworks/aridhia-client/generated/runtime'\nimport { useAridhiaContextOptional } from '@/utils/context/AridhiaContext'\nimport { useSynapseContext } from '@/utils/context/SynapseContext'\nimport { createAridhiaApiConfiguration } from './aridhiaTokenExchange'\n\n/**\n * - `invalid_token` / `invalid_issuer` — the gateway's `/authenticate` rejected the Synapse\n * token outright (e.g. no linked RDCA-DAP account yet).\n * - `Invalid parameter` — the token-exchange request body was malformed. This is our bug, not\n * the user's eligibility, so it is never treated as an eligibility failure.\n * - `not_configured` — called without an `AridhiaContextProvider` or a Synapse access token;\n * an environment/wiring problem, not a user-eligibility problem.\n * - `unknown` — any other HTTP or network failure.\n */\nexport type AridhiaErrorCode =\n | 'invalid_token'\n | 'invalid_issuer'\n | 'Invalid parameter'\n | 'not_configured'\n | 'unknown'\n\nexport class AridhiaError extends Error {\n code: AridhiaErrorCode\n httpStatus?: number\n /** true when the failure means \"this user cannot use the DAP API yet\" */\n isEligibilityFailure: boolean\n\n constructor(\n code: AridhiaErrorCode,\n message: string,\n options?: { httpStatus?: number; isEligibilityFailure?: boolean },\n ) {\n super(message)\n this.name = 'AridhiaError'\n this.code = code\n this.httpStatus = options?.httpStatus\n this.isEligibilityFailure = options?.isEligibilityFailure ?? false\n }\n}\n\n/**\n * Pulls a human-usable error string out of a JSON response body:\n * - Gateway OAuth error: `{ error: 'invalid_token' }`\n * - FAIR API error envelope: `{ error: { status: 400, message: '...' } }`\n * - Direct message envelope: `{ message: '...' }`\n *\n * Returns `undefined` when the body carries no recognizable error text.\n */\nfunction extractErrorTextFromBody(body: unknown): string | undefined {\n if (!body || typeof body !== 'object') {\n return undefined\n }\n const errorField = 'error' in body ? body.error : undefined\n if (typeof errorField === 'string') {\n return errorField\n }\n if (errorField && typeof errorField === 'object') {\n if ('message' in errorField && typeof errorField.message === 'string') {\n return errorField.message\n }\n if ('error' in errorField && typeof errorField.error === 'string') {\n return errorField.error\n }\n }\n const messageField = 'message' in body ? body.message : undefined\n if (typeof messageField === 'string') {\n return messageField\n }\n return undefined\n}\n\n/**\n * Pulls a human-usable error string out of a `ResponseError`'s JSON body.\n * Returns `undefined` when the body isn't JSON, was already consumed, or carries no recognizable field.\n */\nasync function extractResponseErrorText(\n response: ResponseError['response'],\n): Promise<string | undefined> {\n try {\n const body: unknown = await response.clone().json()\n return extractErrorTextFromBody(body)\n } catch {\n // Response body wasn't JSON (or was already consumed).\n return undefined\n }\n}\n\nexport async function toAridhiaError(error: unknown): Promise<AridhiaError> {\n if (error instanceof AridhiaError) {\n return error\n }\n if (error instanceof ResponseError) {\n const httpStatus = error.response.status\n const bodyErrorText = await extractResponseErrorText(error.response)\n if (\n bodyErrorText === 'invalid_token' ||\n bodyErrorText === 'invalid_issuer' ||\n bodyErrorText === 'Invalid parameter'\n ) {\n return new AridhiaError(bodyErrorText, bodyErrorText, {\n httpStatus,\n // A malformed request body is our bug, not the user's account state.\n isEligibilityFailure: bodyErrorText !== 'Invalid parameter',\n })\n }\n // An unrecognized error shape (e.g. a FAIR-side validation error on `/requests/`, which\n // uses a different envelope than the gateway's `/authenticate`) — keep `code: 'unknown'`\n // but surface the server's own text verbatim so the caller can quote it.\n return new AridhiaError(\n 'unknown',\n bodyErrorText ?? `Aridhia request failed (${httpStatus})`,\n { httpStatus },\n )\n }\n const bodyText = extractErrorTextFromBody(error)\n if (bodyText) {\n return new AridhiaError('unknown', bodyText)\n }\n return new AridhiaError(\n 'unknown',\n error instanceof Error ? error.message : 'Unknown Aridhia error',\n )\n}\n\n/**\n * Resolves the `AridhiaContext` and the current Synapse access token, exchanges it for a fresh\n * Aridhia token (tokens are single-use — see `aridhiaTokenExchange.ts`), and returns a `run`\n * function that executes a call with the resulting `Configuration`, normalizing any failure into\n * an `AridhiaError`.\n */\nfunction useAridhiaCall(): {\n /** `!!synapseAccessToken && !!aridhiaContext` — every read and write is gated on this. */\n enabled: boolean\n run: <T>(fn: (config: Configuration) => Promise<T>) => Promise<T>\n} {\n const aridhiaContext = useAridhiaContextOptional()\n const { accessToken: synapseAccessToken } = useSynapseContext()\n\n return {\n enabled: !!synapseAccessToken && !!aridhiaContext,\n run: async <T>(fn: (config: Configuration) => Promise<T>): Promise<T> => {\n if (!synapseAccessToken || !aridhiaContext) {\n throw new AridhiaError(\n 'not_configured',\n 'AridhiaContext is not available, or no Synapse access token is present. Make sure to wrap your component with AridhiaContextProvider.',\n )\n }\n try {\n const configuration = await createAridhiaApiConfiguration(\n synapseAccessToken,\n aridhiaContext.apiBasePath,\n aridhiaContext.authenticationRequest,\n )\n return await fn(configuration)\n } catch (error) {\n throw await toAridhiaError(error)\n }\n },\n }\n}\n\n/**\n * Shared query primitive for every Aridhia (C-Path FAIR) read: resolves the `AridhiaContext` and\n * the current Synapse access token, exchanges it for a fresh Aridhia token (tokens are\n * single-use — see `aridhiaTokenExchange.ts`), runs `queryFn` with the resulting `Configuration`,\n * and normalizes any failure into an `AridhiaError`.\n */\nexport function useAridhiaQuery<T>(\n queryKey: QueryKey,\n queryFn: (config: Configuration) => Promise<T>,\n options?: Partial<UseQueryOptions<T, AridhiaError, T>>,\n): UseQueryResult<T, AridhiaError> {\n const { enabled: baseEnabled, run } = useAridhiaCall()\n // Composed, not overridden: a caller's `enabled` (e.g. \"workflowKey is known yet\") can only\n // narrow when the query runs, never bypass the token/context prerequisite.\n const { enabled: callerEnabled, ...restOptions } = options ?? {}\n const enabled =\n callerEnabled === undefined ? baseEnabled : baseEnabled && !!callerEnabled\n\n return useQuery<T, AridhiaError, T>({\n ...restOptions,\n enabled,\n queryKey,\n queryFn: () => run(queryFn),\n })\n}\n\n/**\n * Shared mutation primitive for every Aridhia (C-Path FAIR) write: resolves the `AridhiaContext`\n * and the current Synapse access token, exchanges it for a fresh Aridhia token (tokens are\n * single-use — see `aridhiaTokenExchange.ts`), runs `mutationFn` with the resulting\n * `Configuration` and the mutation variables, and normalizes any failure into an `AridhiaError`.\n */\nexport function useAridhiaMutation<TData, TVariables = void>(\n mutationFn: (config: Configuration, variables: TVariables) => Promise<TData>,\n options?: Partial<UseMutationOptions<TData, AridhiaError, TVariables>>,\n): UseMutationResult<TData, AridhiaError, TVariables> {\n const { run } = useAridhiaCall()\n\n return useMutation<TData, AridhiaError, TVariables>({\n ...options,\n mutationFn: variables => run(config => mutationFn(config, variables)),\n })\n}\n"],"mappings":";;;;;;AAiCA,IAAa,IAAb,cAAkC,MAAM;CACtC;CACA;CAEA;CAEA,YACE,GACA,GACA,GACA;EAKA,AAJA,MAAM,CAAO,GACb,KAAK,OAAO,gBACZ,KAAK,OAAO,GACZ,KAAK,aAAa,GAAS,YAC3B,KAAK,uBAAuB,GAAS,wBAAwB;CAC/D;AACF;AAUA,SAAS,EAAyB,GAAmC;CACnE,IAAI,CAAC,KAAQ,OAAO,KAAS,UAC3B;CAEF,IAAM,IAAa,WAAW,IAAO,EAAK,QAAQ,KAAA;CAClD,IAAI,OAAO,KAAe,UACxB,OAAO;CAET,IAAI,KAAc,OAAO,KAAe,UAAU;EAChD,IAAI,aAAa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AE,SAAS,GAAa,WAAQ,EAAe,GAG/C,EAAE,SAAS,GAAe,GAAG,MAAgB,KAAW,CAAC,GACzD,IACJ,MAAkB,KAAA,IAAY,IAAc,KAAe,CAAC,CAAC;CAE/D,OAAO,EAA6B;EAClC,GAAG;EACH;EACA;EACA,eAAe,EAAI,CAAO;CAC5B,CAAC;AACH;AAQA,SAAgB,EACd,GACA,GACoD;CACpD,IAAM,EAAE,WAAQ,EAAe;CAE/B,OAAO,EAA6C;EAClD,GAAG;EACH,aAAY,MAAa,GAAI,MAAU,EAAW,GAAQ,CAAS,CAAC;CACtE,CAAC;AACH"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e } from "react";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
var r = e((e, r) => /* @__PURE__ */ n("svg", {
|
|
4
|
-
width:
|
|
5
|
-
height:
|
|
6
|
-
viewBox: "0 0
|
|
4
|
+
width: 40,
|
|
5
|
+
height: 44,
|
|
6
|
+
viewBox: "0 0 40 44",
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
ref: r,
|
|
@@ -11,54 +11,54 @@ var r = e((e, r) => /* @__PURE__ */ n("svg", {
|
|
|
11
11
|
children: [
|
|
12
12
|
/* @__PURE__ */ t("path", {
|
|
13
13
|
opacity: .5,
|
|
14
|
-
d: "
|
|
14
|
+
d: "M8.27545 43.1727H7.4878V37.1752C7.4878 36.891 7.25691 36.6593 6.97289 36.6593H5.92906C2.66004 36.6593 0 33.999 0 30.7294V8.29297V28.3659C0 31.6359 2.66004 34.2958 5.92906 34.2958H6.97289C7.25691 34.2958 7.4878 34.5274 7.4878 34.8116V40.8096H8.27545C12.2145 40.8096 15.717 38.4511 17.1964 34.7995C17.3202 34.4936 17.6156 34.2958 17.9484 34.2958H33.7926C37.0618 34.2958 39.7217 31.6359 39.7217 28.3659V30.7294C39.7217 33.999 37.0618 36.6593 33.7926 36.6593H17.9484C17.6156 36.6593 17.3202 36.8572 17.1964 37.1627C15.717 40.8142 12.2145 43.1727 8.27545 43.1727Z",
|
|
15
15
|
fill: "#5A488F"
|
|
16
16
|
}),
|
|
17
17
|
/* @__PURE__ */ t("path", {
|
|
18
|
-
d: "
|
|
18
|
+
d: "M39.7217 5.92994V28.3662C39.7217 31.6363 37.0618 34.2962 33.7926 34.2962H17.9484C17.6156 34.2962 17.3202 34.494 17.1964 34.7999C15.717 38.4515 12.2145 40.81 8.27545 40.81H7.4878V34.812C7.4878 34.5278 7.25691 34.2962 6.97289 34.2962H5.92906C2.66004 34.2962 0 31.6363 0 28.3662V5.92994C0 2.66 2.66004 0 5.92906 0H33.7926C37.0618 0 39.7217 2.66 39.7217 5.92994Z",
|
|
19
19
|
fill: "white"
|
|
20
20
|
}),
|
|
21
21
|
/* @__PURE__ */ t("path", {
|
|
22
|
-
d: "
|
|
22
|
+
d: "M7.31543 26.5208V7.72998L13.5991 12.4276L19.8827 17.1253L13.5991 21.823L7.31543 26.5208Z",
|
|
23
23
|
fill: "#EE986D"
|
|
24
24
|
}),
|
|
25
25
|
/* @__PURE__ */ t("path", {
|
|
26
|
-
d: "
|
|
26
|
+
d: "M7.31543 26.5208V7.72998L13.5991 12.4276L19.8827 17.1253L13.5991 21.823L7.31543 26.5208Z",
|
|
27
27
|
fill: "black",
|
|
28
28
|
fillOpacity: .1
|
|
29
29
|
}),
|
|
30
30
|
/* @__PURE__ */ t("path", {
|
|
31
|
-
d: "
|
|
31
|
+
d: "M32.4501 7.72998V26.5207L26.1663 21.8228L21.4675 18.3102L20.9204 17.9008L19.8828 17.1251L20.6132 16.5791L26.1663 12.4273L28.0135 11.0466L32.4501 7.72998Z",
|
|
32
32
|
fill: "#EE986D"
|
|
33
33
|
}),
|
|
34
34
|
/* @__PURE__ */ t("path", {
|
|
35
|
-
d: "
|
|
35
|
+
d: "M32.4501 7.72998V26.5207L26.1663 21.8228L21.4675 18.3102L20.9204 17.9008L19.8828 17.1251L20.6132 16.5791L26.1663 12.4273L28.0135 11.0466L32.4501 7.72998Z",
|
|
36
36
|
fill: "black",
|
|
37
37
|
fillOpacity: .1
|
|
38
38
|
}),
|
|
39
39
|
/* @__PURE__ */ t("path", {
|
|
40
|
-
d: "
|
|
40
|
+
d: "M32.45 26.5206H7.31543L13.5991 21.243L19.8827 15.9653L26.1662 21.243L32.45 26.5206Z",
|
|
41
41
|
fill: "#EE986D"
|
|
42
42
|
}),
|
|
43
43
|
/* @__PURE__ */ t("path", {
|
|
44
|
-
d: "
|
|
44
|
+
d: "M20.6133 16.5791L19.8825 15.9654L19.1519 16.579L13.5988 12.4275L7.31543 7.72998H32.4498L28.0132 11.0466L26.1659 12.4273L20.6129 16.5791",
|
|
45
45
|
fill: "#E5E5E5"
|
|
46
46
|
}),
|
|
47
47
|
/* @__PURE__ */ t("path", {
|
|
48
|
-
d: "
|
|
48
|
+
d: "M32.4498 7.72998L28.2966 11.3938L26.166 13.2735L21.5382 17.3562L20.9201 17.9008L19.8825 18.8165L18.8448 17.9008L18.2268 17.3562L13.599 13.2735L7.31543 7.72998H32.4498Z",
|
|
49
49
|
fill: "#EE986D"
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ t("path", {
|
|
52
|
-
d: "
|
|
52
|
+
d: "M19.8803 20.8003L7.31543 7.72901L19.8829 18.8172L32.4583 7.72852L19.8803 20.8003Z",
|
|
53
53
|
fill: "black",
|
|
54
54
|
fillOpacity: .1
|
|
55
55
|
}),
|
|
56
56
|
/* @__PURE__ */ t("path", {
|
|
57
|
-
d: "
|
|
57
|
+
d: "M35.8079 4.37106C33.9532 2.51629 30.9461 2.51629 29.0913 4.37106C27.2365 6.22584 27.2365 9.23308 29.0913 11.0879C30.9461 12.9426 33.9532 12.9426 35.8079 11.0879C37.6627 9.23308 37.6627 6.22584 35.8079 4.37106Z",
|
|
58
58
|
fill: "#D46E7B"
|
|
59
59
|
}),
|
|
60
60
|
/* @__PURE__ */ t("path", {
|
|
61
|
-
d: "
|
|
61
|
+
d: "M31.2568 9.78726V9.21296L32.0582 9.16246V6.39812L31.2568 6.49908V5.90588L32.4497 5.67236H32.8662V9.16246L33.6425 9.21296V9.78726H31.2568Z",
|
|
62
62
|
fill: "white"
|
|
63
63
|
})
|
|
64
64
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailWithNotification.js","names":[],"sources":["../../../src/assets/icons/emailWithNotification.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgEmailWithNotification = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth:
|
|
1
|
+
{"version":3,"file":"emailWithNotification.js","names":[],"sources":["../../../src/assets/icons/emailWithNotification.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgEmailWithNotification = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth: 40,\n\theight: 44,\n\tviewBox: \"0 0 40 44\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\topacity: .5,\n\t\t\td: \"M8.27545 43.1727H7.4878V37.1752C7.4878 36.891 7.25691 36.6593 6.97289 36.6593H5.92906C2.66004 36.6593 0 33.999 0 30.7294V8.29297V28.3659C0 31.6359 2.66004 34.2958 5.92906 34.2958H6.97289C7.25691 34.2958 7.4878 34.5274 7.4878 34.8116V40.8096H8.27545C12.2145 40.8096 15.717 38.4511 17.1964 34.7995C17.3202 34.4936 17.6156 34.2958 17.9484 34.2958H33.7926C37.0618 34.2958 39.7217 31.6359 39.7217 28.3659V30.7294C39.7217 33.999 37.0618 36.6593 33.7926 36.6593H17.9484C17.6156 36.6593 17.3202 36.8572 17.1964 37.1627C15.717 40.8142 12.2145 43.1727 8.27545 43.1727Z\",\n\t\t\tfill: \"#5A488F\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M39.7217 5.92994V28.3662C39.7217 31.6363 37.0618 34.2962 33.7926 34.2962H17.9484C17.6156 34.2962 17.3202 34.494 17.1964 34.7999C15.717 38.4515 12.2145 40.81 8.27545 40.81H7.4878V34.812C7.4878 34.5278 7.25691 34.2962 6.97289 34.2962H5.92906C2.66004 34.2962 0 31.6363 0 28.3662V5.92994C0 2.66 2.66004 0 5.92906 0H33.7926C37.0618 0 39.7217 2.66 39.7217 5.92994Z\",\n\t\t\tfill: \"white\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M7.31543 26.5208V7.72998L13.5991 12.4276L19.8827 17.1253L13.5991 21.823L7.31543 26.5208Z\",\n\t\t\tfill: \"#EE986D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M7.31543 26.5208V7.72998L13.5991 12.4276L19.8827 17.1253L13.5991 21.823L7.31543 26.5208Z\",\n\t\t\tfill: \"black\",\n\t\t\tfillOpacity: .1\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M32.4501 7.72998V26.5207L26.1663 21.8228L21.4675 18.3102L20.9204 17.9008L19.8828 17.1251L20.6132 16.5791L26.1663 12.4273L28.0135 11.0466L32.4501 7.72998Z\",\n\t\t\tfill: \"#EE986D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M32.4501 7.72998V26.5207L26.1663 21.8228L21.4675 18.3102L20.9204 17.9008L19.8828 17.1251L20.6132 16.5791L26.1663 12.4273L28.0135 11.0466L32.4501 7.72998Z\",\n\t\t\tfill: \"black\",\n\t\t\tfillOpacity: .1\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M32.45 26.5206H7.31543L13.5991 21.243L19.8827 15.9653L26.1662 21.243L32.45 26.5206Z\",\n\t\t\tfill: \"#EE986D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M20.6133 16.5791L19.8825 15.9654L19.1519 16.579L13.5988 12.4275L7.31543 7.72998H32.4498L28.0132 11.0466L26.1659 12.4273L20.6129 16.5791\",\n\t\t\tfill: \"#E5E5E5\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M32.4498 7.72998L28.2966 11.3938L26.166 13.2735L21.5382 17.3562L20.9201 17.9008L19.8825 18.8165L18.8448 17.9008L18.2268 17.3562L13.599 13.2735L7.31543 7.72998H32.4498Z\",\n\t\t\tfill: \"#EE986D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M19.8803 20.8003L7.31543 7.72901L19.8829 18.8172L32.4583 7.72852L19.8803 20.8003Z\",\n\t\t\tfill: \"black\",\n\t\t\tfillOpacity: .1\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M35.8079 4.37106C33.9532 2.51629 30.9461 2.51629 29.0913 4.37106C27.2365 6.22584 27.2365 9.23308 29.0913 11.0879C30.9461 12.9426 33.9532 12.9426 35.8079 11.0879C37.6627 9.23308 37.6627 6.22584 35.8079 4.37106Z\",\n\t\t\tfill: \"#D46E7B\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M31.2568 9.78726V9.21296L32.0582 9.16246V6.39812L31.2568 6.49908V5.90588L32.4497 5.67236H32.8662V9.16246L33.6425 9.21296V9.78726H31.2568Z\",\n\t\t\tfill: \"white\"\n\t\t})\n\t]\n});\nconst ForwardRef = forwardRef(SvgEmailWithNotification);\nexport { ForwardRef as ReactComponent };\n"],"mappings":";;AAkEA,IAAM,IAAa,GA/De,GAAO,MAAwB,kBAAM,OAAO;CAC7E,OAAO;CACP,QAAQ;CACR,SAAS;CACT,MAAM;CACN,OAAO;CACP;CACA,GAAG;CACH,UAAU;EACO,kBAAK,QAAQ;GAC5B,SAAS;GACT,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,kBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;CACF;AACD,CAAC,CACqD"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path opacity="0.5" d="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
6
|
-
<path d="
|
|
7
|
-
<path d="
|
|
8
|
-
<path d="
|
|
9
|
-
<path d="
|
|
10
|
-
<path d="
|
|
11
|
-
<path d="
|
|
12
|
-
<path d="
|
|
13
|
-
<path d="
|
|
1
|
+
<svg width="40" height="44" viewBox="0 0 40 44" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path opacity="0.5" d="M8.27545 43.1727H7.4878V37.1752C7.4878 36.891 7.25691 36.6593 6.97289 36.6593H5.92906C2.66004 36.6593 0 33.999 0 30.7294V8.29297V28.3659C0 31.6359 2.66004 34.2958 5.92906 34.2958H6.97289C7.25691 34.2958 7.4878 34.5274 7.4878 34.8116V40.8096H8.27545C12.2145 40.8096 15.717 38.4511 17.1964 34.7995C17.3202 34.4936 17.6156 34.2958 17.9484 34.2958H33.7926C37.0618 34.2958 39.7217 31.6359 39.7217 28.3659V30.7294C39.7217 33.999 37.0618 36.6593 33.7926 36.6593H17.9484C17.6156 36.6593 17.3202 36.8572 17.1964 37.1627C15.717 40.8142 12.2145 43.1727 8.27545 43.1727Z" fill="#5A488F"/>
|
|
3
|
+
<path d="M39.7217 5.92994V28.3662C39.7217 31.6363 37.0618 34.2962 33.7926 34.2962H17.9484C17.6156 34.2962 17.3202 34.494 17.1964 34.7999C15.717 38.4515 12.2145 40.81 8.27545 40.81H7.4878V34.812C7.4878 34.5278 7.25691 34.2962 6.97289 34.2962H5.92906C2.66004 34.2962 0 31.6363 0 28.3662V5.92994C0 2.66 2.66004 0 5.92906 0H33.7926C37.0618 0 39.7217 2.66 39.7217 5.92994Z" fill="white"/>
|
|
4
|
+
<path d="M7.31543 26.5208V7.72998L13.5991 12.4276L19.8827 17.1253L13.5991 21.823L7.31543 26.5208Z" fill="#EE986D"/>
|
|
5
|
+
<path d="M7.31543 26.5208V7.72998L13.5991 12.4276L19.8827 17.1253L13.5991 21.823L7.31543 26.5208Z" fill="black" fill-opacity="0.1"/>
|
|
6
|
+
<path d="M32.4501 7.72998V26.5207L26.1663 21.8228L21.4675 18.3102L20.9204 17.9008L19.8828 17.1251L20.6132 16.5791L26.1663 12.4273L28.0135 11.0466L32.4501 7.72998Z" fill="#EE986D"/>
|
|
7
|
+
<path d="M32.4501 7.72998V26.5207L26.1663 21.8228L21.4675 18.3102L20.9204 17.9008L19.8828 17.1251L20.6132 16.5791L26.1663 12.4273L28.0135 11.0466L32.4501 7.72998Z" fill="black" fill-opacity="0.1"/>
|
|
8
|
+
<path d="M32.45 26.5206H7.31543L13.5991 21.243L19.8827 15.9653L26.1662 21.243L32.45 26.5206Z" fill="#EE986D"/>
|
|
9
|
+
<path d="M20.6133 16.5791L19.8825 15.9654L19.1519 16.579L13.5988 12.4275L7.31543 7.72998H32.4498L28.0132 11.0466L26.1659 12.4273L20.6129 16.5791" fill="#E5E5E5"/>
|
|
10
|
+
<path d="M32.4498 7.72998L28.2966 11.3938L26.166 13.2735L21.5382 17.3562L20.9201 17.9008L19.8825 18.8165L18.8448 17.9008L18.2268 17.3562L13.599 13.2735L7.31543 7.72998H32.4498Z" fill="#EE986D"/>
|
|
11
|
+
<path d="M19.8803 20.8003L7.31543 7.72901L19.8829 18.8172L32.4583 7.72852L19.8803 20.8003Z" fill="black" fill-opacity="0.1"/>
|
|
12
|
+
<path d="M35.8079 4.37106C33.9532 2.51629 30.9461 2.51629 29.0913 4.37106C27.2365 6.22584 27.2365 9.23308 29.0913 11.0879C30.9461 12.9426 33.9532 12.9426 35.8079 11.0879C37.6627 9.23308 37.6627 6.22584 35.8079 4.37106Z" fill="#D46E7B"/>
|
|
13
|
+
<path d="M31.2568 9.78726V9.21296L32.0582 9.16246V6.39812L31.2568 6.49908V5.90588L32.4497 5.67236H32.8662V9.16246L33.6425 9.21296V9.78726H31.2568Z" fill="white"/>
|
|
14
14
|
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessRequirementList.d.ts","sourceRoot":"","sources":["../../../src/components/AccessRequirementList/AccessRequirementList.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACL,iBAAiB,EAIjB,2BAA2B,EAC3B,OAAO,EACP,OAAO,EACP,sBAAsB,EAGvB,MAAM,iCAAiC,CAAA;AAGxC,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"AccessRequirementList.d.ts","sourceRoot":"","sources":["../../../src/components/AccessRequirementList/AccessRequirementList.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACL,iBAAiB,EAIjB,2BAA2B,EAC3B,OAAO,EACP,OAAO,EACP,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