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