@ai-matrx/records-ui 0.116.18 → 0.116.19

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 (52) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/dist/{SaveToTable-QRVSTLIR.js → SaveToTable-PGOQVYVS.js} +5 -5
  3. package/dist/{chunk-PX3F6PHS.js → chunk-5IX4BL72.js} +2 -2
  4. package/dist/{chunk-YHAJPUX3.js → chunk-KBNU55HU.js} +23 -29
  5. package/dist/chunk-KBNU55HU.js.map +1 -0
  6. package/dist/{chunk-7X2UJN4A.js → chunk-MCDA6L7E.js} +4 -2
  7. package/dist/{chunk-7X2UJN4A.js.map → chunk-MCDA6L7E.js.map} +1 -1
  8. package/dist/{chunk-RGMLZHYZ.js → chunk-ODABFEHG.js} +4 -4
  9. package/dist/chunk-ODABFEHG.js.map +1 -0
  10. package/dist/{chunk-IUUZVQZD.js → chunk-PPWNFIJ5.js} +2 -2
  11. package/dist/{chunk-IUUZVQZD.js.map → chunk-PPWNFIJ5.js.map} +1 -1
  12. package/dist/{chunk-VQZQJAU5.js → chunk-VHZKLE63.js} +13 -13
  13. package/dist/chunk-VHZKLE63.js.map +1 -0
  14. package/dist/{chunk-MWIIMCHK.js → chunk-ZNIXJ5RY.js} +2 -2
  15. package/dist/data-source.cjs +1 -1
  16. package/dist/data-source.cjs.map +1 -1
  17. package/dist/data-source.d.cts +1 -1
  18. package/dist/data-source.d.ts +1 -1
  19. package/dist/data-source.js +1 -1
  20. package/dist/data-source.js.map +1 -1
  21. package/dist/first-page.cjs +3 -1
  22. package/dist/first-page.cjs.map +1 -1
  23. package/dist/first-page.d.cts +6 -23
  24. package/dist/first-page.d.ts +6 -23
  25. package/dist/first-page.js +3 -1
  26. package/dist/first-page.js.map +1 -1
  27. package/dist/helpers.cjs +3 -3
  28. package/dist/helpers.cjs.map +1 -1
  29. package/dist/helpers.d.cts +2 -2
  30. package/dist/helpers.d.ts +2 -2
  31. package/dist/helpers.js +3 -3
  32. package/dist/helpers.js.map +1 -1
  33. package/dist/index.cjs +144 -165
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +6 -6
  36. package/dist/index.d.ts +6 -6
  37. package/dist/index.js +115 -132
  38. package/dist/index.js.map +1 -1
  39. package/dist/object-actions.cjs +1 -1
  40. package/dist/object-actions.cjs.map +1 -1
  41. package/dist/object-actions.js +2 -2
  42. package/dist/pickers.cjs +14 -14
  43. package/dist/pickers.cjs.map +1 -1
  44. package/dist/pickers.js +4 -4
  45. package/dist/skeleton.js +2 -2
  46. package/package.json +7 -7
  47. package/dist/chunk-RGMLZHYZ.js.map +0 -1
  48. package/dist/chunk-VQZQJAU5.js.map +0 -1
  49. package/dist/chunk-YHAJPUX3.js.map +0 -1
  50. /package/dist/{SaveToTable-QRVSTLIR.js.map → SaveToTable-PGOQVYVS.js.map} +0 -0
  51. /package/dist/{chunk-PX3F6PHS.js.map → chunk-5IX4BL72.js.map} +0 -0
  52. /package/dist/{chunk-MWIIMCHK.js.map → chunk-ZNIXJ5RY.js.map} +0 -0
@@ -1270,7 +1270,7 @@ type ResolveName = (userId: Uuid) => string | null;
1270
1270
  /** The honest stand-in when nobody and nothing can put a name to the author. */
1271
1271
  declare const SOMEBODY = "somebody in this organization";
