synapse-react-client 4.0.34 → 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/assets/icons/curie-head.svg +21 -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 +24 -2
- package/dist/components/AccessRequirementList/AccessRequirementList.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.js +69 -66
- 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 -56
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ManualUploadDucStep/ManualUploadDucStep.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.d.ts +6 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js +55 -54
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.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/DraggableDialog/DraggableDialog.d.ts +2 -1
- package/dist/components/DraggableDialog/DraggableDialog.d.ts.map +1 -1
- package/dist/components/DraggableDialog/DraggableDialog.js +42 -33
- package/dist/components/DraggableDialog/DraggableDialog.js.map +1 -1
- package/dist/components/EntityTreeTable/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/components/EntityTreeTable/hooks/useTableColumns.js +12 -6
- package/dist/components/EntityTreeTable/hooks/useTableColumns.js.map +1 -1
- package/dist/components/ExperimentalMode/ExperimentalMode.js +2 -1
- package/dist/components/ExperimentalMode/ExperimentalMode.js.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/SearchQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +64 -55
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.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/StorybookComponentWrapper.d.ts.map +1 -1
- package/dist/components/StorybookComponentWrapper.js +15 -10
- package/dist/components/StorybookComponentWrapper.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/SynapseChat/SynapseChat.d.ts +2 -1
- package/dist/components/SynapseChat/SynapseChat.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChat.js +118 -74
- package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.d.ts +3 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.js +21 -21
- package/dist/components/SynapseChat/SynapseChatInteraction.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.d.ts +1 -0
- package/dist/components/SynapseChat/SynapseChatMessage.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.js +9 -8
- package/dist/components/SynapseChat/SynapseChatMessage.js.map +1 -1
- package/dist/components/SynapseChat/SynapsePortalChatDialog.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapsePortalChatDialog.js +2 -1
- package/dist/components/SynapseChat/SynapsePortalChatDialog.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/TanStackTableUtils.d.ts.map +1 -1
- package/dist/components/TanStackTable/TanStackTableUtils.js +6 -6
- package/dist/components/TanStackTable/TanStackTableUtils.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 +12 -0
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.d.ts.map +1 -0
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js +86 -0
- package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js.map +1 -0
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.d.ts.map +1 -1
- package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js +20 -18
- 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/entity/page/CreatedByModifiedBy.d.ts.map +1 -1
- package/dist/components/entity/page/CreatedByModifiedBy.js +43 -61
- package/dist/components/entity/page/CreatedByModifiedBy.js.map +1 -1
- package/dist/components/entity/page/createdByModifiedByTooltips.d.ts +7 -0
- package/dist/components/entity/page/createdByModifiedByTooltips.d.ts.map +1 -0
- package/dist/components/entity/page/createdByModifiedByTooltips.js +36 -0
- package/dist/components/entity/page/createdByModifiedByTooltips.js.map +1 -0
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.d.ts.map +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +130 -65
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.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/components/widgets/Range.js +8 -2
- package/dist/components/widgets/Range.js.map +1 -1
- package/dist/components/widgets/query-filter/RangeFacetFilter.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/RangeFacetFilter.js +2 -1
- package/dist/components/widgets/query-filter/RangeFacetFilter.js.map +1 -1
- package/dist/components/widgets/query-filter/RangeFacetFilterUI.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/RangeFacetFilterUI.js +19 -19
- package/dist/components/widgets/query-filter/RangeFacetFilterUI.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/fileHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/fileHandlers.js +22 -22
- package/dist/mocks/msw/handlers/fileHandlers.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 +40 -36
- package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
- package/dist/mocks/user/mock_user_profile.d.ts +1 -0
- package/dist/mocks/user/mock_user_profile.d.ts.map +1 -1
- package/dist/mocks/user/mock_user_profile.js +45 -45
- package/dist/mocks/user/mock_user_profile.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 +2 -0
- package/dist/synapse-queries/KeyFactory.d.ts.map +1 -1
- package/dist/synapse-queries/KeyFactory.js +6 -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 +20 -1
- package/dist/synapse-queries/dataaccess/useEDuc.d.ts.map +1 -1
- package/dist/synapse-queries/dataaccess/useEDuc.js +75 -49
- package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
- package/dist/synapse-queries/index.js +190 -188
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/APIConstants.d.ts +2 -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/AppUtils/session/ApplicationSessionManager.d.ts.map +1 -1
- package/dist/utils/AppUtils/session/ApplicationSessionManager.js +20 -19
- package/dist/utils/AppUtils/session/ApplicationSessionManager.js.map +1 -1
- package/dist/utils/featureflag/FeatureFlags.d.ts +2 -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 +17 -0
- package/dist/utils/functions/RegularExpressions.d.ts.map +1 -1
- package/dist/utils/functions/RegularExpressions.js +11 -4
- 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/hooks/useIsHydrated.d.ts +9 -0
- package/dist/utils/hooks/useIsHydrated.d.ts.map +1 -0
- package/dist/utils/hooks/useIsHydrated.js +10 -0
- package/dist/utils/hooks/useIsHydrated.js.map +1 -0
- 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":"TableRowGenericCard.d.ts","sourceRoot":"","sources":["../../../src/components/GenericCard/TableRowGenericCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;
|
|
1
|
+
{"version":3,"file":"TableRowGenericCard.d.ts","sourceRoot":"","sources":["../../../src/components/GenericCard/TableRowGenericCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAA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AmB,CAAC,KAAK,EAAE,wBAAwB,2CAihBlE;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -2,44 +2,47 @@ import { EXPERIMENTAL as e } from "../../utils/SynapseConstants.js";
|
|
|
2
2
|
import { PRODUCTION_ENDPOINT_CONFIG as t } from "../../utils/functions/getEndpoint.js";
|
|
3
3
|
import { calculateFriendlyFileSize as n } from "../../utils/functions/calculateFriendlyFileSize.js";
|
|
4
4
|
import { isDatasetCollection as r, isTableEntity as i } from "../../utils/functions/EntityTypeUtils.js";
|
|
5
|
-
import {
|
|
6
|
-
import { getColumnIndex as
|
|
7
|
-
import { useGetEntity as
|
|
5
|
+
import { extractMarkdownLinkHref as a, parseSynId as o } from "../../utils/functions/RegularExpressions.js";
|
|
6
|
+
import { getColumnIndex as ee } from "../../utils/functions/SqlFunctions.js";
|
|
7
|
+
import { useGetEntity as te } from "../../synapse-queries/entity/useEntity.js";
|
|
8
8
|
import "../../synapse-queries/index.js";
|
|
9
9
|
import { TargetEnum as s } from "../../utils/html/TargetEnum.js";
|
|
10
|
-
import { getFileHandleAssociation as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import
|
|
10
|
+
import { getFileHandleAssociation as ne, getLinkParams as re, getValueOrMultiValue as ie } from "./CardUtils.js";
|
|
11
|
+
import { CardActionButtonStyleContext as ae } from "./CardActionButtonStyleContext.js";
|
|
12
|
+
import oe from "./GenericCardActionButton.js";
|
|
13
|
+
import se from "./CroissantButton/CroissantButton.js";
|
|
14
|
+
import { GenericCardIcon as ce } from "./GenericCardIcon.js";
|
|
15
|
+
import le from "./PortalDOI/PortalDOI.js";
|
|
16
|
+
import { getCandidateDoiId as ue, useShowDoiCardLabel as de } from "./PortalDOI/PortalDOIUtils.js";
|
|
17
|
+
import { mapRowToRecord as fe } from "../SynapseTable/SynapseTableUtils.js";
|
|
18
|
+
import pe from "../CitationPopover/index.js";
|
|
19
|
+
import { DATASET_HOSTING_CONFIG as me, normalizeHosting as he } from "../DatasetHosting/DatasetHosting.js";
|
|
20
|
+
import { EntityDownloadConfirmation as ge } from "../EntityDownloadConfirmation/EntityDownloadConfirmation.js";
|
|
19
21
|
import "../EntityDownloadConfirmation/index.js";
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
22
|
+
import { DatasetDownloadButton as _e } from "../DatasetHosting/DatasetDownloadButton.js";
|
|
23
|
+
import { useQueryContext as ve } from "../QueryContext/QueryContext.js";
|
|
24
|
+
import ye from "../IconList.js";
|
|
25
|
+
import { parseDuoModifiers as be } from "./DuoTermTags/duoTerms.js";
|
|
26
|
+
import xe from "./DuoTermTags/DuoTermTags.js";
|
|
27
|
+
import { useQueryVisualizationContext as Se } from "../QueryVisualizationWrapper/QueryVisualizationContext.js";
|
|
25
28
|
import "../QueryVisualizationWrapper/index.js";
|
|
26
|
-
import
|
|
27
|
-
import { GenericCard as
|
|
28
|
-
import { SynapseCardLabel as
|
|
29
|
-
import { useResolvedSynapseEntity as
|
|
30
|
-
import { useCallback as
|
|
31
|
-
import { Box as
|
|
32
|
-
import { Fragment as
|
|
33
|
-
import { ColumnTypeEnum as
|
|
34
|
-
import { GetAppTwoTone as
|
|
35
|
-
import { useInView as
|
|
29
|
+
import Ce from "../ShareThisPage/ShareThisPage.js";
|
|
30
|
+
import { GenericCard as we } from "./GenericCard.js";
|
|
31
|
+
import { SynapseCardLabel as c } from "./SynapseCardLabel.js";
|
|
32
|
+
import { useResolvedSynapseEntity as Te } from "./useResolvedSynapseEntity.js";
|
|
33
|
+
import { useCallback as Ee, useMemo as l, useRef as De, useState as u } from "react";
|
|
34
|
+
import { Box as Oe, Collapse as ke, Link as Ae, Stack as d, Typography as je } from "@mui/material";
|
|
35
|
+
import { Fragment as Me, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
36
|
+
import { ColumnTypeEnum as Ne } from "@sage-bionetworks/synapse-types";
|
|
37
|
+
import { GetAppTwoTone as Pe } from "@mui/icons-material";
|
|
38
|
+
import { useInView as Fe } from "react-intersection-observer";
|
|
36
39
|
//#region src/components/GenericCard/TableRowGenericCard.tsx
|
|
37
|
-
function
|
|
40
|
+
function Ie(e) {
|
|
38
41
|
let { synapseId: n, version: r } = e;
|
|
39
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ p("span", { children: [
|
|
40
43
|
r,
|
|
41
44
|
"\xA0\xA0",
|
|
42
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ f("a", {
|
|
43
46
|
target: s.NEW_WINDOW,
|
|
44
47
|
rel: "noopener noreferrer",
|
|
45
48
|
href: `${t.PORTAL}Synapse:${n}.${r}`,
|
|
@@ -47,149 +50,149 @@ function Oe(e) {
|
|
|
47
50
|
})
|
|
48
51
|
] });
|
|
49
52
|
}
|
|
50
|
-
function
|
|
51
|
-
let [s,
|
|
52
|
-
|
|
53
|
-
value:
|
|
54
|
-
columnName:
|
|
55
|
-
selectColumns:
|
|
56
|
-
columnModels:
|
|
53
|
+
function m(t) {
|
|
54
|
+
let [s, m] = u(!1), [Le, Re] = u(!1), { entityId: ze, versionNumber: Be } = ve(), { getColumnDisplayName: h } = Se(), { ref: Ve, inView: He } = Fe(), { data: g } = te(ze, Be), { schema: _, data: v, rowId: y, versionNumber: Ue, genericCardSchema: b, secondaryLabelLimit: We, sharePageLinkButtonProps: Ge, selectColumns: x, columnModels: S, iconOptions: Ke, useTypeColumnForIcon: C = !1, isHeader: w = !1, sustainabilityScorecard: qe, headerCardVariant: Je, titleLinkConfig: T, ctaLinkConfig: E, ctaLinkPosition: Ye, labelLinkConfig: Xe, descriptionConfig: Ze, columnIconOptions: D, CardTypeAdornment: O, charCountCutoff: Qe, actionButtonStyle: $e = "button" } = t, { link: et = "", type: k, includeCitation: tt, includeShareButton: nt, defaultCitationFormat: rt, citationBoilerplateText: it, downloadCartSynId: A, portalDoiConfiguration: j } = b, M = v[_[b.title]], N = b.subTitle && v[_[b.subTitle]];
|
|
55
|
+
N = b.subTitle && ie({
|
|
56
|
+
value: N,
|
|
57
|
+
columnName: b.subTitle,
|
|
58
|
+
selectColumns: x,
|
|
59
|
+
columnModels: S
|
|
57
60
|
}).str;
|
|
58
|
-
let
|
|
61
|
+
let at = v[_[b.description || ""]], P = v[_[b.icon || ""]], F = v[_[b.dataTypeIconNames || ""]], I = v[_[b.imageFileHandleColumnName || ""]], ot = S?.find((e) => b.link === e.name)?.columnType, L = v[_[et]] || "", { href: st, target: ct } = re(L, T, v, _, y), lt = b.synapseEntityConfig, R = Ee((e) => {
|
|
59
62
|
if (!e) return;
|
|
60
|
-
let t =
|
|
61
|
-
if (t !== void 0) return
|
|
62
|
-
}, [
|
|
63
|
-
let e =
|
|
63
|
+
let t = _[e];
|
|
64
|
+
if (t !== void 0) return v[t];
|
|
65
|
+
}, [_, v]), z = l(() => {
|
|
66
|
+
let e = b.dataUseModifiersColumnName;
|
|
64
67
|
if (!e) return;
|
|
65
|
-
let t =
|
|
66
|
-
if (t.length !== 0) return /* @__PURE__ */
|
|
68
|
+
let t = be(v[_[e]]);
|
|
69
|
+
if (t.length !== 0) return /* @__PURE__ */ f(xe, { terms: t });
|
|
67
70
|
}, [
|
|
68
|
-
S,
|
|
69
71
|
b,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
v,
|
|
73
|
+
_
|
|
74
|
+
]), ut = l(() => {
|
|
75
|
+
let { titleAreaDetails: e } = b;
|
|
73
76
|
if (!e) return;
|
|
74
|
-
let t = typeof e == "function" ? e(
|
|
77
|
+
let t = typeof e == "function" ? e(_, v) : e;
|
|
75
78
|
if (t.length === 0) return;
|
|
76
79
|
let n = t.map((e) => {
|
|
77
|
-
let t =
|
|
80
|
+
let t = v[_[e]];
|
|
78
81
|
return t ? {
|
|
79
|
-
name:
|
|
82
|
+
name: h(e),
|
|
80
83
|
rawValue: t,
|
|
81
84
|
columnName: e
|
|
82
85
|
} : null;
|
|
83
86
|
}).filter(Boolean);
|
|
84
|
-
if (n.length !== 0) return /* @__PURE__ */
|
|
87
|
+
if (n.length !== 0) return /* @__PURE__ */ f(d, {
|
|
85
88
|
direction: "column",
|
|
86
89
|
gap: "4px",
|
|
87
|
-
children: n.map(({ name: e, rawValue: t, columnName: n }) => /* @__PURE__ */
|
|
90
|
+
children: n.map(({ name: e, rawValue: t, columnName: n }) => /* @__PURE__ */ p(d, {
|
|
88
91
|
direction: "row",
|
|
89
92
|
gap: "4px",
|
|
90
93
|
alignItems: "center",
|
|
91
|
-
children: [/* @__PURE__ */
|
|
94
|
+
children: [/* @__PURE__ */ p(je, {
|
|
92
95
|
component: "span",
|
|
93
96
|
variant: "body1",
|
|
94
97
|
children: [e, ":"]
|
|
95
|
-
}), /* @__PURE__ */
|
|
98
|
+
}), /* @__PURE__ */ f(c, {
|
|
96
99
|
value: t,
|
|
97
100
|
columnName: n,
|
|
98
101
|
labelLink: void 0,
|
|
99
|
-
isHeader:
|
|
100
|
-
selectColumns:
|
|
101
|
-
columnModels:
|
|
102
|
-
rowData:
|
|
103
|
-
columnIconOptions:
|
|
102
|
+
isHeader: w,
|
|
103
|
+
selectColumns: x,
|
|
104
|
+
columnModels: S,
|
|
105
|
+
rowData: v,
|
|
106
|
+
columnIconOptions: D
|
|
104
107
|
})]
|
|
105
108
|
}, n))
|
|
106
109
|
});
|
|
107
110
|
}, [
|
|
108
|
-
S,
|
|
109
111
|
b,
|
|
110
|
-
|
|
112
|
+
v,
|
|
111
113
|
_,
|
|
112
|
-
|
|
113
|
-
C,
|
|
114
|
+
h,
|
|
114
115
|
w,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
x,
|
|
117
|
+
S,
|
|
118
|
+
D
|
|
119
|
+
]), { entityId: B, entityVersionNumber: V } = Te({
|
|
120
|
+
synapseEntityConfig: lt,
|
|
121
|
+
getColumnValue: R,
|
|
122
|
+
rowId: y,
|
|
123
|
+
rowVersionNumber: Ue
|
|
124
|
+
}), H = B, U = V;
|
|
125
|
+
if (A) {
|
|
126
|
+
let e = o(R(A) ?? "");
|
|
127
|
+
H = e?.targetId, U = e?.targetVersionNumber;
|
|
125
128
|
}
|
|
126
|
-
let K =
|
|
127
|
-
data:
|
|
128
|
-
portalDoiConfiguration:
|
|
129
|
-
}),
|
|
130
|
-
portalId:
|
|
131
|
-
resourceId:
|
|
132
|
-
}),
|
|
133
|
-
if (
|
|
134
|
-
columnName:
|
|
135
|
-
columnDisplayName:
|
|
136
|
-
value:
|
|
137
|
-
}),
|
|
129
|
+
let W = b.hostingConfig, G = W ? R(W.hostingColumn) : void 0, K = W ? G && W.hostingValueMap?.[G] || he(G) : void 0, dt = W?.repositoryColumn ? R(W.repositoryColumn) : void 0, q = W?.externalUrlColumn ? R(W.externalUrlColumn) : void 0, ft = q ? a(q) : void 0, J = K ? me[K].downloadable : !0, Y = De(null), X = ue({
|
|
130
|
+
data: l(() => fe(v, _), [v, _]),
|
|
131
|
+
portalDoiConfiguration: j
|
|
132
|
+
}), pt = de({
|
|
133
|
+
portalId: j?.portalId,
|
|
134
|
+
resourceId: X
|
|
135
|
+
}), Z = [], { secondaryLabels: mt = [] } = b, Q = b.customSecondaryLabelConfig;
|
|
136
|
+
if (z && b.dataUseModifiersColumnName && Z.push({
|
|
137
|
+
columnName: b.dataUseModifiersColumnName,
|
|
138
|
+
columnDisplayName: h(b.dataUseModifiersColumnName),
|
|
139
|
+
value: z
|
|
140
|
+
}), pt && j && X && He && Z.push({
|
|
138
141
|
columnDisplayName: "DOI",
|
|
139
|
-
value: /* @__PURE__ */
|
|
140
|
-
portalId:
|
|
141
|
-
resourceId:
|
|
142
|
+
value: /* @__PURE__ */ f(le, {
|
|
143
|
+
portalId: j.portalId,
|
|
144
|
+
resourceId: X
|
|
142
145
|
})
|
|
143
|
-
}),
|
|
144
|
-
let { key: e, value: t } =
|
|
145
|
-
|
|
146
|
+
}), Q?.isVisible(_, v)) {
|
|
147
|
+
let { key: e, value: t } = Q;
|
|
148
|
+
H && J ? Z.push({
|
|
146
149
|
columnDisplayName: "HOW TO DOWNLOAD",
|
|
147
|
-
value: /* @__PURE__ */
|
|
148
|
-
onClick: () =>
|
|
150
|
+
value: /* @__PURE__ */ f(Ae, {
|
|
151
|
+
onClick: () => m((e) => !e),
|
|
149
152
|
children: "Click here to add to Synapse download list"
|
|
150
153
|
})
|
|
151
|
-
}) :
|
|
154
|
+
}) : Z.push({
|
|
152
155
|
columnDisplayName: e,
|
|
153
156
|
value: t
|
|
154
157
|
});
|
|
155
158
|
}
|
|
156
|
-
let
|
|
157
|
-
for (let e = 0; e <
|
|
158
|
-
let t =
|
|
159
|
+
let ht = g && !i(g);
|
|
160
|
+
for (let e = 0; e < mt.length; e += 1) {
|
|
161
|
+
let t = mt[e], i = v[_[t]], a = i, o;
|
|
159
162
|
if (a && i !== "[]" && i !== "[\"\"]") {
|
|
160
|
-
if (r(
|
|
161
|
-
else if (
|
|
162
|
-
let e =
|
|
163
|
-
a = /* @__PURE__ */
|
|
163
|
+
if (r(g) && t === "datasetSizeInBytes") o = "Size", a = n(parseInt(i));
|
|
164
|
+
else if (ht && t === "currentVersion") {
|
|
165
|
+
let e = v[_.id];
|
|
166
|
+
a = /* @__PURE__ */ f(Ie, {
|
|
164
167
|
synapseId: e,
|
|
165
168
|
version: i
|
|
166
169
|
}), o = "Version";
|
|
167
170
|
} else {
|
|
168
|
-
let e =
|
|
169
|
-
a = /* @__PURE__ */
|
|
171
|
+
let e = Xe?.find((e) => e.matchColumnName === t);
|
|
172
|
+
a = /* @__PURE__ */ f(c, {
|
|
170
173
|
value: i,
|
|
171
174
|
columnName: t,
|
|
172
175
|
labelLink: e,
|
|
173
|
-
isHeader:
|
|
174
|
-
selectColumns:
|
|
175
|
-
columnModels:
|
|
176
|
-
rowData:
|
|
177
|
-
columnIconOptions:
|
|
178
|
-
}), o =
|
|
176
|
+
isHeader: w,
|
|
177
|
+
selectColumns: x,
|
|
178
|
+
columnModels: S,
|
|
179
|
+
rowData: v,
|
|
180
|
+
columnIconOptions: D
|
|
181
|
+
}), o = h(t);
|
|
179
182
|
}
|
|
180
|
-
|
|
183
|
+
Z.push({
|
|
181
184
|
columnDisplayName: o,
|
|
182
185
|
value: a,
|
|
183
186
|
columnName: t
|
|
184
187
|
});
|
|
185
188
|
}
|
|
186
189
|
}
|
|
187
|
-
let
|
|
188
|
-
let t =
|
|
190
|
+
let $ = ne(g, I || L, v[_.id]), gt = h(b.description || ""), _t = ee("doi", x, S), vt = _t === void 0 ? void 0 : v[_t], yt = (E ? Array.isArray(E) ? E : [E] : []).map((e) => {
|
|
191
|
+
let t = v[_[e.link]] || "";
|
|
189
192
|
if (!t) return null;
|
|
190
|
-
let { href: n, target: r } =
|
|
193
|
+
let { href: n, target: r } = re(t, void 0, v, _, y);
|
|
191
194
|
return {
|
|
192
|
-
text: e.endIcon ? /* @__PURE__ */
|
|
195
|
+
text: e.endIcon ? /* @__PURE__ */ p("div", {
|
|
193
196
|
style: {
|
|
194
197
|
display: "flex",
|
|
195
198
|
alignItems: "center",
|
|
@@ -200,99 +203,111 @@ function g(t) {
|
|
|
200
203
|
href: n,
|
|
201
204
|
target: r
|
|
202
205
|
};
|
|
203
|
-
}).filter(Boolean),
|
|
204
|
-
|
|
205
|
-
datasetId:
|
|
206
|
-
datasetVersionNumber:
|
|
206
|
+
}).filter(Boolean), bt = /* @__PURE__ */ f(Me, {});
|
|
207
|
+
B != null && V != null && (bt = /* @__PURE__ */ f(se, {
|
|
208
|
+
datasetId: B,
|
|
209
|
+
datasetVersionNumber: V
|
|
207
210
|
}));
|
|
208
|
-
let
|
|
209
|
-
schema:
|
|
210
|
-
data:
|
|
211
|
-
}) : null,
|
|
212
|
-
return
|
|
213
|
-
ref:
|
|
214
|
-
icon:
|
|
215
|
-
type:
|
|
216
|
-
useTypeForIcon:
|
|
217
|
-
thumbnailRequiresPadding:
|
|
218
|
-
imageFileHandleId:
|
|
219
|
-
fileHandleAssociation:
|
|
220
|
-
iconOptions:
|
|
221
|
-
iconValue:
|
|
211
|
+
let xt = O ? /* @__PURE__ */ f(O, {
|
|
212
|
+
schema: _,
|
|
213
|
+
data: v
|
|
214
|
+
}) : null, St = !0;
|
|
215
|
+
return w && !I && !P && (St = !1), /* @__PURE__ */ f(we, {
|
|
216
|
+
ref: Ve,
|
|
217
|
+
icon: St ? /* @__PURE__ */ f(ce, {
|
|
218
|
+
type: C ? v[_.type] : b.type,
|
|
219
|
+
useTypeForIcon: C,
|
|
220
|
+
thumbnailRequiresPadding: b.thumbnailRequiresPadding,
|
|
221
|
+
imageFileHandleId: I,
|
|
222
|
+
fileHandleAssociation: $,
|
|
223
|
+
iconOptions: Ke,
|
|
224
|
+
iconValue: P
|
|
222
225
|
}) : void 0,
|
|
223
|
-
isHeader:
|
|
224
|
-
sustainabilityScorecard:
|
|
225
|
-
headerCardVariant:
|
|
226
|
-
type:
|
|
227
|
-
title:
|
|
228
|
-
subtitle:
|
|
226
|
+
isHeader: w,
|
|
227
|
+
sustainabilityScorecard: qe,
|
|
228
|
+
headerCardVariant: Je,
|
|
229
|
+
type: k,
|
|
230
|
+
title: M,
|
|
231
|
+
subtitle: N,
|
|
229
232
|
titleLinkConfiguration: {
|
|
230
|
-
target:
|
|
231
|
-
href:
|
|
233
|
+
target: ct,
|
|
234
|
+
href: st
|
|
232
235
|
},
|
|
233
|
-
cardTypeAdornment:
|
|
234
|
-
titleAsFileHandleLinkConfiguration: !
|
|
235
|
-
fileHandleAssociation:
|
|
236
|
-
showDownloadIcon:
|
|
236
|
+
cardTypeAdornment: xt,
|
|
237
|
+
titleAsFileHandleLinkConfiguration: !T && ot === Ne.FILEHANDLEID && $ ? {
|
|
238
|
+
fileHandleAssociation: $,
|
|
239
|
+
showDownloadIcon: k !== e
|
|
237
240
|
} : void 0,
|
|
238
|
-
ctaLinkConfig:
|
|
239
|
-
ctaLinkPosition:
|
|
240
|
-
titleAreaRightContent:
|
|
241
|
-
description:
|
|
242
|
-
descriptionSubTitle:
|
|
243
|
-
descriptionConfig:
|
|
244
|
-
charCountCutoff:
|
|
245
|
-
labels:
|
|
246
|
-
secondaryLabelLimit:
|
|
247
|
-
useStylesForDisplayedImage: !!
|
|
248
|
-
cardTopContent: /* @__PURE__ */
|
|
241
|
+
ctaLinkConfig: yt.length > 0 ? yt : void 0,
|
|
242
|
+
ctaLinkPosition: Ye,
|
|
243
|
+
titleAreaRightContent: ut,
|
|
244
|
+
description: at,
|
|
245
|
+
descriptionSubTitle: gt,
|
|
246
|
+
descriptionConfig: Ze,
|
|
247
|
+
charCountCutoff: Qe,
|
|
248
|
+
labels: Z,
|
|
249
|
+
secondaryLabelLimit: We,
|
|
250
|
+
useStylesForDisplayedImage: !!I,
|
|
251
|
+
cardTopContent: /* @__PURE__ */ p(Me, { children: [!W && H && /* @__PURE__ */ f(ke, {
|
|
249
252
|
in: s,
|
|
250
|
-
children: /* @__PURE__ */
|
|
251
|
-
entityId:
|
|
252
|
-
versionNumber:
|
|
253
|
-
handleClose: () =>
|
|
253
|
+
children: /* @__PURE__ */ f(ge, {
|
|
254
|
+
entityId: H,
|
|
255
|
+
versionNumber: U,
|
|
256
|
+
handleClose: () => m(!1),
|
|
254
257
|
onIsLoadingChange: (e) => {
|
|
255
|
-
|
|
258
|
+
Re(e);
|
|
256
259
|
}
|
|
257
260
|
})
|
|
258
|
-
}) }),
|
|
259
|
-
renderedIconList:
|
|
261
|
+
}), W && /* @__PURE__ */ f("div", { ref: Y })] }),
|
|
262
|
+
renderedIconList: D?.columns?.dataType && F?.length && /* @__PURE__ */ f("div", {
|
|
260
263
|
style: { marginTop: "20px" },
|
|
261
|
-
children: /* @__PURE__ */
|
|
262
|
-
iconConfigs:
|
|
263
|
-
iconNames: JSON.parse(
|
|
264
|
+
children: /* @__PURE__ */ f(ye, {
|
|
265
|
+
iconConfigs: D.columns.dataType,
|
|
266
|
+
iconNames: JSON.parse(F),
|
|
264
267
|
commonIconProps: { sx: { fontSize: "40px" } },
|
|
265
268
|
useBackground: !0,
|
|
266
269
|
useTheme: !0
|
|
267
270
|
})
|
|
268
271
|
}),
|
|
269
|
-
cardTopButtons: /* @__PURE__ */
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
272
|
+
cardTopButtons: /* @__PURE__ */ f(ae.Provider, {
|
|
273
|
+
value: $e,
|
|
274
|
+
children: /* @__PURE__ */ p(Oe, {
|
|
275
|
+
sx: {
|
|
276
|
+
display: "flex",
|
|
277
|
+
gap: 1,
|
|
278
|
+
alignItems: "center"
|
|
279
|
+
},
|
|
280
|
+
children: [
|
|
281
|
+
bt,
|
|
282
|
+
W && (H || !J) && /* @__PURE__ */ f(_e, {
|
|
283
|
+
entityId: H,
|
|
284
|
+
name: M,
|
|
285
|
+
version: U,
|
|
286
|
+
hosting: K,
|
|
287
|
+
repository: dt,
|
|
288
|
+
externalUrl: ft,
|
|
289
|
+
downloadConfirmationContainer: Y
|
|
290
|
+
}),
|
|
291
|
+
!W && H && /* @__PURE__ */ f(oe, {
|
|
292
|
+
onClick: () => m((e) => !e),
|
|
293
|
+
variant: "outlined",
|
|
294
|
+
startIcon: /* @__PURE__ */ f(Pe, { sx: { height: "12px" } }),
|
|
295
|
+
loading: Le,
|
|
296
|
+
children: "Download"
|
|
297
|
+
}),
|
|
298
|
+
tt && vt && /* @__PURE__ */ f(pe, {
|
|
299
|
+
title: M,
|
|
300
|
+
doi: vt,
|
|
301
|
+
boilerplateText: it,
|
|
302
|
+
defaultCitationFormat: rt
|
|
303
|
+
}),
|
|
304
|
+
nt && w && /* @__PURE__ */ f(Ce, { ...Ge })
|
|
305
|
+
]
|
|
306
|
+
})
|
|
292
307
|
})
|
|
293
308
|
});
|
|
294
309
|
}
|
|
295
310
|
//#endregion
|
|
296
|
-
export {
|
|
311
|
+
export { m as TableRowGenericCard, m as default };
|
|
297
312
|
|
|
298
313
|
//# sourceMappingURL=TableRowGenericCard.js.map
|