synapse-react-client 4.0.35 → 4.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SWC.index.js +1 -1
- package/dist/aridhia-queries/AridhiaKeyFactory.d.ts +24 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.d.ts.map +1 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.js +49 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.js.map +1 -0
- package/dist/aridhia-queries/FairFormPayload.d.ts +45 -0
- package/dist/aridhia-queries/FairFormPayload.d.ts.map +1 -0
- package/dist/aridhia-queries/FairFormPayload.js +0 -0
- package/dist/aridhia-queries/TransferType.d.ts +10 -0
- package/dist/aridhia-queries/TransferType.d.ts.map +1 -0
- package/dist/aridhia-queries/TransferType.js +0 -0
- package/dist/aridhia-queries/aridhiaTokenExchange.js +6 -6
- package/dist/aridhia-queries/index.d.ts +12 -0
- package/dist/aridhia-queries/index.d.ts.map +1 -1
- package/dist/aridhia-queries/index.js +12 -2
- package/dist/aridhia-queries/useAridhiaQuery.d.ts +37 -0
- package/dist/aridhia-queries/useAridhiaQuery.d.ts.map +1 -0
- package/dist/aridhia-queries/useAridhiaQuery.js +71 -0
- package/dist/aridhia-queries/useAridhiaQuery.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.d.ts +6 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.js +13 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetSettings.d.ts +6 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetSettings.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetSettings.js +13 -0
- package/dist/aridhia-queries/useGetAridhiaDatasetSettings.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaDictionaries.d.ts +6 -0
- package/dist/aridhia-queries/useGetAridhiaDictionaries.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaDictionaries.js +13 -0
- package/dist/aridhia-queries/useGetAridhiaDictionaries.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaRequests.d.ts +5 -4
- package/dist/aridhia-queries/useGetAridhiaRequests.d.ts.map +1 -1
- package/dist/aridhia-queries/useGetAridhiaRequests.js +11 -18
- package/dist/aridhia-queries/useGetAridhiaRequests.js.map +1 -1
- package/dist/aridhia-queries/useGetAridhiaWorkflow.d.ts +13 -0
- package/dist/aridhia-queries/useGetAridhiaWorkflow.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkflow.js +19 -0
- package/dist/aridhia-queries/useGetAridhiaWorkflow.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.d.ts +6 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.js +13 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.d.ts +19 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.js +17 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.js.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaces.d.ts +6 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaces.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaces.js +19 -0
- package/dist/aridhia-queries/useGetAridhiaWorkspaces.js.map +1 -0
- package/dist/aridhia-queries/useSubmitAridhiaDar.d.ts +27 -0
- package/dist/aridhia-queries/useSubmitAridhiaDar.d.ts.map +1 -0
- package/dist/aridhia-queries/useSubmitAridhiaDar.js +38 -0
- package/dist/aridhia-queries/useSubmitAridhiaDar.js.map +1 -0
- package/dist/components/AccessRequirement/EntityActionsRequired.d.ts +0 -1
- package/dist/components/AccessRequirement/EntityActionsRequired.d.ts.map +1 -1
- package/dist/components/AccessRequirement/EntityActionsRequired.js +3 -6
- package/dist/components/AccessRequirement/EntityActionsRequired.js.map +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.js +116 -115
- package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js +67 -57
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js.map +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts +3 -3
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts.map +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.js +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.js.map +1 -1
- package/dist/components/CardContainer/CardConfiguration.d.ts +8 -0
- package/dist/components/CardContainer/CardConfiguration.d.ts.map +1 -1
- package/dist/components/ChangePassword/ChangePasswordWithToken.d.ts.map +1 -1
- package/dist/components/ChangePassword/ChangePasswordWithToken.js +58 -23
- package/dist/components/ChangePassword/ChangePasswordWithToken.js.map +1 -1
- package/dist/components/ChangePassword/useChangePasswordFormState.d.ts.map +1 -1
- package/dist/components/ChangePassword/useChangePasswordFormState.js +13 -3
- package/dist/components/ChangePassword/useChangePasswordFormState.js.map +1 -1
- package/dist/components/CreateTableViewWizard/TableNameForm.d.ts.map +1 -1
- package/dist/components/CreateTableViewWizard/TableNameForm.js +11 -14
- package/dist/components/CreateTableViewWizard/TableNameForm.js.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.js +55 -61
- package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -1
- package/dist/components/DataGrid/components/contextMenu.d.ts.map +1 -1
- package/dist/components/DataGrid/components/contextMenu.js +15 -15
- package/dist/components/DataGrid/components/contextMenu.js.map +1 -1
- package/dist/components/DataGrid/useMergeGridWithSource.d.ts +1 -5
- package/dist/components/DataGrid/useMergeGridWithSource.d.ts.map +1 -1
- package/dist/components/DataGrid/useMergeGridWithSource.js +21 -28
- package/dist/components/DataGrid/useMergeGridWithSource.js.map +1 -1
- package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts +35 -0
- package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts.map +1 -0
- package/dist/components/DatasetHosting/DatasetDownloadButton.js +132 -0
- package/dist/components/DatasetHosting/DatasetDownloadButton.js.map +1 -0
- package/dist/components/DatasetHosting/DatasetHosting.d.ts +91 -0
- package/dist/components/DatasetHosting/DatasetHosting.d.ts.map +1 -0
- package/dist/components/DatasetHosting/DatasetHosting.js +58 -0
- package/dist/components/DatasetHosting/DatasetHosting.js.map +1 -0
- package/dist/components/DatasetHosting/index.d.ts +5 -0
- package/dist/components/DatasetHosting/index.d.ts.map +1 -0
- package/dist/components/DatasetHosting/index.js +3 -0
- package/dist/components/DownloadCart/ActionRequiredListItem.d.ts +0 -2
- package/dist/components/DownloadCart/ActionRequiredListItem.d.ts.map +1 -1
- package/dist/components/DownloadCart/ActionRequiredListItem.js +2 -3
- package/dist/components/DownloadCart/ActionRequiredListItem.js.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.d.ts +1 -2
- package/dist/components/DownloadCart/DownloadCartPage.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js +49 -49
- package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
- package/dist/components/DownloadCart/DownloadListActionsRequired.d.ts +1 -5
- package/dist/components/DownloadCart/DownloadListActionsRequired.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadListActionsRequired.js +5 -6
- package/dist/components/DownloadCart/DownloadListActionsRequired.js.map +1 -1
- package/dist/components/DownloadCart/RequestDownloadCard.d.ts +0 -2
- package/dist/components/DownloadCart/RequestDownloadCard.d.ts.map +1 -1
- package/dist/components/DownloadCart/RequestDownloadCard.js +28 -32
- package/dist/components/DownloadCart/RequestDownloadCard.js.map +1 -1
- package/dist/components/DownloadCart/TableQueryActionsRequired.d.ts +0 -2
- package/dist/components/DownloadCart/TableQueryActionsRequired.d.ts.map +1 -1
- package/dist/components/DownloadCart/TableQueryActionsRequired.js +7 -8
- package/dist/components/DownloadCart/TableQueryActionsRequired.js.map +1 -1
- package/dist/components/DownloadCart/index.d.ts +1 -2
- package/dist/components/DownloadCart/index.d.ts.map +1 -1
- package/dist/components/GenericCard/CardActionButtonStyleContext.d.ts +10 -0
- package/dist/components/GenericCard/CardActionButtonStyleContext.d.ts.map +1 -0
- package/dist/components/GenericCard/CardActionButtonStyleContext.js +10 -0
- package/dist/components/GenericCard/CardActionButtonStyleContext.js.map +1 -0
- package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js +41 -41
- package/dist/components/GenericCard/GenericCardActionButton.d.ts +5 -0
- package/dist/components/GenericCard/GenericCardActionButton.d.ts.map +1 -1
- package/dist/components/GenericCard/GenericCardActionButton.js +28 -11
- package/dist/components/GenericCard/GenericCardActionButton.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts +24 -0
- package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +205 -190
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/JSONArrayEditor/JSONArrayEditor.d.ts.map +1 -1
- package/dist/components/JSONArrayEditor/JSONArrayEditor.js +42 -42
- package/dist/components/JSONArrayEditor/JSONArrayEditor.js.map +1 -1
- package/dist/components/JsonSchemaForm/JsonSchemaForm.css +1 -0
- package/dist/components/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/JsonSchemaForm.js +13 -12
- package/dist/components/JsonSchemaForm/JsonSchemaForm.js.map +1 -1
- package/dist/components/JsonSchemaForm/JsonSchemaForm.module.js +5 -0
- package/dist/components/JsonSchemaForm/JsonSchemaForm.module.js.map +1 -0
- package/dist/components/JsonSchemaForm/JsonSchemaForm.module.scss +109 -0
- package/dist/components/QueryBuilder/QueryBuilderTypes.d.ts +39 -0
- package/dist/components/QueryBuilder/QueryBuilderTypes.d.ts.map +1 -0
- package/dist/components/QueryBuilder/QueryBuilderTypes.js +11 -0
- package/dist/components/QueryBuilder/QueryBuilderTypes.js.map +1 -0
- package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts +48 -0
- package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts.map +1 -0
- package/dist/components/QueryBuilder/queryBuilderTranslation.js +256 -0
- package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -0
- package/dist/components/QueryContext/QueryContext.d.ts +0 -1
- package/dist/components/QueryContext/QueryContext.d.ts.map +1 -1
- package/dist/components/QueryContext/QueryContext.js.map +1 -1
- package/dist/components/QueryWrapper/QueryWrapper.d.ts +0 -1
- package/dist/components/QueryWrapper/QueryWrapper.d.ts.map +1 -1
- package/dist/components/QueryWrapper/QueryWrapper.js +52 -53
- package/dist/components/QueryWrapper/QueryWrapper.js.map +1 -1
- package/dist/components/QueryWrapperErrorBoundary.d.ts.map +1 -1
- package/dist/components/QueryWrapperErrorBoundary.js +4 -11
- package/dist/components/QueryWrapperErrorBoundary.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +0 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js +123 -123
- package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.d.ts.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.js +0 -1
- package/dist/components/SearchQueryWrapper/SearchQueryWrapper.js.map +1 -1
- package/dist/components/ShareThisPage/ShareThisPage.js +30 -29
- package/dist/components/ShareThisPage/ShareThisPage.js.map +1 -1
- package/dist/components/SynapseChat/GridAgentChat.d.ts.map +1 -1
- package/dist/components/SynapseChat/GridAgentChat.js +29 -31
- package/dist/components/SynapseChat/GridAgentChat.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTable.d.ts.map +1 -1
- package/dist/components/SynapseTable/SynapseTable.js +2 -1
- package/dist/components/SynapseTable/SynapseTable.js.map +1 -1
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.d.ts.map +1 -1
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js +29 -30
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js.map +1 -1
- package/dist/components/TanStackTable/StyledTanStackTable.d.ts +7 -0
- package/dist/components/TanStackTable/StyledTanStackTable.d.ts.map +1 -1
- package/dist/components/TanStackTable/StyledTanStackTable.js +68 -48
- package/dist/components/TanStackTable/StyledTanStackTable.js.map +1 -1
- package/dist/components/TanStackTable/useSyncedTopScrollbar.d.ts +13 -0
- package/dist/components/TanStackTable/useSyncedTopScrollbar.d.ts.map +1 -0
- package/dist/components/TanStackTable/useSyncedTopScrollbar.js +32 -0
- package/dist/components/TanStackTable/useSyncedTopScrollbar.js.map +1 -0
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js +36 -34
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js.map +1 -1
- package/dist/components/doi/CreateOrUpdateDoiModal.d.ts.map +1 -1
- package/dist/components/doi/CreateOrUpdateDoiModal.js +10 -13
- package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +143 -140
- package/dist/components/menu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/menu/DropdownMenu.js +6 -6
- package/dist/components/menu/DropdownMenu.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js +5 -5
- package/dist/index.js +161 -159
- package/dist/index.js.map +1 -1
- package/dist/mocks/msw/handlers/dataAccessRequestHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js +30 -26
- package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.d.ts +1 -0
- package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.js +7 -1
- package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/userProfileHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/userProfileHandlers.js +4 -0
- package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
- package/dist/style/components/_all.scss +0 -1
- package/dist/style/components/_cards.scss +4 -2
- package/dist/style/main.css +1 -1
- package/dist/synapse-queries/KeyFactory.d.ts +1 -0
- package/dist/synapse-queries/KeyFactory.d.ts.map +1 -1
- package/dist/synapse-queries/KeyFactory.js +3 -0
- package/dist/synapse-queries/KeyFactory.js.map +1 -1
- package/dist/synapse-queries/dataaccess/index.js +4 -4
- package/dist/synapse-queries/dataaccess/useEDuc.d.ts +7 -0
- package/dist/synapse-queries/dataaccess/useEDuc.d.ts.map +1 -1
- package/dist/synapse-queries/dataaccess/useEDuc.js +11 -3
- package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
- package/dist/synapse-queries/index.js +190 -189
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/APIConstants.d.ts +1 -0
- package/dist/utils/APIConstants.d.ts.map +1 -1
- package/dist/utils/APIConstants.js +2 -2
- package/dist/utils/APIConstants.js.map +1 -1
- package/dist/utils/featureflag/FeatureFlags.d.ts +1 -4
- package/dist/utils/featureflag/FeatureFlags.d.ts.map +1 -1
- package/dist/utils/featureflag/FeatureFlags.js +1 -1
- package/dist/utils/featureflag/FeatureFlags.js.map +1 -1
- package/dist/utils/functions/RegularExpressions.d.ts +10 -0
- package/dist/utils/functions/RegularExpressions.d.ts.map +1 -1
- package/dist/utils/functions/RegularExpressions.js +7 -1
- package/dist/utils/functions/RegularExpressions.js.map +1 -1
- package/dist/utils/functions/SqlFunctions.d.ts.map +1 -1
- package/dist/utils/functions/SqlFunctions.js +19 -3
- package/dist/utils/functions/SqlFunctions.js.map +1 -1
- package/dist/utils/index.js +16 -16
- package/dist/utils/types/IsType.d.ts +4 -1
- package/dist/utils/types/IsType.d.ts.map +1 -1
- package/dist/utils/types/IsType.js +4 -4
- package/dist/utils/types/IsType.js.map +1 -1
- package/dist/utils/types/index.js +2 -2
- package/package.json +7 -7
- package/dist/components/DataGrid/useMergeGridWithRecordSet.d.ts +0 -12
- package/dist/components/DataGrid/useMergeGridWithRecordSet.d.ts.map +0 -1
- package/dist/components/DataGrid/useMergeGridWithRecordSet.js +0 -25
- package/dist/components/DataGrid/useMergeGridWithRecordSet.js.map +0 -1
- package/dist/style/components/_annotations.scss +0 -110
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/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Ac,uBAAuB,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAGnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAA;AACtC,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,229 +1,232 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SynapseToastContainer as
|
|
1
|
+
import ee from "./FullWidthAlert/FullWidthAlert.js";
|
|
2
|
+
import { SynapseToastContainer as te, displayToast as e } from "./ToastMessage/ToastMessage.js";
|
|
3
3
|
import "./FullWidthAlert/index.js";
|
|
4
|
-
import { ClientError as
|
|
4
|
+
import { ClientError as t, EmptyFallbackComponent as n, ErrorBanner as r, ErrorFallbackComponent as i, SignInPrompt as a, SynapseErrorBoundary as o, TableRowFallbackComponent as s, YOU_ARE_NOT_AUTHORIZED_MESSAGE as c } from "./error/ErrorBanner.js";
|
|
5
5
|
import "./ToastMessage/index.js";
|
|
6
|
-
import { LightTooltip as
|
|
7
|
-
import { SkeletonButton as
|
|
8
|
-
import { SkeletonInlineBlock as
|
|
9
|
-
import { SkeletonTable as
|
|
10
|
-
import { SkeletonParagraph as
|
|
6
|
+
import { LightTooltip as l } from "./styled/LightTooltip.js";
|
|
7
|
+
import { SkeletonButton as u } from "./Skeleton/SkeletonButton.js";
|
|
8
|
+
import { SkeletonInlineBlock as d } from "./Skeleton/SkeletonInlineBlock.js";
|
|
9
|
+
import { SkeletonTable as f } from "./Skeleton/SkeletonTable.js";
|
|
10
|
+
import { SkeletonParagraph as p } from "./Skeleton/SkeletonParagraph.js";
|
|
11
11
|
import "./Skeleton/index.js";
|
|
12
|
-
import { HelpPopover as
|
|
13
|
-
import { ConfirmationDialog as
|
|
12
|
+
import { HelpPopover as m } from "./HelpPopover/HelpPopover.js";
|
|
13
|
+
import { ConfirmationDialog as h } from "./ConfirmationDialog/ConfirmationDialog.js";
|
|
14
14
|
import "./ConfirmationDialog/index.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { AccessTokenPage as
|
|
15
|
+
import g, { SynapseErrorType as _ } from "./error/ErrorPage.js";
|
|
16
|
+
import v from "./SynapseTable/NoContentAvailable.js";
|
|
17
|
+
import y from "./IconSvg/IconSvg.js";
|
|
18
|
+
import b from "./TextField/TextField.js";
|
|
19
|
+
import { AccessTokenPage as x } from "./AccessTokenPage/AccessTokenPage.js";
|
|
20
20
|
import "./AccessTokenPage/index.js";
|
|
21
|
-
import { AccountLevelBadges as
|
|
21
|
+
import { AccountLevelBadges as S } from "./AccountLevelBadges/AccountLevelBadges.js";
|
|
22
22
|
import "./AccountLevelBadges/index.js";
|
|
23
|
-
import
|
|
23
|
+
import C, { useLastLoginInfo as w, useLastLoginInfoState as T } from "./Authentication/LastLoginInfo.js";
|
|
24
24
|
import "./TextField/index.js";
|
|
25
|
-
import
|
|
25
|
+
import E from "./Authentication/PasswordField.js";
|
|
26
26
|
import "./IconSvg/index.js";
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import { LeftRightPanel as
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
27
|
+
import D from "./Authentication/OneTimePasswordForm.js";
|
|
28
|
+
import O from "./Authentication/StandaloneLoginForm.js";
|
|
29
|
+
import { LeftRightPanel as k, StyledInnerContainer as A, StyledOuterContainer as j } from "./styled/LeftRightPanel.js";
|
|
30
|
+
import M from "./Authentication/TwoFactorEnrollmentForm.js";
|
|
31
|
+
import N from "./Authentication/TwoFactorAuthSettingsPanel.js";
|
|
32
|
+
import P from "./Authentication/TwoFactorBackupCodes.js";
|
|
33
33
|
import "./Authentication/index.js";
|
|
34
|
-
import { getFileHandleAssociation as
|
|
35
|
-
import { Project as
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import { StyledFormControl as
|
|
39
|
-
import {
|
|
34
|
+
import { getFileHandleAssociation as F, getLinkParams as I, getValueOrMultiValue as L } from "./GenericCard/CardUtils.js";
|
|
35
|
+
import { Project as R } from "../assets/themed_icons/Project.js";
|
|
36
|
+
import z from "./Icon/Icon.js";
|
|
37
|
+
import B from "./ShowMore/ShowMore.js";
|
|
38
|
+
import { StyledFormControl as V } from "./styled/StyledFormControl.js";
|
|
39
|
+
import { DATASET_HOSTING_CONFIG as H, fillRepository as U, normalizeHosting as W } from "./DatasetHosting/DatasetHosting.js";
|
|
40
|
+
import { EntityDownloadConfirmation as G } from "./EntityDownloadConfirmation/EntityDownloadConfirmation.js";
|
|
40
41
|
import "./EntityDownloadConfirmation/index.js";
|
|
41
|
-
import {
|
|
42
|
+
import { DatasetDownloadButton as K } from "./DatasetHosting/DatasetDownloadButton.js";
|
|
43
|
+
import { QueryContext as q, QueryContextConsumer as J, QueryContextProvider as Y, useQueryContext as X } from "./QueryContext/QueryContext.js";
|
|
42
44
|
import "./QueryContext/index.js";
|
|
43
|
-
import { CARD_SHORT_DESCRIPTION_CSS as
|
|
44
|
-
import { GenericCard as
|
|
45
|
-
import { UserCard as
|
|
46
|
-
import { SynapseCardLabel as
|
|
47
|
-
import { generateEncodedPathAndQueryForSelectedFacetURL as
|
|
48
|
-
import { QueryWrapper as
|
|
45
|
+
import { CARD_SHORT_DESCRIPTION_CSS as Z, LongDescription as Q, ShortDescription as ne } from "./GenericCard/CollapsibleDescription.js";
|
|
46
|
+
import { GenericCard as re } from "./GenericCard/GenericCard.js";
|
|
47
|
+
import { UserCard as ie } from "./UserCard/UserCard.js";
|
|
48
|
+
import { SynapseCardLabel as ae } from "./GenericCard/SynapseCardLabel.js";
|
|
49
|
+
import { generateEncodedPathAndQueryForSelectedFacetURL as oe } from "./QueryWrapper/generateEncodedPathAndQueryForSelectedFacetURL.js";
|
|
50
|
+
import { QueryWrapper as se } from "./QueryWrapper/QueryWrapper.js";
|
|
49
51
|
import "./QueryWrapper/index.js";
|
|
50
|
-
import { WideButton as
|
|
52
|
+
import { WideButton as ce } from "./styled/WideButton.js";
|
|
51
53
|
import "./error/index.js";
|
|
52
|
-
import { UserCardList as
|
|
53
|
-
import { CardContainer as
|
|
54
|
+
import { UserCardList as le } from "./UserCardList/UserCardList.js";
|
|
55
|
+
import { CardContainer as ue } from "./CardContainer/CardContainer.js";
|
|
54
56
|
import "./CardContainer/index.js";
|
|
55
|
-
import
|
|
57
|
+
import de from "./UserOrTeamBadge/UserOrTeamBadge.js";
|
|
56
58
|
import "./UserOrTeamBadge/index.js";
|
|
57
|
-
import { FileUpload as
|
|
59
|
+
import { FileUpload as fe } from "./FileUpload/FileUpload.js";
|
|
58
60
|
import "./HelpPopover/index.js";
|
|
59
61
|
import "./Icon/index.js";
|
|
60
|
-
import { ModalDownload as
|
|
61
|
-
import { HasAccessV2 as
|
|
62
|
+
import { ModalDownload as pe } from "./ModalDownload/ModalDownload.js";
|
|
63
|
+
import { HasAccessV2 as me } from "./HasAccess/HasAccessV2.js";
|
|
62
64
|
import "./HasAccess/index.js";
|
|
63
65
|
import "./GenericCard/index.js";
|
|
64
|
-
import { SynapseTable as
|
|
66
|
+
import { SynapseTable as he } from "./SynapseTable/SynapseTable.js";
|
|
65
67
|
import "./SynapseTable/index.js";
|
|
66
|
-
import { CardContainerLogic as
|
|
68
|
+
import { CardContainerLogic as ge } from "./CardContainerLogic/CardContainerLogic.js";
|
|
67
69
|
import "./CardContainerLogic/index.js";
|
|
68
|
-
import
|
|
70
|
+
import _e from "./CardGridWithLinks/CardGridWithLinks.js";
|
|
69
71
|
import "./CardGridWithLinks/index.js";
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
+
import ve from "./RowDataTable/RowDataTable.js";
|
|
73
|
+
import ye from "./RowDataTable/RowDataTableWithQuery.js";
|
|
72
74
|
import "./RowDataTable/index.js";
|
|
73
|
-
import
|
|
75
|
+
import be from "./CertificationQuiz/CertificationQuiz.js";
|
|
74
76
|
import "./CertificationQuiz/index.js";
|
|
75
|
-
import { ChallengeDetailPage as
|
|
77
|
+
import { ChallengeDetailPage as xe } from "./ChallengeDetailPage/ChallengeDetailPage.js";
|
|
76
78
|
import "./ChallengeDetailPage/index.js";
|
|
77
|
-
import { HoverPopover as
|
|
78
|
-
import { EntityBadgeIcons as
|
|
79
|
+
import { HoverPopover as Se } from "./styled/HoverPopover.js";
|
|
80
|
+
import { EntityBadgeIcons as Ce } from "./EntityBadgeIcons/EntityBadgeIcons.js";
|
|
79
81
|
import "./EntityBadgeIcons/index.js";
|
|
80
|
-
import { ChallengeDataDownload as
|
|
82
|
+
import { ChallengeDataDownload as we } from "./ChallengeDataDownload/ChallengeDataDownload.js";
|
|
81
83
|
import "./ChallengeDataDownload/index.js";
|
|
82
|
-
import
|
|
84
|
+
import Te from "./ChallengeSubmission/AvailableEvaluationQueueList.js";
|
|
83
85
|
import "./FileUpload/index.js";
|
|
84
|
-
import { ChallengeSubmission as
|
|
86
|
+
import { ChallengeSubmission as Ee } from "./ChallengeSubmission/ChallengeSubmission.js";
|
|
85
87
|
import "./ChallengeSubmission/index.js";
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
+
import De from "./ChangePassword/ChangePassword.js";
|
|
89
|
+
import Oe from "./ChangePassword/ChangePasswordWithToken.js";
|
|
88
90
|
import "./ChangePassword/index.js";
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
+
import ke from "./CookiesNotification/CookiePreferencesDialog.js";
|
|
92
|
+
import Ae from "./CookiesNotification/CookiesNotification.js";
|
|
91
93
|
import "./CookiesNotification/index.js";
|
|
92
|
-
import
|
|
94
|
+
import je from "./ColoredBulletListItem/ColoredBulletListItem.js";
|
|
93
95
|
import "./ColoredBulletListItem/index.js";
|
|
94
|
-
import
|
|
96
|
+
import Me from "./CTASectionWrapper/CTASectionWrapper.js";
|
|
95
97
|
import "./CTASectionWrapper/index.js";
|
|
96
|
-
import { DownloadIneligibleForPackagingFilesFromListButton as
|
|
97
|
-
import { DownloadCartPage as
|
|
98
|
-
import { ShowDownloadV2 as
|
|
98
|
+
import { DownloadIneligibleForPackagingFilesFromListButton as Ne } from "./DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js";
|
|
99
|
+
import { DownloadCartPage as Pe } from "./DownloadCart/DownloadCartPage.js";
|
|
100
|
+
import { ShowDownloadV2 as $ } from "./DownloadCart/ShowDownloadV2.js";
|
|
99
101
|
import "./DownloadCart/index.js";
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
+
import Fe from "./DynamicForm/DynamicForm.js";
|
|
103
|
+
import Ie from "./DynamicForm/DynamicFormModal.js";
|
|
102
104
|
import "./DynamicForm/index.js";
|
|
103
|
-
import { EntityFinder as
|
|
105
|
+
import { EntityFinder as Le } from "./EntityFinder/EntityFinder.js";
|
|
104
106
|
import "./EntityFinder/index.js";
|
|
105
|
-
import { EntityForm as
|
|
107
|
+
import { EntityForm as Re } from "./EntityForm/EntityForm.js";
|
|
106
108
|
import "./EntityForm/index.js";
|
|
107
|
-
import { EvaluationCard as
|
|
108
|
-
import { EvaluationEditorPage as
|
|
109
|
+
import { EvaluationCard as ze } from "./Evaluation/EvaluationCard.js";
|
|
110
|
+
import { EvaluationEditorPage as Be } from "./Evaluation/EvaluationEditorPage.js";
|
|
109
111
|
import "./Evaluation/index.js";
|
|
110
|
-
import
|
|
112
|
+
import Ve from "./ExperimentalMode/ExperimentalMode.js";
|
|
111
113
|
import "./ExperimentalMode/index.js";
|
|
112
|
-
import { ExternalFileHandleLink as
|
|
114
|
+
import { ExternalFileHandleLink as He } from "./ExternalFileHandleLink/ExternalFileHandleLink.js";
|
|
113
115
|
import "./ExternalFileHandleLink/index.js";
|
|
114
|
-
import
|
|
116
|
+
import Ue from "./FeaturedDataTabs/FeaturedDataTabs.js";
|
|
115
117
|
import "./FeaturedDataTabs/index.js";
|
|
116
118
|
import "./ShowMore/index.js";
|
|
117
|
-
import { FeaturedToolsList as
|
|
119
|
+
import { FeaturedToolsList as We } from "./FeaturedToolsList/FeaturedToolsList.js";
|
|
118
120
|
import "./FeaturedToolsList/index.js";
|
|
119
|
-
import { MarkdownEditor as
|
|
120
|
-
import { DiscussionThread as
|
|
121
|
-
import { ForumPage as
|
|
121
|
+
import { MarkdownEditor as Ge } from "./Markdown/MarkdownEditor.js";
|
|
122
|
+
import { DiscussionThread as Ke } from "./Forum/DiscussionThread.js";
|
|
123
|
+
import { ForumPage as qe } from "./Forum/ForumPage.js";
|
|
122
124
|
import "./Forum/index.js";
|
|
123
|
-
import { QueryCount as
|
|
124
|
-
import { Goals as
|
|
125
|
+
import { QueryCount as Je } from "./QueryCount/QueryCount.js";
|
|
126
|
+
import { Goals as Ye } from "./Goals/Goals.js";
|
|
125
127
|
import "./Goals/index.js";
|
|
126
|
-
import
|
|
128
|
+
import Xe from "./PortalSectionHeader/PortalSectionHeader.js";
|
|
127
129
|
import "./PortalSectionHeader/index.js";
|
|
128
|
-
import { GoalsV2 as
|
|
130
|
+
import { GoalsV2 as Ze } from "./GoalsV2/GoalsV2.js";
|
|
129
131
|
import "./GoalsV2/index.js";
|
|
130
|
-
import
|
|
132
|
+
import Qe from "./GoalsV3/GoalsV3.js";
|
|
131
133
|
import "./GoalsV3/index.js";
|
|
132
|
-
import { GoogleAnalytics as
|
|
134
|
+
import { GoogleAnalytics as $e } from "./GoogleAnalytics/GoogleAnalytics.js";
|
|
133
135
|
import "./GoogleAnalytics/index.js";
|
|
134
|
-
import
|
|
136
|
+
import et from "./GoogleMap/GoogleMap.js";
|
|
135
137
|
import "./GoogleMap/index.js";
|
|
136
|
-
import { MarkdownCollapse as
|
|
137
|
-
import { MarkdownGithubLatestTag as
|
|
138
|
+
import { MarkdownCollapse as tt } from "./Markdown/MarkdownCollapse.js";
|
|
139
|
+
import { MarkdownGithubLatestTag as nt } from "./Markdown/MarkdownGithub.js";
|
|
138
140
|
import "./ModalDownload/index.js";
|
|
139
|
-
import { OAuthManagement as
|
|
141
|
+
import { OAuthManagement as rt } from "./OAuthClientManagement/OAuthManagement.js";
|
|
140
142
|
import "./OAuthClientManagement/index.js";
|
|
141
|
-
import
|
|
143
|
+
import it from "./OrientationBanner/OrientationBanner.js";
|
|
142
144
|
import "./OrientationBanner/index.js";
|
|
143
|
-
import { ThemesPlot as
|
|
144
|
-
import { UpsetPlot as
|
|
145
|
-
import { SynapsePlot as
|
|
146
|
-
import { SynapseSankeyPlot as
|
|
145
|
+
import { ThemesPlot as at } from "./Plot/ThemesPlot.js";
|
|
146
|
+
import { UpsetPlot as ot } from "./Plot/UpsetPlot.js";
|
|
147
|
+
import { SynapsePlot as st } from "./Plot/SynapsePlot.js";
|
|
148
|
+
import { SynapseSankeyPlot as ct } from "./Plot/SynapseSankeyPlot.js";
|
|
147
149
|
import "./Plot/index.js";
|
|
148
|
-
import { Programs as
|
|
150
|
+
import { Programs as lt } from "./Programs/Programs.js";
|
|
149
151
|
import "./Programs/index.js";
|
|
150
|
-
import { ProgrammaticTableDownload as
|
|
152
|
+
import { ProgrammaticTableDownload as ut } from "./ProgrammaticTableDownload/ProgrammaticTableDownload.js";
|
|
151
153
|
import "./ProgrammaticTableDownload/index.js";
|
|
152
|
-
import
|
|
154
|
+
import dt from "./ProvenanceGraph/ProvenanceGraph.js";
|
|
153
155
|
import "./ProvenanceGraph/index.js";
|
|
154
|
-
import { ProjectDataAvailability as
|
|
156
|
+
import { ProjectDataAvailability as ft } from "./ProjectStorage/ProjectDataAvailability.js";
|
|
155
157
|
import "./ProjectStorage/index.js";
|
|
156
158
|
import "./QueryCount/index.js";
|
|
157
|
-
import
|
|
158
|
-
import
|
|
159
|
+
import pt from "./QueryWrapperPlotNav/QueryWrapperSynapsePlot.js";
|
|
160
|
+
import mt from "./QueryWrapperPlotNav/QueryWrapperPlotNav.js";
|
|
159
161
|
import "./QueryWrapperPlotNav/index.js";
|
|
160
|
-
import { SearchQueryWrapper as
|
|
161
|
-
import
|
|
162
|
-
import
|
|
162
|
+
import { SearchQueryWrapper as ht } from "./SearchQueryWrapper/SearchQueryWrapper.js";
|
|
163
|
+
import gt, { isSearchQueryWrapperPlotNavProps as _t } from "./SearchQueryWrapperPlotNav/SearchQueryWrapperPlotNav.js";
|
|
164
|
+
import vt from "./RegisterPageLogoutPrompt/RegisterPageLogoutPrompt.js";
|
|
163
165
|
import "./RegisterPageLogoutPrompt/index.js";
|
|
164
|
-
import { RenderIfInView as
|
|
166
|
+
import { RenderIfInView as yt } from "./RenderIfInView/RenderIfInView.js";
|
|
165
167
|
import "./RenderIfInView/index.js";
|
|
166
|
-
import { Resources as
|
|
168
|
+
import { Resources as bt } from "./Resources/Resources.js";
|
|
167
169
|
import "./Resources/index.js";
|
|
168
|
-
import { AccessRequirementAclEditor as
|
|
170
|
+
import { AccessRequirementAclEditor as xt } from "./AccessRequirementAclEditor/AccessRequirementAclEditor.js";
|
|
169
171
|
import "./AccessRequirementAclEditor/index.js";
|
|
170
|
-
import { RssFeedCards as
|
|
172
|
+
import { RssFeedCards as St } from "./RssFeedCards/RssFeedCards.js";
|
|
171
173
|
import "./RssFeedCards/index.js";
|
|
172
|
-
import
|
|
174
|
+
import Ct from "./StandaloneQueryWrapper/StandaloneQueryWrapper.js";
|
|
173
175
|
import "./StandaloneQueryWrapper/index.js";
|
|
174
|
-
import { InputSizedButton as
|
|
176
|
+
import { InputSizedButton as wt } from "./styled/InputSizedButton.js";
|
|
175
177
|
import "./styled/index.js";
|
|
176
|
-
import
|
|
178
|
+
import Tt from "./SubscriptionPage/SubscriptionPage.js";
|
|
177
179
|
import "./SubscriptionPage/index.js";
|
|
178
|
-
import
|
|
180
|
+
import Et from "./SubsectionRowRenderer/SubsectionRowRenderer.js";
|
|
179
181
|
import "./SubsectionRowRenderer/index.js";
|
|
180
|
-
import { SynapseFormWrapper as
|
|
181
|
-
import { SynapseFormSubmissionGrid as
|
|
182
|
+
import { SynapseFormWrapper as Dt } from "./SynapseForm/SynapseFormWrapper.js";
|
|
183
|
+
import { SynapseFormSubmissionGrid as Ot } from "./SynapseForm/SynapseFormSubmissionGrid.js";
|
|
182
184
|
import "./SynapseForm/index.js";
|
|
183
|
-
import { SynapseChat as
|
|
184
|
-
import { SynapsePortalChatDialog as
|
|
185
|
+
import { SynapseChat as kt } from "./SynapseChat/SynapseChat.js";
|
|
186
|
+
import { SynapsePortalChatDialog as At } from "./SynapseChat/SynapsePortalChatDialog.js";
|
|
185
187
|
import "./SynapseChat/index.js";
|
|
186
|
-
import { SystemUseNotification as
|
|
188
|
+
import { SystemUseNotification as jt } from "./SystemUseNotification/SystemUseNotification.js";
|
|
187
189
|
import "./SystemUseNotification/index.js";
|
|
188
|
-
import
|
|
190
|
+
import Mt from "./TableFeedCards/TableFeedCards.js";
|
|
189
191
|
import "./TableFeedCards/index.js";
|
|
190
|
-
import
|
|
192
|
+
import Nt from "./TermsAndConditions/TermsAndConditions.js";
|
|
191
193
|
import "./TermsAndConditions/index.js";
|
|
192
|
-
import { TimelinePlot as
|
|
194
|
+
import { TimelinePlot as Pt } from "./TimelinePlot/TimelinePlot.js";
|
|
193
195
|
import "./TimelinePlot/index.js";
|
|
194
196
|
import "./UserCard/index.js";
|
|
195
|
-
import { UserCardListRotate as
|
|
196
|
-
import
|
|
197
|
+
import { UserCardListRotate as Ft } from "./UserCardList/UserCardListRotate.js";
|
|
198
|
+
import It from "./UserCardList/UserCardListGroups/UserCardListGroups.js";
|
|
197
199
|
import "./UserCardList/index.js";
|
|
198
|
-
import { UserProfileLinks as
|
|
200
|
+
import { UserProfileLinks as Lt } from "./UserProfileLinks/UserProfileLinks.js";
|
|
199
201
|
import "./UserProfileLinks/index.js";
|
|
200
|
-
import { EntityHeaderTable as
|
|
202
|
+
import { EntityHeaderTable as Rt } from "./EntityHeaderTable/EntityHeaderTable.js";
|
|
201
203
|
import "./EntityHeaderTable/index.js";
|
|
202
|
-
import { AccessRequirementRelatedProjectsList as
|
|
204
|
+
import { AccessRequirementRelatedProjectsList as zt } from "./AccessRequirementRelatedProjectsList/AccessRequirementRelatedProjectsList.js";
|
|
203
205
|
import "./AccessRequirementRelatedProjectsList/index.js";
|
|
204
|
-
import { MuiContainer as
|
|
205
|
-
import { JsonLdScript as
|
|
206
|
-
import { DatasetJsonLdScript as
|
|
207
|
-
import
|
|
206
|
+
import { MuiContainer as Bt } from "./MuiContainer.js";
|
|
207
|
+
import { JsonLdScript as Vt } from "./JsonLdScript.js";
|
|
208
|
+
import { DatasetJsonLdScript as Ht } from "./DatasetJsonLdScript.js";
|
|
209
|
+
import "./DatasetHosting/index.js";
|
|
210
|
+
import { SageResourcesPopover as Ut } from "./SageResourcesPopover/SageResourcesPopover.js";
|
|
208
211
|
import "./SageResourcesPopover/index.js";
|
|
209
|
-
import
|
|
212
|
+
import Wt from "./RecentPublicationsGrid/RecentPublicationsGrid.js";
|
|
210
213
|
import "./RecentPublicationsGrid/index.js";
|
|
211
|
-
import
|
|
214
|
+
import Gt from "./ImageCardGridWithLinks/ImageCardGridWithLinks.js";
|
|
212
215
|
import "./ImageCardGridWithLinks/index.js";
|
|
213
|
-
import
|
|
216
|
+
import Kt from "./PortalFeatureHighlights/PortalFeatureHighlights.js";
|
|
214
217
|
import "./PortalFeatureHighlights/index.js";
|
|
215
|
-
import
|
|
218
|
+
import qt from "./FeaturedResearch/FeaturedResearch.js";
|
|
216
219
|
import "./FeaturedResearch/index.js";
|
|
217
|
-
import
|
|
220
|
+
import Jt from "./PortalHomePageHeader/PortalHomePageHeader.js";
|
|
218
221
|
import "./PortalHomePageHeader/index.js";
|
|
219
|
-
import
|
|
222
|
+
import Yt from "./PortalFeaturedPartners/PortalFeaturedPartners.js";
|
|
220
223
|
import "./PortalFeaturedPartners/index.js";
|
|
221
|
-
import { PortalAclEditor as
|
|
222
|
-
import
|
|
223
|
-
import { PortalCard as
|
|
224
|
-
import { CreatePortalModal as
|
|
225
|
-
import { PortalList as
|
|
224
|
+
import { PortalAclEditor as Xt } from "./PortalAclEditor/PortalAclEditor.js";
|
|
225
|
+
import Zt from "./PortalAclEditor/PortalAclEditorModal.js";
|
|
226
|
+
import { PortalCard as Qt } from "./PortalList/PortalCard.js";
|
|
227
|
+
import { CreatePortalModal as $t } from "./PortalList/CreatePortalModal.js";
|
|
228
|
+
import { PortalList as en } from "./PortalList/PortalList.js";
|
|
226
229
|
import "./PortalList/index.js";
|
|
227
230
|
import "./PortalAclEditor/index.js";
|
|
228
|
-
import { visuallyHidden as
|
|
229
|
-
export {
|
|
231
|
+
import { visuallyHidden as tn } from "./SynapseHomepageV2/HomepageStyles.js";
|
|
232
|
+
export { xt as AccessRequirementAclEditor, zt as AccessRequirementRelatedProjectsList, x as AccessTokenPage, S as AccountLevelBadges, Te as AvailableEvaluationQueueList, Z as CARD_SHORT_DESCRIPTION_CSS, Me as CTASectionWrapper, ue as CardContainer, ge as CardContainerLogic, _e as CardGridWithLinks, be as CertificationQuiz, we as ChallengeDataDownload, xe as ChallengeDetailPage, Ee as ChallengeSubmission, De as ChangePassword, Oe as ChangePasswordWithToken, t as ClientError, je as ColoredBulletListItem, h as ConfirmationDialog, ke as CookiePreferencesDialog, Ae as CookiesNotification, $t as CreatePortalModal, H as DATASET_HOSTING_CONFIG, K as DatasetDownloadButton, K as DatasetDownloadButtonDefault, Ht as DatasetJsonLdScript, Ke as DiscussionThread, Pe as DownloadCartPage, Ne as DownloadIneligibleForPackagingFilesFromListButton, Fe as DynamicForm, Ie as DynamicFormModal, n as EmptyFallbackComponent, Ce as EntityBadgeIcons, G as EntityDownloadConfirmation, Le as EntityFinder, Re as EntityForm, Rt as EntityHeaderTable, r as ErrorBanner, i as ErrorFallbackComponent, g as ErrorPage, ze as EvaluationCard, Be as EvaluationEditorPage, Ve as ExperimentalMode, He as ExternalFileHandleLink, Ue as FeaturedDataTabs, qt as FeaturedResearch, We as FeaturedToolsList, fe as FileUpload, qe as ForumPage, ee as FullWidthAlert, re as GenericCard, Ye as Goals, Ze as GoalsV2, Qe as GoalsV3, $e as GoogleAnalytics, me as HasAccess, m as HelpPopover, Se as HoverPopover, z as Icon, y as IconSvg, Gt as ImageCardGridWithLinks, wt as InputSizedButton, Vt as JsonLdScript, C as LastLoginInfo, k as LeftRightPanel, l as LightTooltip, Q as LongDescription, et as Map, tt as MarkdownCollapse, Ge as MarkdownEditor, nt as MarkdownGithubLatestTag, pe as ModalDownload, Bt as MuiContainer, v as NoContentAvailable, rt as OAuthClientManagement, D as OneTimePasswordForm, it as OrientationBanner, E as PasswordField, Xt as PortalAclEditor, Zt as PortalAclEditorModal, Qt as PortalCard, Kt as PortalFeatureHighlights, Yt as PortalFeaturedPartners, Jt as PortalHomePageHeader, en as PortalList, Xe as PortalSectionHeader, ut as ProgrammaticTableDownload, lt as Programs, ft as ProjectDataAvailability, R as ProjectIcon, dt as ProvenanceGraph, q as QueryContext, J as QueryContextConsumer, Y as QueryContextProvider, Je as QueryCount, se as QueryWrapper, mt as QueryWrapperPlotNav, pt as QueryWrapperSynapsePlot, Wt as RecentPublicationsGrid, vt as RegisterPageLogoutPrompt, yt as RenderIfInView, bt as Resources, ve as RowDataTable, ye as RowDataTableWithQuery, St as RssFeedCards, Ut as SageResourcesPopover, ht as SearchQueryWrapper, gt as SearchQueryWrapperPlotNav, ne as ShortDescription, $ as ShowDownloadV2, B as ShowMore, a as SignInPrompt, u as SkeletonButton, d as SkeletonInlineBlock, p as SkeletonParagraph, f as SkeletonTable, O as StandaloneLoginForm, Ct as StandaloneQueryWrapper, V as StyledFormControl, A as StyledInnerContainer, j as StyledOuterContainer, Tt as SubscriptionPage, Et as SubsectionRowRenderer, ae as SynapseCardLabel, kt as SynapseChat, o as SynapseErrorBoundary, _ as SynapseErrorType, Ot as SynapseFormSubmissionGrid, Dt as SynapseFormWrapper, st as SynapsePlot, At as SynapsePortalChatDialog, ct as SynapseSankeyPlot, he as SynapseTable, te as SynapseToastContainer, jt as SystemUseNotification, Mt as TableFeedCards, s as TableRowFallbackComponent, Nt as TermsAndConditions, b as TextField, at as ThemesPlot, Pt as TimelinePlot, N as TwoFactorAuthSettingsPanel, P as TwoFactorBackupCodes, M as TwoFactorEnrollmentForm, ot as UpsetPlot, ie as UserCard, le as UserCardList, It as UserCardListGroups, Ft as UserCardListRotate, de as UserOrTeamBadge, Lt as UserProfileLinks, ce as WideButton, c as YOU_ARE_NOT_AUTHORIZED_MESSAGE, e as displayToast, U as fillRepository, oe as generateEncodedPathAndQueryForSelectedFacetURL, F as getFileHandleAssociation, I as getLinkParams, L as getValueOrMultiValue, _t as isSearchQueryWrapperPlotNavProps, W as normalizeHosting, w as useLastLoginInfo, T as useLastLoginInfoState, X as useQueryContext, tn as visuallyHidden };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAUX,OAAO,EAIR,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,UAAU,EAKX,MAAM,OAAO,CAAA;AACd,OAAgB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAiCtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAE7B,IAAI,EAAE,MAAM,CAAA;IAEZ,IAAI,CAAC,EAAE,QAAQ,CAAA;IAEf,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAEjC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAE9B,KAAK,EAAE,gBAAgB,EAAE,EAAE,CAAA;IAE3B,kBAAkB,EAAE,MAAM,CAAA;IAE1B,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,WAAW,CAAC,EAAE,WAAW,CAAA;IAEzB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IA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AC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,2BAA2B,CAAC,EAAE,OAAO,CAAA;CACtC,CAAA;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,kDAqNpD"}
|
|
@@ -30,12 +30,12 @@ function x(x) {
|
|
|
30
30
|
if (T && I === 1) {
|
|
31
31
|
let t = w.flat()[0];
|
|
32
32
|
return /* @__PURE__ */ v(a, {
|
|
33
|
-
component:
|
|
33
|
+
component: t.href ? "a" : "button",
|
|
34
34
|
title: t.tooltipText,
|
|
35
35
|
variant: O,
|
|
36
|
-
href:
|
|
37
|
-
rel:
|
|
38
|
-
onClick:
|
|
36
|
+
href: t.href,
|
|
37
|
+
rel: t.href ? "noopener noreferrer" : void 0,
|
|
38
|
+
onClick: t.onClick,
|
|
39
39
|
disabled: t.disabled,
|
|
40
40
|
endIcon: t.icon && /* @__PURE__ */ v(e, {
|
|
41
41
|
icon: t.icon,
|
|
@@ -107,8 +107,8 @@ function x(x) {
|
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
disabled: t.disabled,
|
|
110
|
-
href:
|
|
111
|
-
rel:
|
|
110
|
+
href: t.href,
|
|
111
|
+
rel: t.href ? "noopener noreferrer" : void 0,
|
|
112
112
|
style: { pointerEvents: "auto" },
|
|
113
113
|
onClick: (e) => {
|
|
114
114
|
!t.disabled && "onClick" in t && t.onClick && (P(!1), t.onClick(e));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.js","names":[],"sources":["../../../src/components/menu/DropdownMenu.tsx"],"sourcesContent":["import {\n Button,\n ButtonProps,\n ClickAwayListener,\n Divider,\n Fade,\n ListItemIcon,\n ListItemText,\n MenuItem,\n MenuList,\n Paper,\n Popper,\n SxProps,\n Tooltip,\n Typography,\n Box,\n} from '@mui/material'\nimport {\n KeyboardEvent,\n MouseEvent,\n SyntheticEvent,\n useId,\n useRef,\n useState,\n} from 'react'\nimport IconSvg, { IconName } from '../IconSvg/IconSvg'\n\nconst fileAccessRequestNotice = (\n <Box\n sx={{\n backgroundColor: '#EAF0F5',\n color: '#3B4046',\n padding: '6px 8px',\n borderRadius: '3px',\n marginTop: '8px',\n }}\n >\n <Typography\n sx={{\n fontSize: '14px',\n fontWeight: '440',\n lineHeight: '20px',\n letterSpacing: '-0.07px',\n }}\n >\n <span\n style={{\n fontWeight: '700',\n }}\n >\n Note:{' '}\n </span>\n You can add this file to your download list, but you must make an access\n request before downloading.\n </Typography>\n </Box>\n)\n\n/**\n * Defines a configuration for a particular dropdown menu item\n */\nexport type DropdownMenuItem = {\n /* The text to show on the menu item. */\n text: string\n /* The icon to show for this item in the menu. */\n icon?: IconName\n /* A function invoked upon clicking the item, assuming `disabled` is falsy */\n onClick?: (e: MouseEvent) => void\n /* A link that the item should point to. */\n href?: string\n /* The optional tooltipText to show for this item. Compatible with the `disabled` prop. */\n tooltipText?: string\n /* Whether the item should be disabled from selection. */\n disabled?: boolean\n /* Additional MUI SxProps to pass to the text component */\n textSx?: SxProps\n /* Additional MUI SxProps to pass to the icon component */\n iconSx?: SxProps\n}\n\nexport type DropdownMenuProps = {\n /* Groups of menu items. Each group will be split with a divider. See DropdownMenuItem for per-item configuration */\n items: DropdownMenuItem[][]\n /* The text to show on the dropdown menu button. */\n dropdownButtonText: string\n /* The optional tooltip text for the dropdown menu button. */\n buttonTooltip?: string\n /* Any additional props to pass to the dropdown menu button. */\n buttonProps?: ButtonProps\n /* Optional MUI button variant for the dropdown button (and the single-item button). Default 'outlined'. */\n variant?: ButtonProps['variant']\n /* If true, will render a single action as a standalone button. Default true. */\n convertSingleItemToButton?: boolean\n /* If true, nothing will be rendered if no actions are passed. Default false. */\n renderMenuIfNoItems?: boolean\n paperSx?: SxProps\n elevation?: number\n /* If true, shows the file access request notice at the bottom of the menu. Default false. */\n showFileAccessRequestNotice?: boolean\n}\n\n/**\n * The DropdownMenu component provides a generic way to compose a MUI dropdown menu.\n */\nexport function DropdownMenu(props: DropdownMenuProps) {\n const {\n buttonTooltip,\n dropdownButtonText,\n items = [] as DropdownMenuItem[][],\n convertSingleItemToButton = true,\n renderMenuIfNoItems = false,\n buttonProps = {},\n variant = 'outlined',\n paperSx,\n elevation,\n showFileAccessRequestNotice = false,\n } = props\n\n const dropdownMenuId = useId()\n const [open, setOpen] = useState(false)\n const anchorRef = useRef<HTMLButtonElement>(null)\n\n const numberOfMenuItems = items.flat().length\n\n if (!renderMenuIfNoItems && numberOfMenuItems === 0) {\n // Hide menu if no actions will be in the menu\n return null\n }\n\n if (convertSingleItemToButton && numberOfMenuItems === 1) {\n // If one action is in the menu, show it as a button\n const menuItem = items.flat()[0]\n return (\n <Button\n component={'href' in menuItem ? 'a' : 'button'}\n title={menuItem.tooltipText}\n variant={variant}\n href={'href' in menuItem ? menuItem.href : undefined}\n rel={'href' in menuItem ? 'noopener noreferrer' : undefined}\n onClick={'onClick' in menuItem ? menuItem.onClick : undefined}\n disabled={menuItem.disabled}\n endIcon={menuItem.icon && <IconSvg icon={menuItem.icon} wrap={false} />}\n >\n <Typography variant={'buttonLink'}>{menuItem.text}</Typography>\n </Button>\n )\n }\n\n const handleToggle = () => {\n setOpen(prevOpen => !prevOpen)\n }\n\n const handleClose = (event: Event | SyntheticEvent) => {\n if (\n anchorRef.current &&\n anchorRef.current.contains(event.target as HTMLElement)\n ) {\n return\n }\n\n setOpen(false)\n }\n\n function handleListKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n event.preventDefault()\n setOpen(false)\n } else if (event.key === 'Escape') {\n setOpen(false)\n }\n }\n\n return (\n <>\n <Tooltip\n title={\n buttonTooltip ? (\n <div style={{ whiteSpace: 'pre-line' }}>{buttonTooltip}</div>\n ) : undefined\n }\n placement={'top'}\n >\n <span>\n <Button\n variant={variant}\n ref={anchorRef}\n id={`composition-button-${dropdownMenuId}`}\n aria-controls={\n open ? `composition-menu-${dropdownMenuId}` : undefined\n }\n aria-expanded={open ? 'true' : undefined}\n aria-haspopup=\"true\"\n onClick={handleToggle}\n {...buttonProps}\n >\n <Typography variant={'buttonLink'}>{dropdownButtonText}</Typography>\n </Button>\n </span>\n </Tooltip>\n <Popper\n open={open}\n anchorEl={anchorRef.current}\n role={undefined}\n placement=\"bottom-end\"\n transition\n style={{\n // Fixes issue where react-flow (provenance) would appear above the menu\n zIndex: 10,\n }}\n >\n {({ TransitionProps }) => (\n <Fade {...TransitionProps}>\n <Paper elevation={elevation} sx={{ ...paperSx }}>\n <ClickAwayListener onClickAway={handleClose}>\n <Box>\n <MenuList\n autoFocusItem={open}\n id={`composition-menu-${dropdownMenuId}`}\n aria-labelledby={`composition-button-${dropdownMenuId}`}\n onKeyDown={handleListKeyDown}\n >\n {items.map((itemGroup, index, array) => {\n return [\n itemGroup.map(item => {\n return (\n <Tooltip\n key={item.text}\n title={item.tooltipText}\n placement={'left'}\n >\n <MenuItem\n // Always make the component an anchor in case href is defined.\n component=\"a\"\n sx={{\n // Override the anchor-specific state styles, we don't want it to look like an anchor\n '&:hover': {\n color: 'unset',\n },\n '&:focus': {\n color: 'unset',\n textDecoration: 'unset',\n },\n }}\n disabled={item.disabled}\n href={'href' in item ? item.href : undefined}\n rel={\n 'href' in item\n ? 'noopener noreferrer'\n : undefined\n }\n // Allow pointer events on disabled item so tooltip works.\n style={{ pointerEvents: 'auto' }}\n onClick={(e: MouseEvent) => {\n /*\n * Must check if the item is disabled because we set\n * `pointer-events: 'auto'`\n */\n if (\n !item.disabled &&\n 'onClick' in item &&\n item.onClick\n ) {\n setOpen(false)\n item.onClick(e)\n }\n }}\n >\n {item.icon && (\n <ListItemIcon\n style={{\n // MUI has specified a more specific minWidth for ListItemIcon inside a MenuList than\n // we can create with sx, so apply an inline style for this property only.\n minWidth: '30px',\n }}\n >\n <IconSvg\n icon={item.icon}\n sx={{\n width: '17px',\n height: '17px',\n ...item.iconSx,\n }}\n wrap={false}\n />\n </ListItemIcon>\n )}\n <ListItemText\n sx={{ marginTop: 0 }}\n slotProps={{\n primary: {\n variant: 'smallText1',\n sx: item.textSx,\n },\n }}\n >\n {item.text}\n </ListItemText>\n </MenuItem>\n </Tooltip>\n )\n }),\n index < array.length - 1 && <Divider />,\n ]\n })}\n </MenuList>\n {showFileAccessRequestNotice && (\n <>\n {numberOfMenuItems > 0 && <Divider />}\n {fileAccessRequestNotice}\n </>\n )}\n </Box>\n </ClickAwayListener>\n </Paper>\n </Fade>\n )}\n </Popper>\n </>\n )\n}\n"],"mappings":";;;;;AA2BA,IAAM,IACJ,kBAAC,GAAD;CACE,IAAI;EACF,iBAAiB;EACjB,OAAO;EACP,SAAS;EACT,cAAc;EACd,WAAW;CACb;WAEA,kBAAC,GAAD;EACE,IAAI;GACF,UAAU;GACV,YAAY;GACZ,YAAY;GACZ,eAAe;EACjB;YANF,CAQE,kBAAC,QAAD;GACE,OAAO,EACL,YAAY,MACd;aAHF,CAIC,SACO,GACF;MAAC,sGAGG;;AACT,CAAA;AAiDP,SAAgB,EAAa,GAA0B;CACrD,IAAM,EACJ,kBACA,uBACA,WAAQ,CAAC,GACT,+BAA4B,IAC5B,yBAAsB,IACtB,iBAAc,CAAC,GACf,aAAU,YACV,YACA,cACA,iCAA8B,OAC5B,GAEE,IAAiB,EAAM,GACvB,CAAC,GAAM,KAAW,EAAS,EAAK,GAChC,IAAY,EAA0B,IAAI,GAE1C,IAAoB,EAAM,KAAK,EAAE;CAEvC,IAAI,CAAC,KAAuB,MAAsB,GAEhD,OAAO;CAGT,IAAI,KAA6B,MAAsB,GAAG;EAExD,IAAM,IAAW,EAAM,KAAK,EAAE;EAC9B,OACE,kBAAC,GAAD;GACE,WAAW,UAAU,IAAW,MAAM;GACtC,OAAO,EAAS;GACP;GACT,MAAM,UAAU,IAAW,EAAS,OAAO,KAAA;GAC3C,KAAK,UAAU,IAAW,wBAAwB,KAAA;GAClD,SAAS,aAAa,IAAW,EAAS,UAAU,KAAA;GACpD,UAAU,EAAS;GACnB,SAAS,EAAS,QAAQ,kBAAC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,GAAO,MACrB,CACL,EAAU,KAAI,MAEV,kBAAC,GAAD;OAEE,OAAO,EAAK;OACZ,WAAW;iBAEX,kBAAC,GAAD;QAEE,WAAU;QACV,IAAI;SAEF,WAAW,EACT,OAAO,QACT;SACA,WAAW;UACT,OAAO;UACP,gBAAgB;SAClB;QACF;QACA,UAAU,EAAK;QACf,MAAM,UAAU,IAAO,EAAK,OAAO,KAAA;QACnC,KACE,UAAU,IACN,wBACA,KAAA;QAGN,OAAO,EAAE,eAAe,OAAO;QAC/B,UAAU,MAAkB;SAK1B,AACE,CAAC,EAAK,YACN,aAAa,KACb,EAAK,YAEL,EAAQ,EAAK,GACb,EAAK,QAAQ,CAAC;QAElB;kBAnCF,CAqCG,EAAK,QACJ,kBAAC,GAAD;SACE,OAAO,EAGL,UAAU,OACZ;mBAEA,kBAAC,GAAD;UACE,MAAM,EAAK;UACX,IAAI;WACF,OAAO;WACP,QAAQ;WACR,GAAG,EAAK;UACV;UACA,MAAM;SACP,CAAA;QACW,CAAA,GAEhB,kBAAC,GAAD;SACE,IAAI,EAAE,WAAW,EAAE;SACnB,WAAW,EACT,SAAS;UACP,SAAS;UACT,IAAI,EAAK;SACX,EACF;mBAEC,EAAK;QACM,CAAA,CACN;;MACH,GAxEF,EAAK,IAwEH,CAEZ,GACD,IAAQ,EAAM,SAAS,KAAK,kBAAC,GAAD,CAAU,CAAA,CACxC,CACD;KACO,CAAA,GACT,KACC,kBAAA,GAAA,EAAA,UAAA,CACG,IAAoB,KAAK,kBAAC,GAAD,CAAU,CAAA,GACnC,CACD,EAAA,CAAA,CAED,EAAA,CAAA;IACY,CAAA;GACd,CAAA;EACH,CAAA;CAEF,CAAA,CACR,EAAA,CAAA;AAEN"}
|
|
1
|
+
{"version":3,"file":"DropdownMenu.js","names":[],"sources":["../../../src/components/menu/DropdownMenu.tsx"],"sourcesContent":["import {\n Button,\n ButtonProps,\n ClickAwayListener,\n Divider,\n Fade,\n ListItemIcon,\n ListItemText,\n MenuItem,\n MenuList,\n Paper,\n Popper,\n SxProps,\n Tooltip,\n Typography,\n Box,\n} from '@mui/material'\nimport {\n KeyboardEvent,\n MouseEvent,\n SyntheticEvent,\n useId,\n useRef,\n useState,\n} from 'react'\nimport IconSvg, { IconName } from '../IconSvg/IconSvg'\n\nconst fileAccessRequestNotice = (\n <Box\n sx={{\n backgroundColor: '#EAF0F5',\n color: '#3B4046',\n padding: '6px 8px',\n borderRadius: '3px',\n marginTop: '8px',\n }}\n >\n <Typography\n sx={{\n fontSize: '14px',\n fontWeight: '440',\n lineHeight: '20px',\n letterSpacing: '-0.07px',\n }}\n >\n <span\n style={{\n fontWeight: '700',\n }}\n >\n Note:{' '}\n </span>\n You can add this file to your download list, but you must make an access\n request before downloading.\n </Typography>\n </Box>\n)\n\n/**\n * Defines a configuration for a particular dropdown menu item\n */\nexport type DropdownMenuItem = {\n /* The text to show on the menu item. */\n text: string\n /* The icon to show for this item in the menu. */\n icon?: IconName\n /* A function invoked upon clicking the item, assuming `disabled` is falsy */\n onClick?: (e: MouseEvent) => void\n /* A link that the item should point to. */\n href?: string\n /* The optional tooltipText to show for this item. Compatible with the `disabled` prop. */\n tooltipText?: string\n /* Whether the item should be disabled from selection. */\n disabled?: boolean\n /* Additional MUI SxProps to pass to the text component */\n textSx?: SxProps\n /* Additional MUI SxProps to pass to the icon component */\n iconSx?: SxProps\n}\n\nexport type DropdownMenuProps = {\n /* Groups of menu items. Each group will be split with a divider. See DropdownMenuItem for per-item configuration */\n items: DropdownMenuItem[][]\n /* The text to show on the dropdown menu button. */\n dropdownButtonText: string\n /* The optional tooltip text for the dropdown menu button. */\n buttonTooltip?: string\n /* Any additional props to pass to the dropdown menu button. */\n buttonProps?: ButtonProps\n /* Optional MUI button variant for the dropdown button (and the single-item button). Default 'outlined'. */\n variant?: ButtonProps['variant']\n /* If true, will render a single action as a standalone button. Default true. */\n convertSingleItemToButton?: boolean\n /* If true, nothing will be rendered if no actions are passed. Default false. */\n renderMenuIfNoItems?: boolean\n paperSx?: SxProps\n elevation?: number\n /* If true, shows the file access request notice at the bottom of the menu. Default false. */\n showFileAccessRequestNotice?: boolean\n}\n\n/**\n * The DropdownMenu component provides a generic way to compose a MUI dropdown menu.\n */\nexport function DropdownMenu(props: DropdownMenuProps) {\n const {\n buttonTooltip,\n dropdownButtonText,\n items = [] as DropdownMenuItem[][],\n convertSingleItemToButton = true,\n renderMenuIfNoItems = false,\n buttonProps = {},\n variant = 'outlined',\n paperSx,\n elevation,\n showFileAccessRequestNotice = false,\n } = props\n\n const dropdownMenuId = useId()\n const [open, setOpen] = useState(false)\n const anchorRef = useRef<HTMLButtonElement>(null)\n\n const numberOfMenuItems = items.flat().length\n\n if (!renderMenuIfNoItems && numberOfMenuItems === 0) {\n // Hide menu if no actions will be in the menu\n return null\n }\n\n if (convertSingleItemToButton && numberOfMenuItems === 1) {\n // If one action is in the menu, show it as a button\n const menuItem = items.flat()[0]\n return (\n <Button\n component={menuItem.href ? 'a' : 'button'}\n title={menuItem.tooltipText}\n variant={variant}\n href={menuItem.href}\n rel={menuItem.href ? 'noopener noreferrer' : undefined}\n onClick={menuItem.onClick}\n disabled={menuItem.disabled}\n endIcon={menuItem.icon && <IconSvg icon={menuItem.icon} wrap={false} />}\n >\n <Typography variant={'buttonLink'}>{menuItem.text}</Typography>\n </Button>\n )\n }\n\n const handleToggle = () => {\n setOpen(prevOpen => !prevOpen)\n }\n\n const handleClose = (event: Event | SyntheticEvent) => {\n if (\n anchorRef.current &&\n anchorRef.current.contains(event.target as HTMLElement)\n ) {\n return\n }\n\n setOpen(false)\n }\n\n function handleListKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n event.preventDefault()\n setOpen(false)\n } else if (event.key === 'Escape') {\n setOpen(false)\n }\n }\n\n return (\n <>\n <Tooltip\n title={\n buttonTooltip ? (\n <div style={{ whiteSpace: 'pre-line' }}>{buttonTooltip}</div>\n ) : undefined\n }\n placement={'top'}\n >\n <span>\n <Button\n variant={variant}\n ref={anchorRef}\n id={`composition-button-${dropdownMenuId}`}\n aria-controls={\n open ? `composition-menu-${dropdownMenuId}` : undefined\n }\n aria-expanded={open ? 'true' : undefined}\n aria-haspopup=\"true\"\n onClick={handleToggle}\n {...buttonProps}\n >\n <Typography variant={'buttonLink'}>{dropdownButtonText}</Typography>\n </Button>\n </span>\n </Tooltip>\n <Popper\n open={open}\n anchorEl={anchorRef.current}\n role={undefined}\n placement=\"bottom-end\"\n transition\n style={{\n // Fixes issue where react-flow (provenance) would appear above the menu\n zIndex: 10,\n }}\n >\n {({ TransitionProps }) => (\n <Fade {...TransitionProps}>\n <Paper elevation={elevation} sx={{ ...paperSx }}>\n <ClickAwayListener onClickAway={handleClose}>\n <Box>\n <MenuList\n autoFocusItem={open}\n id={`composition-menu-${dropdownMenuId}`}\n aria-labelledby={`composition-button-${dropdownMenuId}`}\n onKeyDown={handleListKeyDown}\n >\n {items.map((itemGroup, index, array) => {\n return [\n itemGroup.map(item => {\n return (\n <Tooltip\n key={item.text}\n title={item.tooltipText}\n placement={'left'}\n >\n <MenuItem\n // Always make the component an anchor in case href is defined.\n component=\"a\"\n sx={{\n // Override the anchor-specific state styles, we don't want it to look like an anchor\n '&:hover': {\n color: 'unset',\n },\n '&:focus': {\n color: 'unset',\n textDecoration: 'unset',\n },\n }}\n disabled={item.disabled}\n href={item.href}\n rel={\n item.href ? 'noopener noreferrer' : undefined\n }\n // Allow pointer events on disabled item so tooltip works.\n style={{ pointerEvents: 'auto' }}\n onClick={(e: MouseEvent) => {\n /*\n * Must check if the item is disabled because we set\n * `pointer-events: 'auto'`\n */\n if (\n !item.disabled &&\n 'onClick' in item &&\n item.onClick\n ) {\n setOpen(false)\n item.onClick(e)\n }\n }}\n >\n {item.icon && (\n <ListItemIcon\n style={{\n // MUI has specified a more specific minWidth for ListItemIcon inside a MenuList than\n // we can create with sx, so apply an inline style for this property only.\n minWidth: '30px',\n }}\n >\n <IconSvg\n icon={item.icon}\n sx={{\n width: '17px',\n height: '17px',\n ...item.iconSx,\n }}\n wrap={false}\n />\n </ListItemIcon>\n )}\n <ListItemText\n sx={{ marginTop: 0 }}\n slotProps={{\n primary: {\n variant: 'smallText1',\n sx: item.textSx,\n },\n }}\n >\n {item.text}\n </ListItemText>\n </MenuItem>\n </Tooltip>\n )\n }),\n index < array.length - 1 && <Divider />,\n ]\n })}\n </MenuList>\n {showFileAccessRequestNotice && (\n <>\n {numberOfMenuItems > 0 && <Divider />}\n {fileAccessRequestNotice}\n </>\n )}\n </Box>\n </ClickAwayListener>\n </Paper>\n </Fade>\n )}\n </Popper>\n </>\n )\n}\n"],"mappings":";;;;;AA2BA,IAAM,IACJ,kBAAC,GAAD;CACE,IAAI;EACF,iBAAiB;EACjB,OAAO;EACP,SAAS;EACT,cAAc;EACd,WAAW;CACb;WAEA,kBAAC,GAAD;EACE,IAAI;GACF,UAAU;GACV,YAAY;GACZ,YAAY;GACZ,eAAe;EACjB;YANF,CAQE,kBAAC,QAAD;GACE,OAAO,EACL,YAAY,MACd;aAHF,CAIC,SACO,GACF;MAAC,sGAGG;;AACT,CAAA;AAiDP,SAAgB,EAAa,GAA0B;CACrD,IAAM,EACJ,kBACA,uBACA,WAAQ,CAAC,GACT,+BAA4B,IAC5B,yBAAsB,IACtB,iBAAc,CAAC,GACf,aAAU,YACV,YACA,cACA,iCAA8B,OAC5B,GAEE,IAAiB,EAAM,GACvB,CAAC,GAAM,KAAW,EAAS,EAAK,GAChC,IAAY,EAA0B,IAAI,GAE1C,IAAoB,EAAM,KAAK,EAAE;CAEvC,IAAI,CAAC,KAAuB,MAAsB,GAEhD,OAAO;CAGT,IAAI,KAA6B,MAAsB,GAAG;EAExD,IAAM,IAAW,EAAM,KAAK,EAAE;EAC9B,OACE,kBAAC,GAAD;GACE,WAAW,EAAS,OAAO,MAAM;GACjC,OAAO,EAAS;GACP;GACT,MAAM,EAAS;GACf,KAAK,EAAS,OAAO,wBAAwB,KAAA;GAC7C,SAAS,EAAS;GAClB,UAAU,EAAS;GACnB,SAAS,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V,EAAM,KAAK,GAAW,GAAO,MACrB,CACL,EAAU,KAAI,MAEV,kBAAC,GAAD;OAEE,OAAO,EAAK;OACZ,WAAW;iBAEX,kBAAC,GAAD;QAEE,WAAU;QACV,IAAI;SAEF,WAAW,EACT,OAAO,QACT;SACA,WAAW;UACT,OAAO;UACP,gBAAgB;SAClB;QACF;QACA,UAAU,EAAK;QACf,MAAM,EAAK;QACX,KACE,EAAK,OAAO,wBAAwB,KAAA;QAGtC,OAAO,EAAE,eAAe,OAAO;QAC/B,UAAU,MAAkB;SAK1B,AACE,CAAC,EAAK,YACN,aAAa,KACb,EAAK,YAEL,EAAQ,EAAK,GACb,EAAK,QAAQ,CAAC;QAElB;kBAjCF,CAmCG,EAAK,QACJ,kBAAC,GAAD;SACE,OAAO,EAGL,UAAU,OACZ;mBAEA,kBAAC,GAAD;UACE,MAAM,EAAK;UACX,IAAI;WACF,OAAO;WACP,QAAQ;WACR,GAAG,EAAK;UACV;UACA,MAAM;SACP,CAAA;QACW,CAAA,GAEhB,kBAAC,GAAD;SACE,IAAI,EAAE,WAAW,EAAE;SACnB,WAAW,EACT,SAAS;UACP,SAAS;UACT,IAAI,EAAK;SACX,EACF;mBAEC,EAAK;QACM,CAAA,CACN;;MACH,GAtEF,EAAK,IAsEH,CAEZ,GACD,IAAQ,EAAM,SAAS,KAAK,kBAAC,GAAD,CAAU,CAAA,CACxC,CACD;KACO,CAAA,GACT,KACC,kBAAA,GAAA,EAAA,UAAA,CACG,IAAoB,KAAK,kBAAC,GAAD,CAAU,CAAA,GACnC,CACD,EAAA,CAAA,CAED,EAAA,CAAA;IACY,CAAA;GACd,CAAA;EACH,CAAA;CAEF,CAAA,CACR,EAAA,CAAA;AAEN"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useGetEntityPermissions as e } from "../../../../synapse-queries/entity/useEntity.js";
|
|
2
2
|
import { useGetFeatureFlag as t } from "../../../../synapse-queries/featureflags/useGetFeatureFlag.js";
|
|
3
3
|
import "../../../../synapse-queries/index.js";
|
|
4
|
-
import
|
|
5
|
-
import r from "../../../../
|
|
6
|
-
import {
|
|
4
|
+
import n from "../../../../components/layout/InfiniteTableLayout.js";
|
|
5
|
+
import { useCurationTaskListFilters as r } from "../../../../utils/hooks/useCurationTaskListFilters.js";
|
|
6
|
+
import { FeatureFlagEnum as i } from "../../../../utils/featureflag/FeatureFlags.js";
|
|
7
7
|
import { useGetCurationTasksInfinite as a } from "../../../../synapse-queries/curation/task/useCurationTask.js";
|
|
8
8
|
import o from "../../../curator/dashboard/components/CurationTaskCard.js";
|
|
9
9
|
import s from "../../../curator/dashboard/components/FilteredByTaskIdsBanner.js";
|
|
@@ -15,7 +15,7 @@ import { AddCircleTwoTone as g } from "@mui/icons-material";
|
|
|
15
15
|
import { useNavigate as _ } from "react-router";
|
|
16
16
|
//#region src/features/entity/metadata-task/components/MetadataTasksPage.tsx
|
|
17
17
|
function v(c) {
|
|
18
|
-
let { projectId: v } = c, y = _(), { request: b, taskIds: x, assignedToMe: S, setAssignedToMe: C, clearTaskIdsFilter: w } =
|
|
18
|
+
let { projectId: v } = c, y = _(), { request: b, taskIds: x, assignedToMe: S, setAssignedToMe: C, clearTaskIdsFilter: w } = r({ projectId: v }), { data: T } = e(v), { data: E, isLoading: D, hasNextPage: O, fetchNextPage: k, isFetchingNextPage: A } = a(b), j = l(() => E?.pages.flatMap((e) => e.bundlePage ?? []) ?? [], [E]), M = t(i.CURATION_TASK_PAGE_SHOW_NEW_TASK_BUTTON);
|
|
19
19
|
return /* @__PURE__ */ h(f, { children: [
|
|
20
20
|
/* @__PURE__ */ h(f, {
|
|
21
21
|
direction: "row",
|
|
@@ -39,7 +39,7 @@ function v(c) {
|
|
|
39
39
|
taskIds: x,
|
|
40
40
|
onClear: w
|
|
41
41
|
}),
|
|
42
|
-
/* @__PURE__ */ m(
|
|
42
|
+
/* @__PURE__ */ m(n, {
|
|
43
43
|
table: /* @__PURE__ */ m(f, {
|
|
44
44
|
gap: 3,
|
|
45
45
|
sx: { my: 2 },
|