@ai-matrx/records-ui 0.116.103 → 0.116.105

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.
@@ -1,3 +1,3 @@
1
1
  import '@ai-matrx/records';
2
- export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, E as ChordEvent, D as DEFAULT_ACTION_ORIGIN, e as OBJECT_ACTION_GROUPS, O as ObjectAction, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, a as ObjectActionIcon, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, F as TABLE_ACTION_CHORDS, G as TABLE_ACTION_KEYS, T as TableActionHost, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, H as objectActionForKey, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, z as withExtensions } from './objectActions-Df9fA6DR.cjs';
2
+ export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, E as ChordEvent, D as DEFAULT_ACTION_ORIGIN, e as OBJECT_ACTION_GROUPS, O as ObjectAction, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, a as ObjectActionIcon, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, F as TABLE_ACTION_CHORDS, G as TABLE_ACTION_KEYS, T as TableActionHost, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, H as objectActionForKey, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, z as withExtensions } from './objectActions-DeP_tTmc.cjs';
3
3
  import '@ai-matrx/records/field-kinds';
@@ -1,3 +1,3 @@
1
1
  import '@ai-matrx/records';
2
- export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, E as ChordEvent, D as DEFAULT_ACTION_ORIGIN, e as OBJECT_ACTION_GROUPS, O as ObjectAction, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, a as ObjectActionIcon, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, F as TABLE_ACTION_CHORDS, G as TABLE_ACTION_KEYS, T as TableActionHost, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, H as objectActionForKey, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, z as withExtensions } from './objectActions-Df9fA6DR.js';
2
+ export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, E as ChordEvent, D as DEFAULT_ACTION_ORIGIN, e as OBJECT_ACTION_GROUPS, O as ObjectAction, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, a as ObjectActionIcon, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, F as TABLE_ACTION_CHORDS, G as TABLE_ACTION_KEYS, T as TableActionHost, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, H as objectActionForKey, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, z as withExtensions } from './objectActions-DeP_tTmc.js';
3
3
  import '@ai-matrx/records/field-kinds';
@@ -244,4 +244,5 @@ declare const STRIP_FEATURE_ROWS = 4;
244
244
  */
245
245
  declare function toStripAndRows(actions: readonly ObjectAction[], rowCount?: number): StripAndRows;
246
246
 
247
- export { ACTION_CHECKING_ACCESS_REASON as A, type BuiltOnDestination as B, type Capability as C, DEFAULT_ACTION_ORIGIN as D, type ChordEvent as E, TABLE_ACTION_CHORDS as F, TABLE_ACTION_KEYS as G, objectActionForKey as H, KERNEL_REASON as K, LEVEL_WORD as L, NOT_ANSWERED_YET as N, type ObjectAction as O, STANDARD_VERBS as S, type TableActionHost as T, type WhatYouMayDo as W, type ObjectActionIcon as a, ACTION_NOT_HERE_REASON as b, ACTION_NO_ACCESS_REASON as c, ACTION_PLATFORM_TABLE_REASON as d, OBJECT_ACTION_GROUPS as e, type ObjectActionDropdownEntry as f, type ObjectActionGroup as g, type ObjectActionGroupDef as h, type ObjectActionSection as i, STRIP_FEATURE_ROWS as j, type StandardVerbId as k, type StripAndRows as l, type TableActionSubject as m, type TableActionsInput as n, dropdownActionIds as o, dropdownActions as p, groupObjectActions as q, levelNeededFor as r, rightsReason as s, tableActions as t, tableLink as u, toDropdownEntries as v, toStripAndRows as w, whatYouMayDo as x, whatYouMayDoWithTable as y, withExtensions as z };
247
+ export { ACTION_CHECKING_ACCESS_REASON as A, DEFAULT_ACTION_ORIGIN as D, TABLE_ACTION_CHORDS as F, TABLE_ACTION_KEYS as G, objectActionForKey as H, KERNEL_REASON as K, LEVEL_WORD as L, NOT_ANSWERED_YET as N, STANDARD_VERBS as S, ACTION_NOT_HERE_REASON as b, ACTION_NO_ACCESS_REASON as c, ACTION_PLATFORM_TABLE_REASON as d, OBJECT_ACTION_GROUPS as e, STRIP_FEATURE_ROWS as j, dropdownActionIds as o, dropdownActions as p, groupObjectActions as q, levelNeededFor as r, rightsReason as s, tableActions as t, tableLink as u, toDropdownEntries as v, toStripAndRows as w, whatYouMayDo as x, whatYouMayDoWithTable as y, withExtensions as z };
248
+ export type { BuiltOnDestination as B, Capability as C, ChordEvent as E, ObjectAction as O, TableActionHost as T, WhatYouMayDo as W, ObjectActionIcon as a, ObjectActionDropdownEntry as f, ObjectActionGroup as g, ObjectActionGroupDef as h, ObjectActionSection as i, StandardVerbId as k, StripAndRows as l, TableActionSubject as m, TableActionsInput as n };
@@ -244,4 +244,5 @@ declare const STRIP_FEATURE_ROWS = 4;
244
244
  */
