@nivaro/react 0.3.117 → 0.3.119

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 (138) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +136 -14
  4. package/dist/index.js +488 -485
  5. package/dist/shared/components/ActivityEntry.js +130 -125
  6. package/dist/shared/components/AgentPresenceChip.js +36 -26
  7. package/dist/shared/components/CellCopyLayer.js +50 -45
  8. package/dist/shared/components/CollectionBrowserView.js +3757 -3695
  9. package/dist/shared/components/FilePreviewLightbox.js +96 -58
  10. package/dist/shared/components/InStep.js +18 -17
  11. package/dist/shared/components/ItemEditForm.js +4451 -4385
  12. package/dist/shared/components/JobsTray.js +8 -8
  13. package/dist/shared/components/LiveNewMatchesPill.js +21 -14
  14. package/dist/shared/components/LiveOffNote.js +3 -2
  15. package/dist/shared/components/LiveRowMark.js +53 -23
  16. package/dist/shared/components/LiveTraceView.js +162 -123
  17. package/dist/shared/components/MyWorkView.js +320 -299
  18. package/dist/shared/components/NotificationBell.js +14 -14
  19. package/dist/shared/components/OverflowRail.js +1 -1
  20. package/dist/shared/components/PageRenderer.js +120 -116
  21. package/dist/shared/components/ProfileView.js +203 -202
  22. package/dist/shared/components/RealtimeStatusBanner.js +31 -29
  23. package/dist/shared/components/RecordDrilldownSheet.js +7 -7
  24. package/dist/shared/components/RecordHoverCard.js +102 -84
  25. package/dist/shared/components/RecordReadView.js +146 -146
  26. package/dist/shared/components/ScreenRefreshButton.js +34 -32
  27. package/dist/shared/components/TipLayer.js +65 -58
  28. package/dist/shared/components/WidgetImageMenu.js +83 -43
  29. package/dist/shared/components/activity/RecordActivityStream.js +175 -173
  30. package/dist/shared/components/bulk/BulkSelectionNotices.js +142 -119
  31. package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +158 -143
  32. package/dist/shared/components/change-proposals/ProposeChangeButton.js +17 -11
  33. package/dist/shared/components/change-proposals/ProposeChangeDialog.js +201 -173
  34. package/dist/shared/components/chat/ChatAnalyticsView.js +27 -27
  35. package/dist/shared/components/chat/HuddleAnalyticsTab.js +17 -17
  36. package/dist/shared/components/collections-directory/CollectionsToolbar.js +39 -41
  37. package/dist/shared/components/collections-directory/page-model.js +72 -67
  38. package/dist/shared/components/integrations/RecordIntegrationPreview.js +48 -56
  39. package/dist/shared/components/integrations/SendStatus.js +65 -59
  40. package/dist/shared/components/integrations/console/ReadyToSendView.js +275 -209
  41. package/dist/shared/components/integrations/console/SignalCard.js +237 -230
  42. package/dist/shared/components/item-edit/CatalogPickerField.js +227 -205
  43. package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +135 -94
  44. package/dist/shared/components/item-edit/CloneDialog.js +191 -161
  45. package/dist/shared/components/item-edit/DerivedCauseNote.js +44 -30
  46. package/dist/shared/components/item-edit/DraftRecoveryBanner.js +153 -134
  47. package/dist/shared/components/item-edit/FieldComments.js +88 -85
  48. package/dist/shared/components/item-edit/FieldPointer.js +82 -67
  49. package/dist/shared/components/item-edit/FieldRow.js +106 -100
  50. package/dist/shared/components/item-edit/FieldSourceBadge.js +58 -56
  51. package/dist/shared/components/item-edit/FilePickerField.js +452 -387
  52. package/dist/shared/components/item-edit/HeaderSummaryChip.js +78 -56
  53. package/dist/shared/components/item-edit/HeaderTools.js +245 -141
  54. package/dist/shared/components/item-edit/InlineTableField.js +1242 -1218
  55. package/dist/shared/components/item-edit/ListNeighborNav.js +47 -50
  56. package/dist/shared/components/item-edit/LiveTraceSheet.js +15 -10
  57. package/dist/shared/components/item-edit/MembershipSetField.js +285 -254
  58. package/dist/shared/components/item-edit/OutboxReviewTray.js +155 -144
  59. package/dist/shared/components/item-edit/QueueReturnChip.js +15 -36
  60. package/dist/shared/components/item-edit/RecalcValue.js +57 -32
  61. package/dist/shared/components/item-edit/RecordHelpChip.js +15 -16
  62. package/dist/shared/components/item-edit/RecordLiveSync.js +283 -231
  63. package/dist/shared/components/item-edit/RelationCombobox.js +439 -393
  64. package/dist/shared/components/item-edit/RemoteChangeUi.js +292 -224
  65. package/dist/shared/components/item-edit/RemoteUploads.js +26 -20
  66. package/dist/shared/components/item-edit/RemovedLineNote.js +77 -67
  67. package/dist/shared/components/item-edit/RichTextEditorImpl.js +184 -179
  68. package/dist/shared/components/item-edit/ScheduledChangeChip.js +168 -134
  69. package/dist/shared/components/item-edit/SectionPresence.js +18 -10
  70. package/dist/shared/components/item-edit/SplitLinesButton.js +163 -139
  71. package/dist/shared/components/item-edit/UserChip.js +1 -1
  72. package/dist/shared/components/item-edit/addendum-view.js +6 -0
  73. package/dist/shared/components/item-edit/file-live.js +69 -54
  74. package/dist/shared/components/item-edit/layout-switch.js +98 -89
  75. package/dist/shared/components/item-edit/partner-needs.js +12 -12
  76. package/dist/shared/components/item-edit/removed-line.js +31 -25
  77. package/dist/shared/components/layout-editor/pickers/field-picker.js +151 -130
  78. package/dist/shared/components/list/ListViewers.js +46 -35
  79. package/dist/shared/components/notifications/NotificationCenterView.js +479 -437
  80. package/dist/shared/components/panels/AccessDeniedPanel.js +176 -101
  81. package/dist/shared/components/panels/AlertBanners.js +82 -72
  82. package/dist/shared/components/panels/BranchLanes.js +22 -22
  83. package/dist/shared/components/panels/CommentImages.js +123 -102
  84. package/dist/shared/components/panels/CommentPanel.js +186 -185
  85. package/dist/shared/components/panels/ExternalRequestsChip.js +111 -119
  86. package/dist/shared/components/panels/OwnerOpenedLine.js +31 -24
  87. package/dist/shared/components/panels/PipelinePanel.js +2037 -1885
  88. package/dist/shared/components/panels/ResubmissionDiff.js +163 -142
  89. package/dist/shared/components/pipeline/OwnerMatrixSheet.js +400 -288
  90. package/dist/shared/components/pipeline/PipelineEditorView.js +7 -2
  91. package/dist/shared/components/profile/AgentNameField.js +107 -81
  92. package/dist/shared/components/profile/AgentsPanel.js +184 -184
  93. package/dist/shared/components/profile/PersonAccess.js +599 -495
  94. package/dist/shared/components/profile/SignInTroubleshooter.js +160 -127
  95. package/dist/shared/components/profile/SignedInDevices.js +17 -17
  96. package/dist/shared/components/profile/primitives.js +1 -1
  97. package/dist/shared/components/queue/OwnerAvatars.js +91 -54
  98. package/dist/shared/components/queue/QueueTeamStrip.js +56 -46
  99. package/dist/shared/components/queue/QueueWorklist.js +1002 -983
  100. package/dist/shared/components/support/AssignRules.js +1733 -0
  101. package/dist/shared/components/support/PersonPick.js +88 -0
  102. package/dist/shared/components/support/RequestList.js +790 -0
  103. package/dist/shared/components/support/ScreenShare.js +158 -152
  104. package/dist/shared/components/support/SupportRequestDialog.js +50 -48
  105. package/dist/shared/components/support/SupportView.js +140 -246
  106. package/dist/shared/components/support/TicketDetailSheet.js +82 -75
  107. package/dist/shared/components/support/TicketSlowScreens.js +9 -9
  108. package/dist/shared/components/support/assign-rules-text.js +171 -0
  109. package/dist/shared/components/support/support-list.js +125 -0
  110. package/dist/shared/components/ui/SimpleSelect.js +28 -20
  111. package/dist/shared/components/ui/checkbox.js +6 -6
  112. package/dist/shared/components/ui/select.js +43 -39
  113. package/dist/shared/components/ui/sheet.js +9 -9
  114. package/dist/shared/components/ui/switch.js +12 -11
  115. package/dist/shared/components/watch-list/WatchDock.js +532 -459
  116. package/dist/shared/components/watch-list/WatchExtras.js +332 -286
  117. package/dist/shared/components/watch-list/WatchRows.js +164 -140
  118. package/dist/shared/lib/activity-sentence.js +103 -91
  119. package/dist/shared/lib/agent-presence.js +27 -21
  120. package/dist/shared/lib/approval-progress.js +2 -2
  121. package/dist/shared/lib/copy-rules.js +31 -24
  122. package/dist/shared/lib/derived-causes.js +113 -78
  123. package/dist/shared/lib/grid-cursors.js +26 -26
  124. package/dist/shared/lib/label-flash.js +27 -0
  125. package/dist/shared/lib/list-return.js +137 -125
  126. package/dist/shared/lib/live-deltas.js +40 -34
  127. package/dist/shared/lib/live-groups.js +56 -52
  128. package/dist/shared/lib/live-preference.js +64 -59
  129. package/dist/shared/lib/live-screen.js +223 -192
  130. package/dist/shared/lib/partner-failure.js +11 -11
  131. package/dist/shared/lib/rollup-recalc.js +68 -64
  132. package/dist/shared/lib/screen-refresh.js +74 -68
  133. package/dist/shared/lib/screen-share.js +108 -104
  134. package/dist/shared/lib/send-status.js +77 -61
  135. package/dist/shared/lib/text-diff-window.js +29 -0
  136. package/dist/shared/lib/watch-list.js +210 -209
  137. package/dist/shared/lib/widget-image-render.js +72 -49
  138. package/package.json +1 -1
