@burdenoff/microfe-cosmicintersection 2026.1109.7 → 2026.1110.2
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 +36 -33
- package/dist/cosmicintersection/CosmicIntersectionRoutes.js.map +1 -1
- package/dist/cosmicintersection/api/cosmicApi.d.ts +86 -1
- package/dist/cosmicintersection/api/cosmicApi.js +70 -14
- 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 +0 -1
- package/dist/cosmicintersection/components/FileUploadField.js +1 -2
- 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/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 +259 -260
- package/dist/cosmicintersection/pages/analyses/AnalysesPage.js.map +1 -1
- package/dist/cosmicintersection/pages/archive/ArchivePage.d.ts +2 -0
- package/dist/cosmicintersection/pages/archive/ArchivePage.js +256 -0
- package/dist/cosmicintersection/pages/archive/ArchivePage.js.map +1 -0
- 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 +22 -23
- 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 +50 -48
- 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 +155 -85
- 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/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,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SafeLink as
|
|
3
|
-
import { notify as n } from "../../lib/toast.js";
|
|
4
|
-
import { useCosArchiveSourceMutation as r, useCosMarkSourceSyncedMutation as i, useCosSourcesQuery as a } from "../../api/cosmicApi.js";
|
|
5
|
-
import { useTr as o } from "../../../shared/hooks/useTr.js";
|
|
6
|
-
import { ActionMenu as s } from "../../components/ActionMenu.js";
|
|
7
|
-
import { EmptyState as ee } from "../../components/EmptyState.js";
|
|
8
|
-
import { ErrorState as c } from "../../components/ErrorState.js";
|
|
9
|
-
import { LoadingState as l } from "../../components/LoadingState.js";
|
|
10
|
-
import { PageLayout as u } from "../../components/PageLayout.js";
|
|
11
|
-
import { Pagination as d, usePagination as f } from "../../components/Pagination.js";
|
|
12
|
-
import { StatusBadge as p, formatEnumLabel as m } from "../../components/StatusBadge.js";
|
|
1
|
+
import { useCosArchiveSourceMutation as e, useCosMarkSourceSyncedMutation as t, useCosSourcesQuery as n } from "../../api/cosmicApi.js";
|
|
2
|
+
import { SafeLink as r } from "../../components/SafeLink.js";
|
|
13
3
|
import "../../components/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
4
|
+
import { useCosmicIntersection as ee } from "../../context/CosmicIntersectionContext.js";
|
|
5
|
+
import { notify as i } from "../../lib/toast.js";
|
|
6
|
+
import { ActionMenu as a } from "../../components/ActionMenu.js";
|
|
7
|
+
import { EmptyState as o } from "../../components/EmptyState.js";
|
|
8
|
+
import { ErrorState as s } from "../../components/ErrorState.js";
|
|
9
|
+
import { LoadingState as c } from "../../components/LoadingState.js";
|
|
10
|
+
import { PageLayout as l } from "../../components/PageLayout.js";
|
|
11
|
+
import { Pagination as u, usePagination as d } from "../../components/Pagination.js";
|
|
12
|
+
import { StatusBadge as f, formatEnumLabel as p } from "../../components/StatusBadge.js";
|
|
13
|
+
import { useTr as te } from "../../../shared/hooks/useTr.js";
|
|
14
|
+
import { useMemo as ne, useState as m } from "react";
|
|
15
|
+
import { Fragment as re, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
16
|
+
import { Badge as _, Button as v, Select as y, SelectContent as b, SelectItem as x, SelectTrigger as S, SelectValue as C, Table as w, TableBody as T, TableCell as E, TableHead as D, TableHeader as O, TableRow as k } from "@burdenoff/fe-libs/ui";
|
|
17
|
+
import { Archive as A, FileInput as j, FlaskConical as M, Plus as N, Radio as P, RadioTower as F, RefreshCw as I, Satellite as L, Telescope as R, Webhook as z } from "lucide-react";
|
|
18
|
+
// src/cosmicintersection/pages/sources/SourcesPage.tsx
|
|
19
19
|
var B = "ALL", V = [
|
|
20
20
|
"TELESCOPE",
|
|
21
21
|
"SATELLITE",
|
|
@@ -36,11 +36,11 @@ var B = "ALL", V = [
|
|
|
36
36
|
TELESCOPE: R,
|
|
37
37
|
SATELLITE: L,
|
|
38
38
|
GROUND_SENSOR: F,
|
|
39
|
-
ARCHIVE:
|
|
39
|
+
ARCHIVE: A,
|
|
40
40
|
API: z,
|
|
41
41
|
STREAM: P,
|
|
42
|
-
FILE_DROP:
|
|
43
|
-
SIMULATION:
|
|
42
|
+
FILE_DROP: j,
|
|
43
|
+
SIMULATION: M
|
|
44
44
|
};
|
|
45
45
|
function W(e) {
|
|
46
46
|
if (!e) return "—";
|
|
@@ -52,260 +52,263 @@ function W(e) {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
function G() {
|
|
55
|
-
let { navigate:
|
|
55
|
+
let { navigate: A } = ee(), j = te(), [M, F] = m(B), [L, R] = m(B), z = d({
|
|
56
56
|
pageSize: 20,
|
|
57
|
-
resetKey: `${
|
|
58
|
-
}), { data: G, loading: K, error: q, refetch: J } =
|
|
59
|
-
type:
|
|
57
|
+
resetKey: `${M}|${L}`
|
|
58
|
+
}), { data: G, loading: K, error: q, refetch: J } = n({
|
|
59
|
+
type: M === B ? void 0 : M,
|
|
60
60
|
status: L === B ? void 0 : L,
|
|
61
61
|
pagination: {
|
|
62
62
|
limit: z.limit,
|
|
63
63
|
offset: z.offset
|
|
64
64
|
}
|
|
65
|
-
}), [Y] =
|
|
66
|
-
(await Y({ variables: { id: e.id } })).data?.cosMarkSourceSynced && (
|
|
65
|
+
}), [Y] = t(), [ie] = e(), X = ne(() => G?.cosListSources.items ?? [], [G]), ae = G?.cosListSources.pageInfo, Z = async (e) => {
|
|
66
|
+
(await Y({ variables: { id: e.id } })).data?.cosMarkSourceSynced && (i.success(j("cosmicintersection.pages.sources.syncSuccess", "Source marked synced"), j("cosmicintersection.pages.sources.syncSuccessDescription", "“{{name}}” is now up to date.", { name: e.name })), await J());
|
|
67
67
|
}, Q = async (e) => {
|
|
68
68
|
let t = await ie({ variables: { id: e.id } });
|
|
69
69
|
if (t.error) throw Error(t.error.message);
|
|
70
|
-
if (!t.data?.cosArchiveSource) throw
|
|
71
|
-
|
|
72
|
-
}, $ = /* @__PURE__ */ v
|
|
70
|
+
if (!t.data?.cosArchiveSource) throw i.error(j("cosmicintersection.pages.sources.archiveError", "Could not archive source"), j("cosmicintersection.pages.sources.archiveErrorDescription", "The server did not confirm the change.")), Error("Archive not confirmed");
|
|
71
|
+
i.success(j("cosmicintersection.pages.sources.archiveSuccess", "Source archived")), await J();
|
|
72
|
+
}, $ = /* @__PURE__ */ g(v, {
|
|
73
73
|
type: "button",
|
|
74
|
-
onClick: () =>
|
|
75
|
-
children: [/* @__PURE__ */
|
|
74
|
+
onClick: () => A("sources/create"),
|
|
75
|
+
children: [/* @__PURE__ */ h(N, { className: "size-4" }), j("cosmicintersection.pages.sources.create", "New source")]
|
|
76
76
|
});
|
|
77
|
-
return /* @__PURE__ */
|
|
78
|
-
title:
|
|
79
|
-
description:
|
|
77
|
+
return /* @__PURE__ */ h(l, {
|
|
78
|
+
title: j("cosmicintersection.pages.sources.title", "Data sources"),
|
|
79
|
+
description: j("cosmicintersection.pages.sources.description", "Instruments, archives and feeds that supply raw data into your federation."),
|
|
80
80
|
actions: $,
|
|
81
|
-
children: /* @__PURE__ */
|
|
81
|
+
children: /* @__PURE__ */ g("div", {
|
|
82
82
|
className: "space-y-4",
|
|
83
|
-
children: [/* @__PURE__ */
|
|
83
|
+
children: [/* @__PURE__ */ g("div", {
|
|
84
84
|
className: "flex flex-wrap items-center gap-3",
|
|
85
|
-
children: [/* @__PURE__ */
|
|
85
|
+
children: [/* @__PURE__ */ h("div", {
|
|
86
86
|
className: "w-full max-w-[14rem]",
|
|
87
|
-
children: /* @__PURE__ */
|
|
88
|
-
value:
|
|
87
|
+
children: /* @__PURE__ */ g(y, {
|
|
88
|
+
value: M,
|
|
89
89
|
onValueChange: F,
|
|
90
|
-
children: [/* @__PURE__ */
|
|
91
|
-
"aria-label":
|
|
92
|
-
children: /* @__PURE__ */
|
|
93
|
-
}), /* @__PURE__ */
|
|
90
|
+
children: [/* @__PURE__ */ h(S, {
|
|
91
|
+
"aria-label": j("cosmicintersection.common.filterByType", "Filter by type"),
|
|
92
|
+
children: /* @__PURE__ */ h(C, { placeholder: j("cosmicintersection.common.allTypes", "All types") })
|
|
93
|
+
}), /* @__PURE__ */ g(b, { children: [/* @__PURE__ */ h(x, {
|
|
94
94
|
value: B,
|
|
95
|
-
children:
|
|
96
|
-
}), V.map((e) => /* @__PURE__ */
|
|
95
|
+
children: j("cosmicintersection.common.allTypes", "All types")
|
|
96
|
+
}), V.map((e) => /* @__PURE__ */ h(x, {
|
|
97
97
|
value: e,
|
|
98
|
-
children:
|
|
98
|
+
children: p(e)
|
|
99
99
|
}, e))] })]
|
|
100
100
|
})
|
|
101
|
-
}), /* @__PURE__ */
|
|
101
|
+
}), /* @__PURE__ */ h("div", {
|
|
102
102
|
className: "w-full max-w-[14rem]",
|
|
103
|
-
children: /* @__PURE__ */
|
|
103
|
+
children: /* @__PURE__ */ g(y, {
|
|
104
104
|
value: L,
|
|
105
105
|
onValueChange: R,
|
|
106
|
-
children: [/* @__PURE__ */
|
|
107
|
-
"aria-label":
|
|
108
|
-
children: /* @__PURE__ */
|
|
109
|
-
}), /* @__PURE__ */
|
|
106
|
+
children: [/* @__PURE__ */ h(S, {
|
|
107
|
+
"aria-label": j("cosmicintersection.common.filterByStatus", "Filter by status"),
|
|
108
|
+
children: /* @__PURE__ */ h(C, { placeholder: j("cosmicintersection.common.allStatuses", "All statuses") })
|
|
109
|
+
}), /* @__PURE__ */ g(b, { children: [/* @__PURE__ */ h(x, {
|
|
110
110
|
value: B,
|
|
111
|
-
children:
|
|
112
|
-
}), H.map((e) => /* @__PURE__ */
|
|
111
|
+
children: j("cosmicintersection.common.allStatuses", "All statuses")
|
|
112
|
+
}), H.map((e) => /* @__PURE__ */ h(x, {
|
|
113
113
|
value: e,
|
|
114
|
-
children:
|
|
114
|
+
children: p(e)
|
|
115
115
|
}, e))] })]
|
|
116
116
|
})
|
|
117
117
|
})]
|
|
118
118
|
}), (() => {
|
|
119
|
-
if (K) return /* @__PURE__ */
|
|
119
|
+
if (K) return /* @__PURE__ */ h(c, {
|
|
120
120
|
variant: "rows",
|
|
121
121
|
rows: 6,
|
|
122
|
-
label:
|
|
122
|
+
label: j("cosmicintersection.pages.sources.loading", "Loading sources…")
|
|
123
123
|
});
|
|
124
|
-
if (q) return /* @__PURE__ */
|
|
124
|
+
if (q) return /* @__PURE__ */ h(s, {
|
|
125
125
|
message: q.message,
|
|
126
126
|
onRetry: () => void J()
|
|
127
127
|
});
|
|
128
128
|
if (X.length === 0) {
|
|
129
|
-
let e =
|
|
130
|
-
return /* @__PURE__ */
|
|
129
|
+
let e = M !== B || L !== B;
|
|
130
|
+
return /* @__PURE__ */ h(o, {
|
|
131
131
|
icon: P,
|
|
132
|
-
title: e ?
|
|
133
|
-
description: e ?
|
|
132
|
+
title: e ? j("cosmicintersection.pages.sources.emptyFilterTitle", "No sources match these filters") : j("cosmicintersection.pages.sources.emptyTitle", "No data sources yet"),
|
|
133
|
+
description: e ? j("cosmicintersection.pages.sources.emptyFilterDescription", "Try clearing the type or status filter to see more sources.") : j("cosmicintersection.pages.sources.emptyDescription", "Connect a telescope, satellite feed, archive or API to start ingesting scientific data."),
|
|
134
134
|
action: e ? void 0 : $
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
return /* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
137
|
+
return /* @__PURE__ */ g(re, { children: [
|
|
138
|
+
/* @__PURE__ */ h("div", {
|
|
139
139
|
className: "hidden overflow-hidden rounded-card border border-border-default bg-bg-elevated md:block",
|
|
140
|
-
children: /* @__PURE__ */
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
/* @__PURE__ */
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
/* @__PURE__ */
|
|
147
|
-
/* @__PURE__ */
|
|
140
|
+
children: /* @__PURE__ */ g(w, { children: [/* @__PURE__ */ h(O, { children: /* @__PURE__ */ g(k, { children: [
|
|
141
|
+
/* @__PURE__ */ h(D, { children: j("cosmicintersection.common.name", "Name") }),
|
|
142
|
+
/* @__PURE__ */ h(D, { children: j("cosmicintersection.common.type", "Type") }),
|
|
143
|
+
/* @__PURE__ */ h(D, { children: j("cosmicintersection.common.status", "Status") }),
|
|
144
|
+
/* @__PURE__ */ h(D, { children: j("cosmicintersection.common.endpoint", "Endpoint") }),
|
|
145
|
+
/* @__PURE__ */ h(D, { children: j("cosmicintersection.common.lastSynced", "Last synced") }),
|
|
146
|
+
/* @__PURE__ */ h(D, { children: j("cosmicintersection.common.tags", "Tags") }),
|
|
147
|
+
/* @__PURE__ */ h(D, {
|
|
148
148
|
className: "text-right",
|
|
149
|
-
children:
|
|
149
|
+
children: j("cosmicintersection.common.actions", "Actions")
|
|
150
150
|
})
|
|
151
|
-
] }) }), /* @__PURE__ */
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
children:
|
|
158
|
-
className: "
|
|
159
|
-
children: /* @__PURE__ */
|
|
160
|
-
className: "size-
|
|
161
|
-
|
|
151
|
+
] }) }), /* @__PURE__ */ h(T, { children: X.map((e) => {
|
|
152
|
+
let t = U[e.type] ?? P;
|
|
153
|
+
return /* @__PURE__ */ g(k, {
|
|
154
|
+
className: "cursor-pointer",
|
|
155
|
+
onClick: () => A(`sources/${e.id}`),
|
|
156
|
+
children: [
|
|
157
|
+
/* @__PURE__ */ h(E, { children: /* @__PURE__ */ g("div", {
|
|
158
|
+
className: "flex items-start gap-2.5",
|
|
159
|
+
children: [/* @__PURE__ */ h("span", {
|
|
160
|
+
className: "mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-button bg-bg-sunken text-text-secondary",
|
|
161
|
+
children: /* @__PURE__ */ h(t, {
|
|
162
|
+
className: "size-4",
|
|
163
|
+
"aria-hidden": "true"
|
|
164
|
+
})
|
|
165
|
+
}), /* @__PURE__ */ g("div", {
|
|
166
|
+
className: "min-w-0",
|
|
167
|
+
children: [/* @__PURE__ */ h("div", {
|
|
168
|
+
className: "font-medium text-text-primary",
|
|
169
|
+
children: e.name
|
|
170
|
+
}), e.description ? /* @__PURE__ */ h("div", {
|
|
171
|
+
className: "mt-0.5 line-clamp-1 max-w-xs text-xs text-text-secondary",
|
|
172
|
+
children: e.description
|
|
173
|
+
}) : null]
|
|
174
|
+
})]
|
|
175
|
+
}) }),
|
|
176
|
+
/* @__PURE__ */ h(E, { children: /* @__PURE__ */ h(_, {
|
|
177
|
+
variant: "secondary",
|
|
178
|
+
children: p(e.type)
|
|
179
|
+
}) }),
|
|
180
|
+
/* @__PURE__ */ h(E, { children: /* @__PURE__ */ h(f, { status: e.status }) }),
|
|
181
|
+
/* @__PURE__ */ h(E, {
|
|
182
|
+
className: "max-w-[16rem]",
|
|
183
|
+
onClick: (e) => e.stopPropagation(),
|
|
184
|
+
children: e.endpoint ? /* @__PURE__ */ h(r, {
|
|
185
|
+
href: e.endpoint,
|
|
186
|
+
className: "block truncate text-sm text-text-primary underline-offset-2 hover:underline",
|
|
187
|
+
fallbackClassName: "block truncate text-sm text-text-secondary",
|
|
188
|
+
children: e.endpoint
|
|
189
|
+
}) : /* @__PURE__ */ h("span", {
|
|
190
|
+
className: "text-sm text-text-secondary",
|
|
191
|
+
children: "—"
|
|
162
192
|
})
|
|
163
|
-
}),
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
193
|
+
}),
|
|
194
|
+
/* @__PURE__ */ h(E, {
|
|
195
|
+
className: "whitespace-nowrap text-sm text-text-secondary",
|
|
196
|
+
children: W(e.lastSyncedAt)
|
|
197
|
+
}),
|
|
198
|
+
/* @__PURE__ */ h(E, { children: /* @__PURE__ */ g("div", {
|
|
199
|
+
className: "flex max-w-[12rem] flex-wrap gap-1",
|
|
200
|
+
children: [e.tags.length === 0 ? /* @__PURE__ */ h("span", {
|
|
201
|
+
className: "text-xs text-text-secondary",
|
|
202
|
+
children: "—"
|
|
203
|
+
}) : e.tags.slice(0, 3).map((e) => /* @__PURE__ */ h(_, {
|
|
204
|
+
variant: "outline",
|
|
205
|
+
className: "text-xs",
|
|
206
|
+
children: e
|
|
207
|
+
}, e)), e.tags.length > 3 ? /* @__PURE__ */ g("span", {
|
|
208
|
+
className: "text-xs text-text-secondary",
|
|
209
|
+
children: ["+", e.tags.length - 3]
|
|
171
210
|
}) : null]
|
|
172
|
-
})
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
children: "—"
|
|
190
|
-
})
|
|
191
|
-
}),
|
|
192
|
-
/* @__PURE__ */ _(D, {
|
|
193
|
-
className: "whitespace-nowrap text-sm text-text-secondary",
|
|
194
|
-
children: W(e.lastSyncedAt)
|
|
195
|
-
}),
|
|
196
|
-
/* @__PURE__ */ _(D, { children: /* @__PURE__ */ v("div", {
|
|
197
|
-
className: "flex max-w-[12rem] flex-wrap gap-1",
|
|
198
|
-
children: [e.tags.length === 0 ? /* @__PURE__ */ _("span", {
|
|
199
|
-
className: "text-xs text-text-secondary",
|
|
200
|
-
children: "—"
|
|
201
|
-
}) : e.tags.slice(0, 3).map((e) => /* @__PURE__ */ _(y, {
|
|
202
|
-
variant: "outline",
|
|
203
|
-
className: "text-xs",
|
|
204
|
-
children: e
|
|
205
|
-
}, e)), e.tags.length > 3 ? /* @__PURE__ */ v("span", {
|
|
206
|
-
className: "text-xs text-text-secondary",
|
|
207
|
-
children: ["+", e.tags.length - 3]
|
|
208
|
-
}) : null]
|
|
209
|
-
}) }),
|
|
210
|
-
/* @__PURE__ */ _(D, {
|
|
211
|
-
className: "text-right",
|
|
212
|
-
children: /* @__PURE__ */ _(s, {
|
|
213
|
-
ariaLabel: M("cosmicintersection.common.actionsFor", "Actions for {{name}}", { name: e.name }),
|
|
214
|
-
entityName: e.name,
|
|
215
|
-
onView: () => j(`sources/${e.id}`),
|
|
216
|
-
onEdit: () => j(`sources/${e.id}/edit`),
|
|
217
|
-
onDelete: () => Q(e),
|
|
218
|
-
deleteLabel: M("cosmicintersection.pages.sources.archive", "Archive source"),
|
|
219
|
-
extraItems: [{
|
|
220
|
-
key: "mark-synced",
|
|
221
|
-
label: M("cosmicintersection.pages.sources.markSynced", "Mark synced"),
|
|
222
|
-
icon: I,
|
|
223
|
-
onSelect: () => void Z(e)
|
|
224
|
-
}]
|
|
211
|
+
}) }),
|
|
212
|
+
/* @__PURE__ */ h(E, {
|
|
213
|
+
className: "text-right",
|
|
214
|
+
children: /* @__PURE__ */ h(a, {
|
|
215
|
+
ariaLabel: j("cosmicintersection.common.actionsFor", "Actions for {{name}}", { name: e.name }),
|
|
216
|
+
entityName: e.name,
|
|
217
|
+
onView: () => A(`sources/${e.id}`),
|
|
218
|
+
onEdit: () => A(`sources/${e.id}/edit`),
|
|
219
|
+
onDelete: () => Q(e),
|
|
220
|
+
deleteLabel: j("cosmicintersection.pages.sources.archive", "Archive source"),
|
|
221
|
+
extraItems: [{
|
|
222
|
+
key: "mark-synced",
|
|
223
|
+
label: j("cosmicintersection.pages.sources.markSynced", "Mark synced"),
|
|
224
|
+
icon: I,
|
|
225
|
+
onSelect: () => void Z(e)
|
|
226
|
+
}]
|
|
227
|
+
})
|
|
225
228
|
})
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
+
]
|
|
230
|
+
}, e.id);
|
|
231
|
+
}) })] })
|
|
229
232
|
}),
|
|
230
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ h("ul", {
|
|
231
234
|
className: "space-y-3 md:hidden",
|
|
232
235
|
children: X.map((e) => {
|
|
233
|
-
let
|
|
234
|
-
return /* @__PURE__ */
|
|
236
|
+
let t = U[e.type] ?? P;
|
|
237
|
+
return /* @__PURE__ */ h("li", { children: /* @__PURE__ */ g("div", {
|
|
235
238
|
role: "button",
|
|
236
239
|
tabIndex: 0,
|
|
237
|
-
"aria-label":
|
|
238
|
-
onClick: () =>
|
|
240
|
+
"aria-label": j("cosmicintersection.common.open", "Open {{name}}", { name: e.name }),
|
|
241
|
+
onClick: () => A(`sources/${e.id}`),
|
|
239
242
|
onKeyDown: (t) => {
|
|
240
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(),
|
|
243
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), A(`sources/${e.id}`));
|
|
241
244
|
},
|
|
242
245
|
className: "flex flex-col gap-3 rounded-card border border-border-default bg-bg-elevated p-4 outline-none transition-colors hover:bg-bg-sunken focus-visible:ring-2 focus-visible:ring-border-focus",
|
|
243
246
|
children: [
|
|
244
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ g("div", {
|
|
245
248
|
className: "flex items-start justify-between gap-3",
|
|
246
|
-
children: [/* @__PURE__ */
|
|
249
|
+
children: [/* @__PURE__ */ g("div", {
|
|
247
250
|
className: "flex min-w-0 items-start gap-2.5",
|
|
248
|
-
children: [/* @__PURE__ */
|
|
251
|
+
children: [/* @__PURE__ */ h("span", {
|
|
249
252
|
className: "mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-button bg-bg-sunken text-text-secondary",
|
|
250
|
-
children: /* @__PURE__ */
|
|
253
|
+
children: /* @__PURE__ */ h(t, {
|
|
251
254
|
className: "size-4",
|
|
252
255
|
"aria-hidden": "true"
|
|
253
256
|
})
|
|
254
|
-
}), /* @__PURE__ */
|
|
257
|
+
}), /* @__PURE__ */ g("div", {
|
|
255
258
|
className: "min-w-0",
|
|
256
|
-
children: [/* @__PURE__ */
|
|
259
|
+
children: [/* @__PURE__ */ h("p", {
|
|
257
260
|
className: "font-medium text-text-primary",
|
|
258
261
|
children: e.name
|
|
259
|
-
}), e.description ? /* @__PURE__ */
|
|
262
|
+
}), e.description ? /* @__PURE__ */ h("p", {
|
|
260
263
|
className: "mt-0.5 line-clamp-2 text-xs text-text-secondary",
|
|
261
264
|
children: e.description
|
|
262
265
|
}) : null]
|
|
263
266
|
})]
|
|
264
|
-
}), /* @__PURE__ */
|
|
267
|
+
}), /* @__PURE__ */ h("div", {
|
|
265
268
|
onClick: (e) => e.stopPropagation(),
|
|
266
|
-
children: /* @__PURE__ */
|
|
267
|
-
ariaLabel:
|
|
269
|
+
children: /* @__PURE__ */ h(a, {
|
|
270
|
+
ariaLabel: j("cosmicintersection.common.actionsFor", "Actions for {{name}}", { name: e.name }),
|
|
268
271
|
entityName: e.name,
|
|
269
|
-
onView: () =>
|
|
270
|
-
onEdit: () =>
|
|
272
|
+
onView: () => A(`sources/${e.id}`),
|
|
273
|
+
onEdit: () => A(`sources/${e.id}/edit`),
|
|
271
274
|
onDelete: () => Q(e),
|
|
272
|
-
deleteLabel:
|
|
275
|
+
deleteLabel: j("cosmicintersection.pages.sources.archive", "Archive source"),
|
|
273
276
|
extraItems: [{
|
|
274
277
|
key: "mark-synced",
|
|
275
|
-
label:
|
|
278
|
+
label: j("cosmicintersection.pages.sources.markSynced", "Mark synced"),
|
|
276
279
|
icon: I,
|
|
277
280
|
onSelect: () => void Z(e)
|
|
278
281
|
}]
|
|
279
282
|
})
|
|
280
283
|
})]
|
|
281
284
|
}),
|
|
282
|
-
/* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ g("div", {
|
|
283
286
|
className: "flex flex-wrap items-center gap-1.5",
|
|
284
|
-
children: [/* @__PURE__ */ _
|
|
287
|
+
children: [/* @__PURE__ */ h(_, {
|
|
285
288
|
variant: "secondary",
|
|
286
|
-
children:
|
|
287
|
-
}), /* @__PURE__ */
|
|
289
|
+
children: p(e.type)
|
|
290
|
+
}), /* @__PURE__ */ h(f, { status: e.status })]
|
|
288
291
|
}),
|
|
289
|
-
e.endpoint ? /* @__PURE__ */
|
|
292
|
+
e.endpoint ? /* @__PURE__ */ h("div", {
|
|
290
293
|
onClick: (e) => e.stopPropagation(),
|
|
291
|
-
children: /* @__PURE__ */
|
|
294
|
+
children: /* @__PURE__ */ h(r, {
|
|
292
295
|
href: e.endpoint,
|
|
293
296
|
className: "block truncate text-sm text-text-primary underline-offset-2 hover:underline",
|
|
294
297
|
fallbackClassName: "block truncate text-sm text-text-secondary",
|
|
295
298
|
children: e.endpoint
|
|
296
299
|
})
|
|
297
300
|
}) : null,
|
|
298
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ g("div", {
|
|
299
302
|
className: "flex items-center justify-between gap-2 text-xs text-text-secondary",
|
|
300
|
-
children: [/* @__PURE__ */
|
|
303
|
+
children: [/* @__PURE__ */ h("span", { children: j("cosmicintersection.common.lastSynced", "Last synced") }), /* @__PURE__ */ h("span", { children: W(e.lastSyncedAt) })]
|
|
301
304
|
}),
|
|
302
|
-
e.tags.length > 0 ? /* @__PURE__ */
|
|
305
|
+
e.tags.length > 0 ? /* @__PURE__ */ g("div", {
|
|
303
306
|
className: "flex flex-wrap gap-1",
|
|
304
|
-
children: [e.tags.slice(0, 4).map((e) => /* @__PURE__ */ _
|
|
307
|
+
children: [e.tags.slice(0, 4).map((e) => /* @__PURE__ */ h(_, {
|
|
305
308
|
variant: "outline",
|
|
306
309
|
className: "text-xs",
|
|
307
310
|
children: e
|
|
308
|
-
}, e)), e.tags.length > 4 ? /* @__PURE__ */
|
|
311
|
+
}, e)), e.tags.length > 4 ? /* @__PURE__ */ g("span", {
|
|
309
312
|
className: "text-xs text-text-secondary",
|
|
310
313
|
children: ["+", e.tags.length - 4]
|
|
311
314
|
}) : null]
|
|
@@ -314,14 +317,14 @@ function G() {
|
|
|
314
317
|
}) }, e.id);
|
|
315
318
|
})
|
|
316
319
|
}),
|
|
317
|
-
/* @__PURE__ */
|
|
320
|
+
/* @__PURE__ */ h(u, {
|
|
318
321
|
offset: z.offset,
|
|
319
322
|
limit: z.limit,
|
|
320
323
|
loadedCount: X.length,
|
|
321
324
|
hasMore: ae?.hasMore ?? !1,
|
|
322
325
|
onPrev: z.prevPage,
|
|
323
326
|
onNext: z.nextPage,
|
|
324
|
-
itemLabel:
|
|
327
|
+
itemLabel: j("cosmicintersection.pages.sources.itemLabel", "sources"),
|
|
325
328
|
loading: K
|
|
326
329
|
})
|
|
327
330
|
] });
|
|
@@ -329,7 +332,6 @@ function G() {
|
|
|
329
332
|
})
|
|
330
333
|
});
|
|
331
334
|
}
|
|
332
|
-
//#endregion
|
|
333
335
|
export { G as default };
|
|
334
336
|
|
|
335
337
|
//# sourceMappingURL=SourcesPage.js.map
|