@nivaro/react 0.3.111 → 0.3.113

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 (77) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +207 -3
  4. package/dist/index.js +745 -728
  5. package/dist/shared/components/CollectionBrowserView.js +3133 -2954
  6. package/dist/shared/components/CollectionImportBanner.js +135 -0
  7. package/dist/shared/components/ItemEditForm.js +2235 -2218
  8. package/dist/shared/components/JobsTray.js +54 -47
  9. package/dist/shared/components/ViewAsPersonButton.js +109 -0
  10. package/dist/shared/components/bulk/BulkFieldUpdate.js +228 -150
  11. package/dist/shared/components/bulk/BulkFieldUpdateButton.js +35 -41
  12. package/dist/shared/components/bulk/BulkLinksValue.js +91 -0
  13. package/dist/shared/components/bulk/bulk-field-options.js +20 -19
  14. package/dist/shared/components/bulk/bulk-update-preview.js +39 -0
  15. package/dist/shared/components/cbv/ColumnHeaderMenu.js +130 -0
  16. package/dist/shared/components/cbv/column-totals.js +163 -0
  17. package/dist/shared/components/collections-directory/CollectionHoverCard.js +108 -81
  18. package/dist/shared/components/collections-directory/CollectionRow.js +164 -148
  19. package/dist/shared/components/collections-directory/CollectionsDirectory.js +167 -166
  20. package/dist/shared/components/collections-directory/directory-data.js +70 -58
  21. package/dist/shared/components/imports/CollectionImportPanel.js +120 -118
  22. package/dist/shared/components/imports/DefinitionsPanel.js +24 -24
  23. package/dist/shared/components/imports/ImportDuplicatesNotice.js +65 -0
  24. package/dist/shared/components/item-edit/CatalogPickerField.js +631 -639
  25. package/dist/shared/components/item-edit/DuplicateNotice.js +168 -0
  26. package/dist/shared/components/item-edit/FieldRow.js +248 -246
  27. package/dist/shared/components/item-edit/InlineGridField.js +34 -33
  28. package/dist/shared/components/item-edit/InlineTableField.js +3002 -2825
  29. package/dist/shared/components/item-edit/MembershipSetField.js +165 -169
  30. package/dist/shared/components/item-edit/NestedRelationEditor.js +184 -189
  31. package/dist/shared/components/item-edit/PlanGrid.js +2 -1
  32. package/dist/shared/components/item-edit/QuickPickerDialog.js +35 -34
  33. package/dist/shared/components/item-edit/RecordLiveSync.js +32 -30
  34. package/dist/shared/components/item-edit/RelationCombobox.js +101 -100
  35. package/dist/shared/components/item-edit/RowHistorySheet.js +28 -27
  36. package/dist/shared/components/item-edit/SummaryPanel.js +133 -135
  37. package/dist/shared/components/item-edit/UserChip.js +262 -239
  38. package/dist/shared/components/item-edit/ViewAsRole.js +129 -52
  39. package/dist/shared/components/item-edit/grid-search.js +375 -0
  40. package/dist/shared/components/item-edit/render-stability.js +61 -54
  41. package/dist/shared/components/notifications/NotificationRulesEditor.js +25 -20
  42. package/dist/shared/components/ops-report/DigestSections.js +163 -144
  43. package/dist/shared/components/ops-report/drill.js +97 -97
  44. package/dist/shared/components/panels/AddendumLinesDiff.js +52 -51
  45. package/dist/shared/components/panels/AddendumPanel.js +92 -91
  46. package/dist/shared/components/panels/AsyncUserPicker.js +108 -0
  47. package/dist/shared/components/panels/CommentPanel.js +265 -252
  48. package/dist/shared/components/panels/OwnersSlot.js +47 -35
  49. package/dist/shared/components/panels/PipelineInsight.js +186 -0
  50. package/dist/shared/components/panels/PipelinePanel.js +1440 -1397
  51. package/dist/shared/components/panels/RecordIntegrityBanner.js +39 -38
  52. package/dist/shared/components/panels/RevisionsPanel.js +261 -260
  53. package/dist/shared/components/panels/StandInReason.js +69 -0
  54. package/dist/shared/components/pipeline/FieldPicker.js +41 -40
  55. package/dist/shared/components/pipeline/OwnerMatrix.js +829 -700
  56. package/dist/shared/components/pipeline/OwnerRecordTrial.js +362 -0
  57. package/dist/shared/components/pipeline/PipelineEditorView.js +483 -467
  58. package/dist/shared/components/pipeline/PipelineStateOwners.js +65 -64
  59. package/dist/shared/components/pipeline/owner-matrix-draft.js +178 -0
  60. package/dist/shared/components/profile/MyDefaultsCard.js +36 -35
  61. package/dist/shared/components/profile/PersonHeader.js +29 -29
  62. package/dist/shared/components/profile/PersonProfile.js +30 -28
  63. package/dist/shared/components/profile/SlowScreensCard.js +286 -0
  64. package/dist/shared/components/queue/QueueWorklist.js +1090 -1071
  65. package/dist/shared/components/quick-filters/useQuickFilterEditing.js +45 -44
  66. package/dist/shared/components/support/TicketDetailSheet.js +25 -16
  67. package/dist/shared/components/support/TicketSlowScreens.js +32 -0
  68. package/dist/shared/lib/activity-sentence.js +224 -178
  69. package/dist/shared/lib/collection-import-banner.js +27 -0
  70. package/dist/shared/lib/crash-report.js +112 -0
  71. package/dist/shared/lib/export-runs.js +99 -0
  72. package/dist/shared/lib/jobs-tray.js +89 -67
  73. package/dist/shared/lib/list-link.js +76 -69
  74. package/dist/shared/lib/nav-trail.js +180 -76
  75. package/dist/shared/lib/query-keys.js +26 -0
  76. package/dist/shared/lib/view-as.js +16 -11
  77. package/package.json +1 -1
