@nivaro/react 0.3.13 → 0.3.14

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 (48) hide show
  1. package/dist/components/slots/pipeline/OwnersSection.js +79 -75
  2. package/dist/full.css +1 -1
  3. package/dist/hooks/useSessionRecorder.js +1 -1
  4. package/dist/index.d.ts +33 -2
  5. package/dist/index.js +520 -516
  6. package/dist/shared/components/CollectionBrowserView.js +2373 -2298
  7. package/dist/shared/components/DataTable.js +347 -335
  8. package/dist/shared/components/ItemEditForm.js +5278 -5149
  9. package/dist/shared/components/ListLoadError.js +33 -0
  10. package/dist/shared/components/PageRenderer.js +562 -529
  11. package/dist/shared/components/ProfileView.js +53 -51
  12. package/dist/shared/components/RecordReadView.js +119 -117
  13. package/dist/shared/components/ReportView.js +1268 -1241
  14. package/dist/shared/components/cbv/export-rows.js +69 -0
  15. package/dist/shared/components/cbv/saved-view-risk.js +35 -0
  16. package/dist/shared/components/cbv/unknown-fields.js +18 -0
  17. package/dist/shared/components/integrations/console/AlertsView.js +27 -25
  18. package/dist/shared/components/integrations/console/EventsView.js +244 -209
  19. package/dist/shared/components/item-edit/CatalogPickerField.js +946 -878
  20. package/dist/shared/components/item-edit/DraftRecoveryBanner.js +84 -57
  21. package/dist/shared/components/item-edit/FieldAffordances.js +63 -61
  22. package/dist/shared/components/item-edit/FieldRow.js +195 -179
  23. package/dist/shared/components/item-edit/FilePickerField.js +257 -254
  24. package/dist/shared/components/item-edit/HeaderTools.js +139 -95
  25. package/dist/shared/components/item-edit/InlineTableField.js +2087 -2075
  26. package/dist/shared/components/item-edit/RowComments.js +1 -3
  27. package/dist/shared/components/item-edit/SummaryPanel.js +62 -62
  28. package/dist/shared/components/item-edit/UserChip.js +113 -113
  29. package/dist/shared/components/item-edit/file-download.js +18 -0
  30. package/dist/shared/components/item-edit/line-qty.js +67 -32
  31. package/dist/shared/components/item-edit/save-refusal.js +23 -0
  32. package/dist/shared/components/monitoring/TrafficMiniMap.js +9 -9
  33. package/dist/shared/components/panels/CommentPanel.js +30 -30
  34. package/dist/shared/components/panels/ItemLockBanner.js +207 -185
  35. package/dist/shared/components/panels/PipelinePanel.js +915 -786
  36. package/dist/shared/components/pipeline/PipelineEditorView.js +45 -25
  37. package/dist/shared/components/profile/DelegationCard.js +1 -1
  38. package/dist/shared/components/profile/session-actions.js +24 -24
  39. package/dist/shared/components/queue/QueueItemSheet.js +18 -18
  40. package/dist/shared/components/queue/QueueWorklist.js +517 -504
  41. package/dist/shared/components/ui/dropdown-menu.js +8 -7
  42. package/dist/shared/lib/draft-store.js +60 -33
  43. package/dist/shared/lib/leave-guard.js +38 -0
  44. package/dist/shared/lib/load-error.js +38 -17
  45. package/dist/shared/lib/summary-mode.js +25 -25
  46. package/dist/shared/lib/table-pins.js +23 -0
  47. package/dist/shared/lib/validation-rules.js +55 -51
  48. package/package.json +1 -1
