synapse-react-client 4.0.25 → 4.0.27
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.d.ts +3 -2
- package/dist/SWC.index.d.ts.map +1 -1
- package/dist/SWC.index.js +4 -3
- package/dist/SWC.index.js.map +1 -1
- package/dist/assets/icons/FileCopy.d.ts +5 -0
- package/dist/assets/icons/FileCopy.d.ts.map +1 -0
- package/dist/assets/icons/FileCopy.js +13 -0
- package/dist/assets/icons/FileCopy.js.map +1 -0
- package/dist/assets/icons/NIHIcon.d.ts +4 -0
- package/dist/assets/icons/NIHIcon.d.ts.map +1 -0
- package/dist/assets/icons/NIHIcon.js +14 -0
- package/dist/assets/icons/NIHIcon.js.map +1 -0
- package/dist/assets/icons/fileCopy.svg +8 -0
- package/dist/assets/icons/fileCopy2.js +33 -0
- package/dist/assets/icons/fileCopy2.js.map +1 -0
- package/dist/assets/icons/nih.js +35 -0
- package/dist/assets/icons/nih.js.map +1 -0
- package/dist/assets/icons/nih.svg +9 -0
- package/dist/assets/illustrations/compute_illustration.js +485 -0
- package/dist/assets/illustrations/compute_illustration.js.map +1 -0
- package/dist/assets/illustrations/compute_illustration.svg +204 -0
- package/dist/assets/illustrations/curate_data_illustration.js +479 -0
- package/dist/assets/illustrations/curate_data_illustration.js.map +1 -0
- package/dist/assets/illustrations/curate_data_illustration.svg +91 -0
- package/dist/components/AccountLevelBadges/useRevokeCertificationUI.js +1 -1
- package/dist/components/AcknowledgementsPage/AcknowledgementsDialog.js +1 -1
- package/dist/components/Authentication/AuthenticationMethodSelection.d.ts +1 -0
- package/dist/components/Authentication/AuthenticationMethodSelection.d.ts.map +1 -1
- package/dist/components/Authentication/AuthenticationMethodSelection.js +17 -10
- package/dist/components/Authentication/AuthenticationMethodSelection.js.map +1 -1
- package/dist/components/Authentication/LastLoginInfo.d.ts +2 -2
- package/dist/components/Authentication/LoginForm.d.ts +1 -0
- package/dist/components/Authentication/LoginForm.d.ts.map +1 -1
- package/dist/components/Authentication/LoginForm.js +3 -2
- package/dist/components/Authentication/LoginForm.js.map +1 -1
- package/dist/components/Authentication/LoginMethod.d.ts +2 -2
- package/dist/components/Authentication/LoginMethod.d.ts.map +1 -1
- package/dist/components/Authentication/LoginMethod.js +10 -8
- package/dist/components/Authentication/LoginMethod.js.map +1 -1
- package/dist/components/Authentication/StandaloneLoginForm.d.ts +1 -0
- package/dist/components/Authentication/StandaloneLoginForm.d.ts.map +1 -1
- package/dist/components/Authentication/StandaloneLoginForm.js +16 -15
- package/dist/components/Authentication/StandaloneLoginForm.js.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.js +24 -30
- package/dist/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/ChallengeDataDownload/ChallengeDataDownload.js +1 -1
- package/dist/components/ChallengeDetailPage/ChallengeDetailPage.js +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmissionStepper.js +1 -1
- package/dist/components/ChangePassword/ChangePassword.js +1 -1
- package/dist/components/CopyToClipboardString/CopyToClipboardString.d.ts +3 -2
- package/dist/components/CopyToClipboardString/CopyToClipboardString.d.ts.map +1 -1
- package/dist/components/CopyToClipboardString/CopyToClipboardString.js +27 -18
- package/dist/components/CopyToClipboardString/CopyToClipboardString.js.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.css +1 -1
- package/dist/components/DataExplorer/DataExplorer.d.ts +16 -2
- package/dist/components/DataExplorer/DataExplorer.d.ts.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.js +82 -75
- package/dist/components/DataExplorer/DataExplorer.js.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.module.js +16 -16
- package/dist/components/DataExplorer/DataExplorer.module.js.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.module.scss +1 -1
- package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.js +2 -5
- package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts +35 -0
- package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts.map +1 -0
- package/dist/components/DataGrid/SyncGridWithSourceButton.js +115 -0
- package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -0
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js +14 -1
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js.map +1 -1
- package/dist/components/DataGrid/useMergeGridWithRecordSet.d.ts +2 -0
- package/dist/components/DataGrid/useMergeGridWithRecordSet.d.ts.map +1 -1
- package/dist/components/DataGrid/useMergeGridWithRecordSet.js.map +1 -1
- package/dist/components/DataGrid/useMergeGridWithSource.d.ts +12 -7
- package/dist/components/DataGrid/useMergeGridWithSource.d.ts.map +1 -1
- package/dist/components/DataGrid/useMergeGridWithSource.js +31 -25
- package/dist/components/DataGrid/useMergeGridWithSource.js.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.js +15 -19
- package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
- package/dist/components/DownloadCart/DownloadListTable.js +1 -1
- package/dist/components/DynamicForm/DynamicForm.js +1 -1
- package/dist/components/EntityAclEditor/EntityAclEditorModal.js +1 -1
- package/dist/components/EntityAclEditor/useNotifyNewACLUsers.js +1 -1
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js +1 -1
- package/dist/components/EntityFinder/EntityIdTextField.d.ts +1 -0
- package/dist/components/EntityFinder/EntityIdTextField.d.ts.map +1 -1
- package/dist/components/EntityFinder/EntityIdTextField.js +7 -6
- package/dist/components/EntityFinder/EntityIdTextField.js.map +1 -1
- package/dist/components/EntityFinder/details/view/table/AddToDownloadListCell.js +1 -1
- package/dist/components/EntityFinder/details/view/table/FileEntityMD5Cell.js +1 -1
- package/dist/components/EntitySidebar/EntitySidebar.css +1 -1
- package/dist/components/EntitySidebar/EntitySidebar.d.ts.map +1 -1
- package/dist/components/EntitySidebar/EntitySidebar.js +47 -39
- package/dist/components/EntitySidebar/EntitySidebar.js.map +1 -1
- package/dist/components/EntitySidebar/EntitySidebar.module.js +11 -11
- package/dist/components/EntitySidebar/EntitySidebar.module.js.map +1 -1
- package/dist/components/EntitySidebar/EntitySidebar.module.scss +6 -6
- package/dist/components/FieldDescription/FieldDescription.css +1 -0
- package/dist/components/FieldDescription/FieldDescription.d.ts +15 -0
- package/dist/components/FieldDescription/FieldDescription.d.ts.map +1 -0
- package/dist/components/FieldDescription/FieldDescription.js +13 -0
- package/dist/components/FieldDescription/FieldDescription.js.map +1 -0
- package/dist/components/FieldDescription/FieldDescription.module.js +5 -0
- package/dist/components/FieldDescription/FieldDescription.module.js.map +1 -0
- package/dist/components/FieldDescription/FieldDescription.module.scss +8 -0
- package/dist/components/FieldDescription/index.d.ts +3 -0
- package/dist/components/FieldDescription/index.d.ts.map +1 -0
- package/dist/components/FieldDescription/index.js +2 -0
- package/dist/components/GenericCard/TableRowGenericCard.d.ts +2 -1
- package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +3 -2
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/HeaderCard.d.ts.map +1 -1
- package/dist/components/HeaderCard.js +4 -0
- package/dist/components/HeaderCard.js.map +1 -1
- package/dist/components/HexGrid/HexGrid.d.ts +2 -1
- package/dist/components/HexGrid/HexGrid.d.ts.map +1 -1
- package/dist/components/HexGrid/HexGrid.js +13 -13
- package/dist/components/HexGrid/HexGrid.js.map +1 -1
- package/dist/components/IconSvg/IconSvg.d.ts +1 -1
- package/dist/components/IconSvg/IconSvg.d.ts.map +1 -1
- package/dist/components/IconSvg/IconSvg.js +216 -212
- package/dist/components/IconSvg/IconSvg.js.map +1 -1
- package/dist/components/OAuthClientAclEditor/OAuthAclEditorModal.js +1 -1
- package/dist/components/OAuthClientManagement/OAuthManagement.js +1 -1
- package/dist/components/PortalAclEditor/PortalAclEditorModal.js +1 -1
- package/dist/components/PortalList/CreatePortalModal.js +1 -1
- package/dist/components/PortalList/PortalCard.js +1 -1
- package/dist/components/ProjectInfo/ProjectInfo.css +1 -0
- package/dist/components/ProjectInfo/ProjectInfo.d.ts +5 -0
- package/dist/components/ProjectInfo/ProjectInfo.d.ts.map +1 -0
- package/dist/components/ProjectInfo/ProjectInfo.js +50 -0
- package/dist/components/ProjectInfo/ProjectInfo.js.map +1 -0
- package/dist/components/ProjectInfo/ProjectInfo.module.js +11 -0
- package/dist/components/ProjectInfo/ProjectInfo.module.js.map +1 -0
- package/dist/components/ProjectInfo/ProjectInfo.module.scss +35 -0
- package/dist/components/ProjectInfo/ProjectInfoPopover.d.ts +10 -0
- package/dist/components/ProjectInfo/ProjectInfoPopover.d.ts.map +1 -0
- package/dist/components/ProjectInfo/ProjectInfoPopover.js +94 -0
- package/dist/components/ProjectInfo/ProjectInfoPopover.js.map +1 -0
- package/dist/components/ProjectStorage/ProjectDataAvailability.d.ts +2 -1
- package/dist/components/ProjectStorage/ProjectDataAvailability.d.ts.map +1 -1
- package/dist/components/ProjectStorage/ProjectDataAvailability.js +67 -75
- package/dist/components/ProjectStorage/ProjectDataAvailability.js.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts +3 -0
- package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js +140 -85
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +3 -3
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
- package/dist/components/StorybookComponentWrapper.js +1 -1
- package/dist/components/SynapseChat/SynapseChat.js +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.css +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js +9 -8
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.js.map +1 -1
- package/dist/components/SynapseHomepageV2/HotdropsAndNews.module.scss +4 -1
- package/dist/components/SynapseHomepageV2/WordPressNews.d.ts +2 -1
- package/dist/components/SynapseHomepageV2/WordPressNews.d.ts.map +1 -1
- package/dist/components/SynapseHomepageV2/WordPressNews.js +8 -7
- package/dist/components/SynapseHomepageV2/WordPressNews.js.map +1 -1
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.d.ts +5 -1
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.d.ts.map +1 -1
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.js +19 -11
- package/dist/components/SynapseHomepageV2/WordPressNewsItem.js.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js +1 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.js +1 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js +1 -1
- package/dist/components/TextField/TextField.css +1 -1
- package/dist/components/TextField/TextField.d.ts.map +1 -1
- package/dist/components/TextField/TextField.js +27 -25
- package/dist/components/TextField/TextField.js.map +1 -1
- package/dist/components/TextField/TextField.module.js +3 -3
- package/dist/components/TextField/TextField.module.js.map +1 -1
- package/dist/components/TextField/TextField.module.scss +2 -5
- package/dist/components/Webhook/WebhookVerificationDialog.js +1 -1
- package/dist/components/WordPress/useWordPressPosts.js +1 -1
- package/dist/components/WordPress/useWordPressPosts.js.map +1 -1
- package/dist/components/dataaccess/SubmissionPage/ApproveSubmissionConfirmationModal.js +1 -1
- package/dist/components/dataaccess/SubmissionPage/CancelDataAccessRequestConfirmationModal.js +1 -1
- package/dist/components/dataaccess/SubmissionPage/SubmissionPage.js +1 -1
- package/dist/components/entity/page/title_bar/EntityPageTitleBar.d.ts.map +1 -1
- package/dist/components/entity/page/title_bar/EntityPageTitleBar.js +66 -49
- package/dist/components/entity/page/title_bar/EntityPageTitleBar.js.map +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js.map +1 -1
- package/dist/components/error/SendMessageToEntityOwnerDialog.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/menu/ComplexMenu.d.ts.map +1 -1
- package/dist/components/menu/ComplexMenu.js +1 -4
- package/dist/components/menu/ComplexMenu.js.map +1 -1
- package/dist/features/curator/GridPage/components/UpdateGridPageSearchParamsForm.js +1 -1
- package/dist/features/curator/GridPage/components/UpdateGridPageSearchParamsForm.js.map +1 -1
- package/dist/features/curator/dashboard/CuratorDashboard.d.ts +1 -1
- package/dist/features/curator/dashboard/CuratorDashboard.d.ts.map +1 -1
- package/dist/features/curator/dashboard/CuratorDashboard.js +36 -35
- package/dist/features/curator/dashboard/CuratorDashboard.js.map +1 -1
- package/dist/features/curator/dashboard/CuratorDashboardRouter.d.ts +13 -0
- package/dist/features/curator/dashboard/CuratorDashboardRouter.d.ts.map +1 -0
- package/dist/features/curator/dashboard/CuratorDashboardRouter.js +37 -0
- package/dist/features/curator/dashboard/CuratorDashboardRouter.js.map +1 -0
- package/dist/features/curator/dashboard/components/CurationTaskCard.css +1 -1
- package/dist/features/curator/dashboard/components/CurationTaskCard.d.ts +3 -1
- package/dist/features/curator/dashboard/components/CurationTaskCard.d.ts.map +1 -1
- package/dist/features/curator/dashboard/components/CurationTaskCard.js +26 -157
- package/dist/features/curator/dashboard/components/CurationTaskCard.js.map +1 -1
- package/dist/features/curator/dashboard/components/CurationTaskCard.module.js +10 -6
- package/dist/features/curator/dashboard/components/CurationTaskCard.module.js.map +1 -1
- package/dist/features/curator/dashboard/components/CurationTaskCard.module.scss +31 -0
- package/dist/features/curator/dashboard/components/CurationTaskCardLayout.d.ts +25 -0
- package/dist/features/curator/dashboard/components/CurationTaskCardLayout.d.ts.map +1 -0
- package/dist/features/curator/dashboard/components/CurationTaskCardLayout.js +134 -0
- package/dist/features/curator/dashboard/components/CurationTaskCardLayout.js.map +1 -0
- package/dist/features/curator/dashboard/components/ExecutableTaskCard.d.ts +10 -0
- package/dist/features/curator/dashboard/components/ExecutableTaskCard.d.ts.map +1 -0
- package/dist/features/curator/dashboard/components/ExecutableTaskCard.js +51 -0
- package/dist/features/curator/dashboard/components/ExecutableTaskCard.js.map +1 -0
- package/dist/features/curator/dashboard/components/GridTaskCard.d.ts +10 -0
- package/dist/features/curator/dashboard/components/GridTaskCard.d.ts.map +1 -0
- package/dist/features/curator/dashboard/components/GridTaskCard.js +35 -0
- package/dist/features/curator/dashboard/components/GridTaskCard.js.map +1 -0
- package/dist/features/curator/dashboard/components/NextStepButton.css +1 -1
- package/dist/features/curator/dashboard/components/NextStepButton.d.ts +3 -0
- package/dist/features/curator/dashboard/components/NextStepButton.d.ts.map +1 -1
- package/dist/features/curator/dashboard/components/NextStepButton.js +56 -26
- package/dist/features/curator/dashboard/components/NextStepButton.js.map +1 -1
- package/dist/features/curator/dashboard/components/NextStepButton.module.js +6 -5
- package/dist/features/curator/dashboard/components/NextStepButton.module.js.map +1 -1
- package/dist/features/curator/dashboard/components/NextStepButton.module.scss +28 -0
- package/dist/features/curator/dashboard/components/getExecutableTaskButtonState.d.ts +31 -0
- package/dist/features/curator/dashboard/components/getExecutableTaskButtonState.d.ts.map +1 -0
- package/dist/features/curator/dashboard/components/getExecutableTaskButtonState.js +32 -0
- package/dist/features/curator/dashboard/components/getExecutableTaskButtonState.js.map +1 -0
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +213 -204
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.d.ts +0 -1
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js +19 -39
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.d.ts +9 -3
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js +37 -46
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksPageRouter.d.ts +17 -0
- package/dist/features/entity/metadata-task/components/MetadataTasksPageRouter.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/components/MetadataTasksPageRouter.js +43 -0
- package/dist/features/entity/metadata-task/components/MetadataTasksPageRouter.js.map +1 -0
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js +27 -26
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/CommonTaskFields.d.ts +16 -0
- package/dist/features/entity/metadata-task/create-task/CommonTaskFields.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CommonTaskFields.js +64 -0
- package/dist/features/entity/metadata-task/create-task/CommonTaskFields.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/ComputeTaskForm.d.ts +41 -0
- package/dist/features/entity/metadata-task/create-task/ComputeTaskForm.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/ComputeTaskForm.js +165 -0
- package/dist/features/entity/metadata-task/create-task/ComputeTaskForm.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CreateCurationTaskFlow.d.ts +18 -0
- package/dist/features/entity/metadata-task/create-task/CreateCurationTaskFlow.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CreateCurationTaskFlow.js +78 -0
- package/dist/features/entity/metadata-task/create-task/CreateCurationTaskFlow.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskCategoryPicker.d.ts +10 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskCategoryPicker.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskCategoryPicker.js +40 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskCategoryPicker.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskConfirmation.d.ts +13 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskConfirmation.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskConfirmation.js +35 -0
- package/dist/features/entity/metadata-task/create-task/CreateTaskConfirmation.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.d.ts +41 -0
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js +198 -0
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/EditCurationTaskPage.d.ts +8 -0
- package/dist/features/entity/metadata-task/create-task/EditCurationTaskPage.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/EditCurationTaskPage.js +29 -0
- package/dist/features/entity/metadata-task/create-task/EditCurationTaskPage.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/FileBasedFields.d.ts +13 -0
- package/dist/features/entity/metadata-task/create-task/FileBasedFields.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/FileBasedFields.js +65 -0
- package/dist/features/entity/metadata-task/create-task/FileBasedFields.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/ProjectSelectorField.d.ts +11 -0
- package/dist/features/entity/metadata-task/create-task/ProjectSelectorField.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/ProjectSelectorField.js +33 -0
- package/dist/features/entity/metadata-task/create-task/ProjectSelectorField.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/RecordBasedFields.d.ts +13 -0
- package/dist/features/entity/metadata-task/create-task/RecordBasedFields.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/RecordBasedFields.js +38 -0
- package/dist/features/entity/metadata-task/create-task/RecordBasedFields.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/RecordSetFields.d.ts +13 -0
- package/dist/features/entity/metadata-task/create-task/RecordSetFields.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/RecordSetFields.js +72 -0
- package/dist/features/entity/metadata-task/create-task/RecordSetFields.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/SampleSheetFields.d.ts +11 -0
- package/dist/features/entity/metadata-task/create-task/SampleSheetFields.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/SampleSheetFields.js +42 -0
- package/dist/features/entity/metadata-task/create-task/SampleSheetFields.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.d.ts +17 -0
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js +70 -0
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormActions.d.ts +23 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormActions.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormActions.js +68 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormActions.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.d.ts +17 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js +33 -0
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.d.ts +50 -0
- package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.js +76 -0
- package/dist/features/entity/metadata-task/create-task/useCurationTaskFormState.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildComputeTaskPayload.d.ts +36 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildComputeTaskPayload.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildComputeTaskPayload.js +31 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildComputeTaskPayload.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildCurateTaskPayload.d.ts +32 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildCurateTaskPayload.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildCurateTaskPayload.js +33 -0
- package/dist/features/entity/metadata-task/create-task/utils/buildCurateTaskPayload.js.map +1 -0
- package/dist/features/entity/metadata-task/create-task/utils/taskIdValidation.d.ts +10 -0
- package/dist/features/entity/metadata-task/create-task/utils/taskIdValidation.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/create-task/utils/taskIdValidation.js +13 -0
- package/dist/features/entity/metadata-task/create-task/utils/taskIdValidation.js.map +1 -0
- package/dist/features/entity/metadata-task/hooks/useGridSessionForCurationTask.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useGridSessionForCurationTask.js +24 -24
- package/dist/features/entity/metadata-task/hooks/useGridSessionForCurationTask.js.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useGridSessionForCurationTask_legacy.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useGridSessionForCurationTask_legacy.js +2 -2
- package/dist/features/entity/metadata-task/hooks/useGridSessionForCurationTask_legacy.js.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useMetadataTaskTable.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useMetadataTaskTable.js +33 -32
- package/dist/features/entity/metadata-task/hooks/useMetadataTaskTable.js.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useOpenCuratorButton.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/hooks/useOpenCuratorButton.js +24 -21
- package/dist/features/entity/metadata-task/hooks/useOpenCuratorButton.js.map +1 -1
- package/dist/features/entity/metadata-task/utils/constants.d.ts +84 -15
- package/dist/features/entity/metadata-task/utils/constants.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/utils/constants.js +47 -3
- package/dist/features/entity/metadata-task/utils/constants.js.map +1 -1
- package/dist/features/entity/metadata-task/utils/dueDate.d.ts +22 -0
- package/dist/features/entity/metadata-task/utils/dueDate.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/utils/dueDate.js +24 -0
- package/dist/features/entity/metadata-task/utils/dueDate.js.map +1 -0
- package/dist/features/entity/metadata-task/utils/getCreateGridRequestForMetadataTask.d.ts +2 -2
- package/dist/features/entity/metadata-task/utils/getCreateGridRequestForMetadataTask.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/utils/getCreateGridRequestForMetadataTask.js +5 -6
- package/dist/features/entity/metadata-task/utils/getCreateGridRequestForMetadataTask.js.map +1 -1
- package/dist/features/entity/metadata-task/utils/getGridSourceIdForTask.d.ts +4 -4
- package/dist/features/entity/metadata-task/utils/getGridSourceIdForTask.d.ts.map +1 -1
- package/dist/features/entity/metadata-task/utils/getGridSourceIdForTask.js +5 -6
- package/dist/features/entity/metadata-task/utils/getGridSourceIdForTask.js.map +1 -1
- package/dist/features/entity/metadata-task/utils/types.d.ts +12 -0
- package/dist/features/entity/metadata-task/utils/types.d.ts.map +1 -0
- package/dist/features/entity/metadata-task/utils/types.js +18 -0
- package/dist/features/entity/metadata-task/utils/types.js.map +1 -0
- package/dist/mocks/curation/mockCurationTask.d.ts +6 -0
- package/dist/mocks/curation/mockCurationTask.d.ts.map +1 -1
- package/dist/mocks/curation/mockCurationTask.js +20 -3
- package/dist/mocks/curation/mockCurationTask.js.map +1 -1
- package/dist/mocks/msw/handlers/curationTaskExecutionHandlers.d.ts +16 -0
- package/dist/mocks/msw/handlers/curationTaskExecutionHandlers.d.ts.map +1 -0
- package/dist/mocks/msw/handlers/curationTaskExecutionHandlers.js +24 -0
- package/dist/mocks/msw/handlers/curationTaskExecutionHandlers.js.map +1 -0
- package/dist/style/components/_data-grid-extra.css +1 -1
- package/dist/style/components/_data-grid-extra.scss +0 -6
- package/dist/synapse-client/SynapseClient.d.ts +7 -1
- package/dist/synapse-client/SynapseClient.d.ts.map +1 -1
- package/dist/synapse-client/SynapseClient.js +493 -482
- package/dist/synapse-client/SynapseClient.js.map +1 -1
- package/dist/synapse-client/index.js +3 -3
- package/dist/synapse-queries/curation/task/useCurationTask.d.ts +8 -1
- package/dist/synapse-queries/curation/task/useCurationTask.d.ts.map +1 -1
- package/dist/synapse-queries/curation/task/useCurationTask.js +48 -34
- package/dist/synapse-queries/curation/task/useCurationTask.js.map +1 -1
- package/dist/theme/palette/Palettes.js +2 -2
- package/dist/theme/palette/Palettes.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/AppUtils/session/useSessionManager.d.ts.map +1 -1
- package/dist/utils/AppUtils/session/useSessionManager.js +50 -48
- package/dist/utils/AppUtils/session/useSessionManager.js.map +1 -1
- package/dist/utils/SynapseConstants.d.ts +4 -1
- package/dist/utils/SynapseConstants.d.ts.map +1 -1
- package/dist/utils/SynapseConstants.js +86 -83
- package/dist/utils/SynapseConstants.js.map +1 -1
- package/dist/utils/featureflag/FeatureFlags.d.ts +2 -2
- 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/hooks/useDetectSSOCode.d.ts.map +1 -1
- package/dist/utils/hooks/useDetectSSOCode.js +37 -27
- package/dist/utils/hooks/useDetectSSOCode.js.map +1 -1
- package/package.json +6 -6
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.d.ts +0 -8
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.d.ts.map +0 -1
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.js +0 -64
- package/dist/components/DataGrid/MergeGridWithSourceTableButton.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { displayToast as e } from "../../../../components/ToastMessage/ToastMessage.js";
|
|
2
2
|
import { EntityTypeGroup as t } from "../../../../utils/functions/EntityTypeUtils.js";
|
|
3
|
+
import "../../../../components/ToastMessage/index.js";
|
|
3
4
|
import { useGetEntityPermissions as n } from "../../../../synapse-queries/entity/useEntity.js";
|
|
4
5
|
import { DialogBase as r } from "../../../../components/DialogBase.js";
|
|
5
6
|
import { ConfirmationDialog as ee } from "../../../../components/ConfirmationDialog/ConfirmationDialog.js";
|
|
6
7
|
import "../../../../components/ConfirmationDialog/index.js";
|
|
7
|
-
import "../../../../components/ToastMessage/index.js";
|
|
8
8
|
import i from "../../../../components/TextField/TextField.js";
|
|
9
9
|
import "../../../../components/TextField/index.js";
|
|
10
10
|
import { StyledFormControl as te } from "../../../../components/styled/StyledFormControl.js";
|
|
@@ -16,230 +16,230 @@ import c from "../../../../components/WizardChoiceButton/WizardChoiceButton.js";
|
|
|
16
16
|
import re from "../../../../components/WizardChoiceButton/WizardChoiceButtonGroup.js";
|
|
17
17
|
import "../../../../components/styled/index.js";
|
|
18
18
|
import { useCreateCurationTask as ie, useDeleteCurationTask as ae, useGetCurationTaskStatus as oe, useUpdateCurationTask as se, useUpdateCurationTaskStatus as ce } from "../../../../synapse-queries/curation/task/useCurationTask.js";
|
|
19
|
-
import {
|
|
20
|
-
import l from "
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import k from "
|
|
19
|
+
import { AUTH_MODE_NONE_TITLE as le, AUTH_MODE_NONE_TOOLTIP as ue, AUTH_MODE_SESSION_OWNER_TITLE as de, AUTH_MODE_SESSION_OWNER_TOOLTIP as fe, AUTH_MODE_SOURCE_BENEFACTOR_TITLE as pe, AUTH_MODE_SOURCE_BENEFACTOR_TOOLTIP as me, COLLABORATORS_TOOLTIP as he, CREATE_CURATION_TASK_DIALOG_TITLE as ge, DELETE_CURATION_TASK_CONFIRMATION_PROMPT as _e, DELETE_CURATION_TASK_DIALOG_TITLE as ve, DELETE_CURATION_TASK_ERROR_TOAST_PREFIX as ye, DELETE_CURATION_TASK_GRID_SESSION_WARNING as be, DELETE_CURATION_TASK_SUCCESS_TOAST as xe, EDIT_CURATION_TASK_DIALOG_TITLE as Se, FILE_BASED_FILE_VIEW_INPUT_DESCRIPTION as Ce, FILE_BASED_TASK_DESCRIPTION as we, FILE_BASED_TASK_TITLE as Te, FILE_BASED_UPLOAD_FOLDER_INPUT_DESCRIPTION as Ee, FILE_VIEW_FINDER_PROMPT as De, FILE_VIEW_FINDER_TITLE as Oe, RECORD_BASED_RECORD_SET_INPUT_DESCRIPTION as ke, RECORD_BASED_TASK_DESCRIPTION as Ae, RECORD_BASED_TASK_TITLE as je, RECORD_SET_FINDER_PROMPT as Me, RECORD_SET_FINDER_TITLE as Ne, SELECT_TASK_TYPE_DESCRIPTION as Pe, TASK_INSTRUCTIONS_INPUT_DESCRIPTION as Fe, TASK_NAME_INPUT_DESCRIPTION as Ie, TASK_STATUS_CONFIG as Le, UPLOAD_FOLDER_FINDER_PROMPT as Re, UPLOAD_FOLDER_FINDER_TITLE as ze } from "../utils/constants.js";
|
|
20
|
+
import { dueDateInputToIso as Be, isoToDueDateInput as l } from "../utils/dueDate.js";
|
|
21
|
+
import { instanceOfGridSupportedTaskProperties as u } from "../utils/types.js";
|
|
22
|
+
import d from "../../../../components/EntityFinder/EntityIdTextField.js";
|
|
23
|
+
import { useState as f } from "react";
|
|
24
|
+
import { Alert as p, Box as m, Button as h, FormControl as Ve, FormControlLabel as g, FormLabel as He, Grid as _, IconButton as Ue, InputLabel as v, MenuItem as We, Radio as y, RadioGroup as Ge, Select as Ke, Stack as b, Tooltip as x, Typography as S } from "@mui/material";
|
|
25
|
+
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
26
|
+
import { TYPE_FILTER as E } from "@sage-bionetworks/synapse-types";
|
|
27
|
+
import { EntityType as D, FileBasedMetadataTaskPropertiesConcreteTypeEnum as O, RecordBasedMetadataTaskPropertiesConcreteTypeEnum as k, TaskStatusStateEnum as qe } from "@sage-bionetworks/synapse-client";
|
|
28
|
+
import { HelpTwoTone as A } from "@mui/icons-material";
|
|
29
|
+
import j from "lodash-es/noop";
|
|
28
30
|
import Je from "@mui/icons-material/Close";
|
|
29
31
|
//#region src/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.tsx
|
|
30
|
-
var
|
|
32
|
+
var M = O.org_sagebionetworks_repo_model_curation_metadata_FileBasedMetadataTaskProperties, N = k.org_sagebionetworks_repo_model_curation_metadata_RecordBasedMetadataTaskProperties;
|
|
31
33
|
function Ye(e) {
|
|
32
34
|
return e === "SESSION_OWNER" || e === "SOURCE_BENEFACTOR" ? e : "NONE";
|
|
33
35
|
}
|
|
34
|
-
function
|
|
35
|
-
let { open:
|
|
36
|
-
let e =
|
|
37
|
-
return e ===
|
|
38
|
-
}), [
|
|
39
|
-
let e =
|
|
40
|
-
return e?.concreteType ===
|
|
41
|
-
}), [
|
|
42
|
-
let e =
|
|
43
|
-
return e?.concreteType ===
|
|
44
|
-
}), [
|
|
45
|
-
let e =
|
|
46
|
-
return e?.concreteType ===
|
|
47
|
-
}), [
|
|
36
|
+
function P(O) {
|
|
37
|
+
let { open: k, onCancel: P, onSuccess: F, onDeleteSuccess: Xe = j, projectId: Ze, task: I } = O, L = I !== void 0, { data: Qe } = n(Ze), $e = Qe?.canDelete && L && I?.taskId != null && O.onDeleteSuccess != null, [et, R] = f(!1), [tt, z] = f(() => I ? "COMMON_MUTABLE_FIELDS" : "SELECT_TYPE"), [B, nt] = f(() => {
|
|
38
|
+
let e = I?.taskProperties?.concreteType;
|
|
39
|
+
return e === M || e === N ? e : null;
|
|
40
|
+
}), [rt, it] = f(() => I?.dataType ?? ""), [at, ot] = f(() => I?.instructions ?? ""), [st, ct] = f(() => I?.assigneePrincipalId), lt = I?.taskProperties && u(I?.taskProperties) ? Ye(I?.taskProperties?.suggestedAuthorizationMode) : "NONE", [V, ut] = f(lt), [dt] = f(lt), [H, ft] = f(() => {
|
|
41
|
+
let e = I?.taskProperties;
|
|
42
|
+
return e?.concreteType === M ? e.uploadFolderId ?? "" : "";
|
|
43
|
+
}), [U, pt] = f(() => {
|
|
44
|
+
let e = I?.taskProperties;
|
|
45
|
+
return e?.concreteType === M ? e.fileViewId ?? "" : "";
|
|
46
|
+
}), [W, mt] = f(() => {
|
|
47
|
+
let e = I?.taskProperties;
|
|
48
|
+
return e?.concreteType === N ? e.recordSetId ?? "" : "";
|
|
49
|
+
}), [G, ht] = f(() => (I && I.taskProperties && u(I.taskProperties) ? I.taskProperties.collaboratorPrincipalIds : void 0) ?? []), [K, gt] = f(null), { data: q, isFetching: _t } = oe(I?.taskId ?? 0, { enabled: L && I?.taskId != null }), [J, vt] = f(void 0), yt = J ?? q?.state, [Y, bt] = f(void 0), xt = Y ?? (L ? l(q?.dueDate) : ""), St = l(q?.dueDate), { mutateAsync: Ct, isPending: wt, error: Tt } = ie(), { mutateAsync: Et, isPending: Dt, error: Ot } = se(), { mutateAsync: kt, isPending: At, error: jt } = ce(), { mutate: Mt, isPending: Nt } = ae({
|
|
48
50
|
onSuccess: () => {
|
|
49
|
-
e(
|
|
51
|
+
e(xe, "success"), R(!1), Xe();
|
|
50
52
|
},
|
|
51
53
|
onError: (t) => {
|
|
52
|
-
e(
|
|
54
|
+
e(ye + t.message, "danger");
|
|
53
55
|
}
|
|
54
|
-
}), X =
|
|
55
|
-
function
|
|
56
|
-
let e =
|
|
57
|
-
return n = t ===
|
|
58
|
-
concreteType:
|
|
59
|
-
uploadFolderId:
|
|
60
|
-
fileViewId:
|
|
56
|
+
}), X = wt || Dt || Nt || At, Z = Tt ?? Ot ?? jt, Pt = B === M && H && U || B === N && W;
|
|
57
|
+
function Ft() {
|
|
58
|
+
let e = V === "NONE" ? void 0 : V, t = B, n, r = G.length > 0 ? G : void 0;
|
|
59
|
+
return n = t === M ? {
|
|
60
|
+
concreteType: M,
|
|
61
|
+
uploadFolderId: H || void 0,
|
|
62
|
+
fileViewId: U || void 0,
|
|
61
63
|
suggestedAuthorizationMode: e,
|
|
62
64
|
collaboratorPrincipalIds: r
|
|
63
65
|
} : {
|
|
64
|
-
concreteType:
|
|
65
|
-
recordSetId:
|
|
66
|
+
concreteType: N,
|
|
67
|
+
recordSetId: W || void 0,
|
|
66
68
|
suggestedAuthorizationMode: e,
|
|
67
69
|
collaboratorPrincipalIds: r
|
|
68
70
|
}, {
|
|
69
|
-
...
|
|
70
|
-
projectId:
|
|
71
|
-
dataType:
|
|
72
|
-
instructions:
|
|
73
|
-
assigneePrincipalId:
|
|
71
|
+
...L ? I : {},
|
|
72
|
+
projectId: Ze,
|
|
73
|
+
dataType: rt || void 0,
|
|
74
|
+
instructions: at || void 0,
|
|
75
|
+
assigneePrincipalId: st || void 0,
|
|
74
76
|
taskProperties: n
|
|
75
77
|
};
|
|
76
78
|
}
|
|
77
|
-
async function
|
|
78
|
-
let e =
|
|
79
|
-
if (
|
|
80
|
-
let t = await
|
|
81
|
-
|
|
82
|
-
...
|
|
83
|
-
state:
|
|
79
|
+
async function It() {
|
|
80
|
+
let e = Ft();
|
|
81
|
+
if (L) {
|
|
82
|
+
let t = await Et(e);
|
|
83
|
+
(J !== void 0 && J !== q?.state || Y !== void 0 && Y !== St) && q != null && await kt({
|
|
84
|
+
...q,
|
|
85
|
+
state: J ?? q.state,
|
|
86
|
+
dueDate: Y === void 0 ? q.dueDate : Be(xt),
|
|
84
87
|
etag: t.etag
|
|
85
|
-
}),
|
|
86
|
-
} else
|
|
88
|
+
}), F(t);
|
|
89
|
+
} else F(await Ct(e));
|
|
87
90
|
}
|
|
88
|
-
let
|
|
89
|
-
value:
|
|
90
|
-
onChange: (e, t) =>
|
|
91
|
+
let Lt = L && V !== dt, Rt = /* @__PURE__ */ T(Ve, { children: [/* @__PURE__ */ w(He, { children: "Authorization Mode" }), /* @__PURE__ */ T(Ge, {
|
|
92
|
+
value: V,
|
|
93
|
+
onChange: (e, t) => ut(t),
|
|
91
94
|
children: [
|
|
92
|
-
/* @__PURE__ */
|
|
95
|
+
/* @__PURE__ */ w(g, {
|
|
93
96
|
value: "NONE",
|
|
94
|
-
control: /* @__PURE__ */
|
|
95
|
-
label: /* @__PURE__ */
|
|
97
|
+
control: /* @__PURE__ */ w(y, {}),
|
|
98
|
+
label: /* @__PURE__ */ T(m, {
|
|
96
99
|
sx: {
|
|
97
100
|
display: "flex",
|
|
98
101
|
alignItems: "center",
|
|
99
102
|
gap: .5
|
|
100
103
|
},
|
|
101
|
-
children: [/* @__PURE__ */ S
|
|
104
|
+
children: [/* @__PURE__ */ w(S, {
|
|
102
105
|
variant: "body1",
|
|
103
|
-
children:
|
|
104
|
-
}), /* @__PURE__ */
|
|
105
|
-
title:
|
|
106
|
-
children: /* @__PURE__ */
|
|
106
|
+
children: le
|
|
107
|
+
}), /* @__PURE__ */ w(x, {
|
|
108
|
+
title: ue,
|
|
109
|
+
children: /* @__PURE__ */ w(A, { sx: { color: "grey.700" } })
|
|
107
110
|
})]
|
|
108
111
|
})
|
|
109
112
|
}),
|
|
110
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ w(g, {
|
|
111
114
|
value: "SESSION_OWNER",
|
|
112
|
-
control: /* @__PURE__ */
|
|
113
|
-
label: /* @__PURE__ */
|
|
115
|
+
control: /* @__PURE__ */ w(y, {}),
|
|
116
|
+
label: /* @__PURE__ */ T(m, {
|
|
114
117
|
sx: {
|
|
115
118
|
display: "flex",
|
|
116
119
|
alignItems: "center",
|
|
117
120
|
gap: .5
|
|
118
121
|
},
|
|
119
|
-
children: [/* @__PURE__ */ S
|
|
122
|
+
children: [/* @__PURE__ */ w(S, {
|
|
120
123
|
variant: "body1",
|
|
121
|
-
children:
|
|
122
|
-
}), /* @__PURE__ */
|
|
123
|
-
title:
|
|
124
|
-
children: /* @__PURE__ */
|
|
124
|
+
children: de
|
|
125
|
+
}), /* @__PURE__ */ w(x, {
|
|
126
|
+
title: fe,
|
|
127
|
+
children: /* @__PURE__ */ w(A, { sx: { color: "grey.700" } })
|
|
125
128
|
})]
|
|
126
129
|
})
|
|
127
130
|
}),
|
|
128
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ w(g, {
|
|
129
132
|
value: "SOURCE_BENEFACTOR",
|
|
130
|
-
control: /* @__PURE__ */
|
|
131
|
-
label: /* @__PURE__ */
|
|
133
|
+
control: /* @__PURE__ */ w(y, {}),
|
|
134
|
+
label: /* @__PURE__ */ T(m, {
|
|
132
135
|
sx: {
|
|
133
136
|
display: "flex",
|
|
134
137
|
alignItems: "center",
|
|
135
138
|
gap: .5
|
|
136
139
|
},
|
|
137
|
-
children: [/* @__PURE__ */ S
|
|
140
|
+
children: [/* @__PURE__ */ w(S, {
|
|
138
141
|
variant: "body1",
|
|
139
|
-
children:
|
|
140
|
-
}), /* @__PURE__ */
|
|
141
|
-
title:
|
|
142
|
-
children: /* @__PURE__ */
|
|
142
|
+
children: pe
|
|
143
|
+
}), /* @__PURE__ */ w(x, {
|
|
144
|
+
title: me,
|
|
145
|
+
children: /* @__PURE__ */ w(A, { sx: { color: "grey.700" } })
|
|
143
146
|
})]
|
|
144
147
|
})
|
|
145
148
|
})
|
|
146
149
|
]
|
|
147
|
-
})] }),
|
|
150
|
+
})] }), zt = /* @__PURE__ */ T(m, { children: [/* @__PURE__ */ w(m, {
|
|
148
151
|
sx: {
|
|
149
152
|
display: "flex",
|
|
150
153
|
alignItems: "center",
|
|
151
154
|
gap: .5
|
|
152
155
|
},
|
|
153
|
-
children:
|
|
156
|
+
children: /* @__PURE__ */ w(v, {
|
|
154
157
|
htmlFor: "dlg-set-task-assignee",
|
|
155
158
|
children: "Assignee"
|
|
156
|
-
})
|
|
157
|
-
|
|
158
|
-
children: /* @__PURE__ */ S("div", { children: /* @__PURE__ */ S(O, { sx: { color: "grey.700" } }) })
|
|
159
|
-
})]
|
|
160
|
-
}), /* @__PURE__ */ S(a, {
|
|
159
|
+
})
|
|
160
|
+
}), /* @__PURE__ */ w(a, {
|
|
161
161
|
inputId: "dlg-set-task-assignee",
|
|
162
|
-
defaultValue:
|
|
163
|
-
onChange: (e) =>
|
|
164
|
-
typeFilter:
|
|
165
|
-
},
|
|
162
|
+
defaultValue: st,
|
|
163
|
+
onChange: (e) => ct(e ?? void 0),
|
|
164
|
+
typeFilter: E.ALL
|
|
165
|
+
}, k.toString())] }), Bt = /* @__PURE__ */ T(b, {
|
|
166
166
|
gap: 2,
|
|
167
167
|
children: [
|
|
168
|
-
/* @__PURE__ */
|
|
168
|
+
/* @__PURE__ */ w(i, {
|
|
169
169
|
label: "Task Name",
|
|
170
170
|
fullWidth: !0,
|
|
171
|
-
value:
|
|
172
|
-
onChange: (e) =>
|
|
171
|
+
value: rt,
|
|
172
|
+
onChange: (e) => it(e.target.value),
|
|
173
173
|
required: !0,
|
|
174
|
-
description:
|
|
174
|
+
description: Ie
|
|
175
175
|
}),
|
|
176
|
-
/* @__PURE__ */
|
|
176
|
+
/* @__PURE__ */ w(i, {
|
|
177
177
|
label: "Instructions",
|
|
178
178
|
fullWidth: !0,
|
|
179
179
|
multiline: !0,
|
|
180
180
|
minRows: 3,
|
|
181
|
-
value:
|
|
182
|
-
onChange: (e) =>
|
|
183
|
-
description:
|
|
181
|
+
value: at,
|
|
182
|
+
onChange: (e) => ot(e.target.value),
|
|
183
|
+
description: Fe
|
|
184
184
|
}),
|
|
185
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ T(m, {
|
|
186
186
|
display: "none",
|
|
187
|
-
children: [/* @__PURE__ */
|
|
187
|
+
children: [/* @__PURE__ */ T(m, {
|
|
188
188
|
sx: {
|
|
189
189
|
display: "flex",
|
|
190
190
|
alignItems: "center",
|
|
191
191
|
gap: .5
|
|
192
192
|
},
|
|
193
|
-
children: [/* @__PURE__ */
|
|
194
|
-
title:
|
|
195
|
-
children: /* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ w(v, { children: "Collaborators" }), /* @__PURE__ */ w(x, {
|
|
194
|
+
title: he,
|
|
195
|
+
children: /* @__PURE__ */ w("div", { children: /* @__PURE__ */ w(A, { sx: { color: "grey.700" } }) })
|
|
196
196
|
})]
|
|
197
|
-
}), /* @__PURE__ */
|
|
197
|
+
}), /* @__PURE__ */ T(b, {
|
|
198
198
|
gap: 1,
|
|
199
|
-
children: [/* @__PURE__ */
|
|
199
|
+
children: [/* @__PURE__ */ T(b, {
|
|
200
200
|
direction: "row",
|
|
201
201
|
gap: 1,
|
|
202
202
|
alignItems: "center",
|
|
203
|
-
children: [/* @__PURE__ */
|
|
203
|
+
children: [/* @__PURE__ */ w(m, {
|
|
204
204
|
flex: 1,
|
|
205
|
-
children: /* @__PURE__ */
|
|
206
|
-
value:
|
|
207
|
-
onChange: (e) =>
|
|
208
|
-
typeFilter:
|
|
205
|
+
children: /* @__PURE__ */ w(a, {
|
|
206
|
+
value: K,
|
|
207
|
+
onChange: (e) => gt(e),
|
|
208
|
+
typeFilter: E.ALL,
|
|
209
209
|
placeholder: "Search for a user or team"
|
|
210
210
|
})
|
|
211
|
-
}), /* @__PURE__ */
|
|
211
|
+
}), /* @__PURE__ */ w(h, {
|
|
212
212
|
variant: "outlined",
|
|
213
213
|
onClick: () => {
|
|
214
|
-
|
|
214
|
+
K && !G.includes(K) && ht((e) => [...e, K]), gt(null);
|
|
215
215
|
},
|
|
216
|
-
disabled: !
|
|
216
|
+
disabled: !K,
|
|
217
217
|
children: "Add"
|
|
218
218
|
})]
|
|
219
|
-
}),
|
|
219
|
+
}), G.map((e) => /* @__PURE__ */ T(b, {
|
|
220
220
|
direction: "row",
|
|
221
221
|
alignItems: "center",
|
|
222
222
|
justifyContent: "space-between",
|
|
223
|
-
children: [/* @__PURE__ */
|
|
223
|
+
children: [/* @__PURE__ */ w(ne, { principalId: e }), /* @__PURE__ */ w(Ue, {
|
|
224
224
|
size: "small",
|
|
225
|
-
onClick: () =>
|
|
226
|
-
children: /* @__PURE__ */
|
|
225
|
+
onClick: () => ht((t) => t.filter((t) => t !== e)),
|
|
226
|
+
children: /* @__PURE__ */ w(Je, { fontSize: "small" })
|
|
227
227
|
})]
|
|
228
228
|
}, e))]
|
|
229
229
|
})]
|
|
230
230
|
})
|
|
231
231
|
]
|
|
232
|
-
}),
|
|
232
|
+
}), Vt = /* @__PURE__ */ T(b, {
|
|
233
233
|
gap: 2,
|
|
234
|
-
children: [/* @__PURE__ */
|
|
234
|
+
children: [/* @__PURE__ */ w(d, {
|
|
235
235
|
label: "Upload Folder ID",
|
|
236
|
-
value:
|
|
237
|
-
description:
|
|
238
|
-
onChange:
|
|
239
|
-
disabled:
|
|
236
|
+
value: H,
|
|
237
|
+
description: Ee,
|
|
238
|
+
onChange: ft,
|
|
239
|
+
disabled: L,
|
|
240
240
|
entityFinderModalProps: {
|
|
241
|
-
title:
|
|
242
|
-
promptCopy:
|
|
241
|
+
title: ze,
|
|
242
|
+
promptCopy: Re,
|
|
243
243
|
confirmButtonCopy: "Select",
|
|
244
244
|
configuration: {
|
|
245
245
|
initialScope: s.ALL_PROJECTS,
|
|
@@ -250,15 +250,15 @@ function M(E) {
|
|
|
250
250
|
selectableTypes: t.CONTAINER
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
}), /* @__PURE__ */
|
|
253
|
+
}), /* @__PURE__ */ w(d, {
|
|
254
254
|
label: "File View ID",
|
|
255
|
-
value:
|
|
256
|
-
description:
|
|
257
|
-
onChange:
|
|
258
|
-
disabled:
|
|
255
|
+
value: U,
|
|
256
|
+
description: Ce,
|
|
257
|
+
onChange: pt,
|
|
258
|
+
disabled: L,
|
|
259
259
|
entityFinderModalProps: {
|
|
260
|
-
title:
|
|
261
|
-
promptCopy:
|
|
260
|
+
title: Oe,
|
|
261
|
+
promptCopy: De,
|
|
262
262
|
confirmButtonCopy: "Select",
|
|
263
263
|
configuration: {
|
|
264
264
|
initialScope: s.ALL_PROJECTS,
|
|
@@ -266,19 +266,19 @@ function M(E) {
|
|
|
266
266
|
selectMultiple: !1,
|
|
267
267
|
treeOnly: !1,
|
|
268
268
|
versionSelection: o.DISALLOWED,
|
|
269
|
-
selectableTypes: [
|
|
269
|
+
selectableTypes: [D.entityview]
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
})]
|
|
273
|
-
}),
|
|
273
|
+
}), Ht = /* @__PURE__ */ w(d, {
|
|
274
274
|
label: "Record Set ID",
|
|
275
|
-
value:
|
|
276
|
-
description:
|
|
277
|
-
onChange:
|
|
278
|
-
disabled:
|
|
275
|
+
value: W,
|
|
276
|
+
description: ke,
|
|
277
|
+
onChange: mt,
|
|
278
|
+
disabled: L,
|
|
279
279
|
entityFinderModalProps: {
|
|
280
|
-
title:
|
|
281
|
-
promptCopy:
|
|
280
|
+
title: Ne,
|
|
281
|
+
promptCopy: Me,
|
|
282
282
|
confirmButtonCopy: "Select",
|
|
283
283
|
configuration: {
|
|
284
284
|
initialScope: s.ALL_PROJECTS,
|
|
@@ -286,184 +286,193 @@ function M(E) {
|
|
|
286
286
|
selectMultiple: !1,
|
|
287
287
|
treeOnly: !1,
|
|
288
288
|
versionSelection: o.DISALLOWED,
|
|
289
|
-
selectableTypes: [
|
|
289
|
+
selectableTypes: [D.recordset]
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), Ut = /* @__PURE__ */ T(b, {
|
|
293
293
|
gap: 2,
|
|
294
|
-
children: [/* @__PURE__ */ S
|
|
294
|
+
children: [/* @__PURE__ */ w(S, {
|
|
295
295
|
variant: "body1",
|
|
296
|
-
children:
|
|
297
|
-
}), /* @__PURE__ */
|
|
298
|
-
title:
|
|
299
|
-
description:
|
|
296
|
+
children: Pe
|
|
297
|
+
}), /* @__PURE__ */ T(re, { children: [/* @__PURE__ */ w(c, {
|
|
298
|
+
title: Te,
|
|
299
|
+
description: we,
|
|
300
300
|
onClick: () => {
|
|
301
|
-
|
|
301
|
+
nt(M), z("TYPE_SPECIFIC_FIELDS");
|
|
302
302
|
}
|
|
303
|
-
}), /* @__PURE__ */
|
|
304
|
-
title:
|
|
305
|
-
description:
|
|
303
|
+
}), /* @__PURE__ */ w(c, {
|
|
304
|
+
title: je,
|
|
305
|
+
description: Ae,
|
|
306
306
|
onClick: () => {
|
|
307
|
-
|
|
307
|
+
nt(N), z("TYPE_SPECIFIC_FIELDS");
|
|
308
308
|
}
|
|
309
309
|
})] })]
|
|
310
|
-
}),
|
|
310
|
+
}), Wt = /* @__PURE__ */ T(b, {
|
|
311
311
|
gap: 2,
|
|
312
|
-
children: [B ===
|
|
313
|
-
}),
|
|
312
|
+
children: [B === M && Vt, B === N && Ht]
|
|
313
|
+
}), Gt = /* @__PURE__ */ T(b, {
|
|
314
314
|
gap: 3,
|
|
315
315
|
children: [
|
|
316
|
-
/* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ T(_, {
|
|
317
317
|
container: !0,
|
|
318
318
|
spacing: 3,
|
|
319
319
|
alignItems: "flex-start",
|
|
320
|
-
children: [/* @__PURE__ */
|
|
320
|
+
children: [/* @__PURE__ */ w(_, {
|
|
321
321
|
size: {
|
|
322
322
|
xs: 12,
|
|
323
323
|
sm: 6
|
|
324
324
|
},
|
|
325
|
-
children: /* @__PURE__ */
|
|
325
|
+
children: /* @__PURE__ */ w(b, {
|
|
326
326
|
gap: 2,
|
|
327
|
-
children:
|
|
327
|
+
children: Bt
|
|
328
328
|
})
|
|
329
|
-
}), /* @__PURE__ */
|
|
329
|
+
}), /* @__PURE__ */ w(_, {
|
|
330
330
|
size: {
|
|
331
331
|
xs: 12,
|
|
332
332
|
sm: 6
|
|
333
333
|
},
|
|
334
|
-
children: /* @__PURE__ */
|
|
334
|
+
children: /* @__PURE__ */ T(b, {
|
|
335
335
|
gap: 3,
|
|
336
336
|
children: [
|
|
337
|
-
|
|
337
|
+
L && /* @__PURE__ */ T(te, {
|
|
338
338
|
fullWidth: !0,
|
|
339
|
-
children: [/* @__PURE__ */
|
|
339
|
+
children: [/* @__PURE__ */ w(v, {
|
|
340
340
|
id: "dlg-task-status-label",
|
|
341
341
|
children: "Status"
|
|
342
|
-
}), /* @__PURE__ */
|
|
342
|
+
}), /* @__PURE__ */ w(Ke, {
|
|
343
343
|
labelId: "dlg-task-status-label",
|
|
344
|
-
value:
|
|
344
|
+
value: yt ?? "",
|
|
345
345
|
label: "Status",
|
|
346
|
-
disabled:
|
|
347
|
-
onChange: (e) =>
|
|
348
|
-
children: Object.values(qe).map((e) => /* @__PURE__ */
|
|
346
|
+
disabled: _t || q == null,
|
|
347
|
+
onChange: (e) => vt(e.target.value),
|
|
348
|
+
children: Object.values(qe).map((e) => /* @__PURE__ */ w(We, {
|
|
349
349
|
value: e,
|
|
350
|
-
children:
|
|
350
|
+
children: Le[e].label
|
|
351
351
|
}, e))
|
|
352
352
|
})]
|
|
353
353
|
}),
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
L && /* @__PURE__ */ w(m, { children: /* @__PURE__ */ w(i, {
|
|
355
|
+
label: "Due Date",
|
|
356
|
+
fullWidth: !0,
|
|
357
|
+
type: "date",
|
|
358
|
+
value: xt,
|
|
359
|
+
onChange: (e) => bt(e.target.value),
|
|
360
|
+
disabled: _t,
|
|
361
|
+
slotProps: { inputLabel: { shrink: !0 } }
|
|
362
|
+
}) }),
|
|
363
|
+
zt,
|
|
364
|
+
Rt
|
|
356
365
|
]
|
|
357
366
|
})
|
|
358
367
|
})]
|
|
359
368
|
}),
|
|
360
|
-
|
|
369
|
+
L && B === null && /* @__PURE__ */ w(p, {
|
|
361
370
|
severity: "error",
|
|
362
371
|
children: "This task has an unrecognized task type and cannot be edited here."
|
|
363
372
|
}),
|
|
364
|
-
|
|
373
|
+
Lt && /* @__PURE__ */ w(p, {
|
|
365
374
|
severity: "warning",
|
|
366
375
|
children: "Changing the Authorization Mode will clear the active session ID on this task. Any in-progress grid session linked to this task will no longer be associated with it."
|
|
367
376
|
}),
|
|
368
|
-
Z && /* @__PURE__ */
|
|
377
|
+
Z && /* @__PURE__ */ w(p, {
|
|
369
378
|
severity: "error",
|
|
370
379
|
children: Z.reason ?? "An error occurred. Please try again."
|
|
371
380
|
})
|
|
372
381
|
]
|
|
373
|
-
}),
|
|
374
|
-
switch (
|
|
382
|
+
}), Kt = L ? Se : ge, Q = null;
|
|
383
|
+
switch (tt) {
|
|
375
384
|
case "SELECT_TYPE":
|
|
376
|
-
Q =
|
|
385
|
+
Q = Ut;
|
|
377
386
|
break;
|
|
378
387
|
case "TYPE_SPECIFIC_FIELDS":
|
|
379
|
-
Q =
|
|
388
|
+
Q = Wt;
|
|
380
389
|
break;
|
|
381
390
|
case "COMMON_MUTABLE_FIELDS":
|
|
382
|
-
Q =
|
|
391
|
+
Q = Gt;
|
|
383
392
|
break;
|
|
384
393
|
}
|
|
385
394
|
let $ = null;
|
|
386
|
-
switch (
|
|
395
|
+
switch (tt) {
|
|
387
396
|
case "SELECT_TYPE":
|
|
388
397
|
$ = null;
|
|
389
398
|
break;
|
|
390
399
|
case "TYPE_SPECIFIC_FIELDS":
|
|
391
|
-
$ = /* @__PURE__ */ C
|
|
400
|
+
$ = /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(h, {
|
|
392
401
|
variant: "outlined",
|
|
393
402
|
onClick: () => z("SELECT_TYPE"),
|
|
394
403
|
disabled: X,
|
|
395
404
|
children: "Back"
|
|
396
|
-
}), /* @__PURE__ */
|
|
405
|
+
}), /* @__PURE__ */ w(h, {
|
|
397
406
|
variant: "contained",
|
|
398
407
|
onClick: () => z("COMMON_MUTABLE_FIELDS"),
|
|
399
|
-
disabled: X || !
|
|
408
|
+
disabled: X || !Pt,
|
|
400
409
|
children: "Next"
|
|
401
410
|
})] });
|
|
402
411
|
break;
|
|
403
412
|
case "COMMON_MUTABLE_FIELDS":
|
|
404
|
-
$ = /* @__PURE__ */ C
|
|
413
|
+
$ = /* @__PURE__ */ T(C, { children: [!L && /* @__PURE__ */ w(h, {
|
|
405
414
|
variant: "outlined",
|
|
406
415
|
onClick: () => z("TYPE_SPECIFIC_FIELDS"),
|
|
407
416
|
disabled: X,
|
|
408
417
|
children: "Back"
|
|
409
|
-
}), /* @__PURE__ */
|
|
418
|
+
}), /* @__PURE__ */ w(h, {
|
|
410
419
|
variant: "contained",
|
|
411
|
-
onClick: () => void
|
|
420
|
+
onClick: () => void It().catch(j),
|
|
412
421
|
disabled: X || B === null,
|
|
413
422
|
children: "Save"
|
|
414
423
|
})] });
|
|
415
424
|
break;
|
|
416
425
|
}
|
|
417
|
-
return /* @__PURE__ */ C
|
|
418
|
-
open:
|
|
419
|
-
title:
|
|
426
|
+
return /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(r, {
|
|
427
|
+
open: k,
|
|
428
|
+
title: Kt,
|
|
420
429
|
maxWidth: "md",
|
|
421
430
|
fullWidth: !0,
|
|
422
|
-
onCancel:
|
|
431
|
+
onCancel: P,
|
|
423
432
|
content: Q,
|
|
424
|
-
actions: /* @__PURE__ */
|
|
433
|
+
actions: /* @__PURE__ */ T(b, {
|
|
425
434
|
direction: "row",
|
|
426
435
|
gap: 1,
|
|
427
436
|
justifyContent: "space-between",
|
|
428
437
|
alignItems: "center",
|
|
429
438
|
width: "100%",
|
|
430
|
-
children: [/* @__PURE__ */
|
|
439
|
+
children: [/* @__PURE__ */ w(m, { children: $e && /* @__PURE__ */ w(h, {
|
|
431
440
|
variant: "outlined",
|
|
432
441
|
color: "error",
|
|
433
|
-
onClick: () =>
|
|
442
|
+
onClick: () => R(!0),
|
|
434
443
|
disabled: X,
|
|
435
444
|
children: "Delete"
|
|
436
|
-
}) }), /* @__PURE__ */
|
|
445
|
+
}) }), /* @__PURE__ */ w(b, {
|
|
437
446
|
direction: "row",
|
|
438
447
|
gap: 1,
|
|
439
448
|
children: $
|
|
440
449
|
})]
|
|
441
450
|
})
|
|
442
|
-
}), /* @__PURE__ */
|
|
443
|
-
title:
|
|
444
|
-
open:
|
|
445
|
-
content: /* @__PURE__ */
|
|
451
|
+
}), /* @__PURE__ */ w(ee, {
|
|
452
|
+
title: ve,
|
|
453
|
+
open: et,
|
|
454
|
+
content: /* @__PURE__ */ T(b, {
|
|
446
455
|
gap: 2,
|
|
447
|
-
children: [/* @__PURE__ */ S
|
|
456
|
+
children: [/* @__PURE__ */ w(S, {
|
|
448
457
|
variant: "body1",
|
|
449
|
-
children:
|
|
450
|
-
}), /* @__PURE__ */
|
|
458
|
+
children: _e
|
|
459
|
+
}), /* @__PURE__ */ w(p, {
|
|
451
460
|
severity: "warning",
|
|
452
|
-
children:
|
|
461
|
+
children: be
|
|
453
462
|
})]
|
|
454
463
|
}),
|
|
455
464
|
confirmButtonProps: {
|
|
456
465
|
children: "Delete",
|
|
457
466
|
color: "error",
|
|
458
|
-
loading:
|
|
467
|
+
loading: Nt
|
|
459
468
|
},
|
|
460
469
|
onConfirm: () => {
|
|
461
|
-
|
|
470
|
+
I?.taskId != null && Mt(I.taskId);
|
|
462
471
|
},
|
|
463
|
-
onCancel: () =>
|
|
472
|
+
onCancel: () => R(!1)
|
|
464
473
|
})] });
|
|
465
474
|
}
|
|
466
475
|
//#endregion
|
|
467
|
-
export {
|
|
476
|
+
export { P as default };
|
|
468
477
|
|
|
469
478
|
//# sourceMappingURL=CreateOrUpdateCurationTaskDialog.js.map
|