@@ -1,13 +1,14 @@
1
1
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
2
  import { useQuery as U } from "@tanstack/react-query";
3
3
  import { ChevronDown as X } from "lucide-react";
4
- import { useMemo as q, useState as Z, Fragment as B } from "react";
4
+ import { useMemo as M, useState as Z, Fragment as H } from "react";
5
5
  import { get as T } from "../../lib/commands.js";
6
- import { numericIntlOptions as C } from "../../lib/format-value.js";
7
- import { htmlToText as ee } from "../../lib/sanitize-html.js";
8
- import { cn as g, titleCase as te, formatDate as ne, formatDateTime as re } from "../../lib/utils.js";
9
- import { applyDisplayTemplate as ae, SYSTEM_FIELDS as se } from "../item-edit/helpers.js";
10
- const x = (a) => a == null || a === "", oe = (a, s) => x(a) && x(s) ? !0 : typeof a == "object" || typeof s == "object" ? JSON.stringify(a) === JSON.stringify(s) : Number.isFinite(Number(a)) && Number.isFinite(Number(s)) && String(a).trim() !== "" && String(s).trim() !== "" ? Math.abs(Number(a) - Number(s)) < 5e-3 : String(a) === String(s), Q = (a) => {
6
+ import { numericIntlOptions as B } from "../../lib/format-value.js";
7
+ import { queryKeys as ee } from "../../lib/query-keys.js";
8
+ import { htmlToText as te } from "../../lib/sanitize-html.js";
9
+ import { cn as g, titleCase as ne, formatDate as re, formatDateTime as ae } from "../../lib/utils.js";
10
+ import { applyDisplayTemplate as se, SYSTEM_FIELDS as oe } from "../item-edit/helpers.js";
11
+ const x = (a) => a == null || a === "", ie = (a, s) => x(a) && x(s) ? !0 : typeof a == "object" || typeof s == "object" ? JSON.stringify(a) === JSON.stringify(s) : Number.isFinite(Number(a)) && Number.isFinite(Number(s)) && String(a).trim() !== "" && String(s).trim() !== "" ? Math.abs(Number(a) - Number(s)) < 5e-3 : String(a) === String(s), Q = (a) => {
11
12
  const s = a == null ? void 0 : a.options;
12
13
  if (!s) return {};
13
14
  if (typeof s == "string")
@@ -17,7 +18,7 @@ const x = (a) => a == null || a === "", oe = (a, s) => x(a) && x(s) ? !0 : typeo
17
18
  return {};
18
19
  }
19
20
  return s;
20
- }, ie = /* @__PURE__ */ new Set([
21
+ }, le = /* @__PURE__ */ new Set([
21
22
  "sort",
22
23
  "created",
23
24
  "updated",
@@ -25,15 +26,15 @@ const x = (a) => a == null || a === "", oe = (a, s) => x(a) && x(s) ? !0 : typeo
25
26
  "updated_at",
26
27
  "changed",
27
28
  "creator"
28
- ]), W = (a, s) => !se.has(a) && !ie.has(a) && a !== s && a !== "id" && !a.startsWith("__") && !a.includes("."), le = /amount|cost|price|total|budget|spend/i;
29
- function de(a, s, w, b) {
30
- if (!s && !le.test(a)) return null;
29
+ ]), W = (a, s) => !oe.has(a) && !le.has(a) && a !== s && a !== "id" && !a.startsWith("__") && !a.includes("."), de = /amount|cost|price|total|budget|spend/i;
30
+ function ce(a, s, w, b) {
31
+ if (!s && !de.test(a)) return null;
31
32
  const $ = (h) => x(h) ? 0 : Number(h), _ = $(w), j = $(b);
32
33
  if (!Number.isFinite(_) || !Number.isFinite(j)) return null;
33
34
  const y = Math.round((j - _) * 100) / 100;
34
35
  return y === 0 ? null : y;
35
36
  }
