@burdenoff/microfe-cosmicintersection 2026.1110.1 → 2026.1111.1
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/cosmicintersection/CosmicIntersectionRoot.d.ts +0 -1
- package/dist/cosmicintersection/CosmicIntersectionRoot.js +1 -2
- package/dist/cosmicintersection/CosmicIntersectionRoot.js.map +1 -1
- package/dist/cosmicintersection/CosmicIntersectionRoutes.d.ts +0 -1
- package/dist/cosmicintersection/CosmicIntersectionRoutes.js +1 -2
- package/dist/cosmicintersection/CosmicIntersectionRoutes.js.map +1 -1
- package/dist/cosmicintersection/api/cosmicApi.d.ts +0 -1
- package/dist/cosmicintersection/api/cosmicApi.js +1 -2
- package/dist/cosmicintersection/api/cosmicApi.js.map +1 -1
- package/dist/cosmicintersection/api/databricksTransport.d.ts +0 -1
- package/dist/cosmicintersection/api/databricksTransport.js +1 -2
- package/dist/cosmicintersection/api/databricksTransport.js.map +1 -1
- package/dist/cosmicintersection/api/tagsApi.d.ts +0 -1
- package/dist/cosmicintersection/api/tagsApi.js +1 -2
- package/dist/cosmicintersection/api/tagsApi.js.map +1 -1
- package/dist/cosmicintersection/components/ActionMenu.d.ts +0 -1
- package/dist/cosmicintersection/components/ActionMenu.js +1 -2
- package/dist/cosmicintersection/components/ActionMenu.js.map +1 -1
- package/dist/cosmicintersection/components/ActivityFeedPanel.d.ts +0 -1
- package/dist/cosmicintersection/components/ActivityFeedPanel.js +27 -25
- package/dist/cosmicintersection/components/ActivityFeedPanel.js.map +1 -1
- package/dist/cosmicintersection/components/AiRunAttribution.d.ts +0 -1
- package/dist/cosmicintersection/components/AiRunAttribution.js +1 -2
- package/dist/cosmicintersection/components/AiRunAttribution.js.map +1 -1
- package/dist/cosmicintersection/components/DatabricksQueueForm.d.ts +0 -1
- package/dist/cosmicintersection/components/DatabricksQueueForm.js +1 -2
- package/dist/cosmicintersection/components/DatabricksQueueForm.js.map +1 -1
- package/dist/cosmicintersection/components/DatabricksRunPanel.d.ts +0 -1
- package/dist/cosmicintersection/components/DatabricksRunPanel.js +1 -2
- package/dist/cosmicintersection/components/DatabricksRunPanel.js.map +1 -1
- package/dist/cosmicintersection/components/DiscussionPanel.d.ts +0 -1
- package/dist/cosmicintersection/components/DiscussionPanel.js +4 -4
- package/dist/cosmicintersection/components/DiscussionPanel.js.map +1 -1
- package/dist/cosmicintersection/components/EmptyState.d.ts +0 -1
- package/dist/cosmicintersection/components/EmptyState.js +1 -2
- package/dist/cosmicintersection/components/EmptyState.js.map +1 -1
- package/dist/cosmicintersection/components/EntityFormShell.d.ts +0 -1
- package/dist/cosmicintersection/components/EntityFormShell.js +1 -2
- package/dist/cosmicintersection/components/EntityFormShell.js.map +1 -1
- package/dist/cosmicintersection/components/EntityTagsField.d.ts +0 -1
- package/dist/cosmicintersection/components/EntityTagsField.js +1 -2
- package/dist/cosmicintersection/components/EntityTagsField.js.map +1 -1
- package/dist/cosmicintersection/components/ErrorState.d.ts +0 -1
- package/dist/cosmicintersection/components/ErrorState.js +1 -2
- package/dist/cosmicintersection/components/ErrorState.js.map +1 -1
- package/dist/cosmicintersection/components/FacetPanel.d.ts +0 -1
- package/dist/cosmicintersection/components/FacetPanel.js +1 -2
- package/dist/cosmicintersection/components/FacetPanel.js.map +1 -1
- package/dist/cosmicintersection/components/FileUploadField.d.ts +5 -2
- package/dist/cosmicintersection/components/FileUploadField.js +80 -76
- package/dist/cosmicintersection/components/FileUploadField.js.map +1 -1
- package/dist/cosmicintersection/components/LineageGraph.d.ts +0 -1
- package/dist/cosmicintersection/components/LineageGraph.js +7 -12
- package/dist/cosmicintersection/components/LineageGraph.js.map +1 -1
- package/dist/cosmicintersection/components/LoadingState.d.ts +0 -1
- package/dist/cosmicintersection/components/LoadingState.js +1 -2
- package/dist/cosmicintersection/components/LoadingState.js.map +1 -1
- package/dist/cosmicintersection/components/PageLayout.d.ts +0 -1
- package/dist/cosmicintersection/components/PageLayout.js +1 -2
- package/dist/cosmicintersection/components/PageLayout.js.map +1 -1
- package/dist/cosmicintersection/components/Pagination.d.ts +0 -1
- package/dist/cosmicintersection/components/Pagination.js +1 -2
- package/dist/cosmicintersection/components/Pagination.js.map +1 -1
- package/dist/cosmicintersection/components/ReleaseDraftDialog.d.ts +0 -1
- package/dist/cosmicintersection/components/ReleaseDraftDialog.js +7 -12
- package/dist/cosmicintersection/components/ReleaseDraftDialog.js.map +1 -1
- package/dist/cosmicintersection/components/ResultsChart.d.ts +0 -1
- package/dist/cosmicintersection/components/ResultsChart.js +4 -8
- package/dist/cosmicintersection/components/ResultsChart.js.map +1 -1
- package/dist/cosmicintersection/components/RunTriageCard.d.ts +0 -1
- package/dist/cosmicintersection/components/RunTriageCard.js +18 -19
- package/dist/cosmicintersection/components/RunTriageCard.js.map +1 -1
- package/dist/cosmicintersection/components/SafeLink.d.ts +0 -1
- package/dist/cosmicintersection/components/SafeLink.js +8 -7
- package/dist/cosmicintersection/components/SafeLink.js.map +1 -1
- package/dist/cosmicintersection/components/SchemaProposalPanel.d.ts +0 -1
- package/dist/cosmicintersection/components/SchemaProposalPanel.js +17 -18
- package/dist/cosmicintersection/components/SchemaProposalPanel.js.map +1 -1
- package/dist/cosmicintersection/components/ScienceCanvas.d.ts +0 -1
- package/dist/cosmicintersection/components/ScienceCanvas.js +226 -233
- package/dist/cosmicintersection/components/ScienceCanvas.js.map +1 -1
- package/dist/cosmicintersection/components/StatusBadge.d.ts +0 -1
- package/dist/cosmicintersection/components/StatusBadge.js +1 -2
- package/dist/cosmicintersection/components/StatusBadge.js.map +1 -1
- package/dist/cosmicintersection/components/StepDAG.d.ts +0 -1
- package/dist/cosmicintersection/components/StepDAG.js +1 -2
- package/dist/cosmicintersection/components/StepDAG.js.map +1 -1
- package/dist/cosmicintersection/components/WorkspaceTagsPicker.d.ts +0 -1
- package/dist/cosmicintersection/components/WorkspaceTagsPicker.js +1 -2
- package/dist/cosmicintersection/components/WorkspaceTagsPicker.js.map +1 -1
- package/dist/cosmicintersection/components/index.d.ts +0 -1
- package/dist/cosmicintersection/components/index.js +14 -14
- package/dist/cosmicintersection/context/CosmicIntersectionContext.d.ts +0 -1
- package/dist/cosmicintersection/context/CosmicIntersectionContext.js +2 -7
- package/dist/cosmicintersection/context/CosmicIntersectionContext.js.map +1 -1
- package/dist/cosmicintersection/hooks/useDatabricksExecutions.d.ts +0 -1
- package/dist/cosmicintersection/hooks/useDatabricksExecutions.js +18 -19
- package/dist/cosmicintersection/hooks/useDatabricksExecutions.js.map +1 -1
- package/dist/cosmicintersection/hooks/useDatabricksQueueForm.d.ts +0 -1
- package/dist/cosmicintersection/hooks/useDatabricksQueueForm.js +1 -2
- package/dist/cosmicintersection/hooks/useDatabricksQueueForm.js.map +1 -1
- package/dist/cosmicintersection/hooks/useEntityTagSync.d.ts +0 -1
- package/dist/cosmicintersection/hooks/useEntityTagSync.js +29 -25
- package/dist/cosmicintersection/hooks/useEntityTagSync.js.map +1 -1
- package/dist/cosmicintersection/index.d.ts +0 -1
- package/dist/cosmicintersection/lib/assistantAwareDialog.d.ts +0 -1
- package/dist/cosmicintersection/lib/assistantAwareDialog.js +1 -2
- package/dist/cosmicintersection/lib/assistantAwareDialog.js.map +1 -1
- package/dist/cosmicintersection/lib/databricksForm.d.ts +0 -1
- package/dist/cosmicintersection/lib/databricksForm.js +1 -2
- package/dist/cosmicintersection/lib/databricksForm.js.map +1 -1
- package/dist/cosmicintersection/lib/databricksIntent.d.ts +0 -1
- package/dist/cosmicintersection/lib/databricksIntent.js +1 -2
- package/dist/cosmicintersection/lib/databricksIntent.js.map +1 -1
- package/dist/cosmicintersection/lib/databricksPresentation.d.ts +0 -1
- package/dist/cosmicintersection/lib/databricksPresentation.js +1 -2
- package/dist/cosmicintersection/lib/databricksPresentation.js.map +1 -1
- package/dist/cosmicintersection/lib/mutationResult.d.ts +0 -1
- package/dist/cosmicintersection/lib/mutationResult.js +1 -2
- package/dist/cosmicintersection/lib/mutationResult.js.map +1 -1
- package/dist/cosmicintersection/lib/toast.d.ts +0 -1
- package/dist/cosmicintersection/lib/toast.js +1 -2
- package/dist/cosmicintersection/lib/toast.js.map +1 -1
- package/dist/cosmicintersection/lib/uploadAudience.d.ts +4 -0
- package/dist/cosmicintersection/lib/uploadAudience.js +17 -0
- package/dist/cosmicintersection/lib/uploadAudience.js.map +1 -0
- package/dist/cosmicintersection/lib/useSelectedRecord.d.ts +0 -1
- package/dist/cosmicintersection/lib/useSelectedRecord.js +1 -2
- package/dist/cosmicintersection/lib/useSelectedRecord.js.map +1 -1
- package/dist/cosmicintersection/lib/useTrackRecentItem.d.ts +0 -1
- package/dist/cosmicintersection/lib/useTrackRecentItem.js +7 -8
- package/dist/cosmicintersection/lib/useTrackRecentItem.js.map +1 -1
- package/dist/cosmicintersection/lib/visualization.d.ts +0 -1
- package/dist/cosmicintersection/lib/visualization.js +2 -3
- package/dist/cosmicintersection/lib/visualization.js.map +1 -1
- package/dist/cosmicintersection/lib/visualizationSamples.d.ts +0 -1
- package/dist/cosmicintersection/pages/access/AccessPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/access/AccessPage.js +225 -226
- package/dist/cosmicintersection/pages/access/AccessPage.js.map +1 -1
- package/dist/cosmicintersection/pages/analyses/AnalysesPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/analyses/AnalysesPage.js +260 -260
- package/dist/cosmicintersection/pages/analyses/AnalysesPage.js.map +1 -1
- package/dist/cosmicintersection/pages/archive/ArchivePage.d.ts +0 -1
- package/dist/cosmicintersection/pages/archive/ArchivePage.js +23 -48
- package/dist/cosmicintersection/pages/archive/ArchivePage.js.map +1 -1
- package/dist/cosmicintersection/pages/collections/CollectionDetailPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/collections/CollectionDetailPage.js +32 -33
- package/dist/cosmicintersection/pages/collections/CollectionDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/collections/CollectionFormPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/collections/CollectionFormPage.js +17 -18
- package/dist/cosmicintersection/pages/collections/CollectionFormPage.js.map +1 -1
- package/dist/cosmicintersection/pages/collections/CollectionsPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/collections/CollectionsPage.js +20 -21
- package/dist/cosmicintersection/pages/collections/CollectionsPage.js.map +1 -1
- package/dist/cosmicintersection/pages/dashboard/DashboardPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/dashboard/DashboardPage.js +19 -20
- package/dist/cosmicintersection/pages/dashboard/DashboardPage.js.map +1 -1
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js +64 -75
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/datasets/DatasetFormPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/datasets/DatasetFormPage.js +131 -119
- package/dist/cosmicintersection/pages/datasets/DatasetFormPage.js.map +1 -1
- package/dist/cosmicintersection/pages/datasets/DatasetsPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/datasets/DatasetsPage.js +207 -208
- package/dist/cosmicintersection/pages/datasets/DatasetsPage.js.map +1 -1
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.js +20 -24
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.js.map +1 -1
- package/dist/cosmicintersection/pages/lineage/LineagePage.d.ts +0 -1
- package/dist/cosmicintersection/pages/lineage/LineagePage.js +53 -54
- package/dist/cosmicintersection/pages/lineage/LineagePage.js.map +1 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js +61 -62
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.js +154 -149
- package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.js.map +1 -1
- package/dist/cosmicintersection/pages/notebooks/NotebooksPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/notebooks/NotebooksPage.js +28 -29
- package/dist/cosmicintersection/pages/notebooks/NotebooksPage.js.map +1 -1
- package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.js +119 -120
- package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.js +41 -42
- package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.js.map +1 -1
- package/dist/cosmicintersection/pages/pipelines/PipelinesPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/pipelines/PipelinesPage.js +30 -31
- package/dist/cosmicintersection/pages/pipelines/PipelinesPage.js.map +1 -1
- package/dist/cosmicintersection/pages/releases/ReleaseFormPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/releases/ReleaseFormPage.js +16 -17
- package/dist/cosmicintersection/pages/releases/ReleaseFormPage.js.map +1 -1
- package/dist/cosmicintersection/pages/releases/ReleasesPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/releases/ReleasesPage.js +268 -269
- package/dist/cosmicintersection/pages/releases/ReleasesPage.js.map +1 -1
- package/dist/cosmicintersection/pages/runs/RunDetailPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/runs/RunDetailPage.js +194 -195
- package/dist/cosmicintersection/pages/runs/RunDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/runs/RunsPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/runs/RunsPage.js +20 -21
- package/dist/cosmicintersection/pages/runs/RunsPage.js.map +1 -1
- package/dist/cosmicintersection/pages/sources/SourceDetailPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/sources/SourceDetailPage.js +31 -32
- package/dist/cosmicintersection/pages/sources/SourceDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/sources/SourceFormPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/sources/SourceFormPage.js +23 -24
- package/dist/cosmicintersection/pages/sources/SourceFormPage.js.map +1 -1
- package/dist/cosmicintersection/pages/sources/SourcesPage.d.ts +0 -1
- package/dist/cosmicintersection/pages/sources/SourcesPage.js +184 -182
- package/dist/cosmicintersection/pages/sources/SourcesPage.js.map +1 -1
- package/dist/cosmicintersection/types/index.d.ts +0 -1
- package/dist/cosmicintersection/utils/cn.d.ts +0 -1
- package/dist/cosmicintersection/utils/cn.js +1 -2
- package/dist/cosmicintersection/utils/cn.js.map +1 -1
- package/dist/cosmicintersection/utils/i18n.d.ts +0 -1
- package/dist/cosmicintersection/utils/navigation.d.ts +0 -1
- package/dist/dev/main.d.ts +0 -1
- package/dist/generated/global-types.d.ts +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -1
- package/dist/generated/wspace-operations.js +1 -2
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -3
- package/dist/node_modules/clsx/dist/clsx.js +7 -6
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +4 -21
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/services/createSandboxAssistantTransport.d.ts +0 -1
- package/dist/services/createSandboxAssistantTransport.js +1 -2
- package/dist/services/createSandboxAssistantTransport.js.map +1 -1
- package/dist/services/recentItems.d.ts +0 -1
- package/dist/services/recentItems.js +5 -6
- package/dist/services/recentItems.js.map +1 -1
- package/dist/shared/hooks/useTr.d.ts +0 -1
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/shared/hooks/useTr.js.map +1 -1
- package/dist/stories/EmptyState.stories.d.ts +0 -1
- package/dist/stories/LoadingState.stories.d.ts +0 -1
- package/dist/stories/ScienceCanvas.stories.d.ts +0 -1
- package/dist/stories/StatusBadge.stories.d.ts +0 -1
- package/dist/stories/WorkspaceTagsPicker.stories.d.ts +0 -1
- package/dist/test/fakeGateway.d.ts +0 -1
- package/dist/test/fixtures.d.ts +0 -1
- package/dist/test/happydom.d.ts +1 -0
- package/dist/test/i18nMock.d.ts +13 -1
- package/dist/test/renderWithProviders.d.ts +1 -2
- package/dist/test/storage.d.ts +13 -0
- package/dist/types/assistant.d.ts +0 -1
- package/dist/utils/pageContext.d.ts +0 -1
- package/dist/utils/pageContext.js +1 -2
- package/dist/utils/pageContext.js.map +1 -1
- package/package.json +64 -38
- package/dist/cosmicintersection/CosmicIntersectionRoot.d.ts.map +0 -1
- package/dist/cosmicintersection/CosmicIntersectionRoutes.d.ts.map +0 -1
- package/dist/cosmicintersection/api/cosmicApi.d.ts.map +0 -1
- package/dist/cosmicintersection/api/databricksTransport.d.ts.map +0 -1
- package/dist/cosmicintersection/api/tagsApi.d.ts.map +0 -1
- package/dist/cosmicintersection/components/ActionMenu.d.ts.map +0 -1
- package/dist/cosmicintersection/components/ActivityFeedPanel.d.ts.map +0 -1
- package/dist/cosmicintersection/components/AiRunAttribution.d.ts.map +0 -1
- package/dist/cosmicintersection/components/DatabricksQueueForm.d.ts.map +0 -1
- package/dist/cosmicintersection/components/DatabricksRunPanel.d.ts.map +0 -1
- package/dist/cosmicintersection/components/DiscussionPanel.d.ts.map +0 -1
- package/dist/cosmicintersection/components/EmptyState.d.ts.map +0 -1
- package/dist/cosmicintersection/components/EntityFormShell.d.ts.map +0 -1
- package/dist/cosmicintersection/components/EntityTagsField.d.ts.map +0 -1
- package/dist/cosmicintersection/components/ErrorState.d.ts.map +0 -1
- package/dist/cosmicintersection/components/FacetPanel.d.ts.map +0 -1
- package/dist/cosmicintersection/components/FileUploadField.d.ts.map +0 -1
- package/dist/cosmicintersection/components/LineageGraph.d.ts.map +0 -1
- package/dist/cosmicintersection/components/LoadingState.d.ts.map +0 -1
- package/dist/cosmicintersection/components/PageLayout.d.ts.map +0 -1
- package/dist/cosmicintersection/components/Pagination.d.ts.map +0 -1
- package/dist/cosmicintersection/components/ReleaseDraftDialog.d.ts.map +0 -1
- package/dist/cosmicintersection/components/ResultsChart.d.ts.map +0 -1
- package/dist/cosmicintersection/components/RunTriageCard.d.ts.map +0 -1
- package/dist/cosmicintersection/components/SafeLink.d.ts.map +0 -1
- package/dist/cosmicintersection/components/SchemaProposalPanel.d.ts.map +0 -1
- package/dist/cosmicintersection/components/ScienceCanvas.d.ts.map +0 -1
- package/dist/cosmicintersection/components/StatusBadge.d.ts.map +0 -1
- package/dist/cosmicintersection/components/StepDAG.d.ts.map +0 -1
- package/dist/cosmicintersection/components/WorkspaceTagsPicker.d.ts.map +0 -1
- package/dist/cosmicintersection/components/index.d.ts.map +0 -1
- package/dist/cosmicintersection/context/CosmicIntersectionContext.d.ts.map +0 -1
- package/dist/cosmicintersection/hooks/useDatabricksExecutions.d.ts.map +0 -1
- package/dist/cosmicintersection/hooks/useDatabricksQueueForm.d.ts.map +0 -1
- package/dist/cosmicintersection/hooks/useEntityTagSync.d.ts.map +0 -1
- package/dist/cosmicintersection/index.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/assistantAwareDialog.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/databricksForm.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/databricksIntent.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/databricksPresentation.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/mutationResult.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/toast.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/useSelectedRecord.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/useTrackRecentItem.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/visualization.d.ts.map +0 -1
- package/dist/cosmicintersection/lib/visualizationSamples.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/access/AccessPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/analyses/AnalysesPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/archive/ArchivePage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/collections/CollectionDetailPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/collections/CollectionFormPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/collections/CollectionsPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/dashboard/DashboardPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/datasets/DatasetFormPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/datasets/DatasetsPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/lineage/LineagePage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/notebooks/NotebooksPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/pipelines/PipelinesPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/releases/ReleaseFormPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/releases/ReleasesPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/runs/RunDetailPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/runs/RunsPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/sources/SourceDetailPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/sources/SourceFormPage.d.ts.map +0 -1
- package/dist/cosmicintersection/pages/sources/SourcesPage.d.ts.map +0 -1
- package/dist/cosmicintersection/types/index.d.ts.map +0 -1
- package/dist/cosmicintersection/utils/cn.d.ts.map +0 -1
- package/dist/cosmicintersection/utils/i18n.d.ts.map +0 -1
- package/dist/cosmicintersection/utils/navigation.d.ts.map +0 -1
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/services/createSandboxAssistantTransport.d.ts.map +0 -1
- package/dist/services/recentItems.d.ts.map +0 -1
- package/dist/shared/hooks/useTr.d.ts.map +0 -1
- package/dist/stories/EmptyState.stories.d.ts.map +0 -1
- package/dist/stories/LoadingState.stories.d.ts.map +0 -1
- package/dist/stories/ScienceCanvas.stories.d.ts.map +0 -1
- package/dist/stories/StatusBadge.stories.d.ts.map +0 -1
- package/dist/stories/WorkspaceTagsPicker.stories.d.ts.map +0 -1
- package/dist/test/fakeGateway.d.ts.map +0 -1
- package/dist/test/fixtures.d.ts.map +0 -1
- package/dist/test/i18nMock.d.ts.map +0 -1
- package/dist/test/renderWithProviders.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.d.ts.map +0 -1
- package/dist/types/assistant.d.ts.map +0 -1
- package/dist/utils/pageContext.d.ts.map +0 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SafeLink as
|
|
3
|
-
import { notify as n } from "../../lib/toast.js";
|
|
4
|
-
import { useCosDatasetsQuery as r, useCosMintDoiMutation as ee, useCosNotebooksQuery as te, useCosPublishReleaseMutation as ne, useCosReleaseQuery as re, useCosReleasesQuery as ie } from "../../api/cosmicApi.js";
|
|
5
|
-
import { useTr as ae } from "../../../shared/hooks/useTr.js";
|
|
6
|
-
import { ActionMenu as i } from "../../components/ActionMenu.js";
|
|
7
|
-
import { EmptyState as oe } from "../../components/EmptyState.js";
|
|
8
|
-
import { ErrorState as se } from "../../components/ErrorState.js";
|
|
9
|
-
import { LoadingState as ce } from "../../components/LoadingState.js";
|
|
10
|
-
import { DiscussionPanel as le } from "../../components/DiscussionPanel.js";
|
|
11
|
-
import { PageLayout as ue } from "../../components/PageLayout.js";
|
|
12
|
-
import { Pagination as de, usePagination as fe } from "../../components/Pagination.js";
|
|
13
|
-
import { StatusBadge as a, formatEnumLabel as pe } from "../../components/StatusBadge.js";
|
|
1
|
+
import { useCosDatasetsQuery as e, useCosMintDoiMutation as t, useCosNotebooksQuery as n, useCosPublishReleaseMutation as ee, useCosReleaseQuery as te, useCosReleasesQuery as ne } from "../../api/cosmicApi.js";
|
|
2
|
+
import { SafeLink as r } from "../../components/SafeLink.js";
|
|
14
3
|
import "../../components/index.js";
|
|
4
|
+
import { ActionMenu as i } from "../../components/ActionMenu.js";
|
|
5
|
+
import { useCosmicIntersection as re } from "../../context/CosmicIntersectionContext.js";
|
|
6
|
+
import { notify as a } from "../../lib/toast.js";
|
|
7
|
+
import { EmptyState as ie } from "../../components/EmptyState.js";
|
|
8
|
+
import { ErrorState as ae } from "../../components/ErrorState.js";
|
|
9
|
+
import { LoadingState as oe } from "../../components/LoadingState.js";
|
|
10
|
+
import { DiscussionPanel as se } from "../../components/DiscussionPanel.js";
|
|
11
|
+
import { PageLayout as ce } from "../../components/PageLayout.js";
|
|
12
|
+
import { Pagination as le, usePagination as ue } from "../../components/Pagination.js";
|
|
13
|
+
import { StatusBadge as o, formatEnumLabel as de } from "../../components/StatusBadge.js";
|
|
14
|
+
import { ASSISTANT_AWARE_DIALOG_CONTENT_PROPS as fe, ASSISTANT_AWARE_DIALOG_ROOT_PROPS as pe } from "../../lib/assistantAwareDialog.js";
|
|
15
15
|
import { useSelectedRecord as me } from "../../lib/useSelectedRecord.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { useMemo as
|
|
19
|
-
import { Fragment as
|
|
20
|
-
import { Button as
|
|
21
|
-
import { BookOpen as
|
|
22
|
-
|
|
23
|
-
var
|
|
16
|
+
import { useTrackRecentItem as he } from "../../lib/useTrackRecentItem.js";
|
|
17
|
+
import { useTr as ge } from "../../../shared/hooks/useTr.js";
|
|
18
|
+
import { useMemo as s, useState as c } from "react";
|
|
19
|
+
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
20
|
+
import { Button as f, Checkbox as _e, Dialog as p, DialogClose as ve, DialogContent as m, DialogDescription as h, DialogFooter as g, DialogHeader as ye, DialogTitle as be, Input as xe, Label as Se, Select as Ce, SelectContent as we, SelectItem as _, SelectTrigger as Te, SelectValue as Ee, Table as De, TableBody as Oe, TableCell as v, TableHead as y, TableHeader as ke, TableRow as b } from "@burdenoff/fe-libs/ui";
|
|
21
|
+
import { BookOpen as x, Database as Ae, ExternalLink as S, NotebookPen as je, Plus as Me, Rocket as C } from "lucide-react";
|
|
22
|
+
// src/cosmicintersection/pages/releases/ReleasesPage.tsx
|
|
23
|
+
var w = "ALL", Ne = [
|
|
24
24
|
"DRAFT",
|
|
25
25
|
"UNDER_REVIEW",
|
|
26
26
|
"PUBLISHED",
|
|
27
27
|
"RETRACTED"
|
|
28
28
|
];
|
|
29
|
-
function
|
|
29
|
+
function T(e) {
|
|
30
30
|
return e === "DRAFT" || e === "UNDER_REVIEW";
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function E(e) {
|
|
33
33
|
if (!e) return "—";
|
|
34
34
|
let t = new Date(e);
|
|
35
35
|
return Number.isNaN(t.getTime()) ? "—" : t.toLocaleDateString(void 0, {
|
|
@@ -38,419 +38,419 @@ function D(e) {
|
|
|
38
38
|
day: "numeric"
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function D(e) {
|
|
42
42
|
let t = e.trim();
|
|
43
43
|
return /^https?:\/\//i.test(t) ? t : `https://doi.org/${t.replace(/^doi:/i, "")}`;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
let { navigate:
|
|
45
|
+
function O() {
|
|
46
|
+
let { navigate: O } = re(), k = ge(), [A, Pe] = c(w), j = ue({
|
|
47
47
|
pageSize: 20,
|
|
48
|
-
resetKey:
|
|
49
|
-
}), { data:
|
|
50
|
-
status:
|
|
48
|
+
resetKey: A
|
|
49
|
+
}), { data: M, loading: N, error: P, refetch: F } = ne({
|
|
50
|
+
status: A === w ? void 0 : A,
|
|
51
51
|
pagination: {
|
|
52
|
-
limit:
|
|
53
|
-
offset:
|
|
52
|
+
limit: j.limit,
|
|
53
|
+
offset: j.offset
|
|
54
54
|
}
|
|
55
|
-
}), [
|
|
55
|
+
}), [Fe, { loading: I }] = ee(), [Ie, { loading: L }] = t(), R = s(() => M?.cosListReleases.items ?? [], [M]), Le = M?.cosListReleases.pageInfo, z = e({ pagination: {
|
|
56
56
|
limit: 100,
|
|
57
57
|
offset: 0
|
|
58
|
-
} }),
|
|
58
|
+
} }), B = n({ pagination: {
|
|
59
59
|
limit: 100,
|
|
60
60
|
offset: 0
|
|
61
|
-
} }),
|
|
61
|
+
} }), Re = s(() => {
|
|
62
62
|
let e = /* @__PURE__ */ new Map();
|
|
63
|
-
for (let t of
|
|
63
|
+
for (let t of z.data?.cosListDatasets.items ?? []) e.set(t.id, t.name);
|
|
64
64
|
return e;
|
|
65
|
-
}, [
|
|
65
|
+
}, [z.data]), V = s(() => {
|
|
66
66
|
let e = /* @__PURE__ */ new Map();
|
|
67
|
-
for (let t of
|
|
67
|
+
for (let t of B.data?.cosListNotebooks.items ?? []) e.set(t.id, t.title);
|
|
68
68
|
return e;
|
|
69
|
-
}, [
|
|
70
|
-
|
|
69
|
+
}, [B.data]), { selectedId: H, select: ze } = me(), U = s(() => H ? R.find((e) => e.id === H) ?? null : null, [R, H]), { data: Be } = te(H, { skip: U !== null || N || !M }), W = Be?.cosRelease ?? null, G = U ?? (W && W.id === H ? W : null), K = (e) => ze(e ? e.id : null);
|
|
70
|
+
he(G ? {
|
|
71
71
|
type: "release",
|
|
72
|
-
id:
|
|
73
|
-
name:
|
|
74
|
-
path: `releases?id=${encodeURIComponent(
|
|
72
|
+
id: G.id,
|
|
73
|
+
name: G.title,
|
|
74
|
+
path: `releases?id=${encodeURIComponent(G.id)}`
|
|
75
75
|
} : null);
|
|
76
|
-
let
|
|
77
|
-
|
|
78
|
-
}, [
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
if (!
|
|
82
|
-
let e =
|
|
83
|
-
id:
|
|
76
|
+
let q = (e) => {
|
|
77
|
+
K(null), O(e);
|
|
78
|
+
}, [J, Y] = c(null), [X, Z] = c(""), [Ve, He] = c(!0), Q = (e) => {
|
|
79
|
+
Z(e.doi ?? ""), He(!0), Y(e);
|
|
80
|
+
}, Ue = async () => {
|
|
81
|
+
if (!J) return;
|
|
82
|
+
let e = X.trim(), t = Ve && e.length === 0, n = await Fe({ variables: {
|
|
83
|
+
id: J.id,
|
|
84
84
|
doi: e || void 0,
|
|
85
85
|
mintDoi: t ? !0 : void 0
|
|
86
86
|
} });
|
|
87
|
-
if (
|
|
88
|
-
let e =
|
|
89
|
-
|
|
87
|
+
if (n.data?.cosPublishRelease?.id) {
|
|
88
|
+
let e = n.data.cosPublishRelease.doi;
|
|
89
|
+
a.success(k("cosmicintersection.pages.releases.publishSuccess", "Release published"), k("cosmicintersection.pages.releases.publishSuccessDescription", "“{{name}}” is now public.", { name: J.title })), t && !e && a.warning(k("cosmicintersection.pages.releases.doiMintFailedTitle", "DOI minting failed"), k("cosmicintersection.pages.releases.doiMintFailedDescription", "The release is published, but the automatic DOI registration did not complete. Retry from the release details.")), Y(null), Z(""), await F();
|
|
90
90
|
}
|
|
91
|
-
},
|
|
92
|
-
let t = (await
|
|
93
|
-
t && (t.state === "FINDABLE" && t.doi ?
|
|
91
|
+
}, We = async (e) => {
|
|
92
|
+
let t = (await Ie({ variables: { releaseId: e.id } })).data?.cosMintDoi;
|
|
93
|
+
t && (t.state === "FINDABLE" && t.doi ? a.success(k("cosmicintersection.pages.releases.doiMintedTitle", "DOI minted"), k("cosmicintersection.pages.releases.doiMintedDescription", "“{{name}}” is now registered as {{doi}}.", {
|
|
94
94
|
name: e.title,
|
|
95
95
|
doi: t.doi
|
|
96
|
-
})) :
|
|
97
|
-
},
|
|
96
|
+
})) : a.warning(k("cosmicintersection.pages.releases.doiMintFailedTitle", "DOI minting failed"), t.errorMessage ?? k("cosmicintersection.pages.releases.doiMintFailedDescription", "Retry later.")), await F());
|
|
97
|
+
}, $ = /* @__PURE__ */ d(f, {
|
|
98
98
|
type: "button",
|
|
99
|
-
onClick: () =>
|
|
100
|
-
children: [/* @__PURE__ */
|
|
99
|
+
onClick: () => O("releases/create"),
|
|
100
|
+
children: [/* @__PURE__ */ u(Me, { className: "size-4" }), k("cosmicintersection.pages.releases.create", "New release")]
|
|
101
101
|
});
|
|
102
|
-
return /* @__PURE__ */
|
|
103
|
-
title:
|
|
104
|
-
description:
|
|
105
|
-
actions:
|
|
102
|
+
return /* @__PURE__ */ d(ce, {
|
|
103
|
+
title: k("cosmicintersection.pages.releases.title", "Releases"),
|
|
104
|
+
description: k("cosmicintersection.pages.releases.description", "Citable, versioned publications that bundle datasets and notebooks for the community."),
|
|
105
|
+
actions: $,
|
|
106
106
|
children: [
|
|
107
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ d("div", {
|
|
108
108
|
className: "space-y-4",
|
|
109
|
-
children: [/* @__PURE__ */
|
|
109
|
+
children: [/* @__PURE__ */ u("div", {
|
|
110
110
|
className: "flex flex-wrap items-center gap-3",
|
|
111
|
-
children: /* @__PURE__ */
|
|
111
|
+
children: /* @__PURE__ */ u("div", {
|
|
112
112
|
className: "w-full max-w-[14rem]",
|
|
113
|
-
children: /* @__PURE__ */
|
|
114
|
-
value:
|
|
115
|
-
onValueChange:
|
|
116
|
-
children: [/* @__PURE__ */
|
|
113
|
+
children: /* @__PURE__ */ d(Ce, {
|
|
114
|
+
value: A,
|
|
115
|
+
onValueChange: Pe,
|
|
116
|
+
children: [/* @__PURE__ */ u(Te, {
|
|
117
117
|
"aria-label": "Filter by status",
|
|
118
|
-
children: /* @__PURE__ */
|
|
119
|
-
}), /* @__PURE__ */
|
|
120
|
-
value:
|
|
118
|
+
children: /* @__PURE__ */ u(Ee, { placeholder: "All statuses" })
|
|
119
|
+
}), /* @__PURE__ */ d(we, { children: [/* @__PURE__ */ u(_, {
|
|
120
|
+
value: w,
|
|
121
121
|
children: "All statuses"
|
|
122
|
-
}),
|
|
122
|
+
}), Ne.map((e) => /* @__PURE__ */ u(_, {
|
|
123
123
|
value: e,
|
|
124
|
-
children:
|
|
124
|
+
children: de(e)
|
|
125
125
|
}, e))] })]
|
|
126
126
|
})
|
|
127
127
|
})
|
|
128
128
|
}), (() => {
|
|
129
|
-
if (
|
|
129
|
+
if (N) return /* @__PURE__ */ u(oe, {
|
|
130
130
|
variant: "rows",
|
|
131
131
|
rows: 6,
|
|
132
|
-
label:
|
|
132
|
+
label: k("cosmicintersection.pages.releases.loading", "Loading releases…")
|
|
133
133
|
});
|
|
134
|
-
if (
|
|
135
|
-
message:
|
|
136
|
-
onRetry: () => void
|
|
134
|
+
if (P) return /* @__PURE__ */ u(ae, {
|
|
135
|
+
message: P.message,
|
|
136
|
+
onRetry: () => void F()
|
|
137
137
|
});
|
|
138
|
-
if (
|
|
139
|
-
let e =
|
|
140
|
-
return /* @__PURE__ */
|
|
141
|
-
icon:
|
|
142
|
-
title: e ?
|
|
143
|
-
description: e ?
|
|
144
|
-
action: e ? void 0 :
|
|
138
|
+
if (R.length === 0) {
|
|
139
|
+
let e = A !== w;
|
|
140
|
+
return /* @__PURE__ */ u(ie, {
|
|
141
|
+
icon: C,
|
|
142
|
+
title: e ? k("cosmicintersection.pages.releases.emptyFilterTitle", "No releases match this filter") : k("cosmicintersection.pages.releases.emptyTitle", "No releases yet"),
|
|
143
|
+
description: e ? k("cosmicintersection.pages.releases.emptyFilterDescription", "Try clearing the status filter to see more releases.") : k("cosmicintersection.pages.releases.emptyDescription", "Package datasets and notebooks into a citable, versioned release for publication."),
|
|
144
|
+
action: e ? void 0 : $
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
return /* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
147
|
+
return /* @__PURE__ */ d(l, { children: [
|
|
148
|
+
/* @__PURE__ */ u("div", {
|
|
149
149
|
className: "hidden rounded-card border border-border-default bg-bg-elevated md:block",
|
|
150
|
-
children: /* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
150
|
+
children: /* @__PURE__ */ d(De, { children: [/* @__PURE__ */ u(ke, { children: /* @__PURE__ */ d(b, { children: [
|
|
151
|
+
/* @__PURE__ */ u(y, { children: "Title" }),
|
|
152
|
+
/* @__PURE__ */ u(y, { children: "Version" }),
|
|
153
|
+
/* @__PURE__ */ u(y, { children: "Status" }),
|
|
154
|
+
/* @__PURE__ */ u(y, { children: "DOI" }),
|
|
155
|
+
/* @__PURE__ */ u(y, { children: "Authors" }),
|
|
156
|
+
/* @__PURE__ */ u(y, { children: "Published" }),
|
|
157
|
+
/* @__PURE__ */ u(y, { children: "License" }),
|
|
158
|
+
/* @__PURE__ */ u(y, {
|
|
159
159
|
className: "text-right",
|
|
160
160
|
children: "Actions"
|
|
161
161
|
})
|
|
162
|
-
] }) }), /* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */
|
|
162
|
+
] }) }), /* @__PURE__ */ u(Oe, { children: R.map((e) => /* @__PURE__ */ d(b, { children: [
|
|
163
|
+
/* @__PURE__ */ u(v, { children: /* @__PURE__ */ u("button", {
|
|
164
164
|
type: "button",
|
|
165
|
-
onClick: () =>
|
|
165
|
+
onClick: () => K(e),
|
|
166
166
|
className: "text-left font-medium text-text-primary underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus",
|
|
167
167
|
children: e.title
|
|
168
168
|
}) }),
|
|
169
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ u(v, {
|
|
170
170
|
className: "whitespace-nowrap text-sm text-text-secondary",
|
|
171
171
|
children: e.version || "—"
|
|
172
172
|
}),
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ u(v, { children: /* @__PURE__ */ u(o, { status: e.status }) }),
|
|
174
|
+
/* @__PURE__ */ u(v, {
|
|
175
175
|
className: "max-w-[14rem]",
|
|
176
|
-
children: e.doi ? /* @__PURE__ */
|
|
177
|
-
href:
|
|
176
|
+
children: e.doi ? /* @__PURE__ */ d(r, {
|
|
177
|
+
href: D(e.doi),
|
|
178
178
|
className: "inline-flex items-center gap-1 truncate text-sm text-text-primary underline-offset-2 hover:underline",
|
|
179
179
|
fallbackClassName: "block truncate text-sm text-text-secondary",
|
|
180
|
-
children: [/* @__PURE__ */
|
|
180
|
+
children: [/* @__PURE__ */ u("span", {
|
|
181
181
|
className: "truncate",
|
|
182
182
|
children: e.doi
|
|
183
|
-
}), /* @__PURE__ */
|
|
183
|
+
}), /* @__PURE__ */ u(S, {
|
|
184
184
|
className: "size-3.5 shrink-0",
|
|
185
185
|
"aria-hidden": "true"
|
|
186
186
|
})]
|
|
187
|
-
}) : /* @__PURE__ */
|
|
187
|
+
}) : /* @__PURE__ */ u("span", {
|
|
188
188
|
className: "text-sm text-text-secondary",
|
|
189
189
|
children: "—"
|
|
190
190
|
})
|
|
191
191
|
}),
|
|
192
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ u(v, {
|
|
193
193
|
className: "max-w-[14rem]",
|
|
194
|
-
children: e.authors.length === 0 ? /* @__PURE__ */
|
|
194
|
+
children: e.authors.length === 0 ? /* @__PURE__ */ u("span", {
|
|
195
195
|
className: "text-sm text-text-secondary",
|
|
196
196
|
children: "—"
|
|
197
|
-
}) : /* @__PURE__ */
|
|
197
|
+
}) : /* @__PURE__ */ u("span", {
|
|
198
198
|
className: "line-clamp-1 text-sm text-text-secondary",
|
|
199
199
|
children: e.authors.join(", ")
|
|
200
200
|
})
|
|
201
201
|
}),
|
|
202
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ u(v, {
|
|
203
203
|
className: "whitespace-nowrap text-sm text-text-secondary",
|
|
204
|
-
children:
|
|
204
|
+
children: E(e.publishedAt)
|
|
205
205
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ u(v, {
|
|
207
207
|
className: "whitespace-nowrap text-sm text-text-secondary",
|
|
208
208
|
children: e.license || "—"
|
|
209
209
|
}),
|
|
210
|
-
/* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ u(v, {
|
|
211
211
|
className: "text-right",
|
|
212
|
-
children: /* @__PURE__ */
|
|
212
|
+
children: /* @__PURE__ */ u(i, {
|
|
213
213
|
ariaLabel: `Actions for ${e.title}`,
|
|
214
|
-
onView: () =>
|
|
215
|
-
extraItems:
|
|
214
|
+
onView: () => K(e),
|
|
215
|
+
extraItems: T(e.status) ? [{
|
|
216
216
|
key: "publish",
|
|
217
|
-
label:
|
|
218
|
-
icon:
|
|
219
|
-
onSelect: () =>
|
|
217
|
+
label: k("cosmicintersection.pages.releases.publish", "Publish"),
|
|
218
|
+
icon: C,
|
|
219
|
+
onSelect: () => Q(e)
|
|
220
220
|
}] : []
|
|
221
221
|
})
|
|
222
222
|
})
|
|
223
223
|
] }, e.id)) })] })
|
|
224
224
|
}),
|
|
225
|
-
/* @__PURE__ */
|
|
225
|
+
/* @__PURE__ */ u("ul", {
|
|
226
226
|
className: "space-y-3 md:hidden",
|
|
227
|
-
children:
|
|
227
|
+
children: R.map((e) => /* @__PURE__ */ u("li", {
|
|
228
228
|
className: "rounded-card border border-border-default bg-bg-elevated",
|
|
229
|
-
children: /* @__PURE__ */
|
|
229
|
+
children: /* @__PURE__ */ d("div", {
|
|
230
230
|
className: "flex items-start justify-between gap-2 p-4",
|
|
231
|
-
children: [/* @__PURE__ */
|
|
231
|
+
children: [/* @__PURE__ */ d("div", {
|
|
232
232
|
className: "min-w-0 flex-1 space-y-2",
|
|
233
233
|
children: [
|
|
234
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ d("div", {
|
|
235
235
|
className: "flex flex-wrap items-center gap-2",
|
|
236
|
-
children: [/* @__PURE__ */
|
|
236
|
+
children: [/* @__PURE__ */ u("button", {
|
|
237
237
|
type: "button",
|
|
238
|
-
onClick: () =>
|
|
238
|
+
onClick: () => K(e),
|
|
239
239
|
className: "truncate text-left font-medium text-text-primary underline-offset-2 hover:underline",
|
|
240
240
|
children: e.title
|
|
241
|
-
}), /* @__PURE__ */
|
|
241
|
+
}), /* @__PURE__ */ u(o, { status: e.status })]
|
|
242
242
|
}),
|
|
243
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ d("div", {
|
|
244
244
|
className: "flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-text-secondary",
|
|
245
245
|
children: [
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
e.license ? /* @__PURE__ */
|
|
248
|
-
/* @__PURE__ */
|
|
246
|
+
/* @__PURE__ */ u("span", { children: e.version || "v—" }),
|
|
247
|
+
e.license ? /* @__PURE__ */ u("span", { children: e.license }) : null,
|
|
248
|
+
/* @__PURE__ */ u("span", { children: E(e.publishedAt) })
|
|
249
249
|
]
|
|
250
250
|
}),
|
|
251
|
-
e.authors.length > 0 ? /* @__PURE__ */
|
|
251
|
+
e.authors.length > 0 ? /* @__PURE__ */ u("p", {
|
|
252
252
|
className: "line-clamp-1 text-xs text-text-secondary",
|
|
253
253
|
children: e.authors.join(", ")
|
|
254
254
|
}) : null,
|
|
255
|
-
e.doi ? /* @__PURE__ */
|
|
256
|
-
href:
|
|
255
|
+
e.doi ? /* @__PURE__ */ d(r, {
|
|
256
|
+
href: D(e.doi),
|
|
257
257
|
className: "inline-flex items-center gap-1 text-xs text-text-primary underline-offset-2 hover:underline",
|
|
258
258
|
fallbackClassName: "block truncate text-xs text-text-secondary",
|
|
259
|
-
children: [/* @__PURE__ */
|
|
259
|
+
children: [/* @__PURE__ */ d("span", {
|
|
260
260
|
className: "truncate",
|
|
261
261
|
children: ["DOI: ", e.doi]
|
|
262
|
-
}), /* @__PURE__ */
|
|
262
|
+
}), /* @__PURE__ */ u(S, {
|
|
263
263
|
className: "size-3 shrink-0",
|
|
264
264
|
"aria-hidden": "true"
|
|
265
265
|
})]
|
|
266
266
|
}) : null
|
|
267
267
|
]
|
|
268
|
-
}), /* @__PURE__ */
|
|
268
|
+
}), /* @__PURE__ */ u(i, {
|
|
269
269
|
ariaLabel: `Actions for ${e.title}`,
|
|
270
|
-
onView: () =>
|
|
271
|
-
extraItems:
|
|
270
|
+
onView: () => K(e),
|
|
271
|
+
extraItems: T(e.status) ? [{
|
|
272
272
|
key: "publish",
|
|
273
|
-
label:
|
|
274
|
-
icon:
|
|
275
|
-
onSelect: () =>
|
|
273
|
+
label: k("cosmicintersection.pages.releases.publish", "Publish"),
|
|
274
|
+
icon: C,
|
|
275
|
+
onSelect: () => Q(e)
|
|
276
276
|
}] : []
|
|
277
277
|
})]
|
|
278
278
|
})
|
|
279
279
|
}, e.id))
|
|
280
280
|
}),
|
|
281
|
-
/* @__PURE__ */
|
|
282
|
-
offset:
|
|
283
|
-
limit:
|
|
284
|
-
loadedCount:
|
|
285
|
-
hasMore:
|
|
286
|
-
onPrev:
|
|
287
|
-
onNext:
|
|
288
|
-
itemLabel:
|
|
289
|
-
loading:
|
|
281
|
+
/* @__PURE__ */ u(le, {
|
|
282
|
+
offset: j.offset,
|
|
283
|
+
limit: j.limit,
|
|
284
|
+
loadedCount: R.length,
|
|
285
|
+
hasMore: Le?.hasMore ?? !1,
|
|
286
|
+
onPrev: j.prevPage,
|
|
287
|
+
onNext: j.nextPage,
|
|
288
|
+
itemLabel: k("cosmicintersection.pages.releases.itemLabel", "releases"),
|
|
289
|
+
loading: N
|
|
290
290
|
})
|
|
291
291
|
] });
|
|
292
292
|
})()]
|
|
293
293
|
}),
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
...
|
|
296
|
-
open:
|
|
297
|
-
onOpenChange: (e) => e ? void 0 :
|
|
298
|
-
children: /* @__PURE__ */
|
|
299
|
-
...
|
|
294
|
+
/* @__PURE__ */ u(p, {
|
|
295
|
+
...pe,
|
|
296
|
+
open: G !== null,
|
|
297
|
+
onOpenChange: (e) => e ? void 0 : K(null),
|
|
298
|
+
children: /* @__PURE__ */ u(m, {
|
|
299
|
+
...fe,
|
|
300
300
|
className: "max-h-[85vh] max-w-lg overflow-y-auto",
|
|
301
|
-
children:
|
|
302
|
-
/* @__PURE__ */
|
|
301
|
+
children: G ? /* @__PURE__ */ d(l, { children: [
|
|
302
|
+
/* @__PURE__ */ d(ye, { children: [/* @__PURE__ */ d(be, {
|
|
303
303
|
className: "flex items-center gap-2",
|
|
304
|
-
children: [/* @__PURE__ */
|
|
304
|
+
children: [/* @__PURE__ */ u(x, {
|
|
305
305
|
className: "size-5 text-text-secondary",
|
|
306
306
|
"aria-hidden": "true"
|
|
307
|
-
}),
|
|
308
|
-
}), /* @__PURE__ */
|
|
307
|
+
}), G.title]
|
|
308
|
+
}), /* @__PURE__ */ d(h, { children: [
|
|
309
309
|
"Version ",
|
|
310
|
-
|
|
310
|
+
G.version || "—",
|
|
311
311
|
" · ",
|
|
312
|
-
/* @__PURE__ */
|
|
312
|
+
/* @__PURE__ */ u(o, { status: G.status })
|
|
313
313
|
] })] }),
|
|
314
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ d("div", {
|
|
315
315
|
className: "space-y-4 text-sm",
|
|
316
316
|
children: [
|
|
317
|
-
/* @__PURE__ */
|
|
317
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
318
318
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
319
319
|
children: "Abstract"
|
|
320
|
-
}), /* @__PURE__ */
|
|
320
|
+
}), /* @__PURE__ */ u("p", {
|
|
321
321
|
className: "mt-1 whitespace-pre-wrap text-text-primary",
|
|
322
|
-
children:
|
|
322
|
+
children: G.abstract?.trim() || "No abstract provided."
|
|
323
323
|
})] }),
|
|
324
|
-
/* @__PURE__ */
|
|
324
|
+
/* @__PURE__ */ d("div", {
|
|
325
325
|
className: "grid grid-cols-2 gap-4",
|
|
326
326
|
children: [
|
|
327
|
-
/* @__PURE__ */
|
|
327
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
328
328
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
329
329
|
children: "Authors"
|
|
330
|
-
}), /* @__PURE__ */
|
|
330
|
+
}), /* @__PURE__ */ u("p", {
|
|
331
331
|
className: "mt-1 text-text-primary",
|
|
332
|
-
children:
|
|
332
|
+
children: G.authors.length ? G.authors.join(", ") : "—"
|
|
333
333
|
})] }),
|
|
334
|
-
/* @__PURE__ */
|
|
334
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
335
335
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
336
336
|
children: "License"
|
|
337
|
-
}), /* @__PURE__ */
|
|
337
|
+
}), /* @__PURE__ */ u("p", {
|
|
338
338
|
className: "mt-1 text-text-primary",
|
|
339
|
-
children:
|
|
339
|
+
children: G.license || "—"
|
|
340
340
|
})] }),
|
|
341
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
342
342
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
343
343
|
children: "Published"
|
|
344
|
-
}), /* @__PURE__ */
|
|
344
|
+
}), /* @__PURE__ */ u("p", {
|
|
345
345
|
className: "mt-1 text-text-primary",
|
|
346
|
-
children:
|
|
346
|
+
children: E(G.publishedAt)
|
|
347
347
|
})] }),
|
|
348
|
-
/* @__PURE__ */
|
|
348
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
349
349
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
350
350
|
children: "DOI"
|
|
351
|
-
}), /* @__PURE__ */
|
|
351
|
+
}), /* @__PURE__ */ u("p", {
|
|
352
352
|
className: "mt-1",
|
|
353
|
-
children:
|
|
354
|
-
href:
|
|
353
|
+
children: G.doi ? /* @__PURE__ */ d(r, {
|
|
354
|
+
href: D(G.doi),
|
|
355
355
|
className: "inline-flex items-center gap-1 text-text-primary underline-offset-2 hover:underline",
|
|
356
356
|
fallbackClassName: "text-text-secondary",
|
|
357
|
-
children: [
|
|
357
|
+
children: [G.doi, /* @__PURE__ */ u(S, {
|
|
358
358
|
className: "size-3.5",
|
|
359
359
|
"aria-hidden": "true"
|
|
360
360
|
})]
|
|
361
|
-
}) : /* @__PURE__ */
|
|
361
|
+
}) : /* @__PURE__ */ u("span", {
|
|
362
362
|
className: "text-text-secondary",
|
|
363
363
|
children: "Not assigned"
|
|
364
364
|
})
|
|
365
365
|
})] })
|
|
366
366
|
]
|
|
367
367
|
}),
|
|
368
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ d("p", {
|
|
369
369
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
370
370
|
children: [
|
|
371
371
|
"Datasets (",
|
|
372
|
-
|
|
372
|
+
G.datasetIds.length,
|
|
373
373
|
")"
|
|
374
374
|
]
|
|
375
|
-
}), /* @__PURE__ */
|
|
375
|
+
}), /* @__PURE__ */ u("div", {
|
|
376
376
|
className: "mt-1 flex flex-wrap gap-1.5",
|
|
377
|
-
children:
|
|
377
|
+
children: G.datasetIds.length === 0 ? /* @__PURE__ */ u("span", {
|
|
378
378
|
className: "text-text-secondary",
|
|
379
379
|
children: "None linked."
|
|
380
|
-
}) :
|
|
381
|
-
let t =
|
|
382
|
-
return /* @__PURE__ */
|
|
380
|
+
}) : G.datasetIds.map((e) => {
|
|
381
|
+
let t = Re.get(e);
|
|
382
|
+
return /* @__PURE__ */ d(f, {
|
|
383
383
|
type: "button",
|
|
384
384
|
variant: "outline",
|
|
385
385
|
size: "sm",
|
|
386
386
|
className: "h-auto gap-1 px-2 py-1",
|
|
387
|
-
onClick: () =>
|
|
388
|
-
children: [/* @__PURE__ */
|
|
387
|
+
onClick: () => q(`datasets/${e}`),
|
|
388
|
+
children: [/* @__PURE__ */ u(Ae, {
|
|
389
389
|
className: "size-3.5",
|
|
390
390
|
"aria-hidden": "true"
|
|
391
|
-
}), /* @__PURE__ */
|
|
391
|
+
}), /* @__PURE__ */ u("span", {
|
|
392
392
|
className: t ? "" : "font-mono text-xs",
|
|
393
393
|
children: t ?? e
|
|
394
394
|
})]
|
|
395
395
|
}, e);
|
|
396
396
|
})
|
|
397
397
|
})] }),
|
|
398
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
399
399
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
400
400
|
children: "Notebook"
|
|
401
|
-
}), /* @__PURE__ */
|
|
401
|
+
}), /* @__PURE__ */ u("div", {
|
|
402
402
|
className: "mt-1",
|
|
403
|
-
children:
|
|
403
|
+
children: G.notebookId ? /* @__PURE__ */ d(f, {
|
|
404
404
|
type: "button",
|
|
405
405
|
variant: "outline",
|
|
406
406
|
size: "sm",
|
|
407
407
|
className: "h-auto gap-1 px-2 py-1",
|
|
408
|
-
onClick: () =>
|
|
409
|
-
children: [/* @__PURE__ */
|
|
408
|
+
onClick: () => q(`notebooks/${G.notebookId}`),
|
|
409
|
+
children: [/* @__PURE__ */ u(je, {
|
|
410
410
|
className: "size-3.5",
|
|
411
411
|
"aria-hidden": "true"
|
|
412
|
-
}), /* @__PURE__ */
|
|
413
|
-
className:
|
|
414
|
-
children:
|
|
412
|
+
}), /* @__PURE__ */ u("span", {
|
|
413
|
+
className: V.get(G.notebookId) ? "" : "font-mono text-xs",
|
|
414
|
+
children: V.get(G.notebookId) ?? G.notebookId
|
|
415
415
|
})]
|
|
416
|
-
}) : /* @__PURE__ */
|
|
416
|
+
}) : /* @__PURE__ */ u("span", {
|
|
417
417
|
className: "text-text-secondary",
|
|
418
418
|
children: "None linked."
|
|
419
419
|
})
|
|
420
420
|
})] }),
|
|
421
|
-
/* @__PURE__ */
|
|
421
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
422
422
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
423
423
|
children: "Discussion"
|
|
424
|
-
}), /* @__PURE__ */
|
|
424
|
+
}), /* @__PURE__ */ u("div", {
|
|
425
425
|
className: "mt-2",
|
|
426
|
-
children: /* @__PURE__ */
|
|
426
|
+
children: /* @__PURE__ */ u(se, {
|
|
427
427
|
entityType: "cosmicintersection-release",
|
|
428
|
-
entityId:
|
|
429
|
-
title:
|
|
428
|
+
entityId: G.id,
|
|
429
|
+
title: G.title,
|
|
430
430
|
widgetKey: "release-discussion"
|
|
431
431
|
})
|
|
432
432
|
})] })
|
|
433
433
|
]
|
|
434
434
|
}),
|
|
435
|
-
/* @__PURE__ */
|
|
436
|
-
|
|
435
|
+
/* @__PURE__ */ d(g, { children: [
|
|
436
|
+
T(G.status) ? /* @__PURE__ */ d(f, {
|
|
437
437
|
type: "button",
|
|
438
438
|
onClick: () => {
|
|
439
|
-
let e =
|
|
440
|
-
|
|
439
|
+
let e = G;
|
|
440
|
+
K(null), Q(e);
|
|
441
441
|
},
|
|
442
|
-
children: [/* @__PURE__ */
|
|
442
|
+
children: [/* @__PURE__ */ u(C, { className: "size-4" }), "Publish"]
|
|
443
443
|
}) : null,
|
|
444
|
-
|
|
444
|
+
G.status === "PUBLISHED" && !G.doi ? /* @__PURE__ */ d(f, {
|
|
445
445
|
type: "button",
|
|
446
446
|
variant: "outline",
|
|
447
|
-
disabled:
|
|
448
|
-
onClick: () => void
|
|
449
|
-
children: [/* @__PURE__ */
|
|
447
|
+
disabled: L,
|
|
448
|
+
onClick: () => void We(G),
|
|
449
|
+
children: [/* @__PURE__ */ u(x, { className: "size-4" }), L ? k("cosmicintersection.pages.releases.mintingDoi", "Minting DOI…") : k("cosmicintersection.pages.releases.mintDoi", "Mint DOI")]
|
|
450
450
|
}) : null,
|
|
451
|
-
/* @__PURE__ */
|
|
451
|
+
/* @__PURE__ */ u(ve, {
|
|
452
452
|
asChild: !0,
|
|
453
|
-
children: /* @__PURE__ */
|
|
453
|
+
children: /* @__PURE__ */ u(f, {
|
|
454
454
|
type: "button",
|
|
455
455
|
variant: "outline",
|
|
456
456
|
children: "Close"
|
|
@@ -460,91 +460,91 @@ function k() {
|
|
|
460
460
|
] }) : null
|
|
461
461
|
})
|
|
462
462
|
}),
|
|
463
|
-
/* @__PURE__ */
|
|
464
|
-
open:
|
|
465
|
-
onOpenChange: (e) => e ||
|
|
466
|
-
children: /* @__PURE__ */
|
|
463
|
+
/* @__PURE__ */ u(p, {
|
|
464
|
+
open: J !== null,
|
|
465
|
+
onOpenChange: (e) => e || I ? void 0 : Y(null),
|
|
466
|
+
children: /* @__PURE__ */ d(m, {
|
|
467
467
|
className: "max-w-md",
|
|
468
468
|
children: [
|
|
469
|
-
/* @__PURE__ */
|
|
470
|
-
|
|
469
|
+
/* @__PURE__ */ d(ye, { children: [/* @__PURE__ */ u(be, { children: k("cosmicintersection.pages.releases.publishRelease", "Publish release") }), /* @__PURE__ */ u(h, { children: J ? k("cosmicintersection.pages.releases.publishDescription", "Publish “{{name}}” to make it publicly citable. You can attach a DOI now or later.", { name: J.title }) : "" })] }),
|
|
470
|
+
J ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("p", {
|
|
471
471
|
className: "rounded-card border border-status-warning-border bg-status-warning-bg-subtle px-3 py-2 text-sm text-status-warning-text",
|
|
472
|
-
children:
|
|
473
|
-
}), /* @__PURE__ */
|
|
472
|
+
children: k("cosmicintersection.pages.releases.publishIrreversible", "Publishing is irreversible: it mints a persistent identifier for this release. An agent can draft a release, but only you can publish it.")
|
|
473
|
+
}), /* @__PURE__ */ d("dl", {
|
|
474
474
|
className: "grid grid-cols-3 gap-x-4 gap-y-3 rounded-card border border-border-default bg-bg-sunken p-3",
|
|
475
475
|
children: [
|
|
476
|
-
/* @__PURE__ */
|
|
476
|
+
/* @__PURE__ */ d("div", {
|
|
477
477
|
className: "col-span-2 min-w-0",
|
|
478
|
-
children: [/* @__PURE__ */
|
|
478
|
+
children: [/* @__PURE__ */ u("dt", {
|
|
479
479
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
480
480
|
children: "Authors"
|
|
481
|
-
}), /* @__PURE__ */
|
|
481
|
+
}), /* @__PURE__ */ u("dd", {
|
|
482
482
|
className: "mt-0.5 truncate text-sm text-text-primary",
|
|
483
|
-
title:
|
|
484
|
-
children:
|
|
483
|
+
title: J.authors.join(", "),
|
|
484
|
+
children: J.authors.length ? J.authors.join(", ") : "—"
|
|
485
485
|
})]
|
|
486
486
|
}),
|
|
487
|
-
/* @__PURE__ */
|
|
487
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("dt", {
|
|
488
488
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
489
489
|
children: "Datasets"
|
|
490
|
-
}), /* @__PURE__ */
|
|
490
|
+
}), /* @__PURE__ */ u("dd", {
|
|
491
491
|
className: "mt-0.5 text-sm tabular-nums text-text-primary",
|
|
492
|
-
children:
|
|
492
|
+
children: J.datasetIds.length
|
|
493
493
|
})] }),
|
|
494
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ d("div", {
|
|
495
495
|
className: "col-span-3 min-w-0",
|
|
496
|
-
children: [/* @__PURE__ */
|
|
496
|
+
children: [/* @__PURE__ */ u("dt", {
|
|
497
497
|
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
498
498
|
children: "License"
|
|
499
|
-
}), /* @__PURE__ */
|
|
499
|
+
}), /* @__PURE__ */ u("dd", {
|
|
500
500
|
className: "mt-0.5 truncate text-sm text-text-primary",
|
|
501
|
-
children:
|
|
501
|
+
children: J.license || "—"
|
|
502
502
|
})]
|
|
503
503
|
})
|
|
504
504
|
]
|
|
505
505
|
})] }) : null,
|
|
506
|
-
/* @__PURE__ */
|
|
506
|
+
/* @__PURE__ */ d("div", {
|
|
507
507
|
className: "space-y-2",
|
|
508
508
|
children: [
|
|
509
|
-
/* @__PURE__ */
|
|
509
|
+
/* @__PURE__ */ u(Se, {
|
|
510
510
|
htmlFor: "release-doi",
|
|
511
|
-
children:
|
|
511
|
+
children: k("cosmicintersection.pages.releases.doiOptional", "DOI (optional)")
|
|
512
512
|
}),
|
|
513
|
-
/* @__PURE__ */
|
|
513
|
+
/* @__PURE__ */ u(xe, {
|
|
514
514
|
id: "release-doi",
|
|
515
|
-
value:
|
|
516
|
-
onChange: (e) =>
|
|
515
|
+
value: X,
|
|
516
|
+
onChange: (e) => Z(e.target.value),
|
|
517
517
|
placeholder: "10.1234/cosmic.2026.0001"
|
|
518
518
|
}),
|
|
519
|
-
/* @__PURE__ */
|
|
519
|
+
/* @__PURE__ */ u("p", {
|
|
520
520
|
className: "text-xs text-text-secondary",
|
|
521
|
-
children:
|
|
521
|
+
children: k("cosmicintersection.pages.releases.doiHint", "A Digital Object Identifier makes the release permanently referenceable.")
|
|
522
522
|
}),
|
|
523
|
-
/* @__PURE__ */
|
|
523
|
+
/* @__PURE__ */ d("label", {
|
|
524
524
|
className: "flex items-center gap-2 text-sm text-text-primary",
|
|
525
|
-
children: [/* @__PURE__ */
|
|
526
|
-
checked:
|
|
527
|
-
disabled:
|
|
528
|
-
onCheckedChange: (e) =>
|
|
529
|
-
}),
|
|
525
|
+
children: [/* @__PURE__ */ u(_e, {
|
|
526
|
+
checked: Ve && X.trim().length === 0,
|
|
527
|
+
disabled: X.trim().length > 0,
|
|
528
|
+
onCheckedChange: (e) => He(e === !0)
|
|
529
|
+
}), k("cosmicintersection.pages.releases.autoMintDoi", "Mint a DOI automatically on publish")]
|
|
530
530
|
}),
|
|
531
|
-
/* @__PURE__ */
|
|
531
|
+
/* @__PURE__ */ u("p", {
|
|
532
532
|
className: "text-xs text-text-secondary",
|
|
533
|
-
children:
|
|
533
|
+
children: k("cosmicintersection.pages.releases.autoMintDoiHint", "Registers the release with a DataCite-minted DOI — no manual identifier needed.")
|
|
534
534
|
})
|
|
535
535
|
]
|
|
536
536
|
}),
|
|
537
|
-
/* @__PURE__ */
|
|
537
|
+
/* @__PURE__ */ d(g, { children: [/* @__PURE__ */ u(f, {
|
|
538
538
|
type: "button",
|
|
539
539
|
variant: "outline",
|
|
540
|
-
onClick: () =>
|
|
541
|
-
disabled:
|
|
542
|
-
children:
|
|
543
|
-
}), /* @__PURE__ */
|
|
540
|
+
onClick: () => Y(null),
|
|
541
|
+
disabled: I,
|
|
542
|
+
children: k("cosmicintersection.common.cancel", "Cancel")
|
|
543
|
+
}), /* @__PURE__ */ d(f, {
|
|
544
544
|
type: "button",
|
|
545
|
-
onClick: () => void
|
|
546
|
-
disabled:
|
|
547
|
-
children: [/* @__PURE__ */
|
|
545
|
+
onClick: () => void Ue(),
|
|
546
|
+
disabled: I,
|
|
547
|
+
children: [/* @__PURE__ */ u(C, { className: "size-4" }), I ? k("cosmicintersection.pages.releases.publishing", "Publishing…") : k("cosmicintersection.pages.releases.publishRelease", "Publish release")]
|
|
548
548
|
})] })
|
|
549
549
|
]
|
|
550
550
|
})
|
|
@@ -552,7 +552,6 @@ function k() {
|
|
|
552
552
|
]
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
|
-
|
|
556
|
-
export { k as default };
|
|
555
|
+
export { O as default };
|
|
557
556
|
|
|
558
557
|
//# sourceMappingURL=ReleasesPage.js.map
|