@@ -27,9 +27,7 @@ function X({
27
27
  const m = R(), l = Q(), u = D(null), [c, p] = h(null), [x, f] = h(""), [y, g] = h(null), v = !!c, { data: N = [], isLoading: P } = M({
28
28
  queryKey: ["comments", s, a],
29
29
  queryFn: () => m.request(K("/comments", { collection: s, item: a })).then(
30
- (e) => (e.data ?? []).sort(
31
- (n, i) => new Date(i.created_at).getTime() - new Date(n.created_at).getTime()
32
- )
30
+ (e) => (e.data ?? []).filter((n) => !n.deleted).sort((n, i) => new Date(i.created_at).getTime() - new Date(n.created_at).getTime())
33
31
  ),
34
32
  enabled: v
35
33
  }), k = q({
@@ -5,7 +5,7 @@ import { useState as B, useRef as fe, createContext as pe, useContext as ye } fr
5
5
  import { useNivaroClient as V } from "../../context.js";
6
6
  import { get as E } from "../../lib/commands.js";
7
7
  import { useRecordReader as be } from "../../lib/record-loader.js";
8
- import { cn as L, titleCase as Q, toLocalDateString as he } from "../../lib/utils.js";
8
+ import { cn as C, titleCase as Q, toLocalDateString as he } from "../../lib/utils.js";
9
9
  import { useChangePulse as xe } from "./GroupSection.js";
10
10
  import { SYSTEM_FIELDS as ge, SENTINEL_FIELDS as _e, applyDisplayTemplate as ee, parseJson as ke, richTextToPlain as Ne } from "./helpers.js";
11
11
  import { RelatedItemLabel as te } from "./RelationCombobox.js";
@@ -37,9 +37,9 @@ function we({
37
37
  ).then((n) => n.data ?? []).catch(() => []),
38
38
  enabled: !g && !!e.many_collection && !!u,
39
39
  staleTime: 10 * 6e4
40
- }), o = g ?? ((O = s == null ? void 0 : s.find(
40
+ }), c = g ?? ((O = s == null ? void 0 : s.find(
41
41
  (n) => n.many_collection === e.many_collection && n.many_field === u && !!n.one_collection
42
- )) == null ? void 0 : O.one_collection) ?? null, { data: c = [] } = D({
42
+ )) == null ? void 0 : O.one_collection) ?? null, { data: o = [] } = D({
43
43
  queryKey: ["m2m-items", e.many_collection, d, t],
44
44
  queryFn: () => p.request(
45
45
  E(`/items/${e.many_collection}`, {
@@ -50,18 +50,18 @@ function we({
50
50
  ).then((n) => n.data ?? []),
51
51
  staleTime: 3e4,
52
52
  enabled: !!t && t !== "new"
53
- }), _ = o === "nivaro_files" || o === "directus_files", { data: h } = D({
54
- queryKey: ["col-meta", o],
55
- queryFn: () => p.request(E(`/collections/${o}`)).then((n) => n.data),
56
- enabled: !!o && !_,
53
+ }), _ = c === "nivaro_files" || c === "directus_files", { data: h } = D({
54
+ queryKey: ["col-meta", c],
55
+ queryFn: () => p.request(E(`/collections/${c}`)).then((n) => n.data),
56
+ enabled: !!c && !_,
57
57
  staleTime: 3e5
58
- }), j = (r == null ? void 0 : r.getStagedLinks(b)) ?? [], k = (r == null ? void 0 : r.getStagedUnlinks(b)) ?? /* @__PURE__ */ new Set(), q = c.filter((n) => !k.has(n.id)), N = [
59
- ...j,
58
+ }), L = (r == null ? void 0 : r.getStagedLinks(b)) ?? [], k = (r == null ? void 0 : r.getStagedUnlinks(b)) ?? /* @__PURE__ */ new Set(), q = o.filter((n) => !k.has(n.id)), N = [
59
+ ...L,
60
60
  ...q.map((n) => n[u]).filter((n) => n != null)
61
61
  ];
62
62
  if (N.length === 0)
63
63
  return /* @__PURE__ */ a("span", { className: "text-slate-400 dark:text-slate-500", children: "—" });
64
- if (o) {
64
+ if (c) {
65
65
  const f = N.slice(0, 5), S = N.length - 5;
66
66
  return /* @__PURE__ */ y("span", { className: "text-[12px] text-slate-700 dark:text-slate-200", children: [
67
67
  f.map((U, R) => /* @__PURE__ */ y("span", { children: [
@@ -69,7 +69,7 @@ function we({
69
69
  /* @__PURE__ */ a(
70
70
  te,
71
71
  {
72
- collection: o,
72
+ collection: c,
73
73
  id: U,
74
74
  displayTemplate: h == null ? void 0 : h.display_template
75
75
  }
@@ -150,28 +150,28 @@ function le({
150
150
  ).then((n) => n.data ?? []),
151
151
  enabled: !!l && l !== "new",
152
152
  staleTime: 3e4
153
- }), s = ae(e), o = `${e}.${t}`, c = (T = d.deletes) == null ? void 0 : T.get(o), _ = (((O = d.rows) == null ? void 0 : O.get(o)) ?? []).filter(
153
+ }), s = ae(e), c = `${e}.${t}`, o = (T = d.deletes) == null ? void 0 : T.get(c), _ = (((O = d.rows) == null ? void 0 : O.get(c)) ?? []).filter(
154
154
  (n) => Se(n, r)
155
155
  ), h = [
156
- ...(b ?? []).filter((n) => !(c != null && c.has(String(n.id)))),
156
+ ...(b ?? []).filter((n) => !(o != null && o.has(String(n.id)))),
157
157
  ..._
158
158
  ];
159
159
  if (g && _.length === 0)
160
160
  return /* @__PURE__ */ a(ue, { className: "h-3 w-3 animate-spin text-slate-400 dark:text-slate-500" });
161
161
  if (h.length === 0)
162
162
  return /* @__PURE__ */ a("span", { className: "italic text-[11px] text-slate-400 dark:text-slate-500", children: "None yet" });
163
- const j = ((b == null ? void 0 : b.length) ?? 0) >= W, k = Te.find(
163
+ const L = ((b == null ? void 0 : b.length) ?? 0) >= W, k = Te.find(
164
164
  (n) => h.some(
165
165
  (f) => typeof f[n] == "number" || typeof f[n] == "string" && f[n] !== "" && !Number.isNaN(Number(f[n]))
166
166
  )
167
- ), q = k && !j ? h.reduce((n, f) => {
167
+ ), q = k && !L ? h.reduce((n, f) => {
168
168
  const S = Number(f[k]);
169
169
  return n + (Number.isFinite(S) ? S : 0);
170
170
  }, 0) : null, N = k ? k !== "quantity" : !1;
171
171
  return /* @__PURE__ */ y("span", { className: "block", children: [
172
172
  /* @__PURE__ */ y("span", { className: "flex items-baseline gap-2", children: [
173
173
  /* @__PURE__ */ y("span", { className: "text-slate-700 dark:text-slate-200", children: [
174
- j ? `${W}+` : h.length,
174
+ L ? `${W}+` : h.length,
175
175
  " row",
176
176
  h.length !== 1 ? "s" : ""
177
177
  ] }),
@@ -202,17 +202,17 @@ function le({
202
202
  )),
203
203
  !x && h.length > P && /* @__PURE__ */ y("span", { className: "block text-[11px] italic text-slate-400 dark:text-slate-500", children: [
204
204
  "+",
205
- j ? `${h.length - P}+` : h.length - P,
205
+ L ? `${h.length - P}+` : h.length - P,
206
206
  " more"
207
207
  ] })
208
208
  ] })
209
209
  ] });
210
210
  }
211
- function Ce(e) {
211
+ function je(e) {
212
212
  const t = xe(e.val);
213
- return /* @__PURE__ */ a("span", { className: L("inline-block max-w-full rounded-sm", t && "nvr-value-pulse-bg"), children: /* @__PURE__ */ a(Le, { ...e }) });
213
+ return /* @__PURE__ */ a("span", { className: C("inline-block max-w-full rounded-sm", t && "nvr-value-pulse-bg"), children: /* @__PURE__ */ a(Ce, { ...e }) });
214
214
  }
215
- function Le({
215
+ function Ce({
216
216
  field: e,
217
217
  val: t,
218
218
  relations: l,
@@ -220,13 +220,13 @@ function Le({
220
220
  itemId: x,
221
221
  staging: p
222
222
  }) {
223
- const d = e.interface ?? "", u = /* @__PURE__ */ new Set(["select-multiple-m2m", "files-m2m", "relation-grouped"]);
223
+ const d = e.interface ?? "", u = /* @__PURE__ */ new Set(["select-multiple-m2m", "files-m2m", "files", "relation-grouped"]);
224
224
  if (!u.has(d) && x) {
225
225
  const s = l.find(
226
- (o) => !o.junction_field && (o.one_field === e.field || o.many_collection === e.field) && (o.one_collection === r || o.one_collection == null)
226
+ (c) => !c.junction_field && (c.one_field === e.field || c.many_collection === e.field) && (c.one_collection === r || c.one_collection == null)
227
227
  );
228
228
  if (s != null && s.many_collection && s.many_field) {
229
- const o = (() => {
229
+ const c = (() => {
230
230
  try {
231
231
  return typeof e.options == "string" ? JSON.parse(e.options) : e.options ?? {};
232
232
  } catch {
@@ -239,30 +239,30 @@ function Le({
239
239
  relatedCollection: s.many_collection,
240
240
  manyField: s.many_field,
241
241
  parentId: x,
242
- rowFilter: o.row_filter && typeof o.row_filter == "object" ? o.row_filter : void 0
242
+ rowFilter: c.row_filter && typeof c.row_filter == "object" ? c.row_filter : void 0
243
243
  }
244
244
  );
245
245
  }
246
246
  }
247
247
  if (u.has(d) && x) {
248
248
  const s = l.find(
249
- (c) => c.one_collection === r && c.one_field === e.field
250
- ), o = s ? s.junction_field ? s : (() => {
251
- const c = l.find(
249
+ (o) => o.one_collection === r && (o.one_field === e.field || o.junction_field != null && o.many_collection === e.field)
250
+ ), c = s ? s.junction_field ? s : (() => {
251
+ const o = l.find(
252
252
  (_) => _.many_collection === s.many_collection && _.id !== s.id
253
253
  );
254
- return c ? { ...s, junction_field: c.many_field } : null;
254
+ return o ? { ...s, junction_field: o.many_field } : null;
255
255
  })() : null;
256
- if (o) {
257
- const c = ke(e.options);
256
+ if (c) {
257
+ const o = ke(e.options);
258
258
  return /* @__PURE__ */ a(
259
259
  we,
260
260
  {
261
- relation: o,
261
+ relation: c,
262
262
  parentId: x,
263
263
  allRelations: l,
264
264
  staging: p,
265
- maxValues: c == null ? void 0 : c.max_values
265
+ maxValues: o == null ? void 0 : o.max_values
266
266
  }
267
267
  );
268
268
  }
@@ -287,7 +287,7 @@ function Le({
287
287
  }
288
288
  return /* @__PURE__ */ a("span", { className: "truncate text-slate-700 dark:text-slate-200", children: String(t) });
289
289
  }
290
- function je(e) {
290
+ function Le(e) {
291
291
  if (e == null || e === "") return "—";
292
292
  if (typeof e == "boolean") return e ? "Yes" : "No";
293
293
  const t = String(e);
@@ -338,10 +338,10 @@ function Oe({
338
338
  collection: p,
339
339
  onRevert: d
340
340
  }) {
341
- var o;
342
- const u = ((o = x.find(
343
- (c) => c.many_collection === p && c.many_field === e.field && !!c.one_collection
344
- )) == null ? void 0 : o.one_collection) ?? null, b = Z(u, t), g = Z(u, l), s = r ? `Unsaved — ${r}` : `Unsaved — was ${b ?? z(t)} → now ${g ?? z(l)}`;
341
+ var c;
342
+ const u = ((c = x.find(
343
+ (o) => o.many_collection === p && o.many_field === e.field && !!o.one_collection
344
+ )) == null ? void 0 : c.one_collection) ?? null, b = Z(u, t), g = Z(u, l), s = r ? `Unsaved — ${r}` : `Unsaved — was ${b ?? z(t)} → now ${g ?? z(l)}`;
345
345
  return d ? (
346
346
  // biome-ignore lint/a11y/useSemanticElements: nested inside the row's <button> — a real <button> is invalid there
347
347
  /* @__PURE__ */ a(
@@ -352,11 +352,11 @@ function Oe({
352
352
  "data-summary-changed": !0,
353
353
  "data-tip": `${s} · click to revert`,
354
354
  "aria-label": "Revert this change",
355
- onClick: (c) => {
356
- c.stopPropagation(), d();
355
+ onClick: (o) => {
356
+ o.stopPropagation(), d();
357
357
  },
358
- onKeyDown: (c) => {
359
- (c.key === "Enter" || c.key === " ") && (c.preventDefault(), c.stopPropagation(), d());
358
+ onKeyDown: (o) => {
359
+ (o.key === "Enter" || o.key === " ") && (o.preventDefault(), o.stopPropagation(), d());
360
360
  },
361
361
  className: "group/dot inline-flex h-4 w-4 shrink-0 cursor-pointer items-center justify-center rounded-full hover:bg-amber-100 dark:hover:bg-amber-500/20",
362
362
  children: /* @__PURE__ */ a("span", { className: "h-1.5 w-1.5 rounded-full bg-amber-400 ring-2 ring-amber-100 group-hover/dot:ring-amber-200 dark:ring-amber-500/30" })
@@ -383,11 +383,11 @@ function Je({
383
383
  staging: b,
384
384
  errors: g,
385
385
  staleFields: s,
386
- aliasEmptiness: o,
387
- layoutFields: c,
386
+ aliasEmptiness: c,
387
+ layoutFields: o,
388
388
  changedFields: _,
389
389
  onRevertChange: h,
390
- onFieldClick: j,
390
+ onFieldClick: L,
391
391
  stagedO2MRows: k,
392
392
  stagedO2MDeletes: q
393
393
  }) {
@@ -399,7 +399,7 @@ function Je({
399
399
  return { step: i, fields: $ };
400
400
  }).filter((i) => i.fields.length > 0), re = new Set(R.flatMap((i) => i.fields.map(($) => $.field))), K = u && u !== "new" ? p.filter(
401
401
  (i) => !i.junction_field && i.many_field && i.many_collection && (i.one_collection === d || i.one_collection == null) && i.one_field != null && !re.has(i.one_field) && // Off-layout aliases stay out — the sidebar summarizes THIS layout.
402
- (!c || c.has(i.one_field))
402
+ (!o || o.has(i.one_field))
403
403
  ) : [];
404
404
  return R.length === 0 && K.length === 0 ? null : /* @__PURE__ */ a(ne.Provider, { value: { rows: k, deletes: q }, children: /* @__PURE__ */ y("div", { className: "overflow-hidden bg-white dark:bg-card", children: [
405
405
  /* @__PURE__ */ a("div", { className: "bg-slate-200 border-b border-slate-300 px-4 py-2.5 dark:bg-white/[0.1] dark:border-border", children: /* @__PURE__ */ a("span", { className: "text-[12px] font-semibold text-slate-700 dark:text-slate-200", children: "Summary" }) }),
@@ -407,7 +407,7 @@ function Je({
407
407
  /* @__PURE__ */ a(
408
408
  "div",
409
409
  {
410
- className: L(
410
+ className: C(
411
411
  "bg-slate-100 px-4 py-2 border-b border-slate-200 dark:bg-white/[0.06] dark:border-border/80",
412
412
  w > 0 && "border-t border-slate-200 dark:border-border/80"
413
413
  ),
@@ -415,11 +415,11 @@ function Je({
415
415
  }
416
416
  ),
417
417
  $.map((m, F) => {
418
- const v = x[m.field], C = m.label ?? Q(m.field), M = !!(g != null && g[m.field]), A = o == null ? void 0 : o[m.field], se = A !== void 0 ? A === !0 : v == null || typeof v == "string" && v.trim() === "" || Array.isArray(v) && v.length === 0, ie = A === null, I = !!m.required && se && !M && !ie, J = (s == null ? void 0 : s.has(m.field)) ?? !1;
418
+ const v = x[m.field], j = m.label ?? Q(m.field), M = !!(g != null && g[m.field]), A = c == null ? void 0 : c[m.field], se = A !== void 0 ? A === !0 : v == null || typeof v == "string" && v.trim() === "" || Array.isArray(v) && v.length === 0, ie = A === null, I = !!m.required && se && !M && !ie, J = (s == null ? void 0 : s.has(m.field)) ?? !1;
419
419
  return /* @__PURE__ */ y(
420
420
  "div",
421
421
  {
422
- className: L(
422
+ className: C(
423
423
  "group/row flex items-stretch",
424
424
  F < $.length - 1 && "border-b border-slate-100 dark:border-border/60",
425
425
  M ? "bg-red-50 dark:bg-red-900/10" : I || J ? "bg-amber-50/70 dark:bg-amber-900/10" : ""
@@ -429,8 +429,8 @@ function Je({
429
429
  "button",
430
430
  {
431
431
  type: "button",
432
- onClick: () => j(i.key, m.field),
433
- className: L(
432
+ onClick: () => L(i.key, m.field),
433
+ className: C(
434
434
  "flex flex-1 flex-col px-4 py-2 text-left transition-colors duration-150 min-w-0",
435
435
  M ? "hover:bg-red-50 dark:hover:bg-red-900/15" : "hover:bg-slate-50 dark:hover:bg-white/[0.03]"
436
436
  ),
@@ -438,12 +438,12 @@ function Je({
438
438
  /* @__PURE__ */ y(
439
439
  "span",
440
440
  {
441
- className: L(
441
+ className: C(
442
442
  "flex items-center gap-1 text-[10px] font-medium truncate",
443
443
  M ? "text-red-500 dark:text-red-400" : I || J ? "text-amber-700 dark:text-amber-400" : "text-slate-400 dark:text-slate-500"
444
444
  ),
445
445
  children: [
446
- /* @__PURE__ */ a("span", { className: "truncate", children: C }),
446
+ /* @__PURE__ */ a("span", { className: "truncate", children: j }),
447
447
  (_ == null ? void 0 : _[m.field]) && /* @__PURE__ */ a(
448
448
  Oe,
449
449
  {
@@ -476,7 +476,7 @@ function Je({
476
476
  },
477
477
  className: "mt-0.5 w-full text-[12px] min-w-0 overflow-hidden",
478
478
  children: /* @__PURE__ */ a(
479
- Ce,
479
+ je,
480
480
  {
481
481
  field: m,
482
482
  val: v,
@@ -499,14 +499,14 @@ function Je({
499
499
  onClick: (H) => {
500
500
  var Y, G;
501
501
  H.stopPropagation();
502
- const oe = ((G = (Y = f.current.get(m.field)) == null ? void 0 : Y.textContent) == null ? void 0 : G.trim()) ?? je(v);
502
+ const oe = ((G = (Y = f.current.get(m.field)) == null ? void 0 : Y.textContent) == null ? void 0 : G.trim()) ?? Le(v);
503
503
  navigator.clipboard.writeText(oe).catch(() => {
504
504
  }), T(m.field), setTimeout(
505
505
  () => T((X) => X === m.field ? null : X),
506
506
  1500
507
507
  );
508
508
  },
509
- className: L(
509
+ className: C(
510
510
  "flex items-center px-2 opacity-0 group-hover/row:opacity-100 transition-all duration-150",
511
511
  N === m.field ? "text-emerald-500" : "text-slate-400 hover:text-slate-600 dark:text-slate-500 dark:hover:text-slate-300"
512
512
  ),
@@ -526,7 +526,7 @@ function Je({
526
526
  return /* @__PURE__ */ a(
527
527
  "div",
528
528
  {
529
- className: L(
529
+ className: C(
530
530
  "flex items-stretch",
531
531
  $ < K.length - 1 && "border-b border-slate-100 dark:border-border/60"
532
532
  ),
@@ -536,13 +536,13 @@ function Je({
536
536
  type: "button",
537
537
  onClick: () => {
538
538
  var M;
539
- const F = i.many_collection ?? "", v = /(^|_)(notes?|comments?)$/i.test(F), C = document.querySelector(`[data-o2m-collection="${F}"]`) ?? (v ? document.querySelector('[data-panel="notes"]') : null);
540
- if (!C) {
539
+ const F = i.many_collection ?? "", v = /(^|_)(notes?|comments?)$/i.test(F), j = document.querySelector(`[data-o2m-collection="${F}"]`) ?? (v ? document.querySelector('[data-panel="notes"]') : null);
540
+ if (!j) {
541
541
  n((A) => A === w ? null : w);
542
542
  return;
543
543
  }
544
- C.getAttribute("data-panel-expanded") === "false" && ((M = C.querySelector("[data-panel-toggle]")) == null || M.click()), C.scrollIntoView({ behavior: "smooth", block: "center" }), C.classList.add("ring-2", "ring-nvr-cyan", "ring-offset-2", "rounded-md"), setTimeout(
545
- () => C.classList.remove(
544
+ j.getAttribute("data-panel-expanded") === "false" && ((M = j.querySelector("[data-panel-toggle]")) == null || M.click()), j.scrollIntoView({ behavior: "smooth", block: "center" }), j.classList.add("ring-2", "ring-nvr-cyan", "ring-offset-2", "rounded-md"), setTimeout(
545
+ () => j.classList.remove(
546
546
  "ring-2",
547
547
  "ring-nvr-cyan",
548
548
  "ring-offset-2",
@@ -557,7 +557,7 @@ function Je({
557
557
  /* @__PURE__ */ a(
558
558
  me,
559
559
  {
560
- className: L(
560
+ className: C(
561
561
  "h-3 w-3 shrink-0 transition-transform",
562
562
  m && "rotate-90"
563
563
  )
@@ -586,6 +586,6 @@ function Je({
586
586
  }
587
587
  export {
588
588
  ve as M2OSummaryValue,
589
- Ce as SummaryFieldValue,
589
+ je as SummaryFieldValue,
590
590
  Je as SummaryPanel
591
591
  };