36
- function ce(a, s, w, b = !1) {
37
+ function me(a, s, w, b = !1) {
37
38
  const $ = new Map(s.map((m) => [String(m.id), m])), _ = /* @__PURE__ */ new Set(), j = [], y = [];
38
39
  for (const m of a) {
39
40
  const N = x(m.id) ? null : String(m.id), f = N ? $.get(N) : void 0;
@@ -44,13 +45,13 @@ function ce(a, s, w, b = !1) {
44
45
  _.add(N);
45
46
  const O = [];
46
47
  for (const u of Object.keys(m))
47
- W(u, w) && (b && !(u in f) || oe(f[u], m[u]) || O.push({ field: u, before: f[u], after: m[u] }));
48
+ W(u, w) && (b && !(u in f) || ie(f[u], m[u]) || O.push({ field: u, before: f[u], after: m[u] }));
48
49
  O.length && y.push({ row: m, before: f, cells: O });
49
50
  }
50
51
  const h = s.filter((m) => !_.has(String(m.id)));
51
52
  return { added: j, changed: y, removed: h };
52
53
  }
53
- function Se({
54
+ function $e({
54
55
  client: a,
55
56
  childCollection: s,
56
57
  fkField: w,
@@ -61,22 +62,22 @@ function Se({
61
62
  ignoreMissing: y = !1
62
63
  }) {
63
64
  const { data: h = [] } = U({
64
- queryKey: ["field-config", s, null],
65
+ queryKey: ee.fieldConfig(s, null),
65
66
  queryFn: () => a.request(T(`/field-config/${s}`)).then((e) => e.data ?? []),
66
67
  staleTime: 6e4
67
68
  }), { data: m = [] } = U({
68
69
  queryKey: ["collection-relations-for", s],
69
70
  queryFn: () => a.request(T(`/data-model/relations/for/${s}`)).then((e) => e.data ?? []),
70
71
  staleTime: 5 * 6e4
71
- }), N = q(() => new Map(h.map((e) => [e.field, e])), [h]), f = q(() => {
72
+ }), N = M(() => new Map(h.map((e) => [e.field, e])), [h]), f = M(() => {
72
73
  const e = /* @__PURE__ */ new Map();
73
74
  for (const t of m)
74
75
  t.many_collection === s && t.many_field && !t.junction_field && t.one_collection && e.set(t.many_field, t);
75
76
  return e;
76
- }, [m, s]), O = (e) => W(e, w), u = j ?? (N.has("line_number") ? "line_number" : void 0), l = q(
77
- () => ce(b, $, w, y),
77
+ }, [m, s]), O = (e) => W(e, w), u = j ?? (N.has("line_number") ? "line_number" : void 0), l = M(
78
+ () => me(b, $, w, y),
78
79
  [b, $, w, y]
79
- ), I = q(() => {
80
+ ), I = M(() => {
80
81
  const e = /* @__PURE__ */ new Map(), t = (n, r) => {
81
82
  const i = f.get(n);
82
83
  if (!(i != null && i.one_collection) || x(r) || typeof r == "object") return;
@@ -97,7 +98,7 @@ function Se({
97
98
  [...I.entries()].map(async ([t, n]) => {
98
99
  const r = await a.request(
99
100
  T(`/collections/${t}`)
100
- ).then((c) => c.data).catch(() => null), i = (r == null ? void 0 : r.display_template) ?? void 0, p = i ? [...i.matchAll(/\{\{([\w.]+)\}\}/g)].map((c) => c[1]) : [], S = p.some((c) => c.includes(".")) ? ["id", ...p].join(",") : void 0, M = await a.request(
101
+ ).then((c) => c.data).catch(() => null), i = (r == null ? void 0 : r.display_template) ?? void 0, p = i ? [...i.matchAll(/\{\{([\w.]+)\}\}/g)].map((c) => c[1]) : [], S = p.some((c) => c.includes(".")) ? ["id", ...p].join(",") : void 0, F = await a.request(
101
102
  T(`/items/${t}`, {
102
103
  filter: JSON.stringify({ id: { _in: [...n] } }),
103
104
  limit: n.size,
@@ -105,7 +106,7 @@ function Se({
105
106
  })
106
107
  ).then((c) => c.data ?? []).catch(() => []);
107
108
  e[t] = {};
108
- for (const c of M) e[t][String(c.id)] = ae(i, c);
109
+ for (const c of F) e[t][String(c.id)] = se(i, c);
109
110
  })
110
111
  ), e;
111
112
  },
@@ -113,13 +114,13 @@ function Se({
113
114
  staleTime: 5 * 6e4
114
115
  }), L = (e) => {
115
116
  var t;
116
- return ((t = N.get(e)) == null ? void 0 : t.label) || te(e);
117
- }, D = (e, t) => {
118
- var M;
117
+ return ((t = N.get(e)) == null ? void 0 : t.label) || ne(e);
118
+ }, q = (e, t) => {
119
+ var F;
119
120
  if (x(t)) return { text: "—" };
120
121
  const n = N.get(e), r = Q(n), i = f.get(e);
121
122
  if (i != null && i.one_collection) {
122
- const c = (M = R[i.one_collection]) == null ? void 0 : M[String(t)];
123
+ const c = (F = R[i.one_collection]) == null ? void 0 : F[String(t)];
123
124
  return c ? { text: c } : { text: `#${String(t)}`, mono: !0 };
124
125
  }
125
126
  if (typeof t == "boolean" || (n == null ? void 0 : n.type) === "boolean")
@@ -129,21 +130,21 @@ function Se({
129
130
  if (r.format === "currency" && Number.isFinite(Number(t)))
130
131
  return {
131
132
  text: Number(t).toLocaleString("en-US", {
132
- ...C(r, "currency"),
133
+ ...B(r, "currency"),
133
134
  currency: r.currency || "USD"
134
135
  }),
135
136
  mono: !0
136
137
  };
137
138
  if (/^(date|dateTime|datetime|timestamp)$/i.test(p)) {
138
139
  const c = String(t);
139
- return { text: /^\d{4}-\d{2}-\d{2}$/.test(c) ? ne(c) : re(c), mono: !0 };
140
+ return { text: /^\d{4}-\d{2}-\d{2}$/.test(c) ? re(c) : ae(c), mono: !0 };
140
141
  }
141
142
  if (typeof t == "number" || /^(integer|decimal|float|bigInteger|money)$/i.test(p) && Number.isFinite(Number(t)))
142
- return { text: Number(t).toLocaleString("en-US", C(r)), mono: !0 };
143
+ return { text: Number(t).toLocaleString("en-US", B(r)), mono: !0 };
143
144
  const S = String(t);
144
- return /<[a-z][\s\S]*>/i.test(S) ? { text: ee(S).trim() || "—" } : { text: S.length > 80 ? `${S.slice(0, 80)}…` : S };
145
- }, E = (e, t, n) => {
146
- const r = Q(N.get(e)), i = de(e, r.format === "currency", t, n);
145
+ return /<[a-z][\s\S]*>/i.test(S) ? { text: te(S).trim() || "—" } : { text: S.length > 80 ? `${S.slice(0, 80)}…` : S };
146
+ }, K = (e, t, n) => {
147
+ const r = Q(N.get(e)), i = ce(e, r.format === "currency", t, n);
147
148
  return i == null ? null : /* @__PURE__ */ d(
148
149
  "span",
149
150
  {
@@ -161,7 +162,7 @@ function Se({
161
162
  ]
162
163
  }
163
164
  );
164
- }, K = (e) => {
165
+ }, E = (e) => {
165
166
  const t = u ? e[u] : void 0;
166
167
  return x(t) ? x(e.id) ? "New line" : `#${String(e.id)}` : `Line ${String(t)}`;
167
168
  }, v = (e) => {
@@ -182,14 +183,14 @@ function Se({
182
183
  b.length === 1 ? "line" : "lines",
183
184
  ", no changes"
184
185
  ] });
185
- const F = [];
186
- l.added.length && F.push(`${l.added.length} added`), l.changed.length && F.push(`${l.changed.length} changed`), l.removed.length && F.push(`${l.removed.length} removed`);
186
+ const D = [];
187
+ l.added.length && D.push(`${l.added.length} added`), l.changed.length && D.push(`${l.changed.length} changed`), l.removed.length && D.push(`${l.removed.length} removed`);
187
188
  const z = "mt-1 grid grid-cols-[minmax(84px,max-content)_1fr] gap-x-3 gap-y-0.5 text-[11.5px] leading-[18px]", P = (e) => g(
188
189
  "rounded-full px-1.5 py-px text-[10px] font-medium",
189
190
  e === "added" && "bg-emerald-50 text-emerald-700 dark:bg-emerald-500/10 dark:text-emerald-400",
190
191
  e === "changed" && "bg-amber-50 text-amber-700 dark:bg-amber-500/10 dark:text-amber-300",
191
192
  e === "removed" && "bg-red-50 text-red-600 dark:bg-red-500/10 dark:text-red-400"
192
- ), Y = [...new Set(l.changed.flatMap((e) => e.cells.map((t) => t.field)))], H = "py-1.5 pr-5 text-left text-[11px] font-medium text-slate-500 dark:text-slate-400", J = "py-1.5 pr-5 align-baseline whitespace-nowrap";
193
+ ), Y = [...new Set(l.changed.flatMap((e) => e.cells.map((t) => t.field)))], C = "py-1.5 pr-5 text-left text-[11px] font-medium text-slate-500 dark:text-slate-400", J = "py-1.5 pr-5 align-baseline whitespace-nowrap";
193
194
  return /* @__PURE__ */ d("div", { className: "min-w-0", children: [
194
195
  /* @__PURE__ */ d(
195
196
  "button",
@@ -200,7 +201,7 @@ function Se({
200
201
  "aria-expanded": k,
201
202
  "aria-label": `${k ? "Hide" : "Show"} ${_} changes`,
202
203
  children: [
203
- /* @__PURE__ */ o("span", { children: F.join(" · ") }),
204
+ /* @__PURE__ */ o("span", { children: D.join(" · ") }),
204
205
  /* @__PURE__ */ o(
205
206
  X,
206
207
  {
@@ -216,8 +217,8 @@ function Se({
216
217
  ),
217
218
  k && l.changed.length > 0 && /* @__PURE__ */ o("div", { className: "mt-1.5 overflow-x-auto", children: /* @__PURE__ */ d("table", { className: "border-collapse text-[12px]", children: [
218
219
  /* @__PURE__ */ o("thead", { children: /* @__PURE__ */ d("tr", { className: "border-b border-slate-200 dark:border-border", children: [
219
- /* @__PURE__ */ o("th", { className: H, children: "Line" }),
220
- Y.map((e) => /* @__PURE__ */ o("th", { className: g(H, "whitespace-nowrap"), children: L(e) }, e))
220
+ /* @__PURE__ */ o("th", { className: C, children: "Line" }),
221
+ Y.map((e) => /* @__PURE__ */ o("th", { className: g(C, "whitespace-nowrap"), children: L(e) }, e))
221
222
  ] }) }),
222
223
  /* @__PURE__ */ o("tbody", { children: l.changed.map((e) => /* @__PURE__ */ d(
223
224
  "tr",
@@ -225,13 +226,13 @@ function Se({
225
226
  className: "border-b border-slate-100 last:border-0 dark:border-border/60",
226
227
  children: [
227
228
  /* @__PURE__ */ d("td", { className: J, children: [
228
- /* @__PURE__ */ o("span", { className: "font-medium text-foreground", children: K(e.before) }),
229
+ /* @__PURE__ */ o("span", { className: "font-medium text-foreground", children: E(e.before) }),
229
230
  v(e.before) && /* @__PURE__ */ o("span", { className: "ml-1.5 inline-block max-w-[180px] truncate align-bottom text-slate-500 dark:text-slate-400", children: v(e.before) })
230
231
  ] }),
231
232
  Y.map((t) => {
232
233
  const n = e.cells.find((p) => p.field === t);
233
234
  if (!n) return /* @__PURE__ */ o("td", { className: J }, t);
234
- const r = D(n.field, n.before), i = D(n.field, n.after);
235
+ const r = q(n.field, n.before), i = q(n.field, n.after);
235
236
  return /* @__PURE__ */ o("td", { className: J, children: /* @__PURE__ */ d("span", { className: "inline-flex items-baseline gap-x-1.5", children: [
236
237
  /* @__PURE__ */ o(
237
238
  "span",
@@ -251,7 +252,7 @@ function Se({
251
252
  children: i.text
252
253
  }
253
254
  ),
254
- E(n.field, n.before, n.after)
255
+ K(n.field, n.before, n.after)
255
256
  ] }) }, t);
256
257
  })
257
258
  ]
@@ -263,15 +264,15 @@ function Se({
263
264
  l.added.map((e, t) => /* @__PURE__ */ d("li", { children: [
264
265
  /* @__PURE__ */ d("div", { className: "flex flex-wrap items-baseline gap-x-1.5 text-[11.5px]", children: [
265
266
  /* @__PURE__ */ o("span", { className: P("added"), children: "added" }),
266
- /* @__PURE__ */ o("span", { className: "font-medium text-foreground", children: K(e) }),
267
+ /* @__PURE__ */ o("span", { className: "font-medium text-foreground", children: E(e) }),
267
268
  v(e) && /* @__PURE__ */ d("span", { className: "truncate text-slate-500", children: [
268
269
  "— ",
269
270
  v(e)
270
271
  ] })
271
272
  ] }),
272
273
  /* @__PURE__ */ o("dl", { className: z, children: A(e).slice(0, 6).map((n) => {
273
- const r = D(n, e[n]);
274
- return /* @__PURE__ */ d(B, { children: [
274
+ const r = q(n, e[n]);
275
+ return /* @__PURE__ */ d(H, { children: [
275
276
  /* @__PURE__ */ o("dt", { className: "truncate text-slate-500 dark:text-slate-400", children: L(n) }),
276
277
  /* @__PURE__ */ d(
277
278
  "dd",
@@ -282,7 +283,7 @@ function Se({
282
283
  ),
283
284
  children: [
284
285
  r.text,
285
- E(n, null, e[n])
286
+ K(n, null, e[n])
286
287
  ]
287
288
  }
288
289
  )
@@ -292,15 +293,15 @@ function Se({
292
293
  l.removed.map((e) => /* @__PURE__ */ d("li", { children: [
293
294
  /* @__PURE__ */ d("div", { className: "flex flex-wrap items-baseline gap-x-1.5 text-[11.5px]", children: [
294
295
  /* @__PURE__ */ o("span", { className: P("removed"), children: "removed" }),
295
- /* @__PURE__ */ o("span", { className: "font-medium text-foreground", children: K(e) }),
296
+ /* @__PURE__ */ o("span", { className: "font-medium text-foreground", children: E(e) }),
296
297
  v(e) && /* @__PURE__ */ d("span", { className: "truncate text-slate-500", children: [
297
298
  "— ",
298
299
  v(e)
299
300
  ] })
300
301
  ] }),
301
302
  /* @__PURE__ */ o("dl", { className: g(z, "text-slate-500"), children: A(e).slice(0, 4).map((t) => {
302
- const n = D(t, e[t]);
303
- return /* @__PURE__ */ d(B, { children: [
303
+ const n = q(t, e[t]);
304
+ return /* @__PURE__ */ d(H, { children: [
304
305
  /* @__PURE__ */ o("dt", { className: "truncate", children: L(t) }),
305
306
  /* @__PURE__ */ d(
306
307
  "dd",
@@ -311,7 +312,7 @@ function Se({
311
312
  ),
312
313
  children: [
313
314
  /* @__PURE__ */ o("span", { className: "line-through decoration-slate-300 dark:decoration-slate-600", children: n.text }),
314
- E(t, e[t], null)
315
+ K(t, e[t], null)
315
316
  ]
316
317
  }
317
318
  )
@@ -322,7 +323,7 @@ function Se({
322
323
  ] });
323
324
  }
324
325
  export {
325
- Se as AddendumLinesDiff,
326
- ce as diffAddendumLines,
327
- de as lineCellDelta
326
+ $e as AddendumLinesDiff,
327
+ me as diffAddendumLines,
328
+ ce as lineCellDelta
328
329
  };