245
245
  declare function toStripAndRows(actions: readonly ObjectAction[], rowCount?: number): StripAndRows;
246
246
 
247
- export { ACTION_CHECKING_ACCESS_REASON as A, type BuiltOnDestination as B, type Capability as C, DEFAULT_ACTION_ORIGIN as D, type ChordEvent as E, TABLE_ACTION_CHORDS as F, TABLE_ACTION_KEYS as G, objectActionForKey as H, KERNEL_REASON as K, LEVEL_WORD as L, NOT_ANSWERED_YET as N, type ObjectAction as O, STANDARD_VERBS as S, type TableActionHost as T, type WhatYouMayDo as W, type ObjectActionIcon as a, ACTION_NOT_HERE_REASON as b, ACTION_NO_ACCESS_REASON as c, ACTION_PLATFORM_TABLE_REASON as d, OBJECT_ACTION_GROUPS as e, type ObjectActionDropdownEntry as f, type ObjectActionGroup as g, type ObjectActionGroupDef as h, type ObjectActionSection as i, STRIP_FEATURE_ROWS as j, type StandardVerbId as k, type StripAndRows as l, type TableActionSubject as m, type TableActionsInput as n, dropdownActionIds as o, dropdownActions as p, groupObjectActions as q, levelNeededFor as r, rightsReason as s, tableActions as t, tableLink as u, toDropdownEntries as v, toStripAndRows as w, whatYouMayDo as x, whatYouMayDoWithTable as y, withExtensions as z };
247
+ export { ACTION_CHECKING_ACCESS_REASON as A, DEFAULT_ACTION_ORIGIN as D, TABLE_ACTION_CHORDS as F, TABLE_ACTION_KEYS as G, objectActionForKey as H, KERNEL_REASON as K, LEVEL_WORD as L, NOT_ANSWERED_YET as N, STANDARD_VERBS as S, ACTION_NOT_HERE_REASON as b, ACTION_NO_ACCESS_REASON as c, ACTION_PLATFORM_TABLE_REASON as d, OBJECT_ACTION_GROUPS as e, STRIP_FEATURE_ROWS as j, dropdownActionIds as o, dropdownActions as p, groupObjectActions as q, levelNeededFor as r, rightsReason as s, tableActions as t, tableLink as u, toDropdownEntries as v, toStripAndRows as w, whatYouMayDo as x, whatYouMayDoWithTable as y, withExtensions as z };
248
+ export type { BuiltOnDestination as B, Capability as C, ChordEvent as E, ObjectAction as O, TableActionHost as T, WhatYouMayDo as W, ObjectActionIcon as a, ObjectActionDropdownEntry as f, ObjectActionGroup as g, ObjectActionGroupDef as h, ObjectActionSection as i, StandardVerbId as k, StripAndRows as l, TableActionSubject as m, TableActionsInput as n };
package/dist/pickers.cjs CHANGED
@@ -15136,10 +15136,11 @@ var import_field_formats13 = require("@ai-matrx/design-system/field-formats");
15136
15136
  var import_jsx_runtime56 = require("react/jsx-runtime");
15137
15137
  var SHARED_FOR_MS = 5e3;
15138
15138
  var sharedReads = /* @__PURE__ */ new WeakMap();
15139
+ var KEPT_OUT_OF_LISTS = /* @__PURE__ */ new Set(["agent_output", "copying"]);
15139
15140
  function readTablesAnywhere(dataSource) {
15140
15141
  const held = sharedReads.get(dataSource);
15141
15142
  if (held && Date.now() - held.at < SHARED_FOR_MS) return held.read;
15142
- const read = Promise.resolve(dataSource.rpc("data_home_tables", {}, { schema: "custom" })).then(
15143
+ const read = Promise.resolve(dataSource.rpc("data_home", { p_include_platform_tables: true }, { schema: "custom" })).then(
15143
15144
  ({ data, error }) => {
15144
15145
  if (error) {
15145
15146
  return {
@@ -15148,7 +15149,8 @@ function readTablesAnywhere(dataSource) {
15148
15149
  rows: []
15149
15150
  };
15150
15151
  }
15151
- const rows = (Array.isArray(data) ? data : []).slice();
15152
+ const answered = data && typeof data === "object" && !Array.isArray(data) ? data.tables : null;
15153
+ const rows = (Array.isArray(answered) ? answered : []).filter((t) => !KEPT_OUT_OF_LISTS.has(t.kind ?? ""));
15152
15154
  rows.sort((a, b) => a.table_name.localeCompare(b.table_name));
15153
15155
  return { loading: false, error: null, rows };
15154
15156
  },