@nivaro/react 0.3.139 → 0.3.141

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 (100) hide show
  1. package/dist/components/InlineGridField.js +95 -92
  2. package/dist/full.css +1 -1
  3. package/dist/hooks/useSessionRecorder.js +1 -1
  4. package/dist/index.d.ts +39 -2
  5. package/dist/shared/components/AudienceConfirmPanel.js +19 -19
  6. package/dist/shared/components/BroadcastView.js +213 -211
  7. package/dist/shared/components/CollectionBrowserView.js +2702 -2671
  8. package/dist/shared/components/ConfigHistory.js +45 -45
  9. package/dist/shared/components/ConformanceView.js +110 -110
  10. package/dist/shared/components/DataTable.js +51 -51
  11. package/dist/shared/components/FilePreviewLightbox.js +26 -25
  12. package/dist/shared/components/ItemEditForm.js +3475 -3458
  13. package/dist/shared/components/LiveCount.js +27 -23
  14. package/dist/shared/components/LiveTraceView.js +62 -61
  15. package/dist/shared/components/PageRenderer.js +422 -410
  16. package/dist/shared/components/ProfileView.js +199 -199
  17. package/dist/shared/components/QualityRulesView.js +70 -70
  18. package/dist/shared/components/QueryTable.js +131 -130
  19. package/dist/shared/components/RecordGraph.js +98 -98
  20. package/dist/shared/components/RecordReadView.js +287 -288
  21. package/dist/shared/components/ReportView.js +1279 -1259
  22. package/dist/shared/components/RowPresence.js +83 -76
  23. package/dist/shared/components/SlaRulesView.js +73 -74
  24. package/dist/shared/components/UnseenDot.js +183 -22
  25. package/dist/shared/components/WidgetSlot.js +73 -73
  26. package/dist/shared/components/ai/AiChart.js +36 -32
  27. package/dist/shared/components/ai/AiMarkdown.js +136 -129
  28. package/dist/shared/components/ai/TaskDo.js +87 -87
  29. package/dist/shared/components/ai/answer-formats.js +37 -30
  30. package/dist/shared/components/ai/call-log/format.js +17 -16
  31. package/dist/shared/components/bulk/BulkActionButtons.js +66 -66
  32. package/dist/shared/components/bulk/BulkFieldUpdate.js +59 -59
  33. package/dist/shared/components/bulk/BulkSelectionNotices.js +34 -34
  34. package/dist/shared/components/bulk/MessageStakeholders.js +31 -29
  35. package/dist/shared/components/bulk/PushBulkButtons.js +83 -82
  36. package/dist/shared/components/bulk/bulk-field-options.js +10 -10
  37. package/dist/shared/components/cbv/column-totals.js +53 -51
  38. package/dist/shared/components/chat/ChatAnalyticsView.js +87 -87
  39. package/dist/shared/components/collections-directory/CollectionsToolbar.js +18 -18
  40. package/dist/shared/components/command-center/announce.js +7 -6
  41. package/dist/shared/components/command-center/panels/AttentionPanel.js +32 -31
  42. package/dist/shared/components/command-center/panels/FlowPanel.js +29 -28
  43. package/dist/shared/components/command-center/panels/PeoplePanel.js +39 -39
  44. package/dist/shared/components/delegation/DelegationConsoleView.js +27 -27
  45. package/dist/shared/components/delivery-analytics/drill.js +32 -32
  46. package/dist/shared/components/imports/RunDetailSheet.js +1 -1
  47. package/dist/shared/components/integrations/IntegrationObligationsView.js +119 -119
  48. package/dist/shared/components/integrations/console/EventsView.js +35 -35
  49. package/dist/shared/components/integrations/console/FirefightView.js +15 -14
  50. package/dist/shared/components/integrations/console/PartnerDetail.js +78 -78
  51. package/dist/shared/components/integrations/console/ReadyToSendView.js +103 -103
  52. package/dist/shared/components/integrations/console/SignalCard.js +67 -67
  53. package/dist/shared/components/item-edit/CatalogPickerField.js +536 -527
  54. package/dist/shared/components/item-edit/ChangesTray.js +88 -74
  55. package/dist/shared/components/item-edit/FilePickerField.js +123 -123
  56. package/dist/shared/components/item-edit/GroupSection.js +301 -292
  57. package/dist/shared/components/item-edit/HeaderSummaryChip.js +54 -54
  58. package/dist/shared/components/item-edit/InlineGridField.js +45 -36
  59. package/dist/shared/components/item-edit/InlineTableField.js +1390 -1376
  60. package/dist/shared/components/item-edit/NestedRelationEditor.js +106 -99
  61. package/dist/shared/components/item-edit/RecordChatMentionsChip.js +11 -11
  62. package/dist/shared/components/item-edit/RecordRecapChanges.js +116 -74
  63. package/dist/shared/components/item-edit/RecordRecapStrip.js +148 -160
  64. package/dist/shared/components/item-edit/summary-layout-request.js +15 -0
  65. package/dist/shared/components/layout-editor/ai-forms/SlimPanel.js +43 -44
  66. package/dist/shared/components/layout-editor/parity-keys.json.js +1 -1
  67. package/dist/shared/components/layout-editor/settings/ResolveSettings.js +226 -157
  68. package/dist/shared/components/layout-editor/settings/WhoSection.js +53 -52
  69. package/dist/shared/components/layout-editor/settings/controls.js +98 -90
  70. package/dist/shared/components/layout-editor/settings/settings-registry.js +8 -0
  71. package/dist/shared/components/monitoring/ApiRequestLog.js +35 -35
  72. package/dist/shared/components/notifications/NotificationCenterView.js +268 -268
  73. package/dist/shared/components/ops-report/format.js +37 -36
  74. package/dist/shared/components/panels/ReferencedByPanel.js +21 -20
  75. package/dist/shared/components/panels/RevisionsPanel.js +306 -305
  76. package/dist/shared/components/pipeline/OwnerMatrixVersionsCard.js +12 -12
  77. package/dist/shared/components/pipeline/PipelineEditorView.js +483 -482
  78. package/dist/shared/components/pipeline/PipelineHealthCards.js +33 -32
  79. package/dist/shared/components/pipeline/TeamsView.js +189 -130
  80. package/dist/shared/components/profile/AgentsPanel.js +6 -6
  81. package/dist/shared/components/profile/DelegationCard.js +13 -12
  82. package/dist/shared/components/profile/PersonActivity.js +48 -48
  83. package/dist/shared/components/profile/PersonExtras.js +107 -107
  84. package/dist/shared/components/profile/PersonWeek.js +9 -9
  85. package/dist/shared/components/queue/QueueBulkBar.js +19 -18
  86. package/dist/shared/components/queue/QueueBulkMove.js +21 -20
  87. package/dist/shared/components/queue/QueueItemSheet.js +136 -131
  88. package/dist/shared/components/queue/QueueWorklist.js +884 -872
  89. package/dist/shared/components/queue/worklist-helpers.js +36 -21
  90. package/dist/shared/components/support/RequestList.js +123 -123
  91. package/dist/shared/components/support/SupportAnalytics.js +29 -29
  92. package/dist/shared/lib/activity-sentence.js +251 -229
  93. package/dist/shared/lib/format-value.js +5 -4
  94. package/dist/shared/lib/layout-resolve.js +64 -48
  95. package/dist/shared/lib/number-format.js +87 -0
  96. package/dist/shared/lib/number-kind.js +133 -0
  97. package/dist/shared/lib/utils.js +24 -20
  98. package/dist/shared/lib/watch-list.js +1 -1
  99. package/dist/shared/lib/widget-value-format.js +26 -12
  100. package/package.json +1 -1