1272
1272
  /** The platform's own word for itself. Never "null", never "system_user". */
1273
- declare const THE_SYSTEM = "the system";
1273
+ declare const THE_SYSTEM = "Matrx";
1274
1274
  /**
1275
1275
  * WHO, in the words a person reads. One place, so the grid cell, the record
1276
1276
  * timeline and the column history cannot drift into three different answers.
@@ -1678,7 +1678,7 @@ declare function laneFor(table: Table): TableLane;
1678
1678
  */
1679
1679
  declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
1680
1680
 
1681
- declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "groupField" | "mapField" | "sorts" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField">>>>>;
1681
+ declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>>>>;
1682
1682
 
1683
1683
  declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
1684
1684
 
package/dist/helpers.d.ts CHANGED
@@ -1270,7 +1270,7 @@ type ResolveName = (userId: Uuid) => string | null;
1270
1270
  /** The honest stand-in when nobody and nothing can put a name to the author. */
1271
1271
  declare const SOMEBODY = "somebody in this organization";
1272
1272
  /** The platform's own word for itself. Never "null", never "system_user". */
1273
- declare const THE_SYSTEM = "the system";
1273
+ declare const THE_SYSTEM = "Matrx";
1274
1274
  /**
1275
1275
  * WHO, in the words a person reads. One place, so the grid cell, the record
1276
1276
  * timeline and the column history cannot drift into three different answers.
@@ -1678,7 +1678,7 @@ declare function laneFor(table: Table): TableLane;
1678
1678
  */
1679
1679
  declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
1680
1680
 
1681
- declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "groupField" | "mapField" | "sorts" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField">>>>>;
1681
+ declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>>>>;
1682
1682
 
1683
1683
  declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
1684
1684
 
package/dist/helpers.js CHANGED
@@ -134,7 +134,7 @@ var NEEDS = {
134
134
  function levelNeededFor(what) {
135
135
  return NEEDS[what];
136
136
  }
137
- var NOT_YET = "Still asking the store what you may do here. Nothing is offered until it has answered.";
137
+ var NOT_YET = "Checking what you may do here. Nothing is offered until then.";
138
138
  var NOTHING_AT_ALL = "You have not been given this. Ask somebody who administers it to share it with you.";
139
139
  function sentenceFor(what, level) {
140
140
  if (level === null) return NOTHING_AT_ALL;
@@ -249,7 +249,7 @@ function cardTitleField(fields, titleKey, exclude = []) {
249
249
  return ordered.find((f) => f.type === "text" && canTitle(f, excluded)) ?? ordered.find((f) => canTitle(f, excluded));
250
250
  }
251
251
  var SOMEBODY = "somebody in this organization";
252
- var THE_SYSTEM = "the system";
252
+ var THE_SYSTEM = "Matrx";
253
253
  function actorWords(actor, resolve) {
254
254
  if (actor.kind === "system") return THE_SYSTEM;
255
255
  const named = actor.name?.trim() || (actor.user_id && resolve ? resolve(actor.user_id)?.trim() : null) || null;
@@ -1054,7 +1054,7 @@ function refusalForAPerson(error) {
1054
1054
  const ours = error.ours === true;
1055
1055
  const hint = plainSentence(String(error.hint ?? ""));
1056
1056
  const message = ours ? plainSentence(String(error.message ?? "")) : peopleSentence(String(error.message ?? ""));
1057
- const title = TITLE[code] ?? "The store refused this";
1057
+ const title = TITLE[code] ?? "That was refused";
1058
1058
  const hintIsForEngineers = isDeveloperHint(String(error.hint ?? ""));
1059
1059
  const example = exampleOf(error);
1060
1060
  const remedy = (example ? `Enter it like ${example}.` : null) ?? (hintIsForEngineers ? null : hint.kept) ?? REMEDY[code] ?? REMEDY["internal"];