synapse-react-client 4.0.2 → 4.0.4
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/assets/icons/AwardScroll.d.ts +5 -0
- package/dist/assets/icons/AwardScroll.d.ts.map +1 -0
- package/dist/assets/icons/AwardScroll.js +78 -0
- package/dist/assets/icons/AwardScroll.js.map +1 -0
- package/dist/assets/icons/Baseline.d.ts +5 -0
- package/dist/assets/icons/Baseline.d.ts.map +1 -0
- package/dist/assets/icons/Baseline.js +43 -0
- package/dist/assets/icons/Baseline.js.map +1 -0
- package/dist/assets/icons/Challenge.svg +13 -0
- package/dist/assets/icons/Challenge.svg.js +7 -0
- package/dist/assets/icons/Challenge.svg.js.map +1 -0
- package/dist/assets/icons/ClappingHands.d.ts +5 -0
- package/dist/assets/icons/ClappingHands.d.ts.map +1 -0
- package/dist/assets/icons/ClappingHands.js +106 -0
- package/dist/assets/icons/ClappingHands.js.map +1 -0
- package/dist/assets/icons/HandWithMoney.d.ts +5 -0
- package/dist/assets/icons/HandWithMoney.d.ts.map +1 -0
- package/dist/assets/icons/HandWithMoney.js +15 -0
- package/dist/assets/icons/HandWithMoney.js.map +1 -0
- package/dist/assets/icons/MultiFile.d.ts +5 -0
- package/dist/assets/icons/MultiFile.d.ts.map +1 -0
- package/dist/assets/icons/MultiFile.js +8 -0
- package/dist/assets/icons/MultiFile.js.map +1 -0
- package/dist/assets/icons/MultiFile.svg +4 -0
- package/dist/assets/icons/MultiFile.svg.js +7 -0
- package/dist/assets/icons/MultiFile.svg.js.map +1 -0
- package/dist/assets/icons/OpenBook.d.ts +5 -0
- package/dist/assets/icons/OpenBook.d.ts.map +1 -0
- package/dist/assets/icons/OpenBook.js +99 -0
- package/dist/assets/icons/OpenBook.js.map +1 -0
- package/dist/assets/icons/Podium.d.ts +5 -0
- package/dist/assets/icons/Podium.d.ts.map +1 -0
- package/dist/assets/icons/Podium.js +36 -0
- package/dist/assets/icons/Podium.js.map +1 -0
- package/dist/assets/icons/RosetteRibbon.d.ts +5 -0
- package/dist/assets/icons/RosetteRibbon.d.ts.map +1 -0
- package/dist/assets/icons/RosetteRibbon.js +36 -0
- package/dist/assets/icons/RosetteRibbon.js.map +1 -0
- package/dist/assets/icons/StarTrophy.d.ts +5 -0
- package/dist/assets/icons/StarTrophy.d.ts.map +1 -0
- package/dist/assets/icons/StarTrophy.js +99 -0
- package/dist/assets/icons/StarTrophy.js.map +1 -0
- package/dist/assets/icons/ThreeStars.d.ts +5 -0
- package/dist/assets/icons/ThreeStars.d.ts.map +1 -0
- package/dist/assets/icons/ThreeStars.js +71 -0
- package/dist/assets/icons/ThreeStars.js.map +1 -0
- package/dist/assets/icons/UnpackagableFile.d.ts +5 -0
- package/dist/assets/icons/UnpackagableFile.d.ts.map +1 -0
- package/dist/assets/icons/UnpackagableFile.js +8 -0
- package/dist/assets/icons/UnpackagableFile.js.map +1 -0
- package/dist/assets/icons/UnpackagableFile.svg +4 -0
- package/dist/assets/icons/UnpackagableFile.svg.js +7 -0
- package/dist/assets/icons/UnpackagableFile.svg.js.map +1 -0
- package/dist/assets/mui_components/PackagableFile.d.ts.map +1 -1
- package/dist/assets/mui_components/PackagableFile.js +5 -4
- package/dist/assets/mui_components/PackagableFile.js.map +1 -1
- package/dist/assets/mui_components/PackagableFile.svg +3 -0
- package/dist/assets/mui_components/PackagableFile.svg.js +7 -0
- package/dist/assets/mui_components/PackagableFile.svg.js.map +1 -0
- package/dist/assets/themed_icons/index.d.ts +1 -2
- package/dist/assets/themed_icons/index.d.ts.map +1 -1
- package/dist/assets/themed_icons/index.js +8 -10
- package/dist/assets/themed_icons/index.js.map +1 -1
- package/dist/components/AccessRequirement/AddConditionsForUseButton/AddConditionsForUseButton.js +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.js +4 -4
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsEditor.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsEditor.js +8 -7
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/DataAccessRequestAccessorsEditor.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManagedACTAccessRequirementFormWikiWrapper.js +4 -4
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManagedACTAccessRequirementItem.js +11 -11
- package/dist/components/AccessRequirementList/RequirementItem/RequirementItem.js +1 -1
- package/dist/components/AccessRequirementList/RequirementItem/SelfSignAccessRequirementItem.js +9 -9
- package/dist/components/AccessRequirementList/RequirementItem/UnmanagedACTAccessRequirementItem.js +5 -5
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.d.ts.map +1 -1
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js +36 -35
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js.map +1 -1
- package/dist/components/AclEditor/AclEditor.js +8 -8
- package/dist/components/AclEditor/AclEditor.js.map +1 -1
- package/dist/components/AclEditor/AclEditor.test-utils.js +34 -34
- package/dist/components/AclEditor/AclEditor.test-utils.js.map +1 -1
- package/dist/components/AddToDownloadListV2.js +10 -10
- package/dist/components/AddToDownloadListV2.js.map +1 -1
- package/dist/components/Authentication/AuthenticationMethodSelection.js +1 -1
- package/dist/components/Authentication/TwoFactorEnrollmentForm.d.ts.map +1 -1
- package/dist/components/Authentication/TwoFactorEnrollmentForm.js +6 -5
- package/dist/components/Authentication/TwoFactorEnrollmentForm.js.map +1 -1
- package/dist/components/BasePortalCard/BasePortalCard.css +1 -1
- package/dist/components/BasePortalCard/BasePortalCard.d.ts +1 -2
- package/dist/components/BasePortalCard/BasePortalCard.d.ts.map +1 -1
- package/dist/components/BasePortalCard/BasePortalCard.js +21 -28
- package/dist/components/BasePortalCard/BasePortalCard.js.map +1 -1
- package/dist/components/BasePortalCard/BasePortalCard.module.scss +13 -1
- package/dist/components/BasePortalCard/BasePortalCard.module.scss.js +11 -11
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.css +1 -1
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.d.ts.map +1 -1
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.js +25 -25
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.js.map +1 -1
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.module.scss +13 -5
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.module.scss.js +5 -5
- package/dist/components/CardContainer/CardLink.d.ts +12 -0
- package/dist/components/CardContainer/CardLink.d.ts.map +1 -1
- package/dist/components/CardContainerLogic/CardContainerLogic.d.ts +5 -1
- package/dist/components/CardContainerLogic/CardContainerLogic.d.ts.map +1 -1
- package/dist/components/CardContainerLogic/CardContainerLogic.js.map +1 -1
- package/dist/components/CardContainerLogic/index.d.ts +1 -1
- package/dist/components/CardContainerLogic/index.d.ts.map +1 -1
- package/dist/components/CardDeck/TableQueryCardDeck.js +12 -9
- package/dist/components/CardDeck/TableQueryCardDeck.js.map +1 -1
- package/dist/components/ChallengeDataDownload/ChallengeDataDownload.js +33 -33
- package/dist/components/ChallengeDataDownload/ChallengeDataDownload.js.map +1 -1
- package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js +12 -12
- package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.d.ts.map +1 -1
- package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.js +7 -7
- package/dist/components/ChallengeTeamWizard/CreateChallengeTeam.js.map +1 -1
- package/dist/components/ChangePassword/useChangePasswordFormState.js +5 -2
- package/dist/components/ChangePassword/useChangePasswordFormState.js.map +1 -1
- package/dist/components/CitationPopover/CitationPopoverContent.d.ts.map +1 -1
- package/dist/components/CitationPopover/CitationPopoverContent.js +13 -12
- package/dist/components/CitationPopover/CitationPopoverContent.js.map +1 -1
- package/dist/components/ComponentCollapse.d.ts +6 -10
- package/dist/components/ComponentCollapse.d.ts.map +1 -1
- package/dist/components/ComponentCollapse.js +31 -35
- package/dist/components/ComponentCollapse.js.map +1 -1
- package/dist/components/CookiesNotification/CookiesNotification.js +1 -1
- package/dist/components/CreateOrUpdateAccessRequirementWizard/CreateOrUpdateAccessRequirementWizard.js +12 -10
- package/dist/components/CreateOrUpdateAccessRequirementWizard/CreateOrUpdateAccessRequirementWizard.js.map +1 -1
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.js +10 -5
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.js.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.js +43 -38
- package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
- package/dist/components/DataGrid/components/UploadCsvToGridDialog.js +10 -5
- package/dist/components/DataGrid/components/UploadCsvToGridDialog.js.map +1 -1
- package/dist/components/DataGrid/hooks/useExportDataGridToCsv.d.ts.map +1 -1
- package/dist/components/DataGrid/hooks/useExportDataGridToCsv.js +9 -7
- package/dist/components/DataGrid/hooks/useExportDataGridToCsv.js.map +1 -1
- package/dist/components/DirectDownload/DirectDownload.d.ts.map +1 -1
- package/dist/components/DirectDownload/DirectDownload.js +23 -23
- package/dist/components/DirectDownload/DirectDownload.js.map +1 -1
- package/dist/components/DownloadCart/ActionRequiredCard/ActionRequiredCard.js +1 -1
- package/dist/components/DownloadCart/AvailableForDownloadTable.d.ts +6 -2
- package/dist/components/DownloadCart/AvailableForDownloadTable.d.ts.map +1 -1
- package/dist/components/DownloadCart/AvailableForDownloadTable.js +10 -8
- package/dist/components/DownloadCart/AvailableForDownloadTable.js.map +1 -1
- package/dist/components/DownloadCart/CreatePackageV2.css +1 -0
- package/dist/components/DownloadCart/CreatePackageV2.d.ts.map +1 -1
- package/dist/components/DownloadCart/CreatePackageV2.js +50 -46
- package/dist/components/DownloadCart/CreatePackageV2.js.map +1 -1
- package/dist/components/DownloadCart/CreatePackageV2.module.scss +38 -0
- package/dist/components/DownloadCart/CreatePackageV2.module.scss.js +14 -0
- package/dist/components/DownloadCart/CreatePackageV2.module.scss.js.map +1 -0
- package/dist/components/DownloadCart/DownloadCartPage.css +1 -0
- package/dist/components/DownloadCart/DownloadCartPage.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js +316 -186
- package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.module.scss +217 -0
- package/dist/components/DownloadCart/DownloadCartPage.module.scss.js +48 -0
- package/dist/components/DownloadCart/DownloadCartPage.module.scss.js.map +1 -0
- package/dist/components/DownloadCart/DownloadDetails.js +1 -1
- package/dist/components/DownloadCart/DownloadDetails.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js +33 -33
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js.map +1 -1
- package/dist/components/DownloadCart/DownloadListTable.d.ts +4 -1
- package/dist/components/DownloadCart/DownloadListTable.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadListTable.js +156 -236
- package/dist/components/DownloadCart/DownloadListTable.js.map +1 -1
- package/dist/components/DownloadCart/RequestDownloadCard.js +1 -1
- package/dist/components/DownloadCart/ShowDownloadV2.js +5 -5
- package/dist/components/DownloadCart/ShowDownloadV2.js.map +1 -1
- package/dist/components/Ecosystem/EcosystemSkeleton.js +10 -5
- package/dist/components/Ecosystem/EcosystemSkeleton.js.map +1 -1
- package/dist/components/Ecosystem/TableQueryEcosystem.js +1 -1
- package/dist/components/EntityAclEditor/EntityAclEditorModal.js +1 -1
- package/dist/components/EntityAclEditor/OpenData.js +1 -1
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.d.ts.map +1 -1
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js +113 -127
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js.map +1 -1
- package/dist/components/EntityCitation/EntityCitation.js +1 -1
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js +20 -20
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js.map +1 -1
- package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.js +4 -4
- package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.js.map +1 -1
- package/dist/components/EntityFinder/details/view/table/CreatedOnCell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/EntityNameCell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/FileEntityMD5Cell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/FileEntitySizeCell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/ModifiedByCell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/ModifiedOnCell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/ParentProjectCell.js +1 -1
- package/dist/components/EntityFinder/tree/EntityTree.js +1 -1
- package/dist/components/EntityHeaderTable/EntityHeaderTable.d.ts.map +1 -1
- package/dist/components/EntityHeaderTable/EntityHeaderTable.js +39 -39
- package/dist/components/EntityHeaderTable/EntityHeaderTable.js.map +1 -1
- package/dist/components/Evaluation/DeleteEvaluationQueueConfirmationDialog.d.ts +8 -0
- package/dist/components/Evaluation/DeleteEvaluationQueueConfirmationDialog.d.ts.map +1 -0
- package/dist/components/Evaluation/DeleteEvaluationQueueConfirmationDialog.js +46 -0
- package/dist/components/Evaluation/DeleteEvaluationQueueConfirmationDialog.js.map +1 -0
- package/dist/components/Evaluation/EvaluationCard.d.ts.map +1 -1
- package/dist/components/Evaluation/EvaluationCard.js +35 -41
- package/dist/components/Evaluation/EvaluationCard.js.map +1 -1
- package/dist/components/Evaluation/EvaluationEditor.d.ts.map +1 -1
- package/dist/components/Evaluation/EvaluationEditor.js +95 -90
- package/dist/components/Evaluation/EvaluationEditor.js.map +1 -1
- package/dist/components/Evaluation/EvaluationRoundEditor.d.ts.map +1 -1
- package/dist/components/Evaluation/EvaluationRoundEditor.js +133 -124
- package/dist/components/Evaluation/EvaluationRoundEditor.js.map +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js +6 -2
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js.map +1 -1
- package/dist/components/FeaturedDataTabs/FeaturedDataTabs.js +11 -8
- package/dist/components/FeaturedDataTabs/FeaturedDataTabs.js.map +1 -1
- package/dist/components/FilePreview/EntityPreview.js +1 -1
- package/dist/components/Forum/DiscussionReply.js +10 -10
- package/dist/components/Forum/DiscussionThread.js +21 -21
- package/dist/components/FullWidthAlert/FullWidthAlert.d.ts +2 -2
- package/dist/components/FullWidthAlert/FullWidthAlert.js.map +1 -1
- package/dist/components/GenericCard/CardUtils.d.ts.map +1 -1
- package/dist/components/GenericCard/CardUtils.js +36 -36
- package/dist/components/GenericCard/CardUtils.js.map +1 -1
- package/dist/components/GenericCard/CollapsibleDescription.js +25 -25
- package/dist/components/GenericCard/GenericCard.d.ts +5 -5
- package/dist/components/GenericCard/GenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/GenericCard.js +117 -103
- package/dist/components/GenericCard/GenericCard.js.map +1 -1
- package/dist/components/GenericCard/LabelMaybeWithIcon.d.ts +10 -0
- package/dist/components/GenericCard/LabelMaybeWithIcon.d.ts.map +1 -0
- package/dist/components/GenericCard/LabelMaybeWithIcon.js +33 -0
- package/dist/components/GenericCard/LabelMaybeWithIcon.js.map +1 -0
- package/dist/components/GenericCard/SynapseCardLabel.d.ts +2 -1
- package/dist/components/GenericCard/SynapseCardLabel.d.ts.map +1 -1
- package/dist/components/GenericCard/SynapseCardLabel.js +95 -85
- package/dist/components/GenericCard/SynapseCardLabel.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts +10 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +248 -209
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/GoalsV2/GoalsV2.Desktop.d.ts.map +1 -1
- package/dist/components/GoalsV2/GoalsV2.Desktop.js +14 -15
- package/dist/components/GoalsV2/GoalsV2.Desktop.js.map +1 -1
- package/dist/components/GoogleAnalytics/GoogleAnalytics.js +1 -1
- package/dist/components/HasAccess/HasAccessV2.js +1 -1
- package/dist/components/HasAccess/useHasAccess.js +1 -1
- package/dist/components/HeaderCard.js +17 -13
- package/dist/components/HeaderCard.js.map +1 -1
- package/dist/components/IDUReport/IDUReportSubmissionInfo.js +23 -23
- package/dist/components/IDUReport/IDUReportSubmissionInfo.js.map +1 -1
- package/dist/components/Icon/Icon.js +52 -52
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/IconSvg/IconSvg.d.ts +1 -1
- package/dist/components/IconSvg/IconSvg.d.ts.map +1 -1
- package/dist/components/IconSvg/IconSvg.js +215 -171
- package/dist/components/IconSvg/IconSvg.js.map +1 -1
- package/dist/components/JSONArrayEditor/useParseCsv.d.ts +1 -1
- package/dist/components/JSONArrayEditor/useParseCsv.d.ts.map +1 -1
- package/dist/components/JSONArrayEditor/useParseCsv.js +9 -9
- package/dist/components/JSONArrayEditor/useParseCsv.js.map +1 -1
- package/dist/components/Markdown/MarkdownCollapse.js +7 -7
- package/dist/components/Markdown/MarkdownEditor.js +11 -11
- package/dist/components/Markdown/MarkdownGithub.js +1 -1
- package/dist/components/Markdown/MarkdownPopover.js +6 -6
- package/dist/components/Markdown/MarkdownPopover.js.map +1 -1
- package/dist/components/Markdown/MarkdownSynapse.d.ts.map +1 -1
- package/dist/components/Markdown/MarkdownSynapse.js +139 -135
- package/dist/components/Markdown/MarkdownSynapse.js.map +1 -1
- package/dist/components/Markdown/MarkdownUtils.d.ts +8 -0
- package/dist/components/Markdown/MarkdownUtils.d.ts.map +1 -1
- package/dist/components/Markdown/MarkdownUtils.js +139 -65
- package/dist/components/Markdown/MarkdownUtils.js.map +1 -1
- package/dist/components/Markdown/UserMentionModal.js +18 -18
- package/dist/components/Markdown/UserMentionModal.js.map +1 -1
- package/dist/components/Markdown/widget/MarkdownButton.js +3 -3
- package/dist/components/Markdown/widget/MarkdownButton.js.map +1 -1
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.d.ts.map +1 -1
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js +9 -8
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js.map +1 -1
- package/dist/components/Plot/SynapsePlot.css +1 -0
- package/dist/components/Plot/SynapsePlot.d.ts +2 -0
- package/dist/components/Plot/SynapsePlot.d.ts.map +1 -1
- package/dist/components/Plot/SynapsePlot.js +43 -39
- package/dist/components/Plot/SynapsePlot.js.map +1 -1
- package/dist/components/Plot/SynapsePlot.scss +8 -0
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +1 -0
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +137 -135
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperSynapsePlot.d.ts +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperSynapsePlot.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperSynapsePlot.js.map +1 -1
- package/dist/components/Resources/Resources.Desktop.js +7 -7
- package/dist/components/Resources/Resources.Mobile.js +6 -6
- package/dist/components/StorybookComponentWrapper.js +6 -3
- package/dist/components/StorybookComponentWrapper.js.map +1 -1
- package/dist/components/SubsectionRowRenderer/SubsectionRowRenderer.js +3 -3
- package/dist/components/SustainabilityScorecard/SustainabilityScorecardSummary.js +10 -10
- package/dist/components/SynapseChat/SynapseChat.d.ts +7 -1
- package/dist/components/SynapseChat/SynapseChat.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChat.js +76 -67
- package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.d.ts +2 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.js +83 -58
- package/dist/components/SynapseChat/SynapseChatInteraction.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.d.ts +1 -0
- package/dist/components/SynapseChat/SynapseChatMessage.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.js +16 -15
- package/dist/components/SynapseChat/SynapseChatMessage.js.map +1 -1
- package/dist/components/SynapseChat/SynapsePortalChatDialog.d.ts +12 -0
- package/dist/components/SynapseChat/SynapsePortalChatDialog.d.ts.map +1 -0
- package/dist/components/SynapseChat/SynapsePortalChatDialog.js +30 -0
- package/dist/components/SynapseChat/SynapsePortalChatDialog.js.map +1 -0
- package/dist/components/SynapseChat/extractMessageFromTraceEvent.d.ts.map +1 -1
- package/dist/components/SynapseChat/extractMessageFromTraceEvent.js +22 -16
- package/dist/components/SynapseChat/extractMessageFromTraceEvent.js.map +1 -1
- package/dist/components/SynapseChat/index.d.ts +2 -0
- package/dist/components/SynapseChat/index.d.ts.map +1 -1
- package/dist/components/SynapseChat/index.js +5 -3
- package/dist/components/SynapseChat/index.js.map +1 -1
- package/dist/components/SynapseChat/useChatState.d.ts +1 -1
- package/dist/components/SynapseChat/useChatState.d.ts.map +1 -1
- package/dist/components/SynapseChat/useChatState.js +10 -7
- package/dist/components/SynapseChat/useChatState.js.map +1 -1
- package/dist/components/SynapseForm/WarningDialog.d.ts +1 -0
- package/dist/components/SynapseForm/WarningDialog.d.ts.map +1 -1
- package/dist/components/SynapseForm/WarningDialog.js +18 -16
- package/dist/components/SynapseForm/WarningDialog.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js +1 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js +25 -25
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/HasAccessChip.js +1 -1
- package/dist/components/SynapseSearchPageResults/SearchPagePortalBanners.d.ts.map +1 -1
- package/dist/components/SynapseSearchPageResults/SearchPagePortalBanners.js +12 -13
- package/dist/components/SynapseSearchPageResults/SearchPagePortalBanners.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js +5 -5
- package/dist/components/SynapseTable/ExpandableTableDataCell.d.ts.map +1 -1
- package/dist/components/SynapseTable/ExpandableTableDataCell.js +3 -1
- package/dist/components/SynapseTable/ExpandableTableDataCell.js.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js +13 -13
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTable.js +4 -4
- package/dist/components/SynapseTable/SynapseTableCell/SynapseTableCell.d.ts.map +1 -1
- package/dist/components/SynapseTable/SynapseTableCell/SynapseTableCell.js +122 -122
- package/dist/components/SynapseTable/SynapseTableCell/SynapseTableCell.js.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControlsUtils.js +9 -9
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControlsUtils.js.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js +5 -5
- package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditor.js +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js +1 -1
- package/dist/components/TableFeedCards/TableFeedCards.js +9 -9
- package/dist/components/TermsAndConditions/TermsAndConditionsItem.js +10 -10
- package/dist/components/TextToComponentCollapse.d.ts +16 -0
- package/dist/components/TextToComponentCollapse.d.ts.map +1 -0
- package/dist/components/TextToComponentCollapse.js +29 -0
- package/dist/components/TextToComponentCollapse.js.map +1 -0
- package/dist/components/TimelinePlot/TimelinePlotSpeciesSelector.js +9 -9
- package/dist/components/UserSearchBox/UserSearchBox.d.ts +23 -0
- package/dist/components/UserSearchBox/UserSearchBox.d.ts.map +1 -0
- package/dist/components/UserSearchBox/UserSearchBox.js +146 -0
- package/dist/components/UserSearchBox/UserSearchBox.js.map +1 -0
- package/dist/components/WikiMarkdownEditorButton/WikiMarkdownEditorButton.js +13 -13
- package/dist/components/WizardChoiceButton/WizardChoiceButton.js +3 -3
- package/dist/components/dataaccess/AccessHistoryDashboard.js +5 -5
- package/dist/components/dataaccess/AccessHistoryDashboard.js.map +1 -1
- package/dist/components/dataaccess/AccessRequirementDashboard.js +4 -4
- package/dist/components/dataaccess/AccessRequirementDashboard.js.map +1 -1
- package/dist/components/dataaccess/AccessSubmissionDashboard.js +1 -1
- package/dist/components/dataaccess/AccessSubmissionDashboard.js.map +1 -1
- package/dist/components/dataaccess/SubmissionPage/SubmissionPage.js +5 -5
- package/dist/components/dataaccess/UseAccessRequirementTable.js +3 -3
- package/dist/components/dataaccess/UseAccessRequirementTable.js.map +1 -1
- package/dist/components/doi/CreateOrUpdateDoiModal.js +1 -1
- package/dist/components/download_list/AddToDownloadListConfirmationAlert/AddToDownloadListConfirmationAlert.js +10 -5
- package/dist/components/download_list/AddToDownloadListConfirmationAlert/AddToDownloadListConfirmationAlert.js.map +1 -1
- package/dist/components/download_list/DownloadConfirmationUI.d.ts +1 -1
- package/dist/components/download_list/DownloadConfirmationUI.js +22 -22
- package/dist/components/download_list/DownloadConfirmationUI.js.map +1 -1
- package/dist/components/download_list/DownloadConfirmationUtils.js +4 -4
- package/dist/components/download_list/DownloadConfirmationUtils.js.map +1 -1
- package/dist/components/entity/metadata/EntityModal.js +1 -1
- package/dist/components/entity/metadata/MetadataTable.js +1 -1
- package/dist/components/entity/page/title_bar/EntityPageTitleBar.js +1 -1
- package/dist/components/entity/page/title_bar/EntityTitleBarVersionInfo.js +1 -1
- package/dist/components/entity/page/title_bar/TitleBarProperties.js +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.d.ts.map +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +27 -26
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js.map +1 -1
- package/dist/components/index.js +125 -121
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/InfiniteTableLayout.js +1 -1
- package/dist/components/row_renderers/ObservationCard.js +12 -11
- package/dist/components/row_renderers/ObservationCard.js.map +1 -1
- package/dist/components/row_renderers/utils/CardFooter.d.ts +1 -3
- package/dist/components/row_renderers/utils/CardFooter.d.ts.map +1 -1
- package/dist/components/row_renderers/utils/CardFooter.js +31 -45
- package/dist/components/row_renderers/utils/CardFooter.js.map +1 -1
- package/dist/components/styled/HoverPopover.css +1 -0
- package/dist/components/styled/HoverPopover.d.ts +28 -0
- package/dist/components/styled/HoverPopover.d.ts.map +1 -0
- package/dist/components/styled/HoverPopover.js +103 -0
- package/dist/components/styled/HoverPopover.js.map +1 -0
- package/dist/components/styled/HoverPopover.module.scss +9 -0
- package/dist/components/styled/HoverPopover.module.scss.js +10 -0
- package/dist/components/styled/HoverPopover.module.scss.js.map +1 -0
- package/dist/components/styled/index.d.ts +2 -0
- package/dist/components/styled/index.d.ts.map +1 -1
- package/dist/components/styled/index.js +11 -9
- package/dist/components/styled/index.js.map +1 -1
- package/dist/components/table/CsvPreview/CsvPreview.js +10 -5
- package/dist/components/table/CsvPreview/CsvPreview.js.map +1 -1
- package/dist/components/table/CsvPreview/CsvPreviewDialog.js +10 -5
- package/dist/components/table/CsvPreview/CsvPreviewDialog.js.map +1 -1
- package/dist/components/widgets/Range.js +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.js +35 -32
- package/dist/components/widgets/facet-nav/FacetNavPanel.js.map +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.d.ts +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.js +69 -68
- package/dist/components/widgets/facet-nav/PlotsContainer.js.map +1 -1
- package/dist/components/widgets/facet-nav/useFacetPlots.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/useFacetPlots.js +24 -21
- package/dist/components/widgets/facet-nav/useFacetPlots.js.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.js +3 -3
- package/dist/features/curator/GridPage/GridPage.js +10 -5
- package/dist/features/curator/GridPage/GridPage.js.map +1 -1
- package/dist/features/curator/GridPage/components/GridPageTitle.js +10 -5
- package/dist/features/curator/GridPage/components/GridPageTitle.js.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useMetadataTaskTable.js +1 -1
- package/dist/index.js +155 -151
- package/dist/index.js.map +1 -1
- package/dist/mocks/msw/handlers/accessRequirementHandlers.js +5 -5
- package/dist/mocks/msw/handlers/projectStorageHandlers.js +5 -5
- package/dist/mocks/msw/handlers/wikiHandlers.js +1 -1
- package/dist/mocks/msw/handlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers.js +67 -59
- package/dist/mocks/msw/handlers.js.map +1 -1
- package/dist/style/base/_core.scss +0 -1
- package/dist/style/components/_all.scss +0 -2
- package/dist/style/components/_cards.scss +22 -0
- package/dist/style/components/_download-list-v2.scss +1 -1
- package/dist/style/components/_entity-badge.scss +0 -2
- package/dist/style/components/_expandable_table_data.scss +3 -3
- package/dist/style/components/_query-wrapper-plot-nav.scss +13 -0
- package/dist/style/components/facet_nav/_facet-nav-panel.scss +3 -0
- package/dist/style/components/facet_nav/_facet-nav.scss +4 -0
- package/dist/style/main.css +1 -1
- package/dist/synapse-client/SynapseClient.js +118 -118
- package/dist/synapse-client/SynapseClient.js.map +1 -1
- package/dist/synapse-queries/auth/useOIDC.js +1 -1
- package/dist/synapse-queries/auth/useTwoFactorEnrollment.js +1 -1
- package/dist/synapse-queries/entity/index.js +6 -6
- package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js +1 -1
- package/dist/synapse-queries/index.js +1 -1
- package/dist/synapse-queries/user/usePersonalAccessToken.js +1 -1
- package/dist/testutils/vitest.setup.js +10 -11
- package/dist/testutils/vitest.setup.js.map +1 -1
- package/dist/theme/DefaultTheme.js +1 -1
- package/dist/theme/ThemeProvider.d.ts +2 -1
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.js +11 -10
- package/dist/theme/ThemeProvider.js.map +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/mergeTheme.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/AppUtils/AppUtils.js +1 -1
- package/dist/utils/AppUtils/session/ApplicationSessionManager.d.ts.map +1 -1
- package/dist/utils/AppUtils/session/ApplicationSessionManager.js.map +1 -1
- package/dist/utils/context/FullContextProvider.js +9 -9
- package/dist/utils/context/FullContextProvider.js.map +1 -1
- package/dist/utils/context/SynapseContext.d.ts.map +1 -1
- package/dist/utils/context/SynapseContext.js +1 -0
- package/dist/utils/context/SynapseContext.js.map +1 -1
- package/dist/utils/functions/SanitizeHtmlUtils.d.ts.map +1 -1
- package/dist/utils/functions/SanitizeHtmlUtils.js +34 -40
- package/dist/utils/functions/SanitizeHtmlUtils.js.map +1 -1
- package/dist/utils/functions/SqlFunctions.d.ts +4 -0
- package/dist/utils/functions/SqlFunctions.d.ts.map +1 -1
- package/dist/utils/functions/SqlFunctions.js +25 -23
- package/dist/utils/functions/SqlFunctions.js.map +1 -1
- package/dist/utils/functions/deepLinkingUtils.js +10 -10
- package/dist/utils/functions/deepLinkingUtils.js.map +1 -1
- package/dist/utils/hooks/index.js +6 -6
- package/dist/utils/hooks/useDetectSSOCode.js +3 -3
- package/dist/utils/hooks/useGetEntityMetadata.js +1 -1
- package/dist/utils/hooks/useNativeSearchParams.d.ts.map +1 -1
- package/dist/utils/hooks/useNativeSearchParams.js +1 -1
- package/dist/utils/hooks/useNativeSearchParams.js.map +1 -1
- package/dist/utils/hooks/useOneSageURL.d.ts.map +1 -1
- package/dist/utils/hooks/useOneSageURL.js +15 -15
- package/dist/utils/hooks/useOneSageURL.js.map +1 -1
- package/dist/utils/hooks/useSourceAppConfigs.d.ts +1 -0
- package/dist/utils/hooks/useSourceAppConfigs.d.ts.map +1 -1
- package/dist/utils/hooks/useSourceAppConfigs.js +79 -77
- package/dist/utils/hooks/useSourceAppConfigs.js.map +1 -1
- package/dist/utils/index.js +4 -4
- package/package.json +15 -16
- package/dist/_virtual/index.js +0 -6
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index3.js +0 -5
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/index4.js +0 -5
- package/dist/_virtual/index4.js.map +0 -1
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/assets/themed_icons/Challenge.d.ts +0 -3
- package/dist/assets/themed_icons/Challenge.d.ts.map +0 -1
- package/dist/assets/themed_icons/Challenge.js +0 -25
- package/dist/assets/themed_icons/Challenge.js.map +0 -1
- package/dist/components/UserSearchBox/UserSearchBoxV2.d.ts +0 -21
- package/dist/components/UserSearchBox/UserSearchBoxV2.d.ts.map +0 -1
- package/dist/components/UserSearchBox/UserSearchBoxV2.js +0 -144
- package/dist/components/UserSearchBox/UserSearchBoxV2.js.map +0 -1
- package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +0 -53
- package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js.map +0 -1
- package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js +0 -948
- package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js.map +0 -1
- package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +0 -30
- package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js.map +0 -1
- package/dist/node_modules/.pnpm/vite-plugin-node-polyfills@0.17.0_rollup@4.55.1_vite@7.3.1_@types_node@22.19.13_sass@1._2da6e8f78437c36f3eb7db51bdd4d89e/node_modules/vite-plugin-node-polyfills/shims/dist/index.js +0 -15
- package/dist/node_modules/.pnpm/vite-plugin-node-polyfills@0.17.0_rollup@4.55.1_vite@7.3.1_@types_node@22.19.13_sass@1._2da6e8f78437c36f3eb7db51bdd4d89e/node_modules/vite-plugin-node-polyfills/shims/dist/index.js.map +0 -1
- package/dist/style/components/_download-cart-page.scss +0 -204
- package/dist/style/components/_user-search-box.scss +0 -30
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as u, jsx as o, Fragment as C } from "react/jsx-runtime";
|
|
2
2
|
import "../../synapse-client/SynapseClient.js";
|
|
3
3
|
import "@sage-bionetworks/synapse-client/generated/models/ErrorResponseCode";
|
|
4
4
|
import "@sage-bionetworks/synapse-client/generated/models/TwoFactorAuthErrorResponse";
|
|
5
5
|
import "@sage-bionetworks/synapse-client/util/SynapseClientError";
|
|
6
6
|
import "@sage-bionetworks/synapse-types";
|
|
7
7
|
import "../../utils/functions/EntityTypeUtils.js";
|
|
8
|
-
import { copyStringToClipboard as
|
|
9
|
-
import { PRODUCTION_ENDPOINT_CONFIG as
|
|
8
|
+
import { copyStringToClipboard as _ } from "../../utils/functions/StringUtils.js";
|
|
9
|
+
import { PRODUCTION_ENDPOINT_CONFIG as j } from "../../utils/functions/getEndpoint.js";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "@sage-bionetworks/synapse-client/util/synapseClientFetch";
|
|
12
12
|
import "@tanstack/react-query";
|
|
13
13
|
import "../../utils/PermissionLevelToAccessType.js";
|
|
14
14
|
import "../../utils/SynapseConstants.js";
|
|
15
|
-
import { useState as
|
|
15
|
+
import { useState as T, useEffect as F, useCallback as V, useMemo as D } from "react";
|
|
16
16
|
import "../../utils/context/SynapseContext.js";
|
|
17
17
|
import "use-deep-compare-effect";
|
|
18
|
-
import { Box as
|
|
18
|
+
import { Box as $, Button as H, Typography as E, Tooltip as R } from "@mui/material";
|
|
19
19
|
import "../../utils/hooks/useCookiePreferences.js";
|
|
20
20
|
import "../../utils/hooks/useSourceAppConfigs.js";
|
|
21
21
|
import "universal-cookie";
|
|
22
22
|
import "../../utils/AppUtils/session/ApplicationSessionContext.js";
|
|
23
23
|
import "../../utils/context/FullContextProvider.js";
|
|
24
24
|
import "../../utils/context/DocumentMetadataContext.js";
|
|
25
|
-
import { BlockingLoader as
|
|
25
|
+
import { BlockingLoader as M, SynapseSpinner as A } from "../LoadingScreen/LoadingScreen.js";
|
|
26
26
|
import "@tanstack/query-core";
|
|
27
27
|
import "lodash-es/isEmpty";
|
|
28
28
|
import "lodash-es/isEqual";
|
|
@@ -30,159 +30,144 @@ import "lodash-es/xorWith";
|
|
|
30
30
|
import "react-router";
|
|
31
31
|
import "@sage-bionetworks/synapse-client";
|
|
32
32
|
import "../../utils/types/IsType.js";
|
|
33
|
-
import { useGetAvailableFilesToDownloadInfinite as
|
|
34
|
-
import { calculateFriendlyFileSize as
|
|
35
|
-
import { formatDate as
|
|
36
|
-
import { useReactTable as
|
|
37
|
-
import
|
|
38
|
-
import { useErrorHandler as
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import { InteractiveCopyIdsIcon as
|
|
33
|
+
import { useGetAvailableFilesToDownloadInfinite as x, useRemoveFilesFromDownloadList as k } from "../../synapse-queries/download/useDownloadList.js";
|
|
34
|
+
import { calculateFriendlyFileSize as G } from "../../utils/functions/calculateFriendlyFileSize.js";
|
|
35
|
+
import { formatDate as U } from "../../utils/functions/DateFormatter.js";
|
|
36
|
+
import { useReactTable as W, getCoreRowModel as Y, createColumnHelper as q } from "@tanstack/react-table";
|
|
37
|
+
import Z from "dayjs";
|
|
38
|
+
import { useErrorHandler as J } from "react-error-boundary";
|
|
39
|
+
import K from "../DirectDownload/FileEntityDirectDownload.js";
|
|
40
|
+
import z from "../IconSvg/IconSvg.js";
|
|
41
|
+
import { InteractiveCopyIdsIcon as Q } from "../InteractiveCopyIdsIcon.js";
|
|
42
42
|
import "@mui/material/Skeleton";
|
|
43
|
-
import { SkeletonTable as
|
|
44
|
-
import { TOOLTIP_DELAY_SHOW as
|
|
43
|
+
import { SkeletonTable as X } from "../Skeleton/SkeletonTable.js";
|
|
44
|
+
import { TOOLTIP_DELAY_SHOW as L } from "../SynapseTable/SynapseTableConstants.js";
|
|
45
45
|
import a from "../TanStackTable/ColumnHeader.js";
|
|
46
|
-
import
|
|
47
|
-
import { displayToast as
|
|
48
|
-
import
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
w(`${o} has been removed from your list.`, "success", {
|
|
54
|
-
title: l
|
|
46
|
+
import ee from "../TanStackTable/StyledTanStackTable.js";
|
|
47
|
+
import { displayToast as h } from "../ToastMessage/ToastMessage.js";
|
|
48
|
+
import oe from "./DirectProgrammaticDownload.js";
|
|
49
|
+
const ie = "TESTING_TRASH_BTN_CLASS";
|
|
50
|
+
function te(r, i) {
|
|
51
|
+
h(`${i} has been removed from your list.`, "success", {
|
|
52
|
+
title: r
|
|
55
53
|
});
|
|
56
54
|
}
|
|
57
|
-
function
|
|
58
|
-
const { ctx:
|
|
59
|
-
onSuccess: () =>
|
|
60
|
-
`${
|
|
55
|
+
function re(r) {
|
|
56
|
+
const { ctx: i } = r, { mutateAsync: t, isPending: e } = k({
|
|
57
|
+
onSuccess: () => h(
|
|
58
|
+
`${i.row.original.fileName} has been removed from your list.`,
|
|
61
59
|
"success",
|
|
62
60
|
{
|
|
63
61
|
title: "File Removed"
|
|
64
62
|
}
|
|
65
63
|
)
|
|
66
64
|
});
|
|
67
|
-
return /* @__PURE__ */
|
|
68
|
-
|
|
65
|
+
return /* @__PURE__ */ o(
|
|
66
|
+
R,
|
|
69
67
|
{
|
|
70
|
-
title: "Remove from Download
|
|
68
|
+
title: "Remove from Download List",
|
|
71
69
|
placement: "left",
|
|
72
|
-
enterNextDelay:
|
|
73
|
-
children: /* @__PURE__ */
|
|
70
|
+
enterNextDelay: L,
|
|
71
|
+
children: /* @__PURE__ */ o("span", { className: "removeItem", children: /* @__PURE__ */ o(
|
|
74
72
|
"button",
|
|
75
73
|
{
|
|
76
|
-
className:
|
|
74
|
+
className: ie,
|
|
77
75
|
onClick: () => {
|
|
78
76
|
t({
|
|
79
77
|
batchToRemove: [
|
|
80
78
|
{
|
|
81
|
-
fileEntityId:
|
|
82
|
-
versionNumber:
|
|
79
|
+
fileEntityId: i.row.original.fileEntityId,
|
|
80
|
+
versionNumber: i.row.original.versionNumber
|
|
83
81
|
}
|
|
84
82
|
]
|
|
85
83
|
});
|
|
86
84
|
},
|
|
87
|
-
children: e ? /* @__PURE__ */
|
|
85
|
+
children: e ? /* @__PURE__ */ o(A, {}) : /* @__PURE__ */ o(z, { icon: "removeCircle" })
|
|
88
86
|
}
|
|
89
87
|
) })
|
|
90
88
|
}
|
|
91
89
|
);
|
|
92
90
|
}
|
|
93
|
-
const
|
|
94
|
-
const { onCopySynIds:
|
|
91
|
+
const l = q(), ne = (r) => {
|
|
92
|
+
const { onCopySynIds: i, removeItem: t } = r;
|
|
95
93
|
return [
|
|
96
|
-
|
|
97
|
-
header: () => /* @__PURE__ */
|
|
98
|
-
cell: (e) => /* @__PURE__ */
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
placement: "right",
|
|
114
|
-
children: /* @__PURE__ */ i("span", { className: "ineligibileIcon", children: /* @__PURE__ */ i(v, { wrap: !1, icon: "warningOutlined" }) })
|
|
115
|
-
}
|
|
116
|
-
)
|
|
117
|
-
] }),
|
|
94
|
+
l.accessor("isEligibleForPackaging", {
|
|
95
|
+
header: () => /* @__PURE__ */ o(C, {}),
|
|
96
|
+
cell: (e) => /* @__PURE__ */ o("div", { children: !e.getValue() && /* @__PURE__ */ o(
|
|
97
|
+
R,
|
|
98
|
+
{
|
|
99
|
+
title: /* @__PURE__ */ u(C, { children: [
|
|
100
|
+
"This file can’t be packaged as a ZIP because it is ",
|
|
101
|
+
">",
|
|
102
|
+
"100MB, or it is an external link, or it is not stored on Synapse native storage.",
|
|
103
|
+
/* @__PURE__ */ o("br", {}),
|
|
104
|
+
"Try clicking the “download” icon at the end of the row, or download programmatically."
|
|
105
|
+
] }),
|
|
106
|
+
enterNextDelay: L,
|
|
107
|
+
placement: "right",
|
|
108
|
+
children: /* @__PURE__ */ o("span", { className: "ineligibileIcon", children: /* @__PURE__ */ o(z, { wrap: !1, icon: "unpackagableFile" }) })
|
|
109
|
+
}
|
|
110
|
+
) }),
|
|
118
111
|
enableResizing: !1,
|
|
119
112
|
enableColumnFilter: !1,
|
|
120
113
|
size: 50
|
|
121
114
|
}),
|
|
122
|
-
|
|
123
|
-
header: (e) => /* @__PURE__ */
|
|
124
|
-
cell: (e) => /* @__PURE__ */
|
|
115
|
+
l.accessor("fileName", {
|
|
116
|
+
header: (e) => /* @__PURE__ */ o(a, { ...e, title: "Name" }),
|
|
117
|
+
cell: (e) => /* @__PURE__ */ o(
|
|
125
118
|
"a",
|
|
126
119
|
{
|
|
127
120
|
target: "_blank",
|
|
128
121
|
rel: "noopener noreferrer",
|
|
129
|
-
href: `${
|
|
122
|
+
href: `${j.PORTAL}Synapse:${e.row.original.fileEntityId}.${e.row.original.versionNumber}`,
|
|
130
123
|
children: e.getValue()
|
|
131
124
|
}
|
|
132
125
|
),
|
|
133
126
|
enableColumnFilter: !1,
|
|
134
|
-
size:
|
|
127
|
+
size: 360
|
|
135
128
|
}),
|
|
136
|
-
|
|
137
|
-
header: (e) => /* @__PURE__ */
|
|
138
|
-
cell: (e) => e.getValue() != null ?
|
|
129
|
+
l.accessor("fileSizeBytes", {
|
|
130
|
+
header: (e) => /* @__PURE__ */ o(a, { ...e, title: "Size" }),
|
|
131
|
+
cell: (e) => e.getValue() != null && e.getValue() > 0 ? G(e.getValue()) : /* @__PURE__ */ o(E, { variant: "smallText1", sx: { color: "grey.600" }, children: "Unknown" }),
|
|
139
132
|
enableColumnFilter: !1,
|
|
140
|
-
size:
|
|
133
|
+
size: 117
|
|
141
134
|
}),
|
|
142
|
-
|
|
143
|
-
header: (e) => /* @__PURE__ */
|
|
135
|
+
l.accessor("fileEntityId", {
|
|
136
|
+
header: (e) => /* @__PURE__ */ o(
|
|
144
137
|
a,
|
|
145
138
|
{
|
|
146
139
|
...e,
|
|
147
140
|
title: "SynID",
|
|
148
|
-
additionalButtons: /* @__PURE__ */
|
|
141
|
+
additionalButtons: /* @__PURE__ */ o(Q, { size: "small", onCopy: i })
|
|
149
142
|
}
|
|
150
143
|
),
|
|
151
144
|
cell: (e) => `${e.getValue()}.${e.row.original.versionNumber}`,
|
|
152
145
|
enableColumnFilter: !1,
|
|
153
|
-
size:
|
|
154
|
-
}),
|
|
155
|
-
n.accessor("projectName", {
|
|
156
|
-
header: (e) => /* @__PURE__ */ i(a, { ...e, title: "Project" }),
|
|
157
|
-
enableColumnFilter: !1
|
|
158
|
-
}),
|
|
159
|
-
n.accessor("addedOn", {
|
|
160
|
-
header: (e) => /* @__PURE__ */ i(a, { ...e, title: "Added On" }),
|
|
161
|
-
cell: (e) => x(P(e.getValue())),
|
|
162
|
-
enableColumnFilter: !1
|
|
146
|
+
size: 143
|
|
163
147
|
}),
|
|
164
|
-
|
|
165
|
-
header: (e) => /* @__PURE__ */
|
|
166
|
-
cell: (e) =>
|
|
167
|
-
enableColumnFilter: !1
|
|
148
|
+
l.accessor("addedOn", {
|
|
149
|
+
header: (e) => /* @__PURE__ */ o(a, { ...e, title: "Added On" }),
|
|
150
|
+
cell: (e) => U(Z(e.getValue())),
|
|
151
|
+
enableColumnFilter: !1,
|
|
152
|
+
size: 150
|
|
168
153
|
}),
|
|
169
|
-
|
|
170
|
-
header: (e) => /* @__PURE__ */
|
|
171
|
-
|
|
172
|
-
|
|
154
|
+
l.accessor("projectName", {
|
|
155
|
+
header: (e) => /* @__PURE__ */ o(a, { ...e, title: "Project" }),
|
|
156
|
+
enableColumnFilter: !1,
|
|
157
|
+
size: 170
|
|
173
158
|
}),
|
|
174
|
-
|
|
159
|
+
l.display({
|
|
175
160
|
id: "actions",
|
|
176
|
-
header: (e) => /* @__PURE__ */
|
|
177
|
-
cell: (e) => /* @__PURE__ */
|
|
178
|
-
/* @__PURE__ */
|
|
179
|
-
|
|
161
|
+
header: (e) => /* @__PURE__ */ o(a, { ...e, title: "Actions" }),
|
|
162
|
+
cell: (e) => /* @__PURE__ */ u("div", { className: "actionsContainer", children: [
|
|
163
|
+
/* @__PURE__ */ o("span", { className: "downloadItem", children: /* @__PURE__ */ o(
|
|
164
|
+
K,
|
|
180
165
|
{
|
|
181
166
|
entityId: e.row.original.fileEntityId,
|
|
182
167
|
entityVersionNumber: e.row.original.versionNumber,
|
|
183
168
|
displayFileName: !1,
|
|
184
|
-
onClickCallback: (
|
|
185
|
-
|
|
169
|
+
onClickCallback: (d) => {
|
|
170
|
+
d || t(
|
|
186
171
|
{
|
|
187
172
|
fileEntityId: e.row.original.fileEntityId,
|
|
188
173
|
versionNumber: e.row.original.versionNumber
|
|
@@ -193,14 +178,14 @@ const n = X(), ce = (l) => {
|
|
|
193
178
|
}
|
|
194
179
|
}
|
|
195
180
|
) }),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
|
|
181
|
+
/* @__PURE__ */ o("span", { className: "programmaticAccessItem", children: /* @__PURE__ */ o(
|
|
182
|
+
oe,
|
|
198
183
|
{
|
|
199
184
|
entityId: e.row.original.fileEntityId,
|
|
200
185
|
version: e.row.original.versionNumber
|
|
201
186
|
}
|
|
202
187
|
) }),
|
|
203
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ o(re, { ctx: e })
|
|
204
189
|
] }),
|
|
205
190
|
enableResizing: !1,
|
|
206
191
|
enableColumnFilter: !1,
|
|
@@ -211,181 +196,116 @@ const n = X(), ce = (l) => {
|
|
|
211
196
|
})
|
|
212
197
|
];
|
|
213
198
|
};
|
|
214
|
-
function
|
|
215
|
-
if (
|
|
199
|
+
function le(r) {
|
|
200
|
+
if (r.length === 0)
|
|
216
201
|
return;
|
|
217
|
-
const
|
|
202
|
+
const i = r[0];
|
|
218
203
|
let t = "addedOn";
|
|
219
|
-
return
|
|
204
|
+
return i.id === "fileName" ? t = "fileName" : i.id === "fileSizeBytes" ? t = "fileSize" : i.id === "fileEntityId" ? t = "synId" : i.id === "projectName" ? t = "projectName" : i.id === "addedOn" ? t = "addedOn" : i.id === "createdBy" ? t = "createdBy" : i.id === "createdOn" && (t = "createdOn"), {
|
|
220
205
|
field: t,
|
|
221
|
-
direction:
|
|
206
|
+
direction: i.desc ? "DESC" : "ASC"
|
|
222
207
|
};
|
|
223
208
|
}
|
|
224
|
-
function
|
|
225
|
-
|
|
209
|
+
function oo({
|
|
210
|
+
filter: r
|
|
211
|
+
}) {
|
|
212
|
+
const i = J(), [t, e] = T(!1), [d, O] = T([
|
|
226
213
|
{
|
|
227
214
|
desc: !0,
|
|
228
215
|
id: "addedOn"
|
|
229
216
|
}
|
|
230
|
-
]),
|
|
231
|
-
data:
|
|
232
|
-
status:
|
|
233
|
-
isFetchingNextPage:
|
|
234
|
-
isLoading:
|
|
235
|
-
hasNextPage:
|
|
217
|
+
]), {
|
|
218
|
+
data: b,
|
|
219
|
+
status: v,
|
|
220
|
+
isFetchingNextPage: s,
|
|
221
|
+
isLoading: S,
|
|
222
|
+
hasNextPage: c,
|
|
236
223
|
fetchNextPage: p,
|
|
237
|
-
isError:
|
|
238
|
-
error:
|
|
239
|
-
} =
|
|
240
|
-
|
|
241
|
-
|
|
224
|
+
isError: I,
|
|
225
|
+
error: g
|
|
226
|
+
} = x(
|
|
227
|
+
le(d),
|
|
228
|
+
r
|
|
242
229
|
);
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}, [
|
|
246
|
-
const { mutateAsync:
|
|
247
|
-
async (
|
|
248
|
-
await
|
|
230
|
+
F(() => {
|
|
231
|
+
I && g && i(g);
|
|
232
|
+
}, [I, g, i]);
|
|
233
|
+
const { mutateAsync: w } = k(), N = V(
|
|
234
|
+
async (n, y, f) => {
|
|
235
|
+
await w({ batchToRemove: [n] }), te(f, y);
|
|
249
236
|
},
|
|
250
|
-
[
|
|
251
|
-
),
|
|
252
|
-
() =>
|
|
253
|
-
[
|
|
254
|
-
),
|
|
255
|
-
() =>
|
|
256
|
-
removeItem: (...
|
|
257
|
-
|
|
237
|
+
[w]
|
|
238
|
+
), m = D(
|
|
239
|
+
() => b?.pages.flatMap((n) => n.page) ?? [],
|
|
240
|
+
[b?.pages]
|
|
241
|
+
), P = D(
|
|
242
|
+
() => ne({
|
|
243
|
+
removeItem: (...n) => {
|
|
244
|
+
N(...n);
|
|
258
245
|
},
|
|
259
246
|
onCopySynIds: () => {
|
|
260
|
-
|
|
247
|
+
e(!0);
|
|
261
248
|
}
|
|
262
249
|
}),
|
|
263
|
-
[
|
|
264
|
-
),
|
|
265
|
-
data:
|
|
266
|
-
columns:
|
|
267
|
-
getCoreRowModel:
|
|
250
|
+
[N]
|
|
251
|
+
), B = W({
|
|
252
|
+
data: m,
|
|
253
|
+
columns: P,
|
|
254
|
+
getCoreRowModel: Y(),
|
|
268
255
|
manualSorting: !0,
|
|
269
|
-
onSortingChange:
|
|
256
|
+
onSortingChange: O,
|
|
270
257
|
state: {
|
|
271
258
|
columnPinning: {
|
|
272
259
|
right: ["actions"]
|
|
273
260
|
},
|
|
274
|
-
sorting:
|
|
261
|
+
sorting: d
|
|
275
262
|
},
|
|
276
263
|
columnResizeMode: "onChange",
|
|
277
264
|
meta: {
|
|
278
|
-
getRowClassNames(
|
|
279
|
-
return
|
|
265
|
+
getRowClassNames(n) {
|
|
266
|
+
return n.original.isEligibleForPackaging ? "" : "ineligibleForPackaging";
|
|
280
267
|
}
|
|
281
268
|
}
|
|
282
269
|
});
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
const
|
|
270
|
+
return F(() => {
|
|
271
|
+
v === "success" && !s && c && p && t ? p() : !c && t && (() => {
|
|
272
|
+
const y = m.map((f) => `${f.fileEntityId}.${f.versionNumber}`).join(`
|
|
286
273
|
`);
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}),
|
|
274
|
+
_(y).then(() => {
|
|
275
|
+
h("Successfully copied to clipboard");
|
|
276
|
+
}), e(!1);
|
|
290
277
|
})();
|
|
291
278
|
}, [
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
279
|
+
v,
|
|
280
|
+
s,
|
|
281
|
+
c,
|
|
295
282
|
p,
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
])
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
return /* @__PURE__ */ s("div", { children: [
|
|
305
|
-
/* @__PURE__ */ i(q, { show: o }),
|
|
306
|
-
/* @__PURE__ */ s(
|
|
307
|
-
c,
|
|
308
|
-
{
|
|
309
|
-
sx: {
|
|
310
|
-
display: "flex",
|
|
311
|
-
flexDirection: {
|
|
312
|
-
xs: "column",
|
|
313
|
-
md: "row"
|
|
314
|
-
},
|
|
315
|
-
justifyContent: "space-between",
|
|
316
|
-
alignItems: "center",
|
|
317
|
-
py: "15px",
|
|
318
|
-
rowGap: "15px"
|
|
319
|
-
},
|
|
320
|
-
children: [
|
|
321
|
-
/* @__PURE__ */ i(ne, {}),
|
|
322
|
-
/* @__PURE__ */ s(
|
|
323
|
-
c,
|
|
324
|
-
{
|
|
325
|
-
sx: {
|
|
326
|
-
display: "flex",
|
|
327
|
-
gap: "10px",
|
|
328
|
-
alignItems: "inherit",
|
|
329
|
-
justifyContent: "end"
|
|
330
|
-
},
|
|
331
|
-
children: [
|
|
332
|
-
/* @__PURE__ */ i(
|
|
333
|
-
c,
|
|
334
|
-
{
|
|
335
|
-
sx: {
|
|
336
|
-
fontWeight: "700",
|
|
337
|
-
fontSize: "14px"
|
|
338
|
-
},
|
|
339
|
-
children: "Filter Files By"
|
|
340
|
-
}
|
|
341
|
-
),
|
|
342
|
-
/* @__PURE__ */ i(
|
|
343
|
-
c,
|
|
344
|
-
{
|
|
345
|
-
sx: {
|
|
346
|
-
button: {
|
|
347
|
-
width: "144px"
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
children: /* @__PURE__ */ i(W, { native: !0, fullWidth: !0, value: b(N), children: $.map((r) => /* @__PURE__ */ i(
|
|
351
|
-
"option",
|
|
352
|
-
{
|
|
353
|
-
onClick: () => {
|
|
354
|
-
z(r);
|
|
355
|
-
},
|
|
356
|
-
children: b(r)
|
|
357
|
-
},
|
|
358
|
-
`${b(r)}-filter-option`
|
|
359
|
-
)) })
|
|
360
|
-
}
|
|
361
|
-
)
|
|
362
|
-
]
|
|
363
|
-
}
|
|
364
|
-
)
|
|
365
|
-
]
|
|
366
|
-
}
|
|
367
|
-
),
|
|
368
|
-
f.length > 0 && /* @__PURE__ */ s("div", { className: "DownloadListTableV2", children: [
|
|
369
|
-
/* @__PURE__ */ i(te, { table: _, fullWidth: !1 }),
|
|
370
|
-
d && /* @__PURE__ */ i(c, { sx: { display: "flex", justifyContent: "right" }, children: /* @__PURE__ */ i(
|
|
371
|
-
U,
|
|
283
|
+
t,
|
|
284
|
+
m
|
|
285
|
+
]), /* @__PURE__ */ u("div", { children: [
|
|
286
|
+
/* @__PURE__ */ o(M, { show: t }),
|
|
287
|
+
m.length > 0 && /* @__PURE__ */ u("div", { className: "DownloadListTableV2", children: [
|
|
288
|
+
/* @__PURE__ */ o(ee, { table: B, fullWidth: !1 }),
|
|
289
|
+
c && /* @__PURE__ */ o($, { sx: { display: "flex", justifyContent: "right" }, children: /* @__PURE__ */ o(
|
|
290
|
+
H,
|
|
372
291
|
{
|
|
373
292
|
variant: "contained",
|
|
374
293
|
sx: { my: 2, ml: "auto" },
|
|
375
294
|
onClick: () => {
|
|
376
295
|
p();
|
|
377
296
|
},
|
|
378
|
-
disabled:
|
|
379
|
-
startIcon:
|
|
380
|
-
children:
|
|
297
|
+
disabled: s,
|
|
298
|
+
startIcon: s ? /* @__PURE__ */ o(A, {}) : void 0,
|
|
299
|
+
children: s ? "Loading..." : "Show More"
|
|
381
300
|
}
|
|
382
301
|
) })
|
|
383
302
|
] }),
|
|
384
|
-
|
|
303
|
+
m.length === 0 && !S && /* @__PURE__ */ o(E, { variant: "body1Italic", children: "You have no matching files in your download list." }),
|
|
304
|
+
S && /* @__PURE__ */ o(X, { numCols: 5, numRows: 3 })
|
|
385
305
|
] });
|
|
386
306
|
}
|
|
387
307
|
export {
|
|
388
|
-
|
|
389
|
-
|
|
308
|
+
ie as TESTING_TRASH_BTN_CLASS,
|
|
309
|
+
oo as default
|
|
390
310
|
};
|
|
391
311
|
//# sourceMappingURL=DownloadListTable.js.map
|