@@ -1,22 +1,22 @@
1
1
  import { jsxs as a, jsx as r, Fragment as T } from "react/jsx-runtime";
2
- import { BellOff as F, AlertOctagon as W, AlertTriangle as q, ChevronRight as E, Loader2 as M, ChevronDown as G, ExternalLink as V } from "lucide-react";
3
- import { useState as A, useMemo as X, useId as H, useRef as J } from "react";
4
- import { useItemEditAuth as Q } from "../../../context.js";
5
- import { userErrorMessage as I } from "../../../lib/safe-error.js";
6
- import { cn as x, titleCase as Y } from "../../../lib/utils.js";
7
- import { ExplainButton as Z } from "../../ai/ExplainButton.js";
8
- import { useDrillWindows as ee, DrillTag as te } from "../../chaos/DrillTag.js";
9
- import { useSignalAction as ne, useDismissRows as oe, useSnooze as re } from "./api.js";
10
- import { canDrill as ie, RowDrill as se } from "./drill/index.js";
11
- import { SnoozeMenu as R, DismissButton as ae } from "./SnoozeMenu.js";
12
- import { plainDetail as B, TONE_FILL as le, TONE_TEXT as L, agoText as de, exactTime as U, TONE_SOFT as ce, ageOf as ue } from "./tone.js";
13
- const me = ["retry_submission", "extension"], pe = (e) => e.kind === "extension" ? j(e) : e.kind, j = (e) => `${e.kind}:${e.id ?? ""}`;
14
- function he(e) {
2
+ import { BellOff as W, AlertOctagon as q, AlertTriangle as G, ChevronRight as I, Loader2 as B, ChevronDown as V, ExternalLink as X } from "lucide-react";
3
+ import { useState as A, useMemo as H, useId as J, useRef as Q } from "react";
4
+ import { useItemEditAuth as Y } from "../../../context.js";
5
+ import { userErrorMessage as P } from "../../../lib/safe-error.js";
6
+ import { cn as x, formatNumber as M, titleCase as Z } from "../../../lib/utils.js";
7
+ import { ExplainButton as ee } from "../../ai/ExplainButton.js";
8
+ import { useDrillWindows as te, DrillTag as ne } from "../../chaos/DrillTag.js";
9
+ import { useSignalAction as oe, useDismissRows as re, useSnooze as ie } from "./api.js";
10
+ import { canDrill as se, RowDrill as ae } from "./drill/index.js";
11
+ import { SnoozeMenu as U, DismissButton as le } from "./SnoozeMenu.js";
12
+ import { plainDetail as K, TONE_FILL as de, TONE_TEXT as L, agoText as ce, exactTime as j, TONE_SOFT as ue, ageOf as me } from "./tone.js";
13
+ const pe = ["retry_submission", "extension"], he = (e) => e.kind === "extension" ? F(e) : e.kind, F = (e) => `${e.kind}:${e.id ?? ""}`;
14
+ function fe(e) {
15
15
  let t = null;
16
16
  for (const m of e.rows) (!t || m.first_seen < t) && (t = m.first_seen);
17
17
  return t;
18
18
  }
19
- function Te({
19
+ function Le({
20
20
  signal: e,
21
21
  expanded: t,
22
22
  onToggle: m,
@@ -24,7 +24,7 @@ function Te({
24
24
  onExplain: p,
25
25
  canExplain: l
26
26
  }) {
27
- const f = e.severity === "critical", y = !e.error && e.count === 0, k = y ? "neutral" : f ? "negative" : "warning", w = y ? F : f ? W : q, v = he(e), C = ee(), S = e.rows.reduce(
27
+ const f = e.severity === "critical", y = !e.error && e.count === 0, k = y ? "neutral" : f ? "negative" : "warning", w = y ? W : f ? q : G, v = fe(e), C = te(), S = e.rows.reduce(
28
28
  (N, o) => !N || o.first_seen > N ? o.first_seen : N,
29
29
  null
30
30
  ), b = e.rows[0], [z, _] = A(!1), D = `ic-signal-body-${e.id.replace(/[^a-z0-9]/gi, "-")}`;
@@ -49,7 +49,7 @@ function Te({
49
49
  {
50
50
  className: x(
51
51
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-md",
52
- ce[k]
52
+ ue[k]
53
53
  ),
54
54
  "data-tip": y ? "Nothing open — only snoozed rows" : f ? "Critical — something is failing now" : "Worth a look",
55
55
  children: /* @__PURE__ */ r(w, { className: x("h-3.5 w-3.5", L[k]), "aria-hidden": !0 })
@@ -58,21 +58,21 @@ function Te({
58
58
  /* @__PURE__ */ a("span", { className: "min-w-0 flex-1", children: [
59
59
  /* @__PURE__ */ a("span", { className: "flex flex-wrap items-baseline gap-x-2 gap-y-0.5", children: [
60
60
  /* @__PURE__ */ r("span", { className: "text-[13.5px] font-semibold text-foreground", children: e.label }),
61
- S && /* @__PURE__ */ r(te, { windows: C, at: S, className: "self-center" }),
61
+ S && /* @__PURE__ */ r(ne, { windows: C, at: S, className: "self-center" }),
62
62
  e.error ? /* @__PURE__ */ r("span", { className: x("text-[12px] font-medium", L.negative), children: "Couldn't evaluate" }) : /* @__PURE__ */ a("span", { className: "text-[12px] tabular-nums text-muted-foreground", children: [
63
63
  y && e.snoozed.length > 0 ? /* @__PURE__ */ a(T, { children: [
64
64
  /* @__PURE__ */ r("span", { className: "font-semibold text-foreground", children: e.snoozed.length }),
65
65
  " ",
66
66
  "snoozed · none open"
67
67
  ] }) : /* @__PURE__ */ a(T, { children: [
68
- /* @__PURE__ */ r("span", { className: x("font-semibold", L[k]), children: e.count }),
68
+ /* @__PURE__ */ r("span", { className: x("font-semibold", L[k]), children: M(e.count) }),
69
69
  " ",
70
70
  "open"
71
71
  ] }),
72
- v && /* @__PURE__ */ a("span", { "data-tip": `Oldest first seen ${U(v)}`, children: [
72
+ v && /* @__PURE__ */ a("span", { "data-tip": `Oldest first seen ${j(v)}`, children: [
73
73
  " ",
74
74
  "· oldest ",
75
- ue(v)
75
+ me(v)
76
76
  ] }),
77
77
  !y && e.snoozed.length > 0 && /* @__PURE__ */ a(T, { children: [
78
78
  " · ",
@@ -81,10 +81,10 @@ function Te({
81
81
  ] })
82
82
  ] })
83
83
  ] }),
84
- /* @__PURE__ */ r("span", { className: "mt-0.5 block truncate text-[12px] text-muted-foreground", children: e.error ? e.error : b ? `${b.title}${b.detail ? ` — ${B(b.detail)}` : ""}` : e.description })
84
+ /* @__PURE__ */ r("span", { className: "mt-0.5 block truncate text-[12px] text-muted-foreground", children: e.error ? e.error : b ? `${b.title}${b.detail ? ` — ${K(b.detail)}` : ""}` : e.description })
85
85
  ] }),
86
86
  /* @__PURE__ */ r(
87
- E,
87
+ I,
88
88
  {
89
89
  className: x(
90
90
  "mt-1 h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200",
@@ -103,7 +103,7 @@ function Te({
103
103
  ] }) : /* @__PURE__ */ a(T, { children: [
104
104
  /* @__PURE__ */ r("p", { className: "max-w-[80ch] px-4 pb-1 pt-3 text-[12px] leading-relaxed text-muted-foreground", children: e.description }),
105
105
  /* @__PURE__ */ r(
106
- fe,
106
+ be,
107
107
  {
108
108
  signal: e,
109
109
  rows: e.rows,
@@ -114,9 +114,9 @@ function Te({
114
114
  ),
115
115
  e.count > e.shown && /* @__PURE__ */ a("p", { className: "px-4 pb-3 text-[12px] text-muted-foreground", children: [
116
116
  "Showing ",
117
- e.shown,
117
+ M(e.shown),
118
118
  " of ",
119
- e.count,
119
+ M(e.count),
120
120
  ". The rest appear as these are cleared."
121
121
  ] })
122
122
  ] }),
@@ -131,7 +131,7 @@ function Te({
131
131
  className: "flex w-full items-center gap-1.5 px-4 py-2 text-left text-[12px] font-medium text-muted-foreground hover:text-foreground",
132
132
  children: [
133
133
  /* @__PURE__ */ r(
134
- E,
134
+ I,
135
135
  {
136
136
  className: x("h-3.5 w-3.5 transition-transform", z && "rotate-90")
137
137
  }
@@ -142,21 +142,21 @@ function Te({
142
142
  ]
143
143
  }
144
144
  ),
145
- z && /* @__PURE__ */ r(ge, { signal: e })
145
+ z && /* @__PURE__ */ r(xe, { signal: e })
146
146
  ] })
147
147
  ] })
148
148
  ]
149
149
  }
150
150
  );
151
151
  }
152
- function fe({
152
+ function be({
153
153
  signal: e,
154
154
  rows: t,
155
155
  onOpenRecord: m,
156
156
  onExplain: g,
157
157
  canExplain: p
158
158
  }) {
159
- const l = ne(), f = oe(), [y, k] = A({}), [w, v] = A(/* @__PURE__ */ new Set()), [C, S] = A(/* @__PURE__ */ new Set()), b = X(() => {
159
+ const l = oe(), f = re(), [y, k] = A({}), [w, v] = A(/* @__PURE__ */ new Set()), [C, S] = A(/* @__PURE__ */ new Set()), b = H(() => {
160
160
  if (!t.some((s) => s.group)) return null;
161
161
  const o = /* @__PURE__ */ new Map();
162
162
  for (const s of t) {
@@ -176,7 +176,7 @@ function fe({
176
176
  return u;
177
177
  }), S((n) => new Set([...n].filter((u) => !i.includes(u))));
178
178
  } catch (c) {
179
- const n = ((d = c == null ? void 0 : c.response) == null ? void 0 : d.error) ?? I(c, "The action failed");
179
+ const n = ((d = c == null ? void 0 : c.response) == null ? void 0 : d.error) ?? P(c, "The action failed");
180
180
  k((u) => {
181
181
  const h = { ...u };
182
182
  for (const $ of i) h[$] = { key: $, ok: !1, message: n };
@@ -192,7 +192,7 @@ function fe({
192
192
  try {
193
193
  await f.mutateAsync({ signal: e.id, row_keys: s }), S((d) => new Set([...d].filter((c) => !s.includes(c))));
194
194
  } catch (d) {
195
- const c = ((i = d == null ? void 0 : d.response) == null ? void 0 : i.error) ?? I(d, "Could not dismiss");
195
+ const c = ((i = d == null ? void 0 : d.response) == null ? void 0 : i.error) ?? P(d, "Could not dismiss");
196
196
  k((n) => {
197
197
  const u = { ...n };
198
198
  for (const h of s) u[h] = { key: h, ok: !1, message: c };
@@ -214,7 +214,7 @@ function fe({
214
214
  }
215
215
  z(o, [s]);
216
216
  }, N = (o, s) => /* @__PURE__ */ r(
217
- be,
217
+ ge,
218
218
  {
219
219
  signal: e,
220
220
  row: o,
@@ -259,7 +259,7 @@ function fe({
259
259
  onClick: () => void _(s),
260
260
  className: "inline-flex h-7 items-center gap-1.5 rounded-md border border-border bg-card px-2.5 text-[12px] font-medium text-foreground hover:bg-muted disabled:opacity-60",
261
261
  children: [
262
- s.some((i) => w.has(i.key)) && /* @__PURE__ */ r(M, { className: "h-3 w-3 animate-spin" }),
262
+ s.some((i) => w.has(i.key)) && /* @__PURE__ */ r(B, { className: "h-3 w-3 animate-spin" }),
263
263
  "Dismiss selected ",
264
264
  s.length
265
265
  ]
@@ -274,12 +274,12 @@ function fe({
274
274
  for (const n of s) {
275
275
  const u = /* @__PURE__ */ new Set();
276
276
  for (const h of n.actions) {
277
- if (!me.includes(h.kind)) continue;
278
- const $ = pe(h);
277
+ if (!pe.includes(h.kind)) continue;
278
+ const $ = he(h);
279
279
  if (u.has($)) continue;
280
280
  u.add($);
281
- const K = d.get($) ?? { action: h, rows: [] };
282
- K.rows.push(n), d.set($, K);
281
+ const E = d.get($) ?? { action: h, rows: [] };
282
+ E.rows.push(n), d.set($, E);
283
283
  }
284
284
  }
285
285
  const c = s.some((n) => w.has(n.key));
@@ -305,7 +305,7 @@ function fe({
305
305
  }
306
306
  ),
307
307
  /* @__PURE__ */ r("span", { className: "text-[12.5px] font-semibold text-foreground", children: o.label }),
308
- /* @__PURE__ */ r("span", { className: "text-[12px] tabular-nums text-muted-foreground", children: o.rows.length }),
308
+ /* @__PURE__ */ r("span", { className: "text-[12px] tabular-nums text-muted-foreground", children: M(o.rows.length) }),
309
309
  /* @__PURE__ */ a("span", { className: "ml-auto flex items-center gap-1", children: [
310
310
  [...d.entries()].map(([n, u]) => /* @__PURE__ */ a(
311
311
  "button",
@@ -319,7 +319,7 @@ function fe({
319
319
  children: [
320
320
  u.action.label,
321
321
  " ",
322
- u.rows.length
322
+ M(u.rows.length)
323
323
  ]
324
324
  },
325
325
  n
@@ -333,14 +333,14 @@ function fe({
333
333
  onClick: () => void _(s),
334
334
  className: "inline-flex h-7 items-center gap-1.5 rounded-md border border-border bg-card px-2.5 text-[12px] font-medium text-foreground hover:bg-muted disabled:opacity-60",
335
335
  children: [
336
- c && /* @__PURE__ */ r(M, { className: "h-3 w-3 animate-spin" }),
336
+ c && /* @__PURE__ */ r(B, { className: "h-3 w-3 animate-spin" }),
337
337
  "Dismiss selected ",
338
338
  s.length
339
339
  ]
340
340
  }
341
341
  ),
342
342
  /* @__PURE__ */ r(
343
- R,
343
+ U,
344
344
  {
345
345
  signal: e.id,
346
346
  signalLabel: e.label,
@@ -361,10 +361,10 @@ function fe({
361
361
  ] }, o.key);
362
362
  }) });
363
363
  }
364
- function P(e) {
365
- return e.label ? e.label : `${Y(e.collection).replace(/s$/, "")} ${e.id}`;
364
+ function O(e) {
365
+ return e.label ? e.label : `${Z(e.collection).replace(/s$/, "")} ${e.id}`;
366
366
  }
367
- function be({
367
+ function ge({
368
368
  signal: e,
369
369
  row: t,
370
370
  result: m,
@@ -379,7 +379,7 @@ function be({
379
379
  var i, d, c;
380
380
  const v = t.since ?? t.first_seen, C = t.actions.filter(
381
381
  (n) => !(n.kind === "open" && t.record) && !(n.kind === "explain" && (w == null ? void 0 : w(n)) === !1)
382
- ), { isAdmin: S } = Q(), [b, z] = A(!1), _ = H(), D = J(null), N = ie(t.drill), o = ((i = t.drill) == null ? void 0 : i.kind) === "submission" ? t.actions.find((n) => {
382
+ ), { isAdmin: S } = Y(), [b, z] = A(!1), _ = J(), D = Q(null), N = se(t.drill), o = ((i = t.drill) == null ? void 0 : i.kind) === "submission" ? t.actions.find((n) => {
383
383
  var u;
384
384
  return n.kind === "retry_submission" && n.id === ((u = t.drill) == null ? void 0 : u.id);
385
385
  }) : void 0, s = () => {
@@ -411,12 +411,12 @@ function be({
411
411
  "p",
412
412
  {
413
413
  className: "mt-0.5 line-clamp-2 break-words text-[12px] leading-snug text-muted-foreground",
414
- "data-tip": t.detail.length > 140 || B(t.detail) !== t.detail.trim() ? t.detail.slice(0, 900) : void 0,
415
- children: B(t.detail)
414
+ "data-tip": t.detail.length > 140 || K(t.detail) !== t.detail.trim() ? t.detail.slice(0, 900) : void 0,
415
+ children: K(t.detail)
416
416
  }
417
417
  ),
418
418
  /* @__PURE__ */ r(
419
- O,
419
+ R,
420
420
  {
421
421
  since: v,
422
422
  record: t.record,
@@ -439,7 +439,7 @@ function be({
439
439
  {
440
440
  className: x(
441
441
  "mt-[5px] h-1.5 w-1.5 shrink-0 rounded-full",
442
- le[m.ok ? "positive" : "negative"]
442
+ de[m.ok ? "positive" : "negative"]
443
443
  )
444
444
  }
445
445
  ),
@@ -449,7 +449,7 @@ function be({
449
449
  )
450
450
  ] }),
451
451
  /* @__PURE__ */ r(
452
- O,
452
+ R,
453
453
  {
454
454
  since: v,
455
455
  record: t.record,
@@ -478,7 +478,7 @@ function be({
478
478
  children: [
479
479
  "Details",
480
480
  /* @__PURE__ */ r(
481
- G,
481
+ V,
482
482
  {
483
483
  className: x(
484
484
  "h-3 w-3 transition-transform duration-200",
@@ -499,15 +499,15 @@ function be({
499
499
  onClick: () => y(n),
500
500
  className: "inline-flex h-7 items-center gap-1.5 rounded-md border border-border bg-card px-2.5 text-[12px] font-medium text-foreground transition-colors hover:bg-muted disabled:opacity-60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
501
501
  children: [
502
- g && n.kind !== "explain" && /* @__PURE__ */ r(M, { className: "h-3 w-3 animate-spin" }),
502
+ g && n.kind !== "explain" && /* @__PURE__ */ r(B, { className: "h-3 w-3 animate-spin" }),
503
503
  n.label
504
504
  ]
505
505
  },
506
- j(n)
506
+ F(n)
507
507
  )),
508
- /* @__PURE__ */ r(ae, { signal: e.id, rowKey: t.key }),
508
+ /* @__PURE__ */ r(le, { signal: e.id, rowKey: t.key }),
509
509
  /* @__PURE__ */ r(
510
- R,
510
+ U,
511
511
  {
512
512
  signal: e.id,
513
513
  signalLabel: e.label,
@@ -519,7 +519,7 @@ function be({
519
519
  ] })
520
520
  ] }),
521
521
  S && /* @__PURE__ */ r("div", { className: "pb-3 pl-11 pr-4", "data-ic-explain": t.key, children: /* @__PURE__ */ r(
522
- Z,
522
+ ee,
523
523
  {
524
524
  kind: "signal-row",
525
525
  params: { signal: e.id, row_key: t.key },
@@ -537,7 +537,7 @@ function be({
537
537
  },
538
538
  className: "border-t border-border pb-4 pl-11 pr-4 pt-3",
539
539
  children: /* @__PURE__ */ r(
540
- se,
540
+ ae,
541
541
  {
542
542
  drill: t.drill,
543
543
  onOpenRecord: k,
@@ -551,7 +551,7 @@ function be({
551
551
  }
552
552
  );
553
553
  }
554
- function O({
554
+ function R({
555
555
  since: e,
556
556
  record: t,
557
557
  onOpenRecord: m,
@@ -559,9 +559,9 @@ function O({
559
559
  stacked: p
560
560
  }) {
561
561
  return /* @__PURE__ */ a("div", { className: x("flex items-center text-[11.5px] text-muted-foreground", g), children: [
562
- /* @__PURE__ */ a("span", { "data-tip": U(e), className: "tabular-nums", children: [
562
+ /* @__PURE__ */ a("span", { "data-tip": j(e), className: "tabular-nums", children: [
563
563
  "Since ",
564
- de(e)
564
+ ce(e)
565
565
  ] }),
566
566
  t && /* @__PURE__ */ a(T, { children: [
567
567
  !p && /* @__PURE__ */ r("span", { "aria-hidden": !0, children: "·" }),
@@ -573,16 +573,16 @@ function O({
573
573
  onClick: () => m(t.collection, t.id),
574
574
  className: "inline-flex max-w-full items-center gap-1 truncate font-medium text-foreground underline decoration-border underline-offset-2 hover:decoration-foreground",
575
575
  children: [
576
- P(t),
577
- /* @__PURE__ */ r(V, { className: "h-3 w-3 shrink-0 opacity-60", "aria-hidden": !0 })
576
+ O(t),
577
+ /* @__PURE__ */ r(X, { className: "h-3 w-3 shrink-0 opacity-60", "aria-hidden": !0 })
578
578
  ]
579
579
  }
580
- ) : /* @__PURE__ */ r("span", { className: "font-medium text-foreground", children: P(t) })
580
+ ) : /* @__PURE__ */ r("span", { className: "font-medium text-foreground", children: O(t) })
581
581
  ] })
582
582
  ] });
583
583
  }
584
- function ge({ signal: e }) {
585
- const { remove: t } = re(), m = /* @__PURE__ */ new Map();
584
+ function xe({ signal: e }) {
585
+ const { remove: t } = ie(), m = /* @__PURE__ */ new Map();
586
586
  for (const p of e.snoozed) {
587
587
  if (!p.snooze) continue;
588
588
  const l = m.get(p.snooze.id) ?? [];
@@ -622,6 +622,6 @@ function ge({ signal: e }) {
622
622
  }) });
623
623
  }
624
624
  export {
625
- Te as SignalCard,
626
- he as oldestSeen
625
+ Le as SignalCard,
626
+ fe as oldestSeen
627
627
  };