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