synapse-react-client 4.0.3 → 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/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 +33 -32
- 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/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.module.scss +6 -0
- package/dist/components/BasePortalCard/BasePortalCard.module.scss.js +1 -1
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.css +1 -1
- package/dist/components/BasePortalCard/ColorfulPortalCardWithChips/ColorfulPortalCardWithChips.js +7 -7
- 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/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/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/CookiesNotification/CookiesNotification.js +1 -1
- package/dist/components/CreateOrUpdateAccessRequirementWizard/CreateOrUpdateAccessRequirementWizard.js +3 -4
- package/dist/components/CreateOrUpdateAccessRequirementWizard/CreateOrUpdateAccessRequirementWizard.js.map +1 -1
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.js +2 -2
- package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.js +35 -35
- package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
- package/dist/components/DataGrid/components/UploadCsvToGridDialog.js +2 -2
- 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/DownloadCart/ActionRequiredCard/ActionRequiredCard.js +1 -1
- package/dist/components/DownloadCart/RequestDownloadCard.js +1 -1
- package/dist/components/Ecosystem/EcosystemSkeleton.js +2 -2
- 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/EntityFinder/details/view/table/AddToDownloadListCell.js +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/FilePreview/EntityPreview.js +1 -1
- package/dist/components/Forum/DiscussionReply.js +10 -10
- package/dist/components/Forum/DiscussionThread.js +21 -21
- 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/SynapseCardLabel.d.ts.map +1 -1
- package/dist/components/GenericCard/SynapseCardLabel.js +72 -67
- package/dist/components/GenericCard/SynapseCardLabel.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts +4 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +98 -96
- 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/IDUReport/IDUReportSubmissionInfo.js +23 -23
- package/dist/components/IDUReport/IDUReportSubmissionInfo.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.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +114 -113
- 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/SubsectionRowRenderer/SubsectionRowRenderer.js +3 -3
- package/dist/components/SustainabilityScorecard/SustainabilityScorecardSummary.js +10 -10
- package/dist/components/SynapseChat/SynapseChatInteraction.js +5 -5
- 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/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/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/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/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 +2 -2
- 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 +109 -107
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/InfiniteTableLayout.js +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 +2 -2
- package/dist/components/table/CsvPreview/CsvPreviewDialog.js +2 -2
- 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 +2 -2
- package/dist/features/curator/GridPage/components/GridPageTitle.js +2 -2
- package/dist/features/entity/metadata-task/hooks/useMetadataTaskTable.js +1 -1
- package/dist/index.js +157 -155
- 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 -1
- package/dist/style/components/_entity-badge.scss +0 -2
- package/dist/style/components/_expandable_table_data.scss +3 -3
- 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/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/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 +14 -15
- 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/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/_user-search-box.scss +0 -30
|
@@ -14,14 +14,14 @@ import "react";
|
|
|
14
14
|
import "../../utils/context/SynapseContext.js";
|
|
15
15
|
import "use-deep-compare-effect";
|
|
16
16
|
import "@sage-bionetworks/synapse-types";
|
|
17
|
-
import { Skeleton as
|
|
17
|
+
import { Skeleton as Q } from "@mui/material";
|
|
18
18
|
import "../../utils/hooks/useCookiePreferences.js";
|
|
19
19
|
import "../../utils/hooks/useSourceAppConfigs.js";
|
|
20
20
|
import "universal-cookie";
|
|
21
21
|
import "../../utils/AppUtils/session/ApplicationSessionContext.js";
|
|
22
22
|
import "../../utils/context/FullContextProvider.js";
|
|
23
23
|
import "../../utils/context/DocumentMetadataContext.js";
|
|
24
|
-
import '../../style/components/_spinner.css';/* empty css */
|
|
24
|
+
import './SynapsePlot.css';import '../../style/components/_spinner.css';/* empty css */
|
|
25
25
|
import "@tanstack/query-core";
|
|
26
26
|
import "lodash-es/isEmpty";
|
|
27
27
|
import "lodash-es/isEqual";
|
|
@@ -29,39 +29,41 @@ import "lodash-es/xorWith";
|
|
|
29
29
|
import "react-router";
|
|
30
30
|
import "@sage-bionetworks/synapse-client";
|
|
31
31
|
import "../../utils/types/IsType.js";
|
|
32
|
-
import { useGetFullTableQueryResults as
|
|
33
|
-
import { Plot as
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
import { useGetFullTableQueryResults as T } from "../../synapse-queries/entity/useGetQueryResultBundle.js";
|
|
33
|
+
import { Plot as U } from "./Plot.js";
|
|
34
|
+
/* empty css */
|
|
35
|
+
const qt = (a) => {
|
|
36
|
+
const { query: u } = a.synapsePlotWidgetParams, { selectedFacets: q, additionalFilters: P, onCustomPlotClick: c, queryContext: w } = a.customPlotParams ?? {}, R = {
|
|
36
37
|
concreteType: "org.sagebionetworks.repo.model.table.QueryBundleRequest",
|
|
37
38
|
partMask: M,
|
|
38
|
-
entityId: L(
|
|
39
|
+
entityId: L(u),
|
|
39
40
|
query: {
|
|
40
|
-
sql:
|
|
41
|
+
sql: u,
|
|
41
42
|
selectedFacets: q,
|
|
42
|
-
additionalFilters:
|
|
43
|
+
additionalFilters: P
|
|
43
44
|
}
|
|
44
|
-
}, { data: m, isLoading:
|
|
45
|
-
if (
|
|
46
|
-
return /* @__PURE__ */ s(
|
|
45
|
+
}, { data: m, isLoading: S } = T(R);
|
|
46
|
+
if (S)
|
|
47
|
+
return /* @__PURE__ */ s(Q, { width: "100%", height: "200px" });
|
|
47
48
|
if (!m)
|
|
48
49
|
return /* @__PURE__ */ s(g, {});
|
|
49
50
|
const {
|
|
50
|
-
title:
|
|
51
|
+
title: k,
|
|
51
52
|
xtitle: y,
|
|
52
53
|
ytitle: d,
|
|
53
|
-
type:
|
|
54
|
+
type: v,
|
|
54
55
|
xaxistype: f,
|
|
55
|
-
showlegend:
|
|
56
|
-
barmode:
|
|
57
|
-
horizontal:
|
|
58
|
-
displayModeBar:
|
|
56
|
+
showlegend: b,
|
|
57
|
+
barmode: C,
|
|
58
|
+
horizontal: l,
|
|
59
|
+
displayModeBar: F,
|
|
60
|
+
hoverinfo: h
|
|
59
61
|
} = a.synapsePlotWidgetParams, E = {
|
|
60
|
-
displayModeBar:
|
|
62
|
+
displayModeBar: F
|
|
61
63
|
}, e = {
|
|
62
|
-
showlegend:
|
|
63
|
-
title:
|
|
64
|
-
barmode:
|
|
64
|
+
showlegend: b,
|
|
65
|
+
title: k,
|
|
66
|
+
barmode: C
|
|
65
67
|
};
|
|
66
68
|
y && (e.xaxis = {
|
|
67
69
|
title: y
|
|
@@ -71,45 +73,47 @@ const xt = (a) => {
|
|
|
71
73
|
}), d && (e.yaxis = {
|
|
72
74
|
title: d
|
|
73
75
|
});
|
|
74
|
-
const r = [],
|
|
75
|
-
if (
|
|
76
|
+
const r = [], N = l ? "h" : "v", n = m.queryResult?.queryResults.headers ?? [], x = m.queryResult?.queryResults.rows ?? [];
|
|
77
|
+
if (n.length == 0 || x.length == 0)
|
|
76
78
|
return /* @__PURE__ */ s(g, {});
|
|
77
|
-
for (let t = 0; t <
|
|
79
|
+
for (let t = 0; t < n.length - 1; t += 1)
|
|
78
80
|
r[t] = {
|
|
79
|
-
orientation:
|
|
80
|
-
name:
|
|
81
|
-
type:
|
|
81
|
+
orientation: N,
|
|
82
|
+
name: n[t + 1].name,
|
|
83
|
+
type: v,
|
|
82
84
|
x: [],
|
|
83
85
|
y: [],
|
|
84
|
-
customdata: []
|
|
86
|
+
customdata: [],
|
|
87
|
+
...h !== void 0 && { hoverinfo: h }
|
|
85
88
|
};
|
|
86
|
-
for (const t of
|
|
89
|
+
for (const t of x)
|
|
87
90
|
for (let o = 1; o < t.values.length; o += 1) {
|
|
88
91
|
const i = t.values, A = r[o - 1].x, B = r[o - 1].y, D = r[o - 1].customdata;
|
|
89
|
-
A.push(
|
|
92
|
+
A.push(l ? i[o] : i[0]), B.push(l ? i[0] : i[o]), D.push(JSON.stringify(t));
|
|
90
93
|
}
|
|
91
|
-
let
|
|
92
|
-
return
|
|
94
|
+
let p;
|
|
95
|
+
return c && (p = (t) => {
|
|
93
96
|
const o = JSON.parse(
|
|
94
97
|
t.points[0].customdata
|
|
95
98
|
);
|
|
96
|
-
|
|
99
|
+
c({
|
|
97
100
|
row: o,
|
|
98
|
-
queryContext:
|
|
101
|
+
queryContext: w
|
|
99
102
|
});
|
|
100
103
|
}), /* @__PURE__ */ s(
|
|
101
|
-
|
|
104
|
+
U,
|
|
102
105
|
{
|
|
103
106
|
style: { width: "100%", height: "450px" },
|
|
107
|
+
className: p ? "SynapsePlot--clickable" : void 0,
|
|
104
108
|
layout: e,
|
|
105
109
|
data: r,
|
|
106
110
|
config: E,
|
|
107
|
-
onClick:
|
|
111
|
+
onClick: p
|
|
108
112
|
}
|
|
109
113
|
);
|
|
110
114
|
};
|
|
111
115
|
export {
|
|
112
|
-
|
|
113
|
-
|
|
116
|
+
qt as SynapsePlot,
|
|
117
|
+
qt as default
|
|
114
118
|
};
|
|
115
119
|
//# sourceMappingURL=SynapsePlot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SynapsePlot.js","sources":["../../../src/components/Plot/SynapsePlot.tsx"],"sourcesContent":["import React from 'react'\nimport { useGetFullTableQueryResults } from '@/synapse-queries'\nimport { SynapseConstants } from '@/utils'\nimport { parseEntityIdFromSqlStatement } from '@/utils/functions/SqlFunctions'\nimport { Skeleton } from '@mui/material'\nimport {\n FacetColumnRequest,\n QueryBundleRequest,\n QueryFilter,\n Row,\n} from '@sage-bionetworks/synapse-types'\nimport Plotly, { AxisType, PlotType } from 'plotly.js-basic-dist'\nimport { QueryContextType } from '../QueryContext'\nimport { QueryWrapperSynapsePlotRowClickEvent } from '../QueryWrapperPlotNav/QueryWrapperSynapsePlot'\nimport Plot from './Plot'\n\nexport type SynapsePlotWidgetParams = {\n query: string //sql string\n title?: string //plot title\n xtitle?: Plotly.LayoutAxis['title'] // x-axis title\n ytitle?: Plotly.LayoutAxis['title'] // y-axis title\n type: PlotType\n xaxistype?: AxisType\n showlegend?: Plotly.Layout['showlegend'] // sets the legend visibility\n horizontal?: boolean // sets the if a bar chart should be horizontal or vertical\n barmode?: Plotly.Layout['barmode'] // Plotly barmode\n displayModeBar?: Plotly.Config['displayModeBar'] // sets the modebar visibility\n}\n\n// QueryWrapperPlotNav customPlot parameters, undefined otherwise\nexport type QueryWrapperPlotNavCustomPlotParams = {\n selectedFacets: FacetColumnRequest[]\n additionalFilters: QueryFilter[]\n onCustomPlotClick?: (event: QueryWrapperSynapsePlotRowClickEvent) => void\n queryContext?: QueryContextType\n}\nexport type SynapsePlotProps = {\n synapsePlotWidgetParams: SynapsePlotWidgetParams\n customPlotParams?: QueryWrapperPlotNavCustomPlotParams\n}\n\nexport const SynapsePlot = (props: SynapsePlotProps): React.ReactNode => {\n const { query } = props.synapsePlotWidgetParams\n const { selectedFacets, additionalFilters, onCustomPlotClick, queryContext } =\n props.customPlotParams ?? {}\n const queryRequest: QueryBundleRequest = {\n concreteType: 'org.sagebionetworks.repo.model.table.QueryBundleRequest',\n partMask: SynapseConstants.BUNDLE_MASK_QUERY_RESULTS,\n entityId: parseEntityIdFromSqlStatement(query),\n query: {\n sql: query,\n selectedFacets,\n additionalFilters,\n },\n }\n const { data: queryData, isLoading } =\n useGetFullTableQueryResults(queryRequest)\n if (isLoading) {\n return <Skeleton width={'100%'} height={'200px'} />\n }\n if (!queryData) {\n return <></>\n }\n\n const {\n title,\n xtitle,\n ytitle,\n type,\n xaxistype,\n showlegend,\n barmode,\n horizontal,\n displayModeBar,\n } = props.synapsePlotWidgetParams\n\n const config: Partial<Plotly.Config> = {\n displayModeBar,\n }\n const layout: Partial<Plotly.Layout> = {\n showlegend: showlegend,\n title,\n barmode: barmode,\n }\n if (xtitle) {\n layout.xaxis = {\n title: xtitle,\n }\n }\n if (xaxistype) {\n layout.xaxis = {\n ...layout.xaxis,\n type: xaxistype,\n }\n }\n if (ytitle) {\n layout.yaxis = {\n title: ytitle,\n }\n }\n // init plot_data\n const plotData: Partial<Plotly.PlotData>[] = []\n const orientation = horizontal ? 'h' : 'v'\n const headers = queryData.queryResult?.queryResults.headers ?? []\n const rows = queryData.queryResult?.queryResults.rows ?? []\n if (headers.length == 0 || rows.length == 0) {\n return <></>\n }\n for (let i = 0; i < headers.length - 1; i += 1) {\n // make an entry for each set of data points\n plotData[i] = {\n orientation,\n name: headers[i + 1].name,\n type: type,\n x: [],\n y: [],\n customdata: [],\n }\n }\n // grab all the data\n for (const row of rows) {\n for (let j = 1; j < row.values.length; j += 1) {\n // create pairs of data\n const rowValues = row.values\n const xArray = plotData[j - 1].x as Plotly.Datum[]\n const yArray = plotData[j - 1].y as Plotly.Datum[]\n const customdata = plotData[j - 1].customdata as Plotly.Datum[]\n\n xArray.push(horizontal ? rowValues[j] : rowValues[0])\n yArray.push(horizontal ? rowValues[0] : rowValues[j])\n customdata.push(JSON.stringify(row))\n }\n }\n let onPlotClick:\n | ((event: Readonly<Plotly.PlotMouseEvent>) => void)\n | undefined\n if (onCustomPlotClick
|
|
1
|
+
{"version":3,"file":"SynapsePlot.js","sources":["../../../src/components/Plot/SynapsePlot.tsx"],"sourcesContent":["import React from 'react'\nimport { useGetFullTableQueryResults } from '@/synapse-queries'\nimport { SynapseConstants } from '@/utils'\nimport { parseEntityIdFromSqlStatement } from '@/utils/functions/SqlFunctions'\nimport { Skeleton } from '@mui/material'\nimport {\n FacetColumnRequest,\n QueryBundleRequest,\n QueryFilter,\n Row,\n} from '@sage-bionetworks/synapse-types'\nimport Plotly, { AxisType, PlotType } from 'plotly.js-basic-dist'\nimport { QueryContextType } from '../QueryContext'\nimport { QueryWrapperSynapsePlotRowClickEvent } from '../QueryWrapperPlotNav/QueryWrapperSynapsePlot'\nimport Plot from './Plot'\nimport './SynapsePlot.scss'\n\nexport type SynapsePlotWidgetParams = {\n query: string //sql string\n title?: string //plot title\n xtitle?: Plotly.LayoutAxis['title'] // x-axis title\n ytitle?: Plotly.LayoutAxis['title'] // y-axis title\n type: PlotType\n xaxistype?: AxisType\n showlegend?: Plotly.Layout['showlegend'] // sets the legend visibility\n horizontal?: boolean // sets the if a bar chart should be horizontal or vertical\n barmode?: Plotly.Layout['barmode'] // Plotly barmode\n displayModeBar?: Plotly.Config['displayModeBar'] // sets the modebar visibility\n hoverinfo?: Plotly.PlotData['hoverinfo'] // sets the hover info\n}\n\n// QueryWrapperPlotNav customPlot parameters, undefined otherwise\nexport type QueryWrapperPlotNavCustomPlotParams = {\n selectedFacets: FacetColumnRequest[]\n additionalFilters: QueryFilter[]\n onCustomPlotClick?: (event: QueryWrapperSynapsePlotRowClickEvent) => void\n queryContext?: QueryContextType\n}\nexport type SynapsePlotProps = {\n synapsePlotWidgetParams: SynapsePlotWidgetParams\n customPlotParams?: QueryWrapperPlotNavCustomPlotParams\n}\n\nexport const SynapsePlot = (props: SynapsePlotProps): React.ReactNode => {\n const { query } = props.synapsePlotWidgetParams\n const { selectedFacets, additionalFilters, onCustomPlotClick, queryContext } =\n props.customPlotParams ?? {}\n const queryRequest: QueryBundleRequest = {\n concreteType: 'org.sagebionetworks.repo.model.table.QueryBundleRequest',\n partMask: SynapseConstants.BUNDLE_MASK_QUERY_RESULTS,\n entityId: parseEntityIdFromSqlStatement(query),\n query: {\n sql: query,\n selectedFacets,\n additionalFilters,\n },\n }\n const { data: queryData, isLoading } =\n useGetFullTableQueryResults(queryRequest)\n if (isLoading) {\n return <Skeleton width={'100%'} height={'200px'} />\n }\n if (!queryData) {\n return <></>\n }\n\n const {\n title,\n xtitle,\n ytitle,\n type,\n xaxistype,\n showlegend,\n barmode,\n horizontal,\n displayModeBar,\n hoverinfo,\n } = props.synapsePlotWidgetParams\n\n const config: Partial<Plotly.Config> = {\n displayModeBar,\n }\n const layout: Partial<Plotly.Layout> = {\n showlegend: showlegend,\n title,\n barmode: barmode,\n }\n if (xtitle) {\n layout.xaxis = {\n title: xtitle,\n }\n }\n if (xaxistype) {\n layout.xaxis = {\n ...layout.xaxis,\n type: xaxistype,\n }\n }\n if (ytitle) {\n layout.yaxis = {\n title: ytitle,\n }\n }\n // init plot_data\n const plotData: Partial<Plotly.PlotData>[] = []\n const orientation = horizontal ? 'h' : 'v'\n const headers = queryData.queryResult?.queryResults.headers ?? []\n const rows = queryData.queryResult?.queryResults.rows ?? []\n if (headers.length == 0 || rows.length == 0) {\n return <></>\n }\n for (let i = 0; i < headers.length - 1; i += 1) {\n // make an entry for each set of data points\n plotData[i] = {\n orientation,\n name: headers[i + 1].name,\n type: type,\n x: [],\n y: [],\n customdata: [],\n ...(hoverinfo !== undefined && { hoverinfo }),\n }\n }\n // grab all the data\n for (const row of rows) {\n for (let j = 1; j < row.values.length; j += 1) {\n // create pairs of data\n const rowValues = row.values\n const xArray = plotData[j - 1].x as Plotly.Datum[]\n const yArray = plotData[j - 1].y as Plotly.Datum[]\n const customdata = plotData[j - 1].customdata as Plotly.Datum[]\n\n xArray.push(horizontal ? rowValues[j] : rowValues[0])\n yArray.push(horizontal ? rowValues[0] : rowValues[j])\n customdata.push(JSON.stringify(row))\n }\n }\n let onPlotClick:\n | ((event: Readonly<Plotly.PlotMouseEvent>) => void)\n | undefined\n if (onCustomPlotClick) {\n onPlotClick = eventData => {\n const selectedRow = JSON.parse(\n eventData.points[0].customdata as string,\n ) as Row\n onCustomPlotClick({\n row: selectedRow,\n queryContext,\n })\n }\n }\n\n return (\n <Plot\n style={{ width: '100%', height: '450px' }}\n className={onPlotClick ? 'SynapsePlot--clickable' : undefined}\n layout={layout}\n data={plotData}\n config={config}\n onClick={onPlotClick}\n />\n )\n}\n\nexport default SynapsePlot\n"],"names":["SynapsePlot","props","query","selectedFacets","additionalFilters","onCustomPlotClick","queryContext","queryRequest","SynapseConstants.BUNDLE_MASK_QUERY_RESULTS","parseEntityIdFromSqlStatement","queryData","isLoading","useGetFullTableQueryResults","jsx","Skeleton","Fragment","title","xtitle","ytitle","type","xaxistype","showlegend","barmode","horizontal","displayModeBar","hoverinfo","config","layout","plotData","orientation","headers","rows","i","row","j","rowValues","xArray","yArray","customdata","onPlotClick","eventData","selectedRow","Plot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CO,MAAMA,KAAc,CAACC,MAA6C;AACvE,QAAM,EAAE,O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@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import { getDisplayValue as Z } from "../../utils/functions/getDataFromFromStorage.js";
|
|
3
3
|
import { unCamelCase as ee } from "../../utils/functions/unCamelCase.js";
|
|
4
|
-
import
|
|
4
|
+
import oe from "../../utils/hooks/useMutuallyExclusiveState.js";
|
|
5
5
|
import { useQuery as te } from "@tanstack/react-query";
|
|
6
6
|
import { useMemo as u, useState as t, useEffect as se, useCallback as c } from "react";
|
|
7
7
|
import { useDeepCompareMemoize as le } from "use-deep-compare-effect";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryWrapperPlotNav.d.ts","sourceRoot":"","sources":["../../../src/components/QueryWrapperPlotNav/QueryWrapperPlotNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oDAAoD,CAAA;AAiBlG,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAItE,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAA;AACzE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAGL,8BAA8B,EAC/B,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAgB,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAGjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAA;AAC3D,OAAiB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAElE,OAAyB,EACvB,qBAAqB,EACrB,aAAa,EACd,MAAM,mDAAmD,CAAA;AAG1D,OAAuB,EACrB,mBAAmB,EACpB,MAAM,qCAAqC,CAAA;AAC5C,OAA4B,EAC1B,wBAAwB,EACzB,MAAM,6CAA6C,CAAA;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"QueryWrapperPlotNav.d.ts","sourceRoot":"","sources":["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AAkL7B,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAmH1E"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as M, useState as R, createElement as x } from "react";
|
|
3
|
-
import
|
|
4
|
-
import { useGetAddToDownloadListRequestForCurrentQuery as
|
|
5
|
-
import { NoContentPlaceholderType as
|
|
1
|
+
import { jsx as t, jsxs as P, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as M, useState as R, createElement as B, Suspense as x } from "react";
|
|
3
|
+
import v from "../download_list/AddToDownloadListConfirmationAlert/AddToDownloadListConfirmationAlert.js";
|
|
4
|
+
import { useGetAddToDownloadListRequestForCurrentQuery as O } from "../QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js";
|
|
5
|
+
import { NoContentPlaceholderType as I } from "../SynapseTable/NoContentPlaceholderType.js";
|
|
6
6
|
import "../../synapse-client/SynapseClient.js";
|
|
7
7
|
import "@sage-bionetworks/synapse-client/generated/models/ErrorResponseCode";
|
|
8
8
|
import "@sage-bionetworks/synapse-client/generated/models/TwoFactorAuthErrorResponse";
|
|
9
9
|
import "@sage-bionetworks/synapse-client/util/SynapseClientError";
|
|
10
|
-
import { parseEntityIdAndVersionFromSqlStatement as
|
|
11
|
-
import { isTable as
|
|
12
|
-
import { DEFAULT_PAGE_SIZE as
|
|
10
|
+
import { parseEntityIdAndVersionFromSqlStatement as W, getAdditionalFilters as K } from "../../utils/functions/SqlFunctions.js";
|
|
11
|
+
import { isTable as Y } from "../../utils/functions/EntityTypeUtils.js";
|
|
12
|
+
import { DEFAULT_PAGE_SIZE as V, BUNDLE_MASK_QUERY_RESULTS as J, BUNDLE_MASK_QUERY_COUNT as $, BUNDLE_MASK_QUERY_SELECT_COLUMNS as k, BUNDLE_MASK_QUERY_MAX_ROWS_PER_PAGE as G, BUNDLE_MASK_QUERY_COLUMN_MODELS as H, BUNDLE_MASK_QUERY_FACETS as j, BUNDLE_MASK_SUM_FILES_SIZE_BYTES as z, BUNDLE_MASK_LAST_UPDATED_ON as X } from "../../utils/SynapseConstants.js";
|
|
13
13
|
import "lodash-es";
|
|
14
14
|
import "@sage-bionetworks/synapse-client/util/synapseClientFetch";
|
|
15
|
-
import { useQuery as
|
|
15
|
+
import { useQuery as Z } from "@tanstack/react-query";
|
|
16
16
|
import "../../utils/PermissionLevelToAccessType.js";
|
|
17
17
|
import "../../utils/context/SynapseContext.js";
|
|
18
18
|
import "use-deep-compare-effect";
|
|
19
19
|
import "@sage-bionetworks/synapse-types";
|
|
20
|
-
import { Box as
|
|
20
|
+
import { Box as ee } from "@mui/material";
|
|
21
21
|
import "../../utils/hooks/useCookiePreferences.js";
|
|
22
22
|
import "../../utils/hooks/useSourceAppConfigs.js";
|
|
23
23
|
import "universal-cookie";
|
|
@@ -32,31 +32,32 @@ import "lodash-es/xorWith";
|
|
|
32
32
|
import "react-router";
|
|
33
33
|
import "@sage-bionetworks/synapse-client";
|
|
34
34
|
import "../../utils/types/IsType.js";
|
|
35
|
-
import { useGetEntity as
|
|
36
|
-
import { useAtomValue as
|
|
37
|
-
import { SynapseErrorBoundary as
|
|
38
|
-
import { FullTextSearch as
|
|
39
|
-
import { ModalDownload as
|
|
40
|
-
import { useQueryContext as
|
|
41
|
-
import { QueryVisualizationWrapper as
|
|
42
|
-
import { QueryVisualizationContextConsumer as
|
|
43
|
-
import { QueryWrapper as
|
|
44
|
-
import { isRowSelectionVisibleAtom as
|
|
45
|
-
import { QueryWrapperErrorBoundary as
|
|
46
|
-
import
|
|
47
|
-
import { SqlEditor as
|
|
48
|
-
import
|
|
49
|
-
import { CustomControls as
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import { RowSetView as
|
|
54
|
-
|
|
55
|
-
|
|
35
|
+
import { useGetEntity as te } from "../../synapse-queries/entity/useEntity.js";
|
|
36
|
+
import { useAtomValue as oe } from "jotai";
|
|
37
|
+
import { SynapseErrorBoundary as re } from "../error/ErrorBanner.js";
|
|
38
|
+
import { FullTextSearch as ie } from "../FullTextSearch/FullTextSearch.js";
|
|
39
|
+
import { ModalDownload as ne } from "../ModalDownload/ModalDownload.js";
|
|
40
|
+
import { useQueryContext as ae } from "../QueryContext/QueryContext.js";
|
|
41
|
+
import { QueryVisualizationWrapper as se } from "../QueryVisualizationWrapper/QueryVisualizationWrapper.js";
|
|
42
|
+
import { QueryVisualizationContextConsumer as le } from "../QueryVisualizationWrapper/QueryVisualizationContext.js";
|
|
43
|
+
import { QueryWrapper as me } from "../QueryWrapper/QueryWrapper.js";
|
|
44
|
+
import { isRowSelectionVisibleAtom as ue } from "../QueryWrapper/TableRowSelectionState.js";
|
|
45
|
+
import { QueryWrapperErrorBoundary as de } from "../QueryWrapperErrorBoundary.js";
|
|
46
|
+
import ce from "../SynapseTable/SearchV2.js";
|
|
47
|
+
import { SqlEditor as Se } from "../SynapseTable/SqlEditor.js";
|
|
48
|
+
import fe from "../SynapseTable/TopLevelControls/TopLevelControls.js";
|
|
49
|
+
import { CustomControls as Ce } from "../SynapseTable/CustomControls/CustomControls.js";
|
|
50
|
+
import pe from "../TotalQueryResults.js";
|
|
51
|
+
import he from "../widgets/facet-nav/PlotsContainer.js";
|
|
52
|
+
import ye from "../widgets/query-filter/FacetFilterControls.js";
|
|
53
|
+
import { RowSetView as Ee } from "./RowSetView.js";
|
|
54
|
+
import _e from "../QueryWrapper/QueryWrapperLoadingScreen.js";
|
|
55
|
+
const Fe = "isShowingFacetFilters", Le = "isHidingFacetFilters", Qe = "hasSelectedRows";
|
|
56
|
+
function Te(e) {
|
|
56
57
|
const {
|
|
57
58
|
tableConfiguration: r,
|
|
58
|
-
name:
|
|
59
|
-
cardConfiguration:
|
|
59
|
+
name: p,
|
|
60
|
+
cardConfiguration: h,
|
|
60
61
|
facetsToPlot: l,
|
|
61
62
|
availableFacets: y,
|
|
62
63
|
initialExpandedFacetControls: E,
|
|
@@ -70,48 +71,48 @@ function Lt(t) {
|
|
|
70
71
|
remount: S,
|
|
71
72
|
isFullTextSearchEnabled: f,
|
|
72
73
|
customPlots: L,
|
|
73
|
-
initialLimit:
|
|
74
|
-
|
|
74
|
+
initialLimit: Q,
|
|
75
|
+
initialPlotTypeByFacetColumnName: n,
|
|
75
76
|
hideTopLevelControls: a
|
|
76
|
-
} =
|
|
77
|
-
|
|
78
|
-
), U =
|
|
79
|
-
return /* @__PURE__ */
|
|
77
|
+
} = e, o = ae(), [T, A] = R(!1), { hasFacetedSelectColumn: w, queryMetadataQueryOptions: g } = o, { isLoading: q } = Z(
|
|
78
|
+
g
|
|
79
|
+
), U = oe(ue), C = o.currentQueryRequest, D = C?.query.selectedFacets !== void 0 && C.query.selectedFacets.length > 0 || C?.query.additionalFilters !== void 0 && C?.query.additionalFilters.length > 0, N = O();
|
|
80
|
+
return /* @__PURE__ */ t(le, { children: (s) => {
|
|
80
81
|
if (s === void 0)
|
|
81
82
|
throw new Error(
|
|
82
83
|
"No queryVisualizationContext found when using QueryVisualizationContextConsumer"
|
|
83
84
|
);
|
|
84
|
-
return /* @__PURE__ */
|
|
85
|
-
|
|
85
|
+
return /* @__PURE__ */ t(
|
|
86
|
+
ee,
|
|
86
87
|
{
|
|
87
|
-
className: `QueryWrapperPlotNav ${s.showFacetFilter ?
|
|
88
|
+
className: `QueryWrapperPlotNav ${s.showFacetFilter ? Fe : Le} ${U ? Qe : ""} ${a ? "isHidingTopLevelControls" : ""}`,
|
|
88
89
|
sx: {
|
|
89
90
|
"*": {
|
|
90
|
-
cursor:
|
|
91
|
+
cursor: q ? "wait" : void 0
|
|
91
92
|
}
|
|
92
93
|
},
|
|
93
|
-
children: /* @__PURE__ */ P(
|
|
94
|
-
f ? /* @__PURE__ */
|
|
95
|
-
|
|
94
|
+
children: /* @__PURE__ */ P(de, { children: [
|
|
95
|
+
f ? /* @__PURE__ */ t(ie, { ftsConfig: u?.ftsConfig }) : /* @__PURE__ */ t(
|
|
96
|
+
ce,
|
|
96
97
|
{
|
|
97
98
|
...u,
|
|
98
99
|
queryContext: o,
|
|
99
100
|
queryVisualizationContext: s
|
|
100
101
|
}
|
|
101
102
|
),
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
s.showDownloadConfirmation && /* @__PURE__ */
|
|
104
|
-
|
|
103
|
+
/* @__PURE__ */ t(Se, {}),
|
|
104
|
+
s.showDownloadConfirmation && /* @__PURE__ */ t(
|
|
105
|
+
v,
|
|
105
106
|
{
|
|
106
107
|
addToDownloadListRequest: N,
|
|
107
108
|
onClose: () => s.setShowDownloadConfirmation(!1)
|
|
108
109
|
}
|
|
109
110
|
),
|
|
110
|
-
!a && /* @__PURE__ */
|
|
111
|
-
|
|
111
|
+
!a && /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
|
112
|
+
fe,
|
|
112
113
|
{
|
|
113
114
|
showColumnSelection: r !== void 0,
|
|
114
|
-
name:
|
|
115
|
+
name: p,
|
|
115
116
|
hideDownload: i,
|
|
116
117
|
hideQueryCount: _,
|
|
117
118
|
hideFacetFilterControl: !w,
|
|
@@ -122,50 +123,50 @@ function Lt(t) {
|
|
|
122
123
|
customControls: c
|
|
123
124
|
}
|
|
124
125
|
) }),
|
|
125
|
-
w && /* @__PURE__ */
|
|
126
|
-
|
|
126
|
+
w && /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(
|
|
127
|
+
ye,
|
|
127
128
|
{
|
|
128
129
|
availableFacets: y,
|
|
129
130
|
initialExpandedFacetControls: E
|
|
130
131
|
}
|
|
131
132
|
) }),
|
|
132
|
-
/* @__PURE__ */
|
|
133
|
-
|
|
133
|
+
/* @__PURE__ */ t(
|
|
134
|
+
pe,
|
|
134
135
|
{
|
|
135
136
|
frontText: "",
|
|
136
137
|
endText: D ? "filtered by" : "",
|
|
137
138
|
hideIfUnfiltered: !0
|
|
138
139
|
}
|
|
139
140
|
),
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
|
|
141
|
+
/* @__PURE__ */ t(
|
|
142
|
+
Ce,
|
|
142
143
|
{
|
|
143
144
|
customControls: c,
|
|
144
145
|
remount: S
|
|
145
146
|
}
|
|
146
147
|
),
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
|
|
148
|
+
/* @__PURE__ */ t(
|
|
149
|
+
he,
|
|
149
150
|
{
|
|
150
151
|
facetsToPlot: l,
|
|
151
152
|
customPlots: L,
|
|
152
|
-
|
|
153
|
+
initialPlotTypeByFacetColumnName: n
|
|
153
154
|
}
|
|
154
155
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
|
|
156
|
+
/* @__PURE__ */ t(
|
|
157
|
+
Ee,
|
|
157
158
|
{
|
|
158
159
|
tableConfiguration: r,
|
|
159
160
|
hideDownload: i,
|
|
160
|
-
cardConfiguration:
|
|
161
|
-
initialLimit:
|
|
161
|
+
cardConfiguration: h,
|
|
162
|
+
initialLimit: Q
|
|
162
163
|
}
|
|
163
164
|
),
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
T && /* @__PURE__ */ t(
|
|
166
|
+
ne,
|
|
166
167
|
{
|
|
167
168
|
getLastQueryRequest: o?.getCurrentQueryRequest,
|
|
168
|
-
onClose: () =>
|
|
169
|
+
onClose: () => A(!1)
|
|
169
170
|
}
|
|
170
171
|
)
|
|
171
172
|
] })
|
|
@@ -173,92 +174,92 @@ function Lt(t) {
|
|
|
173
174
|
);
|
|
174
175
|
} });
|
|
175
176
|
}
|
|
176
|
-
function
|
|
177
|
+
function At(e) {
|
|
177
178
|
const {
|
|
178
179
|
sql: r,
|
|
179
|
-
tableConfiguration:
|
|
180
|
-
isInfinite:
|
|
181
|
-
limit: l =
|
|
180
|
+
tableConfiguration: p,
|
|
181
|
+
isInfinite: h = !p,
|
|
182
|
+
limit: l = V,
|
|
182
183
|
showLastUpdatedOn: y,
|
|
183
184
|
unitDescription: E,
|
|
184
185
|
additionalFiltersSessionStorageKey: i,
|
|
185
186
|
helpConfiguration: _,
|
|
186
187
|
customPlots: m,
|
|
187
188
|
enabledExternalAnalysisPlatforms: F
|
|
188
|
-
} =
|
|
189
|
-
if (
|
|
190
|
-
return
|
|
191
|
-
if (
|
|
192
|
-
return JSON.parse(
|
|
189
|
+
} = e, u = e.query?.sql ?? r ?? "", { entityId: d, versionNumber: c } = W(u), S = M(() => {
|
|
190
|
+
if (e.query)
|
|
191
|
+
return e.query;
|
|
192
|
+
if (e.initQueryJson)
|
|
193
|
+
return JSON.parse(e.initQueryJson);
|
|
193
194
|
{
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
const A = K(
|
|
196
|
+
e.searchParams,
|
|
197
|
+
e.sqlOperator,
|
|
197
198
|
i
|
|
198
199
|
);
|
|
199
200
|
return {
|
|
200
201
|
sql: r,
|
|
201
|
-
additionalFilters:
|
|
202
|
+
additionalFilters: A,
|
|
202
203
|
limit: l,
|
|
203
204
|
offset: 0
|
|
204
205
|
};
|
|
205
206
|
}
|
|
206
207
|
}, [
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
e.query,
|
|
209
|
+
e.initQueryJson,
|
|
210
|
+
e.searchParams,
|
|
211
|
+
e.sqlOperator,
|
|
211
212
|
i,
|
|
212
213
|
r,
|
|
213
214
|
l
|
|
214
|
-
]), [f, L] = R(1),
|
|
215
|
+
]), [f, L] = R(1), Q = () => {
|
|
215
216
|
L(f + 1);
|
|
216
|
-
}, { data: n } =
|
|
217
|
+
}, { data: n } = te(d, c), a = {
|
|
217
218
|
entityId: d ?? "",
|
|
218
219
|
concreteType: "org.sagebionetworks.repo.model.table.QueryBundleRequest",
|
|
219
|
-
partMask:
|
|
220
|
+
partMask: J | $ | k | G | H | j | z | X,
|
|
220
221
|
query: S
|
|
221
|
-
}, o = (n &&
|
|
222
|
-
return /* @__PURE__ */
|
|
223
|
-
|
|
222
|
+
}, o = (n && Y(n) && n.isSearchEnabled) ?? !1, T = `${JSON.stringify(a)}-${f}`;
|
|
223
|
+
return /* @__PURE__ */ B(
|
|
224
|
+
me,
|
|
224
225
|
{
|
|
225
|
-
...
|
|
226
|
+
...e,
|
|
226
227
|
initQueryRequest: a,
|
|
227
|
-
key:
|
|
228
|
-
isInfinite:
|
|
228
|
+
key: T,
|
|
229
|
+
isInfinite: h
|
|
229
230
|
},
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
|
|
231
|
+
/* @__PURE__ */ t(x, { fallback: /* @__PURE__ */ t(_e, {}), children: /* @__PURE__ */ t(
|
|
232
|
+
se,
|
|
232
233
|
{
|
|
233
234
|
unitDescription: E,
|
|
234
|
-
rgbIndex:
|
|
235
|
-
columnAliases:
|
|
235
|
+
rgbIndex: e.rgbIndex,
|
|
236
|
+
columnAliases: e.columnAliases,
|
|
236
237
|
helpConfiguration: _,
|
|
237
|
-
visibleColumnCount:
|
|
238
|
-
defaultShowPlots:
|
|
239
|
-
hideCopyToClipboard:
|
|
240
|
-
defaultShowSearchBar: (
|
|
241
|
-
hideSearchBarControl:
|
|
238
|
+
visibleColumnCount: e.visibleColumnCount,
|
|
239
|
+
defaultShowPlots: e.defaultShowPlots,
|
|
240
|
+
hideCopyToClipboard: e.hideCopyToClipboard,
|
|
241
|
+
defaultShowSearchBar: (e.defaultShowSearchBox || o) && !e.hideSearchBarControl,
|
|
242
|
+
hideSearchBarControl: e.hideSearchBarControl,
|
|
242
243
|
showLastUpdatedOn: y,
|
|
243
|
-
noContentPlaceholderType:
|
|
244
|
+
noContentPlaceholderType: I.INTERACTIVE,
|
|
244
245
|
hasCustomPlots: Array.isArray(m) && m.length > 0,
|
|
245
246
|
enabledExternalAnalysisPlatforms: F,
|
|
246
|
-
children: /* @__PURE__ */
|
|
247
|
-
|
|
247
|
+
children: /* @__PURE__ */ t(
|
|
248
|
+
Te,
|
|
248
249
|
{
|
|
249
|
-
...
|
|
250
|
+
...e,
|
|
250
251
|
isFullTextSearchEnabled: o,
|
|
251
|
-
remount:
|
|
252
|
+
remount: Q
|
|
252
253
|
}
|
|
253
254
|
)
|
|
254
255
|
}
|
|
255
|
-
)
|
|
256
|
+
) })
|
|
256
257
|
);
|
|
257
258
|
}
|
|
258
259
|
export {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
260
|
+
Qe as HAS_SELECTED_ROWS_CSS,
|
|
261
|
+
Le as QUERY_FILTERS_COLLAPSED_CSS,
|
|
262
|
+
Fe as QUERY_FILTERS_EXPANDED_CSS,
|
|
263
|
+
At as default
|
|
263
264
|
};
|
|
264
265
|
//# sourceMappingURL=QueryWrapperPlotNav.js.map
|