@ai-matrx/records-ui 0.116.33 → 0.116.34

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.
package/CHANGELOG.md CHANGED
@@ -25,7 +25,7 @@
25
25
  - Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
26
26
  - **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
27
27
 
28
- ## 0.116.33
28
+ ## 0.116.34
29
29
 
30
30
  UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
31
31
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
package/dist/index.cjs CHANGED
@@ -41496,10 +41496,6 @@ function typedFormulaFields(all, rounds = FORMULA_TYPING_ROUNDS) {
41496
41496
  byRounds.set(rounds, cur);
41497
41497
  return cur;
41498
41498
  }
41499
- function formulaTypeOf(targetId, all, rounds = FORMULA_TYPING_ROUNDS) {
41500
- const expr = ownExpression(all.find((f) => f.id === targetId));
41501
- return expr ? formulaResultKind(expr, typedFormulaFields(all, rounds)) : "unknown";
41502
- }
41503
41499
  function formulaResultKind(node, all) {
41504
41500
  if (!node || typeof node !== "object" || Array.isArray(node)) return "unknown";
41505
41501
  const n = node;
@@ -41537,7 +41533,8 @@ function formulaResultKind(node, all) {
41537
41533
  return import_records55.FORMULA_NODE_RESULTS[op2] ?? "unknown";
41538
41534
  }
41539
41535
  function isDateFormula(field2, all) {
41540
- return !!field2 && formulaTypeOf(field2.id, all) === "date";
41536
+ const expr = ownExpression(field2);
41537
+ return !!expr && formulaResultKind(expr, typedFormulaFields(all)) === "date";
41541
41538
  }
41542
41539
  function isComputedField(field2) {
41543
41540
  return field2?.type === "formula";