@burdenoff/microfe-cosmicintersection 2026.1108.2 → 2026.1109.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.
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
@@ -20,8 +20,8 @@ import { LineageGraph as be, buildDatasetLineage as xe } from "../../components/
20
20
  import { useMemo as Se, useState as c } from "react";
21
21
  import { Fragment as Ce, jsx as l, jsxs as u } from "react/jsx-runtime";
22
22
  import { useParams as we } from "react-router";
23
- import { ArrowRight as Te, Boxes as Ee, Columns3 as De, Database as Oe, Download as ke, GitBranch as Ae, History as je, MessagesSquare as Me, Pencil as d, Plus as Ne, Radar as Pe, Share2 as Fe, Trash2 as Ie, TriangleAlert as f } from "lucide-react";
24
- import { Badge as p, Button as m, Checkbox as Le, Dialog as h, DialogContent as g, DialogDescription as _, DialogFooter as v, DialogHeader as y, DialogTitle as b, Input as x, Label as S, Select as Re, SelectContent as ze, SelectItem as Be, SelectTrigger as Ve, SelectValue as He, Table as Ue, TableBody as We, TableCell as C, TableHead as w, TableHeader as Ge, TableRow as Ke, Textarea as qe } from "@burdenoff/fe-libs/ui";
23
+ import { Badge as d, Button as f, Checkbox as Te, Dialog as p, DialogContent as m, DialogDescription as h, DialogFooter as g, DialogHeader as _, DialogTitle as v, Input as y, Label as b, Select as Ee, SelectContent as De, SelectItem as Oe, SelectTrigger as ke, SelectValue as Ae, Table as je, TableBody as Me, TableCell as x, TableHead as S, TableHeader as Ne, TableRow as Pe, Textarea as Fe } from "@burdenoff/fe-libs/ui";
24
+ import { ArrowRight as Ie, Boxes as Le, Columns3 as Re, Database as ze, Download as Be, GitBranch as Ve, History as He, MessagesSquare as Ue, Pencil as C, Plus as We, Radar as Ge, Share2 as Ke, Trash2 as qe, TriangleAlert as w } from "lucide-react";
25
25
  //#region src/cosmicintersection/pages/datasets/DatasetDetailPage.tsx
