@ai-matrx/records-ui 0.116.1 → 0.116.2

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/dist/helpers.js CHANGED
@@ -6,7 +6,6 @@ import { isUuidShape } from '@ai-matrx/kit/uuid';
6
6
  import { humanizeIdentifier } from '@ai-matrx/kit/text-case';
7
7
  import { formatRelativeTime } from '@ai-matrx/kit/format';
8
8
  import '@ai-matrx/design-system/field-formats';
9
- import { DECLARABLE_FIELD_KINDS as DECLARABLE_FIELD_KINDS$1, newerKindOf as newerKindOf$1 } from '@ai-matrx/records';
10
9
  import * as base from '@ai-matrx/records/views';
11
10
  export { endingsFromDocument, hiddenFromLink, themeFromDocument, welcomeFromDocument } from '@ai-matrx/records/forms';
12
11
  import { toDelimited } from '@ai-matrx/kit/delimited';
@@ -798,7 +797,7 @@ function shownToOnlyMe(table) {
798
797
  }
799
798
  var BODY_NAMES = /^(notes?|page|body|content|page content|details|description)$/i;
800
799
  function bodyFieldOf(fields) {
801
- const rich = fields.filter((field) => newerKindOf$1(field) === "rich_text");
800
+ const rich = fields.filter((field) => newerKindOf(field) === "rich_text");
802
801
  return rich.find((field) => BODY_NAMES.test((field.label ?? field.key).trim()) || BODY_NAMES.test(field.key.replace(/_/g, " "))) ?? rich[0];
803
802
  }
804
803
  var gridPresentationCodec = {
@@ -879,7 +878,7 @@ var FIELD_SENSITIVITY_LABEL = {
879
878
  confidential: "People who have been given the record",
880
879
  restricted: "Owners and administrators only"
881
880
  };
882
- var STORE_BEHAVIOUR = new Map(DECLARABLE_FIELD_KINDS$1.map((row) => [row.kind, row.behavior]));
881
+ var STORE_BEHAVIOUR = new Map(DECLARABLE_FIELD_KINDS.map((row) => [row.kind, row.behavior]));
883
882
  function holdsAValueOnAStandardTable(kind) {
884
883
  if (isSystemFieldKind(kind)) return false;
885
884
  const behaviour = STORE_BEHAVIOUR.get(kind);