@@ -1,210 +1,254 @@
1
- import { jsxs as r, jsx as n, Fragment as v } from "react/jsx-runtime";
2
- import { Loader2 as I, Play as X, Clock as Y, CheckCircle2 as q, RefreshCw as z } from "lucide-react";
3
- import { useState as y, useMemo as L } from "react";
1
+ import { jsxs as s, jsx as n, Fragment as v } from "react/jsx-runtime";
2
+ import { Loader2 as K, Play as H, Clock as J, CheckCircle2 as U, RefreshCw as Z } from "lucide-react";
3
+ import { useState as w, useMemo as M } from "react";
4
4
  import { toast as $ } from "sonner";
5
- import { useItemNavigation as H } from "../../../context.js";
6
- import { toastError as W } from "../../../lib/error-toast.js";
7
- import { cn as m } from "../../../lib/utils.js";
8
- import { QueryErrorState as J } from "../../QueryErrorState.js";
9
- import { useReadyBoard as U, useRunReadyCheck as Z, useCheckReadyRecord as ee } from "./api.js";
10
- import { Segment as ne } from "./EventsView.js";
11
- import { agoText as C, exactTime as re, TONE_TEXT as w, TONE_SOFT as D, TONE_BORDER as te, TONE_FILL as G } from "./tone.js";
12
- const E = {
5
+ import { useItemNavigation as ee } from "../../../context.js";
6
+ import { toastError as V } from "../../../lib/error-toast.js";
7
+ import { cn as h } from "../../../lib/utils.js";
8
+ import { QueryErrorState as re } from "../../QueryErrorState.js";
9
+ import { SimpleSelect as O } from "../../ui/SimpleSelect.js";
10
+ import { useReadyBoard as ne, useRunReadyCheck as te, useCheckReadyRecord as se } from "./api.js";
11
+ import { Segment as oe } from "./EventsView.js";
12
+ import { agoText as P, exactTime as ae, TONE_TEXT as k, TONE_SOFT as Q, TONE_BORDER as ie, TONE_FILL as X } from "./tone.js";
13
+ const R = {
13
14
  block: { tone: "negative", label: "Would be refused", short: "Refused" },
14
15
  warn: { tone: "warning", label: "Would send incomplete", short: "Incomplete" },
15
16
  ask: { tone: "info", label: "Asks for something when sent", short: "Asks on send" }
16
- }, N = 50, R = (e, o, d = `${o}s`) => `${e} ${e === 1 ? o : d}`;
17
- function se(e, o, d) {
17
+ }, N = 50, C = (e, o, l = `${o}s`) => `${e} ${e === 1 ? o : l}`;
18
+ function le(e, o, l) {
18
19
  return e.filter(
19
- (i) => (!o.partner || i.partners.includes(o.partner) || i.issues.some((l) => l.partner === o.partner)) && (!o.problem || i.issues.some((l) => d(l) === o.problem)) && (!o.severity || i.worst === o.severity)
20
+ (i) => (!o.partner || i.partners.includes(o.partner) || i.issues.some((d) => d.partner === o.partner)) && (!o.problem || i.issues.some((d) => l(d) === o.problem)) && (!o.severity || i.worst === o.severity)
20
21
  );
21
22
  }
22
- const oe = (e) => `${e.severity}|${e.message.replace(/\bon \d+ lines?\b/, "on some lines").trim()}`;
23
- function xe({ onOpenRecord: e }) {
24
- var B;
25
- const o = U(), d = Z(), [i, l] = y(null), [c, p] = y(null), [u, b] = y(""), [a, h] = y(N), s = o.data, x = L(() => (s == null ? void 0 : s.entries) ?? [], [s]), g = L(
26
- () => se(x, { partner: i, problem: c, severity: u }, oe),
27
- [x, i, c, u]
28
- ), T = `${i}|${c}|${u}`, [M, V] = y(T);
29
- if (M !== T && (V(T), h(N)), o.isLoading)
30
- return /* @__PURE__ */ r("div", { className: "space-y-3", "aria-busy": !0, "data-ic-ready-loading": !0, children: [
23
+ const de = (e) => `${e.severity}|${e.message.replace(/\bon \d+ lines?\b/, "on some lines").trim()}`;
24
+ function Ce({ onOpenRecord: e }) {
25
+ var B, F, I;
26
+ const o = ne(), l = te(), [i, d] = w(null), [c, b] = w(null), [u, y] = w(""), [a, x] = w(N), t = o.data, p = M(() => (t == null ? void 0 : t.entries) ?? [], [t]), g = M(
27
+ () => le(p, { partner: i, problem: c, severity: u }, de),
28
+ [p, i, c, u]
29
+ ), S = `${i}|${c}|${u}`, [Y, q] = w(S);
30
+ if (Y !== S && (q(S), x(N)), o.isLoading)
31
+ return /* @__PURE__ */ s("div", { className: "space-y-3", "aria-busy": !0, "data-ic-ready-loading": !0, children: [
31
32
  /* @__PURE__ */ n("div", { className: "h-5 w-80 animate-pulse rounded bg-[hsl(var(--nvr-skeleton))]" }),
32
- /* @__PURE__ */ r("div", { className: "grid gap-5 lg:grid-cols-[260px_minmax(0,1fr)]", children: [
33
+ /* @__PURE__ */ s("div", { className: "grid gap-5 lg:grid-cols-[260px_minmax(0,1fr)]", children: [
33
34
  /* @__PURE__ */ n("div", { className: "h-48 animate-pulse rounded-lg bg-[hsl(var(--nvr-skeleton))]" }),
34
35
  /* @__PURE__ */ n("div", { className: "h-72 animate-pulse rounded-lg bg-[hsl(var(--nvr-skeleton))]" })
35
36
  ] })
36
37
  ] });
37
- if (o.isError || !s)
38
+ if (o.isError || !t)
38
39
  return /* @__PURE__ */ n(
39
- J,
40
+ re,
40
41
  {
41
42
  error: o.error,
42
43
  what: "the ready-to-send board",
43
44
  onRetry: () => o.refetch()
44
45
  }
45
46
  );
46
- const Q = () => d.mutate(void 0, {
47
+ const z = () => l.mutate(void 0, {
47
48
  onSuccess: () => $.success("Checking every record that sends next. The board fills in when it is done."),
48
- onError: (t) => W(t, "Could not start the check")
49
- }), j = s.can_run ? /* @__PURE__ */ r(
49
+ onError: (r) => V(r, "Could not start the check")
50
+ }), _ = t.can_run ? /* @__PURE__ */ s(
50
51
  "button",
51
52
  {
52
53
  type: "button",
53
54
  "data-ic-ready-run": !0,
54
- disabled: d.isPending || s.running,
55
- onClick: Q,
55
+ disabled: l.isPending || t.running,
56
+ onClick: z,
56
57
  className: "inline-flex h-8 shrink-0 items-center gap-1.5 rounded-md border border-border bg-card px-3 text-[12.5px] font-medium text-foreground transition-colors hover:bg-muted disabled:opacity-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
57
58
  children: [
58
- d.isPending || s.running ? /* @__PURE__ */ n(I, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ n(X, { className: "h-3.5 w-3.5" }),
59
- s.running ? "Checking…" : "Run now"
59
+ l.isPending || t.running ? /* @__PURE__ */ n(K, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ n(H, { className: "h-3.5 w-3.5" }),
60
+ t.running ? "Checking…" : "Run now"
60
61
  ]
61
62
  }
62
63
  ) : null;
63
- if (!s.run)
64
- return /* @__PURE__ */ r(
65
- "div",
66
- {
67
- "data-ic-ready-empty": !0,
68
- className: "flex flex-wrap items-start gap-4 rounded-lg border border-border bg-card px-5 py-6",
69
- children: [
70
- /* @__PURE__ */ r("div", { className: "min-w-0 flex-1 space-y-1", children: [
71
- /* @__PURE__ */ n("p", { className: "text-[14px] font-semibold text-foreground", children: s.running ? "The first check is running" : "Not checked yet" }),
72
- /* @__PURE__ */ n("p", { className: "max-w-[68ch] text-[12.5px] leading-relaxed text-muted-foreground", children: "Every night, each open record whose next step sends to a partner is checked the way its Push readiness check does: missing values, conditions, and what the partner needs. What would be refused shows up here, so it can be fixed before someone presses the button." })
73
- ] }),
74
- j
75
- ]
76
- }
77
- );
78
- const f = s.totals ?? { records: 0, refused: 0, warnings: 0, asks: 0 }, S = s.run.generated_at, k = s.coverage, A = !!(i || c || u);
79
- return /* @__PURE__ */ r("div", { className: "space-y-4", "data-ic-ready": !0, children: [
80
- /* @__PURE__ */ r("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-2", children: [
81
- /* @__PURE__ */ r("p", { className: "min-w-0 text-[13px] text-muted-foreground", "data-ic-ready-summary": !0, children: [
82
- f.records === 0 ? /* @__PURE__ */ n("span", { className: "font-medium text-foreground", children: "Nothing in the way of the next sends" }) : /* @__PURE__ */ r(v, { children: [
83
- /* @__PURE__ */ n(P, { n: f.refused, tone: "negative" }),
84
- " would be refused",
85
- " · ",
86
- /* @__PURE__ */ n(P, { n: f.warnings, tone: "warning" }),
87
- " would send incomplete",
88
- " · ",
89
- /* @__PURE__ */ n(P, { n: f.asks, tone: "info" }),
90
- " ask for something when sent"
91
- ] }),
64
+ if (!t.run)
65
+ return /* @__PURE__ */ s("div", { className: "space-y-4", "data-ic-ready-empty": !0, children: [
66
+ /* @__PURE__ */ s(W, { runButton: _, children: [
67
+ /* @__PURE__ */ n("span", { className: "font-medium text-foreground", children: t.running ? "The first check is running" : "Not checked yet" }),
68
+ t.running && ((B = t.progress) != null && B.total) ? ` · ${t.progress.checked} of ${t.progress.total} records so far` : ""
69
+ ] }),
70
+ /* @__PURE__ */ n("div", { className: "rounded-lg border border-border bg-card px-5 py-6", children: /* @__PURE__ */ n("p", { className: "max-w-[68ch] text-[12.5px] leading-relaxed text-muted-foreground", children: "Every night, each open record whose next step sends to a partner is checked the way its Push readiness check does: missing values, conditions, and what the partner needs. What would be refused shows up here, so it can be fixed before someone presses the button." }) })
71
+ ] });
72
+ const f = t.totals ?? { records: 0, refused: 0, warnings: 0, asks: 0 }, A = t.run.generated_at, m = t.coverage, j = !!(i || c || u), L = m ? Math.max(0, m.checked - m.ready - m.errors - f.records) : 0;
73
+ return /* @__PURE__ */ s("div", { className: "space-y-4", "data-ic-ready": !0, children: [
74
+ /* @__PURE__ */ s(W, { runButton: _, children: [
75
+ f.records === 0 ? /* @__PURE__ */ n("span", { className: "font-medium text-foreground", children: "Nothing in the way of the next sends" }) : /* @__PURE__ */ s(v, { children: [
76
+ /* @__PURE__ */ n(E, { n: f.refused, tone: "negative" }),
77
+ " would be refused",
92
78
  " · ",
93
- /* @__PURE__ */ r("span", { "data-tip": re(S), children: [
94
- "checked ",
95
- C(S)
96
- ] }),
97
- k && /* @__PURE__ */ r(v, { children: [
98
- " · ",
99
- /* @__PURE__ */ r("span", { "data-ic-ready-coverage": !0, children: [
100
- R(k.checked, "record"),
101
- " with a send next",
102
- k.ready > 0 ? `, ${k.ready} ready` : ""
103
- ] })
104
- ] })
79
+ /* @__PURE__ */ n(E, { n: f.warnings, tone: "warning" }),
80
+ " would send incomplete",
81
+ " · ",
82
+ /* @__PURE__ */ n(E, { n: f.asks, tone: "info" }),
83
+ " ask for something when sent"
105
84
  ] }),
106
- /* @__PURE__ */ n("div", { className: "ml-auto", children: j })
85
+ " · ",
86
+ /* @__PURE__ */ s("span", { "data-tip": ae(A), children: [
87
+ "checked ",
88
+ P(A)
89
+ ] }),
90
+ m && /* @__PURE__ */ s(v, { children: [
91
+ " · ",
92
+ /* @__PURE__ */ s("span", { "data-ic-ready-coverage": !0, children: [
93
+ C(m.checked, "record"),
94
+ " with a send next",
95
+ m.ready > 0 ? `, ${m.ready} ready` : "",
96
+ m.errors > 0 ? `, ${m.errors} could not be checked` : "",
97
+ L > 0 ? `, ${L} not shown to you` : ""
98
+ ] })
99
+ ] })
107
100
  ] }),
108
- s.running && /* @__PURE__ */ r(
109
- K,
101
+ t.running && /* @__PURE__ */ s(
102
+ D,
110
103
  {
111
104
  tone: "info",
112
- icon: /* @__PURE__ */ n(I, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 animate-spin" }),
105
+ icon: /* @__PURE__ */ n(K, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 animate-spin" }),
113
106
  "data-ic-ready-running": !0,
114
107
  children: [
115
108
  "A new check is running",
116
- (B = s.progress) != null && B.total ? ` (${s.progress.checked} of ${s.progress.total} records so far)` : "",
117
- ". This board is from the last complete check and updates when it finishes."
109
+ (F = t.progress) != null && F.total ? ` (${t.progress.checked} of ${t.progress.total} records so far)` : "",
110
+ ". This board is from the last complete check and updates when it finishes.",
111
+ (I = t.progress) != null && I.total ? /* @__PURE__ */ n(
112
+ "span",
113
+ {
114
+ className: "mt-2 block h-1 w-full max-w-[320px] overflow-hidden rounded-full bg-black/10 dark:bg-white/15",
115
+ role: "progressbar",
116
+ "aria-label": "Records checked",
117
+ "aria-valuemin": 0,
118
+ "aria-valuemax": t.progress.total,
119
+ "aria-valuenow": t.progress.checked,
120
+ children: /* @__PURE__ */ n(
121
+ "span",
122
+ {
123
+ className: "block h-full rounded-full bg-current transition-[width] duration-500",
124
+ style: {
125
+ width: `${Math.min(100, Math.round(t.progress.checked / t.progress.total * 100))}%`
126
+ }
127
+ }
128
+ )
129
+ }
130
+ ) : null
118
131
  ]
119
132
  }
120
133
  ),
121
- !s.running && s.stopped_short && /* @__PURE__ */ r(
122
- K,
134
+ !t.running && t.stopped_short && /* @__PURE__ */ s(
135
+ D,
123
136
  {
124
137
  tone: "warning",
125
- icon: /* @__PURE__ */ n(Y, { className: "mt-0.5 h-3.5 w-3.5 shrink-0" }),
138
+ icon: /* @__PURE__ */ n(J, { className: "mt-0.5 h-3.5 w-3.5 shrink-0" }),
126
139
  "data-ic-ready-stopped": !0,
127
140
  children: [
128
141
  "The latest check stopped before it finished",
129
- s.stopped ? ` (at ${s.stopped.checked}${s.stopped.total != null ? ` of ${s.stopped.total}` : ""} records${s.stopped.at ? `, started ${C(s.stopped.at)}` : ""})` : "",
142
+ t.stopped ? ` (at ${t.stopped.checked}${t.stopped.total != null ? ` of ${t.stopped.total}` : ""} records${t.stopped.at ? `, started ${P(t.stopped.at)}` : ""})` : "",
130
143
  ", so this board is from the last complete check. The next check starts from the beginning."
131
144
  ]
132
145
  }
133
146
  ),
134
- f.records === 0 ? /* @__PURE__ */ r(
147
+ f.records === 0 ? /* @__PURE__ */ s(
135
148
  "div",
136
149
  {
137
150
  "data-ic-ready-clear": !0,
138
151
  className: "flex flex-col items-start gap-1 rounded-lg border border-border bg-card px-5 py-6",
139
152
  children: [
140
- /* @__PURE__ */ r("p", { className: "flex items-center gap-2 text-[14px] font-semibold text-foreground", children: [
141
- /* @__PURE__ */ n(q, { className: m("h-4 w-4", w.positive) }),
153
+ /* @__PURE__ */ s("p", { className: "flex items-center gap-2 text-[14px] font-semibold text-foreground", children: [
154
+ /* @__PURE__ */ n(U, { className: h("h-4 w-4", k.positive) }),
142
155
  "Every record you can see is ready to send"
143
156
  ] }),
144
- /* @__PURE__ */ r("p", { className: "text-[12.5px] text-muted-foreground", children: [
145
- "Checked ",
146
- C(S),
147
- ". Records whose next step sends to a partner show up here when something would stop or weaken that send."
148
- ] })
157
+ /* @__PURE__ */ n("p", { className: "text-[12.5px] text-muted-foreground", children: "Records whose next step sends to a partner show up here when something would stop or weaken that send." })
149
158
  ]
150
159
  }
151
- ) : /* @__PURE__ */ r("div", { className: "grid items-start gap-5 lg:grid-cols-[260px_minmax(0,1fr)]", children: [
152
- /* @__PURE__ */ r("aside", { className: "space-y-5", "aria-label": "Group the board", children: [
153
- /* @__PURE__ */ r(O, { title: "Partner", children: [
160
+ ) : /* @__PURE__ */ s("div", { className: "grid items-start gap-5 lg:grid-cols-[260px_minmax(0,1fr)]", children: [
161
+ /* @__PURE__ */ s("aside", { className: "hidden space-y-5 lg:block", "aria-label": "Group the board", children: [
162
+ /* @__PURE__ */ s(G, { title: "Partner", children: [
154
163
  /* @__PURE__ */ n(
155
- _,
164
+ T,
156
165
  {
157
166
  on: !i,
158
- onClick: () => l(null),
167
+ onClick: () => d(null),
159
168
  label: "All partners",
160
169
  count: f.records
161
170
  }
162
171
  ),
163
- (s.partners ?? []).map((t) => /* @__PURE__ */ n(
164
- _,
172
+ (t.partners ?? []).map((r) => /* @__PURE__ */ n(
173
+ T,
165
174
  {
166
- "data-ic-ready-partner": t.partner,
167
- on: i === t.partner,
168
- onClick: () => l(i === t.partner ? null : t.partner),
169
- label: t.partner,
170
- count: t.records,
171
- tone: t.refused > 0 ? "negative" : t.warnings > 0 ? "warning" : "info",
175
+ "data-ic-ready-partner": r.partner,
176
+ on: i === r.partner,
177
+ onClick: () => d(i === r.partner ? null : r.partner),
178
+ label: r.partner,
179
+ count: r.records,
180
+ tone: r.refused > 0 ? "negative" : r.warnings > 0 ? "warning" : "info",
172
181
  hint: [
173
- t.refused ? `${t.refused} refused` : "",
174
- t.warnings ? `${t.warnings} incomplete` : "",
175
- t.asks ? `${t.asks} ask on send` : ""
182
+ r.refused ? `${r.refused} refused` : "",
183
+ r.warnings ? `${r.warnings} incomplete` : "",
184
+ r.asks ? `${r.asks} ask on send` : ""
176
185
  ].filter(Boolean).join(" · ")
177
186
  },
178
- t.partner
187
+ r.partner
179
188
  ))
180
189
  ] }),
181
- /* @__PURE__ */ n(O, { title: "Problem", children: (s.problems ?? []).map((t) => /* @__PURE__ */ n(
182
- _,
190
+ /* @__PURE__ */ n(G, { title: "Problem", children: (t.problems ?? []).map((r) => /* @__PURE__ */ n(
191
+ T,
183
192
  {
184
- "data-ic-ready-problem": t.key,
185
- on: c === t.key,
186
- onClick: () => p(c === t.key ? null : t.key),
187
- label: t.label,
188
- count: t.records,
189
- tone: E[t.severity].tone,
193
+ "data-ic-ready-problem": r.key,
194
+ on: c === r.key,
195
+ onClick: () => b(c === r.key ? null : r.key),
196
+ label: r.label,
197
+ count: r.records,
198
+ tone: R[r.severity].tone,
190
199
  hint: [
191
- E[t.severity].short,
192
- t.lines > 0 ? R(t.lines, "line") : "",
193
- t.partners.length && !i ? t.partners.join(", ") : ""
200
+ R[r.severity].short,
201
+ r.lines > 0 ? C(r.lines, "line") : "",
202
+ r.partners.length && !i ? r.partners.join(", ") : ""
194
203
  ].filter(Boolean).join(" · "),
195
204
  wrap: !0
196
205
  },
197
- t.key
206
+ r.key
198
207
  )) })
199
208
  ] }),
200
- /* @__PURE__ */ r("section", { className: "min-w-0 space-y-3", "aria-label": "Records", children: [
201
- /* @__PURE__ */ r("div", { className: "flex flex-wrap items-center gap-2", children: [
209
+ /* @__PURE__ */ s("section", { className: "min-w-0 space-y-3", "aria-label": "Records", children: [
210
+ /* @__PURE__ */ s("div", { className: "grid grid-cols-2 gap-2 lg:hidden", "data-ic-ready-phone-groups": !0, children: [
202
211
  /* @__PURE__ */ n(
203
- ne,
212
+ O,
213
+ {
214
+ ariaLabel: "Partner",
215
+ value: i ?? "",
216
+ onChange: (r) => d(r || null),
217
+ className: "h-9 min-w-0 text-[12.5px]",
218
+ options: [
219
+ { value: "", label: `All partners (${f.records})` },
220
+ ...(t.partners ?? []).map((r) => ({
221
+ value: r.partner,
222
+ label: `${r.partner} (${r.records})`
223
+ }))
224
+ ]
225
+ }
226
+ ),
227
+ /* @__PURE__ */ n(
228
+ O,
229
+ {
230
+ ariaLabel: "Problem",
231
+ value: c ?? "",
232
+ onChange: (r) => b(r || null),
233
+ className: "h-9 min-w-0 text-[12.5px]",
234
+ contentClassName: "max-w-[calc(100vw-2rem)] [&_[role=option]]:whitespace-normal",
235
+ options: [
236
+ { value: "", label: "All problems" },
237
+ ...(t.problems ?? []).map((r) => ({
238
+ value: r.key,
239
+ label: `${r.label} (${r.records})`
240
+ }))
241
+ ]
242
+ }
243
+ )
244
+ ] }),
245
+ /* @__PURE__ */ s("div", { className: "flex flex-wrap items-center gap-2", children: [
246
+ /* @__PURE__ */ n(
247
+ oe,
204
248
  {
205
249
  label: "Show",
206
250
  value: u,
207
- onChange: b,
251
+ onChange: y,
208
252
  options: [
209
253
  ["", "All"],
210
254
  ["block", "Refused"],
@@ -214,40 +258,37 @@ function xe({ onOpenRecord: e }) {
214
258
  "data-ic-ready-severity": !0
215
259
  }
216
260
  ),
217
- /* @__PURE__ */ r("span", { className: "text-[12px] text-muted-foreground tabular-nums", children: [
218
- R(g.length, "send"),
219
- A && ` of ${x.length}`
261
+ /* @__PURE__ */ s("span", { className: "text-[12px] text-muted-foreground tabular-nums", children: [
262
+ C(g.length, "send"),
263
+ j && ` of ${p.length}`
220
264
  ] }),
221
- A && /* @__PURE__ */ n(
265
+ j && /* @__PURE__ */ n(
222
266
  "button",
223
267
  {
224
268
  type: "button",
225
269
  onClick: () => {
226
- l(null), p(null), b("");
270
+ d(null), b(null), y("");
227
271
  },
228
- className: "text-[12px] font-medium text-foreground underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",
272
+ className: "rounded text-[12px] font-medium text-sky-700 underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:text-nvr-cyan",
229
273
  children: "Clear filters"
230
274
  }
231
275
  )
232
276
  ] }),
233
- g.length === 0 ? /* @__PURE__ */ n("p", { className: "rounded-lg border border-border bg-card px-4 py-5 text-[12.5px] text-muted-foreground", children: "Nothing matches these filters." }) : /* @__PURE__ */ n("ul", { className: "divide-y divide-border overflow-hidden rounded-lg border border-border bg-card", children: g.slice(0, a).map((t) => {
234
- var F;
235
- return /* @__PURE__ */ n(
236
- ae,
237
- {
238
- entry: t,
239
- collectionLabel: ((F = s.collections) == null ? void 0 : F[t.collection]) ?? t.collection,
240
- onOpenRecord: e
241
- },
242
- `${t.collection}:${t.item}:${t.transition.id}`
243
- );
244
- }) }),
245
- g.length > a && /* @__PURE__ */ r(
277
+ g.length === 0 ? /* @__PURE__ */ n("p", { className: "rounded-lg border border-border bg-card px-4 py-5 text-[12.5px] text-muted-foreground", children: "Nothing matches these filters." }) : /* @__PURE__ */ n("ul", { className: "divide-y divide-border overflow-hidden rounded-lg border border-border bg-card", children: g.slice(0, a).map((r) => /* @__PURE__ */ n(
278
+ me,
279
+ {
280
+ entry: r,
281
+ collectionLabel: ue(t.collections, r.collection),
282
+ onOpenRecord: e
283
+ },
284
+ `${r.collection}:${r.item}:${r.transition.id}`
285
+ )) }),
286
+ g.length > a && /* @__PURE__ */ s(
246
287
  "button",
247
288
  {
248
289
  type: "button",
249
290
  "data-ic-ready-more": !0,
250
- onClick: () => h((t) => t + N),
291
+ onClick: () => x((r) => r + N),
251
292
  className: "inline-flex h-8 items-center rounded-md border border-border bg-card px-3 text-[12.5px] font-medium text-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
252
293
  children: [
253
294
  "Show ",
@@ -262,72 +303,93 @@ function xe({ onOpenRecord: e }) {
262
303
  ] })
263
304
  ] });
264
305
  }
265
- function P({ n: e, tone: o }) {
266
- return /* @__PURE__ */ n("span", { className: m("font-semibold tabular-nums", e > 0 ? w[o] : "text-foreground"), children: e });
306
+ function ce(e) {
307
+ return e.replace(/^[\s·•|,–—-]+|[\s·•|,–—-]+$/g, "").trim();
308
+ }
309
+ function ue(e, o) {
310
+ var i;
311
+ const l = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.trim();
312
+ return l && l !== o ? l : null;
313
+ }
314
+ function W({ runButton: e, children: o }) {
315
+ return /* @__PURE__ */ s("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-2", children: [
316
+ /* @__PURE__ */ n(
317
+ "p",
318
+ {
319
+ className: "min-w-0 basis-full text-[13px] leading-relaxed text-muted-foreground sm:flex-1 sm:basis-auto",
320
+ "data-ic-ready-summary": !0,
321
+ children: o
322
+ }
323
+ ),
324
+ e && /* @__PURE__ */ n("div", { className: "sm:ml-auto", children: e })
325
+ ] });
326
+ }
327
+ function E({ n: e, tone: o }) {
328
+ return /* @__PURE__ */ n("span", { className: h("font-semibold tabular-nums", e > 0 ? k[o] : "text-foreground"), children: e });
267
329
  }
268
- function K({
330
+ function D({
269
331
  tone: e,
270
332
  icon: o,
271
- children: d,
333
+ children: l,
272
334
  ...i
273
335
  }) {
274
- return /* @__PURE__ */ r(
336
+ return /* @__PURE__ */ s(
275
337
  "div",
276
338
  {
277
339
  role: "status",
278
340
  ...i,
279
- className: m(
341
+ className: h(
280
342
  "flex items-start gap-2 rounded-lg border px-4 py-2.5 text-[12.5px]",
281
- te[e],
282
- D[e],
283
- w[e]
343
+ ie[e],
344
+ Q[e],
345
+ k[e]
284
346
  ),
285
347
  children: [
286
348
  o,
287
- /* @__PURE__ */ n("span", { children: d })
349
+ /* @__PURE__ */ n("span", { children: l })
288
350
  ]
289
351
  }
290
352
  );
291
353
  }
292
- function O({ title: e, children: o }) {
293
- return /* @__PURE__ */ r("div", { children: [
354
+ function G({ title: e, children: o }) {
355
+ return /* @__PURE__ */ s("div", { children: [
294
356
  /* @__PURE__ */ n("h3", { className: "mb-1.5 px-2 text-[12px] font-semibold text-foreground", children: e }),
295
357
  /* @__PURE__ */ n("div", { className: "flex flex-col gap-0.5", children: o })
296
358
  ] });
297
359
  }
298
- function _({
360
+ function T({
299
361
  on: e,
300
362
  onClick: o,
301
- label: d,
363
+ label: l,
302
364
  count: i,
303
- tone: l,
365
+ tone: d,
304
366
  hint: c,
305
- wrap: p,
367
+ wrap: b,
306
368
  ...u
307
369
  }) {
308
- return /* @__PURE__ */ r(
370
+ return /* @__PURE__ */ s(
309
371
  "button",
310
372
  {
311
373
  type: "button",
312
374
  "aria-pressed": e,
313
375
  onClick: o,
314
376
  ...u,
315
- className: m(
377
+ className: h(
316
378
  "flex w-full items-start gap-2 rounded-md px-2 py-1.5 text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
317
379
  e ? "bg-accent text-foreground" : "text-foreground hover:bg-muted"
318
380
  ),
319
381
  children: [
320
- l && /* @__PURE__ */ n("span", { className: m("mt-[7px] h-1.5 w-1.5 shrink-0 rounded-full", G[l]) }),
321
- /* @__PURE__ */ r("span", { className: "min-w-0 flex-1", children: [
382
+ d && /* @__PURE__ */ n("span", { className: h("mt-[7px] h-1.5 w-1.5 shrink-0 rounded-full", X[d]) }),
383
+ /* @__PURE__ */ s("span", { className: "min-w-0 flex-1", children: [
322
384
  /* @__PURE__ */ n(
323
385
  "span",
324
386
  {
325
- className: m(
387
+ className: h(
326
388
  "block text-[12.5px] leading-snug",
327
- p ? "break-words" : "truncate",
389
+ b ? "break-words" : "truncate",
328
390
  e && "font-medium"
329
391
  ),
330
- children: d
392
+ children: l
331
393
  }
332
394
  ),
333
395
  c && /* @__PURE__ */ n("span", { className: "block text-[11.5px] leading-snug text-muted-foreground", children: c })
@@ -337,117 +399,121 @@ function _({
337
399
  }
338
400
  );
339
401
  }
340
- function ae({
402
+ function me({
341
403
  entry: e,
342
404
  collectionLabel: o,
343
- onOpenRecord: d
405
+ onOpenRecord: l
344
406
  }) {
345
- const i = H(), l = ee(), c = { collection: e.collection, itemId: e.item }, p = (a) => {
346
- a.metaKey || a.ctrlKey || a.shiftKey || a.button !== 0 || (a.preventDefault(), d ? d(e.collection, e.item) : i.open(c));
347
- }, u = E[e.worst], b = () => l.mutate(
407
+ const i = ee(), d = se(), c = { collection: e.collection, itemId: e.item }, b = (a) => {
408
+ a.metaKey || a.ctrlKey || a.shiftKey || a.button !== 0 || (a.preventDefault(), l ? l(e.collection, e.item) : i.open(c));
409
+ }, u = R[e.worst], y = () => d.mutate(
348
410
  { collection: e.collection, item: e.item },
349
411
  {
350
412
  onSuccess: (a) => {
351
413
  a.sending ? a.ready ? $.success(`${e.label} is ready to send`) : $.message(
352
- `${e.label} still has ${R(
353
- a.entries.reduce((h, s) => h + s.issues.length, 0),
414
+ `${e.label} still has ${C(
415
+ a.entries.reduce((x, t) => x + t.issues.length, 0),
354
416
  "problem"
355
417
  )}`
356
418
  ) : $.success(`${e.label} no longer has a send next`);
357
419
  },
358
- onError: (a) => W(a, "Could not check this record", { retry: b })
420
+ onError: (a) => V(a, "Could not check this record", { retry: y })
359
421
  }
360
422
  );
361
- return /* @__PURE__ */ r("li", { className: "px-4 py-3", "data-ic-ready-row": `${e.collection}:${e.item}`, "data-worst": e.worst, children: [
362
- /* @__PURE__ */ r("div", { className: "flex flex-wrap items-start gap-x-3 gap-y-2", children: [
363
- /* @__PURE__ */ r("div", { className: "min-w-0 flex-1", children: [
364
- /* @__PURE__ */ r("div", { className: "flex flex-wrap items-baseline gap-x-2 gap-y-0.5", children: [
423
+ return /* @__PURE__ */ s("li", { className: "px-4 py-3", "data-ic-ready-row": `${e.collection}:${e.item}`, "data-worst": e.worst, children: [
424
+ /* @__PURE__ */ s("div", { className: "flex flex-wrap items-start gap-x-3 gap-y-2", children: [
425
+ /* @__PURE__ */ s("div", { className: "min-w-0 flex-1", children: [
426
+ /* @__PURE__ */ s("div", { className: "flex flex-wrap items-baseline gap-x-2 gap-y-0.5", children: [
365
427
  /* @__PURE__ */ n(
366
428
  "a",
367
429
  {
368
430
  href: i.urlFor(c),
369
- onClick: p,
431
+ onClick: b,
370
432
  className: "truncate text-[13px] font-semibold text-foreground underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",
371
433
  children: e.label
372
434
  }
373
435
  ),
374
- /* @__PURE__ */ n("span", { className: "text-[12px] text-muted-foreground", children: o }),
436
+ o && /* @__PURE__ */ n("span", { className: "text-[12px] text-muted-foreground", children: o }),
375
437
  /* @__PURE__ */ n(
376
438
  "span",
377
439
  {
378
- className: m(
440
+ className: h(
379
441
  "rounded px-1.5 py-px text-[11px] font-semibold",
380
- D[u.tone],
381
- w[u.tone]
442
+ Q[u.tone],
443
+ k[u.tone]
382
444
  ),
383
445
  children: u.short
384
446
  }
385
447
  )
386
448
  ] }),
387
- /* @__PURE__ */ r("p", { className: "mt-0.5 text-[12px] text-muted-foreground", children: [
449
+ /* @__PURE__ */ s("p", { className: "mt-0.5 text-[12px] text-muted-foreground", children: [
388
450
  e.state ? `${e.state} → ` : "",
389
451
  /* @__PURE__ */ n("span", { className: "text-foreground", children: e.transition.label }),
390
- e.partners.length > 0 && /* @__PURE__ */ r(v, { children: [
452
+ e.partners.length > 0 && /* @__PURE__ */ s(v, { children: [
391
453
  " · sends to ",
392
454
  e.partners.join(", ")
393
455
  ] })
394
456
  ] })
395
457
  ] }),
396
- /* @__PURE__ */ r(
458
+ /* @__PURE__ */ s(
397
459
  "button",
398
460
  {
399
461
  type: "button",
400
462
  "data-ic-ready-check": !0,
401
- disabled: l.isPending,
402
- onClick: b,
463
+ disabled: d.isPending,
464
+ onClick: y,
403
465
  className: "inline-flex h-7 shrink-0 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-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
404
466
  children: [
405
- /* @__PURE__ */ n(z, { className: m("h-3 w-3", l.isPending && "animate-spin") }),
406
- l.isPending ? "Checking…" : "Check again"
467
+ /* @__PURE__ */ n(Z, { className: h("h-3 w-3", d.isPending && "animate-spin") }),
468
+ d.isPending ? "Checking…" : "Check again"
407
469
  ]
408
470
  }
409
471
  )
410
472
  ] }),
411
473
  /* @__PURE__ */ n("ul", { className: "mt-2 space-y-1", children: e.issues.map((a) => {
412
- const h = E[a.severity].tone, s = a.rows ?? [];
413
- return /* @__PURE__ */ r(
474
+ const x = R[a.severity].tone, t = a.rows ?? [];
475
+ return /* @__PURE__ */ s(
414
476
  "li",
415
477
  {
416
478
  className: "flex items-start gap-2 text-[12.5px] leading-snug",
417
479
  children: [
418
- /* @__PURE__ */ n("span", { className: m("mt-[6px] h-1.5 w-1.5 shrink-0 rounded-full", G[h]) }),
419
- /* @__PURE__ */ r("span", { className: "min-w-0", children: [
420
- /* @__PURE__ */ n("span", { className: a.severity === "ask" ? "text-foreground" : w[h], children: a.message }),
421
- s.length > 0 && /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: [
422
- " — ",
423
- s.slice(0, 3).map((x) => x.label).join(", "),
424
- s.length > 3 ? ` and ${s.length - 3} more` : ""
425
- ] })
480
+ /* @__PURE__ */ n("span", { className: h("mt-[6px] h-1.5 w-1.5 shrink-0 rounded-full", X[x]) }),
481
+ /* @__PURE__ */ s("span", { className: "min-w-0", children: [
482
+ /* @__PURE__ */ n("span", { className: a.severity === "ask" ? "text-foreground" : k[x], children: a.message }),
483
+ (() => {
484
+ const p = t.map((g) => ce(g.label)).filter(Boolean);
485
+ return p.length === 0 ? null : /* @__PURE__ */ s("span", { className: "text-muted-foreground", children: [
486
+ " — ",
487
+ p.slice(0, 3).join(", "),
488
+ p.length > 3 ? ` and ${p.length - 3} more` : ""
489
+ ] });
490
+ })()
426
491
  ] })
427
492
  ]
428
493
  },
429
494
  `${a.severity}:${a.partner ?? ""}:${a.message}`
430
495
  );
431
496
  }) }),
432
- /* @__PURE__ */ r("p", { className: "mt-2 text-[11.5px] text-muted-foreground", children: [
433
- e.owners.length > 0 ? /* @__PURE__ */ r(v, { children: [
497
+ /* @__PURE__ */ s("p", { className: "mt-2 text-[11.5px] text-muted-foreground", children: [
498
+ e.owners.length > 0 ? /* @__PURE__ */ s(v, { children: [
434
499
  "Step owner",
435
500
  e.owners.length === 1 ? "" : "s",
436
501
  ": ",
437
502
  e.owners.map((a) => a.name).join(", ")
438
503
  ] }) : "Nobody owns this step",
439
- e.checked_by && /* @__PURE__ */ r(v, { children: [
504
+ e.checked_by && /* @__PURE__ */ s(v, { children: [
440
505
  " · ",
441
506
  "checked again by ",
442
507
  e.checked_by,
443
508
  " ",
444
- C(e.checked_at)
509
+ P(e.checked_at)
445
510
  ] })
446
511
  ] })
447
512
  ] });
448
513
  }
449
514
  export {
450
- xe as ReadyToSendView,
451
- se as filterReadyEntries,
452
- oe as readyProblemKey
515
+ Ce as ReadyToSendView,
516
+ le as filterReadyEntries,
517
+ de as readyProblemKey,
518
+ ce as tidyRowLabel
453
519
  };