26
26
  var Je = [
27
27
  "STRING",
@@ -162,10 +162,10 @@ function k() {
162
162
  title: "Dataset",
163
163
  backPath: "datasets",
164
164
  children: /* @__PURE__ */ l(a, {
165
- icon: Oe,
165
+ icon: ze,
166
166
  title: "Dataset not found.",
167
167
  description: "This dataset may have been removed or is outside your current scope.",
168
- action: /* @__PURE__ */ l(m, {
168
+ action: /* @__PURE__ */ l(f, {
169
169
  type: "button",
170
170
  onClick: () => k("datasets"),
171
171
  children: "Back to datasets"
@@ -213,13 +213,13 @@ function k() {
213
213
  actions: /* @__PURE__ */ u("div", {
214
214
  className: "flex flex-wrap items-center justify-end gap-2",
215
215
  children: [
216
- /* @__PURE__ */ u(m, {
216
+ /* @__PURE__ */ u(f, {
217
217
  type: "button",
218
218
  variant: "outline",
219
219
  onClick: () => k(`datasets/${M.id}/edit`),
220
- children: [/* @__PURE__ */ l(d, { className: "size-4" }), "Edit"]
220
+ children: [/* @__PURE__ */ l(C, { className: "size-4" }), "Edit"]
221
221
  }),
222
- Gt ? /* @__PURE__ */ l(m, {
222
+ Gt ? /* @__PURE__ */ l(f, {
223
223
  type: "button",
224
224
  onClick: () => void Kt(),
225
225
  disabled: rt,
@@ -249,7 +249,7 @@ function k() {
249
249
  className: "inline-flex items-center gap-1.5 rounded-full border border-border-default bg-bg-elevated px-2.5 py-0.5 text-xs font-medium",
250
250
  title: "Current dataset version",
251
251
  children: [
252
- /* @__PURE__ */ l(Ae, {
252
+ /* @__PURE__ */ l(Ve, {
253
253
  className: "size-3.5 text-text-tertiary",
254
254
  "aria-hidden": "true"
255
255
  }),
@@ -274,7 +274,7 @@ function k() {
274
274
  type: "button",
275
275
  onClick: () => k(`sources/${M.source?.id}`),
276
276
  className: "inline-flex items-center gap-1.5 text-text-primary underline-offset-2 hover:underline",
277
- children: [/* @__PURE__ */ l(Pe, {
277
+ children: [/* @__PURE__ */ l(Ge, {
278
278
  className: "size-4 text-text-secondary",
279
279
  "aria-hidden": "true"
280
280
  }), M.source.name]
@@ -289,7 +289,7 @@ function k() {
289
289
  type: "button",
290
290
  onClick: () => k(`collections/${M.collection?.id}`),
291
291
  className: "inline-flex items-center gap-1.5 text-text-primary underline-offset-2 hover:underline",
292
- children: [/* @__PURE__ */ l(Ee, {
292
+ children: [/* @__PURE__ */ l(Le, {
293
293
  className: "size-4 text-text-secondary",
294
294
  "aria-hidden": "true"
295
295
  }), M.collection.name]
@@ -336,7 +336,7 @@ function k() {
336
336
  target: "_blank",
337
337
  rel: "noopener noreferrer",
338
338
  className: "inline-flex items-center gap-1.5 text-text-primary underline-offset-2 hover:underline",
339
- children: [/* @__PURE__ */ l(ke, {
339
+ children: [/* @__PURE__ */ l(Be, {
340
340
  className: "size-4",
341
341
  "aria-hidden": "true"
342
342
  }), "Download file"]
@@ -356,7 +356,7 @@ function k() {
356
356
  className: "flex items-center justify-between gap-3",
357
357
  children: [/* @__PURE__ */ u("div", {
358
358
  className: "flex items-center gap-2",
359
- children: [/* @__PURE__ */ l(Fe, {
359
+ children: [/* @__PURE__ */ l(Ke, {
360
360
  className: "size-5 text-text-secondary",
361
361
  "aria-hidden": "true"
362
362
  }), /* @__PURE__ */ l("h2", {
@@ -367,7 +367,7 @@ function k() {
367
367
  type: "button",
368
368
  onClick: () => k(`lineage/${M.id}`),
369
369
  className: "inline-flex items-center gap-1 rounded-button text-sm font-medium text-text-link underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus",
370
- children: ["View full lineage", /* @__PURE__ */ l(Te, {
370
+ children: ["View full lineage", /* @__PURE__ */ l(Ie, {
371
371
  className: "size-4",
372
372
  "aria-hidden": "true"
373
373
  })]
@@ -389,7 +389,7 @@ function k() {
389
389
  children: [/* @__PURE__ */ u("div", {
390
390
  className: "flex flex-wrap items-center gap-2",
391
391
  children: [
392
- /* @__PURE__ */ l(De, {
392
+ /* @__PURE__ */ l(Re, {
393
393
  className: "size-5 text-text-secondary",
394
394
  "aria-hidden": "true"
395
395
  }),
@@ -397,16 +397,16 @@ function k() {
397
397
  className: "text-lg font-semibold text-text-primary",
398
398
  children: "Schema fields"
399
399
  }),
400
- $.length > 0 ? /* @__PURE__ */ l(p, {
400
+ $.length > 0 ? /* @__PURE__ */ l(d, {
401
401
  variant: "secondary",
402
402
  className: "text-xs",
403
403
  children: $.length
404
404
  }) : null,
405
- Wt > 0 ? /* @__PURE__ */ u(p, {
405
+ Wt > 0 ? /* @__PURE__ */ u(d, {
406
406
  variant: "outline",
407
407
  className: "gap-1 border-status-warning-border bg-status-warning-bg-subtle text-xs text-status-warning-text",
408
408
  children: [
409
- /* @__PURE__ */ l(f, {
409
+ /* @__PURE__ */ l(w, {
410
410
  className: "size-3",
411
411
  "aria-hidden": "true"
412
412
  }),
@@ -415,44 +415,44 @@ function k() {
415
415
  ]
416
416
  }) : null
417
417
  ]
418
- }), /* @__PURE__ */ u(m, {
418
+ }), /* @__PURE__ */ u(f, {
419
419
  type: "button",
420
420
  variant: "outline",
421
421
  size: "sm",
422
422
  onClick: () => Q(!0),
423
- children: [/* @__PURE__ */ l(Ne, { className: "size-4" }), "Add field"]
423
+ children: [/* @__PURE__ */ l(We, { className: "size-4" }), "Add field"]
424
424
  })]
425
425
  }),
426
426
  $.length === 0 ? /* @__PURE__ */ l(a, {
427
- icon: De,
427
+ icon: Re,
428
428
  title: "No schema fields yet.",
429
429
  description: "Describe the columns in this dataset so consumers know what each field means."
430
430
  }) : /* @__PURE__ */ u(Ce, { children: [/* @__PURE__ */ l("div", {
431
431
  className: "hidden rounded-card border border-border-default bg-bg-elevated md:block",
432
- children: /* @__PURE__ */ u(Ue, { children: [/* @__PURE__ */ l(Ge, { children: /* @__PURE__ */ u(Ke, { children: [
433
- /* @__PURE__ */ l(w, {
432
+ children: /* @__PURE__ */ u(je, { children: [/* @__PURE__ */ l(Ne, { children: /* @__PURE__ */ u(Pe, { children: [
433
+ /* @__PURE__ */ l(S, {
434
434
  className: "w-10 text-right",
435
435
  children: "#"
436
436
  }),
437
- /* @__PURE__ */ l(w, { children: "Name" }),
438
- /* @__PURE__ */ l(w, { children: "Type" }),
439
- /* @__PURE__ */ l(w, { children: "Unit" }),
440
- /* @__PURE__ */ l(w, { children: "Nullable" }),
441
- /* @__PURE__ */ l(w, { children: "Provenance" }),
442
- /* @__PURE__ */ l(w, {
437
+ /* @__PURE__ */ l(S, { children: "Name" }),
438
+ /* @__PURE__ */ l(S, { children: "Type" }),
439
+ /* @__PURE__ */ l(S, { children: "Unit" }),
440
+ /* @__PURE__ */ l(S, { children: "Nullable" }),
441
+ /* @__PURE__ */ l(S, { children: "Provenance" }),
442
+ /* @__PURE__ */ l(S, {
443
443
  className: "w-20 text-right",
444
444
  children: "Actions"
445
445
  })
446
- ] }) }), /* @__PURE__ */ l(We, { children: $.map((e, t) => /* @__PURE__ */ u(Ke, {
446
+ ] }) }), /* @__PURE__ */ l(Me, { children: $.map((e, t) => /* @__PURE__ */ u(Pe, {
447
447
  "aria-selected": A === e.id,
448
448
  "data-state": A === e.id ? "selected" : void 0,
449
449
  className: A === e.id ? "bg-bg-sunken" : void 0,
450
450
  children: [
451
- /* @__PURE__ */ l(C, {
451
+ /* @__PURE__ */ l(x, {
452
452
  className: "text-right text-xs tabular-nums text-text-tertiary",
453
453
  children: t + 1
454
454
  }),
455
- /* @__PURE__ */ u(C, { children: [/* @__PURE__ */ l("button", {
455
+ /* @__PURE__ */ u(x, { children: [/* @__PURE__ */ l("button", {
456
456
  type: "button",
457
457
  onClick: () => Ze(e.id),
458
458
  "aria-pressed": A === e.id,
@@ -462,45 +462,45 @@ function k() {
462
462
  className: "mt-0.5 line-clamp-1 max-w-xs text-xs text-text-secondary",
463
463
  children: e.description
464
464
  }) : null] }),
465
- /* @__PURE__ */ l(C, { children: /* @__PURE__ */ l(p, {
465
+ /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(d, {
466
466
  variant: "secondary",
467
467
  children: s(e.fieldType)
468
468
  }) }),
469
- /* @__PURE__ */ l(C, {
469
+ /* @__PURE__ */ l(x, {
470
470
  className: "text-sm text-text-secondary",
471
471
  children: e.unit ? e.unit : E(e) ? /* @__PURE__ */ u("span", {
472
472
  className: "inline-flex items-center gap-1 text-status-warning-text",
473
473
  title: `${s(e.fieldType)} fields carry a measured quantity — record the unit so consumers can interpret the values.`,
474
- children: [/* @__PURE__ */ l(f, {
474
+ children: [/* @__PURE__ */ l(w, {
475
475
  className: "size-3.5",
476
476
  "aria-hidden": "true"
477
477
  }), "Not set"]
478
478
  }) : "—"
479
479
  }),
480
- /* @__PURE__ */ l(C, {
480
+ /* @__PURE__ */ l(x, {
481
481
  className: "text-sm text-text-secondary",
482
482
  children: e.nullable ? "Yes" : "No"
483
483
  }),
484
- /* @__PURE__ */ l(C, {
484
+ /* @__PURE__ */ l(x, {
485
485
  className: "text-sm text-text-secondary",
486
486
  children: e.provenance || "—"
487
487
  }),
488
- /* @__PURE__ */ l(C, { children: /* @__PURE__ */ u("div", {
488
+ /* @__PURE__ */ l(x, { children: /* @__PURE__ */ u("div", {
489
489
  className: "flex justify-end gap-1",
490
- children: [/* @__PURE__ */ l(m, {
490
+ children: [/* @__PURE__ */ l(f, {
491
491
  type: "button",
492
492
  variant: "outline",
493
493
  size: "sm",
494
494
  "aria-label": `Edit field ${e.name}`,
495
495
  onClick: () => St(e),
496
- children: /* @__PURE__ */ l(d, { className: "size-4" })
497
- }), /* @__PURE__ */ l(m, {
496
+ children: /* @__PURE__ */ l(C, { className: "size-4" })
497
+ }), /* @__PURE__ */ l(f, {
498
498
  type: "button",
499
499
  variant: "outline",
500
500
  size: "sm",
501
501
  "aria-label": `Remove field ${e.name}`,
502
502
  onClick: () => H(e.id),
503
- children: /* @__PURE__ */ l(Ie, { className: "size-4" })
503
+ children: /* @__PURE__ */ l(qe, { className: "size-4" })
504
504
  })]
505
505
  }) })
506
506
  ]
@@ -519,7 +519,7 @@ function k() {
519
519
  "aria-pressed": A === e.id,
520
520
  className: "text-left font-medium text-text-primary underline-offset-2 hover:underline",
521
521
  children: e.name
522
- }), /* @__PURE__ */ l(p, {
522
+ }), /* @__PURE__ */ l(d, {
523
523
  variant: "secondary",
524
524
  children: s(e.fieldType)
525
525
  })]
@@ -538,7 +538,7 @@ function k() {
538
538
  className: "text-text-secondary",
539
539
  children: e.unit ? e.unit : E(e) ? /* @__PURE__ */ u("span", {
540
540
  className: "inline-flex items-center gap-1 text-status-warning-text",
541
- children: [/* @__PURE__ */ l(f, {
541
+ children: [/* @__PURE__ */ l(w, {
542
542
  className: "size-3",
543
543
  "aria-hidden": "true"
544
544
  }), "Not set"]
@@ -565,20 +565,20 @@ function k() {
565
565
  }),
566
566
  /* @__PURE__ */ u("div", {
567
567
  className: "mt-2 flex gap-1",
568
- children: [/* @__PURE__ */ l(m, {
568
+ children: [/* @__PURE__ */ l(f, {
569
569
  type: "button",
570
570
  variant: "outline",
571
571
  size: "sm",
572
572
  "aria-label": `Edit field ${e.name}`,
573
573
  onClick: () => St(e),
574
- children: /* @__PURE__ */ l(d, { className: "size-4" })
575
- }), /* @__PURE__ */ l(m, {
574
+ children: /* @__PURE__ */ l(C, { className: "size-4" })
575
+ }), /* @__PURE__ */ l(f, {
576
576
  type: "button",
577
577
  variant: "outline",
578
578
  size: "sm",
579
579
  "aria-label": `Remove field ${e.name}`,
580
580
  onClick: () => H(e.id),
581
- children: /* @__PURE__ */ l(Ie, { className: "size-4" })
581
+ children: /* @__PURE__ */ l(qe, { className: "size-4" })
582
582
  })]
583
583
  })
584
584
  ]
@@ -599,7 +599,7 @@ function k() {
599
599
  disabled: N || P
600
600
  }), kt ? /* @__PURE__ */ l("div", {
601
601
  className: "flex justify-end",
602
- children: /* @__PURE__ */ l(m, {
602
+ children: /* @__PURE__ */ l(f, {
603
603
  type: "button",
604
604
  size: "sm",
605
605
  onClick: () => void Jt(),
@@ -612,7 +612,7 @@ function k() {
612
612
  className: "space-y-3",
613
613
  children: [/* @__PURE__ */ u("div", {
614
614
  className: "flex items-center gap-2",
615
- children: [/* @__PURE__ */ l(je, {
615
+ children: [/* @__PURE__ */ l(He, {
616
616
  className: "size-5 text-text-secondary",
617
617
  "aria-hidden": "true"
618
618
  }), /* @__PURE__ */ l("h2", {
@@ -628,7 +628,7 @@ function k() {
628
628
  className: "space-y-3",
629
629
  children: [/* @__PURE__ */ u("div", {
630
630
  className: "flex items-center gap-2",
631
- children: [/* @__PURE__ */ l(Me, {
631
+ children: [/* @__PURE__ */ l(Ue, {
632
632
  className: "size-5 text-text-secondary",
633
633
  "aria-hidden": "true"
634
634
  }), /* @__PURE__ */ l("h2", {
@@ -644,11 +644,11 @@ function k() {
644
644
  })
645
645
  ]
646
646
  }),
647
- /* @__PURE__ */ l(h, {
647
+ /* @__PURE__ */ l(p, {
648
648
  open: At,
649
649
  onOpenChange: Q,
650
- children: /* @__PURE__ */ u(g, { children: [
651
- /* @__PURE__ */ u(y, { children: [/* @__PURE__ */ l(b, { children: "Add schema field" }), /* @__PURE__ */ u(_, { children: [
650
+ children: /* @__PURE__ */ u(m, { children: [
651
+ /* @__PURE__ */ u(_, { children: [/* @__PURE__ */ l(v, { children: "Add schema field" }), /* @__PURE__ */ u(h, { children: [
652
652
  "Document a column in “",
653
653
  M.name,
654
654
  "” — its type, unit and provenance."
@@ -658,10 +658,10 @@ function k() {
658
658
  children: [
659
659
  /* @__PURE__ */ u("div", {
660
660
  className: "space-y-1.5",
661
- children: [/* @__PURE__ */ l(S, {
661
+ children: [/* @__PURE__ */ l(b, {
662
662
  htmlFor: "cos-field-name",
663
663
  children: "Name"
664
- }), /* @__PURE__ */ l(x, {
664
+ }), /* @__PURE__ */ l(y, {
665
665
  id: "cos-field-name",
666
666
  value: Z,
667
667
  onChange: (e) => Mt(e.target.value),
@@ -673,27 +673,27 @@ function k() {
673
673
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
674
674
  children: [/* @__PURE__ */ u("div", {
675
675
  className: "space-y-1.5",
676
- children: [/* @__PURE__ */ l(S, {
676
+ children: [/* @__PURE__ */ l(b, {
677
677
  htmlFor: "cos-field-type",
678
678
  children: "Type"
679
- }), /* @__PURE__ */ u(Re, {
679
+ }), /* @__PURE__ */ u(Ee, {
680
680
  value: Nt,
681
681
  onValueChange: (e) => Pt(e),
682
- children: [/* @__PURE__ */ l(Ve, {
682
+ children: [/* @__PURE__ */ l(ke, {
683
683
  id: "cos-field-type",
684
684
  "aria-label": "Field type",
685
- children: /* @__PURE__ */ l(He, {})
686
- }), /* @__PURE__ */ l(ze, { children: Je.map((e) => /* @__PURE__ */ l(Be, {
685
+ children: /* @__PURE__ */ l(Ae, {})
686
+ }), /* @__PURE__ */ l(De, { children: Je.map((e) => /* @__PURE__ */ l(Oe, {
687
687
  value: e,
688
688
  children: s(e)
689
689
  }, e)) })]
690
690
  })]
691
691
  }), /* @__PURE__ */ u("div", {
692
692
  className: "space-y-1.5",
693
- children: [/* @__PURE__ */ l(S, {
693
+ children: [/* @__PURE__ */ l(b, {
694
694
  htmlFor: "cos-field-unit",
695
695
  children: "Unit"
696
- }), /* @__PURE__ */ l(x, {
696
+ }), /* @__PURE__ */ l(y, {
697
697
  id: "cos-field-unit",
698
698
  value: Ft,
699
699
  onChange: (e) => It(e.target.value),
@@ -703,10 +703,10 @@ function k() {
703
703
  }),
704
704
  /* @__PURE__ */ u("div", {
705
705
  className: "space-y-1.5",
706
- children: [/* @__PURE__ */ l(S, {
706
+ children: [/* @__PURE__ */ l(b, {
707
707
  htmlFor: "cos-field-desc",
708
708
  children: "Description"
709
- }), /* @__PURE__ */ l(qe, {
709
+ }), /* @__PURE__ */ l(Fe, {
710
710
  id: "cos-field-desc",
711
711
  value: Lt,
712
712
  onChange: (e) => Rt(e.target.value),
@@ -715,10 +715,10 @@ function k() {
715
715
  }),
716
716
  /* @__PURE__ */ u("div", {
717
717
  className: "space-y-1.5",
718
- children: [/* @__PURE__ */ l(S, {
718
+ children: [/* @__PURE__ */ l(b, {
719
719
  htmlFor: "cos-field-prov",
720
720
  children: "Provenance"
721
- }), /* @__PURE__ */ l(x, {
721
+ }), /* @__PURE__ */ l(y, {
722
722
  id: "cos-field-prov",
723
723
  value: zt,
724
724
  onChange: (e) => Bt(e.target.value),
@@ -727,20 +727,20 @@ function k() {
727
727
  }),
728
728
  /* @__PURE__ */ u("label", {
729
729
  className: "flex items-center gap-2 text-sm text-text-primary",
730
- children: [/* @__PURE__ */ l(Le, {
730
+ children: [/* @__PURE__ */ l(Te, {
731
731
  checked: Vt,
732
732
  onCheckedChange: (e) => Ht(e === !0)
733
733
  }), "Nullable (may contain empty values)"]
734
734
  })
735
735
  ]
736
736
  }),
737
- /* @__PURE__ */ u(v, { children: [/* @__PURE__ */ l(m, {
737
+ /* @__PURE__ */ u(g, { children: [/* @__PURE__ */ l(f, {
738
738
  type: "button",
739
739
  variant: "outline",
740
740
  onClick: () => Q(!1),
741
741
  disabled: F,
742
742
  children: "Cancel"
743
- }), /* @__PURE__ */ l(m, {
743
+ }), /* @__PURE__ */ l(f, {
744
744
  type: "button",
745
745
  onClick: () => void Yt(),
746
746
  disabled: F,
@@ -748,20 +748,20 @@ function k() {
748
748
  })] })
749
749
  ] })
750
750
  }),
751
- /* @__PURE__ */ l(h, {
751
+ /* @__PURE__ */ l(p, {
752
752
  open: R != null,
753
753
  onOpenChange: (e) => !e && z(null),
754
- children: /* @__PURE__ */ u(g, { children: [
755
- /* @__PURE__ */ u(y, { children: [/* @__PURE__ */ l(b, { children: "Edit schema field" }), /* @__PURE__ */ l(_, { children: "Correct the column documentation. The change is recorded against the dataset’s schema immediately." })] }),
754
+ children: /* @__PURE__ */ u(m, { children: [
755
+ /* @__PURE__ */ u(_, { children: [/* @__PURE__ */ l(v, { children: "Edit schema field" }), /* @__PURE__ */ l(h, { children: "Correct the column documentation. The change is recorded against the dataset’s schema immediately." })] }),
756
756
  /* @__PURE__ */ u("div", {
757
757
  className: "space-y-4",
758
758
  children: [
759
759
  /* @__PURE__ */ u("div", {
760
760
  className: "space-y-1.5",
761
- children: [/* @__PURE__ */ l(S, {
761
+ children: [/* @__PURE__ */ l(b, {
762
762
  htmlFor: "cos-edit-field-name",
763
763
  children: "Name"
764
- }), /* @__PURE__ */ l(x, {
764
+ }), /* @__PURE__ */ l(y, {
765
765
  id: "cos-edit-field-name",
766
766
  value: B,
767
767
  onChange: (e) => dt(e.target.value),
@@ -772,27 +772,27 @@ function k() {
772
772
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
773
773
  children: [/* @__PURE__ */ u("div", {
774
774
  className: "space-y-1.5",
775
- children: [/* @__PURE__ */ l(S, {
775
+ children: [/* @__PURE__ */ l(b, {
776
776
  htmlFor: "cos-edit-field-type",
777
777
  children: "Type"
778
- }), /* @__PURE__ */ u(Re, {
778
+ }), /* @__PURE__ */ u(Ee, {
779
779
  value: ft,
780
780
  onValueChange: (e) => pt(e),
781
- children: [/* @__PURE__ */ l(Ve, {
781
+ children: [/* @__PURE__ */ l(ke, {
782
782
  id: "cos-edit-field-type",
783
783
  "aria-label": "Field type",
784
- children: /* @__PURE__ */ l(He, {})
785
- }), /* @__PURE__ */ l(ze, { children: Je.map((e) => /* @__PURE__ */ l(Be, {
784
+ children: /* @__PURE__ */ l(Ae, {})
785
+ }), /* @__PURE__ */ l(De, { children: Je.map((e) => /* @__PURE__ */ l(Oe, {
786
786
  value: e,
787
787
  children: s(e)
788
788
  }, e)) })]
789
789
  })]
790
790
  }), /* @__PURE__ */ u("div", {
791
791
  className: "space-y-1.5",
792
- children: [/* @__PURE__ */ l(S, {
792
+ children: [/* @__PURE__ */ l(b, {
793
793
  htmlFor: "cos-edit-field-unit",
794
794
  children: "Unit"
795
- }), /* @__PURE__ */ l(x, {
795
+ }), /* @__PURE__ */ l(y, {
796
796
  id: "cos-edit-field-unit",
797
797
  value: mt,
798
798
  onChange: (e) => ht(e.target.value),
@@ -802,10 +802,10 @@ function k() {
802
802
  }),
803
803
  /* @__PURE__ */ u("div", {
804
804
  className: "space-y-1.5",
805
- children: [/* @__PURE__ */ l(S, {
805
+ children: [/* @__PURE__ */ l(b, {
806
806
  htmlFor: "cos-edit-field-desc",
807
807
  children: "Description"
808
- }), /* @__PURE__ */ l(qe, {
808
+ }), /* @__PURE__ */ l(Fe, {
809
809
  id: "cos-edit-field-desc",
810
810
  value: gt,
811
811
  onChange: (e) => _t(e.target.value),
@@ -814,10 +814,10 @@ function k() {
814
814
  }),
815
815
  /* @__PURE__ */ u("div", {
816
816
  className: "space-y-1.5",
817
- children: [/* @__PURE__ */ l(S, {
817
+ children: [/* @__PURE__ */ l(b, {
818
818
  htmlFor: "cos-edit-field-prov",
819
819
  children: "Provenance"
820
- }), /* @__PURE__ */ l(x, {
820
+ }), /* @__PURE__ */ l(y, {
821
821
  id: "cos-edit-field-prov",
822
822
  value: vt,
823
823
  onChange: (e) => yt(e.target.value),
@@ -826,20 +826,20 @@ function k() {
826
826
  }),
827
827
  /* @__PURE__ */ u("label", {
828
828
  className: "flex items-center gap-2 text-sm text-text-primary",
829
- children: [/* @__PURE__ */ l(Le, {
829
+ children: [/* @__PURE__ */ l(Te, {
830
830
  checked: bt,
831
831
  onCheckedChange: (e) => xt(e === !0)
832
832
  }), "Nullable (may contain empty values)"]
833
833
  })
834
834
  ]
835
835
  }),
836
- /* @__PURE__ */ u(v, { children: [/* @__PURE__ */ l(m, {
836
+ /* @__PURE__ */ u(g, { children: [/* @__PURE__ */ l(f, {
837
837
  type: "button",
838
838
  variant: "outline",
839
839
  onClick: () => z(null),
840
840
  disabled: I,
841
841
  children: "Cancel"
842
- }), /* @__PURE__ */ l(m, {
842
+ }), /* @__PURE__ */ l(f, {
843
843
  type: "button",
844
844
  onClick: () => void Ct(),
845
845
  disabled: I,
@@ -847,16 +847,16 @@ function k() {
847
847
  })] })
848
848
  ] })
849
849
  }),
850
- /* @__PURE__ */ l(h, {
850
+ /* @__PURE__ */ l(p, {
851
851
  open: V != null,
852
852
  onOpenChange: (e) => !e && H(null),
853
- children: /* @__PURE__ */ u(g, { children: [/* @__PURE__ */ u(y, { children: [/* @__PURE__ */ l(b, { children: "Remove schema field?" }), /* @__PURE__ */ l(_, { children: "The field is removed from this dataset’s schema. This is the revert half of the review loop — use it when a wrongly accepted proposal needs undoing." })] }), /* @__PURE__ */ u(v, { children: [/* @__PURE__ */ l(m, {
853
+ children: /* @__PURE__ */ u(m, { children: [/* @__PURE__ */ u(_, { children: [/* @__PURE__ */ l(v, { children: "Remove schema field?" }), /* @__PURE__ */ l(h, { children: "The field is removed from this dataset’s schema. This is the revert half of the review loop — use it when a wrongly accepted proposal needs undoing." })] }), /* @__PURE__ */ u(g, { children: [/* @__PURE__ */ l(f, {
854
854
  type: "button",
855
855
  variant: "outline",
856
856
  onClick: () => H(null),
857
857
  disabled: L,
858
858
  children: "Cancel"
859
- }), /* @__PURE__ */ l(m, {
859
+ }), /* @__PURE__ */ l(f, {
860
860
  type: "button",
861
861
  variant: "destructive",
862
862
  onClick: () => void wt(),